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.10.1 #953

Merged
merged 3 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 3 additions & 5 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## \[10.10.1\] - xx.02.2024
## \[10.10.1\] - 14.02.2024

## Component changes

Expand All @@ -15,15 +15,13 @@
- the close icon is now a cross set via CSS only, no need to add an `<i>` element anymore
- Dialog
- the close icon is now a cross set via CSS only, no need to add an `<i>` element anymore
- Progress steps
- the "check" icon for steps completed should be converted to `<i class="completed steps-icon"></i>`

### UI bugfixes

- Input addon (pre or post input) color when input is disabled

## Maintenance

- npm packages dependencies upgrades

## Design System website

- Migrate icons used on the DS documentation website from Material-icons to Atlas + Swepay-icon custom icons
16 changes: 8 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swedbankpay/design-guide",
"version": "10.10.0",
"version": "10.10.1",
"description": "Swedbank Pay Design Guide",
"main": "src/scripts/main/index.js",
"scripts": {
Expand Down
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.10.0
10.10.1
</span>
</div>
`;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SidebarNavList = [
title: "Grid",
},
{
icon: <i className="move-arrow-left-right" aria-hidden="true"></i>,
icon: <i className="at-move-arrow-left-right" aria-hidden="true"></i>,
title: "Spacing",
},
],
Expand Down
36 changes: 36 additions & 0 deletions src/App/Home/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,42 @@ import CodeTags from "@components/CodeTags";
const basename = process.env.basename;

export const changeLogs = [
{
version: "10.10.1",
title: "Icons migration - step 2/2",
text: (
<>
<p>
We're back with the second step of our icons migration. This time, we
are replacing the components snippets.
</p>
<p>
We've also taken this opportunity to simplify a few things:
<ul>
<li>
Now you don't need to add the close icon element on the Tag &
Dialog components. We're taking care of it ourselves behind the
curtain using pseudo-elements.
</li>
<li>
Toast is also modified, but since it's composed via the script
shipped in the package nothing is needed from the devs consuming
it.
</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>`
</li>
</ul>
</p>
<p>
And we've migrated all our icons used on the documentation website to
the new ones 🚀 Let's go ! 🤩{" "}
</p>
</>
),
},
{
version: "10.10.0",
title: "Icons migrations - step 1",
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.10.0
10.10.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.10.0
10.10.1
</span>
</div>
`;
2 changes: 1 addition & 1 deletion src/App/Utilities/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`Utilities: index renders 1`] = `
className="dg-current-version text-uppercase"
>
Design Guide - v.
10.10.0
10.10.1
</span>
<div
className="d-flex align-items-center"
Expand Down
2 changes: 1 addition & 1 deletion src/App/components/Topbar/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ exports[`Component: Topbar - props topbarContent renders a sidebar in topbar-lin
>
<i
aria-hidden="true"
className="move-arrow-left-right"
className="at-move-arrow-left-right"
/>
Spacing
</a>
Expand Down
1 change: 1 addition & 0 deletions src/less/components/dialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

.dialog-close {
display: inline-grid;
position: relative;
touch-action: manipulation;
cursor: pointer;
user-select: none;
Expand Down
Loading