@bonniernews/dn-design-system-web 37.0.1 → 37.1.0

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
@@ -4,6 +4,25 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
4
4
 
5
5
 
6
6
 
7
+ ## [37.1.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@37.0.2...@bonniernews/dn-design-system-web@37.1.0) (2026-01-13)
8
+
9
+
10
+ ### Features
11
+
12
+ * **web:** export closemodal ([#1974](https://github.com/BonnierNews/dn-design-system/issues/1974)) ([3e6628c](https://github.com/BonnierNews/dn-design-system/commit/3e6628c35b30bc963ec5816d1e4f41bcc9cd0e30))
13
+
14
+
15
+ ### Maintenance
16
+
17
+ * **web:** fix esbuild version to 0.25.0 ([#1982](https://github.com/BonnierNews/dn-design-system/issues/1982)) ([b3082c6](https://github.com/BonnierNews/dn-design-system/commit/b3082c6181314e2550f3786ad93c95dcad3bc8c1))
18
+
19
+ ## [37.0.2](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@37.0.1...@bonniernews/dn-design-system-web@37.0.2) (2026-01-12)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **web:** add interactiveelementattributes to listitem of type toggle ([#1987](https://github.com/BonnierNews/dn-design-system/issues/1987)) ([72ef236](https://github.com/BonnierNews/dn-design-system/commit/72ef23608ec1349f15e9da290a9426a8758053b7))
25
+
7
26
  ## [37.0.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@37.0.0...@bonniernews/dn-design-system-web@37.0.1) (2026-01-12)
8
27
 
9
28
 
@@ -80,7 +80,10 @@ export interface SwitchListItemProps
80
80
  export interface ToggleListItemProps
81
81
  extends ListItemSharedProps,
82
82
  ButtonToggleStandardProps,
83
- Pick<ListItemBaseProps, 'title' | 'subtitle' | 'disabled' | 'selected'> {
83
+ Pick<
84
+ ListItemBaseProps,
85
+ 'title' | 'subtitle' | 'disabled' | 'selected' | 'interactiveElementAttributes' | 'interactiveElementClassNames'
86
+ > {
84
87
  name: string
85
88
  /** Only links title */
86
89
  titleHref?: string
@@ -1,4 +1,4 @@
1
- export { initModal, openModal, initModalStorybook };
1
+ export { initModal, openModal, initModalStorybook, closeModal };
2
2
 
3
3
  function initModal(modalEl) {
4
4
  const isDialogSupported = typeof HTMLDialogElement === 'function';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "37.0.1",
3
+ "version": "37.1.0",
4
4
  "description": "DN design system for web.",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/BonnierNews/dn-design-system/tree/main/web/src#readme",
@@ -50,7 +50,7 @@ export interface StandardListItemProps extends ListItemSharedProps, Pick<ListIte
50
50
  export interface SwitchListItemProps extends ListItemSharedProps, SwitchInnerProps, Pick<ListItemBaseProps, 'leadingIcon' | 'disabled' | 'checked' | 'stripLabel' | 'interactiveElementAttributes' | 'interactiveElementClassNames'> {
51
51
  name: string;
52
52
  }
53
- export interface ToggleListItemProps extends ListItemSharedProps, ButtonToggleStandardProps, Pick<ListItemBaseProps, 'title' | 'subtitle' | 'disabled' | 'selected'> {
53
+ export interface ToggleListItemProps extends ListItemSharedProps, ButtonToggleStandardProps, Pick<ListItemBaseProps, 'title' | 'subtitle' | 'disabled' | 'selected' | 'interactiveElementAttributes' | 'interactiveElementClassNames'> {
54
54
  name: string;
55
55
  /** Only links title */
56
56
  titleHref?: string;