@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
@@ -0,0 +1,67 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { InputValue } from '@interface/input-value';
3
+ import { ThemeStatusVariantType } from '@type/variant';
4
+ /**
5
+ * @part select - The select HTML element
6
+ */
7
+ export declare class MdsInputSelect {
8
+ host: HTMLMdsInputSelectElement;
9
+ selected: boolean;
10
+ hasFocus: boolean;
11
+ internals: ElementInternals;
12
+ /**
13
+ * Specifies a short hint that describes the expected value of the element
14
+ */
15
+ readonly autocomplete?: 'on';
16
+ /**
17
+ * Specifies a short hint that describes the expected value of the element
18
+ */
19
+ readonly autoFocus?: boolean;
20
+ /**
21
+ * Specifies a short hint that describes the expected value of the element
22
+ */
23
+ readonly placeholder?: string;
24
+ /**
25
+ * Is needed to reference the form data after the form is submitted
26
+ */
27
+ readonly name?: string;
28
+ /**
29
+ * If true, the element is displayed as disabled
30
+ */
31
+ readonly disabled?: boolean;
32
+ /**
33
+ * Specifies that the element must be filled out before submitting the form
34
+ */
35
+ readonly required?: boolean;
36
+ /**
37
+ * Specifies if the select should allow multiple options to be selected in the list
38
+ */
39
+ readonly multiple?: boolean;
40
+ /**
41
+ * When `multiple` is set to `true`, represents the number or rows in the list that should be visible
42
+ */
43
+ readonly size?: number;
44
+ /**
45
+ * Specifies the value of the component
46
+ */
47
+ value?: string | number | null;
48
+ /**
49
+ * Sets the variant of the component
50
+ */
51
+ readonly variant?: ThemeStatusVariantType;
52
+ /**
53
+ * Emits an InputChangeEventDetail when the value of the input element changes
54
+ */
55
+ changeEvent: EventEmitter<InputValue>;
56
+ /**
57
+ * Emits the change event when the component value changes
58
+ */
59
+ protected valueChanged(): void;
60
+ componentDidLoad(): void;
61
+ private onInput;
62
+ private onBlur;
63
+ private onFocus;
64
+ private emptyOptions;
65
+ private onSlotChangeHandler;
66
+ render(): any;
67
+ }
@@ -1,6 +1,12 @@
1
1
  declare const _default: {
2
2
  title: string;
3
3
  argTypes: {
4
+ value: {
5
+ type: {
6
+ name: string;
7
+ };
8
+ description: string;
9
+ };
4
10
  autocomplete: {
5
11
  description: string;
6
12
  options: string[];
@@ -20,7 +26,44 @@ declare const _default: {
20
26
  };
21
27
  description: string;
22
28
  };
29
+ required: {
30
+ type: {
31
+ name: string;
32
+ };
33
+ description: string;
34
+ };
35
+ disabled: {
36
+ type: {
37
+ name: string;
38
+ };
39
+ description: string;
40
+ };
41
+ multiple: {
42
+ type: {
43
+ name: string;
44
+ };
45
+ description: string;
46
+ };
47
+ size: {
48
+ type: {
49
+ name: string;
50
+ };
51
+ description: string;
52
+ };
53
+ variant: {
54
+ type: {
55
+ name: string;
56
+ };
57
+ options: string[];
58
+ control: {
59
+ type: string;
60
+ };
61
+ description: string;
62
+ };
23
63
  };
24
64
  };
25
65
  export default _default;
26
66
  export declare const Default: any;
67
+ export declare const Multiple: any;
68
+ export declare const Required: any;
69
+ export declare const Disabled: any;
@@ -5,7 +5,9 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { ThemeStatusVariantType } from "@type/variant";
8
9
  import { InputValue } from "@interface/input-value";
10
+ export { ThemeStatusVariantType } from "@type/variant";
9
11
  export { InputValue } from "@interface/input-value";
