@maggioli-design-system/mds-modal 4.7.0 → 4.7.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/dist/cjs/{index-a75ae767.js → index-95c329c0.js} +60 -23
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +129 -129
- package/dist/cjs/mds-modal.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/aria.js +18 -18
- package/dist/collection/common/keyboard-manager.js +38 -38
- package/dist/collection/common/unit.js +7 -7
- package/dist/collection/components/mds-modal/mds-modal.css +8 -27
- package/dist/collection/components/mds-modal/mds-modal.js +188 -188
- package/dist/collection/components/mds-modal/meta/dictionary.js +5 -5
- package/dist/collection/components/mds-modal/test/mds-modal.e2e.js +34 -34
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +16 -16
- package/dist/collection/dictionary/autocomplete.js +56 -56
- package/dist/collection/dictionary/button.js +19 -19
- package/dist/collection/dictionary/color.js +14 -14
- package/dist/collection/dictionary/floating-ui.js +14 -14
- package/dist/collection/dictionary/input.js +31 -15
- package/dist/collection/dictionary/loading.js +2 -2
- package/dist/collection/dictionary/typography.js +46 -46
- package/dist/collection/dictionary/variant.js +54 -54
- package/dist/collection/fixtures/cities.js +107 -107
- package/dist/components/mds-modal.d.ts +2 -2
- package/dist/components/mds-modal.js +149 -149
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-67f67ae4.js → index-2bd481c0.js} +60 -23
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-modal.entry.js +129 -129
- package/dist/esm/mds-modal.js +3 -3
- package/dist/esm-es5/index-2bd481c0.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 +15 -15
- package/dist/mds-modal/p-0a4de21e.system.js +2 -0
- package/dist/mds-modal/p-2f9a631d.js +2 -0
- package/dist/mds-modal/p-68c3fe7d.system.entry.js +1 -0
- package/dist/mds-modal/{p-8b71f825.system.js → p-969424eb.system.js} +1 -1
- package/dist/mds-modal/p-fe6df5e2.entry.js +1 -0
- package/dist/stats.json +30 -30
- package/dist/types/common/keyboard-manager.d.ts +9 -9
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +20 -20
- package/dist/types/dictionary/input.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/documentation.json +14 -4
- package/package.json +3 -3
- package/src/components/mds-modal/css/mds-modal-animate-bottom.css +2 -2
- package/src/components/mds-modal/css/mds-modal-animate-center.css +2 -2
- package/src/components/mds-modal/css/mds-modal-animate-top.css +2 -2
- package/src/components/mds-modal/mds-modal.css +2 -2
- package/src/dictionary/input.ts +18 -0
- package/src/fixtures/icons.json +3 -0
- package/src/fixtures/iconsauce.json +3 -0
- package/www/build/mds-modal.esm.js +1 -1
- package/www/build/mds-modal.js +15 -15
- package/www/build/p-0a4de21e.system.js +2 -0
- package/www/build/p-2f9a631d.js +2 -0
- package/www/build/p-68c3fe7d.system.entry.js +1 -0
- package/www/build/{p-8b71f825.system.js → p-969424eb.system.js} +1 -1
- package/www/build/p-fe6df5e2.entry.js +1 -0
- package/dist/esm-es5/index-67f67ae4.js +0 -1
- package/dist/mds-modal/p-7a54ebc0.system.entry.js +0 -1
- package/dist/mds-modal/p-9bfc9516.js +0 -2
- package/dist/mds-modal/p-e765d0c2.entry.js +0 -1
- package/dist/mds-modal/p-f6c96de9.system.js +0 -2
- package/www/build/p-7a54ebc0.system.entry.js +0 -1
- package/www/build/p-9bfc9516.js +0 -2
- package/www/build/p-e765d0c2.entry.js +0 -1
- package/www/build/p-f6c96de9.system.js +0 -2
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
const themeVariantDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
9
|
];
|
|
10
10
|
const themeLuminanceVariantDictionary = [
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
'dark',
|
|
12
|
+
'light',
|
|
13
13
|
];
|
|
14
14
|
const themeStatusVariantDictionary = [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
'error',
|
|
16
|
+
'info',
|
|
17
|
+
'success',
|
|
18
|
+
'warning',
|
|
19
19
|
];
|
|
20
20
|
const themeFullVariantDictionary = [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
21
|
+
'amaranth',
|
|
22
|
+
'aqua',
|
|
23
|
+
'blue',
|
|
24
|
+
'dark',
|
|
25
|
+
'error',
|
|
26
|
+
'green',
|
|
27
|
+
'info',
|
|
28
|
+
'light',
|
|
29
|
+
'lime',
|
|
30
|
+
'orange',
|
|
31
|
+
'orchid',
|
|
32
|
+
'sky',
|
|
33
|
+
'success',
|
|
34
|
+
'violet',
|
|
35
|
+
'warning',
|
|
36
|
+
'yellow',
|
|
37
37
|
];
|
|
38
38
|
const themeLabelVariantDictionary = [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
'amaranth',
|
|
40
|
+
'aqua',
|
|
41
|
+
'blue',
|
|
42
|
+
'green',
|
|
43
|
+
'lime',
|
|
44
|
+
'orange',
|
|
45
|
+
'orchid',
|
|
46
|
+
'sky',
|
|
47
|
+
'violet',
|
|
48
|
+
'yellow',
|
|
49
49
|
];
|
|
50
50
|
const toneVariantDictionary = [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
'strong',
|
|
52
|
+
'weak',
|
|
53
|
+
'ghost',
|
|
54
|
+
'quiet',
|
|
55
55
|
];
|
|
56
56
|
const toneActionVariantDictionary = [
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
'primary',
|
|
58
|
+
'secondary',
|
|
59
|
+
'tertiary',
|
|
60
|
+
'strong',
|
|
61
|
+
'weak',
|
|
62
|
+
'quiet',
|
|
63
63
|
];
|
|
64
64
|
const toneSimpleVariantDictionary = [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
'strong',
|
|
66
|
+
'weak',
|
|
67
|
+
'quiet',
|
|
68
68
|
];
|
|
69
69
|
const toneMinimalVariantDictionary = [
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
'strong',
|
|
71
|
+
'weak',
|
|
72
72
|
];
|
|
73
73
|
export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|
|
@@ -1,110 +1,110 @@
|
|
|
1
1
|
const citiesDictionary = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
2
|
+
'Agrigento',
|
|
3
|
+
'Alessandria',
|
|
4
|
+
'Ancona',
|
|
5
|
+
'Aosta',
|
|
6
|
+
'Arezzo',
|
|
7
|
+
'Ascoli Piceno',
|
|
8
|
+
'Asti',
|
|
9
|
+
'Avellino',
|
|
10
|
+
'Bari',
|
|
11
|
+
'Barletta-Andria-Trani',
|
|
12
|
+
'Belluno',
|
|
13
|
+
'Benevento',
|
|
14
|
+
'Bergamo',
|
|
15
|
+
'Biella',
|
|
16
|
+
'Bologna',
|
|
17
|
+
'Bolzano',
|
|
18
|
+
'Brescia',
|
|
19
|
+
'Brindisi',
|
|
20
|
+
'Cagliari',
|
|
21
|
+
'Caltanissetta',
|
|
22
|
+
'Campobasso',
|
|
23
|
+
'Caserta',
|
|
24
|
+
'Catania',
|
|
25
|
+
'Catanzaro',
|
|
26
|
+
'Chieti',
|
|
27
|
+
'Como',
|
|
28
|
+
'Cosenza',
|
|
29
|
+
'Cremona',
|
|
30
|
+
'Crotone',
|
|
31
|
+
'Cuneo',
|
|
32
|
+
'Enna',
|
|
33
|
+
'Fermo',
|
|
34
|
+
'Ferrara',
|
|
35
|
+
'Firenze',
|
|
36
|
+
'Foggia',
|
|
37
|
+
'Forlì-Cesena',
|
|
38
|
+
'Frosinone',
|
|
39
|
+
'Genova',
|
|
40
|
+
'Gorizia',
|
|
41
|
+
'Grosseto',
|
|
42
|
+
'Imperia',
|
|
43
|
+
'Isernia',
|
|
44
|
+
'La Spezia',
|
|
45
|
+
'L\'Aquila',
|
|
46
|
+
'Latina',
|
|
47
|
+
'Lecce',
|
|
48
|
+
'Lecco',
|
|
49
|
+
'Livorno',
|
|
50
|
+
'Lodi',
|
|
51
|
+
'Lucca',
|
|
52
|
+
'Macerata',
|
|
53
|
+
'Mantova',
|
|
54
|
+
'Massa-Carrara',
|
|
55
|
+
'Matera',
|
|
56
|
+
'Messina',
|
|
57
|
+
'Milano',
|
|
58
|
+
'Modena',
|
|
59
|
+
'Monza e della Brianza',
|
|
60
|
+
'Napoli',
|
|
61
|
+
'Novara',
|
|
62
|
+
'Nuoro',
|
|
63
|
+
'Oristano',
|
|
64
|
+
'Padova',
|
|
65
|
+
'Palermo',
|
|
66
|
+
'Parma',
|
|
67
|
+
'Pavia',
|
|
68
|
+
'Perugia',
|
|
69
|
+
'Pesaro e Urbino',
|
|
70
|
+
'Pescara',
|
|
71
|
+
'Piacenza',
|
|
72
|
+
'Pisa',
|
|
73
|
+
'Pistoia',
|
|
74
|
+
'Pordenone',
|
|
75
|
+
'Potenza',
|
|
76
|
+
'Prato',
|
|
77
|
+
'Ragusa',
|
|
78
|
+
'Ravenna',
|
|
79
|
+
'Reggio Calabria',
|
|
80
|
+
'Reggio Emilia',
|
|
81
|
+
'Rieti',
|
|
82
|
+
'Rimini',
|
|
83
|
+
'Roma',
|
|
84
|
+
'Rovigo',
|
|
85
|
+
'Salerno',
|
|
86
|
+
'Sassari',
|
|
87
|
+
'Savona',
|
|
88
|
+
'Siena',
|
|
89
|
+
'Siracusa',
|
|
90
|
+
'Sondrio',
|
|
91
|
+
'Sud Sardegna',
|
|
92
|
+
'Taranto',
|
|
93
|
+
'Teramo',
|
|
94
|
+
'Terni',
|
|
95
|
+
'Torino',
|
|
96
|
+
'Trapani',
|
|
97
|
+
'Trento',
|
|
98
|
+
'Treviso',
|
|
99
|
+
'Trieste',
|
|
100
|
+
'Udine',
|
|
101
|
+
'Varese',
|
|
102
|
+
'Venezia',
|
|
103
|
+
'Verbano-Cusio-Ossola',
|
|
104
|
+
'Vercelli',
|
|
105
|
+
'Verona',
|
|
106
|
+
'Vibo Valentia',
|
|
107
|
+
'Vicenza',
|
|
108
|
+
'Viterbo',
|
|
109
109
|
];
|
|
110
110
|
export { citiesDictionary, };
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface MdsModal extends Components.MdsModal, HTMLElement {}
|
|
4
4
|
export const MdsModal: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: MdsModal;
|
|
6
|
+
new (): MdsModal;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|