@maggioli-design-system/mds-table-row 1.0.1 → 1.2.1

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 (112) hide show
  1. package/dist/cjs/{index-e090c8aa.js → index-797b786c.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  4. package/dist/cjs/{magma-components.cjs.js → mds-table-row.cjs.js} +3 -3
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/mds-table-row/mds-table-row.css +59 -0
  7. package/dist/{mds-table-row.js → collection/components/mds-table-row/mds-table-row.js} +1 -1
  8. package/dist/collection/dictionary/autocomplete.js +59 -0
  9. package/dist/collection/dictionary/button.js +26 -0
  10. package/dist/collection/dictionary/color.js +19 -0
  11. package/dist/collection/dictionary/icon.js +3 -0
  12. package/dist/collection/dictionary/input-text-type.js +13 -0
  13. package/dist/collection/dictionary/loading.js +5 -0
  14. package/dist/collection/dictionary/typography.js +43 -0
  15. package/dist/collection/dictionary/variant.js +65 -0
  16. package/dist/collection/fixtures/cities.js +110 -0
  17. package/dist/collection/interface/input-value.js +1 -0
  18. package/dist/collection/types/autocomplete.js +1 -0
  19. package/dist/collection/types/button.js +1 -0
  20. package/dist/collection/types/form-rel.js +1 -0
  21. package/dist/collection/types/input-text-type.js +1 -0
  22. package/dist/collection/types/input-value-type.js +1 -0
  23. package/dist/collection/types/loading.js +1 -0
  24. package/dist/collection/types/typography.js +1 -0
  25. package/dist/collection/types/variant.js +1 -0
  26. package/dist/{custom-elements → components}/index.d.ts +1 -20
  27. package/dist/components/index.js +1 -0
  28. package/dist/components/mds-table-row.d.ts +11 -0
  29. package/dist/components/mds-table-row.js +79 -0
  30. package/dist/esm/{index-4e8ec826.js → index-7d849f54.js} +1 -1
  31. package/dist/esm/loader.js +2 -2
  32. package/dist/esm/mds-table-row.entry.js +3 -3
  33. package/dist/esm/{magma-components.js → mds-table-row.js} +2 -2
  34. package/dist/esm-es5/index-7d849f54.js +1 -0
  35. package/dist/esm-es5/loader.js +1 -1
  36. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  37. package/dist/esm-es5/mds-table-row.js +1 -0
  38. package/dist/{magma-components → mds-table-row}/index.esm.js +0 -0
  39. package/dist/mds-table-row/mds-table-row.esm.js +1 -0
  40. package/dist/{magma-components/magma-components.js → mds-table-row/mds-table-row.js} +3 -3
  41. package/dist/mds-table-row/p-031e68b1.system.entry.js +1 -0
  42. package/dist/mds-table-row/p-13e3a2cc.system.js +1 -0
  43. package/dist/{magma-components/p-fe9da335.system.js → mds-table-row/p-15f2406e.system.js} +1 -1
  44. package/dist/{magma-components/p-c0c8d8ca.js → mds-table-row/p-3619a466.js} +1 -1
  45. package/dist/{magma-components → mds-table-row}/p-50ea2036.system.js +0 -0
  46. package/dist/mds-table-row/p-dab964fd.entry.js +1 -0
  47. package/dist/stats.json +148 -57
  48. package/dist/types/{Users/vitto/repo/design-system/projects/stencil/src/components/mds-table-row/.stencil/src/components → components}/mds-table-row/mds-table-row.d.ts +0 -0
  49. package/dist/types/dictionary/autocomplete.d.ts +2 -0
  50. package/dist/types/dictionary/button.d.ts +5 -0
  51. package/dist/types/dictionary/color.d.ts +3 -0
  52. package/dist/types/dictionary/icon.d.ts +2 -0
  53. package/dist/types/dictionary/input-text-type.d.ts +2 -0
  54. package/dist/types/dictionary/loading.d.ts +2 -0
  55. package/dist/types/dictionary/typography.d.ts +6 -0
  56. package/dist/types/dictionary/variant.d.ts +9 -0
  57. package/dist/types/fixtures/cities.d.ts +2 -0
  58. package/dist/types/interface/input-value.d.ts +4 -0
  59. package/dist/types/stencil-public-runtime.d.ts +6 -4
  60. package/dist/types/types/autocomplete.d.ts +2 -0
  61. package/dist/types/types/button.d.ts +4 -0
  62. package/dist/types/types/form-rel.d.ts +1 -0
  63. package/dist/types/types/input-text-type.d.ts +1 -0
  64. package/dist/types/types/input-value-type.d.ts +1 -0
  65. package/dist/types/types/loading.d.ts +1 -0
  66. package/dist/types/types/typography.d.ts +5 -0
  67. package/dist/types/types/variant.d.ts +10 -0
  68. package/loader/package.json +1 -1
  69. package/package.json +22 -25
  70. package/readme.md +10 -1
  71. package/src/components/mds-table-row/mds-table-row.css +44 -0
  72. package/src/components/mds-table-row/mds-table-row.tsx +25 -0
  73. package/src/components/mds-table-row/readme.md +19 -0
  74. package/src/dictionary/autocomplete.ts +62 -0
  75. package/src/dictionary/button.ts +35 -0
  76. package/src/dictionary/color.ts +24 -0
  77. package/src/dictionary/icon.ts +5 -0
  78. package/src/dictionary/input-text-type.ts +17 -0
  79. package/src/dictionary/loading.ts +9 -0
  80. package/src/dictionary/typography.ts +54 -0
  81. package/src/dictionary/variant.ts +82 -0
  82. package/src/fixtures/cities.ts +116 -0
  83. package/src/interface/input-value.ts +5 -0
  84. package/src/types/autocomplete.ts +69 -0
  85. package/src/types/button.ts +24 -0
  86. package/src/types/form-rel.ts +11 -0
  87. package/src/types/input-text-type.ts +11 -0
  88. package/src/types/input-value-type.ts +5 -0
  89. package/src/types/loading.ts +3 -0
  90. package/src/types/typography.ts +41 -0
  91. package/src/types/variant.ts +73 -0
  92. package/www/build/index.esm.js +0 -0
  93. package/www/build/mds-table-row.esm.js +1 -0
  94. package/www/build/mds-table-row.js +130 -0
  95. package/www/build/p-031e68b1.system.entry.js +1 -0
  96. package/www/build/p-13e3a2cc.system.js +1 -0
  97. package/www/build/p-15f2406e.system.js +1 -0
  98. package/www/build/p-3619a466.js +1 -0
  99. package/www/build/p-50ea2036.system.js +1 -0
  100. package/www/build/p-dab964fd.entry.js +1 -0
  101. package/www/host.config.json +15 -0
  102. package/dist/custom-elements/index.js +0 -74
  103. package/dist/esm-es5/index-4e8ec826.js +0 -1
  104. package/dist/esm-es5/magma-components.js +0 -1
  105. package/dist/magma-components/magma-components.esm.js +0 -1
  106. package/dist/magma-components/p-07a1cccc.entry.js +0 -1
  107. package/dist/magma-components/p-42a8d741.system.js +0 -1
  108. package/dist/magma-components/p-5555d1ad.system.entry.js +0 -1
  109. package/dist/mds-table-row.css +0 -73
  110. package/dist/stencil.config.js +0 -4
  111. package/dist/types/Users/vitto/repo/design-system/projects/stencil/src/components/mds-table-row/.stencil/src/components/mds-table-row/stencil.config.d.ts +0 -2
  112. package/dist/types/Users/vitto/repo/design-system/projects/stencil/src/components/mds-table-row/.stencil/stencil.config.d.ts +0 -2
@@ -0,0 +1,116 @@
1
+ const citiesDictionary = [
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
+ ]
110
+
111
+ export {
112
+ citiesDictionary,
113
+ }
114
+
115
+
116
+
@@ -0,0 +1,5 @@
1
+ import { InputValueType } from '../types/input-value-type'
2
+
3
+ export interface InputValue {
4
+ value: InputValueType
5
+ }
@@ -0,0 +1,69 @@
1
+ export type AutocompleteType =
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
+
59
+ export type InputTextType =
60
+ | 'date'
61
+ | 'email'
62
+ | 'number'
63
+ | 'password'
64
+ | 'search'
65
+ | 'tel'
66
+ | 'text'
67
+ | 'textarea'
68
+ | 'time'
69
+ | 'url'
@@ -0,0 +1,24 @@
1
+ export type ButtonType =
2
+ | 'a'
3
+ | 'button'
4
+ | 'reset'
5
+ | 'submit'
6
+
7
+ export type ButtonSizeType =
8
+ | 'sm'
9
+ | 'md'
10
+ | 'lg'
11
+ | 'xl'
12
+
13
+ export type ButtonIconPositionType =
14
+ | 'left'
15
+ | 'right'
16
+
17
+ export type ButtonVariantType =
18
+ | 'primary'
19
+ | 'dark'
20
+ | 'light'
21
+ | 'error'
22
+ | 'info'
23
+ | 'success'
24
+ | 'warning'
@@ -0,0 +1,11 @@
1
+ export type FormRelType =
2
+ | 'external' // Specifies that the referenced document is not a part of the current site
3
+ | 'help' // Links to a help document
4
+ | 'license' // Links to copyright information for the document
5
+ | 'next' // The next document in a selection
6
+ | 'nofollow' // Links to an unendorsed document, like a paid link. ("nofollow" is used by Google, to specify that the Google search spider should not follow that link)
7
+ | 'noopener'
8
+ | 'noreferrer' // Specifies that the browser should not send a HTTP referrer header if the user follows the hyperlink
9
+ | 'opener'
10
+ | 'prev' // The previous document in a selection
11
+ | 'search' // Links to a search tool for the document
@@ -0,0 +1,11 @@
1
+ export type InputTextType =
2
+ | 'date'
3
+ | 'email'
4
+ | 'number'
5
+ | 'password'
6
+ | 'search'
7
+ | 'tel'
8
+ | 'text'
9
+ | 'textarea'
10
+ | 'time'
11
+ | 'url'
@@ -0,0 +1,5 @@
1
+ export type InputValueType =
2
+ | null
3
+ | number
4
+ | string
5
+ | undefined
@@ -0,0 +1,3 @@
1
+ export type LoadingType =
2
+ | 'eager'
3
+ | 'lazy'
@@ -0,0 +1,41 @@
1
+ export type TypographyType =
2
+ | 'action'
3
+ | 'caption'
4
+ | 'code'
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
+
18
+ export type TypographyPrimaryType =
19
+ | 'action'
20
+ | 'h1'
21
+ | 'h2'
22
+ | 'h3'
23
+ | 'h4'
24
+ | 'h5'
25
+ | 'h6'
26
+
27
+ export type TypographySecondaryType =
28
+ | 'caption'
29
+ | 'detail'
30
+ | 'label'
31
+ | 'option'
32
+ | 'paragraph'
33
+ | 'tip'
34
+
35
+ export type TypographySmallerType =
36
+ | 'tip'
37
+ | 'option'
38
+
39
+ export type TypographyMonoType =
40
+ | 'code'
41
+ | 'hack'
@@ -0,0 +1,73 @@
1
+ export type ThemeStatusVariantType =
2
+ | 'error'
3
+ | 'info'
4
+ | 'success'
5
+ | 'warning'
6
+
7
+ export type ThemeVariantType =
8
+ | 'dark'
9
+ | 'error'
10
+ | 'info'
11
+ | 'light'
12
+ | 'primary'
13
+ | 'success'
14
+ | 'warning'
15
+
16
+ export type ThemeFullVariantType =
17
+ | 'amaranth'
18
+ | 'aqua'
19
+ | 'blue'
20
+ | 'dark'
21
+ | 'error'
22
+ | 'green'
23
+ | 'info'
24
+ | 'light'
25
+ | 'lime'
26
+ | 'orange'
27
+ | 'orchid'
28
+ | 'sky'
29
+ | 'success'
30
+ | 'violet'
31
+ | 'warning'
32
+ | 'yellow'
33
+
34
+ export type ThemeLuminanceVariantType =
35
+ | 'dark'
36
+ | 'light'
37
+
38
+ export type LabelVariantType =
39
+ | 'amaranth'
40
+ | 'aqua'
41
+ | 'blue'
42
+ | 'green'
43
+ | 'lime'
44
+ | 'orange'
45
+ | 'orchid'
46
+ | 'sky'
47
+ | 'violet'
48
+ | 'yellow'
49
+
50
+ export type ActionVariantType =
51
+ | 'primary'
52
+ | 'dark'
53
+ | 'light'
54
+
55
+ export type StateVariantType =
56
+ | 'disabled'
57
+ | 'focused'
58
+ | 'readonly'
59
+
60
+ export type ToneVariantType =
61
+ | 'strong' // background strong
62
+ | 'weak' // background weak
63
+ | 'ghost' // bordered
64
+ | 'quiet' // no background, no border
65
+
66
+ export type ToneSimpleVariantType =
67
+ | 'strong'
68
+ | 'weak'
69
+ | 'quiet'
70
+
71
+ export type ToneMinimalVariantType =
72
+ | 'strong'
73
+ | 'weak'
File without changes
@@ -0,0 +1 @@
1
+ import{p as t,b as e}from"./p-3619a466.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((t=>e([["p-dab964fd",[[4,"mds-table-row",{interactive:[32]},[[16,"tableInteractive","tableInteractiveHandler"]]]]]],t)));