@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.
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-9a5feb6d.js +1253 -0
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/mds-input-select.cjs.entry.js +35 -6
- package/dist/cjs/mds-input-select.cjs.js +13 -11
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/locale.js +50 -0
- package/dist/collection/components/mds-input-select/mds-input-select.css +432 -131
- package/dist/collection/components/mds-input-select/mds-input-select.js +149 -5
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +39 -0
- package/dist/collection/type/preference.js +1 -0
- package/dist/collection/type/variant-file-format.js +20 -11
- package/dist/components/mds-input-select.js +42 -6
- package/dist/documentation.d.ts +34 -0
- package/dist/documentation.json +188 -6
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-27f9b67f.js +1224 -0
- package/dist/esm/loader.js +6 -4
- package/dist/esm/mds-input-select.entry.js +35 -6
- package/dist/esm/mds-input-select.js +14 -12
- package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
- package/dist/esm-es5/index-27f9b67f.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.js +1 -1
- package/dist/mds-input-select/mds-input-select.esm.js +1 -1
- package/dist/mds-input-select/mds-input-select.js +1 -1
- package/dist/mds-input-select/p-56ba5cbf.system.js +1 -0
- package/dist/mds-input-select/p-5a0746e7.system.js +2 -0
- package/dist/mds-input-select/p-750f66cc.system.js +1 -0
- package/dist/mds-input-select/p-ad1eb960.system.entry.js +1 -0
- package/dist/mds-input-select/p-b7cb51b4.entry.js +1 -0
- package/dist/mds-input-select/p-babc558f.js +2 -0
- package/dist/mds-input-select/p-e1255160.js +1 -0
- package/dist/stats.json +343 -48
- package/dist/types/common/locale.d.ts +15 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +67 -0
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +43 -0
- package/dist/types/components.d.ts +52 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/type/preference.d.ts +2 -0
- package/documentation.json +236 -28
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +4 -3
- package/readme.md +35 -6
- package/src/common/locale.ts +66 -0
- package/src/components/mds-input-select/css/mds-input-select-pref-animation.css +22 -0
- package/src/components/mds-input-select/css/mds-input-select-pref-contrast.css +27 -0
- package/src/components/mds-input-select/css/mds-input-select-pref-theme.css +38 -0
- package/src/components/mds-input-select/css/mds-input-select-variant.css +89 -0
- package/src/components/mds-input-select/mds-input-select.css +68 -13
- package/src/components/mds-input-select/mds-input-select.tsx +79 -4
- package/src/components/mds-input-select/readme.md +19 -6
- package/src/components/mds-input-select/test/mds-input-select.stories.tsx +42 -0
- package/src/components.d.ts +52 -2
- package/src/fixtures/icons.json +18 -0
- package/src/fixtures/iconsauce.json +9 -0
- package/src/tailwind/components.css +71 -0
- package/src/type/preference.ts +10 -0
- package/src/type/variant-file-format.ts +20 -11
- package/www/build/mds-input-select.esm.js +1 -1
- package/www/build/mds-input-select.js +1 -1
- package/www/build/p-56ba5cbf.system.js +1 -0
- package/www/build/p-5a0746e7.system.js +2 -0
- package/www/build/p-750f66cc.system.js +1 -0
- package/www/build/p-ad1eb960.system.entry.js +1 -0
- package/www/build/p-b7cb51b4.entry.js +1 -0
- package/www/build/p-babc558f.js +2 -0
- package/www/build/p-e1255160.js +1 -0
- package/dist/cjs/index-de20f095.js +0 -1746
- package/dist/collection/components/mds-input-select/test/mds-input-select.e2e.js +0 -10
- package/dist/esm/index-635ef000.js +0 -1717
- package/dist/esm-es5/index-635ef000.js +0 -1
- package/dist/mds-input-select/p-14820a52.js +0 -2
- package/dist/mds-input-select/p-a14abcd4.system.js +0 -2
- package/dist/mds-input-select/p-dce0cce7.system.entry.js +0 -1
- package/dist/mds-input-select/p-de98024b.entry.js +0 -1
- package/dist/mds-input-select/p-f24e4812.system.js +0 -1
- package/www/build/p-14820a52.js +0 -2
- package/www/build/p-a14abcd4.system.js +0 -2
- package/www/build/p-dce0cce7.system.entry.js +0 -1
- package/www/build/p-de98024b.entry.js +0 -1
- package/www/build/p-f24e4812.system.js +0 -1
package/dist/documentation.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-
|
|
2
|
+
"timestamp": "2024-09-05T13:43:55",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
6
|
-
"typescriptVersion": "5.
|
|
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
|
|
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": "",
|