@maggioli-design-system/mds-modal 4.7.1 → 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.
Files changed (67) hide show
  1. package/dist/cjs/{index-1c3a970e.js → index-95c329c0.js} +29 -17
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-modal.cjs.entry.js +129 -129
  4. package/dist/cjs/mds-modal.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/aria.js +18 -18
  7. package/dist/collection/common/keyboard-manager.js +38 -38
  8. package/dist/collection/common/unit.js +7 -7
  9. package/dist/collection/components/mds-modal/mds-modal.css +8 -27
  10. package/dist/collection/components/mds-modal/mds-modal.js +188 -188
  11. package/dist/collection/components/mds-modal/meta/dictionary.js +5 -5
  12. package/dist/collection/components/mds-modal/test/mds-modal.e2e.js +34 -34
  13. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +16 -16
  14. package/dist/collection/dictionary/autocomplete.js +56 -56
  15. package/dist/collection/dictionary/button.js +19 -19
  16. package/dist/collection/dictionary/color.js +14 -14
  17. package/dist/collection/dictionary/floating-ui.js +14 -14
  18. package/dist/collection/dictionary/input.js +31 -15
  19. package/dist/collection/dictionary/loading.js +2 -2
  20. package/dist/collection/dictionary/typography.js +46 -46
  21. package/dist/collection/dictionary/variant.js +54 -54
  22. package/dist/collection/fixtures/cities.js +107 -107
  23. package/dist/components/mds-modal.d.ts +2 -2
  24. package/dist/components/mds-modal.js +149 -149
  25. package/dist/documentation.json +2 -2
  26. package/dist/esm/{index-a33ffd58.js → index-2bd481c0.js} +29 -17
  27. package/dist/esm/loader.js +2 -2
  28. package/dist/esm/mds-modal.entry.js +129 -129
  29. package/dist/esm/mds-modal.js +3 -3
  30. package/dist/esm-es5/index-2bd481c0.js +1 -0
  31. package/dist/esm-es5/loader.js +1 -1
  32. package/dist/esm-es5/mds-modal.entry.js +1 -1
  33. package/dist/esm-es5/mds-modal.js +1 -1
  34. package/dist/mds-modal/mds-modal.esm.js +1 -1
  35. package/dist/mds-modal/mds-modal.js +15 -15
  36. package/{www/build/p-506f8ff7.system.js → dist/mds-modal/p-0a4de21e.system.js} +1 -1
  37. package/dist/mds-modal/{p-602c50be.js → p-2f9a631d.js} +1 -1
  38. package/dist/mds-modal/p-68c3fe7d.system.entry.js +1 -0
  39. package/dist/mds-modal/{p-7ead5b8b.system.js → p-969424eb.system.js} +1 -1
  40. package/dist/mds-modal/p-fe6df5e2.entry.js +1 -0
  41. package/dist/stats.json +30 -30
  42. package/dist/types/common/keyboard-manager.d.ts +9 -9
  43. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +20 -20
  44. package/dist/types/dictionary/input.d.ts +2 -1
  45. package/dist/types/interface/input-value.d.ts +1 -1
  46. package/dist/types/stencil-public-runtime.d.ts +8 -0
  47. package/documentation.json +14 -4
  48. package/package.json +3 -3
  49. package/src/components/mds-modal/css/mds-modal-animate-bottom.css +2 -2
  50. package/src/components/mds-modal/css/mds-modal-animate-center.css +2 -2
  51. package/src/components/mds-modal/css/mds-modal-animate-top.css +2 -2
  52. package/src/components/mds-modal/mds-modal.css +2 -2
  53. package/src/dictionary/input.ts +18 -0
  54. package/src/fixtures/icons.json +3 -0
  55. package/src/fixtures/iconsauce.json +3 -0
  56. package/www/build/mds-modal.esm.js +1 -1
  57. package/www/build/mds-modal.js +15 -15
  58. package/{dist/mds-modal/p-506f8ff7.system.js → www/build/p-0a4de21e.system.js} +1 -1
  59. package/www/build/{p-602c50be.js → p-2f9a631d.js} +1 -1
  60. package/www/build/p-68c3fe7d.system.entry.js +1 -0
  61. package/www/build/{p-7ead5b8b.system.js → p-969424eb.system.js} +1 -1
  62. package/www/build/p-fe6df5e2.entry.js +1 -0
  63. package/dist/esm-es5/index-a33ffd58.js +0 -1
  64. package/dist/mds-modal/p-a0636f54.system.entry.js +0 -1
  65. package/dist/mds-modal/p-c5a84e4d.entry.js +0 -1
  66. package/www/build/p-a0636f54.system.entry.js +0 -1
  67. package/www/build/p-c5a84e4d.entry.js +0 -1
