@moduix/react 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -14
- package/dist/components/accordion/Accordion.css +47 -47
- package/dist/components/alert/Alert.css +62 -46
- package/dist/components/angle-slider/AngleSlider.css +65 -64
- package/dist/components/aspect-ratio/AspectRatio.css +2 -2
- package/dist/components/avatar/Avatar.css +26 -26
- package/dist/components/badge/Badge.css +34 -34
- package/dist/components/bleed/Bleed.css +13 -13
- package/dist/components/breadcrumbs/Breadcrumbs.css +28 -28
- package/dist/components/button/Button.css +81 -78
- package/dist/components/card/Card.css +46 -46
- package/dist/components/carousel/Carousel.css +57 -57
- package/dist/components/checkbox/Checkbox.css +40 -40
- package/dist/components/clipboard/Clipboard.css +68 -59
- package/dist/components/close-button/CloseButton.css +17 -17
- package/dist/components/collapsible/Collapsible.css +40 -38
- package/dist/components/color-picker/ColorPicker.css +155 -151
- package/dist/components/combobox/Combobox.css +118 -115
- package/dist/components/command-palette/CommandPalette.css +172 -177
- package/dist/components/command-palette/CommandPalette.module.js +0 -1
- package/dist/components/container/Container.css +12 -12
- package/dist/components/date-input/DateInput.css +41 -40
- package/dist/components/date-picker/DatePicker.css +174 -172
- package/dist/components/dialog/Dialog.css +84 -79
- package/dist/components/drawer/Drawer.css +126 -108
- package/dist/components/editable/Editable.css +63 -61
- package/dist/components/empty/Empty.css +25 -25
- package/dist/components/field/Field.css +45 -45
- package/dist/components/fieldset/Fieldset.css +22 -22
- package/dist/components/file-upload/FileUpload.css +128 -125
- package/dist/components/floating-panel/FloatingPanel.css +114 -110
- package/dist/components/heading/Heading.css +26 -26
- package/dist/components/highlight/Highlight.css +8 -8
- package/dist/components/hover-card/HoverCard.css +49 -47
- package/dist/components/image/Image.css +2 -2
- package/dist/components/image-cropper/ImageCropper.css +63 -60
- package/dist/components/input/Input.css +46 -45
- package/dist/components/input-group/InputGroup.css +71 -70
- package/dist/components/kbd/Kbd.css +16 -16
- package/dist/components/lightbox/Lightbox.css +80 -77
- package/dist/components/list/List.css +32 -32
- package/dist/components/listbox/Listbox.css +120 -117
- package/dist/components/marquee/Marquee.css +16 -16
- package/dist/components/menu/Menu.css +121 -120
- package/dist/components/native-select/NativeSelect.css +42 -41
- package/dist/components/number-input/NumberInput.css +59 -56
- package/dist/components/pagination/Pagination.css +35 -34
- package/dist/components/password-input/PasswordInput.css +60 -59
- package/dist/components/pin-input/PinInput.css +35 -35
- package/dist/components/popover/Popover.css +81 -77
- package/dist/components/progress-circular/ProgressCircular.css +20 -20
- package/dist/components/progress-linear/ProgressLinear.css +29 -28
- package/dist/components/qr-code/QrCode.css +39 -35
- package/dist/components/radio-group/RadioGroup.css +48 -48
- package/dist/components/rating-group/RatingGroup.css +30 -30
- package/dist/components/scroll-area/ScrollArea.css +34 -34
- package/dist/components/segment-group/SegmentGroup.css +37 -37
- package/dist/components/select/Select.css +118 -126
- package/dist/components/select/Select.d.ts +0 -5
- package/dist/components/select/Select.js +0 -8
- package/dist/components/select/Select.module.js +0 -1
- package/dist/components/separator/Separator.css +13 -13
- package/dist/components/sidebar/Sidebar.css +142 -142
- package/dist/components/signature-pad/SignaturePad.css +50 -50
- package/dist/components/skeleton/Skeleton.css +7 -5
- package/dist/components/slider/Slider.css +61 -61
- package/dist/components/spinner/Spinner.css +12 -12
- package/dist/components/split-button/SplitButton.css +12 -12
- package/dist/components/splitter/Splitter.css +63 -62
- package/dist/components/splitter/Splitter.js +2 -2
- package/dist/components/stack/Stack.css +4 -4
- package/dist/components/stack/Stack.js +3 -3
- package/dist/components/steps/Steps.css +89 -89
- package/dist/components/swap/Swap.css +7 -7
- package/dist/components/switch/Switch.css +59 -57
- package/dist/components/table/Table.css +58 -56
- package/dist/components/tabs/Tabs.css +64 -62
- package/dist/components/tag/Tag.css +45 -45
- package/dist/components/tags-input/TagsInput.css +92 -86
- package/dist/components/text/Text.css +23 -23
- package/dist/components/text/Text.js +1 -1
- package/dist/components/textarea/Textarea.css +27 -26
- package/dist/components/timer/Timer.css +38 -37
- package/dist/components/toast/Toast.css +94 -79
- package/dist/components/toggle/Toggle.css +66 -66
- package/dist/components/toggle-group/ToggleGroup.css +16 -16
- package/dist/components/tooltip/Tooltip.css +56 -53
- package/dist/components/tour/Tour.css +121 -117
- package/dist/components/tree-view/TreeView.css +88 -86
- package/dist/components/typeset/Typeset.css +61 -61
- package/dist/lib/moduix/presets/contrast.css +59 -60
- package/dist/lib/moduix/presets/dense.css +72 -73
- package/dist/lib/moduix/presets/soft.css +71 -72
- package/dist/lib/moduix/styles/reset.css +1 -1
- package/dist/lib/moduix/styles/style.css +230 -226
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.components {
|
|
2
2
|
._3r0tBa_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
isolation: isolate;
|
|
5
|
-
max-width: var(--segment-group-max-width, 100%);
|
|
5
|
+
max-width: var(--moduix-segment-group-max-width, 100%);
|
|
6
6
|
align-items: stretch;
|
|
7
|
-
gap: var(--segment-group-gap, var(--spacing-1));
|
|
8
|
-
padding: var(--segment-group-padding, var(--spacing-1));
|
|
9
|
-
border: var(--segment-group-border-width, var(--border-width-sm)) solid
|
|
10
|
-
var(--segment-group-border-color, var(--color-border));
|
|
11
|
-
border-radius: var(--segment-group-radius, var(--radius-lg));
|
|
12
|
-
background-color: var(--segment-group-bg, var(--color-muted));
|
|
13
|
-
color: var(--segment-group-color, var(--color-foreground));
|
|
7
|
+
gap: var(--moduix-segment-group-gap, var(--moduix-spacing-1));
|
|
8
|
+
padding: var(--moduix-segment-group-padding, var(--moduix-spacing-1));
|
|
9
|
+
border: var(--moduix-segment-group-border-width, var(--moduix-border-width-sm)) solid
|
|
10
|
+
var(--moduix-segment-group-border-color, var(--moduix-color-border));
|
|
11
|
+
border-radius: var(--moduix-segment-group-radius, var(--moduix-radius-lg));
|
|
12
|
+
background-color: var(--moduix-segment-group-bg, var(--moduix-color-muted));
|
|
13
|
+
color: var(--moduix-segment-group-color, var(--moduix-color-foreground));
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
position: relative;
|
|
16
16
|
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&[data-disabled] {
|
|
23
|
-
opacity: var(--segment-group-disabled-opacity, var(--opacity-disabled));
|
|
23
|
+
opacity: var(--moduix-segment-group-disabled-opacity, var(--moduix-opacity-disabled));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&[data-invalid] {
|
|
27
|
-
border-color: var(--segment-group-border-color-invalid, var(--color-destructive));
|
|
27
|
+
border-color: var(--moduix-segment-group-border-color-invalid, var(--moduix-color-destructive));
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
._3r0tBa_label {
|
|
32
32
|
z-index: 1;
|
|
33
|
-
color: var(--segment-group-label-color, var(--segment-group-color, var(--color-foreground)));
|
|
34
|
-
font-size: var(--segment-group-label-font-size, var(--text-sm));
|
|
35
|
-
font-weight: var(--segment-group-label-font-weight, var(--weight-semibold));
|
|
36
|
-
line-height: var(--segment-group-label-line-height, var(--line-height-text-sm));
|
|
33
|
+
color: var(--moduix-segment-group-label-color, var(--moduix-segment-group-color, var(--moduix-color-foreground)));
|
|
34
|
+
font-size: var(--moduix-segment-group-label-font-size, var(--moduix-text-sm));
|
|
35
|
+
font-weight: var(--moduix-segment-group-label-font-weight, var(--moduix-weight-semibold));
|
|
36
|
+
line-height: var(--moduix-segment-group-label-line-height, var(--moduix-line-height-text-sm));
|
|
37
37
|
user-select: none;
|
|
38
38
|
position: relative;
|
|
39
39
|
}
|
|
@@ -43,41 +43,41 @@
|
|
|
43
43
|
z-index: 1;
|
|
44
44
|
justify-content: center;
|
|
45
45
|
align-items: center;
|
|
46
|
-
gap: var(--segment-group-item-gap, var(--spacing-2));
|
|
47
|
-
min-height: var(--segment-group-item-height, var(--size-sm));
|
|
48
|
-
border-radius: var(--segment-group-item-radius, var(--radius-md));
|
|
49
|
-
padding-inline: var(--segment-group-item-padding-x, var(--spacing-3-5));
|
|
50
|
-
color: var(--segment-group-item-color, var(--color-muted-foreground));
|
|
51
|
-
font-size: var(--segment-group-item-font-size, var(--text-sm));
|
|
52
|
-
font-weight: var(--segment-group-item-font-weight, var(--weight-medium));
|
|
53
|
-
line-height: var(--segment-group-item-line-height, var(--line-height-text-sm));
|
|
46
|
+
gap: var(--moduix-segment-group-item-gap, var(--moduix-spacing-2));
|
|
47
|
+
min-height: var(--moduix-segment-group-item-height, var(--moduix-size-sm));
|
|
48
|
+
border-radius: var(--moduix-segment-group-item-radius, var(--moduix-radius-md));
|
|
49
|
+
padding-inline: var(--moduix-segment-group-item-padding-x, var(--moduix-spacing-3-5));
|
|
50
|
+
color: var(--moduix-segment-group-item-color, var(--moduix-color-muted-foreground));
|
|
51
|
+
font-size: var(--moduix-segment-group-item-font-size, var(--moduix-text-sm));
|
|
52
|
+
font-weight: var(--moduix-segment-group-item-font-weight, var(--moduix-weight-medium));
|
|
53
|
+
line-height: var(--moduix-segment-group-item-line-height, var(--moduix-line-height-text-sm));
|
|
54
54
|
user-select: none;
|
|
55
55
|
white-space: nowrap;
|
|
56
56
|
cursor: pointer;
|
|
57
|
-
transition: color var(--segment-group-transition, var(--transition-default)),
|
|
58
|
-
opacity var(--segment-group-transition, var(--transition-default));
|
|
57
|
+
transition: color var(--moduix-segment-group-transition, var(--moduix-transition-default)),
|
|
58
|
+
opacity var(--moduix-segment-group-transition, var(--moduix-transition-default));
|
|
59
59
|
outline: 0;
|
|
60
60
|
display: inline-flex;
|
|
61
61
|
position: relative;
|
|
62
62
|
|
|
63
63
|
@media (hover: hover) {
|
|
64
64
|
&:hover:not([data-readonly], [data-disabled]) {
|
|
65
|
-
color: var(--segment-group-item-color-hover, var(--color-foreground));
|
|
65
|
+
color: var(--moduix-segment-group-item-color-hover, var(--moduix-color-foreground));
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&[data-state="checked"] {
|
|
70
|
-
color: var(--segment-group-item-color-checked, var(--color-foreground));
|
|
70
|
+
color: var(--moduix-segment-group-item-color-checked, var(--moduix-color-foreground));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&[data-focus-visible] {
|
|
74
|
-
outline: var(--segment-group-focus-ring-width, var(--focus-ring-inset-width, var(--border-width-sm)))
|
|
75
|
-
solid var(--segment-group-focus-ring-color, var(--color-ring));
|
|
76
|
-
outline-offset: var(--segment-group-focus-ring-offset, var(--border-width-sm));
|
|
74
|
+
outline: var(--moduix-segment-group-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
75
|
+
solid var(--moduix-segment-group-focus-ring-color, var(--moduix-color-ring));
|
|
76
|
+
outline-offset: var(--moduix-segment-group-focus-ring-offset, var(--moduix-border-width-sm));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&[data-invalid][data-focus-visible] {
|
|
80
|
-
outline-color: var(--segment-group-focus-ring-color-invalid, var(--color-destructive));
|
|
80
|
+
outline-color: var(--moduix-segment-group-focus-ring-color-invalid, var(--moduix-color-destructive));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&[data-readonly], &[data-disabled] {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&[data-disabled] {
|
|
88
|
-
opacity: var(--segment-group-item-disabled-opacity, var(--opacity-disabled));
|
|
88
|
+
opacity: var(--moduix-segment-group-item-disabled-opacity, var(--moduix-opacity-disabled));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&[data-orientation="vertical"] {
|
|
@@ -104,16 +104,16 @@
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
._3r0tBa_indicator {
|
|
107
|
-
--transition-duration: var(--segment-group-indicator-transition-duration, var(--duration-normal));
|
|
108
|
-
--transition-timing-function: var(--segment-group-indicator-transition-timing-function, var(--ease-in-out));
|
|
107
|
+
--transition-duration: var(--moduix-segment-group-indicator-transition-duration, var(--moduix-duration-normal));
|
|
108
|
+
--transition-timing-function: var(--moduix-segment-group-indicator-transition-timing-function, var(--moduix-ease-in-out));
|
|
109
109
|
z-index: 0;
|
|
110
110
|
top: var(--top);
|
|
111
111
|
left: var(--left);
|
|
112
112
|
width: var(--width);
|
|
113
113
|
height: var(--height);
|
|
114
|
-
border-radius: var(--segment-group-indicator-radius, var(--radius-md));
|
|
115
|
-
background-color: var(--segment-group-indicator-bg, var(--color-background));
|
|
116
|
-
box-shadow: var(--segment-group-indicator-shadow, var(--shadow-sm));
|
|
114
|
+
border-radius: var(--moduix-segment-group-indicator-radius, var(--moduix-radius-md));
|
|
115
|
+
background-color: var(--moduix-segment-group-indicator-bg, var(--moduix-color-background));
|
|
116
|
+
box-shadow: var(--moduix-segment-group-indicator-shadow, var(--moduix-shadow-sm));
|
|
117
117
|
pointer-events: none;
|
|
118
118
|
position: absolute;
|
|
119
119
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.components {
|
|
2
2
|
@keyframes FGbIOa_select-content-open {
|
|
3
3
|
from {
|
|
4
|
-
opacity: var(--select-content-closed-opacity, var(--popup-motion-starting-opacity, 0));
|
|
5
|
-
translate: var(--popup-motion-starting-translate-x, 0)
|
|
6
|
-
var(--popup-motion-starting-translate-y, 0);
|
|
7
|
-
transform: scale(var(--select-content-closed-scale, var(--popup-motion-starting-scale, var(--scale-popup))));
|
|
4
|
+
opacity: var(--moduix-select-content-closed-opacity, var(--moduix-popup-motion-starting-opacity, 0));
|
|
5
|
+
translate: var(--moduix-popup-motion-starting-translate-x, 0)
|
|
6
|
+
var(--moduix-popup-motion-starting-translate-y, 0);
|
|
7
|
+
transform: scale(var(--moduix-select-content-closed-scale, var(--moduix-popup-motion-starting-scale, var(--moduix-scale-popup))));
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
to {
|
|
@@ -20,47 +20,48 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
to {
|
|
23
|
-
opacity: var(--select-content-closed-opacity, var(--popup-motion-ending-opacity, 0));
|
|
24
|
-
translate: var(--popup-motion-ending-translate-x, 0)
|
|
25
|
-
|
|
23
|
+
opacity: var(--moduix-select-content-closed-opacity, var(--moduix-popup-motion-ending-opacity, 0));
|
|
24
|
+
translate: var(--moduix-popup-motion-ending-translate-x, 0)
|
|
25
|
+
var(--moduix-popup-motion-ending-translate-y, 0);
|
|
26
|
+
transform: scale(var(--moduix-select-content-closed-scale, var(--moduix-popup-motion-ending-scale, var(--moduix-scale-popup))));
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
.FGbIOa_root {
|
|
30
31
|
box-sizing: border-box;
|
|
31
|
-
width: var(--select-width, 14rem);
|
|
32
|
-
max-width: var(--select-max-width, 100%);
|
|
33
|
-
gap: var(--select-root-gap, var(--spacing-1-5));
|
|
32
|
+
width: var(--moduix-select-width, 14rem);
|
|
33
|
+
max-width: var(--moduix-select-max-width, 100%);
|
|
34
|
+
gap: var(--moduix-select-root-gap, var(--moduix-spacing-1-5));
|
|
34
35
|
min-width: 0;
|
|
35
|
-
color: var(--select-color, var(--color-foreground));
|
|
36
|
+
color: var(--moduix-select-color, var(--moduix-color-foreground));
|
|
36
37
|
flex-direction: column;
|
|
37
38
|
display: flex;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
.FGbIOa_label {
|
|
41
|
-
color: var(--select-label-color, var(--select-color, var(--color-foreground)));
|
|
42
|
-
font-size: var(--select-label-font-size, var(--text-sm));
|
|
43
|
-
font-weight: var(--select-label-font-weight, var(--weight-medium));
|
|
44
|
-
line-height: var(--select-label-line-height, var(--line-height-text-sm));
|
|
42
|
+
color: var(--moduix-select-label-color, var(--moduix-select-color, var(--moduix-color-foreground)));
|
|
43
|
+
font-size: var(--moduix-select-label-font-size, var(--moduix-text-sm));
|
|
44
|
+
font-weight: var(--moduix-select-label-font-weight, var(--moduix-weight-medium));
|
|
45
|
+
line-height: var(--moduix-select-label-line-height, var(--moduix-line-height-text-sm));
|
|
45
46
|
user-select: none;
|
|
46
47
|
align-items: center;
|
|
47
48
|
display: inline-flex;
|
|
48
49
|
|
|
49
50
|
&[data-disabled] {
|
|
50
|
-
opacity: var(--select-disabled-opacity, var(--opacity-disabled));
|
|
51
|
+
opacity: var(--moduix-select-disabled-opacity, var(--moduix-opacity-disabled));
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.FGbIOa_control {
|
|
55
56
|
width: 100%;
|
|
56
57
|
min-width: 0;
|
|
57
|
-
color: var(--select-color, var(--color-foreground));
|
|
58
|
+
color: var(--moduix-select-color, var(--moduix-color-foreground));
|
|
58
59
|
align-items: center;
|
|
59
60
|
display: flex;
|
|
60
61
|
position: relative;
|
|
61
62
|
|
|
62
63
|
&[data-disabled] {
|
|
63
|
-
opacity: var(--select-disabled-opacity, var(--opacity-disabled));
|
|
64
|
+
opacity: var(--moduix-select-disabled-opacity, var(--moduix-opacity-disabled));
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
|
|
@@ -68,26 +69,27 @@
|
|
|
68
69
|
box-sizing: border-box;
|
|
69
70
|
width: 100%;
|
|
70
71
|
min-width: 0;
|
|
71
|
-
height: var(--select-control-height, var(--size-md));
|
|
72
|
-
border: var(--select-border-width, var(--border-width-sm)) solid
|
|
73
|
-
var(--select-border-color, var(--color-border));
|
|
74
|
-
border-radius: var(--select-radius, var(--radius-md));
|
|
75
|
-
padding-inline: var(--select-trigger-padding-x-start, var(--spacing-3-5))
|
|
76
|
-
calc(var(--select-action-offset-right, var(--spacing-2)) +
|
|
77
|
-
var(--select-action-size, var(--size-xs)) +
|
|
78
|
-
var(--select-trigger-padding-x-start, var(--spacing-3-5)));
|
|
79
|
-
background-color: var(--select-bg, var(--color-background));
|
|
72
|
+
height: var(--moduix-select-control-height, var(--moduix-size-md));
|
|
73
|
+
border: var(--moduix-select-border-width, var(--moduix-border-width-sm)) solid
|
|
74
|
+
var(--moduix-select-border-color, var(--moduix-color-border));
|
|
75
|
+
border-radius: var(--moduix-select-radius, var(--moduix-radius-md));
|
|
76
|
+
padding-inline: var(--moduix-select-trigger-padding-x-start, var(--moduix-spacing-3-5))
|
|
77
|
+
calc(var(--moduix-select-action-offset-right, var(--moduix-spacing-2)) +
|
|
78
|
+
var(--moduix-select-action-size, var(--moduix-size-xs)) +
|
|
79
|
+
var(--moduix-select-trigger-padding-x-start, var(--moduix-spacing-3-5)));
|
|
80
|
+
background-color: var(--moduix-select-bg, var(--moduix-color-background));
|
|
80
81
|
color: inherit;
|
|
81
82
|
font: inherit;
|
|
82
83
|
text-align: start;
|
|
83
|
-
outline: var(--select-focus-ring-width, var(--focus-ring-inset-width, var(--border-width-sm)))
|
|
84
|
+
outline: var(--moduix-select-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
84
85
|
solid transparent;
|
|
85
|
-
outline-offset: calc(var(--select-focus-ring-width, var(--focus-ring-inset-width, var(--border-width-sm))) *
|
|
86
|
+
outline-offset: calc(var(--moduix-select-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
87
|
+
-1);
|
|
86
88
|
cursor: pointer;
|
|
87
89
|
user-select: none;
|
|
88
|
-
transition: background-color var(--select-transition, var(--transition-default)),
|
|
89
|
-
border-color var(--select-transition, var(--transition-default)),
|
|
90
|
-
outline-color var(--select-transition, var(--transition-default));
|
|
90
|
+
transition: background-color var(--moduix-select-transition, var(--moduix-transition-default)),
|
|
91
|
+
border-color var(--moduix-select-transition, var(--moduix-transition-default)),
|
|
92
|
+
outline-color var(--moduix-select-transition, var(--moduix-transition-default));
|
|
91
93
|
justify-content: flex-start;
|
|
92
94
|
align-items: center;
|
|
93
95
|
margin: 0;
|
|
@@ -95,31 +97,31 @@
|
|
|
95
97
|
position: relative;
|
|
96
98
|
|
|
97
99
|
&[data-placeholder-shown] {
|
|
98
|
-
color: var(--select-placeholder-color, var(--color-muted-foreground));
|
|
100
|
+
color: var(--moduix-select-placeholder-color, var(--moduix-color-muted-foreground));
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
&[data-state="open"] {
|
|
102
|
-
border-color: var(--select-focus-ring-color, var(--color-ring));
|
|
103
|
-
outline-color: var(--select-focus-ring-color, var(--color-ring));
|
|
104
|
+
border-color: var(--moduix-select-focus-ring-color, var(--moduix-color-ring));
|
|
105
|
+
outline-color: var(--moduix-select-focus-ring-color, var(--moduix-color-ring));
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
&[data-disabled], &[disabled] {
|
|
107
109
|
cursor: default;
|
|
108
110
|
}
|
|
109
111
|
|
|
110
|
-
|
|
111
|
-
border-color: var(--select-focus-ring-color, var(--color-ring));
|
|
112
|
-
outline-color: var(--select-focus-ring-color, var(--color-ring));
|
|
112
|
+
&:focus-visible {
|
|
113
|
+
border-color: var(--moduix-select-focus-ring-color, var(--moduix-color-ring));
|
|
114
|
+
outline-color: var(--moduix-select-focus-ring-color, var(--moduix-color-ring));
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
.FGbIOa_control[data-invalid] & {
|
|
116
|
-
border-color: var(--select-invalid-color, var(--color-destructive));
|
|
117
|
-
outline-color: var(--select-invalid-color, var(--color-destructive));
|
|
118
|
+
border-color: var(--moduix-select-invalid-color, var(--moduix-color-destructive));
|
|
119
|
+
outline-color: var(--moduix-select-invalid-color, var(--moduix-color-destructive));
|
|
118
120
|
}
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
.FGbIOa_control:has(.FGbIOa_clearTrigger:not([hidden])) .FGbIOa_trigger {
|
|
122
|
-
padding-inline-end: var(--select-trigger-padding-x-end, 4.25rem);
|
|
124
|
+
padding-inline-end: var(--moduix-select-trigger-padding-x-end, 4.25rem);
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
.FGbIOa_valueText {
|
|
@@ -130,28 +132,16 @@
|
|
|
130
132
|
overflow: hidden;
|
|
131
133
|
}
|
|
132
134
|
|
|
133
|
-
.FGbIOa_indicators {
|
|
134
|
-
top: 50%;
|
|
135
|
-
align-items: center;
|
|
136
|
-
gap: var(--select-action-gap, var(--spacing-0-5));
|
|
137
|
-
pointer-events: none;
|
|
138
|
-
line-height: 0;
|
|
139
|
-
display: inline-flex;
|
|
140
|
-
position: absolute;
|
|
141
|
-
inset-inline-end: var(--select-action-offset-right, var(--spacing-2));
|
|
142
|
-
transform: translateY(-50%);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
135
|
.FGbIOa_indicator {
|
|
146
136
|
box-sizing: border-box;
|
|
147
|
-
width: var(--select-action-size, var(--size-xs));
|
|
148
|
-
height: var(--select-action-size, var(--size-xs));
|
|
149
|
-
border-radius: var(--select-action-radius, var(--radius-sm));
|
|
150
|
-
background: var(--select-action-bg, transparent);
|
|
151
|
-
color: var(--select-icon-color, var(--color-muted-foreground));
|
|
152
|
-
transition: background-color var(--select-transition, var(--transition-default)),
|
|
153
|
-
color var(--select-transition, var(--transition-default)),
|
|
154
|
-
opacity var(--select-transition, var(--transition-default));
|
|
137
|
+
width: var(--moduix-select-action-size, var(--moduix-size-xs));
|
|
138
|
+
height: var(--moduix-select-action-size, var(--moduix-size-xs));
|
|
139
|
+
border-radius: var(--moduix-select-action-radius, var(--moduix-radius-sm));
|
|
140
|
+
background: var(--moduix-select-action-bg, transparent);
|
|
141
|
+
color: var(--moduix-select-icon-color, var(--moduix-color-muted-foreground));
|
|
142
|
+
transition: background-color var(--moduix-select-transition, var(--moduix-transition-default)),
|
|
143
|
+
color var(--moduix-select-transition, var(--moduix-transition-default)),
|
|
144
|
+
opacity var(--moduix-select-transition, var(--moduix-transition-default));
|
|
155
145
|
border: 0;
|
|
156
146
|
flex-shrink: 0;
|
|
157
147
|
justify-content: center;
|
|
@@ -162,8 +152,8 @@
|
|
|
162
152
|
display: inline-flex;
|
|
163
153
|
|
|
164
154
|
& > svg {
|
|
165
|
-
width: var(--select-icon-size, var(--spacing-4));
|
|
166
|
-
height: var(--select-icon-size, var(--spacing-4));
|
|
155
|
+
width: var(--moduix-select-icon-size, var(--moduix-spacing-4));
|
|
156
|
+
height: var(--moduix-select-icon-size, var(--moduix-spacing-4));
|
|
167
157
|
display: block;
|
|
168
158
|
}
|
|
169
159
|
|
|
@@ -181,29 +171,29 @@
|
|
|
181
171
|
}
|
|
182
172
|
|
|
183
173
|
.FGbIOa_trigger > .FGbIOa_indicator {
|
|
184
|
-
top: 50%;
|
|
185
174
|
pointer-events: auto;
|
|
175
|
+
top: 50%;
|
|
186
176
|
position: absolute;
|
|
187
|
-
inset-inline-end: var(--select-action-offset-right, var(--spacing-2));
|
|
177
|
+
inset-inline-end: var(--moduix-select-action-offset-right, var(--moduix-spacing-2));
|
|
188
178
|
transform: translateY(-50%);
|
|
189
179
|
}
|
|
190
180
|
|
|
191
181
|
.FGbIOa_trigger > .FGbIOa_indicator:not(:is([data-disabled], [disabled])):hover {
|
|
192
182
|
@media (hover: hover) {
|
|
193
|
-
background-color: var(--select-action-bg-hover, var(--color-muted));
|
|
194
|
-
color: var(--select-action-color-hover, var(--color-foreground));
|
|
183
|
+
background-color: var(--moduix-select-action-bg-hover, var(--moduix-color-muted));
|
|
184
|
+
color: var(--moduix-select-action-color-hover, var(--moduix-color-foreground));
|
|
195
185
|
}
|
|
196
186
|
}
|
|
197
187
|
|
|
198
188
|
.FGbIOa_clearTrigger {
|
|
199
|
-
--close-button-size: var(--select-action-size, var(--size-xs));
|
|
200
|
-
--close-button-icon-size: var(--select-icon-size, var(--spacing-4));
|
|
201
|
-
--close-button-radius: var(--select-action-radius, var(--radius-sm));
|
|
202
|
-
--close-button-bg: var(--select-action-bg, transparent);
|
|
203
|
-
--close-button-bg-hover: var(--select-action-bg-hover, var(--color-muted));
|
|
204
|
-
--close-button-color: var(--select-icon-color, var(--color-muted-foreground));
|
|
205
|
-
--close-button-color-hover: var(--select-action-color-hover, var(--color-foreground));
|
|
206
|
-
--close-button-transition: var(--select-transition, var(--transition-default));
|
|
189
|
+
--moduix-close-button-size: var(--moduix-select-action-size, var(--moduix-size-xs));
|
|
190
|
+
--moduix-close-button-icon-size: var(--moduix-select-icon-size, var(--moduix-spacing-4));
|
|
191
|
+
--moduix-close-button-radius: var(--moduix-select-action-radius, var(--moduix-radius-sm));
|
|
192
|
+
--moduix-close-button-bg: var(--moduix-select-action-bg, transparent);
|
|
193
|
+
--moduix-close-button-bg-hover: var(--moduix-select-action-bg-hover, var(--moduix-color-muted));
|
|
194
|
+
--moduix-close-button-color: var(--moduix-select-icon-color, var(--moduix-color-muted-foreground));
|
|
195
|
+
--moduix-close-button-color-hover: var(--moduix-select-action-color-hover, var(--moduix-color-foreground));
|
|
196
|
+
--moduix-close-button-transition: var(--moduix-select-transition, var(--moduix-transition-default));
|
|
207
197
|
pointer-events: auto;
|
|
208
198
|
|
|
209
199
|
&[hidden] {
|
|
@@ -214,8 +204,9 @@
|
|
|
214
204
|
.FGbIOa_control > .FGbIOa_clearTrigger {
|
|
215
205
|
top: 50%;
|
|
216
206
|
position: absolute;
|
|
217
|
-
inset-inline-end: calc(var(--select-action-offset-right, var(--spacing-2)) +
|
|
218
|
-
var(--select-action-size, var(--size-xs)) +
|
|
207
|
+
inset-inline-end: calc(var(--moduix-select-action-offset-right, var(--moduix-spacing-2)) +
|
|
208
|
+
var(--moduix-select-action-size, var(--moduix-size-xs)) +
|
|
209
|
+
var(--moduix-select-action-gap, var(--moduix-spacing-0-5)));
|
|
219
210
|
transform: translateY(-50%);
|
|
220
211
|
}
|
|
221
212
|
|
|
@@ -226,20 +217,20 @@
|
|
|
226
217
|
|
|
227
218
|
.FGbIOa_content {
|
|
228
219
|
box-sizing: border-box;
|
|
229
|
-
z-index: calc(var(--z-popup) + var(--layer-index, 0));
|
|
220
|
+
z-index: calc(var(--moduix-z-popup) + var(--layer-index, 0));
|
|
230
221
|
min-width: var(--reference-width);
|
|
231
222
|
max-width: var(--available-width);
|
|
232
|
-
max-height: min(var(--select-content-max-height, 24rem), var(--available-height));
|
|
233
|
-
border: var(--select-content-border-width, var(--border-width-sm)) solid
|
|
234
|
-
var(--select-content-border-color, var(--color-border));
|
|
235
|
-
border-radius: var(--select-radius, var(--radius-md));
|
|
236
|
-
padding-block: var(--select-content-padding-y, var(--popup-list-padding-y, var(--spacing-1)));
|
|
237
|
-
background-color: var(--select-content-bg, var(--color-popover));
|
|
238
|
-
box-shadow: var(--select-content-shadow, var(--shadow-lg));
|
|
239
|
-
color: var(--select-content-color, var(--color-popover-foreground));
|
|
223
|
+
max-height: min(var(--moduix-select-content-max-height, 24rem), var(--available-height));
|
|
224
|
+
border: var(--moduix-select-content-border-width, var(--moduix-border-width-sm)) solid
|
|
225
|
+
var(--moduix-select-content-border-color, var(--moduix-color-border));
|
|
226
|
+
border-radius: var(--moduix-select-radius, var(--moduix-radius-md));
|
|
227
|
+
padding-block: var(--moduix-select-content-padding-y, var(--moduix-popup-list-padding-y, var(--moduix-spacing-1)));
|
|
228
|
+
background-color: var(--moduix-select-content-bg, var(--moduix-color-popover));
|
|
229
|
+
box-shadow: var(--moduix-select-content-shadow, var(--moduix-shadow-lg));
|
|
230
|
+
color: var(--moduix-select-content-color, var(--moduix-color-popover-foreground));
|
|
240
231
|
transform-origin: var(--transform-origin);
|
|
241
232
|
overscroll-behavior: contain;
|
|
242
|
-
scroll-padding-block: var(--select-content-padding-y, var(--spacing-1));
|
|
233
|
+
scroll-padding-block: var(--moduix-select-content-padding-y, var(--moduix-spacing-1));
|
|
243
234
|
outline: 0;
|
|
244
235
|
flex-direction: column;
|
|
245
236
|
display: flex;
|
|
@@ -247,14 +238,14 @@
|
|
|
247
238
|
|
|
248
239
|
&[data-state="open"] {
|
|
249
240
|
animation: FGbIOa_select-content-open
|
|
250
|
-
var(--select-transition, var(--popup-motion-duration, var(--duration-normal))
|
|
251
|
-
var(--popup-motion-easing, var(--ease-in-out)));
|
|
241
|
+
var(--moduix-select-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
242
|
+
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
|
|
252
243
|
}
|
|
253
244
|
|
|
254
245
|
&[data-state="closed"] {
|
|
255
246
|
animation: FGbIOa_select-content-closed
|
|
256
|
-
var(--select-transition, var(--popup-motion-duration, var(--duration-normal))
|
|
257
|
-
var(--popup-motion-easing, var(--ease-in-out)));
|
|
247
|
+
var(--moduix-select-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
248
|
+
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
|
|
258
249
|
pointer-events: none;
|
|
259
250
|
}
|
|
260
251
|
}
|
|
@@ -262,7 +253,7 @@
|
|
|
262
253
|
.FGbIOa_list {
|
|
263
254
|
overscroll-behavior: contain;
|
|
264
255
|
min-height: 0;
|
|
265
|
-
scroll-padding-block: var(--select-content-padding-y, var(--spacing-1));
|
|
256
|
+
scroll-padding-block: var(--moduix-select-content-padding-y, var(--moduix-spacing-1));
|
|
266
257
|
outline: 0;
|
|
267
258
|
flex-direction: column;
|
|
268
259
|
display: flex;
|
|
@@ -274,36 +265,37 @@
|
|
|
274
265
|
display: flex;
|
|
275
266
|
|
|
276
267
|
& + & {
|
|
277
|
-
margin-top: var(--select-item-group-gap, var(--spacing-2));
|
|
268
|
+
margin-top: var(--moduix-select-item-group-gap, var(--moduix-spacing-2));
|
|
278
269
|
}
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
.FGbIOa_itemGroupLabel {
|
|
282
|
-
padding-block: var(--select-item-group-label-padding-y, var(--popup-group-label-padding-y, var(--spacing-1)));
|
|
283
|
-
padding-inline: var(--select-item-group-label-padding-x, var(--spacing-2-5));
|
|
284
|
-
color: var(--select-item-group-label-color, var(--popup-group-label-color, var(--color-muted-foreground)));
|
|
285
|
-
font-size: var(--select-item-group-label-font-size, var(--popup-group-label-font-size, var(--text-xs)));
|
|
286
|
-
font-weight: var(--select-item-group-label-font-weight, var(--popup-group-label-font-weight, var(--weight-regular)));
|
|
287
|
-
line-height: var(--select-item-group-label-line-height, var(--popup-group-label-line-height, var(--line-height-text-xs)));
|
|
273
|
+
padding-block: var(--moduix-select-item-group-label-padding-y, var(--moduix-popup-group-label-padding-y, var(--moduix-spacing-1)));
|
|
274
|
+
padding-inline: var(--moduix-select-item-group-label-padding-x, var(--moduix-spacing-2-5));
|
|
275
|
+
color: var(--moduix-select-item-group-label-color, var(--moduix-popup-group-label-color, var(--moduix-color-muted-foreground)));
|
|
276
|
+
font-size: var(--moduix-select-item-group-label-font-size, var(--moduix-popup-group-label-font-size, var(--moduix-text-xs)));
|
|
277
|
+
font-weight: var(--moduix-select-item-group-label-font-weight, var(--moduix-popup-group-label-font-weight, var(--moduix-weight-regular)));
|
|
278
|
+
line-height: var(--moduix-select-item-group-label-line-height, var(--moduix-popup-group-label-line-height, var(--moduix-line-height-text-xs)));
|
|
288
279
|
}
|
|
289
280
|
|
|
290
281
|
.FGbIOa_item {
|
|
291
282
|
box-sizing: border-box;
|
|
292
|
-
width: calc(100% - var(--select-item-inset-x, var(--spacing-2)));
|
|
293
|
-
min-height: var(--select-item-min-height, var(--popup-item-min-height, var(--size-sm)));
|
|
283
|
+
width: calc(100% - var(--moduix-select-item-inset-x, var(--moduix-spacing-2)));
|
|
284
|
+
min-height: var(--moduix-select-item-min-height, var(--moduix-popup-item-min-height, var(--moduix-size-sm)));
|
|
294
285
|
justify-content: space-between;
|
|
295
286
|
align-items: center;
|
|
296
|
-
gap: var(--select-item-gap, var(--spacing-2));
|
|
297
|
-
margin-inline: calc(var(--select-item-inset-x, var(--spacing-2)) / 2);
|
|
298
|
-
border: var(--select-item-border-width, 0) solid
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
padding-
|
|
302
|
-
|
|
303
|
-
color: var(--select-item-
|
|
287
|
+
gap: var(--moduix-select-item-gap, var(--moduix-spacing-2));
|
|
288
|
+
margin-inline: calc(var(--moduix-select-item-inset-x, var(--moduix-spacing-2)) / 2);
|
|
289
|
+
border: var(--moduix-select-item-border-width, 0) solid
|
|
290
|
+
var(--moduix-select-item-border-color, transparent);
|
|
291
|
+
border-radius: var(--moduix-select-item-radius, var(--moduix-radius-sm));
|
|
292
|
+
padding-block: var(--moduix-select-item-padding-y, var(--moduix-popup-item-padding-y, var(--moduix-spacing-1)));
|
|
293
|
+
padding-inline: var(--moduix-select-item-padding-x, var(--moduix-popup-item-padding-x-start, var(--moduix-spacing-3)));
|
|
294
|
+
background-color: var(--moduix-select-item-bg, transparent);
|
|
295
|
+
color: var(--moduix-select-item-color, var(--moduix-select-content-color, var(--moduix-color-foreground)));
|
|
304
296
|
font: inherit;
|
|
305
|
-
font-size: var(--select-item-font-size, var(--popup-item-font-size, var(--text-sm)));
|
|
306
|
-
line-height: var(--select-item-line-height, var(--popup-item-line-height, var(--line-height-text-sm)));
|
|
297
|
+
font-size: var(--moduix-select-item-font-size, var(--moduix-popup-item-font-size, var(--moduix-text-sm)));
|
|
298
|
+
line-height: var(--moduix-select-item-line-height, var(--moduix-popup-item-line-height, var(--moduix-line-height-text-sm)));
|
|
307
299
|
user-select: none;
|
|
308
300
|
cursor: default;
|
|
309
301
|
outline: 0;
|
|
@@ -311,18 +303,18 @@
|
|
|
311
303
|
position: relative;
|
|
312
304
|
|
|
313
305
|
&[data-highlighted] {
|
|
314
|
-
background-color: var(--select-highlight-bg, var(--color-accent));
|
|
315
|
-
color: var(--select-highlight-color, var(--color-accent-foreground));
|
|
306
|
+
background-color: var(--moduix-select-highlight-bg, var(--moduix-color-accent));
|
|
307
|
+
color: var(--moduix-select-highlight-color, var(--moduix-color-accent-foreground));
|
|
316
308
|
}
|
|
317
309
|
|
|
318
310
|
&[data-state="checked"] {
|
|
319
|
-
color: var(--select-item-checked-color, var(--select-item-color, var(--color-foreground)));
|
|
311
|
+
color: var(--moduix-select-item-checked-color, var(--moduix-select-item-color, var(--moduix-color-foreground)));
|
|
320
312
|
}
|
|
321
313
|
|
|
322
314
|
&[data-disabled] {
|
|
323
315
|
pointer-events: none;
|
|
324
|
-
color: var(--select-item-disabled-color, var(--color-muted-foreground));
|
|
325
|
-
opacity: var(--select-disabled-opacity, var(--opacity-disabled));
|
|
316
|
+
color: var(--moduix-select-item-disabled-color, var(--moduix-color-muted-foreground));
|
|
317
|
+
opacity: var(--moduix-select-disabled-opacity, var(--moduix-opacity-disabled));
|
|
326
318
|
}
|
|
327
319
|
}
|
|
328
320
|
|
|
@@ -335,23 +327,23 @@
|
|
|
335
327
|
}
|
|
336
328
|
|
|
337
329
|
.FGbIOa_itemIndicator {
|
|
338
|
-
width: var(--select-item-indicator-size, var(--spacing-3-5));
|
|
339
|
-
height: var(--select-item-indicator-size, var(--spacing-3-5));
|
|
340
|
-
color: var(--select-item-indicator-color, currentColor);
|
|
330
|
+
width: var(--moduix-select-item-indicator-size, var(--moduix-spacing-3-5));
|
|
331
|
+
height: var(--moduix-select-item-indicator-size, var(--moduix-spacing-3-5));
|
|
332
|
+
color: var(--moduix-select-item-indicator-color, currentColor);
|
|
341
333
|
flex-shrink: 0;
|
|
342
334
|
justify-content: center;
|
|
343
335
|
align-items: center;
|
|
344
336
|
display: inline-flex;
|
|
345
337
|
|
|
346
338
|
& > svg {
|
|
347
|
-
width: var(--select-item-indicator-icon-size, var(--spacing-3));
|
|
348
|
-
height: var(--select-item-indicator-icon-size, var(--spacing-3));
|
|
339
|
+
width: var(--moduix-select-item-indicator-icon-size, var(--moduix-spacing-3));
|
|
340
|
+
height: var(--moduix-select-item-indicator-icon-size, var(--moduix-spacing-3));
|
|
349
341
|
}
|
|
350
342
|
}
|
|
351
343
|
|
|
352
344
|
.FGbIOa_itemTextContent {
|
|
353
345
|
align-items: center;
|
|
354
|
-
gap: var(--select-item-text-content-gap, var(--spacing-2));
|
|
346
|
+
gap: var(--moduix-select-item-text-content-gap, var(--moduix-spacing-2));
|
|
355
347
|
vertical-align: top;
|
|
356
348
|
min-width: 0;
|
|
357
349
|
max-width: 100%;
|
|
@@ -359,9 +351,9 @@
|
|
|
359
351
|
}
|
|
360
352
|
|
|
361
353
|
.FGbIOa_itemTextIcon {
|
|
362
|
-
width: var(--select-item-text-icon-size, var(--spacing-4));
|
|
363
|
-
height: var(--select-item-text-icon-size, var(--spacing-4));
|
|
364
|
-
color: var(--select-item-text-icon-color, currentColor);
|
|
354
|
+
width: var(--moduix-select-item-text-icon-size, var(--moduix-spacing-4));
|
|
355
|
+
height: var(--moduix-select-item-text-icon-size, var(--moduix-spacing-4));
|
|
356
|
+
color: var(--moduix-select-item-text-icon-color, currentColor);
|
|
365
357
|
flex-shrink: 0;
|
|
366
358
|
justify-content: center;
|
|
367
359
|
align-items: center;
|
|
@@ -14,10 +14,6 @@ type SelectFieldProps = Omit<ComponentProps<typeof Select.Control>, 'asChild' |
|
|
|
14
14
|
indicator?: ReactNode;
|
|
15
15
|
placeholder?: ComponentProps<typeof Select.ValueText>['placeholder'];
|
|
16
16
|
};
|
|
17
|
-
declare function SelectIndicators({
|
|
18
|
-
className,
|
|
19
|
-
...props
|
|
20
|
-
}: ComponentProps<'div'>): import("react").JSX.Element;
|
|
21
17
|
declare function SelectItemTextContent({
|
|
22
18
|
className,
|
|
23
19
|
...props
|
|
@@ -45,7 +41,6 @@ declare const Select$1: SelectRootComponent$1 & {
|
|
|
45
41
|
ValueText: import("react").ForwardRefExoticComponent<Omit<Select.ValueTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
46
42
|
ClearTrigger: import("react").ForwardRefExoticComponent<Omit<Select.ClearTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
47
43
|
Indicator: import("react").ForwardRefExoticComponent<Omit<Select.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
48
|
-
Indicators: typeof SelectIndicators;
|
|
49
44
|
Positioner: import("react").ForwardRefExoticComponent<Omit<Select.PositionerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
50
45
|
Content: import("react").ForwardRefExoticComponent<Omit<Select.ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
51
46
|
List: import("react").ForwardRefExoticComponent<Omit<Select.ListProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -103,13 +103,6 @@ const SelectIndicator = forwardRef(function SelectIndicator({ className, childre
|
|
|
103
103
|
children: children ?? /* @__PURE__ */ jsx(ChevronUpDownIcon, {})
|
|
104
104
|
});
|
|
105
105
|
});
|
|
106
|
-
function SelectIndicators({ className, ...props }) {
|
|
107
|
-
return /* @__PURE__ */ jsx("div", {
|
|
108
|
-
"data-slot": "select-indicators",
|
|
109
|
-
className: clsx(Select_module_default.indicators, normalizeClassName(className)),
|
|
110
|
-
...props
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
106
|
const SelectField = forwardRef(function SelectField({ clearLabel, indicator, placeholder, ...props }, ref) {
|
|
114
107
|
return /* @__PURE__ */ jsxs(SelectControl, {
|
|
115
108
|
ref,
|
|
@@ -238,7 +231,6 @@ const Select$1 = Object.assign(SelectRoot, {
|
|
|
238
231
|
ValueText: SelectValueText,
|
|
239
232
|
ClearTrigger: SelectClearTrigger,
|
|
240
233
|
Indicator: SelectIndicator,
|
|
241
|
-
Indicators: SelectIndicators,
|
|
242
234
|
Positioner: SelectPositioner,
|
|
243
235
|
Content: SelectContent,
|
|
244
236
|
List: SelectList,
|
|
@@ -5,7 +5,6 @@ var Select_module_default = {
|
|
|
5
5
|
"content": "FGbIOa_content",
|
|
6
6
|
"control": "FGbIOa_control",
|
|
7
7
|
"indicator": "FGbIOa_indicator",
|
|
8
|
-
"indicators": "FGbIOa_indicators",
|
|
9
8
|
"item": "FGbIOa_item",
|
|
10
9
|
"itemGroup": "FGbIOa_itemGroup",
|
|
11
10
|
"itemGroupLabel": "FGbIOa_itemGroupLabel",
|