Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 10.13.1 #1032

Merged
merged 23 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
935caf2
Release 12.13.0
goldenraphti Nov 12, 2024
f9a3555
pfe-1825 Changed check circle svg for success alert
PriJoh Nov 14, 2024
05a6d1e
Bump cross-spawn from 7.0.3 to 7.0.6
dependabot[bot] Nov 19, 2024
4255967
pfe-1825 Changed selector
PriJoh Nov 25, 2024
5cd1f1b
Bump codecov/codecov-action from 4.6.0 to 5.1.1
dependabot[bot] Dec 6, 2024
25887dc
SWED-2334 update playbook design vision
goldenraphti Dec 9, 2024
fa31542
SWED-2334 update profiles + remove showroom + update routes & links
goldenraphti Dec 9, 2024
cb0b6f7
SWED-2334 switch dialog warnings from error to warn
goldenraphti Dec 10, 2024
1526d7f
SWED-2334 ✍️ release-notes
goldenraphti Dec 10, 2024
17305ee
Merge pull request #1025 from SwedbankPay/feature/SWED-2334-playbook_…
goldenraphti Dec 10, 2024
c28cf2d
SWED-2549 replace logos sbp zip file
goldenraphti Dec 10, 2024
5ce33c7
SWED-2549 ✍️ release-notes
goldenraphti Dec 10, 2024
344f737
Merge pull request #1026 from SwedbankPay/feature/SWED-2549-update_zi…
goldenraphti Dec 10, 2024
2d0f426
SWED-2543 increase browsers support
goldenraphti Dec 10, 2024
d540b07
SWED-2543 ✍️ release-notes
goldenraphti Dec 10, 2024
9029748
SWED-2543 update jest snapshots
goldenraphti Dec 13, 2024
35b9b1e
Merge pull request #1018 from SwedbankPay/feature/pfe-1825-Update-ale…
goldenraphti Dec 13, 2024
ce8087e
Merge pull request #1021 from SwedbankPay/dependabot/npm_and_yarn/cro…
goldenraphti Dec 13, 2024
434fea6
Merge pull request #1024 from SwedbankPay/dependabot/github_actions/c…
goldenraphti Dec 13, 2024
c362b55
Merge pull request #1027 from SwedbankPay/feature/SWED-2543-add_css_s…
goldenraphti Dec 13, 2024
adb2ffe
Bump codecov/codecov-action from 5.1.1 to 5.1.2
dependabot[bot] Dec 19, 2024
430eeae
Merge pull request #1029 from SwedbankPay/dependabot/github_actions/c…
goldenraphti Jan 9, 2025
62893f3
Release 10.13.1
goldenraphti Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Tests and linting
run: npm run lint && npm run test:coverage

- uses: codecov/codecov-action@v4.6.0
- uses: codecov/codecov-action@v5.1.2
# with:
# files: ./coverage/lcov.info
# fail_ci_if_error: true
Expand Down
31 changes: 12 additions & 19 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
# Changelog

## \[10.13.0\] - 11.11.2024
## \[10.13.1\] - 10.01.2025

## Identity
## Playbook

- Colors
- Updates to the playbook:

- updated primary color from current value `#FDC129` to actual Brand guideline's `#FDC92A`
## Identity

- Logotypes
- updated logotype to the new fixed version
- update Documentation to enforce recommended pathname use
- Updates the zip file containing the SwedbankPay logos with the new fixed versions

## Component changes
## PayEx side UI changes

- Toggle
- updated colors
- added new theme colors (white and gray)
- Expandable PayEx (contribution from Simon Wahlstrom 💫)
- font family change for PayEx expandables
- Button PayEx (contribution from Johanna Prinz 💫)
- font family change
- colors updated
- Table PayEx (contribution from Johanna Prinz 💫)
- colors updated
- hover color fixed
- checkmark circle green color on success alerts is updated

## Technical changes

- Browser support got significantly increased (now last 2 major versions, Firefox ESR, > 0,5% instead of 1%).
- This is only impacting projects consuming the CSS & JS straight from the CDN. If you're pulling the source files then the polyfilling/transpilling will only be done by your own build pipeline anyways.

## Chores