@@ -1,59 +1,59 @@
1
1
  const autoCompleteDictionary = [
2
- 'additional-name',
3
- 'address',
4
- 'address-level1',
5
- 'address-level2',
6
- 'address-level3',
7
- 'address-level4',
8
- 'address-line1',
9
- 'address-line2',
10
- 'address-line3',
11
- 'bday',
12
- 'bday-day',
13
- 'bday-month',
14
- 'bday-year',
15
- 'cc-additional-name',
16
- 'cc-csc',
17
- 'cc-exp',
18
- 'cc-exp-month',
19
- 'cc-exp-year',
20
- 'cc-family-name',
21
- 'cc-family-name',
22
- 'cc-given-name',
23
- 'cc-name',
24
- 'cc-number',
25
- 'cc-type',
26
- 'country',
27
- 'country-name',
28
- 'current-password',
29
- 'email',
30
- 'family-name',
31
- 'given-name',
32
- 'honorific-prefix',
33
- 'honorific-suffix',
34
- 'impp',
35
- 'language',
36
- 'name',
37
- 'new-password',
38
- 'nickname',
39
- 'off',
40
- 'on',
41
- 'one-time-code',
42
- 'organization',
43
- 'organization-title',
44
- 'photo',
45
- 'postal-code',
46
- 'sex',
47
- 'street-address',
48
- 'tel',
49
- 'tel-area-code',
50
- 'tel-country-code',
51
- 'tel-extension',
52
- 'tel-local',
53
- 'tel-national',
54
- 'transaction-amount',
55
- 'transaction-currency',
56
- 'url',
57
- 'username',
2
+ 'additional-name',
3
+ 'address',
4
+ 'address-level1',
5
+ 'address-level2',
6
+ 'address-level3',
7
+ 'address-level4',
8
+ 'address-line1',
9
+ 'address-line2',
10
+ 'address-line3',
11
+ 'bday',
12
+ 'bday-day',
13
+ 'bday-month',
14
+ 'bday-year',
15
+ 'cc-additional-name',
16
+ 'cc-csc',
17
+ 'cc-exp',
18
+ 'cc-exp-month',
19
+ 'cc-exp-year',
20
+ 'cc-family-name',
21
+ 'cc-family-name',
22
+ 'cc-given-name',
23
+ 'cc-name',
24
+ 'cc-number',
25
+ 'cc-type',
26
+ 'country',
27
+ 'country-name',
28
+ 'current-password',
29
+ 'email',
30
+ 'family-name',
31
+ 'given-name',
32
+ 'honorific-prefix',
33
+ 'honorific-suffix',
34
+ 'impp',
35
+ 'language',
36
+ 'name',
37
+ 'new-password',
38
+ 'nickname',
39
+ 'off',
40
+ 'on',
41
+ 'one-time-code',
42
+ 'organization',
43
+ 'organization-title',
44
+ 'photo',
45
+ 'postal-code',
46
+ 'sex',
47
+ 'street-address',
48
+ 'tel',
49
+ 'tel-area-code',
50
+ 'tel-country-code',
51
+ 'tel-extension',
52
+ 'tel-local',
53
+ 'tel-national',
54
+ 'transaction-amount',
55
+ 'transaction-currency',
56
+ 'url',
57
+ 'username',
58
58
  ];
59
59
  export { autoCompleteDictionary, };
@@ -1,30 +1,30 @@
1
1
  const buttonVariantDictionary = [
2
- 'dark',
3
- 'error',
4
- 'info',
5
- 'light',
6
- 'primary',
7
- 'success',
8
- 'warning',
2
+ 'dark',
3
+ 'error',
4
+ 'info',
5
+ 'light',
6
+ 'primary',
7
+ 'success',
8
+ 'warning',
9
9
  ];
10
10
  const buttonToneVariantDictionary = [
11
- 'strong',
12
- 'weak',
13
- 'ghost',
14
- 'quiet',
11
+ 'strong',
12
+ 'weak',
13
+ 'ghost',
14
+ 'quiet',
15
15
  ];
16
16
  const buttonTargetDictionary = [
17
- 'blank',
18
- 'self',
17
+ 'blank',
18
+ 'self',
19
19
  ];
