@maggioli-design-system/mds-input-select 1.0.2 → 2.0.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 (87) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-9a5feb6d.js +1253 -0
  3. package/dist/cjs/loader.cjs.js +5 -3
  4. package/dist/cjs/mds-input-select.cjs.entry.js +35 -6
  5. package/dist/cjs/mds-input-select.cjs.js +13 -11
  6. package/dist/collection/collection-manifest.json +2 -2
  7. package/dist/collection/common/locale.js +50 -0
  8. package/dist/collection/components/mds-input-select/mds-input-select.css +432 -131
  9. package/dist/collection/components/mds-input-select/mds-input-select.js +149 -5
  10. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +39 -0
  11. package/dist/collection/type/preference.js +1 -0
  12. package/dist/collection/type/variant-file-format.js +20 -11
  13. package/dist/components/mds-input-select.js +42 -6
  14. package/dist/documentation.d.ts +34 -0
  15. package/dist/documentation.json +188 -6
  16. package/dist/esm/app-globals-0f993ce5.js +3 -0
  17. package/dist/esm/index-27f9b67f.js +1224 -0
  18. package/dist/esm/loader.js +6 -4
  19. package/dist/esm/mds-input-select.entry.js +35 -6
  20. package/dist/esm/mds-input-select.js +14 -12
  21. package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
  22. package/dist/esm-es5/index-27f9b67f.js +1 -0
  23. package/dist/esm-es5/loader.js +1 -1
  24. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  25. package/dist/esm-es5/mds-input-select.js +1 -1
  26. package/dist/mds-input-select/mds-input-select.esm.js +1 -1
  27. package/dist/mds-input-select/mds-input-select.js +1 -1
  28. package/dist/mds-input-select/p-56ba5cbf.system.js +1 -0
  29. package/dist/mds-input-select/p-5a0746e7.system.js +2 -0
  30. package/dist/mds-input-select/p-750f66cc.system.js +1 -0
  31. package/dist/mds-input-select/p-ad1eb960.system.entry.js +1 -0
  32. package/dist/mds-input-select/p-b7cb51b4.entry.js +1 -0
  33. package/dist/mds-input-select/p-babc558f.js +2 -0
  34. package/dist/mds-input-select/p-e1255160.js +1 -0
  35. package/dist/stats.json +343 -48
  36. package/dist/types/common/locale.d.ts +15 -0
  37. package/dist/types/components/mds-input-select/mds-input-select.d.ts +67 -0
  38. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +43 -0
  39. package/dist/types/components.d.ts +52 -2
  40. package/dist/types/stencil-public-runtime.d.ts +3 -10
  41. package/dist/types/type/preference.d.ts +2 -0
  42. package/documentation.json +236 -28
  43. package/loader/cdn.js +1 -2
  44. package/loader/index.cjs.js +1 -2
  45. package/loader/index.d.ts +3 -0
  46. package/loader/index.es2017.js +1 -2
  47. package/loader/index.js +1 -2
  48. package/package.json +4 -3
  49. package/readme.md +35 -6
  50. package/src/common/locale.ts +66 -0
  51. package/src/components/mds-input-select/css/mds-input-select-pref-animation.css +22 -0
  52. package/src/components/mds-input-select/css/mds-input-select-pref-contrast.css +27 -0
  53. package/src/components/mds-input-select/css/mds-input-select-pref-theme.css +38 -0
  54. package/src/components/mds-input-select/css/mds-input-select-variant.css +89 -0
  55. package/src/components/mds-input-select/mds-input-select.css +68 -13
  56. package/src/components/mds-input-select/mds-input-select.tsx +79 -4
  57. package/src/components/mds-input-select/readme.md +19 -6
  58. package/src/components/mds-input-select/test/mds-input-select.stories.tsx +42 -0
  59. package/src/components.d.ts +52 -2
  60. package/src/fixtures/icons.json +18 -0
  61. package/src/fixtures/iconsauce.json +9 -0
  62. package/src/tailwind/components.css +71 -0
  63. package/src/type/preference.ts +10 -0
  64. package/src/type/variant-file-format.ts +20 -11
  65. package/www/build/mds-input-select.esm.js +1 -1
  66. package/www/build/mds-input-select.js +1 -1
  67. package/www/build/p-56ba5cbf.system.js +1 -0
  68. package/www/build/p-5a0746e7.system.js +2 -0
  69. package/www/build/p-750f66cc.system.js +1 -0
  70. package/www/build/p-ad1eb960.system.entry.js +1 -0
  71. package/www/build/p-b7cb51b4.entry.js +1 -0
  72. package/www/build/p-babc558f.js +2 -0
  73. package/www/build/p-e1255160.js +1 -0
  74. package/dist/cjs/index-de20f095.js +0 -1746
  75. package/dist/collection/components/mds-input-select/test/mds-input-select.e2e.js +0 -10
  76. package/dist/esm/index-635ef000.js +0 -1717
  77. package/dist/esm-es5/index-635ef000.js +0 -1
  78. package/dist/mds-input-select/p-14820a52.js +0 -2
  79. package/dist/mds-input-select/p-a14abcd4.system.js +0 -2
  80. package/dist/mds-input-select/p-dce0cce7.system.entry.js +0 -1
  81. package/dist/mds-input-select/p-de98024b.entry.js +0 -1
  82. package/dist/mds-input-select/p-f24e4812.system.js +0 -1
  83. package/www/build/p-14820a52.js +0 -2
  84. package/www/build/p-a14abcd4.system.js +0 -2
  85. package/www/build/p-dce0cce7.system.entry.js +0 -1
  86. package/www/build/p-de98024b.entry.js +0 -1
  87. package/www/build/p-f24e4812.system.js +0 -1
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2024-04-18T15:16:59",
2
+ "timestamp": "2024-09-05T13:43:55",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.10.0",
6
- "typescriptVersion": "5.3.3"
5
+ "version": "4.21.0",
6
+ "typescriptVersion": "5.5.3"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -11,7 +11,12 @@
11
11
  "encapsulation": "shadow",
