diff --git a/README.md b/README.md index 7adcf404ab..6c871ec54e 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ released, a new version of the JavaScript will be as well. ## Code style -Coding style rules are set in ```~/.eslintrc` & `~/.stylelintrc`. +Coding style rules are set in `~/.eslintrc` & `~/.stylelintrc`. **_Make sure to follow the syntax rules enforced by ESLint & Stylelint._** diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5cb89e5d7a..86746af385 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,26 +1,29 @@ # Changelog -## \[10.9.0\] - 24.11.2023 +## \[10.9.1\] - 24.01.2024 ## Component changes ### Non breaking UI changes -- Typography +- PayEx - non-breaking UI updates + - color variables updates (brand-secondary hover, btn-secondary-hover, disabled, ...) + - input fields colors (for states disabled & success) + - badge colors + - skip-link font + - link + - hover state colors on bright mode + - hover state for inline links + - code tags secondary & tertiary background colors + - - - update typography values (line-heights) - - add text-wrap balance for headings & pretty for paragraphs (progressive enhancement) +### Bugfix -- Colors ( & colors utilities): - - - some colors variables got updated - - removed the possibility to combine text-color utility classes WITH `.text-muted` to decrease their opacity - - `.text-muted` class still exist, but it will always mean a full opacity color +- Tooltip + - fix position tooltip (it got detached from its parent element a few versions back) ## Maintenance - npm packages dependencies upgrades ## Design System website - -- Update the Identity/Colors page for SwedbankPay side diff --git a/package-lock.json b/package-lock.json index 7287969e78..bbbc0fdaa2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@swedbankpay/design-guide", - "version": "10.9.0", + "version": "10.9.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@swedbankpay/design-guide", - "version": "10.9.0", + "version": "10.9.1", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -6398,9 +6398,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001564", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001564.tgz", - "integrity": "sha512-DqAOf+rhof+6GVx1y+xzbFPeOumfQnhYzVnZD6LAXijR77yPtm9mfOcqOnT3mpnJiZVT+kwLAFnRlZcIz+c6bg==", + "version": "1.0.30001579", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz", + "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==", "dev": true, "funding": [ { @@ -23862,9 +23862,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001564", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001564.tgz", - "integrity": "sha512-DqAOf+rhof+6GVx1y+xzbFPeOumfQnhYzVnZD6LAXijR77yPtm9mfOcqOnT3mpnJiZVT+kwLAFnRlZcIz+c6bg==", + "version": "1.0.30001579", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz", + "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==", "dev": true }, "chalk": { diff --git a/package.json b/package.json index c605a837d4..65dccb111f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@swedbankpay/design-guide", - "version": "10.9.0", + "version": "10.9.1", "description": "Swedbank Pay Design Guide", "main": "src/scripts/main/index.js", "scripts": { diff --git a/src/App/ComponentsDocumentation/__snapshots__/index.test.js.snap b/src/App/ComponentsDocumentation/__snapshots__/index.test.js.snap index c8e83e0ac8..5e010d0ba5 100644 --- a/src/App/ComponentsDocumentation/__snapshots__/index.test.js.snap +++ b/src/App/ComponentsDocumentation/__snapshots__/index.test.js.snap @@ -8,7 +8,7 @@ exports[`ComponentsDocumentation: index renders 1`] = ` className="dg-current-version text-uppercase" > Design Guide – v. - 10.9.0 + 10.9.1 `; diff --git a/src/App/Home/constants.js b/src/App/Home/constants.js index b425241c84..7bd5c8b9d1 100644 --- a/src/App/Home/constants.js +++ b/src/App/Home/constants.js @@ -4,6 +4,32 @@ import CodeTags from "@components/CodeTags"; const basename = process.env.basename; export const changeLogs = [ + { + version: "10.9.1", + title: "PayEx Open Source contributors are on fire 🔥🚀💚", + text: ( + <> +

The Green side of the force is strengthening 💚

+

+ A patch release full of UI updates from the Visby folks (hey guys 👋), + to bring some love to the green side of the Design System, and iterate + over the components to update the colors and their UI in general. Much + needed, and very much appreciated 🌟💚 +

+

+ Which means: You, yes, you 🫵, Front-End dev using the design system, + but who see some things could be improved ... get inspired by our + Visby stars and push some PR to fix this issue bothering you. Our dev + team is limited (well, it's only me really 😅) so we rely on all + of you to keep it great 🎸, robust 💪, and shiny ✨ +

+

+ Also some minor bugfix for the tooltip component, and some dependency + updates. But this is not as important 😉 +

+ + ), + }, { version: "10.9.0", title: "Colors and Typography refresher 🎨", diff --git a/src/App/Identity/__snapshots__/index.test.js.snap b/src/App/Identity/__snapshots__/index.test.js.snap index 01921c8b3a..f1611585ad 100644 --- a/src/App/Identity/__snapshots__/index.test.js.snap +++ b/src/App/Identity/__snapshots__/index.test.js.snap @@ -8,7 +8,7 @@ exports[`Core: index renders 1`] = ` className="dg-current-version text-uppercase" > Design Guide – v. - 10.9.0 + 10.9.1 `; diff --git a/src/App/Patterns/__snapshots__/index.test.js.snap b/src/App/Patterns/__snapshots__/index.test.js.snap index c87580e19c..dec902590d 100644 --- a/src/App/Patterns/__snapshots__/index.test.js.snap +++ b/src/App/Patterns/__snapshots__/index.test.js.snap @@ -8,7 +8,7 @@ exports[`Patterns: index renders 1`] = ` className="dg-current-version text-uppercase" > Design Guide – v. - 10.9.0 + 10.9.1 `; diff --git a/src/App/Utilities/__snapshots__/index.test.js.snap b/src/App/Utilities/__snapshots__/index.test.js.snap index c1e6a4f47d..10370875c4 100644 --- a/src/App/Utilities/__snapshots__/index.test.js.snap +++ b/src/App/Utilities/__snapshots__/index.test.js.snap @@ -8,7 +8,7 @@ exports[`Utilities: index renders 1`] = ` className="dg-current-version text-uppercase" > Design Guide - v. - 10.9.0 + 10.9.1