Skip to content

Commit

Permalink
SWED-2504 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenraphti committed Jun 20, 2024
1 parent 565e5b7 commit 23a5cae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 30 deletions.
34 changes: 4 additions & 30 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,15 @@
# 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
- if not invoker or close btn JS fails gracefully, providing helpful feedback in the console instead of throwing Error
- CSS support for old syntax now checks it is not picked up also by the new syntax (make sure not dialog.dialog)
- new dialog can have multiple invokers

## Technical changes

- chore deps (update deps packages minor versions)

- remove Sentry from codebase
2 changes: 2 additions & 0 deletions src/scripts/main/dialog/dialog.e2e.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// @ts-check
const { test, expect } = require("@playwright/test");

// TODO: add tests dialogs for situations where multiple invokers are present, and for no invoker or no close button (no script but JS should not throw entirely, just gracefully fail)

test.beforeEach(async ({ page }) => {
await page.goto("http://localhost:3000/components/dialog");
});
Expand Down

0 comments on commit 23a5cae

Please sign in to comment.