@entur/modal 1.7.55 → 1.7.56

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 +146 -146
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,151 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-drawer {
4
- animation: slideFromRight forwards ease-out 0.1s;
5
- background-color: var(--components-modal-drawer-standard-background);
6
- color: var(--components-modal-drawer-standard-text);
7
- bottom: 0;
8
- padding: 1.5rem;
9
- position: fixed;
10
- right: 0;
11
- top: 0;
12
- max-width: 100%;
13
- min-width: 20rem;
14
- width: 25vw;
15
- z-index: 40;
16
- overflow-y: auto;
17
- }
18
- .eds-contrast .eds-drawer {
19
- background-color: var(--components-modal-drawer-contrast-background);
20
- color: var(--components-modal-drawer-contrast-text);
21
- }
22
- .eds-drawer__close-button {
23
- margin: 0;
24
- position: absolute;
25
- top: 1.5rem;
26
- right: 1.5rem;
27
- }
28
-
29
- @keyframes slideFromRight {
30
- from {
31
- box-shadow: none;
32
- transform: translateX(100%);
33
- }
34
- to {
35
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
36
- transform: 0;
37
- }
38
- }
39
- /* DO NOT CHANGE!*/
40
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
41
- :root {
42
- --reach-dialog: 1;
43
- }
44
-
45
- .eds-modal__overlay {
46
- background: rgba(0, 0, 0, 0.5);
47
- bottom: 0;
48
- display: flex;
49
- left: 0;
50
- overflow: hidden;
51
- position: fixed;
52
- right: 0;
53
- top: 0;
54
- z-index: 30;
55
- animation: fadeInOverlay;
56
- animation-duration: 0.2s;
57
- animation-timing-function: ease-in-out;
58
- }
59
- .eds-modal__content {
60
- background: var(--components-modal-modal-standard-fill);
61
- border: 1px solid var(--components-modal-modal-standard-border);
62
- border-radius: 0.75rem;
63
- color: var(--components-modal-modal-standard-text);
64
- margin: auto;
65
- padding: 1.5rem;
66
- position: relative;
67
- width: 100%;
68
- max-height: 90vh;
69
- overflow: auto;
70
- z-index: 40;
71
- animation: slideInContent;
72
- animation-duration: 0.2s;
73
- animation-timing-function: ease-in-out;
74
- }
75
- .eds-modal__content--align-center {
76
- display: flex;
77
- flex-direction: column;
78
- align-items: center;
79
- text-align: center;
80
- }
81
- .eds-modal__content--align-end {
82
- display: flex;
83
- flex-direction: column;
84
- align-items: flex-end;
85
- }
86
- .eds-modal__content--size-extraSmall {
87
- max-width: 21rem;
88
- padding: 1.5rem;
89
- }
90
- .eds-modal__content--size-small {
91
- max-width: 28.125rem;
92
- padding: 2.5rem;
93
- }
94
- .eds-modal__content--size-medium {
95
- max-width: 45rem;
96
- padding: 3rem;
97
- }
98
- .eds-modal__content--size-large {
99
- max-width: 56.25rem;
100
- padding: 3rem;
101
- }
102
- .eds-modal__content--size-extraLarge {
103
- max-width: 78.75rem;
104
- padding: 3rem;
105
- }
106
- .eds-modal__content::-webkit-scrollbar {
107
- width: 16px;
108
- }
109
- .eds-modal__content::-webkit-scrollbar-track {
110
- margin-top: 0.5rem;
111
- margin-bottom: 0.5rem;
112
- }
113
- .eds-modal__content::-webkit-scrollbar-thumb {
114
- background-color: lightgrey;
115
- border: 4px solid transparent;
116
- border-radius: 8px;
117
- background-clip: padding-box;
118
- }
119
- .eds-modal__content::-webkit-scrollbar-thumb:hover {
120
- background-color: grey;
121
- }
122
- .eds-modal__close {
123
- position: absolute;
124
- top: 1rem;
125
- right: 1rem;
126
- color: var(--components-modal-modal-standard-icon);
127
- }
128
-
129
- @keyframes fadeInOverlay {
130
- from {
131
- opacity: 0;
132
- }
133
- to {
134
- opacity: 1;
135
- }
136
- }
137
- @keyframes slideInContent {
138
- from {
139
- top: 5rem;
140
- opacity: 0;
141
- }
142
- to {
143
- top: 0%;
144
- opacity: 1;
145
- }
146
- }
147
- /* DO NOT CHANGE!*/
148
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
149
3
  /* DO NOT CHANGE!*/
150
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
151
5
  /* DO NOT CHANGE!*/
@@ -319,3 +173,149 @@
319
173
  :root {
320
174
  --eds-modal: 1;
321
175
  }