20
20
  const buttonSizeDictionary = [
21
- 'sm',
22
- 'md',
23
- 'lg',
24
- 'xl',
21
+ 'sm',
22
+ 'md',
23
+ 'lg',
24
+ 'xl',
25
25
  ];
26
26
  const buttonIconPositionDictionary = [
27
- 'left',
28
- 'right',
27
+ 'left',
28
+ 'right',
29
29
  ];
30
30
  export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, };
@@ -1,19 +1,19 @@
1
1
  const colorLabelDictionary = [
2
- 'amaranth',
3
- 'aqua',
4
- 'blue',
5
- 'green',
6
- 'lime',
7
- 'orange',
8
- 'orchid',
9
- 'sky',
10
- 'violet',
11
- 'yellow',
2
+ 'amaranth',
3
+ 'aqua',
4
+ 'blue',
5
+ 'green',
6
+ 'lime',
7
+ 'orange',
8
+ 'orchid',
9
+ 'sky',
10
+ 'violet',
11
+ 'yellow',
12
12
  ];
13
13
  const colorStatusDictionary = [
14
- 'error',
15
- 'info',
16
- 'success',
17
- 'warning',
14
+ 'error',
15
+ 'info',
16
+ 'success',
17
+ 'warning',
18
18
  ];
19
19
  export { colorLabelDictionary, colorStatusDictionary, };
@@ -1,19 +1,19 @@
1
1
  const floatingUIPlacementDictionary = [
2
- 'bottom',
3
- 'bottom-end',
4
- 'bottom-start',
5
- 'left',
6
- 'left-end',
7
- 'left-start',
8
- 'right',
9
- 'right-end',
10
- 'right-start',
11
- 'top',
12
- 'top-end',
13
- 'top-start',
2
+ 'bottom',
3
+ 'bottom-end',
4
+ 'bottom-start',
5
+ 'left',
6
+ 'left-end',
7
+ 'left-start',
8
+ 'right',
9
+ 'right-end',
10
+ 'right-start',
11
+ 'top',
12
+ 'top-end',
13
+ 'top-start',
14
14
  ];
15
15
  const floatingUIStrategyDictionary = [
16
- 'absolute',
17
- 'fixed',
16
+ 'absolute',
17
+ 'fixed',
18
18
  ];
19
19
  export { floatingUIPlacementDictionary, floatingUIStrategyDictionary, };
@@ -1,21 +1,37 @@
1
1
  const inputTextTypeDictionary = [
2
- 'date',
3
- 'email',
4
- 'number',
5
- 'password',
6
- 'search',
7
- 'tel',
8
- 'text',
9
- 'textarea',
10
- 'time',
11
- 'url',
2
+ 'date',
3
+ 'email',
4
+ 'number',
5
+ 'password',
6
+ 'search',
7
+ 'tel',
8
+ 'text',
9
+ 'textarea',
10
+ 'time',
11
+ 'url',
12
+ ];
13
+ const inputFieldTypeDictionary = [
14
+ 'date',
15
+ 'email',
16
+ 'number',
17
+ 'password',
18
+ 'search',
19
+ 'tel',
20
+ 'text',
21
+ 'textarea',
22
+ 'time',
23
+ 'url',
24
+ 'cc',
25
+ 'cf',
26
+ 'isbn',
27
+ 'piva',
12
28
  ];
13
29
  const inputControlsLayoutDictionary = [
14
- 'horizontal',
15
- 'vertical',
30
+ 'horizontal',
31
+ 'vertical',
16
32
  ];
17
33
  const inputControlsIconDictionary = [
18
- 'arrow',
19
- 'arithmetic',
34
+ 'arrow',
35
+ 'arithmetic',
20
36
  ];
21
- export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, };
37
+ export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, inputFieldTypeDictionary, };
@@ -1,5 +1,5 @@
1
1
  const loadingDictionary = [
2
- 'eager',
3
- 'lazy',
2
+ 'eager',
3
+ 'lazy',
4
4
  ];
5
5
  export { loadingDictionary, };
@@ -1,67 +1,67 @@
1
1
  const typographyDictionary = [
2
- 'action',
3
- 'caption',
4
- 'snippet',
5
- 'detail',
6
- 'h1',
7
- 'h2',
8
- 'h3',
9
- 'h4',
10
- 'h5',
11
- 'h6',
12
- 'hack',
13
- 'label',
14
- 'option',
15
- 'paragraph',
16
- 'tip',
2
+ 'action',
3
+ 'caption',
4
+ 'snippet',
5
+ 'detail',
6
+ 'h1',
7
+ 'h2',
8
+ 'h3',
9
+ 'h4',
10
+ 'h5',
11
+ 'h6',
12
+ 'hack',
13
+ 'label',
14
+ 'option',
15
+ 'paragraph',
16
+ 'tip',
17
17
  ];