10
12
  export namespace Components {
11
13
  interface MdsInputSelect {
@@ -17,14 +19,38 @@ export namespace Components {
17
19
  * Specifies a short hint that describes the expected value of the element
18
20
  */
19
21
  "autocomplete"?: 'on';
22
+ /**
23
+ * If true, the element is displayed as disabled
24
+ */
25
+ "disabled"?: boolean;
26
+ /**
27
+ * Specifies if the select should allow multiple options to be selected in the list
28
+ */
29
+ "multiple"?: boolean;
30
+ /**
31
+ * Is needed to reference the form data after the form is submitted
32
+ */
33
+ "name"?: string;
20
34
  /**
21
35
  * Specifies a short hint that describes the expected value of the element
22
36
  */
23
37
  "placeholder"?: string;
24
38
  /**
25
- * Specifies the value of the element
39
+ * Specifies that the element must be filled out before submitting the form
40
+ */
41
+ "required"?: boolean;
42
+ /**
43
+ * When `multiple` is set to `true`, represents the number or rows in the list that should be visible
44
+ */
45
+ "size"?: number;
46
+ /**
47
+ * Specifies the value of the component
26
48
  */
27
49
  "value"?: string | number | null;
50
+ /**
51
+ * Sets the variant of the component
52
+ */
53
+ "variant"?: ThemeStatusVariantType;
28
54
  }
29
55
  }
30
56
  export interface MdsInputSelectCustomEvent<T> extends CustomEvent<T> {
@@ -63,6 +89,18 @@ declare namespace LocalJSX {
63
89
  * Specifies a short hint that describes the expected value of the element
64
90
  */
65
91
  "autocomplete"?: 'on';
92
+ /**
93
+ * If true, the element is displayed as disabled
94
+ */
95
+ "disabled"?: boolean;
96
+ /**
97
+ * Specifies if the select should allow multiple options to be selected in the list
98
+ */
99
+ "multiple"?: boolean;
100
+ /**
101
+ * Is needed to reference the form data after the form is submitted
102
+ */
103
+ "name"?: string;
66
104
  /**
67
105
  * Emits an InputChangeEventDetail when the value of the input element changes
68
106
  */
@@ -72,9 +110,21 @@ declare namespace LocalJSX {
72
110
  */
73
111
  "placeholder"?: string;
74
112
  /**
75
- * Specifies the value of the element
113
+ * Specifies that the element must be filled out before submitting the form
114
+ */
115
+ "required"?: boolean;
116
+ /**
117
+ * When `multiple` is set to `true`, represents the number or rows in the list that should be visible
118
+ */
119
+ "size"?: number;
120
+ /**
121
+ * Specifies the value of the component
76
122
  */
77
123
  "value"?: string | number | null;
124
+ /**
125
+ * Sets the variant of the component
126
+ */
127
+ "variant"?: ThemeStatusVariantType;
78
128
  }
79
129
  interface IntrinsicElements {
80
130
  "mds-input-select": MdsInputSelect;
@@ -768,6 +768,7 @@ export declare namespace JSXBase {
768
768
  hrefLang?: string;
769
769
  hreflang?: string;
770
770
  media?: string;
771
+ ping?: string;
771
772
  rel?: string;
772
773
  target?: string;
773
774
  referrerPolicy?: ReferrerPolicy;
@@ -794,7 +795,6 @@ export declare namespace JSXBase {
794
795
  cite?: string;
795
796
  }
796
797
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
797
- autoFocus?: boolean;
798
798
  disabled?: boolean;
799
799
  form?: string;
800
800
  formAction?: string;
@@ -921,8 +921,6 @@ export declare namespace JSXBase {
921
921
  autocapitalize?: string;
922
922
  autoComplete?: string;
923
923
  autocomplete?: string;
924
- autoFocus?: boolean;
925
- autofocus?: boolean | string;
926
924
  capture?: string;
927
925
  checked?: boolean;
928
926
  crossOrigin?: string;
@@ -979,8 +977,6 @@ export declare namespace JSXBase {
979
977
  popoverTarget?: string;
980
978
  }
981
979
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
982
- autoFocus?: boolean;
983
- autofocus?: boolean | string;
984
980
  challenge?: string;
985
981
  disabled?: boolean;
986
982
  form?: string;
@@ -993,7 +989,6 @@ export declare namespace JSXBase {
993
989
  interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
994
990
  form?: string;
995
991
  htmlFor?: string;
996
- htmlfor?: string;
997
992
  }
998
993
  interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
999
994
  value?: string | string[] | number;
@@ -1104,7 +1099,6 @@ export declare namespace JSXBase {
1104
1099
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1105
1100
  form?: string;
1106
1101
  htmlFor?: string;
1107
- htmlfor?: string;
1108
1102
  name?: string;
1109
1103
  }
1110
1104
  interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -1129,7 +1123,6 @@ export declare namespace JSXBase {
1129
1123
  type?: string;
1130
1124
  }
1131
1125
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1132
- autoFocus?: boolean;
1133
1126
  disabled?: boolean;
1134
1127
  form?: string;
1135
1128
  multiple?: boolean;
@@ -1164,8 +1157,6 @@ export declare namespace JSXBase {
1164
1157
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1165
1158
  autoComplete?: string;
1166
1159
  autocomplete?: string;
1167
- autoFocus?: boolean;
1168
- autofocus?: boolean | string;
1169
1160
  cols?: number;
1170
1161
  disabled?: boolean;
1171
1162
  form?: string;
@@ -1218,6 +1209,8 @@ export declare namespace JSXBase {
1218
1209
  interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1219
1210
  innerHTML?: string;
1220
1211
  accessKey?: string;
1212
+ autoFocus?: boolean;
1213
+ autofocus?: boolean | string;
1221
1214
  class?: string | {
1222
1215
  [className: string]: boolean;
1223
1216
  };
@@ -0,0 +1,2 @@
1
+ export type UIPreferenceType = 'animation' | 'consumption' | 'contrast' | 'theme';
2
+ export type ConsumptionModeType = 'high' | 'medium' | 'low';
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2024-04-18T15:04:37",
2
+ "timestamp": "2024-09-05T13:13:09",
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
  {
@@ -12,7 +12,12 @@
12
12
  "tag": "mds-input-select",
13
13
  "readme": "# mds-input-select\n\n\n\nThis is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.\n",
14
14
  "docs": "This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
15
- "docsTags": [],
15
+ "docsTags": [
16
+ {
17
+ "name": "part",
18
+ "text": "select - The select HTML element"
19
+ }
20
+ ],
16
21
  "usage": {},
17
22
  "props": [
18
23
  {
@@ -64,6 +69,80 @@
64
69
  "optional": true,
65
70
  "required": false
66
71
  },
72
+ {
73
+ "name": "disabled",
74
+ "type": "boolean | undefined",
75
+ "complexType": {
76
+ "original": "boolean",
77
+ "resolved": "boolean | undefined",
78
+ "references": {}
79
+ },
80
+ "mutable": false,
81
+ "attr": "disabled",
82
+ "reflectToAttr": true,
83
+ "docs": "If true, the element is displayed as disabled",
84
+ "docsTags": [],
85
+ "default": "false",
86
+ "values": [
87
+ {
88
+ "type": "boolean"
89
+ },
90
+ {
91
+ "type": "undefined"
92
+ }
93
+ ],
94
+ "optional": true,
95
+ "required": false
96
+ },
97
+ {
98
+ "name": "multiple",
99
+ "type": "boolean | undefined",
100
+ "complexType": {
101
+ "original": "boolean",
102
+ "resolved": "boolean | undefined",
103
+ "references": {}
104
+ },
105
+ "mutable": false,
106
+ "attr": "multiple",
107
+ "reflectToAttr": true,
108
+ "docs": "Specifies if the select should allow multiple options to be selected in the list",
109
+ "docsTags": [],
110
+ "default": "false",
111
+ "values": [
112
+ {
113
+ "type": "boolean"
114
+ },
115
+ {
116
+ "type": "undefined"
117
+ }
118
+ ],
119
+ "optional": true,
120
+ "required": false
121
+ },
122
+ {
123
+ "name": "name",
124
+ "type": "string | undefined",
125
+ "complexType": {
126
+ "original": "string",
127
+ "resolved": "string | undefined",
128
+ "references": {}
129
+ },
130
+ "mutable": false,
131
+ "attr": "name",
132
+ "reflectToAttr": true,
133
+ "docs": "Is needed to reference the form data after the form is submitted",
134
+ "docsTags": [],
135
+ "values": [
136
+ {
137
+ "type": "string"
138
+ },
139
+ {
140
+ "type": "undefined"
141
+ }
142
+ ],
143
+ "optional": true,
144
+ "required": false
145
+ },
67
146
  {
68
147
  "name": "placeholder",
69
148
  "type": "string | undefined",
@@ -88,6 +167,56 @@
88
167
  "optional": true,
89
168
  "required": false
90
169
  },
170
+ {
171
+ "name": "required",
172
+ "type": "boolean | undefined",
173
+ "complexType": {
174
+ "original": "boolean",
175
+ "resolved": "boolean | undefined",
176
+ "references": {}
177
+ },
178
+ "mutable": false,
179
+ "attr": "required",
180
+ "reflectToAttr": true,
181
+ "docs": "Specifies that the element must be filled out before submitting the form",
182
+ "docsTags": [],
183
+ "default": "false",
184
+ "values": [
185
+ {
186
+ "type": "boolean"
187
+ },
188
+ {
189
+ "type": "undefined"
190
+ }
191
+ ],
192
+ "optional": true,
193
+ "required": false
194
+ },
195
+ {
196
+ "name": "size",
197
+ "type": "number | undefined",
198
+ "complexType": {
199
+ "original": "number",
200
+ "resolved": "number | undefined",
201
+ "references": {}
202
+ },
203
+ "mutable": false,
204
+ "attr": "size",
205
+ "reflectToAttr": true,
206
+ "docs": "When `multiple` is set to `true`, represents the number or rows in the list that should be visible",
207
+ "docsTags": [],
208
+ "default": "0",
209
+ "values": [
210
+ {
211
+ "type": "number"
212
+ },
213
+ {
214
+ "type": "undefined"
215
+ }
216
+ ],
217
+ "optional": true,
218
+ "required": false
219
+ },
91
220
  {
92
221
  "name": "value",
93
222
  "type": "null | number | string | undefined",
@@ -99,7 +228,7 @@
99
228
  "mutable": false,
100
229
  "attr": "value",
101
230
  "reflectToAttr": true,
102
- "docs": "Specifies the value of the element",
231
+ "docs": "Specifies the value of the component",
103
232
  "docsTags": [],
104
233
  "default": "''",
105
234
  "values": [
@@ -118,6 +247,49 @@
118
247
  ],
119
248
  "optional": true,
120
249
  "required": false
250
+ },
251
+ {
252
+ "name": "variant",
253
+ "type": "\"error\" | \"info\" | \"success\" | \"warning\" | undefined",
254
+ "complexType": {
255
+ "original": "ThemeStatusVariantType",
256
+ "resolved": "\"error\" | \"info\" | \"success\" | \"warning\" | undefined",
257
+ "references": {
258
+ "ThemeStatusVariantType": {
259
+ "location": "import",
260
+ "path": "@type/variant",
261
+ "id": "src/type/variant.ts::ThemeStatusVariantType"
262
+ }
263
+ }
264
+ },
265
+ "mutable": false,
266
+ "attr": "variant",
267
+ "reflectToAttr": true,
268
+ "docs": "Sets the variant of the component",
269
+ "docsTags": [],
270
+ "values": [
271
+ {
272
+ "value": "error",
273
+ "type": "string"
274
+ },
275
+ {
276
+ "value": "info",
277
+ "type": "string"
278
+ },
279
+ {
280
+ "value": "success",
281
+ "type": "string"
282
+ },
283
+ {
284
+ "value": "warning",
285
+ "type": "string"
286
+ },
287
+ {
288
+ "type": "undefined"
289
+ }
290
+ ],
291
+ "optional": true,
292
+ "required": false
121
293
  }
122
294
  ],
123
295
  "methods": [],
@@ -146,10 +318,26 @@
146
318
  "listeners": [],
147
319
  "styles": [],
148
320
  "slots": [],
149
- "parts": [],
321
+ "parts": [
322
+ {
323
+ "name": "select",
324
+ "docs": "The select HTML element"
325
+ }
326
+ ],
150
327
  "dependents": [],
151
- "dependencies": [],
152
- "dependencyGraph": {}
328
+ "dependencies": [
329
+ "mds-input-tip",
330
+ "mds-input-tip-item"
331
+ ],
332
+ "dependencyGraph": {
333
+ "mds-input-select": [
334
+ "mds-input-tip",
335
+ "mds-input-tip-item"
336
+ ],
337
+ "mds-input-tip-item": [
338
+ "mds-text"
339
+ ]
340
+ }
153
341
  }
154
342
  ],
155
343
  "typeLibrary": {
@@ -323,26 +511,6 @@
323
511
  "docstring": "",
324
512
  "path": "src/components/mds-filter-item/meta/event-detail.ts"
325
513
  },
326
- "src/components/mds-form/meta/types.ts::CharacterSetType": {
327
- "declaration": "export type CharacterSetType =\n | '8859-1'\n | 'ansi'\n | 'ascii'\n | 'utf-8'",
328
- "docstring": "",
329
- "path": "src/components/mds-form/meta/types.ts"
330
- },
331
- "src/components/mds-form/meta/types.ts::FormAutocompleteType": {
332
- "declaration": "export type FormAutocompleteType =\n | 'off'\n | 'on'",
333
- "docstring": "",
334
- "path": "src/components/mds-form/meta/types.ts"
335
- },
336
- "src/components/mds-form/meta/types.ts::EnctypeType": {
337
- "declaration": "export type EnctypeType =\n | 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'",
338
- "docstring": "",
339
- "path": "src/components/mds-form/meta/types.ts"
340
- },
341
- "src/components/mds-form/meta/types.ts::FormMethodType": {
342
- "declaration": "export type FormMethodType =\n | 'get'\n | 'post'",
343
- "docstring": "",
344
- "path": "src/components/mds-form/meta/types.ts"
345
- },
346
514
  "src/components/mds-header-bar/meta/types.ts::MenuType": {
347
515
  "declaration": "export type MenuType =\n | 'all'\n | 'desktop'\n | 'mobile'\n | 'none'",
348
516
  "docstring": "",
@@ -453,11 +621,26 @@
453
621
  "docstring": "",
454
622
  "path": "src/components/mds-input-switch/meta/event-detail.ts"
455
623
  },
624
+ "src/components/mds-input-tip/meta/types.ts::InputTipPositionType": {
625
+ "declaration": "export type InputTipPositionType =\n | 'top'\n | 'bottom'",
626
+ "docstring": "",
627
+ "path": "src/components/mds-input-tip/meta/types.ts"
628
+ },
629
+ "src/components/mds-input-tip-item/meta/types.ts::InputTipItemVariantType": {
630
+ "declaration": "export type InputTipItemVariantType =\n | 'required'\n | 'required-success'\n | 'disabled'\n | 'readonly'\n | 'text'",
631
+ "docstring": "",
632
+ "path": "src/components/mds-input-tip-item/meta/types.ts"
633
+ },
456
634
  "src/components/mds-input-upload/meta/types.ts::AttachmentSort": {
457
635
  "declaration": "type AttachmentSort =\n 'status' |\n 'date'",
458
636
  "docstring": "",
459
637
  "path": "src/components/mds-input-upload/meta/types.ts"
460
638
  },
639
+ "src/components/mds-input-upload/meta/types.ts::FileError": {
640
+ "declaration": "interface FileError {\n filename: string,\n errorMessage: string,\n}",
641
+ "docstring": "",
642
+ "path": "src/components/mds-input-upload/meta/types.ts"
643
+ },
461
644
  "src/type/typography.ts::TypographyType": {
462
645
  "declaration": "export type TypographyType =\n | 'action'\n | 'caption'\n | 'snippet'\n | 'detail'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'hack'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",
463
646
  "docstring": "",
@@ -488,6 +671,31 @@
488
671
  "docstring": "",
489
672
  "path": "src/components/mds-paginator/meta/event-detail.ts"
490
673
  },
674
+ "src/components/mds-pref-animation/meta/types.ts::AnimationModeType": {
675
+ "declaration": "export type AnimationModeType =\n | 'reduce'\n | 'no-preference'\n | 'system'",
676
+ "docstring": "",
677
+ "path": "src/components/mds-pref-animation/meta/types.ts"
678
+ },
679
+ "src/type/preference.ts::ConsumptionModeType": {
680
+ "declaration": "export type ConsumptionModeType =\n | 'high'\n | 'medium'\n | 'low'",
681
+ "docstring": "",
682
+ "path": "src/type/preference.ts"
683
+ },
684
+ "src/components/mds-pref-contrast/meta/types.ts::ContrastModeType": {
685
+ "declaration": "export type ContrastModeType =\n | 'more'\n | 'no-preference'\n | 'system'",
686
+ "docstring": "",
687
+ "path": "src/components/mds-pref-contrast/meta/types.ts"
688
+ },
689
+ "src/components/mds-pref-theme/meta/types.ts::ThemeModeType": {
690
+ "declaration": "export type ThemeModeType =\n | 'light'\n | 'dark'\n | 'system'",
691
+ "docstring": "",
692
+ "path": "src/components/mds-pref-theme/meta/types.ts"
693
+ },
694
+ "src/components/mds-pref-theme/meta/types.ts::ThemeTransitionType": {
695
+ "declaration": "export type ThemeTransitionType =\n | 'none'\n | 'flash'\n | 'smooth'",
696
+ "docstring": "",
697
+ "path": "src/components/mds-pref-theme/meta/types.ts"
698
+ },
491
699
  "src/components/mds-price-table-features-cell/meta/types.ts::PriceTableFeaturesCellType": {
492
700
  "declaration": "export type PriceTableFeaturesCellType =\n | 'custom'\n | 'label'\n | 'supported'\n | 'text'\n | 'unsupported'",
493
701
  "docstring": "",
package/loader/cdn.js CHANGED
@@ -1,3 +1,2 @@
1
-
2
1
  module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
2
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,3 +1,2 @@
1
-
2
1
  module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
2
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
package/loader/index.d.ts CHANGED
@@ -9,6 +9,9 @@ export interface CustomElementsDefineOptions {
9
9
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
10
  }
11
11
  export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
12
+ /**
13
+ * @deprecated
14
+ */
12
15
  export declare function applyPolyfills(): Promise<void>;
13
16
 
14
17
  /**
@@ -1,3 +1,2 @@
1
-
2
1
  export * from '../dist/esm/polyfills/index.js';
3
- export * from '../dist/esm/loader.js';
2
+ export * from '../dist/esm/loader.js';
package/loader/index.js CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
2
  export * from '../dist/esm/polyfills/index.js';
4
- export * from '../dist/esm-es5/loader.js';
3
+ export * from '../dist/esm-es5/loader.js';