176
+ /* DO NOT CHANGE!*/
177
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
178
+ :root {
179
+ --reach-dialog: 1;
180
+ }
181
+
182
+ .eds-modal__overlay {
183
+ background: rgba(0, 0, 0, 0.5);
184
+ bottom: 0;
185
+ display: flex;
186
+ left: 0;
187
+ overflow: hidden;
188
+ position: fixed;
189
+ right: 0;
190
+ top: 0;
191
+ z-index: 30;
192
+ animation: fadeInOverlay;
193
+ animation-duration: 0.2s;
194
+ animation-timing-function: ease-in-out;
195
+ }
196
+ .eds-modal__content {
197
+ background: var(--components-modal-modal-standard-fill);
198
+ border: 1px solid var(--components-modal-modal-standard-border);
199
+ border-radius: 0.75rem;
200
+ color: var(--components-modal-modal-standard-text);
201
+ margin: auto;
202
+ padding: 1.5rem;
203
+ position: relative;
204
+ width: 100%;
205
+ max-height: 90vh;
206
+ overflow: auto;
207
+ z-index: 40;
208
+ animation: slideInContent;
209
+ animation-duration: 0.2s;
210
+ animation-timing-function: ease-in-out;
211
+ }
212
+ .eds-modal__content--align-center {
213
+ display: flex;
214
+ flex-direction: column;
215
+ align-items: center;
216
+ text-align: center;
217
+ }
218
+ .eds-modal__content--align-end {
219
+ display: flex;
220
+ flex-direction: column;
221
+ align-items: flex-end;
222
+ }
223
+ .eds-modal__content--size-extraSmall {
224
+ max-width: 21rem;
225
+ padding: 1.5rem;
226
+ }
227
+ .eds-modal__content--size-small {
228
+ max-width: 28.125rem;
229
+ padding: 2.5rem;
230
+ }
231
+ .eds-modal__content--size-medium {
232
+ max-width: 45rem;
233
+ padding: 3rem;
234
+ }
235
+ .eds-modal__content--size-large {
236
+ max-width: 56.25rem;
237
+ padding: 3rem;
238
+ }
239
+ .eds-modal__content--size-extraLarge {
240
+ max-width: 78.75rem;
241
+ padding: 3rem;
242
+ }
243
+ .eds-modal__content::-webkit-scrollbar {
244
+ width: 16px;
245
+ }
246
+ .eds-modal__content::-webkit-scrollbar-track {
247
+ margin-top: 0.5rem;
248
+ margin-bottom: 0.5rem;
249
+ }
250
+ .eds-modal__content::-webkit-scrollbar-thumb {
251
+ background-color: lightgrey;
252
+ border: 4px solid transparent;
253
+ border-radius: 8px;
254
+ background-clip: padding-box;
255
+ }
256
+ .eds-modal__content::-webkit-scrollbar-thumb:hover {
257
+ background-color: grey;
258
+ }
259
+ .eds-modal__close {
260
+ position: absolute;
261
+ top: 1rem;
262
+ right: 1rem;
263
+ color: var(--components-modal-modal-standard-icon);
264
+ }
265
+
266
+ @keyframes fadeInOverlay {
267
+ from {
268
+ opacity: 0;
269
+ }
270
+ to {
271
+ opacity: 1;
272
+ }
273
+ }
274
+ @keyframes slideInContent {
275
+ from {
276
+ top: 5rem;
277
+ opacity: 0;
278
+ }
279
+ to {
280
+ top: 0%;
281
+ opacity: 1;
282
+ }
283
+ }
284
+ /* DO NOT CHANGE!*/
285
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
286
+ .eds-drawer {
287
+ animation: slideFromRight forwards ease-out 0.1s;
288
+ background-color: var(--components-modal-drawer-standard-background);
289
+ color: var(--components-modal-drawer-standard-text);
290
+ bottom: 0;
291
+ padding: 1.5rem;
292
+ position: fixed;
293
+ right: 0;
294
+ top: 0;
295
+ max-width: 100%;
296
+ min-width: 20rem;
297
+ width: 25vw;
298
+ z-index: 40;
299
+ overflow-y: auto;
300
+ }
301
+ .eds-contrast .eds-drawer {
302
+ background-color: var(--components-modal-drawer-contrast-background);
303
+ color: var(--components-modal-drawer-contrast-text);
304
+ }
305
+ .eds-drawer__close-button {
306
+ margin: 0;
307
+ position: absolute;
308
+ top: 1.5rem;
309
+ right: 1.5rem;
310
+ }
311
+
312
+ @keyframes slideFromRight {
313
+ from {
314
+ box-shadow: none;
315
+ transform: translateX(100%);
316
+ }
317
+ to {
318
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
319
+ transform: 0;
320
+ }
321
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/modal",
3
- "version": "1.7.55",
3
+ "version": "1.7.56",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/modal.esm.js",
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "https://bitbucket.org/enturas/design-system.git",
13
+ "url": "https://github.com/entur/design-system.git",
14
14
  "directory": "packages/modal"
15
15
  },
16
16
  "publishConfig": {
@@ -27,16 +27,16 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.92",
31
- "@entur/button": "^3.2.34",
32
- "@entur/icons": "^7.4.2",
33
- "@entur/layout": "^2.3.18",
34
- "@entur/tokens": "^3.17.2",
35
- "@entur/typography": "^1.8.47",
36
- "@entur/utils": "^0.12.0",
30
+ "@entur/a11y": "^0.2.93",
31
+ "@entur/button": "^3.2.35",
32
+ "@entur/icons": "^7.4.3",
33
+ "@entur/layout": "^2.3.19",
34
+ "@entur/tokens": "^3.17.3",
35
+ "@entur/typography": "^1.8.48",
36
+ "@entur/utils": "^0.12.1",
37
37
  "@reach/dialog": "^0.16.0",
38
38
  "classnames": "^2.3.1",
39
39
  "react-focus-lock": "^2.9.1"
40
40
  },
41
- "gitHead": "36055df834c5a9dd170f1846c1e0469481575e1a"
41
+ "gitHead": "214480c52396a9b6f7133bdb21c81986e69c5ec4"
42
42
  }