18
18
  const typographyVariationsDictionary = [
19
- 'title',
20
- 'info',
21
- 'read',
22
- 'code',
19
+ 'title',
20
+ 'info',
21
+ 'read',
22
+ 'code',
23
23
  ];
24
24
  const typographyReadingVariationsDictionary = [
25
- 'info',
26
- 'read',
25
+ 'info',
26
+ 'read',
27
27
  ];
28
28
  const typographyMonoDictionary = [
29
- 'snippet',
30
- 'hack',
29
+ 'snippet',
30
+ 'hack',
31
31
  ];
32
32
  const typographyTitleDictionary = [
33
- 'action',
34
- 'h1',
35
- 'h2',
36
- 'h3',
37
- 'h4',
38
- 'h5',
39
- 'h6',
33
+ 'action',
34
+ 'h1',
35
+ 'h2',
36
+ 'h3',
37
+ 'h4',
38
+ 'h5',
39
+ 'h6',
40
40
  ];
41
41
  const typographyInfoDictionary = [
42
- 'caption',
43
- 'detail',
44
- 'label',
45
- 'option',
46
- 'paragraph',
47
- 'tip',
42
+ 'caption',
43
+ 'detail',
44
+ 'label',
45
+ 'option',
46
+ 'paragraph',
47
+ 'tip',
48
48
  ];
49
49
  const typographyReadDictionary = [
50
- 'caption',
51
- 'detail',
52
- 'paragraph',
50
+ 'caption',
51
+ 'detail',
52
+ 'paragraph',
53
53
  ];
54
54
  const typographySmallerDictionary = [
55
- 'option',
56
- 'tip',
55
+ 'option',
56
+ 'tip',
57
57
  ];
58
58
  const typographyTooltipDictionary = [
59
- 'caption',
60
- 'detail',
61
- 'tip',
59
+ 'caption',
60
+ 'detail',
61
+ 'tip',
62
62
  ];
63
63
  const typographyInputDictionary = [
64
- 'snippet',
65
- 'detail',
64
+ 'snippet',
65
+ 'detail',
66
66
  ];
67
67
  export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
@@ -1,73 +1,73 @@
1
1
  const themeVariantDictionary = [
2
- 'dark',
3
- 'error',
4
- 'info',
5
- 'light',
6
- 'primary',
7
- 'success',
8
- 'warning',
2
+ 'dark',
3
+ 'error',
4
+ 'info',
5
+ 'light',
6
+ 'primary',
7
+ 'success',
8
+ 'warning',
9
9
  ];
10
10
  const themeLuminanceVariantDictionary = [
11
- 'dark',
12
- 'light',
11
+ 'dark',
12
+ 'light',
13
13
  ];
14
14
  const themeStatusVariantDictionary = [
15
- 'error',
16
- 'info',
17
- 'success',
18
- 'warning',
15
+ 'error',
16
+ 'info',
17
+ 'success',
18
+ 'warning',
19
19
  ];
20
20
  const themeFullVariantDictionary = [
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',
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
- 'amaranth',
40
- 'aqua',
41
- 'blue',
42
- 'green',
43
- 'lime',
44
- 'orange',
45
- 'orchid',
46
- 'sky',
47
- 'violet',
48
- 'yellow',
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
- 'strong',
52
- 'weak',
53
- 'ghost',
54
- 'quiet',
51
+ 'strong',
52
+ 'weak',
53
+ 'ghost',
54
+ 'quiet',
55
55
  ];
56
56
  const toneActionVariantDictionary = [
57
- 'primary',
58
- 'secondary',
59
- 'tertiary',
60
- 'strong',
61
- 'weak',
62
- 'quiet',
57
+ 'primary',
58
+ 'secondary',
59
+ 'tertiary',
60
+ 'strong',
61
+ 'weak',
62
+ 'quiet',
63
63
  ];
64
64
  const toneSimpleVariantDictionary = [
65
- 'strong',
66
- 'weak',
67
- 'quiet',
65
+ 'strong',
66
+ 'weak',
67
+ 'quiet',
68
68
  ];
69
69
  const toneMinimalVariantDictionary = [
70
- 'strong',
71
- 'weak',
70
+ 'strong',
71
+ 'weak',
72
72
  ];
73
73
  export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };