@maggioli-design-system/mds-input-select 2.0.5 → 3.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 (110) hide show
  1. package/dist/cjs/{index-9a5feb6d.js → index-f192b288.js} +14 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-input-select.cjs.entry.js +8 -8
  4. package/dist/cjs/mds-input-select.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/aria.js +17 -1
  7. package/dist/collection/common/device.js +6 -0
  8. package/dist/collection/common/keyboard-manager.js +2 -2
  9. package/dist/collection/common/locale.js +17 -5
  10. package/dist/collection/components/mds-input-select/mds-input-select.css +33 -503
  11. package/dist/collection/components/mds-input-select/mds-input-select.js +11 -11
  12. package/dist/collection/dictionary/button.js +1 -0
  13. package/dist/collection/dictionary/file-extensions.js +114 -56
  14. package/dist/collection/dictionary/text.js +60 -1
  15. package/dist/collection/dictionary/variant.js +10 -1
  16. package/dist/collection/type/variant-file-format.js +0 -34
  17. package/dist/components/mds-input-select.js +7 -7
  18. package/dist/documentation.json +12 -12
  19. package/dist/esm/{index-27f9b67f.js → index-f99575c3.js} +14 -3
  20. package/dist/esm/loader.js +2 -2
  21. package/dist/esm/mds-input-select.entry.js +8 -8
  22. package/dist/esm/mds-input-select.js +3 -3
  23. package/dist/esm-es5/index-f99575c3.js +1 -0
  24. package/dist/esm-es5/loader.js +1 -1
  25. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  26. package/dist/esm-es5/mds-input-select.js +1 -1
  27. package/dist/mds-input-select/mds-input-select.esm.js +1 -1
  28. package/dist/mds-input-select/mds-input-select.js +1 -1
  29. package/dist/mds-input-select/p-39558724.system.js +2 -0
  30. package/dist/mds-input-select/p-99fd6ce0.entry.js +1 -0
  31. package/dist/mds-input-select/p-ec8a0b02.system.js +1 -0
  32. package/dist/mds-input-select/p-ecf343d4.js +2 -0
  33. package/dist/mds-input-select/p-f1804d7b.system.entry.js +1 -0
  34. package/dist/stats.json +44 -44
  35. package/dist/types/common/aria.d.ts +3 -1
  36. package/dist/types/common/date.d.ts +1 -1
  37. package/dist/types/common/device.d.ts +2 -0
  38. package/dist/types/common/file.d.ts +3 -4
  39. package/dist/types/common/locale.d.ts +3 -1
  40. package/dist/types/components/mds-input-select/mds-input-select.d.ts +3 -3
  41. package/dist/types/components.d.ts +6 -6
  42. package/dist/types/dictionary/file-extensions.d.ts +2 -1
  43. package/dist/types/dictionary/text.d.ts +3 -1
  44. package/dist/types/dictionary/variant.d.ts +2 -1
  45. package/dist/types/stencil-public-runtime.d.ts +6 -0
  46. package/dist/types/type/autocomplete.d.ts +1 -1
  47. package/dist/types/type/button.d.ts +1 -1
  48. package/dist/types/type/header-bar.d.ts +2 -0
  49. package/dist/types/type/input.d.ts +3 -0
  50. package/dist/types/type/text.d.ts +2 -0
  51. package/dist/types/type/variant-file-format.d.ts +4 -4
  52. package/dist/types/type/variant.d.ts +2 -1
  53. package/documentation.json +54 -39
  54. package/package.json +5 -5
  55. package/readme.md +4 -4
  56. package/src/common/aria.ts +22 -2
  57. package/src/common/device.ts +9 -0
  58. package/src/common/file.ts +2 -3
  59. package/src/common/keyboard-manager.ts +2 -2
  60. package/src/common/locale.ts +20 -6
  61. package/src/common/unit.ts +1 -1
  62. package/src/components/mds-input-select/.gitlab-ci.yml +5 -10
  63. package/src/components/mds-input-select/css/mds-input-select-pref-theme.css +2 -2
  64. package/src/components/mds-input-select/css/mds-input-select-variant.css +6 -6
  65. package/src/components/mds-input-select/mds-input-select.css +13 -17
  66. package/src/components/mds-input-select/mds-input-select.tsx +6 -6
  67. package/src/components/mds-input-select/readme.md +3 -3
  68. package/src/components.d.ts +6 -6
  69. package/src/dictionary/button.ts +1 -0
  70. package/src/dictionary/file-extensions.ts +118 -57
  71. package/src/dictionary/text.ts +64 -0
  72. package/src/dictionary/variant.ts +11 -0
  73. package/src/fixtures/icons.json +30 -3
  74. package/src/fixtures/iconsauce.json +21 -1
  75. package/src/meta/file-format/locale.el.json +39 -0
  76. package/src/meta/file-format/locale.en.json +39 -0
  77. package/src/meta/file-format/locale.es.json +39 -0
  78. package/src/meta/file-format/locale.it.json +39 -0
  79. package/src/tailwind/components.css +1 -1
  80. package/src/type/autocomplete.ts +0 -1
  81. package/src/type/button.ts +1 -0
  82. package/src/type/header-bar.ts +11 -0
  83. package/src/type/input.ts +4 -0
  84. package/src/type/text.ts +59 -0
  85. package/src/type/variant-file-format.ts +20 -37
  86. package/src/type/variant.ts +9 -1
  87. package/www/build/mds-input-select.esm.js +1 -1
  88. package/www/build/mds-input-select.js +1 -1
  89. package/www/build/p-39558724.system.js +2 -0
  90. package/www/build/p-99fd6ce0.entry.js +1 -0
  91. package/www/build/p-ec8a0b02.system.js +1 -0
  92. package/www/build/p-ecf343d4.js +2 -0
  93. package/www/build/p-f1804d7b.system.entry.js +1 -0
  94. package/dist/collection/type/language.js +0 -1
  95. package/dist/esm-es5/index-27f9b67f.js +0 -1
  96. package/dist/mds-input-select/p-5a0746e7.system.js +0 -2
  97. package/dist/mds-input-select/p-750f66cc.system.js +0 -1
  98. package/dist/mds-input-select/p-7ab40018.system.entry.js +0 -1
  99. package/dist/mds-input-select/p-babc558f.js +0 -2
  100. package/dist/mds-input-select/p-e743c791.entry.js +0 -1
  101. package/dist/types/interface/input-value.d.ts +0 -4
  102. package/dist/types/type/language.d.ts +0 -2
  103. package/src/interface/input-value.ts +0 -5
  104. package/src/type/language.ts +0 -8
  105. package/www/build/p-5a0746e7.system.js +0 -2
  106. package/www/build/p-750f66cc.system.js +0 -1
  107. package/www/build/p-7ab40018.system.entry.js +0 -1
  108. package/www/build/p-babc558f.js +0 -2
  109. package/www/build/p-e743c791.entry.js +0 -1
  110. /package/dist/collection/{interface/input-value.js → type/header-bar.js} +0 -0
@@ -2,233 +2,6 @@
2
2
  @tailwind utilities;
3
3
 
4
4
 
5
-
6
- *, ::before, ::after{
7
-
8
- --tw-border-spacing-x: 0;
9
-
10
- --tw-border-spacing-y: 0;
11
-
12
- --tw-translate-x: 0;
13
-
14
- --tw-translate-y: 0;
15
-
16
- --tw-rotate: 0;
17
-
18
- --tw-skew-x: 0;
19
-
20
- --tw-skew-y: 0;
21
-
22
- --tw-scale-x: 1;
23
-
24
- --tw-scale-y: 1;
25
-
26
- --tw-pan-x: ;
27
-
28
- --tw-pan-y: ;
29
-
30
- --tw-pinch-zoom: ;
31
-
32
- --tw-scroll-snap-strictness: proximity;
33
-
34
- --tw-gradient-from-position: ;
35
-
36
- --tw-gradient-via-position: ;
37
-
38
- --tw-gradient-to-position: ;
39
-
40
- --tw-ordinal: ;
41
-
42
- --tw-slashed-zero: ;
43
-
44
- --tw-numeric-figure: ;
45
-
46
- --tw-numeric-spacing: ;
47
-
48
- --tw-numeric-fraction: ;
49
-
50
- --tw-ring-inset: ;
51
-
52
- --tw-ring-offset-width: 0px;
53
-
54
- --tw-ring-offset-color: #fff;
55
-
56
- --tw-ring-color: rgb(59 130 246 / 0.5);
57
-
58
- --tw-ring-offset-shadow: 0 0 #0000;
59
-
60
- --tw-ring-shadow: 0 0 #0000;
61
-
62
- --tw-shadow: 0 0 #0000;
63
-
64
- --tw-shadow-colored: 0 0 #0000;
65
-
66
- --tw-blur: ;
67
-
68
- --tw-brightness: ;
69
-
70
- --tw-contrast: ;
71
-
72
- --tw-grayscale: ;
73
-
74
- --tw-hue-rotate: ;
75
-
76
- --tw-invert: ;
77
-
78
- --tw-saturate: ;
79
-
80
- --tw-sepia: ;
81
-
82
- --tw-drop-shadow: ;
83
-
84
- --tw-backdrop-blur: ;
85
-
86
- --tw-backdrop-brightness: ;
87
-
88
- --tw-backdrop-contrast: ;
89
-
90
- --tw-backdrop-grayscale: ;
91
-
92
- --tw-backdrop-hue-rotate: ;
93
-
94
- --tw-backdrop-invert: ;
95
-
96
- --tw-backdrop-opacity: ;
97
-
98
- --tw-backdrop-saturate: ;
99
-
100
- --tw-backdrop-sepia: ;
101
-
102
- --tw-contain-size: ;
103
-
104
- --tw-contain-layout: ;
105
-
106
- --tw-contain-paint: ;
107
-
108
- --tw-contain-style: ;
109
- }
110
-
111
-
112
-
113
- ::backdrop{
114
-
115
- --tw-border-spacing-x: 0;
116
-
117
- --tw-border-spacing-y: 0;
118
-
119
- --tw-translate-x: 0;
120
-
121
- --tw-translate-y: 0;
122
-
123
- --tw-rotate: 0;
124
-
125
- --tw-skew-x: 0;
126
-
127
- --tw-skew-y: 0;
128
-
129
- --tw-scale-x: 1;
130
-
131
- --tw-scale-y: 1;
132
-
133
- --tw-pan-x: ;
134
-
135
- --tw-pan-y: ;
136
-
137
- --tw-pinch-zoom: ;
138
-
139
- --tw-scroll-snap-strictness: proximity;
140
-
141
- --tw-gradient-from-position: ;
142
-
143
- --tw-gradient-via-position: ;
144
-
145
- --tw-gradient-to-position: ;
146
-
147
- --tw-ordinal: ;
148
-
149
- --tw-slashed-zero: ;
150
-
151
- --tw-numeric-figure: ;
152
-
153
- --tw-numeric-spacing: ;
154
-
155
- --tw-numeric-fraction: ;
156
-
157
- --tw-ring-inset: ;
158
-
159
- --tw-ring-offset-width: 0px;
160
-
161
- --tw-ring-offset-color: #fff;
162
-
163
- --tw-ring-color: rgb(59 130 246 / 0.5);
164
-
165
- --tw-ring-offset-shadow: 0 0 #0000;
166
-
167
- --tw-ring-shadow: 0 0 #0000;
168
-
169
- --tw-shadow: 0 0 #0000;
170
-
171
- --tw-shadow-colored: 0 0 #0000;
172
-
173
- --tw-blur: ;
174
-
175
- --tw-brightness: ;
176
-
177
- --tw-contrast: ;
178
-
179
- --tw-grayscale: ;
180
-
181
- --tw-hue-rotate: ;
182
-
183
- --tw-invert: ;
184
-
185
- --tw-saturate: ;
186
-
187
- --tw-sepia: ;
188
-
189
- --tw-drop-shadow: ;
190
-
191
- --tw-backdrop-blur: ;
192
-
193
- --tw-backdrop-brightness: ;
194
-
195
- --tw-backdrop-contrast: ;
196
-
197
- --tw-backdrop-grayscale: ;
198
-
199
- --tw-backdrop-hue-rotate: ;
200
-
201
- --tw-backdrop-invert: ;
202
-
203
- --tw-backdrop-opacity: ;
204
-
205
- --tw-backdrop-saturate: ;
206
-
207
- --tw-backdrop-sepia: ;
208
-
209
- --tw-contain-size: ;
210
-
211
- --tw-contain-layout: ;
212
-
213
- --tw-contain-paint: ;
214
-
215
- --tw-contain-style: ;
216
- }
217
- .svg{
218
-
219
- display: flex;
220
- }
221
- .svg svg{
222
-
223
- aspect-ratio: 1/1;
224
-
225
- height: 100%;
226
-
227
- width: 100%;
228
- }
229
- @tailwind utilities;
230
-
231
-
232
5
  :host{
233
6
 
234
7
  min-height: 1.5rem;
@@ -261,19 +34,14 @@
261
34
  user-select: none;
262
35
  }
263
36
 
264
- :host( [required]:not([required="false"]):focus-within ) .icon{
265
-
266
- --tw-translate-y: 0.375rem;
267
-
268
- --tw-translate-x: 0.375rem;
269
-
270
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
37
+ :host([required]:not([required="false"]):focus-within) .icon {
38
+ transform: translate(0.375rem, 0.375rem);
271
39
  }
272
40
 
273
- :host( :hover ),
274
- :host( :focus-within ) {
41
+ :host(:hover),
42
+ :host(:focus-within) {
275
43
 
276
- --mds-input-select-variant-color: var(--brand-maggioli-03);
44
+ --mds-input-select-variant-color: var(--variant-primary-03);
277
45
  --mds-input-select-ring: 0 0 0 3px rgb(var(--mds-input-select-variant-color) / 1);
278
46
  --mds-input-select-shadow: 0 4px 6px -1px rgb(var(--mds-input-select-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-select-variant-color) / 0.06);
279
47
  --mds-input-select-arrow-icon-background-color: var(--mds-input-select-arrow-icon-hover-background-color);
@@ -308,10 +76,6 @@
308
76
 
309
77
  padding-right: 3rem;
310
78
 
311
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
312
-
313
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
314
-
315
79
  transition-duration: 300ms;
316
80
 
317
81
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
@@ -329,6 +93,7 @@
329
93
  cursor: pointer;
330
94
  overflow: hidden;
331
95
  text-overflow: ellipsis;
96
+ transition-property: background-color, border-color, box-shadow, color, fill;
332
97
  }
333
98
 
334
99
  .input:hover,
@@ -338,10 +103,6 @@
338
103
 
339
104
  outline-offset: 2px;
340
105
 
341
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
342
-
343
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
344
-
345
106
  transition-duration: 300ms;
346
107
 
347
108
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
@@ -370,15 +131,9 @@
370
131
  pointer-events: none;
371
132
  }
372
133
 
373
- :host([disabled]:not([disabled="false"])) .icon{
374
-
375
- --tw-translate-y: 0.5rem;
376
-
377
- --tw-translate-x: 0.625rem;
378
-
379
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
380
-
134
+ :host([disabled]:not([disabled="false"])) .icon {
381
135
  fill: rgb(var(--tone-neutral-06));
136
+ transform: translate(0.625rem, 0.5rem);
382
137
  }
383
138
 
384
139
  .icon-container{
@@ -396,16 +151,27 @@
396
151
 
397
152
  .icon{
398
153
 
399
- border-radius: 9999px;
154
+ display: flex;
155
+ }
156
+
157
+ .icon svg{
158
+
159
+ aspect-ratio: 1/1;
160
+
161
+ height: 100%;
162
+
163
+ width: 100%;
164
+ }
400
165
 
401
- transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
166
+ .icon{
402
167
 
403
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
168
+ border-radius: 9999px;
404
169
 
405
170
  transition-duration: 200ms;
406
171
 
407
- background-color: var(--mds-input-select-arrow-icon-background-color, rgb(var(--brand-maggioli-09)));
408
- fill: var(--mds-input-select-arrow-icon-color, rgb(var(--brand-maggioli-04)));
172
+ background-color: var(--mds-input-select-arrow-icon-background-color, rgb(var(--variant-primary-09)));
173
+ fill: var(--mds-input-select-arrow-icon-color, rgb(var(--variant-primary-04)));
174
+ transition-property: background-color, fill;
409
175
  }
410
176
 
411
177
  .option-container {
@@ -426,7 +192,7 @@
426
192
 
427
193
  :host {
428
194
 
429
- --mds-input-select-background: rgb(var(--brand-maggioli-07));
195
+ --mds-input-select-background: rgb(var(--variant-primary-07));
430
196
  }
431
197
  }
432
198
 
@@ -434,18 +200,18 @@
434
200
 
435
201
  :host {
436
202
 
437
- --mds-input-select-icon-color: var(--brand-maggioli-03);
203
+ --mds-input-select-icon-color: var(--variant-primary-03);
438
204
  --mds-input-select-variant-color: 0 0 0;
439
- --mds-input-select-arrow-icon-blur-background-color: rgb(var(--brand-maggioli-09));
440
- --mds-input-select-arrow-icon-hover-background-color: rgb(var(--brand-maggioli-08));
441
- --mds-input-select-arrow-icon-blur-color: rgb(var(--brand-maggioli-06));
442
- --mds-input-select-arrow-icon-hover-color: rgb(var(--brand-maggioli-04));
205
+ --mds-input-select-arrow-icon-blur-background-color: rgb(var(--variant-primary-09));
206
+ --mds-input-select-arrow-icon-hover-background-color: rgb(var(--variant-primary-08));
207
+ --mds-input-select-arrow-icon-blur-color: rgb(var(--variant-primary-06));
208
+ --mds-input-select-arrow-icon-hover-color: rgb(var(--variant-primary-04));
443
209
  }
444
210
 
445
211
  :host( :hover ),
446
212
  :host( :focus-within ) {
447
213
 
448
- --mds-input-select-variant-color: var(--brand-maggioli-04);
214
+ --mds-input-select-variant-color: var(--variant-primary-04);
449
215
  }
450
216
 
451
217
  :host( [variant="info"] ) {
@@ -550,7 +316,7 @@
550
316
 
551
317
  --mds-input-select-ring: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);
552
318
  --mds-input-select-arrow-icon-background-color: var(--mds-input-select-arrow-icon-blur-background-color);
553
- --mds-input-select-arrow-icon-blur-background-color: rgb(var(--brand-maggioli-05));
319
+ --mds-input-select-arrow-icon-blur-background-color: rgb(var(--variant-primary-05));
554
320
  --mds-input-select-arrow-icon-blur-color: rgb(var(--mds-input-select-variant-color));
555
321
  --mds-input-select-arrow-icon-color: var(--mds-input-select-arrow-icon-blur-color);
556
322
  --mds-input-select-arrow-icon-hover-background-color: rgb(var(--mds-input-select-variant-color));
@@ -569,7 +335,7 @@
569
335
 
570
336
  --mds-input-select-ring: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);
571
337
  --mds-input-select-arrow-icon-background-color: var(--mds-input-select-arrow-icon-blur-background-color);
572
- --mds-input-select-arrow-icon-blur-background-color: rgb(var(--brand-maggioli-05));
338
+ --mds-input-select-arrow-icon-blur-background-color: rgb(var(--variant-primary-05));
573
339
  --mds-input-select-arrow-icon-blur-color: rgb(var(--mds-input-select-variant-color));
574
340
  --mds-input-select-arrow-icon-color: var(--mds-input-select-arrow-icon-blur-color);
575
341
  --mds-input-select-arrow-icon-hover-background-color: rgb(var(--mds-input-select-variant-color));
@@ -582,242 +348,6 @@
582
348
  }
583
349
  }
584
350
 
585
- .visible{
586
-
587
- visibility: visible;
588
- }
589
-
590
- .static{
591
-
592
- position: static;
593
- }
594
-
595
- .fixed{
596
-
597
- position: fixed;
598
- }
599
-
600
- .absolute{
601
-
602
- position: absolute;
603
- }
604
-
605
- .flex{
606
-
607
- display: flex;
608
- }
609
-
610
- .gap-x-400{
611
-
612
- -moz-column-gap: 1rem;
613
-
614
- column-gap: 1rem;
615
- }
616
-
617
- .border{
618
-
619
- border-width: 1px;
620
- }
621
-
622
- .bg-label-amaranth-10{
623
-
624
- --tw-bg-opacity: 1;
625
-
626
- background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));
627
- }
628
-
629
- .bg-label-aqua-10{
630
-
631
- --tw-bg-opacity: 1;
632
-
633
- background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));
634
- }
635
-
636
- .bg-label-blue-10{
637
-
638
- --tw-bg-opacity: 1;
639
-
640
- background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));
641
- }
642
-
643
- .bg-label-green-10{
644
-
645
- --tw-bg-opacity: 1;
646
-
647
- background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));
648
- }
649
-
650
- .bg-label-lime-10{
651
-
652
- --tw-bg-opacity: 1;
653
-
654
- background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));
655
- }
656
-
657
- .bg-label-orange-10{
658
-
659
- --tw-bg-opacity: 1;
660
-
661
- background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));
662
- }
663
-
664
- .bg-label-orchid-10{
665
-
666
- --tw-bg-opacity: 1;
667
-
668
- background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));
669
- }
670
-
671
- .bg-label-violet-10{
672
-
673
- --tw-bg-opacity: 1;
674
-
675
- background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));
676
- }
677
-
678
- .bg-label-yellow-10{
679
-
680
- --tw-bg-opacity: 1;
681
-
682
- background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));
683
- }
684
-
685
- .bg-tone-neutral-10{
686
-
687
- --tw-bg-opacity: 1;
688
-
689
- background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));
690
- }
691
-
692
- .fill-label-amaranth-04{
693
-
694
- fill: rgb(var(--label-amaranth-04));
695
- }
696
-
697
- .fill-label-aqua-04{
698
-
699
- fill: rgb(var(--label-aqua-04));
700
- }
701
-
702
- .fill-label-blue-04{
703
-
704
- fill: rgb(var(--label-blue-04));
705
- }
706
-
707
- .fill-label-green-04{
708
-
709
- fill: rgb(var(--label-green-04));
710
- }
711
-
712
- .fill-label-lime-04{
713
-
714
- fill: rgb(var(--label-lime-04));
715
- }
716
-
717
- .fill-label-orange-04{
718
-
719
- fill: rgb(var(--label-orange-04));
720
- }
721
-
722
- .fill-label-orchid-04{
723
-
724
- fill: rgb(var(--label-orchid-04));
725
- }
726
-
727
- .fill-label-violet-04{
728
-
729
- fill: rgb(var(--label-violet-04));
730
- }
731
-
732
- .fill-label-yellow-04{
733
-
734
- fill: rgb(var(--label-yellow-04));
735
- }
736
-
737
- .fill-tone-neutral-04{
738
-
739
- fill: rgb(var(--tone-neutral-04));
740
- }
741
-
742
- .text-label-amaranth-04{
743
-
744
- --tw-text-opacity: 1;
745
-
746
- color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));
747
- }
748
-
749
- .text-label-aqua-04{
750
-
751
- --tw-text-opacity: 1;
752
-
753
- color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));
754
- }
755
-
756
- .text-label-blue-04{
757
-
758
- --tw-text-opacity: 1;
759
-
760
- color: rgb(var(--label-blue-04) / var(--tw-text-opacity));
761
- }
762
-
763
- .text-label-green-04{
764
-
765
- --tw-text-opacity: 1;
766
-
767
- color: rgb(var(--label-green-04) / var(--tw-text-opacity));
768
- }
769
-
770
- .text-label-lime-04{
771
-
772
- --tw-text-opacity: 1;
773
-
774
- color: rgb(var(--label-lime-04) / var(--tw-text-opacity));
775
- }
776
-
777
- .text-label-orange-04{
778
-
779
- --tw-text-opacity: 1;
780
-
781
- color: rgb(var(--label-orange-04) / var(--tw-text-opacity));
782
- }
783
-
784
- .text-label-orchid-04{
785
-
786
- --tw-text-opacity: 1;
787
-
788
- color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));
789
- }
790
-
791
- .text-label-violet-04{
792
-
793
- --tw-text-opacity: 1;
794
-
795
- color: rgb(var(--label-violet-04) / var(--tw-text-opacity));
796
- }
797
-
798
- .text-label-yellow-04{
799
-
800
- --tw-text-opacity: 1;
801
-
802
- color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));
803
- }
804
-
805
- .text-tone-neutral-04{
806
-
807
- --tw-text-opacity: 1;
808
-
809
- color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));
810
- }
811
-
812
- .shadow{
813
-
814
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
815
-
816
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
817
-
818
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
819
- }
820
-
821
351
  @container style(--magma-pref-contrast: more) {
822
352
  :host {
823
353
 
@@ -81,20 +81,20 @@ export class MdsInputSelect {
81
81
  * Emits the change event when the component value changes
82
82
  */
83
83
  valueChanged() {
84
- var _a;
84
+ var _a, _b, _c;
85
85
  this.selected = this.value !== '';
86
- this.changeEvent.emit({ value: this.value });
87
- this.internals.setFormValue((_a = this.value) !== null && _a !== void 0 ? _a : null);
86
+ this.changeEvent.emit({ value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString() });
87
+ this.internals.setFormValue((_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.toString()) !== null && _c !== void 0 ? _c : null);
88
88
  }
89
89
  componentDidLoad() {
90
90
  if (this.value) {
91
91
  this.selected = true;
92
- this.internals.setFormValue(this.value);
92
+ this.internals.setFormValue(this.value.toString());
93
93
  }
94
94
  }
95
95
  render() {
96
- return (h(Host, { key: 'd46653b843b54f01df7bfdd50b01fc6d9eeb051f' }, h("select", { key: 'd15111f4a32cc58a2ae199868dfda722cd04857f', class: clsx('input', this.selected && 'input--selected'), onInput: this.onInput.bind(this), onBlur: this.onBlur, onFocus: this.onFocus, name: this.name, required: this.required, disabled: this.disabled, multiple: this.multiple, size: this.size, part: "select" }, this.placeholder && h("option", { key: 'f9e417ceeaf4894328865140411e4568b4578c47', value: "", disabled: true, selected: true }, this.placeholder)), h("div", { key: 'd50c4755426ef6bd54a54a80a07cc44390493e3d', class: "icon-container" }, h("i", { key: 'ba3287b543e7f39489eba7066763805e054138d3', class: "svg icon", innerHTML: miBaselineKeyboardArrowDown })), h("div", { key: '70c1d89ba1a94e8117d4ed61d457bc6ff71ddacb', class: "option-container" }, h("slot", { key: '7c63d09662ff18ecbc5e3c7222ff63553e5165fa', onSlotchange: this.onSlotChangeHandler })), h("mds-input-tip", { key: 'e40bdd6ee45206329e48d1d8ab3410b1a7988c2a', position: "top", active: this.hasFocus }, this.disabled && h("mds-input-tip-item", { key: '09e2b09522c70af6deee9a7d7cb28a586786c4a1', expanded: true, variant: "disabled" }), this.required &&
97
- h("mds-input-tip-item", { key: '78d0c80d7a3bdf721ec5c755304dce207512c74b', expanded: this.hasFocus, variant: this.value === '' ? 'required' : 'required-success' }))));
96
+ return (h(Host, { key: '81ab7f5b366ae9e842612a276b8efe1d52d21dd0' }, h("select", { key: '130119ceb7447ee4f8b80b5a6f7b7ac712c9f347', class: clsx('input', this.selected && 'input--selected'), onInput: this.onInput.bind(this), onBlur: this.onBlur, onFocus: this.onFocus, name: this.name, required: this.required, disabled: this.disabled, multiple: this.multiple, size: this.size, part: "select" }, this.placeholder && h("option", { key: 'f56c4a89209571e5f57c0fd9edc5a3fb34e62664', value: "", disabled: true, selected: true }, this.placeholder)), h("div", { key: '65564368c9fc116b98a0c9159cf3191e03d49193', class: "icon-container" }, h("i", { key: 'd35fb6bb42e9ed84f5d7d5a2b432c7da03164eab', class: "icon", innerHTML: miBaselineKeyboardArrowDown })), h("div", { key: 'd8515da7da334fbd00ff6df9ee81f8d46cfb6c8c', class: "option-container" }, h("slot", { key: '2209933b74c5a1dfab7673eaaaac8e23b8e15a74', onSlotchange: this.onSlotChangeHandler })), h("mds-input-tip", { key: 'a794103ca26e4d2312059108448e5d0643edca5d', position: "top", active: this.hasFocus }, this.disabled && h("mds-input-tip-item", { key: '1415ed93d80ad27f2e922ea5c5176f78cf0ffa65', expanded: true, variant: "disabled" }), this.required &&
97
+ h("mds-input-tip-item", { key: '36807554f81acc5c312835587493b5be0c632157', expanded: this.hasFocus, variant: this.value === '' ? 'required' : 'required-success' }))));
98
98
  }
99
99
  static get is() { return "mds-input-select"; }
100
100
  static get encapsulation() { return "shadow"; }
@@ -312,13 +312,13 @@ export class MdsInputSelect {
312
312
  "text": "Emits an InputChangeEventDetail when the value of the input element changes"
313
313
  },
314
314
  "complexType": {
315
- "original": "InputValue",
316
- "resolved": "InputValue",
315
+ "original": "MdsInputEventDetail",
316
+ "resolved": "MdsInputEventDetail",
317
317
  "references": {
318
- "InputValue": {
318
+ "MdsInputEventDetail": {
319
319
  "location": "import",
320
- "path": "@interface/input-value",
321
- "id": "src/interface/input-value.ts::InputValue"
320
+ "path": "@type/input",
321
+ "id": "src/type/input.ts::MdsInputEventDetail"
322
322
  }
323
323
  }
324
324
  }
@@ -4,6 +4,7 @@ const buttonVariantDictionary = [
4
4
  'info',
5
5
  'light',
6
6
  'primary',
7
+ 'secondary',
7
8
  'success',
8
9
  'warning',
9
10
  ];