12
12
  "tag": "mds-input-select",
13
13
  "docs": "",
14
- "docsTags": [],
14
+ "docsTags": [
15
+ {
16
+ "name": "part",
17
+ "text": "select - The select HTML element"
18
+ }
19
+ ],
15
20
  "usage": {},
16
21
  "props": [
17
22
  {
@@ -63,6 +68,80 @@
63
68
  "optional": true,
64
69
  "required": false
65
70
  },
71
+ {
72
+ "name": "disabled",
73
+ "type": "boolean | undefined",
74
+ "complexType": {
75
+ "original": "boolean",
76
+ "resolved": "boolean | undefined",
77
+ "references": {}
78
+ },
79
+ "mutable": false,
80
+ "attr": "disabled",
81
+ "reflectToAttr": true,
82
+ "docs": "If true, the element is displayed as disabled",
83
+ "docsTags": [],
84
+ "default": "false",
85
+ "values": [
86
+ {
87
+ "type": "boolean"
88
+ },
89
+ {
90
+ "type": "undefined"
91
+ }
92
+ ],
93
+ "optional": true,
94
+ "required": false
95
+ },
96
+ {
97
+ "name": "multiple",
98
+ "type": "boolean | undefined",
99
+ "complexType": {
100
+ "original": "boolean",
101
+ "resolved": "boolean | undefined",
102
+ "references": {}
103
+ },
104
+ "mutable": false,
105
+ "attr": "multiple",
106
+ "reflectToAttr": true,
107
+ "docs": "Specifies if the select should allow multiple options to be selected in the list",
108
+ "docsTags": [],
109
+ "default": "false",
110
+ "values": [
111
+ {
112
+ "type": "boolean"
113
+ },
114
+ {
115
+ "type": "undefined"
116
+ }
117
+ ],
118
+ "optional": true,
119
+ "required": false
120
+ },
121
+ {
122
+ "name": "name",
123
+ "type": "string | undefined",
124
+ "complexType": {
125
+ "original": "string",
126
+ "resolved": "string | undefined",
127
+ "references": {}
128
+ },
129
+ "mutable": false,
130
+ "attr": "name",
131
+ "reflectToAttr": true,
132
+ "docs": "Is needed to reference the form data after the form is submitted",
133
+ "docsTags": [],
134
+ "values": [
135
+ {
136
+ "type": "string"
137
+ },
138
+ {
139
+ "type": "undefined"
140
+ }
141
+ ],
142
+ "optional": true,
143
+ "required": false
144
+ },
66
145
  {
67
146
  "name": "placeholder",
68
147
  "type": "string | undefined",
@@ -87,6 +166,56 @@
87
166
  "optional": true,
88
167
  "required": false
89
168
  },
169
+ {
170
+ "name": "required",
171
+ "type": "boolean | undefined",
172
+ "complexType": {
173
+ "original": "boolean",
174
+ "resolved": "boolean | undefined",
175
+ "references": {}
176
+ },
177
+ "mutable": false,
178
+ "attr": "required",
179
+ "reflectToAttr": true,
180
+ "docs": "Specifies that the element must be filled out before submitting the form",
181
+ "docsTags": [],
182
+ "default": "false",
183
+ "values": [
184
+ {
185
+ "type": "boolean"
186
+ },
187
+ {
188
+ "type": "undefined"
189
+ }
190
+ ],
191
+ "optional": true,
192
+ "required": false
193
+ },
194
+ {
195
+ "name": "size",
196
+ "type": "number | undefined",
197
+ "complexType": {
198
+ "original": "number",
199
+ "resolved": "number | undefined",
200
+ "references": {}
201
+ },
202
+ "mutable": false,
203
+ "attr": "size",
204
+ "reflectToAttr": true,
205
+ "docs": "When `multiple` is set to `true`, represents the number or rows in the list that should be visible",
206
+ "docsTags": [],
207
+ "default": "0",
208
+ "values": [
209
+ {
210
+ "type": "number"
211
+ },
212
+ {
213
+ "type": "undefined"
214
+ }
215
+ ],
216
+ "optional": true,
217
+ "required": false
218
+ },
90
219
  {
91
220
  "name": "value",
92
221
  "type": "null | number | string | undefined",
@@ -98,7 +227,7 @@
98
227
  "mutable": false,
99
228
  "attr": "value",
100
229
  "reflectToAttr": true,
101
- "docs": "Specifies the value of the element",
230
+ "docs": "Specifies the value of the component",
102
231
  "docsTags": [],
103
232
  "default": "''",
104
233
  "values": [
@@ -117,6 +246,49 @@
117
246
  ],
118
247
  "optional": true,
119
248
  "required": false
249
+ },
250
+ {
251
+ "name": "variant",
252
+ "type": "\"error\" | \"info\" | \"success\" | \"warning\" | undefined",
253
+ "complexType": {
254
+ "original": "ThemeStatusVariantType",
255
+ "resolved": "\"error\" | \"info\" | \"success\" | \"warning\" | undefined",
256
+ "references": {
257
+ "ThemeStatusVariantType": {
258
+ "location": "import",
259
+ "path": "@type/variant",
260
+ "id": "src/type/variant.ts::ThemeStatusVariantType"
261
+ }
262
+ }
263
+ },
264
+ "mutable": false,
265
+ "attr": "variant",
266
+ "reflectToAttr": true,
267
+ "docs": "Sets the variant of the component",
268
+ "docsTags": [],
269
+ "values": [
270
+ {
271
+ "value": "error",
272
+ "type": "string"
273
+ },
274
+ {
275
+ "value": "info",
276
+ "type": "string"
277
+ },
278
+ {
279
+ "value": "success",
280
+ "type": "string"
281
+ },
282
+ {
283
+ "value": "warning",
284
+ "type": "string"
285
+ },
286
+ {
287
+ "type": "undefined"
288
+ }
289
+ ],
290
+ "optional": true,
291
+ "required": false
120
292
  }
121
293
  ],
122
294
  "methods": [],
@@ -145,13 +317,23 @@
145
317
  "listeners": [],
146
318
  "styles": [],
147
319
  "slots": [],
148
- "parts": [],
320
+ "parts": [
321
+ {
322
+ "name": "select",
323
+ "docs": "The select HTML element"
324
+ }
325
+ ],
149
326
  "dependents": [],
150
327
  "dependencies": [],
151
328
  "dependencyGraph": {}
152
329
  }
153
330
  ],
154
331
  "typeLibrary": {
332
+ "src/type/variant.ts::ThemeStatusVariantType": {
333
+ "declaration": "export type ThemeStatusVariantType =\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",
334
+ "docstring": "",
335
+ "path": "src/type/variant.ts"
336
+ },
155
337
  "src/interface/input-value.ts::InputValue": {
156
338
  "declaration": "export interface InputValue {\n value: InputValueType\n}",
157
339
  "docstring": "",
@@ -0,0 +1,3 @@
1
+ const globalScripts = () => {};
2
+
3
+ export { globalScripts as g };