@bonniernews/dn-design-system-web 37.3.0 → 37.3.2

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,27 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
4
4
 
5
5
 
6
6
 
7
+ ## [37.3.2](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@37.3.1...@bonniernews/dn-design-system-web@37.3.2) (2026-04-16)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **web:** modal close bug ([#2049](https://github.com/BonnierNews/dn-design-system/issues/2049)) ([3f44174](https://github.com/BonnierNews/dn-design-system/commit/3f441742e1fb33046fb98999770c875202dea946))
13
+
14
+ ## [37.3.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@37.3.0...@bonniernews/dn-design-system-web@37.3.1) (2026-04-15)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **web:** set modal overlay on ds-modal ([#2048](https://github.com/BonnierNews/dn-design-system/issues/2048)) ([b205a84](https://github.com/BonnierNews/dn-design-system/commit/b205a8401038b5153e607297dccf493ed19dbef2))
20
+
21
+
22
+ ### Maintenance
23
+
24
+ * add cooldown and allow major bumps in dependabot and disallow scripts from install ([#2044](https://github.com/BonnierNews/dn-design-system/issues/2044)) ([b9ac449](https://github.com/BonnierNews/dn-design-system/commit/b9ac449c5f789571c60c442f0f6b19527ef8d5f4))
25
+ * prerelease packages ([116c4bc](https://github.com/BonnierNews/dn-design-system/commit/116c4bc205c98303a8d1a4efd36b21b77e83f2c6))
26
+ * unify reanimated version ([#2041](https://github.com/BonnierNews/dn-design-system/issues/2041)) ([b034ea2](https://github.com/BonnierNews/dn-design-system/commit/b034ea2ddbef909c2877f8fe5b036f7d72f38baf))
27
+
7
28
  ## [37.3.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@37.2.13...@bonniernews/dn-design-system-web@37.3.0) (2026-03-24)
8
29
 
9
30
 
@@ -13,6 +13,7 @@ body.no-scroll {
13
13
  }
14
14
 
15
15
  .ds-modal {
16
+
16
17
  &--fallback {
17
18
  display: flex;
18
19
  position: fixed;
@@ -22,6 +23,18 @@ body.no-scroll {
22
23
  left: 0;
23
24
  z-index: 999;
24
25
 
26
+ &::after {
27
+ content: "";
28
+ display: block;
29
+ position: fixed;
30
+ top: 0;
31
+ left: 0;
32
+ width: 100vw;
33
+ height: 100vh;
34
+ background-color: $ds-color-surface-overlay;
35
+ z-index: 10;
36
+ }
37
+
25
38
  @include ds-mq-only-breakpoint(mobile) {
26
39
  align-items: flex-end;
27
40
  }
@@ -33,13 +46,18 @@ body.no-scroll {
33
46
 
34
47
  .ds-modal__inner {
35
48
  position: relative;
49
+ overflow: auto;
50
+ max-height: 85vh;
36
51
  }
37
52
  }
38
53
 
39
54
  .ds-modal__inner {
40
55
  max-width: 700px;
56
+ max-height: 90dvh;
57
+ overflow-y: auto;
41
58
  border: none;
42
59
  padding: 0;
60
+ background-color: transparent;
43
61
 
44
62
  @include ds-mq-only-breakpoint(mobile) {
45
63
  min-width: 100%;
@@ -47,19 +65,7 @@ body.no-scroll {
47
65
  }
48
66
 
49
67
  &::backdrop {
50
- background-color: transparent;
51
- }
52
-
53
- &::after {
54
- content: "";
55
- display: block;
56
- position: fixed;
57
- top: 0;
58
- left: 0;
59
- width: 100vw;
60
- height: 100vh;
61
68
  background-color: $ds-color-surface-overlay;
62
- z-index: 10;
63
69
  }
64
70
 
65
71
  &:focus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "37.3.0",
3
+ "version": "37.3.2",
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",