@maggioli-design-system/mds-modal 4.4.2 → 4.7.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.
Files changed (73) hide show
  1. package/dist/cjs/{index-7b67ecdb.js → index-a75ae767.js} +15 -5
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  4. package/dist/cjs/mds-modal.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/mds-modal/mds-modal.css +157 -275
  7. package/dist/collection/components/mds-modal/mds-modal.js +1 -1
  8. package/dist/collection/components/mds-modal/test/mds-modal.e2e.js +2 -2
  9. package/dist/collection/dictionary/input.js +21 -0
  10. package/dist/collection/dictionary/typography.js +5 -1
  11. package/dist/components/mds-modal.js +2 -2
  12. package/dist/documentation.json +2 -2
  13. package/dist/esm/{index-5f4fd73d.js → index-67f67ae4.js} +15 -5
  14. package/dist/esm/loader.js +2 -2
  15. package/dist/esm/mds-modal.entry.js +3 -3
  16. package/dist/esm/mds-modal.js +3 -3
  17. package/dist/esm-es5/index-67f67ae4.js +1 -0
  18. package/dist/esm-es5/loader.js +1 -1
  19. package/dist/esm-es5/mds-modal.entry.js +1 -1
  20. package/dist/esm-es5/mds-modal.js +1 -1
  21. package/dist/mds-modal/mds-modal.esm.js +1 -1
  22. package/dist/mds-modal/mds-modal.js +1 -1
  23. package/dist/mds-modal/p-7a54ebc0.system.entry.js +1 -0
  24. package/dist/mds-modal/{p-3289100c.system.js → p-8b71f825.system.js} +1 -1
  25. package/dist/mds-modal/p-9bfc9516.js +2 -0
  26. package/dist/mds-modal/p-e765d0c2.entry.js +1 -0
  27. package/dist/mds-modal/p-f6c96de9.system.js +2 -0
  28. package/dist/stats.json +35 -37
  29. package/dist/types/components.d.ts +11 -0
  30. package/dist/types/dictionary/input.d.ts +4 -0
  31. package/dist/types/dictionary/typography.d.ts +2 -1
  32. package/dist/types/interface/input-value.d.ts +1 -1
  33. package/dist/types/stencil-public-runtime.d.ts +2 -0
  34. package/dist/types/type/input.d.ts +4 -0
  35. package/dist/types/type/typography.d.ts +1 -0
  36. package/documentation.json +26 -11
  37. package/package.json +4 -4
  38. package/src/components/mds-modal/mds-modal.css +4 -4
  39. package/src/components/mds-modal/mds-modal.tsx +1 -1
  40. package/src/components/mds-modal/test/mds-modal.e2e.ts +2 -2
  41. package/src/components.d.ts +11 -0
  42. package/src/dictionary/input.ts +30 -0
  43. package/src/dictionary/typography.ts +7 -1
  44. package/src/fixtures/icons.json +18 -0
  45. package/src/fixtures/iconsauce.json +16 -0
  46. package/src/interface/input-value.ts +1 -1
  47. package/src/type/input.ts +25 -0
  48. package/src/type/typography.ts +4 -0
  49. package/www/build/mds-modal.esm.js +1 -1
  50. package/www/build/mds-modal.js +1 -1
  51. package/www/build/p-7a54ebc0.system.entry.js +1 -0
  52. package/www/build/{p-3289100c.system.js → p-8b71f825.system.js} +1 -1
  53. package/www/build/p-9bfc9516.js +2 -0
  54. package/www/build/p-e765d0c2.entry.js +1 -0
  55. package/www/build/p-f6c96de9.system.js +2 -0
  56. package/dist/collection/dictionary/input-text-type.js +0 -13
  57. package/dist/collection/type/input-value-type.js +0 -1
  58. package/dist/esm-es5/index-5f4fd73d.js +0 -1
  59. package/dist/mds-modal/p-b327d4c0.js +0 -2
  60. package/dist/mds-modal/p-bc48f1e8.system.js +0 -2
  61. package/dist/mds-modal/p-e441efd8.entry.js +0 -1
  62. package/dist/mds-modal/p-ff89867f.system.entry.js +0 -1
  63. package/dist/types/dictionary/input-text-type.d.ts +0 -2
  64. package/dist/types/type/input-text-type.d.ts +0 -1
  65. package/dist/types/type/input-value-type.d.ts +0 -1
  66. package/src/dictionary/input-text-type.ts +0 -17
  67. package/src/type/input-text-type.ts +0 -11
  68. package/src/type/input-value-type.ts +0 -5
  69. package/www/build/p-b327d4c0.js +0 -2
  70. package/www/build/p-bc48f1e8.system.js +0 -2
  71. package/www/build/p-e441efd8.entry.js +0 -1
  72. package/www/build/p-ff89867f.system.entry.js +0 -1
  73. /package/dist/collection/type/{input-text-type.js → input.js} +0 -0
