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

SWED-2511 fix style button loading spinner squashed #987

Merged
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
36 changes: 2 additions & 34 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,9 @@
# Changelog

## \[10.12.0\] - 16.05.2024
## \[10.12.1\] - 21.06.2024

## Component changes

- Input fields

- Labels line-height increased & mobile values adjusted, so values are in sync with `h4` typography style

- Radio inputs

- Minor non-breaking UI change to the default input radio
- Minor UI changes to checkmark variant
- Some non-breaking UI changes (colors, width, ...)
- Now we achieve the checkmark icon using `span.checkmark-icon` instead of loading an actual icon element with an svg
- New "large" variant for checkmark radio input
- Possibility to add a subtext inside the checkmark variant (use `span.subtext`)

- Buttons

- minor non-breaking UI updates (height for size large, unify hover state, update active & focus-visible UI, and more)
- add Danish MitId button style (you can use either `i.bank-id-dk` OR `i.mitid-dk`, both are supported)
- secondary buttons get a transparent background-color

- Cards

- fix style .cards-wide on mobile

- Dialog

- UI update
- new syntax, leveraging the standard <dialog> tag
- silent support for the old syntax until the next major release
- add transitions

## Technical changes

- chore deps (update deps packages minor versions)

- remove Sentry from codebase
- loading spinner of buttons keep their aspect-ratio even if the buttons is squashed, when they're in overflow state
1 change: 1 addition & 0 deletions src/less/components/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
border: 0.15rem solid;
width: 1rem;
height: 1rem;
aspect-ratio: 1;
animation: loader-spin 0.8s linear infinite;
}

Expand Down
Loading