@maggioli-design-system/mds-modal 5.1.0 → 5.3.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/dist/cjs/{index-7b5471f5.js → index-6f236cfa.js} +164 -69
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +16 -7
- package/dist/cjs/mds-modal.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/floating-controller.js +180 -0
- package/dist/collection/common/slot.js +19 -0
- package/dist/collection/components/mds-modal/mds-modal.css +10 -23
- package/dist/collection/components/mds-modal/mds-modal.js +20 -5
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +7 -2
- package/dist/collection/dictionary/animation.js +5 -0
- package/dist/collection/dictionary/file-extensions.js +6 -59
- package/dist/collection/dictionary/tree.js +13 -0
- package/dist/collection/fixtures/filenames.js +62 -1
- package/dist/collection/type/animation.js +1 -0
- package/dist/collection/type/tree.js +1 -0
- package/dist/collection/type/variant-file-format.js +5 -0
- package/dist/components/mds-modal.js +15 -6
- package/dist/documentation.d.ts +8 -0
- package/dist/documentation.json +21 -5
- package/dist/esm/{index-1c34ac95.js → index-f8d2dee4.js} +164 -69
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-modal.entry.js +16 -7
- package/dist/esm/mds-modal.js +3 -3
- package/dist/esm-es5/index-f8d2dee4.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-modal.js +1 -1
- package/dist/mds-modal/mds-modal.esm.js +1 -1
- package/dist/mds-modal/mds-modal.js +1 -1
- package/dist/mds-modal/p-413a00c5.entry.js +1 -0
- package/dist/mds-modal/p-96958acc.system.entry.js +1 -0
- package/dist/mds-modal/p-bc1fa4e4.system.js +2 -0
- package/dist/mds-modal/p-c6899cb0.system.js +1 -0
- package/dist/mds-modal/p-ee90f86a.js +2 -0
- package/dist/stats.json +77 -38
- package/dist/types/common/floating-controller.d.ts +46 -0
- package/dist/types/common/slot.d.ts +3 -0
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +2 -1
- package/dist/types/dictionary/animation.d.ts +2 -0
- package/dist/types/dictionary/tree.d.ts +4 -0
- package/dist/types/fixtures/filenames.d.ts +62 -1
- package/dist/types/type/animation.d.ts +1 -0
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/tree.d.ts +3 -0
- package/dist/types/type/variant-file-format.d.ts +1 -1
- package/documentation.json +62 -16
- package/package.json +4 -4
- package/readme.md +2 -0
- package/src/common/floating-controller.ts +263 -0
- package/src/common/slot.ts +24 -0
- package/src/components/mds-modal/css/mds-modal-animate-left.css +2 -1
- package/src/components/mds-modal/css/mds-modal-animate-right.css +2 -1
- package/src/components/mds-modal/css/mds-modal-animate.css +0 -10
- package/src/components/mds-modal/mds-modal.css +6 -0
- package/src/components/mds-modal/mds-modal.tsx +1 -1
- package/src/components/mds-modal/readme.md +2 -0
- package/src/components/mds-modal/test/mds-modal.stories.tsx +10 -4
- package/src/dictionary/animation.ts +8 -0
- package/src/dictionary/file-extensions.ts +6 -60
- package/src/dictionary/tree.ts +21 -0
- package/src/fixtures/filenames.ts +63 -0
- package/src/fixtures/icons.json +21 -0
- package/src/fixtures/iconsauce.json +6 -0
- package/src/meta/file-format/locale.el.json +26 -21
- package/src/meta/file-format/locale.en.json +26 -21
- package/src/meta/file-format/locale.es.json +26 -21
- package/src/meta/file-format/locale.it.json +26 -21
- package/src/type/animation.ts +3 -0
- package/src/type/file-types.ts +6 -0
- package/src/type/tree.ts +12 -0
- package/src/type/variant-file-format.ts +6 -0
- package/www/build/mds-modal.esm.js +1 -1
- package/www/build/mds-modal.js +1 -1
- package/www/build/p-413a00c5.entry.js +1 -0
- package/www/build/p-96958acc.system.entry.js +1 -0
- package/www/build/p-bc1fa4e4.system.js +2 -0
- package/www/build/p-c6899cb0.system.js +1 -0
- package/www/build/p-ee90f86a.js +2 -0
- package/dist/esm-es5/index-1c34ac95.js +0 -1
- package/dist/mds-modal/p-0ed6e0c8.js +0 -2
- package/dist/mds-modal/p-2bf0fd79.system.entry.js +0 -1
- package/dist/mds-modal/p-423dac35.system.js +0 -2
- package/dist/mds-modal/p-67c6f337.system.js +0 -1
- package/dist/mds-modal/p-fbfe7e2e.entry.js +0 -1
- package/www/build/p-0ed6e0c8.js +0 -2
- package/www/build/p-2bf0fd79.system.entry.js +0 -1
- package/www/build/p-423dac35.system.js +0 -2
- package/www/build/p-67c6f337.system.js +0 -1
- package/www/build/p-fbfe7e2e.entry.js +0 -1
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "
|
|
2
|
+
"timestamp": "2025-02-06T08:26:43",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "22.11.0"
|
|
@@ -9,19 +9,21 @@
|
|
|
9
9
|
"fsNamespace": "mds-modal",
|
|
10
10
|
"components": 1,
|
|
11
11
|
"entries": 1,
|
|
12
|
-
"bundles":
|
|
12
|
+
"bundles": 100,
|
|
13
13
|
"outputs": [
|
|
14
14
|
{
|
|
15
15
|
"name": "dist-collection",
|
|
16
|
-
"files":
|
|
16
|
+
"files": 52,
|
|
17
17
|
"generatedFiles": [
|
|
18
18
|
"./dist/collection/common/aria.js",
|
|
19
19
|
"./dist/collection/common/date.js",
|
|
20
20
|
"./dist/collection/common/device.js",
|
|
21
21
|
"./dist/collection/common/file.js",
|
|
22
|
+
"./dist/collection/common/floating-controller.js",
|
|
22
23
|
"./dist/collection/common/icon.js",
|
|
23
24
|
"./dist/collection/common/keyboard-manager.js",
|
|
24
25
|
"./dist/collection/common/locale.js",
|
|
26
|
+
"./dist/collection/common/slot.js",
|
|
25
27
|
"./dist/collection/common/unit.js",
|
|
26
28
|
"./dist/collection/common/yugop/core.js",
|
|
27
29
|
"./dist/collection/common/yugop/index.js",
|
|
@@ -34,6 +36,7 @@
|
|
|
34
36
|
"./dist/collection/components/mds-modal/meta/dictionary.js",
|
|
35
37
|
"./dist/collection/components/mds-modal/meta/types.js",
|
|
36
38
|
"./dist/collection/components/mds-modal/test/mds-modal.stories.js",
|
|
39
|
+
"./dist/collection/dictionary/animation.js",
|
|
37
40
|
"./dist/collection/dictionary/autocomplete.js",
|
|
38
41
|
"./dist/collection/dictionary/button.js",
|
|
39
42
|
"./dist/collection/dictionary/color.js",
|
|
@@ -43,10 +46,12 @@
|
|
|
43
46
|
"./dist/collection/dictionary/input.js",
|
|
44
47
|
"./dist/collection/dictionary/loading.js",
|
|
45
48
|
"./dist/collection/dictionary/text.js",
|
|
49
|
+
"./dist/collection/dictionary/tree.js",
|
|
46
50
|
"./dist/collection/dictionary/typography.js",
|
|
47
51
|
"./dist/collection/dictionary/variant.js",
|
|
48
52
|
"./dist/collection/fixtures/cities.js",
|
|
49
53
|
"./dist/collection/fixtures/filenames.js",
|
|
54
|
+
"./dist/collection/type/animation.js",
|
|
50
55
|
"./dist/collection/type/autocomplete.js",
|
|
51
56
|
"./dist/collection/type/button.js",
|
|
52
57
|
"./dist/collection/type/date.js",
|
|
@@ -58,6 +63,7 @@
|
|
|
58
63
|
"./dist/collection/type/loading.js",
|
|
59
64
|
"./dist/collection/type/preference.js",
|
|
60
65
|
"./dist/collection/type/text.js",
|
|
66
|
+
"./dist/collection/type/tree.js",
|
|
61
67
|
"./dist/collection/type/typography.js",
|
|
62
68
|
"./dist/collection/type/variant-file-format.js",
|
|
63
69
|
"./dist/collection/type/variant.js"
|
|
@@ -78,19 +84,19 @@
|
|
|
78
84
|
"files": 42,
|
|
79
85
|
"generatedFiles": [
|
|
80
86
|
"./dist/cjs/app-globals-3a1e7e63.js",
|
|
81
|
-
"./dist/cjs/index-
|
|
87
|
+
"./dist/cjs/index-6f236cfa.js",
|
|
82
88
|
"./dist/cjs/index.cjs.js",
|
|
83
89
|
"./dist/cjs/loader.cjs.js",
|
|
84
90
|
"./dist/cjs/mds-modal.cjs.entry.js",
|
|
85
91
|
"./dist/cjs/mds-modal.cjs.js",
|
|
86
92
|
"./dist/esm-es5/app-globals-0f993ce5.js",
|
|
87
|
-
"./dist/esm-es5/index-
|
|
93
|
+
"./dist/esm-es5/index-f8d2dee4.js",
|
|
88
94
|
"./dist/esm-es5/index.js",
|
|
89
95
|
"./dist/esm-es5/loader.js",
|
|
90
96
|
"./dist/esm-es5/mds-modal.entry.js",
|
|
91
97
|
"./dist/esm-es5/mds-modal.js",
|
|
92
98
|
"./dist/esm/app-globals-0f993ce5.js",
|
|
93
|
-
"./dist/esm/index-
|
|
99
|
+
"./dist/esm/index-f8d2dee4.js",
|
|
94
100
|
"./dist/esm/index.js",
|
|
95
101
|
"./dist/esm/loader.js",
|
|
96
102
|
"./dist/esm/mds-modal.entry.js",
|
|
@@ -100,25 +106,25 @@
|
|
|
100
106
|
"./dist/mds-modal/index.esm.js",
|
|
101
107
|
"./dist/mds-modal/mds-modal.esm.js",
|
|
102
108
|
"./dist/mds-modal/mds-modal.js",
|
|
103
|
-
"./dist/mds-modal/p-
|
|
104
|
-
"./dist/mds-modal/p-2bf0fd79.system.entry.js",
|
|
105
|
-
"./dist/mds-modal/p-423dac35.system.js",
|
|
109
|
+
"./dist/mds-modal/p-413a00c5.entry.js",
|
|
106
110
|
"./dist/mds-modal/p-50ea2036.system.js",
|
|
107
111
|
"./dist/mds-modal/p-56ba5cbf.system.js",
|
|
108
|
-
"./dist/mds-modal/p-
|
|
112
|
+
"./dist/mds-modal/p-96958acc.system.entry.js",
|
|
113
|
+
"./dist/mds-modal/p-bc1fa4e4.system.js",
|
|
114
|
+
"./dist/mds-modal/p-c6899cb0.system.js",
|
|
109
115
|
"./dist/mds-modal/p-e1255160.js",
|
|
110
|
-
"./dist/mds-modal/p-
|
|
116
|
+
"./dist/mds-modal/p-ee90f86a.js",
|
|
111
117
|
"./www/build/index.esm.js",
|
|
112
118
|
"./www/build/mds-modal.esm.js",
|
|
113
119
|
"./www/build/mds-modal.js",
|
|
114
|
-
"./www/build/p-
|
|
115
|
-
"./www/build/p-2bf0fd79.system.entry.js",
|
|
116
|
-
"./www/build/p-423dac35.system.js",
|
|
120
|
+
"./www/build/p-413a00c5.entry.js",
|
|
117
121
|
"./www/build/p-50ea2036.system.js",
|
|
118
122
|
"./www/build/p-56ba5cbf.system.js",
|
|
119
|
-
"./www/build/p-
|
|
123
|
+
"./www/build/p-96958acc.system.entry.js",
|
|
124
|
+
"./www/build/p-bc1fa4e4.system.js",
|
|
125
|
+
"./www/build/p-c6899cb0.system.js",
|
|
120
126
|
"./www/build/p-e1255160.js",
|
|
121
|
-
"./www/build/p-
|
|
127
|
+
"./www/build/p-ee90f86a.js"
|
|
122
128
|
]
|
|
123
129
|
},
|
|
124
130
|
{
|
|
@@ -151,12 +157,12 @@
|
|
|
151
157
|
"components": [
|
|
152
158
|
"mds-modal"
|
|
153
159
|
],
|
|
154
|
-
"bundleId": "p-
|
|
155
|
-
"fileName": "p-
|
|
160
|
+
"bundleId": "p-413a00c5",
|
|
161
|
+
"fileName": "p-413a00c5.entry.js",
|
|
156
162
|
"imports": [
|
|
157
|
-
"p-
|
|
163
|
+
"p-ee90f86a.js"
|
|
158
164
|
],
|
|
159
|
-
"originalByteSize":
|
|
165
|
+
"originalByteSize": 20268
|
|
160
166
|
}
|
|
161
167
|
],
|
|
162
168
|
"esm": [
|
|
@@ -168,9 +174,9 @@
|
|
|
168
174
|
"bundleId": "mds-modal",
|
|
169
175
|
"fileName": "mds-modal.entry.js",
|
|
170
176
|
"imports": [
|
|
171
|
-
"index-
|
|
177
|
+
"index-f8d2dee4.js"
|
|
172
178
|
],
|
|
173
|
-
"originalByteSize":
|
|
179
|
+
"originalByteSize": 20272
|
|
174
180
|
}
|
|
175
181
|
],
|
|
176
182
|
"es5": [
|
|
@@ -182,9 +188,9 @@
|
|
|
182
188
|
"bundleId": "mds-modal",
|
|
183
189
|
"fileName": "mds-modal.entry.js",
|
|
184
190
|
"imports": [
|
|
185
|
-
"index-
|
|
191
|
+
"index-f8d2dee4.js"
|
|
186
192
|
],
|
|
187
|
-
"originalByteSize":
|
|
193
|
+
"originalByteSize": 20272
|
|
188
194
|
}
|
|
189
195
|
],
|
|
190
196
|
"system": [
|
|
@@ -193,12 +199,12 @@
|
|
|
193
199
|
"components": [
|
|
194
200
|
"mds-modal"
|
|
195
201
|
],
|
|
196
|
-
"bundleId": "p-
|
|
197
|
-
"fileName": "p-
|
|
202
|
+
"bundleId": "p-96958acc.system",
|
|
203
|
+
"fileName": "p-96958acc.system.entry.js",
|
|
198
204
|
"imports": [
|
|
199
|
-
"p-
|
|
205
|
+
"p-bc1fa4e4.system.js"
|
|
200
206
|
],
|
|
201
|
-
"originalByteSize":
|
|
207
|
+
"originalByteSize": 21919
|
|
202
208
|
}
|
|
203
209
|
],
|
|
204
210
|
"commonjs": [
|
|
@@ -210,9 +216,9 @@
|
|
|
210
216
|
"bundleId": "mds-modal.cjs",
|
|
211
217
|
"fileName": "mds-modal.cjs.entry.js",
|
|
212
218
|
"imports": [
|
|
213
|
-
"index-
|
|
219
|
+
"index-6f236cfa.js"
|
|
214
220
|
],
|
|
215
|
-
"originalByteSize":
|
|
221
|
+
"originalByteSize": 20355
|
|
216
222
|
}
|
|
217
223
|
]
|
|
218
224
|
},
|
|
@@ -327,7 +333,9 @@
|
|
|
327
333
|
"tags": [],
|
|
328
334
|
"text": "Specifies if the modal is opened or not"
|
|
329
335
|
},
|
|
330
|
-
"internal": false
|
|
336
|
+
"internal": false,
|
|
337
|
+
"getter": false,
|
|
338
|
+
"setter": false
|
|
331
339
|
},
|
|
332
340
|
{
|
|
333
341
|
"name": "position",
|
|
@@ -353,7 +361,9 @@
|
|
|
353
361
|
"tags": [],
|
|
354
362
|
"text": "Specifies the animation position of the modal window"
|
|
355
363
|
},
|
|
356
|
-
"internal": false
|
|
364
|
+
"internal": false,
|
|
365
|
+
"getter": false,
|
|
366
|
+
"setter": false
|
|
357
367
|
},
|
|
358
368
|
{
|
|
359
369
|
"name": "animating",
|
|
@@ -379,7 +389,9 @@
|
|
|
379
389
|
"tags": [],
|
|
380
390
|
"text": "Specifies if the component is animating itself or not"
|
|
381
391
|
},
|
|
382
|
-
"internal": false
|
|
392
|
+
"internal": false,
|
|
393
|
+
"getter": false,
|
|
394
|
+
"setter": false
|
|
383
395
|
}
|
|
384
396
|
],
|
|
385
397
|
"shadowDelegatesFocus": false,
|
|
@@ -418,7 +430,9 @@
|
|
|
418
430
|
"tags": [],
|
|
419
431
|
"text": "Specifies if the modal is opened or not"
|
|
420
432
|
},
|
|
421
|
-
"internal": false
|
|
433
|
+
"internal": false,
|
|
434
|
+
"getter": false,
|
|
435
|
+
"setter": false
|
|
422
436
|
},
|
|
423
437
|
{
|
|
424
438
|
"name": "position",
|
|
@@ -444,7 +458,9 @@
|
|
|
444
458
|
"tags": [],
|
|
445
459
|
"text": "Specifies the animation position of the modal window"
|
|
446
460
|
},
|
|
447
|
-
"internal": false
|
|
461
|
+
"internal": false,
|
|
462
|
+
"getter": false,
|
|
463
|
+
"setter": false
|
|
448
464
|
},
|
|
449
465
|
{
|
|
450
466
|
"name": "animating",
|
|
@@ -470,7 +486,9 @@
|
|
|
470
486
|
"tags": [],
|
|
471
487
|
"text": "Specifies if the component is animating itself or not"
|
|
472
488
|
},
|
|
473
|
-
"internal": false
|
|
489
|
+
"internal": false,
|
|
490
|
+
"getter": false,
|
|
491
|
+
"setter": false
|
|
474
492
|
}
|
|
475
493
|
],
|
|
476
494
|
"virtualProperties": [],
|
|
@@ -582,6 +600,18 @@
|
|
|
582
600
|
"annotation": "prop",
|
|
583
601
|
"mode": "$"
|
|
584
602
|
},
|
|
603
|
+
{
|
|
604
|
+
"name": "--mds-modal-window-radius",
|
|
605
|
+
"docs": "Set the border radius of the window",
|
|
606
|
+
"annotation": "prop",
|
|
607
|
+
"mode": "$"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "--mds-modal-window-distance",
|
|
611
|
+
"docs": "Set the distance between the modal window and the screen bounds",
|
|
612
|
+
"annotation": "prop",
|
|
613
|
+
"mode": "$"
|
|
614
|
+
},
|
|
585
615
|
{
|
|
586
616
|
"name": "--mds-modal-window-shadow",
|
|
587
617
|
"docs": "Set the box shadow of the window",
|
|
@@ -642,6 +672,7 @@
|
|
|
642
672
|
"hasMember": true,
|
|
643
673
|
"hasMethod": false,
|
|
644
674
|
"hasMode": false,
|
|
675
|
+
"hasModernPropertyDecls": false,
|
|
645
676
|
"hasAttribute": true,
|
|
646
677
|
"hasProp": true,
|
|
647
678
|
"hasPropNumber": false,
|
|
@@ -671,7 +702,6 @@
|
|
|
671
702
|
"onClick",
|
|
672
703
|
"name",
|
|
673
704
|
"class",
|
|
674
|
-
"role",
|
|
675
705
|
"part",
|
|
676
706
|
"icon",
|
|
677
707
|
"variant",
|
|
@@ -701,7 +731,7 @@
|
|
|
701
731
|
],
|
|
702
732
|
"componentGraph": {
|
|
703
733
|
"sc-mds-modal": [
|
|
704
|
-
"p-
|
|
734
|
+
"p-ee90f86a.js"
|
|
705
735
|
]
|
|
706
736
|
},
|
|
707
737
|
"sourceGraph": {
|
|
@@ -709,9 +739,14 @@
|
|
|
709
739
|
"./src/common/date.ts": [],
|
|
710
740
|
"./src/common/device.ts": [],
|
|
711
741
|
"./src/common/file.ts": [],
|
|
742
|
+
"./src/common/floating-controller.ts": [
|
|
743
|
+
"./src/common/aria",
|
|
744
|
+
"./src/common/unit"
|
|
745
|
+
],
|
|
712
746
|
"./src/common/icon.ts": [],
|
|
713
747
|
"./src/common/keyboard-manager.ts": [],
|
|
714
748
|
"./src/common/locale.ts": [],
|
|
749
|
+
"./src/common/slot.ts": [],
|
|
715
750
|
"./src/common/unit.ts": [],
|
|
716
751
|
"./src/common/yugop/core.ts": [
|
|
717
752
|
"./src/common/yugop/utils/math",
|
|
@@ -735,6 +770,7 @@
|
|
|
735
770
|
"./src/components/mds-modal/test/mds-modal.stories.tsx": [
|
|
736
771
|
"./src/components/mds-modal/meta/dictionary"
|
|
737
772
|
],
|
|
773
|
+
"./src/dictionary/animation.ts": [],
|
|
738
774
|
"./src/dictionary/autocomplete.ts": [],
|
|
739
775
|
"./src/dictionary/button.ts": [],
|
|
740
776
|
"./src/dictionary/color.ts": [],
|
|
@@ -747,10 +783,12 @@
|
|
|
747
783
|
"./src/dictionary/input.ts": [],
|
|
748
784
|
"./src/dictionary/loading.ts": [],
|
|
749
785
|
"./src/dictionary/text.ts": [],
|
|
786
|
+
"./src/dictionary/tree.ts": [],
|
|
750
787
|
"./src/dictionary/typography.ts": [],
|
|
751
788
|
"./src/dictionary/variant.ts": [],
|
|
752
789
|
"./src/fixtures/cities.ts": [],
|
|
753
790
|
"./src/fixtures/filenames.ts": [],
|
|
791
|
+
"./src/type/animation.ts": [],
|
|
754
792
|
"./src/type/autocomplete.ts": [],
|
|
755
793
|
"./src/type/button.ts": [],
|
|
756
794
|
"./src/type/date.ts": [],
|
|
@@ -762,6 +800,7 @@
|
|
|
762
800
|
"./src/type/loading.ts": [],
|
|
763
801
|
"./src/type/preference.ts": [],
|
|
764
802
|
"./src/type/text.ts": [],
|
|
803
|
+
"./src/type/tree.ts": [],
|
|
765
804
|
"./src/type/typography.ts": [],
|
|
766
805
|
"./src/type/variant-file-format.ts": [],
|
|
767
806
|
"./src/type/variant.ts": []
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FloatingUIPlacement, FloatingUIStrategy } from "../type/floating-ui";
|
|
2
|
+
import { HTMLStencilElement } from '../stencil-public-runtime';
|
|
3
|
+
export interface FloatingElement extends PositionOptions {
|
|
4
|
+
host: HTMLFloatingElement;
|
|
5
|
+
}
|
|
6
|
+
export interface HTMLFloatingElement extends HTMLStencilElement, PositionOptions {
|
|
7
|
+
visible: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface PositionOptions {
|
|
10
|
+
arrow: boolean;
|
|
11
|
+
arrowPadding: number;
|
|
12
|
+
autoPlacement: boolean;
|
|
13
|
+
flip: boolean;
|
|
14
|
+
offset: number;
|
|
15
|
+
placement: FloatingUIPlacement;
|
|
16
|
+
shift: boolean;
|
|
17
|
+
shiftPadding: number;
|
|
18
|
+
strategy: FloatingUIStrategy;
|
|
19
|
+
}
|
|
20
|
+
export declare class FloatingController {
|
|
21
|
+
private _caller;
|
|
22
|
+
private readonly _host;
|
|
23
|
+
arrowEl: HTMLElement | undefined;
|
|
24
|
+
private cleanupAutoUpdate;
|
|
25
|
+
constructor(host: HTMLFloatingElement, arrowEl?: HTMLElement);
|
|
26
|
+
updateCaller(target: string): HTMLElement;
|
|
27
|
+
private readonly arrowInset;
|
|
28
|
+
private readonly arrowTransform;
|
|
29
|
+
private readonly arrowTransformOrigin;
|
|
30
|
+
private readonly calculatePosition;
|
|
31
|
+
updatePosition(): void;
|
|
32
|
+
dismiss(): void;
|
|
33
|
+
}
|
|
34
|
+
export declare class Backdrop {
|
|
35
|
+
private readonly defaultBackdropId;
|
|
36
|
+
private readonly backdropBackgroundVisible;
|
|
37
|
+
private readonly backdropBackgroundHidden;
|
|
38
|
+
private readonly backdropId;
|
|
39
|
+
private readonly cssBackdropZIndex;
|
|
40
|
+
private readonly cssBackdropDuration;
|
|
41
|
+
private backdropEl;
|
|
42
|
+
private backdropTimer;
|
|
43
|
+
constructor(backdropId?: string);
|
|
44
|
+
attachBackdrop(): void;
|
|
45
|
+
detachBackdrop(): void;
|
|
46
|
+
}
|
|
@@ -21,6 +21,7 @@ declare const _default: {
|
|
|
21
21
|
};
|
|
22
22
|
export default _default;
|
|
23
23
|
export declare const Default: any;
|
|
24
|
-
export declare const
|
|
24
|
+
export declare const DefaultWindowCustomized: any;
|
|
25
|
+
export declare const CustomWindowElement: any;
|
|
25
26
|
export declare const Interactive: any;
|
|
26
27
|
export declare const ARIATest: any;
|
|
@@ -1,2 +1,63 @@
|
|
|
1
1
|
declare const filesList: string[];
|
|
2
|
-
|
|
2
|
+
declare const namedFilesList: {
|
|
3
|
+
'7z': string;
|
|
4
|
+
'No extension file': string;
|
|
5
|
+
'png with URL': string;
|
|
6
|
+
ace: string;
|
|
7
|
+
ai: string;
|
|
8
|
+
db: string;
|
|
9
|
+
default: string;
|
|
10
|
+
dmg: string;
|
|
11
|
+
doc: string;
|
|
12
|
+
docm: string;
|
|
13
|
+
docx: string;
|
|
14
|
+
eml: string;
|
|
15
|
+
eps: string;
|
|
16
|
+
exe: string;
|
|
17
|
+
flac: string;
|
|
18
|
+
gif: string;
|
|
19
|
+
htm: string;
|
|
20
|
+
html: string;
|
|
21
|
+
jpe: string;
|
|
22
|
+
jpeg: string;
|
|
23
|
+
jpg: string;
|
|
24
|
+
js: string;
|
|
25
|
+
json: string;
|
|
26
|
+
jsx: string;
|
|
27
|
+
m2v: string;
|
|
28
|
+
mp2: string;
|
|
29
|
+
mp3: string;
|
|
30
|
+
mp4: string;
|
|
31
|
+
mp4v: string;
|
|
32
|
+
mpeg: string;
|
|
33
|
+
mpg4: string;
|
|
34
|
+
mpg: string;
|
|
35
|
+
mpga: string;
|
|
36
|
+
odf: string;
|
|
37
|
+
odp: string;
|
|
38
|
+
ods: string;
|
|
39
|
+
odt: string;
|
|
40
|
+
ole: string;
|
|
41
|
+
p7m: string;
|
|
42
|
+
pdf: string;
|
|
43
|
+
php: string;
|
|
44
|
+
png: string;
|
|
45
|
+
ppt: string;
|
|
46
|
+
rar: string;
|
|
47
|
+
rtf: string;
|
|
48
|
+
sass: string;
|
|
49
|
+
shtml: string;
|
|
50
|
+
svg: string;
|
|
51
|
+
tar: string;
|
|
52
|
+
ts: string;
|
|
53
|
+
tsd: string;
|
|
54
|
+
txt: string;
|
|
55
|
+
wav: string;
|
|
56
|
+
webp: string;
|
|
57
|
+
xar: string;
|
|
58
|
+
xls: string;
|
|
59
|
+
xlsx: string;
|
|
60
|
+
xml: string;
|
|
61
|
+
zip: string;
|
|
62
|
+
};
|
|
63
|
+
export { filesList, namedFilesList, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type HorizontalActionsAnimationType = 'fade' | 'slide';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ExtensionSuffixType = '7z' | 'ace' | 'ai' | 'db' | 'default' | 'dmg' | 'doc' | 'docm' | 'docx' | 'eml' | 'eps' | 'exe' | 'flac' | 'gif' | 'heic' | 'htm' | 'html' | 'jpe' | 'jpeg' | 'jpg' | 'js' | 'json' | 'jsx' | 'm2v' | 'mp2' | 'mp3' | 'mp4' | 'mp4v' | 'mpeg' | 'mpg' | 'mpg4' | 'mpga' | 'odp' | 'ods' | 'odt' | 'pdf' | 'php' | 'png' | 'ppt' | 'rar' | 'rtf' | 'sass' | 'shtml' | 'svg' | 'tar' | 'tiff' | 'ts' | 'txt' | 'wav' | 'webp' | 'xar' | 'xls' | 'xlsx' | 'zip';
|
|
1
|
+
export type ExtensionSuffixType = '7z' | 'ace' | 'ai' | 'db' | 'default' | 'dmg' | 'doc' | 'docm' | 'docx' | 'eml' | 'eps' | 'exe' | 'flac' | 'gif' | 'heic' | 'htm' | 'html' | 'jpe' | 'jpeg' | 'jpg' | 'js' | 'json' | 'jsx' | 'm2v' | 'mp2' | 'mp3' | 'mp4' | 'mp4v' | 'mpeg' | 'mpg' | 'mpg4' | 'mpga' | 'odf' | 'odp' | 'ods' | 'odt' | 'odt' | 'ole' | 'p7m' | 'pdf' | 'php' | 'png' | 'ppt' | 'rar' | 'rtf' | 'sass' | 'shtml' | 'svg' | 'tar' | 'tiff' | 'ts' | 'tsd' | 'txt' | 'wav' | 'webp' | 'xar' | 'xls' | 'xlsx' | 'xml' | 'zip';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeFullVariantType } from "./variant";
|
|
2
|
-
type FileFormat = 'archive' | 'attachment' | 'audio' | 'code' | 'data' | 'document' | 'email' | 'executable' | 'image' | 'markup' | 'slide' | 'spreadsheet' | 'text' | 'vector' | 'video';
|
|
2
|
+
type FileFormat = 'archive' | 'attachment' | 'audio' | 'certificate' | 'code' | 'data' | 'document' | 'email' | 'executable' | 'image' | 'markup' | 'slide' | 'spreadsheet' | 'text' | 'vector' | 'video';
|
|
3
3
|
interface FileFormatVariant {
|
|
4
4
|
icon: string;
|
|
5
5
|
variant: ThemeFullVariantType;
|
package/documentation.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "
|
|
2
|
+
"timestamp": "2025-02-06T07:52:44",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.25.1",
|
|
6
6
|
"typescriptVersion": "5.5.4"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -70,7 +70,9 @@
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"optional": true,
|
|
73
|
-
"required": false
|
|
73
|
+
"required": false,
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false
|
|
74
76
|
},
|
|
75
77
|
{
|
|
76
78
|
"name": "opened",
|
|
@@ -92,7 +94,9 @@
|
|
|
92
94
|
}
|
|
93
95
|
],
|
|
94
96
|
"optional": false,
|
|
95
|
-
"required": false
|
|
97
|
+
"required": false,
|
|
98
|
+
"getter": false,
|
|
99
|
+
"setter": false
|
|
96
100
|
},
|
|
97
101
|
{
|
|
98
102
|
"name": "position",
|
|
@@ -156,7 +160,9 @@
|
|
|
156
160
|
}
|
|
157
161
|
],
|
|
158
162
|
"optional": true,
|
|
159
|
-
"required": false
|
|
163
|
+
"required": false,
|
|
164
|
+
"getter": false,
|
|
165
|
+
"setter": false
|
|
160
166
|
}
|
|
161
167
|
],
|
|
162
168
|
"methods": [],
|
|
@@ -225,11 +231,21 @@
|
|
|
225
231
|
"annotation": "prop",
|
|
226
232
|
"docs": "Set the background color of the window"
|
|
227
233
|
},
|
|
234
|
+
{
|
|
235
|
+
"name": "--mds-modal-window-distance",
|
|
236
|
+
"annotation": "prop",
|
|
237
|
+
"docs": "Set the distance between the modal window and the screen bounds"
|
|
238
|
+
},
|
|
228
239
|
{
|
|
229
240
|
"name": "--mds-modal-window-overflow",
|
|
230
241
|
"annotation": "prop",
|
|
231
242
|
"docs": "Set the overflow of the window"
|
|
232
243
|
},
|
|
244
|
+
{
|
|
245
|
+
"name": "--mds-modal-window-radius",
|
|
246
|
+
"annotation": "prop",
|
|
247
|
+
"docs": "Set the border radius of the window"
|
|
248
|
+
},
|
|
233
249
|
{
|
|
234
250
|
"name": "--mds-modal-window-shadow",
|
|
235
251
|
"annotation": "prop",
|
|
@@ -407,6 +423,11 @@
|
|
|
407
423
|
"docstring": "",
|
|
408
424
|
"path": "src/type/button.ts"
|
|
409
425
|
},
|
|
426
|
+
"src/type/text.ts::TypographyTruncateType": {
|
|
427
|
+
"declaration": "export type TypographyTruncateType =\n | 'all'\n | 'none'\n | 'word'",
|
|
428
|
+
"docstring": "",
|
|
429
|
+
"path": "src/type/text.ts"
|
|
430
|
+
},
|
|
410
431
|
"src/type/variant.ts::ChipVariantType": {
|
|
411
432
|
"declaration": "export type ChipVariantType =\n | 'primary'\n | 'secondary'\n | 'dark'\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
|
|
412
433
|
"docstring": "",
|
|
@@ -438,7 +459,7 @@
|
|
|
438
459
|
"path": "src/components/mds-dropdown/meta/event-detail.ts"
|
|
439
460
|
},
|
|
440
461
|
"src/type/file-types.ts::ExtensionSuffixType": {
|
|
441
|
-
"declaration": "export type ExtensionSuffixType =\n | '7z'\n | 'ace'\n | 'ai'\n | 'db'\n | 'default'\n | 'dmg'\n | 'doc'\n | 'docm'\n | 'docx'\n | 'eml'\n | 'eps'\n | 'exe'\n | 'flac'\n | 'gif'\n | 'heic'\n | 'htm'\n | 'html'\n | 'jpe'\n | 'jpeg'\n | 'jpg'\n | 'js'\n | 'json'\n | 'jsx'\n | 'm2v'\n | 'mp2'\n | 'mp3'\n | 'mp4'\n | 'mp4v'\n | 'mpeg'\n | 'mpg'\n | 'mpg4'\n | 'mpga'\n | 'odp'\n | 'ods'\n | 'odt'\n | 'pdf'\n | 'php'\n | 'png'\n | 'ppt'\n | 'rar'\n | 'rtf'\n | 'sass'\n | 'shtml'\n | 'svg'\n | 'tar'\n | 'tiff'\n | 'ts'\n | 'txt'\n | 'wav'\n | 'webp'\n | 'xar'\n | 'xls'\n | 'xlsx'\n | 'zip'",
|
|
462
|
+
"declaration": "export type ExtensionSuffixType =\n | '7z'\n | 'ace'\n | 'ai'\n | 'db'\n | 'default'\n | 'dmg'\n | 'doc'\n | 'docm'\n | 'docx'\n | 'eml'\n | 'eps'\n | 'exe'\n | 'flac'\n | 'gif'\n | 'heic'\n | 'htm'\n | 'html'\n | 'jpe'\n | 'jpeg'\n | 'jpg'\n | 'js'\n | 'json'\n | 'jsx'\n | 'm2v'\n | 'mp2'\n | 'mp3'\n | 'mp4'\n | 'mp4v'\n | 'mpeg'\n | 'mpg'\n | 'mpg4'\n | 'mpga'\n | 'odf'\n | 'odp'\n | 'ods'\n | 'odt'\n | 'odt'\n | 'ole'\n | 'p7m'\n | 'pdf'\n | 'php'\n | 'png'\n | 'ppt'\n | 'rar'\n | 'rtf'\n | 'sass'\n | 'shtml'\n | 'svg'\n | 'tar'\n | 'tiff'\n | 'ts'\n | 'tsd'\n | 'txt'\n | 'wav'\n | 'webp'\n | 'xar'\n | 'xls'\n | 'xlsx'\n | 'xml'\n | 'zip'",
|
|
442
463
|
"docstring": "",
|
|
443
464
|
"path": "src/type/file-types.ts"
|
|
444
465
|
},
|
|
@@ -447,11 +468,6 @@
|
|
|
447
468
|
"docstring": "",
|
|
448
469
|
"path": "src/components/mds-file/meta/event-detail.ts"
|
|
449
470
|
},
|
|
450
|
-
"src/type/text.ts::TypographyTruncateType": {
|
|
451
|
-
"declaration": "export type TypographyTruncateType =\n | 'all'\n | 'none'\n | 'word'",
|
|
452
|
-
"docstring": "",
|
|
453
|
-
"path": "src/type/text.ts"
|
|
454
|
-
},
|
|
455
471
|
"src/components/mds-file-preview/meta/event-detail.ts::MdsFilePreviewEventDetail": {
|
|
456
472
|
"declaration": "export interface MdsFilePreviewEventDetail {\n extension: string\n filename: string\n target: HTMLMdsFilePreviewElement\n}",
|
|
457
473
|
"docstring": "",
|
|
@@ -677,11 +693,6 @@
|
|
|
677
693
|
"docstring": "",
|
|
678
694
|
"path": "src/components/mds-progress/meta/types.ts"
|
|
679
695
|
},
|
|
680
|
-
"src/type/date.ts::ISO8601Date": {
|
|
681
|
-
"declaration": "type ISO8601Date = ISO8601DateFormat<string, 'ISO8601Date'>",
|
|
682
|
-
"docstring": "",
|
|
683
|
-
"path": "src/type/date.ts"
|
|
684
|
-
},
|
|
685
696
|
"src/components/mds-push-notification/meta/types.ts::NotificationDateFormatType": {
|
|
686
697
|
"declaration": "string",
|
|
687
698
|
"docstring": "",
|
|
@@ -712,6 +723,11 @@
|
|
|
712
723
|
"docstring": "",
|
|
713
724
|
"path": "src/components/mds-stepper-bar-item/meta/event-detail.ts"
|
|
714
725
|
},
|
|
726
|
+
"src/type/animation.ts::HorizontalActionsAnimationType": {
|
|
727
|
+
"declaration": "export type HorizontalActionsAnimationType =\n | 'fade'\n | 'slide'",
|
|
728
|
+
"docstring": "",
|
|
729
|
+
"path": "src/type/animation.ts"
|
|
730
|
+
},
|
|
715
731
|
"src/components/mds-tab/meta/event-detail.ts::MdsTabEventDetail": {
|
|
716
732
|
"declaration": "export interface MdsTabEventDetail {\n id: number\n value?: string\n}",
|
|
717
733
|
"docstring": "",
|
|
@@ -732,6 +748,16 @@
|
|
|
732
748
|
"docstring": "",
|
|
733
749
|
"path": "src/components/mds-tab-item/meta/event-detail.ts"
|
|
734
750
|
},
|
|
751
|
+
"src/components/mds-table/meta/event-detail.ts::MdsTableSelectionEventDetail": {
|
|
752
|
+
"declaration": "export interface MdsTableSelectionEventDetail {\n rows: MdsTableRowSelection[]\n}",
|
|
753
|
+
"docstring": "",
|
|
754
|
+
"path": "src/components/mds-table/meta/event-detail.ts"
|
|
755
|
+
},
|
|
756
|
+
"src/components/mds-table/meta/type.ts::MdsTableRowSelection": {
|
|
757
|
+
"declaration": "{\n index: number\n value?: string | number\n}",
|
|
758
|
+
"docstring": "",
|
|
759
|
+
"path": "src/components/mds-table/meta/type.ts"
|
|
760
|
+
},
|
|
735
761
|
"src/components/mds-table-header-cell/meta/types.ts::SortDirectionType": {
|
|
736
762
|
"declaration": "export type SortDirectionType =\n | 'ascending'\n | 'descending'\n | 'none'",
|
|
737
763
|
"docstring": "",
|
|
@@ -762,6 +788,26 @@
|
|
|
762
788
|
"docstring": "",
|
|
763
789
|
"path": "src/type/typography.ts"
|
|
764
790
|
},
|
|
791
|
+
"src/type/tree.ts::TreeAppearance": {
|
|
792
|
+
"declaration": "export type TreeAppearance =\n | 'none'\n | 'depth'",
|
|
793
|
+
"docstring": "",
|
|
794
|
+
"path": "src/type/tree.ts"
|
|
795
|
+
},
|
|
796
|
+
"src/type/tree.ts::TreeIcon": {
|
|
797
|
+
"declaration": "export type TreeIcon =\n | 'folder'\n | 'chevron'",
|
|
798
|
+
"docstring": "",
|
|
799
|
+
"path": "src/type/tree.ts"
|
|
800
|
+
},
|
|
801
|
+
"src/type/tree.ts::TreeActions": {
|
|
802
|
+
"declaration": "export type TreeActions =\n | 'auto'\n | 'visible'",
|
|
803
|
+
"docstring": "",
|
|
804
|
+
"path": "src/type/tree.ts"
|
|
805
|
+
},
|
|
806
|
+
"src/components/mds-tree-item/meta/event-detail.ts::MdsTreeItemEventDetail": {
|
|
807
|
+
"declaration": "export interface MdsTreeItemEventDetail {\n element: HTMLMdsTreeItemElement\n}",
|
|
808
|
+
"docstring": "",
|
|
809
|
+
"path": "src/components/mds-tree-item/meta/event-detail.ts"
|
|
810
|
+
},
|
|
765
811
|
"src/components/mds-usage/meta/types.ts::UsageType": {
|
|
766
812
|
"declaration": "export type UsageType =\n | 'do'\n | 'dont'\n | 'info'\n | 'warn'",
|
|
767
813
|
"docstring": "",
|