- updated dependencies
80 changes: 42 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swedbankpay/design-guide",
"version": "10.13.0",
"version": "10.13.1",
"description": "Swedbank Pay Design Guide",
"main": "src/scripts/main/index.js",
"scripts": {
Expand Down Expand Up @@ -35,7 +35,9 @@
"homepage": "https://github.com/swedbankpay/design.swedbankpay.com#readme",
"browserslist": [
"last 3 versions",
"> 1%",
"last 2 major versions",
"> 0.5%",
"Firefox ESR",
"not dead"
],
"dependencies": {
Expand All @@ -59,7 +61,7 @@
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@playwright/test": "^1.48.2",
"@playwright/test": "^1.49.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
Expand Down
10 changes: 9 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
const postcssPresetEnv = require("postcss-preset-env");

module.exports = {
plugins: [["postcss-preset-env"]],
plugins: [
postcssPresetEnv({
stage: 2,
minimumVendorImplementations: 2,
preserve: true,
}),
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`ComponentsDocumentation: index renders 1`] = `
className="dg-current-version text-uppercase"
>
Design Guide – v.
10.13.0
10.13.1
</span>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ exports[`GetStarted: ForDevelopers Installation renders 1`] = `
<b>
Target Browser:
</b>
"Last 3 versions, &gt; 1%, not dead"
"Last 3 versions, Last 2 major versions, &gt; 0.5%, not dead"
</p>
</div>
<h4>
Expand All @@ -1180,6 +1180,9 @@ exports[`GetStarted: ForDevelopers Installation renders 1`] = `
It is up to every Project manager and development team to decide which browsers their product should support. If you want to support other browsers than the ones supported by the Design Guide you need to maintain and test the component code in in your project.

</p>
<p>
We of course encourage to use PostCSS to do that in your build pipeline.
</p>
</section>
</section>
`;
6 changes: 5 additions & 1 deletion src/App/GetStarted/get-started/ForDevelopers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ const BrowserSupport = () => (
<div className="alert alert-informative mt-4">
<i className="at-info-circle" aria-hidden="true"></i>
<p>
<b>Target Browser:</b> &quot;Last 3 versions, &gt; 1%, not dead&quot;
<b>Target Browser:</b> &quot;Last 3 versions, Last 2 major versions,
&gt; 0.5%, not dead&quot;
</p>
</div>
<h4>Browser support for products using the Design Guide</h4>
Expand All @@ -360,6 +361,9 @@ const BrowserSupport = () => (
browsers than the ones supported by the Design Guide you need to maintain
and test the component code in in your project.{" "}
</p>
<p>
We of course encourage to use PostCSS to do that in your build pipeline.
</p>
</section>
);
const GridAndBreakpoints = () => (
Expand Down
44 changes: 42 additions & 2 deletions src/App/Home/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,45 @@ import CodeTags from "@components/CodeTags";
const basename = process.env.basename;

export const changeLogs = [
{
version: "10.13.1",
title: "Mostly docs & identity updates",
text: (
<>
<p>Happy New Year 🎉</p>
<p>
We're starting the year with some mostly documentation & identity
updates.
</p>
<p>
Biggest one first: We've updated the Playbook. For the ones paying
attention to it you'll like it.
</p>
<p>
Next on the list: the zip file containing the SwedbankPay logos is
updated with the logos fixed we've shipped in the previous minor
release.
</p>
<p>
We've also increased the browser support. We've decided to align with
the standard used by the JS frameworks (now last 2 major versions,
Firefox ESR, > 0,5% instead of 1%).
<br />
This being said, we recommend checking and adapting your support based
on your own users stats. This change is only impacting projects
consuming the CSS & JS straight from the CDN. If you're pulling the
source files then the polyfilling/transpilling will only be done by
your own build pipeline anyways.
</p>
<p>
Green side UI change: checkmark circle green color on success alerts
is updated
</p>
<p>And as usual, we've included several dependency updates.</p>
<p>Enjoy and see ya later alligator 🐊</p>
</>
),
},
{
version: "10.13.0",
title: "Not Ghosting You: New Updates Inside",
Expand Down Expand Up @@ -292,8 +331,9 @@ export const changeLogs = [
</li>
<li>
Progress steps: the "check" icon for steps completed should be
converted from `<div class="material-icons steps-icon">check</div>
`to `<i class="completed steps-icon"></i>`
converted from `
<div className="material-icons steps-icon">check</div>
`to `<i className="completed steps-icon"></i>`
</li>
</ul>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/App/Identity/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`Core: index renders 1`] = `
className="dg-current-version text-uppercase"
>
Design Guide – v.
10.13.0
10.13.1
</span>
</div>
`;
2 changes: 1 addition & 1 deletion src/App/Patterns/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`Patterns: index renders 1`] = `
className="dg-current-version text-uppercase"
>
Design Guide – v.
10.13.0
10.13.1
</span>
</div>
`;
Loading
Loading