@@ -1,52 +1,26 @@
1
- /* stylelint-disable */
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
-
6
- .focus-off,
7
- .focusable,
8
- .focusable-light,
9
- .focusable-light-off{
10
-
11
- transition-duration: 200ms;
12
-
13
- transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
14
-
15
- outline-offset: var(--magma-outline-blur-offset);
16
- outline: var(--magma-outline-blur);
17
- transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
18
- }
19
-
20
-
21
- .focus-on,
22
- .focusable-light:focus-visible,
23
- .focusable:focus-visible {
24
-
25
- --magma-outline-blur-offset: var(--magma-outline-focus-offset);
26
- --magma-outline-blur: var(--magma-outline-focus);
1
+ @keyframes focus-bounce {
2
+ 0%, 75%, 100% {
3
+ outline-offset: var(--magma-outline-focus-offset);
27
4
  }
28
5
 
29
-
30
- .focus-light-on,
31
- .focusable-light:focus-visible {
32
-
33
- --magma-outline-blur: 2px solid rgb(var(--tone-neutral));
6
+ 50% {
7
+ outline-offset: var(--magma-outline-blur-offset);
34
8
  }
35
-
36
-
37
- .svg{
38
-
39
- display: flex;
40
9
  }
10
+ /* included for focus effect */
11
+ @tailwind components;
12
+ @tailwind utilities;
41
13
 
42
14
 
43
- .svg svg{
44
-
45
- aspect-ratio: 1 / 1;
15
+ .svg {
16
+ display: flex;
17
+ }
46
18
 
47
- height: 100%;
48
19
 
49
- width: 100%;
20
+ .svg svg {
21
+ aspect-ratio: 1 / 1;
22
+ height: 100%;
23
+ width: 100%;
50
24
  }
51
25
 
52
26
 
@@ -54,113 +28,82 @@
54
28
  .animate-right-outro {
55
29
  transform: translateX(calc(100% + 50px));
56
30
  }
57
- .fixed{
58
-
59
- position: fixed;
31
+ .fixed {
32
+ position: fixed;
60
33
  }
61
- .absolute{
62
-
63
- position: absolute;
34
+ .absolute {
35
+ position: absolute;
64
36
  }
65
- .mx-6{
66
-
67
- margin-left: 1.5rem;
68
-
69
- margin-right: 1.5rem;
37
+ .mx-6 {
38
+ margin-left: 1.5rem;
39
+ margin-right: 1.5rem;
70
40
  }
71
- .ml-auto{
72
-
73
- margin-left: auto;
41
+ .ml-auto {
42
+ margin-left: auto;
74
43
  }
75
- .flex{
76
-
77
- display: flex;
44
+ .flex {
45
+ display: flex;
78
46
  }
79
- .w-16{
80
-
81
- width: 4rem;
47
+ .w-16 {
48
+ width: 4rem;
82
49
  }
83
- .min-w-0{
84
-
85
- min-width: 0px;
50
+ .min-w-0 {
51
+ min-width: 0px;
86
52
  }
87
- .max-w-lg{
88
-
89
- max-width: 32rem;
53
+ .max-w-lg {
54
+ max-width: 32rem;
90
55
  }
91
- .max-w-xl{
92
-
93
- max-width: 36rem;
56
+ .max-w-xl {
57
+ max-width: 36rem;
94
58
  }
95
- .items-center{
96
-
97
- align-items: center;
59
+ .items-center {
60
+ align-items: center;
98
61
  }
99
- .gap-4{
100
-
101
- gap: 1rem;
62
+ .gap-4 {
63
+ gap: 1rem;
102
64
  }
103
- .truncate{
104
-
105
- overflow: hidden;
106
-
107
- text-overflow: ellipsis;
108
-
109
- white-space: nowrap;
65
+ .truncate {
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ white-space: nowrap;
110
69
  }
111
- .rounded-full{
112
-
113
- border-radius: 9999px;
70
+ .rounded-full {
71
+ border-radius: 9999px;
114
72
  }
115
- .border{
116
-
117
- border-width: 1px;
73
+ .border {
74
+ border-width: 1px;
118
75
  }
119
- .border-b{
120
-
121
- border-bottom-width: 1px;
76
+ .border-b {
77
+ border-bottom-width: 1px;
122
78
  }
123
- .border-t{
124
-
125
- border-top-width: 1px;
79
+ .border-t {
80
+ border-top-width: 1px;
126
81
  }
127
- .border-tone-neutral-09{
128
-
129
- --tw-border-opacity: 1;
130
-
131
- border-color: rgba(var(--tone-neutral-09), var(--tw-border-opacity));
82
+ .border-tone-neutral-09 {
83
+ --tw-border-opacity: 1;
84
+ border-color: rgb(var(--tone-neutral-09) / var(--tw-border-opacity));
132
85
  }
133
- .bg-transparent{
134
-
135
- background-color: transparent;
86
+ .bg-transparent {
87
+ background-color: transparent;
136
88
  }
137
- .p-4{
138
-
139
- padding: 1rem;
89
+ .p-4 {
90
+ padding: 1rem;
140
91
  }
141
- .p-8{
142
-
143
- padding: 2rem;
92
+ .p-8 {
93
+ padding: 2rem;
144
94
  }
145
- .text-tone-neutral-02{
146
-
147
- --tw-text-opacity: 1;
148
-
149
- color: rgba(var(--tone-neutral-02), var(--tw-text-opacity));
95
+ .text-tone-neutral-02 {
96
+ --tw-text-opacity: 1;
97
+ color: rgb(var(--tone-neutral-02) / var(--tw-text-opacity));
150
98
  }
151
- .text-tone-neutral-04{
152
-
153
- --tw-text-opacity: 1;
154
-
155
- color: rgba(var(--tone-neutral-04), var(--tw-text-opacity));
99
+ .text-tone-neutral-04 {
100
+ --tw-text-opacity: 1;
101
+ color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));
156
102
  }
157
- .shadow{
158
-
159
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
160
-
161
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
162
-
163
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
103
+ .shadow {
104
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
105
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
106
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
164
107
  }
165
108
 
166
109
  /**
@@ -195,12 +138,12 @@
195
138
  z-index: var(--mds-modal-z-index, 1000);
196
139
  }
197
140
 
198
- :host( [position=top] ) {
141
+ :host( [position="top"] ) {
199
142
  align-items: flex-start;
200
143
  justify-content: center;
201
144
  }
202
145
 
203
- :host( [position=bottom] ) {
146
+ :host( [position="bottom"] ) {
204
147
  align-items: flex-end;
205
148
  justify-content: center;
206
149
  }
@@ -209,47 +152,35 @@
209
152
  :host( .to-center-opened ),
210
153
  :host( .to-left-opened ),
211
154
  :host( .to-right-opened ),
212
- :host( .to-top-opened ){
213
-
214
- transition-duration: 500ms;
155
+ :host( .to-top-opened ) {
156
+ transition-duration: 500ms;
215
157
 
216
158
  background-color: rgba(var(--mds-modal-overlay-color) / var(--mds-modal-overlay-opacity));
217
159
  pointer-events: auto;
218
160
  }
219
161
 
220
- .close{
221
-
222
- top: 0px;
223
-
224
- height: 2.25rem;
225
-
226
- width: 2.25rem;
227
-
228
- border-radius: 9999px;
229
-
230
- font-size: 2.25rem;
231
-
232
- line-height: 2.5rem;
233
-
234
- opacity: 0;
235
-
236
- transition-duration: 500ms;
237
-
238
- transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
162
+ .close {
163
+ top: 0px;
164
+ height: 2.25rem;
165
+ width: 2.25rem;
166
+ border-radius: 9999px;
167
+ font-size: 2.25rem;
168
+ line-height: 2.5rem;
169
+ opacity: 0;
170
+ transition-duration: 500ms;
171
+ transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
239
172
 
240
173
  cursor: pointer;
241
174
  fill: inherit;
242
175
  position: absolute;
243
- transform-origin: center;
244
176
  transform: translate(0, 24px) rotate(90deg);
177
+ transform-origin: center;
245
178
  transition-property: opacity, outline, outline-offset, transform;
246
179
  }
247
180
 
248
- .window{
249
-
250
- height: 100%;
251
-
252
- gap: 0px;
181
+ .window {
182
+ height: 100%;
183
+ gap: 0px;
253
184
 
254
185
  background-color: var(--mds-modal-window-background);
255
186
  box-shadow: var(--mds-modal-window-shadow);
@@ -271,18 +202,14 @@
271
202
  grid-template-rows: auto 1fr auto;
272
203
  }
273
204
 
274
- :host( .to-bottom ){
275
-
276
- padding: 2rem;
205
+ :host( .to-bottom ) {
206
+ padding: 2rem;
277
207
  }
278
208
 
279
- @media (max-width: 767px){
280
-
281
-
282
- :host( .to-bottom ){
283
-
284
- padding: 1rem;
285
- }
209
+ @media (max-width: 767px) {
210
+ :host( .to-bottom ) {
211
+ padding: 1rem;
212
+ }
286
213
  }
287
214
 
288
215
  :host( .to-bottom ) {
@@ -291,17 +218,12 @@
291
218
  }
292
219
 
293
220
  :host( .to-bottom ) .window,
294
- :host( .to-bottom ) > ::slotted( [slot="window"] ){
295
-
296
- opacity: 0;
297
-
298
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
299
-
300
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
301
-
302
- transition-duration: 500ms;
303
-
304
- transition-timing-function: cubic-bezier(1, 0, 0, 1);
221
+ :host( .to-bottom ) > ::slotted( [slot="window"] ) {
222
+ opacity: 0;
223
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
224
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
225
+ transition-duration: 500ms;
226
+ transition-timing-function: cubic-bezier(1, 0, 0, 1);
305
227
  }
306
228
 
307
229
  :host( .to-bottom-intro ) .window,
@@ -312,9 +234,8 @@
312
234
  :host( .to-bottom-opened.to-bottom-outro ) .window,
313
235
  :host( .to-bottom-opened.to-bottom-outro ) > ::slotted( [slot="window"] ),
314
236
  :host( .to-bottom-opened ) .window,
315
- :host( .to-bottom-opened ) > ::slotted( [slot="window"] ){
316
-
317
- opacity: 1;
237
+ :host( .to-bottom-opened ) > ::slotted( [slot="window"] ) {
238
+ opacity: 1;
318
239
 
319
240
  transform: rotateX(0) scale(1) translateY(0);
320
241
  }
@@ -324,18 +245,14 @@
324
245
  transform: rotateX(-22deg) scale(0.5) translateY(-40%);
325
246
  }
326
247
 
327
- :host( .to-center ){
328
-
329
- padding: 2rem;
248
+ :host( .to-center ) {
249
+ padding: 2rem;
330
250
  }
331
251
 
332
- @media (max-width: 767px){
333
-
334
-
335
- :host( .to-center ){
336
-
337
- padding: 1rem;
338
- }
252
+ @media (max-width: 767px) {
253
+ :host( .to-center ) {
254
+ padding: 1rem;
255
+ }
339
256
  }
340
257
 
341
258
  :host( .to-center ) {
@@ -344,17 +261,12 @@
344
261
  }
345
262
 
346
263
  :host( .to-center ) .window,
347
- :host( .to-center ) > ::slotted( [slot="window"] ){
348
-
349
- opacity: 0;
350
-
351
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
352
-
353
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
354
-
355
- transition-duration: 500ms;
356
-
357
- transition-timing-function: cubic-bezier(1, 0, 0, 1);
264
+ :host( .to-center ) > ::slotted( [slot="window"] ) {
265
+ opacity: 0;
266
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
267
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
268
+ transition-duration: 500ms;
269
+ transition-timing-function: cubic-bezier(1, 0, 0, 1);
358
270
  }
359
271
 
360
272
  :host( .to-center-intro ) .window,
@@ -365,9 +277,8 @@
365
277
  :host( .to-center-opened.to-center-outro ) .window,
366
278
  :host( .to-center-opened.to-center-outro ) > ::slotted( [slot="window"] ),
367
279
  :host( .to-center-opened ) .window,
368
- :host( .to-center-opened ) > ::slotted( [slot="window"] ){
369
-
370
- opacity: 1;
280
+ :host( .to-center-opened ) > ::slotted( [slot="window"] ) {
281
+ opacity: 1;
371
282
 
372
283
  transform: rotateX(0) scale(1) translateY(0);
373
284
  }
@@ -382,17 +293,12 @@
382
293
  }
383
294
 
384
295
  :host( .to-left ) .window,
385
- :host( .to-left ) > ::slotted( [slot="window"] ){
386
-
387
- opacity: 0;
388
-
389
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
390
-
391
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
392
-
393
- transition-duration: 500ms;
394
-
395
- transition-timing-function: cubic-bezier(1, 0, 0, 1);
296
+ :host( .to-left ) > ::slotted( [slot="window"] ) {
297
+ opacity: 0;
298
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
299
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
300
+ transition-duration: 500ms;
301
+ transition-timing-function: cubic-bezier(1, 0, 0, 1);
396
302
  }
397
303
 
398
304
  :host( .to-left-intro ) .window,
@@ -403,17 +309,15 @@
403
309
  :host( .to-left-opened.to-left-outro ) .window,
404
310
  :host( .to-left-opened.to-left-outro ) > ::slotted( [slot="window"] ),
405
311
  :host( .to-left-opened ) .window,
406
- :host( .to-left-opened ) > ::slotted( [slot="window"] ){
407
-
408
- opacity: 1;
312
+ :host( .to-left-opened ) > ::slotted( [slot="window"] ) {
313
+ opacity: 1;
409
314
 
410
315
  transform: translateX(0);
411
316
  }
412
317
 
413
318
  :host( .to-left-opened ) .close,
414
- :host( .to-left-opened.to-left-outro ) .close{
415
-
416
- opacity: 1;
319
+ :host( .to-left-opened.to-left-outro ) .close {
320
+ opacity: 1;
417
321
 
418
322
  transform: translate(-24px, 24px) rotate(0);
419
323
  }
@@ -427,9 +331,8 @@
427
331
  transform: translate(24px, 24px) rotate(-90deg);
428
332
  }
429
333
 
430
- :host( .to-left ) .close{
431
-
432
- right: 0px;
334
+ :host( .to-left ) .close {
335
+ right: 0px;
433
336
 
434
337
  transform: translate(36px, 24px) rotate(90deg);
435
338
  }
@@ -439,17 +342,12 @@
439
342
  }
440
343
 
441
344
  :host( .to-right ) .window,
442
- :host( .to-right ) > ::slotted([slot="window"]){
443
-
444
- opacity: 0;
445
-
446
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
447
-
448
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
449
-
450
- transition-duration: 500ms;
451
-
452
- transition-timing-function: cubic-bezier(1, 0, 0, 1);
345
+ :host( .to-right ) > ::slotted([slot="window"]) {
346
+ opacity: 0;
347
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
348
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
349
+ transition-duration: 500ms;
350
+ transition-timing-function: cubic-bezier(1, 0, 0, 1);
453
351
  }
454
352
 
455
353
  :host( .to-right-intro ) .window,
@@ -460,17 +358,15 @@
460
358
  :host( .to-right-opened.to-right-outro ) .window,
461
359
  :host( .to-right-opened.to-right-outro ) > ::slotted( [slot="window"] ),
462
360
  :host( .to-right-opened ) .window,
463
- :host( .to-right-opened ) > ::slotted( [slot="window"] ){
464
-
465
- opacity: 1;
361
+ :host( .to-right-opened ) > ::slotted( [slot="window"] ) {
362
+ opacity: 1;
466
363
 
467
364
  transform: translateX(0);
468
365
  }
469
366
 
470
367
  :host( .to-right-opened ) .close,
471
- :host( .to-right-opened.to-right-outro ) .close{
472
-
473
- opacity: 1;
368
+ :host( .to-right-opened.to-right-outro ) .close {
369
+ opacity: 1;
474
370
 
475
371
  transform: translate(24px, 24px) rotate(0);
476
372
  }
@@ -484,25 +380,20 @@
484
380
  transform: translate(-24px, 24px) rotate(90deg);
485
381
  }
486
382
 
487
- :host( .to-right ) .close{
488
-
489
- left: 0px;
383
+ :host( .to-right ) .close {
384
+ left: 0px;
490
385
 
491
386
  transform: translate(-36px, 24px) rotate(-90deg);
492
387
  }
493
388
 
494
- :host( .to-top ){
495
-
496
- padding: 2rem;
389
+ :host( .to-top ) {
390
+ padding: 2rem;
497
391
  }
498
392
 
499
- @media (max-width: 767px){
500
-
501
-
502
- :host( .to-top ){
503
-
504
- padding: 1rem;
505
- }
393
+ @media (max-width: 767px) {
394
+ :host( .to-top ) {
395
+ padding: 1rem;
396
+ }
506
397
  }
507
398
 
508
399
  :host( .to-top ) {
@@ -511,17 +402,12 @@
511
402
  }
512
403
 
513
404
  :host( .to-top ) .window,
514
- :host( .to-top ) > ::slotted( [slot="window"] ){
515
-
516
- opacity: 0;
517
-
518
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
519
-
520
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
521
-
522
- transition-duration: 500ms;
523
-
524
- transition-timing-function: cubic-bezier(1, 0, 0, 1);
405
+ :host( .to-top ) > ::slotted( [slot="window"] ) {
406
+ opacity: 0;
407
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
408
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
409
+ transition-duration: 500ms;
410
+ transition-timing-function: cubic-bezier(1, 0, 0, 1);
525
411
  }
526
412
 
527
413
  :host( .to-top-intro ) .window,
@@ -532,9 +418,8 @@
532
418
  :host( .to-top-opened.to-top-outro ) .window,
533
419
  :host( .to-top-opened.to-top-outro ) > ::slotted( [slot="window"] ),
534
420
  :host( .to-top-opened ) .window,
535
- :host( .to-top-opened ) > ::slotted( [slot="window"] ){
536
-
537
- opacity: 1;
421
+ :host( .to-top-opened ) > ::slotted( [slot="window"] ) {
422
+ opacity: 1;
538
423
 
539
424
  transform: rotateX(0) scale(1) translateY(0);
540
425
  }
@@ -544,13 +429,10 @@
544
429
  transform: rotateX(-22deg) scale(0.5) translateY(-40%);
545
430
  }
546
431
 
547
- @media (max-width: 767px){
548
-
549
-
550
- .mobile\:w-12{
551
-
552
- width: 3rem;
553
- }
432
+ @media (max-width: 767px) {
433
+ .mobile\:w-12 {
434
+ width: 3rem;
435
+ }
554
436
  }
555
437
 
556
438
 
@@ -91,7 +91,7 @@ export class MdsModal {
91
91
  ? h("slot", { name: "window" })
92
92
  : h("div", { class: clsx('window', (this.top || this.bottom) && `window-${this.top ? '-top' : ''}${this.bottom ? '-bottom' : ''}`), role: "dialog", part: "window" }, this.top &&
93
93
  h("slot", { name: "top" }), h("slot", null), this.bottom &&
94
- h("slot", { name: "bottom" })), !this.window && h("i", { innerHTML: miBaselineClose, tabindex: "0", onClick: (e) => { this.closeModal(e); }, class: "svg close focusable-light" })));
94
+ h("slot", { name: "bottom" })), !this.window && h("i", { innerHTML: miBaselineClose, tabindex: "0", onClick: (e) => { this.closeModal(e); }, class: "svg close focus-bounce-light" })));
95
95
  }
96
96
  static get is() { return "mds-modal"; }
97
97
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ describe('mds-modal', () => {
15
15
  <div class="window" part="window" role="dialog">
16
16
  <slot></slot>
17
17
  </div>
18
- <i class="close focusable-light svg" tabindex="0">
18
+ <i class="close focus-bounce-light svg" tabindex="0">
19
19
  <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
20
20
  <path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"></path>
21
21
  </svg>
@@ -31,7 +31,7 @@ describe('mds-modal', () => {
31
31
  <div class="window" part="window" role="dialog">
32
32
  <slot></slot>
33
33
  </div>
34
- <i class="close focusable-light svg" tabindex="0">
34
+ <i class="close focus-bounce-light svg" tabindex="0">
35
35
  <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
36
36
  <path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"></path>
37
37
  </svg>
@@ -0,0 +1,21 @@
1
+ const inputTextTypeDictionary = [
2
+ 'date',
3
+ 'email',
4
+ 'number',
5
+ 'password',
6
+ 'search',
7
+ 'tel',
8
+ 'text',
9
+ 'textarea',
10
+ 'time',
11
+ 'url',
12
+ ];
13
+ const inputControlsLayoutDictionary = [
14
+ 'horizontal',
15
+ 'vertical',
16
+ ];
17
+ const inputControlsIconDictionary = [
18
+ 'arrow',
19
+ 'arithmetic',
20
+ ];
21
+ export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, };
@@ -60,4 +60,8 @@ const typographyTooltipDictionary = [
60
60
  'detail',
61
61
  'tip',
62
62
  ];
63
- export { typographyDictionary, typographyInfoDictionary, typographyReadingVariationsDictionary, typographyMonoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
63
+ const typographyInputDictionary = [
64
+ 'snippet',
65
+ 'detail',
66
+ ];
67
+ export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };