@amsterdam/design-system-css 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.11.1](https://github.com/Amsterdam/design-system/compare/design-system-css-v0.11.0...design-system-css-v0.11.1) (2024-08-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Close Dialog without submit ([#1547](https://github.com/Amsterdam/design-system/issues/1547)) ([d9cc107](https://github.com/Amsterdam/design-system/commit/d9cc1079e2f784fd7002b7f785fcfdaa750cb240))
12
+
6
13
  ## [0.11.0](https://github.com/Amsterdam/design-system/compare/design-system-css-v0.10.0...design-system-css-v0.11.0) (2024-07-25)
7
14
 
8
15
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.11.0",
2
+ "version": "0.11.1",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "CSS files for components for the City of Amsterdam based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -25,6 +25,11 @@ Also, this approach keeps the order of buttons consistent on both narrow and wid
25
25
  | Shift + Tab | Moves focus to the previous focusable element inside the dialog. |
26
26
  | Escape | Closes the dialog. |
27
27
 
28
+ ## Closing Dialog without submit
29
+
30
+ You can close a Dialog without submitting by using `<button type="button" onClick={closeDialog}>`.
31
+ This uses the `closeDialog` function from the React package.
32
+
28
33
  ## References
29
34
 
30
35
  - [HTMLDialogElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement)