UNPKG

60.9 kBJavaScriptView Raw
1export const manifest = {
2 name: 'select',
3 slots: [
4 {
5 description: 'Slot for the select prefix content',
6 name: 'prefix'
7 },
8 {
9 description: 'Slot for the select suffix content',
10 name: 'suffix'
11 },
12 {
13 description: 'Slot for the select prepend content',
14 name: 'prepend'
15 },
16 {
17 description: 'Slot for the select append content',
18 name: 'append'
19 },
20 {
21 description: 'Slot for the clearable button',
22 name: 'clearable'
23 }
24 ],
25 events: [
26 {
27 description: 'Event emitted for setting the modelValue',
28 name: 'update:modelValue'
29 },
30 {
31 description: 'Event emitted when input value changes',
32 name: 'search'
33 },
34 {
35 description: 'Event emitted when the next page needs to be loaded',
36 name: 'pagination'
37 }
38 ],
39 props: [
40 {
41 name: 'animationDuration',
42 type: [
43 'Number'
44 ],
45 default: '300',
46 description: 'The duration of the hide and show animation'
47 },
48 {
49 name: 'autocomplete',
50 type: [
51 'Boolean'
52 ],
53 default: 'false',
54 description: 'Enable autocomplete functionality'
55 },
56 {
57 name: 'arrow',
58 type: [
59 'Boolean'
60 ],
61 default: 'true',
62 description: 'Displays an arrow on the dropdown pointing to the trigger element'
63 },
64 {
65 name: 'color',
66 type: [
67 'light',
68 'dark'
69 ],
70 default: 'light',
71 description: 'The color variant of the select'
72 },
73 {
74 name: 'clearable',
75 type: [
76 'Boolean'
77 ],
78 default: 'false',
79 description: 'Display the select as clearable'
80 },
81 {
82 name: 'disabled',
83 type: [
84 'Boolean'
85 ],
86 default: 'false',
87 description: 'The disabled state of the select'
88 },
89 {
90 name: 'idField',
91 type: [
92 'String'
93 ],
94 default: 'id',
95 description: 'The field to be used for identifying the options'
96 },
97 {
98 name: 'keydownTrigger',
99 type: [
100 'string[]'
101 ],
102 default: 'up, down, enter, space, tab, esc',
103 description: 'The keydown events bound to the trigger element'
104 },
105 {
106 name: 'keydownItem',
107 type: [
108 'string[]'
109 ],
110 default: 'up, down, enter, space, tab, esc',
111 description: 'The keydown events bound to the select option elements'
112 },
113 {
114 name: 'label',
115 type: [
116 'String',
117 'Function'
118 ],
119 default: 'label',
120 description: 'Used to extract the label from the select option and select value'
121 },
122 {
123 name: 'loading',
124 type: [
125 'Boolean'
126 ],
127 default: 'false',
128 description: 'The loading state of the select'
129 },
130 {
131 name: 'modelValue',
132 type: [
133 'Object',
134 'String',
135 'Number'
136 ],
137 default: 'null',
138 description: 'Used to set the field value'
139 },
140 {
141 name: 'minLength',
142 type: [
143 'Number'
144 ],
145 default: '0',
146 description: 'The minimum input length to open the select dropdown at'
147 },
148 {
149 name: 'name',
150 type: [
151 'String'
152 ],
153 default: 'uid()',
154 description: 'The unique identifier of the select'
155 },
156 {
157 name: 'options',
158 type: [
159 'Array'
160 ],
161 default: '',
162 description: 'The options to be displayed in the select component'
163 },
164 {
165 name: 'placeholder',
166 type: [
167 'String'
168 ],
169 default: '\'\'',
170 description: 'The placeholder of the select input'
171 },
172 {
173 name: 'offset',
174 type: [
175 'Number'
176 ],
177 default: '6',
178 description: 'The offset of the dropdown relative to the trigger element'
179 },
180 {
181 name: 'placement',
182 type: [
183 'top',
184 'top-start',
185 'top-end',
186 'bottom',
187 'bottom-start',
188 'bottom-end',
189 'left',
190 'left-start',
191 'left-end',
192 'right',
193 'right-start',
194 'right-end'
195 ],
196 default: 'false',
197 description: 'The placement of the dropdown'
198 },
199 {
200 name: 'popperOptions',
201 type: [
202 'Object'
203 ],
204 default: '',
205 description: 'Used to override the popper.js options used for creating the dropdown'
206 },
207 {
208 name: 'readonly',
209 type: [
210 'Boolean'
211 ],
212 default: 'false',
213 description: 'The readonly state of the select'
214 },
215 {
216 name: 'scrollTolerance',
217 type: [
218 'Number'
219 ],
220 default: '160',
221 description: 'The number of pixels until scroll end before loading the next page'
222 },
223 {
224 name: 'selectFirstOptionOnEnter',
225 type: [
226 'Boolean'
227 ],
228 default: 'true',
229 description: 'Selects the first option when pressing enter'
230 },
231 {
232 name: 'size',
233 type: [
234 'sm',
235 'md',
236 'lg'
237 ],
238 default: 'md',
239 description: 'The size variant of the select'
240 },
241 {
242 name: 'tabindex',
243 type: [
244 'Number',
245 'String'
246 ],
247 default: '1',
248 description: 'The tabindex of the select'
249 },
250 {
251 name: 'type',
252 type: [
253 'String'
254 ],
255 default: 'text',
256 description: 'The type of the select'
257 },
258 {
259 name: 'total',
260 type: [
261 'Number'
262 ],
263 default: 'undefined',
264 description: 'The total number of options, used for infinite scrolling'
265 }
266 ],
267 css: {
268 selector: '.select-wrapper',
269 type: 'form',
270 defaults: {
271 size: 'md',
272 color: 'light'
273 },
274 variables: [
275 {
276 name: 'background',
277 type: 'color',
278 value: 'color(\'white\')',
279 description: 'The background of the select component'
280 },
281 {
282 name: 'border-top-color',
283 type: 'color',
284 value: 'color(\'light-55\')',
285 description: 'The border top color of the select component'
286 },
287 {
288 name: 'border-right-color',
289 type: 'color',
290 value: 'color(\'light-55\')',
291 description: 'The border right color of the select component'
292 },
293 {
294 name: 'border-bottom-color',
295 type: 'color',
296 value: 'color(\'light-55\')',
297 description: 'The border bottom color of the select component'
298 },
299 {
300 name: 'border-left-color',
301 type: 'color',
302 value: 'color(\'light-55\')',
303 description: 'The border left color of the select component'
304 },
305 {
306 name: 'border-color',
307 type: '',
308 value: 'var(----border-top-color) var(----border-right-color) var(----border-bottom-color) var(----border-left-color)',
309 description: 'The border color of the select component'
310 },
311 {
312 name: 'border-style',
313 type: '',
314 value: 'var(--border-style)',
315 description: 'The border style of the select component'
316 },
317 {
318 name: 'border-top-width',
319 type: '',
320 value: 'var(--border-top-width)',
321 description: 'The border top width of the select component'
322 },
323 {
324 name: 'border-right-width',
325 type: '',
326 value: 'var(--border-right-width)',
327 description: 'The border right width of the select component'
328 },
329 {
330 name: 'border-bottom-width',
331 type: '',
332 value: 'var(--border-bottom-width)',
333 description: 'The border bottom width of the select component'
334 },
335 {
336 name: 'border-left-width',
337 type: '',
338 value: 'var(--border-left-width)',
339 description: 'The border left width of the select component'
340 },
341 {
342 name: 'border-width',
343 type: '',
344 value: 'var(----border-top-width) var(----border-right-width) var(----border-bottom-width) var(----border-left-width)',
345 description: 'The border width of the select component'
346 },
347 {
348 name: 'border-top-left-radius',
349 type: 'size',
350 value: 'var(--border-top-left-radius)',
351 description: 'The border top left radius of the select component'
352 },
353 {
354 name: 'border-top-right-radius',
355 type: 'size',
356 value: 'var(--border-top-right-radius)',
357 description: 'The border top right radius of the select component'
358 },
359 {
360 name: 'border-bottom-right-radius',
361 type: 'size',
362 value: 'var(--border-bottom-right-radius)',
363 description: 'The border bottom right radius of the select component'
364 },
365 {
366 name: 'border-bottom-left-radius',
367 type: 'size',
368 value: 'var(--border-bottom-left-radius)',
369 description: 'The border bottom left radius of the select component'
370 },
371 {
372 name: 'border-radius',
373 type: '',
374 value: 'var(----border-top-left-radius) var(----border-top-right-radius) var(----border-bottom-right-radius) var(----border-bottom-left-radius)',
375 description: 'The border radius of the select component'
376 },
377 {
378 name: 'box-shadow-offset-x',
379 type: '',
380 value: 'var(--box-shadow-offset-x)',
381 description: 'The box shadow horizontal offset of the select component'
382 },
383 {
384 name: 'box-shadow-offset-y',
385 type: '',
386 value: 'var(--box-shadow-offset-y)',
387 description: 'The box shadow vertical offset of the select component'
388 },
389 {
390 name: 'box-shadow-blur-radius',
391 type: '',
392 value: 'var(--box-shadow-blur-radius)',
393 description: 'The box shadow blur radius of the select component'
394 },
395 {
396 name: 'box-shadow-spread-radius',
397 type: '',
398 value: 'var(--box-shadow-spread-radius)',
399 description: 'The box shadow spread radius of the select component'
400 },
401 {
402 name: 'box-shadow-color',
403 type: '',
404 value: 'var(--box-shadow-color)',
405 description: 'The box shadow spread radius of the select component'
406 },
407 {
408 name: 'box-shadow',
409 type: '',
410 value: 'var(----box-shadow-offset-x) var(----box-shadow-offset-y) var(----box-shadow-blur-radius) var(----box-shadow-spread-radius) var(----box-shadow-color)',
411 description: 'The box shadow of the select component'
412 },
413 {
414 name: 'color',
415 type: 'color',
416 value: 'contrast-color($color-white)',
417 description: 'The color of the select component item'
418 },
419 {
420 name: 'font-size',
421 type: 'size',
422 value: 'font-size()',
423 description: 'The font size of the select component'
424 },
425 {
426 name: 'font-weight',
427 type: '',
428 value: 'font-weight(\'normal\')',
429 description: 'The font weight of the select component'
430 },
431 {
432 name: 'line-height',
433 type: '',
434 value: 'var(--line-height)',
435 description: 'The line height of the select component'
436 },
437 {
438 name: 'margin-top',
439 type: 'size',
440 value: 'calc(var(--margin-top) / 2)',
441 description: 'The margin top of the select component'
442 },
443 {
444 name: 'margin-right',
445 type: 'size',
446 value: 'calc(var(--margin-right) / 2)',
447 description: 'The margin right of the select component'
448 },
449 {
450 name: 'margin-bottom',
451 type: 'size',
452 value: 'calc(var(--margin-bottom) / 2)',
453 description: 'The margin bottom of the select component'
454 },
455 {
456 name: 'margin-left',
457 type: 'size',
458 value: 'calc(var(--margin-left) / 2)',
459 description: 'The margin left of the select component'
460 },
461 {
462 name: 'margin',
463 type: '',
464 value: 'var(----margin-top) var(----margin-right) var(----margin-bottom) var(----margin-left)',
465 description: 'The margin of the select component'
466 },
467 {
468 name: 'padding-top',
469 type: 'size',
470 value: 'var(--padding-top)',
471 description: 'The padding top of the select component'
472 },
473 {
474 name: 'padding-right',
475 type: 'size',
476 value: 'var(--padding-right)',
477 description: 'The padding right of the select component'
478 },
479 {
480 name: 'padding-bottom',
481 type: 'size',
482 value: 'var(--padding-bottom)',
483 description: 'The padding bottom of the select component'
484 },
485 {
486 name: 'padding-left',
487 type: 'size',
488 value: 'var(--padding-left)',
489 description: 'The padding left of the select component'
490 },
491 {
492 name: 'padding',
493 type: '',
494 value: 'var(----padding-top) var(----padding-right) var(----padding-bottom) var(----padding-left)',
495 description: 'The padding of the select component'
496 },
497 {
498 name: 'min-width',
499 type: '',
500 value: '240px',
501 description: 'The minimum width of the select component'
502 },
503 {
504 name: 'max-width',
505 type: '',
506 value: '90vw',
507 description: 'The maximum width of the select component'
508 },
509 {
510 name: 'max-height',
511 type: '',
512 value: '300px',
513 description: 'The maximum height of the select component body'
514 },
515 {
516 name: 'z-index',
517 type: '',
518 value: '2000',
519 description: 'The z-index of the select component'
520 },
521 {
522 name: 'option--background',
523 type: '',
524 value: 'var(----background)',
525 description: 'The background of the select component option'
526 },
527 {
528 name: 'option--background--hover',
529 type: 'color',
530 value: 'color(\'light-25\')',
531 description: 'The background of the select component option when hovered or focused'
532 },
533 {
534 name: 'option--background--active',
535 type: '',
536 value: 'var(----option-background--active)',
537 description: 'The background of the select component option when active'
538 },
539 {
540 name: 'option--background--disabled',
541 type: 'color',
542 value: 'transparent',
543 description: 'The background of the select component option when disabled'
544 },
545 {
546 name: 'option--border-top-left-radius',
547 type: '',
548 value: '0',
549 description: 'The border top left radius of the modal component'
550 },
551 {
552 name: 'option--border-top-right-radius',
553 type: '',
554 value: '0',
555 description: 'The border top right radius of the modal component'
556 },
557 {
558 name: 'option--border-bottom-right-radius',
559 type: '',
560 value: '0',
561 description: 'The border bottom right radius of the modal component'
562 },
563 {
564 name: 'option--border-bottom-left-radius',
565 type: '',
566 value: '0',
567 description: 'The border bottom left radius of the modal component'
568 },
569 {
570 name: 'option--border-radius',
571 type: '',
572 value: 'var(----option--border-top-left-radius) var(----option--border-top-right-radius) var(----option--border-bottom-right-radius) var(----option--border-bottom-left-radius)',
573 description: 'The border radius of the modal component'
574 },
575 {
576 name: 'option--color',
577 type: '',
578 value: 'var(----color)',
579 description: 'The color of the select component option'
580 },
581 {
582 name: 'option--color--hover',
583 type: '',
584 value: 'var(----option--color)',
585 description: 'The color of the select component option when hovered or focused'
586 },
587 {
588 name: 'option--color--active',
589 type: '',
590 value: 'var(----option--color)',
591 description: 'The color of the select component option when active'
592 },
593 {
594 name: 'option--color--disabled',
595 type: 'color',
596 value: 'color(\'light-65\')',
597 description: 'The color of the select component option when disabled'
598 },
599 {
600 name: 'option--padding-top',
601 type: '',
602 value: 'calc(var(----padding-top) / 2)',
603 description: 'The padding top of the select component option'
604 },
605 {
606 name: 'option--padding-right',
607 type: '',
608 value: 'var(----padding-right)',
609 description: 'The padding right of the select component option'
610 },
611 {
612 name: 'option--padding-bottom',
613 type: 'size',
614 value: 'calc(var(----padding-bottom) / 2)',
615 description: 'The padding bottom of the select component option'
616 },
617 {
618 name: 'option--padding-left',
619 type: 'size',
620 value: 'var(----padding-left)',
621 description: 'The padding left of the select component option'
622 },
623 {
624 name: 'option--padding',
625 type: '',
626 value: 'var(----option--padding-top) var(----option--padding-right) var(----option--padding-bottom) var(----option--padding-left)',
627 description: 'The padding of the select component option'
628 },
629 {
630 name: 'divider--margin',
631 type: '',
632 value: 'spacing(\'1/2\')',
633 description: 'The margin of the select component divider'
634 },
635 {
636 name: 'header--background',
637 type: 'color',
638 value: 'color(\'gray-05\')',
639 description: 'The background of the select component header'
640 },
641 {
642 name: 'header--border-color',
643 type: '',
644 value: 'var(----border-color)',
645 description: 'The border color of the select component header'
646 },
647 {
648 name: 'header--border-style',
649 type: '',
650 value: 'var(----border-style)',
651 description: 'The border style of the select component header'
652 },
653 {
654 name: 'header--border-top-width',
655 type: '',
656 value: 'var(----border-top-width)',
657 description: 'The border top width of the select component header'
658 },
659 {
660 name: 'header--border-right-width',
661 type: '',
662 value: 'var(----border-right-width)',
663 description: 'The border right width of the select component header'
664 },
665 {
666 name: 'header--border-bottom-width',
667 type: '',
668 value: '0',
669 description: 'The border bottom width of the select component header'
670 },
671 {
672 name: 'header--border-left-width',
673 type: '',
674 value: 'var(----border-left-width)',
675 description: 'The border left width of the select component header'
676 },
677 {
678 name: 'header--border-width',
679 type: '',
680 value: 'var(----header--border-top-width) var(----header--border-right-width) var(----header--border-bottom-width) var(----header--border-left-width)',
681 description: 'The border width of the select component header'
682 },
683 {
684 name: 'header--color',
685 type: '',
686 value: 'var(----color)',
687 description: 'The color of the select component header'
688 },
689 {
690 name: 'header--padding-top',
691 type: '',
692 value: 'calc(var(----padding-top) * 3 / 4)',
693 description: 'The padding top of the select component header'
694 },
695 {
696 name: 'header--padding-right',
697 type: '',
698 value: 'var(----padding-right)',
699 description: 'The padding right of the select component header'
700 },
701 {
702 name: 'header--padding-bottom',
703 type: 'size',
704 value: 'calc(var(----padding-bottom) * 3 / 4)',
705 description: 'The padding bottom of the select component header'
706 },
707 {
708 name: 'header--padding-left',
709 type: 'size',
710 value: 'var(----padding-left)',
711 description: 'The padding left of the select component header'
712 },
713 {
714 name: 'header--padding',
715 type: '',
716 value: 'var(----header--padding-top) var(----header--padding-right) var(----header--padding-bottom) var(----header--padding-left)',
717 description: 'The padding of the select component header'
718 },
719 {
720 name: 'body--background',
721 type: '',
722 value: 'var(----background)',
723 description: 'The background of the select component body'
724 },
725 {
726 name: 'body--border-color',
727 type: '',
728 value: 'var(----border-color)',
729 description: 'The border color of the select component body'
730 },
731 {
732 name: 'body--border-style',
733 type: '',
734 value: 'var(----border-style)',
735 description: 'The border style of the select component body'
736 },
737 {
738 name: 'body--border-top-width',
739 type: '',
740 value: 'var(----border-top-width)',
741 description: 'The border top width of the select component body'
742 },
743 {
744 name: 'body--border-right-width',
745 type: '',
746 value: 'var(----border-right-width)',
747 description: 'The border right width of the select component body'
748 },
749 {
750 name: 'body--border-bottom-width',
751 type: '',
752 value: 'var(----border-bottom-width)',
753 description: 'The border bottom width of the select component body'
754 },
755 {
756 name: 'body--border-left-width',
757 type: '',
758 value: 'var(----border-left-width)',
759 description: 'The border left width of the select component body'
760 },
761 {
762 name: 'body--border-width',
763 type: '',
764 value: 'var(----body--border-top-width) var(----body--border-right-width) var(----body--border-bottom-width) var(----body--border-left-width)',
765 description: 'The border width of the select component body'
766 },
767 {
768 name: 'body--color',
769 type: '',
770 value: 'var(----color)',
771 description: 'The color of the select component body'
772 },
773 {
774 name: 'body--padding-top',
775 type: '',
776 value: 'var(----padding-top)',
777 description: 'The padding top of the select component body'
778 },
779 {
780 name: 'body--padding-right',
781 type: '',
782 value: '0',
783 description: 'The padding right of the select component body'
784 },
785 {
786 name: 'body--padding-bottom',
787 type: 'size',
788 value: 'var(----padding-bottom)',
789 description: 'The padding bottom of the select component body'
790 },
791 {
792 name: 'body--padding-left',
793 type: 'size',
794 value: '0',
795 description: 'The padding left of the select component body'
796 },
797 {
798 name: 'body--padding',
799 type: '',
800 value: 'var(----body--padding-top) var(----body--padding-right) var(----body--padding-bottom) var(----body--padding-left)',
801 description: 'The padding of the select component body'
802 },
803 {
804 name: 'footer--background',
805 type: 'color',
806 value: 'color(\'gray-05\')',
807 description: 'The background of the select component footer'
808 },
809 {
810 name: 'footer--border-color',
811 type: '',
812 value: 'var(----border-color)',
813 description: 'The border color of the select component footer'
814 },
815 {
816 name: 'footer--border-style',
817 type: '',
818 value: 'var(----border-style)',
819 description: 'The border style of the select component footer'
820 },
821 {
822 name: 'footer--border-top-width',
823 type: '',
824 value: 'var(----border-top-width)',
825 description: 'The border top width of the select component footer'
826 },
827 {
828 name: 'footer--border-right-width',
829 type: '',
830 value: 'var(----border-right-width)',
831 description: 'The border right width of the select component footer'
832 },
833 {
834 name: 'footer--border-bottom-width',
835 type: '',
836 value: 'var(----border-bottom-width)',
837 description: 'The border bottom width of the select component footer'
838 },
839 {
840 name: 'footer--border-left-width',
841 type: '',
842 value: 'var(----border-left-width)',
843 description: 'The border left width of the select component footer'
844 },
845 {
846 name: 'footer--border-width',
847 type: '',
848 value: 'var(----footer--border-top-width) var(----footer--border-right-width) var(----footer--border-bottom-width) var(----footer--border-left-width)',
849 description: 'The border width of the select component footer'
850 },
851 {
852 name: 'footer--color',
853 type: '',
854 value: 'var(----color)',
855 description: 'The color of the select component footer'
856 },
857 {
858 name: 'footer--padding-top',
859 type: '',
860 value: 'calc(var(----padding-top) * 3 / 4)',
861 description: 'The padding top of the select component footer'
862 },
863 {
864 name: 'footer--padding-right',
865 type: '',
866 value: 'var(----padding-right)',
867 description: 'The padding right of the select component footer'
868 },
869 {
870 name: 'footer--padding-bottom',
871 type: 'size',
872 value: 'calc(var(----padding-bottom) * 3 / 4)',
873 description: 'The padding bottom of the select component footer'
874 },
875 {
876 name: 'footer--padding-left',
877 type: 'size',
878 value: 'var(----padding-left)',
879 description: 'The padding left of the select component footer'
880 },
881 {
882 name: 'footer--padding',
883 type: '',
884 value: 'var(----footer--padding-top) var(----footer--padding-right) var(----footer--padding-bottom) var(----footer--padding-left)',
885 description: 'The padding of the select component footer'
886 }
887 ],
888 variants: [
889 {
890 name: 'light',
891 type: 'variant',
892 description: 'Variables for the light color variant',
893 variables: [
894 {
895 name: 'background',
896 type: '',
897 value: 'color(\'white\')',
898 description: 'The background of the select component, for the light color variant'
899 },
900 {
901 name: 'border-top-color',
902 type: '',
903 value: 'color(\'light-55\')',
904 description: 'The border top color of the select component, for the light color variant'
905 },
906 {
907 name: 'border-right-color',
908 type: '',
909 value: 'color(\'light-55\')',
910 description: 'The border right color of the select component, for the light color variant'
911 },
912 {
913 name: 'border-bottom-color',
914 type: '',
915 value: 'color(\'light-55\')',
916 description: 'The border bottom color of the select component, for the light color variant'
917 },
918 {
919 name: 'border-left-color',
920 type: '',
921 value: 'color(\'light-55\')',
922 description: 'The border left color of the select component, for the light color variant'
923 },
924 {
925 name: 'color',
926 type: '',
927 value: 'contrast-color($color-white)',
928 description: 'The color of the select component item, for the light color variant'
929 },
930 {
931 name: 'option--background--hover',
932 type: '',
933 value: 'color(\'light-25\')',
934 description: 'The background of the select component option when hovered or focused, for the light color variant'
935 },
936 {
937 name: 'option--background--disabled',
938 type: '',
939 value: 'transparent',
940 description: 'The background of the select component option when disabled, for the light color variant'
941 },
942 {
943 name: 'option--color--disabled',
944 type: '',
945 value: 'color(\'light-65\')',
946 description: 'The color of the select component option when disabled, for the light color variant'
947 },
948 {
949 name: 'header--background',
950 type: '',
951 value: 'color(\'gray-05\')',
952 description: 'The background of the select component header, for the light color variant'
953 },
954 {
955 name: 'footer--background',
956 type: '',
957 value: 'color(\'gray-05\')',
958 description: 'The background of the select component footer, for the light color variant'
959 }
960 ]
961 },
962 {
963 name: 'dark',
964 type: 'variant',
965 description: 'Variables for the dark color variant',
966 variables: [
967 {
968 name: 'background',
969 type: '',
970 value: 'color(\'dark\')',
971 description: 'The background of the select component, for the dark color variant'
972 },
973 {
974 name: 'border-top-color',
975 type: '',
976 value: 'color(\'dark-45\')',
977 description: 'The border top color of the select component, for the dark color variant'
978 },
979 {
980 name: 'border-right-color',
981 type: '',
982 value: 'color(\'dark-45\')',
983 description: 'The border right color of the select component, for the dark color variant'
984 },
985 {
986 name: 'border-bottom-color',
987 type: '',
988 value: 'color(\'dark-45\')',
989 description: 'The border bottom color of the select component, for the dark color variant'
990 },
991 {
992 name: 'border-left-color',
993 type: '',
994 value: 'color(\'dark-45\')',
995 description: 'The border left color of the select component, for the dark color variant'
996 },
997 {
998 name: 'color',
999 type: '',
1000 value: 'contrast-color($color-dark)',
1001 description: 'The color of the select component item, for the dark color variant'
1002 },
1003 {
1004 name: 'option--background--hover',
1005 type: '',
1006 value: 'color(\'dark-45\')',
1007 description: 'The background of the select component option when hovered or focused, for the dark color variant'
1008 },
1009 {
1010 name: 'option--background--disabled',
1011 type: '',
1012 value: 'transparent',
1013 description: 'The background of the select component option when disabled, for the dark color variant'
1014 },
1015 {
1016 name: 'option--color--disabled',
1017 type: '',
1018 value: 'color(\'dark-25\')',
1019 description: 'The color of the select component option when disabled, for the dark color variant'
1020 },
1021 {
1022 name: 'header--background',
1023 type: '',
1024 value: 'color(\'dark-55\')',
1025 description: 'The background of the select component header, for the dark color variant'
1026 },
1027 {
1028 name: 'footer--background',
1029 type: '',
1030 value: 'color(\'dark-55\')',
1031 description: 'The background of the select component footer, for the dark color variant'
1032 }
1033 ]
1034 },
1035 {
1036 name: 'sm',
1037 type: 'variant',
1038 description: 'Variables for the sm size variant',
1039 variables: [
1040 {
1041 name: 'border-top-left-radius',
1042 type: '',
1043 value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'sm\')})',
1044 description: 'The border top left radius of the select component, for the sm size variant'
1045 },
1046 {
1047 name: 'border-top-right-radius',
1048 type: '',
1049 value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'sm\')})',
1050 description: 'The border top right radius of the select component, for the sm size variant'
1051 },
1052 {
1053 name: 'border-bottom-right-radius',
1054 type: '',
1055 value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'sm\')})',
1056 description: 'The border bottom right radius of the select component, for the sm size variant'
1057 },
1058 {
1059 name: 'border-bottom-left-radius',
1060 type: '',
1061 value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'sm\')})',
1062 description: 'The border bottom left radius of the select component, for the sm size variant'
1063 },
1064 {
1065 name: 'font-size',
1066 type: '',
1067 value: 'calc(#{font-size()} * #{size-multiplier(\'sm\')})',
1068 description: 'The font size of the select component, for the sm size variant'
1069 },
1070 {
1071 name: 'margin-top',
1072 type: '',
1073 value: 'calc(#{calc(var(--margin-top) / 2)} * #{size-multiplier(\'sm\')})',
1074 description: 'The margin top of the select component, for the sm size variant'
1075 },
1076 {
1077 name: 'margin-right',
1078 type: '',
1079 value: 'calc(#{calc(var(--margin-right) / 2)} * #{size-multiplier(\'sm\')})',
1080 description: 'The margin right of the select component, for the sm size variant'
1081 },
1082 {
1083 name: 'margin-bottom',
1084 type: '',
1085 value: 'calc(#{calc(var(--margin-bottom) / 2)} * #{size-multiplier(\'sm\')})',
1086 description: 'The margin bottom of the select component, for the sm size variant'
1087 },
1088 {
1089 name: 'margin-left',
1090 type: '',
1091 value: 'calc(#{calc(var(--margin-left) / 2)} * #{size-multiplier(\'sm\')})',
1092 description: 'The margin left of the select component, for the sm size variant'
1093 },
1094 {
1095 name: 'padding-top',
1096 type: '',
1097 value: 'calc(#{var(--padding-top)} * #{size-multiplier(\'sm\')})',
1098 description: 'The padding top of the select component, for the sm size variant'
1099 },
1100 {
1101 name: 'padding-right',
1102 type: '',
1103 value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'sm\')})',
1104 description: 'The padding right of the select component, for the sm size variant'
1105 },
1106 {
1107 name: 'padding-bottom',
1108 type: '',
1109 value: 'calc(#{var(--padding-bottom)} * #{size-multiplier(\'sm\')})',
1110 description: 'The padding bottom of the select component, for the sm size variant'
1111 },
1112 {
1113 name: 'padding-left',
1114 type: '',
1115 value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'sm\')})',
1116 description: 'The padding left of the select component, for the sm size variant'
1117 },
1118 {
1119 name: 'option--padding-bottom',
1120 type: '',
1121 value: 'calc(#{calc(var(----padding-bottom) / 2)} * #{size-multiplier(\'sm\')})',
1122 description: 'The padding bottom of the select component option, for the sm size variant'
1123 },
1124 {
1125 name: 'option--padding-left',
1126 type: '',
1127 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})',
1128 description: 'The padding left of the select component option, for the sm size variant'
1129 },
1130 {
1131 name: 'header--padding-bottom',
1132 type: '',
1133 value: 'calc(#{calc(var(----padding-bottom) * 3 / 4)} * #{size-multiplier(\'sm\')})',
1134 description: 'The padding bottom of the select component header, for the sm size variant'
1135 },
1136 {
1137 name: 'header--padding-left',
1138 type: '',
1139 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})',
1140 description: 'The padding left of the select component header, for the sm size variant'
1141 },
1142 {
1143 name: 'body--padding-bottom',
1144 type: '',
1145 value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})',
1146 description: 'The padding bottom of the select component body, for the sm size variant'
1147 },
1148 {
1149 name: 'body--padding-left',
1150 type: '',
1151 value: 'calc(#{0} * #{size-multiplier(\'sm\')})',
1152 description: 'The padding left of the select component body, for the sm size variant'
1153 },
1154 {
1155 name: 'footer--padding-bottom',
1156 type: '',
1157 value: 'calc(#{calc(var(----padding-bottom) * 3 / 4)} * #{size-multiplier(\'sm\')})',
1158 description: 'The padding bottom of the select component footer, for the sm size variant'
1159 },
1160 {
1161 name: 'footer--padding-left',
1162 type: '',
1163 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})',
1164 description: 'The padding left of the select component footer, for the sm size variant'
1165 }
1166 ]
1167 },
1168 {
1169 name: 'md',
1170 type: 'variant',
1171 description: 'Variables for the md size variant',
1172 variables: [
1173 {
1174 name: 'border-top-left-radius',
1175 type: '',
1176 value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'md\')})',
1177 description: 'The border top left radius of the select component, for the md size variant'
1178 },
1179 {
1180 name: 'border-top-right-radius',
1181 type: '',
1182 value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'md\')})',
1183 description: 'The border top right radius of the select component, for the md size variant'
1184 },
1185 {
1186 name: 'border-bottom-right-radius',
1187 type: '',
1188 value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'md\')})',
1189 description: 'The border bottom right radius of the select component, for the md size variant'
1190 },
1191 {
1192 name: 'border-bottom-left-radius',
1193 type: '',
1194 value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'md\')})',
1195 description: 'The border bottom left radius of the select component, for the md size variant'
1196 },
1197 {
1198 name: 'font-size',
1199 type: '',
1200 value: 'calc(#{font-size()} * #{size-multiplier(\'md\')})',
1201 description: 'The font size of the select component, for the md size variant'
1202 },
1203 {
1204 name: 'margin-top',
1205 type: '',
1206 value: 'calc(#{calc(var(--margin-top) / 2)} * #{size-multiplier(\'md\')})',
1207 description: 'The margin top of the select component, for the md size variant'
1208 },
1209 {
1210 name: 'margin-right',
1211 type: '',
1212 value: 'calc(#{calc(var(--margin-right) / 2)} * #{size-multiplier(\'md\')})',
1213 description: 'The margin right of the select component, for the md size variant'
1214 },
1215 {
1216 name: 'margin-bottom',
1217 type: '',
1218 value: 'calc(#{calc(var(--margin-bottom) / 2)} * #{size-multiplier(\'md\')})',
1219 description: 'The margin bottom of the select component, for the md size variant'
1220 },
1221 {
1222 name: 'margin-left',
1223 type: '',
1224 value: 'calc(#{calc(var(--margin-left) / 2)} * #{size-multiplier(\'md\')})',
1225 description: 'The margin left of the select component, for the md size variant'
1226 },
1227 {
1228 name: 'padding-top',
1229 type: '',
1230 value: 'calc(#{var(--padding-top)} * #{size-multiplier(\'md\')})',
1231 description: 'The padding top of the select component, for the md size variant'
1232 },
1233 {
1234 name: 'padding-right',
1235 type: '',
1236 value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'md\')})',
1237 description: 'The padding right of the select component, for the md size variant'
1238 },
1239 {
1240 name: 'padding-bottom',
1241 type: '',
1242 value: 'calc(#{var(--padding-bottom)} * #{size-multiplier(\'md\')})',
1243 description: 'The padding bottom of the select component, for the md size variant'
1244 },
1245 {
1246 name: 'padding-left',
1247 type: '',
1248 value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'md\')})',
1249 description: 'The padding left of the select component, for the md size variant'
1250 },
1251 {
1252 name: 'option--padding-bottom',
1253 type: '',
1254 value: 'calc(#{calc(var(----padding-bottom) / 2)} * #{size-multiplier(\'md\')})',
1255 description: 'The padding bottom of the select component option, for the md size variant'
1256 },
1257 {
1258 name: 'option--padding-left',
1259 type: '',
1260 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})',
1261 description: 'The padding left of the select component option, for the md size variant'
1262 },
1263 {
1264 name: 'header--padding-bottom',
1265 type: '',
1266 value: 'calc(#{calc(var(----padding-bottom) * 3 / 4)} * #{size-multiplier(\'md\')})',
1267 description: 'The padding bottom of the select component header, for the md size variant'
1268 },
1269 {
1270 name: 'header--padding-left',
1271 type: '',
1272 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})',
1273 description: 'The padding left of the select component header, for the md size variant'
1274 },
1275 {
1276 name: 'body--padding-bottom',
1277 type: '',
1278 value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})',
1279 description: 'The padding bottom of the select component body, for the md size variant'
1280 },
1281 {
1282 name: 'body--padding-left',
1283 type: '',
1284 value: 'calc(#{0} * #{size-multiplier(\'md\')})',
1285 description: 'The padding left of the select component body, for the md size variant'
1286 },
1287 {
1288 name: 'footer--padding-bottom',
1289 type: '',
1290 value: 'calc(#{calc(var(----padding-bottom) * 3 / 4)} * #{size-multiplier(\'md\')})',
1291 description: 'The padding bottom of the select component footer, for the md size variant'
1292 },
1293 {
1294 name: 'footer--padding-left',
1295 type: '',
1296 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})',
1297 description: 'The padding left of the select component footer, for the md size variant'
1298 }
1299 ]
1300 },
1301 {
1302 name: 'lg',
1303 type: 'variant',
1304 description: 'Variables for the lg size variant',
1305 variables: [
1306 {
1307 name: 'border-top-left-radius',
1308 type: '',
1309 value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'lg\')})',
1310 description: 'The border top left radius of the select component, for the lg size variant'
1311 },
1312 {
1313 name: 'border-top-right-radius',
1314 type: '',
1315 value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'lg\')})',
1316 description: 'The border top right radius of the select component, for the lg size variant'
1317 },
1318 {
1319 name: 'border-bottom-right-radius',
1320 type: '',
1321 value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'lg\')})',
1322 description: 'The border bottom right radius of the select component, for the lg size variant'
1323 },
1324 {
1325 name: 'border-bottom-left-radius',
1326 type: '',
1327 value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'lg\')})',
1328 description: 'The border bottom left radius of the select component, for the lg size variant'
1329 },
1330 {
1331 name: 'font-size',
1332 type: '',
1333 value: 'calc(#{font-size()} * #{size-multiplier(\'lg\')})',
1334 description: 'The font size of the select component, for the lg size variant'
1335 },
1336 {
1337 name: 'margin-top',
1338 type: '',
1339 value: 'calc(#{calc(var(--margin-top) / 2)} * #{size-multiplier(\'lg\')})',
1340 description: 'The margin top of the select component, for the lg size variant'
1341 },
1342 {
1343 name: 'margin-right',
1344 type: '',
1345 value: 'calc(#{calc(var(--margin-right) / 2)} * #{size-multiplier(\'lg\')})',
1346 description: 'The margin right of the select component, for the lg size variant'
1347 },
1348 {
1349 name: 'margin-bottom',
1350 type: '',
1351 value: 'calc(#{calc(var(--margin-bottom) / 2)} * #{size-multiplier(\'lg\')})',
1352 description: 'The margin bottom of the select component, for the lg size variant'
1353 },
1354 {
1355 name: 'margin-left',
1356 type: '',
1357 value: 'calc(#{calc(var(--margin-left) / 2)} * #{size-multiplier(\'lg\')})',
1358 description: 'The margin left of the select component, for the lg size variant'
1359 },
1360 {
1361 name: 'padding-top',
1362 type: '',
1363 value: 'calc(#{var(--padding-top)} * #{size-multiplier(\'lg\')})',
1364 description: 'The padding top of the select component, for the lg size variant'
1365 },
1366 {
1367 name: 'padding-right',
1368 type: '',
1369 value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'lg\')})',
1370 description: 'The padding right of the select component, for the lg size variant'
1371 },
1372 {
1373 name: 'padding-bottom',
1374 type: '',
1375 value: 'calc(#{var(--padding-bottom)} * #{size-multiplier(\'lg\')})',
1376 description: 'The padding bottom of the select component, for the lg size variant'
1377 },
1378 {
1379 name: 'padding-left',
1380 type: '',
1381 value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'lg\')})',
1382 description: 'The padding left of the select component, for the lg size variant'
1383 },
1384 {
1385 name: 'option--padding-bottom',
1386 type: '',
1387 value: 'calc(#{calc(var(----padding-bottom) / 2)} * #{size-multiplier(\'lg\')})',
1388 description: 'The padding bottom of the select component option, for the lg size variant'
1389 },
1390 {
1391 name: 'option--padding-left',
1392 type: '',
1393 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'lg\')})',
1394 description: 'The padding left of the select component option, for the lg size variant'
1395 },
1396 {
1397 name: 'header--padding-bottom',
1398 type: '',
1399 value: 'calc(#{calc(var(----padding-bottom) * 3 / 4)} * #{size-multiplier(\'lg\')})',
1400 description: 'The padding bottom of the select component header, for the lg size variant'
1401 },
1402 {
1403 name: 'header--padding-left',
1404 type: '',
1405 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'lg\')})',
1406 description: 'The padding left of the select component header, for the lg size variant'
1407 },
1408 {
1409 name: 'body--padding-bottom',
1410 type: '',
1411 value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'lg\')})',
1412 description: 'The padding bottom of the select component body, for the lg size variant'
1413 },
1414 {
1415 name: 'body--padding-left',
1416 type: '',
1417 value: 'calc(#{0} * #{size-multiplier(\'lg\')})',
1418 description: 'The padding left of the select component body, for the lg size variant'
1419 },
1420 {
1421 name: 'footer--padding-bottom',
1422 type: '',
1423 value: 'calc(#{calc(var(----padding-bottom) * 3 / 4)} * #{size-multiplier(\'lg\')})',
1424 description: 'The padding bottom of the select component footer, for the lg size variant'
1425 },
1426 {
1427 name: 'footer--padding-left',
1428 type: '',
1429 value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'lg\')})',
1430 description: 'The padding left of the select component footer, for the lg size variant'
1431 }
1432 ]
1433 }
1434 ]
1435 }
1436};
1437export default manifest;
1438//# sourceMappingURL=manifest.mjs.map
\No newline at end of file