@entur/modal 1.7.80-beta.0 → 1.8.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.
Files changed (2) hide show
  1. package/dist/styles.css +36 -8
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -28,6 +28,34 @@
28
28
  --components-modal-modal-standard-icon:#e5e5e9;
29
29
  --components-modal-modal-standard-text:#e5e5e9;
30
30
  }
31
+
32
+ [data-view-mode=standard],
33
+ :root{
34
+ --components-modal-border-default:0.0625rem;
35
+ --components-modal-gap-default:1rem;
36
+ --components-modal-icon-default:1.25rem;
37
+ --components-modal-inlinepadding-default:2rem;
38
+ --components-modal-radius-default:1rem;
39
+ --components-modal-width-default:35rem;
40
+ }
41
+
42
+ [data-view-mode=compact]{
43
+ --components-modal-border-default:0.0625rem;
44
+ --components-modal-gap-default:0.75rem;
45
+ --components-modal-icon-default:1rem;
46
+ --components-modal-inlinepadding-default:1.5rem;
47
+ --components-modal-radius-default:0.75rem;
48
+ --components-modal-width-default:20rem;
49
+ }
50
+
51
+ [data-view-mode=display]{
52
+ --components-modal-border-default:0.125rem;
53
+ --components-modal-gap-default:1.5rem;
54
+ --components-modal-icon-default:2rem;
55
+ --components-modal-inlinepadding-default:3rem;
56
+ --components-modal-radius-default:1.5rem;
57
+ --components-modal-width-default:60rem;
58
+ }
31
59
  [data-color-mode=light],
32
60
  :root{
33
61
  --basecolors-frame-contrast:#181c56;
@@ -39,8 +67,8 @@
39
67
  --basecolors-frame-subdued:#d9dae8;
40
68
  --basecolors-frame-tint:#f6f6f9;
41
69
  --basecolors-shape-accent:#181c56;
42
- --basecolors-shape-bicycle-contrast:#00db9b;
43
- --basecolors-shape-bicycle-default:#33826b;
70
+ --basecolors-shape-bicycle-contrast:#00dbb6;
71
+ --basecolors-shape-bicycle-default:#0d827e;
44
72
  --basecolors-shape-bus-contrast:#ff6392;
45
73
  --basecolors-shape-bus-default:#c5044e;
46
74
  --basecolors-shape-cableway-contrast:#b482fb;
@@ -59,8 +87,8 @@
59
87
  --basecolors-shape-maskalt:#ffffff;
60
88
  --basecolors-shape-metro-contrast:#f08901;
61
89
  --basecolors-shape-metro-default:#bf5826;
62
- --basecolors-shape-mobility-contrast:#00db9b;
63
- --basecolors-shape-mobility-default:#33826b;
90
+ --basecolors-shape-mobility-contrast:#00dbb6;
91
+ --basecolors-shape-mobility-default:#0d827e;
64
92
  --basecolors-shape-plane-contrast:#fbafea;
65
93
  --basecolors-shape-plane-default:#800664;
66
94
  --basecolors-shape-subdued:#626493;
@@ -105,8 +133,8 @@
105
133
  --basecolors-frame-subdued:#2d2e3e;
106
134
  --basecolors-frame-tint:#141527;
107
135
  --basecolors-shape-accent:#e5e5e9;
108
- --basecolors-shape-bicycle-contrast:#4db295;
109
- --basecolors-shape-bicycle-default:#4db295;
136
+ --basecolors-shape-bicycle-contrast:#4db2a1;
137
+ --basecolors-shape-bicycle-default:#4db2a1;
110
138
  --basecolors-shape-bus-contrast:#ef7398;
111
139
  --basecolors-shape-bus-default:#ef7398;
112
140
  --basecolors-shape-cableway-contrast:#b898e5;
@@ -125,8 +153,8 @@
125
153
  --basecolors-shape-maskalt:#393a49;
126
154
  --basecolors-shape-metro-contrast:#dd973c;
127
155
  --basecolors-shape-metro-default:#dd973c;
128
- --basecolors-shape-mobility-contrast:#4db295;
129
- --basecolors-shape-mobility-default:#4db295;
156
+ --basecolors-shape-mobility-contrast:#4db2a1;
157
+ --basecolors-shape-mobility-default:#4db2a1;
130
158
  --basecolors-shape-plane-contrast:#f2b8e5;
131
159
  --basecolors-shape-plane-default:#f2b8e5;
132
160
  --basecolors-shape-subdued:#b3b4bd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/modal",
3
- "version": "1.7.80-beta.0",
3
+ "version": "1.8.1",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/modal.cjs.js",
6
6
  "module": "dist/modal.esm.js",
@@ -27,13 +27,13 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.103-beta.0",
31
- "@entur/button": "^3.3.20-beta.0",
32
- "@entur/icons": "^8.3.0",
33
- "@entur/layout": "^3.2.4-beta.0",
34
- "@entur/tokens": "^3.20.0",
35
- "@entur/typography": "^3.0.0-beta.0",
36
- "@entur/utils": "^0.12.6-beta.0",
30
+ "@entur/a11y": "^0.2.104",
31
+ "@entur/button": "^3.4.1",
32
+ "@entur/icons": "^8.4.0",
33
+ "@entur/layout": "^3.3.1",
34
+ "@entur/tokens": "^3.21.1",
35
+ "@entur/typography": "^2.1.1",
36
+ "@entur/utils": "^0.13.1",
37
37
  "@reach/dialog": "^0.16.2",
38
38
  "classnames": "^2.5.1",
39
39
  "react-focus-lock": "^2.13.6"
@@ -51,5 +51,5 @@
51
51
  "vite": "^7.1.3",
52
52
  "vite-plugin-dts": "^4.5.4"
53
53
  },
54
- "gitHead": "89f96eb3e2da5ec84f0a1224bc6e20021255e389"
54
+ "gitHead": "fc1996af692ebbe6c00454abf846cf61e0fe6231"
55
55
  }