@spear-ai/spectral 1.9.0 → 1.10.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 +6 -5
- package/dist/.js +112 -239
- package/dist/Accordion-CDXdSAST.js +363 -0
- package/dist/Accordion.js +3 -498
- package/dist/Alert/AlertBase.js +69 -152
- package/dist/Alert.js +58 -106
- package/dist/AnimatePresence-D-9jXfgI.js +178 -0
- package/dist/App.js +6 -6
- package/dist/Avatar.js +83 -65
- package/dist/Badge.d.ts +1 -3
- package/dist/Badge.js +21 -25
- package/dist/Button.js +102 -178
- package/dist/ButtonGroup/ButtonGroupButton.js +38 -40
- package/dist/ButtonGroup.js +55 -59
- package/dist/ButtonIcon.js +58 -134
- package/dist/Calendar-s4lyijkn.js +3109 -0
- package/dist/Checkbox/CheckboxBase.js +94 -126
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +40 -105
- package/dist/Combobox/ComboboxBase.js +2 -79
- package/dist/Combobox.js +106 -172
- package/dist/ComboboxBase-D8Nf4xC-.js +491 -0
- package/dist/ControlGroup/ControlGroupSelect.d.ts +1 -1
- package/dist/ControlGroup/ControlGroupSelect.js +85 -101
- package/dist/ControlGroup.js +45 -48
- package/dist/DataCard/Card.js +37 -12
- package/dist/DataCard.d.ts +1 -1
- package/dist/DataCard.js +36 -16
- package/dist/DateTimePicker/Calendar.js +2 -2967
- package/dist/DateTimePicker/DateTimeDisplayInput.d.ts +1 -1
- package/dist/DateTimePicker/DateTimeDisplayInput.js +379 -274
- package/dist/DateTimePicker/DateTimeInput.d.ts +5 -3
- package/dist/DateTimePicker/DateTimeInput.js +133 -88
- package/dist/DateTimePicker/DateTimeUtils.js +2 -2193
- package/dist/DateTimePicker/TimePeriodSelect.d.ts +1 -1
- package/dist/DateTimePicker/TimePeriodSelect.js +45 -20
- package/dist/DateTimePicker/TimePicker.d.ts +1 -1
- package/dist/DateTimePicker/TimePicker.js +76 -60
- package/dist/DateTimePicker.d.ts +2 -2
- package/dist/DateTimePicker.js +87 -205
- package/dist/DateTimeUtils-DVvG6H-p.js +2098 -0
- package/dist/Dialog.js +74 -74
- package/dist/Drawer.js +67 -37
- package/dist/HoverCard-CYDsIiVK.js +201 -0
- package/dist/HoverCard.d.ts +1 -1
- package/dist/HoverCard.js +2 -218
- package/dist/Icons/AnalyzeIcon.js +50 -57
- package/dist/Icons/AnnotationsIcon.js +20 -15
- package/dist/Icons/ApprovedIcon.js +26 -18
- package/dist/Icons/ArrowDownIcon.js +20 -6
- package/dist/Icons/ArrowUpIcon.js +20 -6
- package/dist/Icons/BoxToolIcon.js +17 -12
- package/dist/Icons/CalendarIcon.js +43 -20
- package/dist/Icons/CheckCircleIcon.js +26 -10
- package/dist/Icons/CheckSquareIcon.js +26 -10
- package/dist/Icons/CheckmarkIcon.js +22 -9
- package/dist/Icons/ChevronDownIcon.js +22 -9
- package/dist/Icons/ChevronUpIcon.js +22 -9
- package/dist/Icons/ClockIcon.js +26 -18
- package/dist/Icons/CloseCircleIcon.js +26 -10
- package/dist/Icons/CloseIcon.js +18 -9
- package/dist/Icons/DashboardIcon.js +36 -10
- package/dist/Icons/DatabaseIcon.js +36 -19
- package/dist/Icons/DeleteIcon.js +36 -19
- package/dist/Icons/DurationIcon.js +57 -22
- package/dist/Icons/EditIcon.js +26 -27
- package/dist/Icons/EmailIcon.js +26 -10
- package/dist/Icons/EraserIcon.js +41 -25
- package/dist/Icons/ErrorIcon.js +27 -11
- package/dist/Icons/EyeClosedIcon.js +29 -13
- package/dist/Icons/EyeClosedIcon2.js +27 -11
- package/dist/Icons/EyeOpenIcon.js +22 -9
- package/dist/Icons/FileDownloadIcon.js +43 -20
- package/dist/Icons/GoToFirstIcon.js +26 -9
- package/dist/Icons/GoToLastIcon.js +26 -9
- package/dist/Icons/HarmonicCursorsIcon.js +23 -9
- package/dist/Icons/IconBase.d.ts +3 -3
- package/dist/Icons/IconBase.js +49 -23
- package/dist/Icons/InfoIcon.js +36 -10
- package/dist/Icons/KeyboardIcon.js +26 -27
- package/dist/Icons/LabelIcon.js +19 -14
- package/dist/Icons/LassoIcon.js +36 -28
- package/dist/Icons/LineToolIcon.js +48 -39
- package/dist/Icons/LiveViewIcon.js +50 -12
- package/dist/Icons/LoaderIcon.js +67 -27
- package/dist/Icons/LocationIcon.js +26 -27
- package/dist/Icons/LogoutIcon.js +20 -15
- package/dist/Icons/MeasureIcon.js +78 -25
- package/dist/Icons/MessagesIcon.js +33 -18
- package/dist/Icons/MetadataIcon.js +20 -15
- package/dist/Icons/MinusIcon.d.ts +1 -1
- package/dist/Icons/MinusIcon.js +18 -6
- package/dist/Icons/OntologyIcon.js +87 -71
- package/dist/Icons/PanelIconClose.js +28 -10
- package/dist/Icons/PanelIconOpen.js +28 -10
- package/dist/Icons/PlayIcon.js +20 -6
- package/dist/Icons/PlusIcon.js +20 -14
- package/dist/Icons/PolygonIcon.js +50 -39
- package/dist/Icons/ProgressCheckIcon.d.ts +5 -0
- package/dist/Icons/ProgressCheckIcon.js +58 -0
- package/dist/Icons/ResetIcon.js +17 -12
- package/dist/Icons/ReviewedIcon.js +36 -19
- package/dist/Icons/ScissorsIcon.js +22 -17
- package/dist/Icons/SearchIcon.js +26 -9
- package/dist/Icons/SettingsIcon.js +26 -27
- package/dist/Icons/SortAscendingIcon.js +50 -12
- package/dist/Icons/SortAtoZIcon.js +50 -12
- package/dist/Icons/SortDescendingIcon.js +50 -12
- package/dist/Icons/SortZtoAIcon.js +50 -12
- package/dist/Icons/StackIcon.js +26 -9
- package/dist/Icons/StarIcon.js +20 -6
- package/dist/Icons/TrashIcon.js +17 -12
- package/dist/Icons/UndoIcon.js +20 -15
- package/dist/Icons/User2Icon.js +26 -10
- package/dist/Icons/UserIcon.js +19 -14
- package/dist/Icons/WarningIcon.js +19 -14
- package/dist/Icons/ZoomAllIcon.js +71 -15
- package/dist/Icons/ZoomXIcon.js +36 -10
- package/dist/Icons/ZoomYIcon.js +36 -10
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +68 -136
- package/dist/IconsAnimated/PanelLeftCloseIcon.js +66 -36
- package/dist/IconsAnimated/PanelLeftOpenIcon.js +66 -36
- package/dist/IconsAnimated.js +3 -6
- package/dist/Input/InputUtils.js +51 -52
- package/dist/Input.js +132 -185
- package/dist/InputOTP-XUWW9xcI.js +461 -0
- package/dist/InputOTP.js +2 -382
- package/dist/Kbd.d.ts +1 -1
- package/dist/Kbd.js +182 -86
- package/dist/Label.js +12 -14
- package/dist/MultiSelect/MultiSelectBase.js +331 -403
- package/dist/MultiSelect.d.ts +1 -1
- package/dist/MultiSelect.js +23 -23
- package/dist/Popover.js +28 -32
- package/dist/RadioButton.d.ts +17 -0
- package/dist/RadioButton.js +33 -0
- package/dist/RadioButtonGroup/RadioButtonGroupBase.d.ts +3 -1
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +49 -46
- package/dist/RadioButtonGroup.d.ts +1 -1
- package/dist/RadioButtonGroup.js +11 -8
- package/dist/RadioGroup-w_q6RGEK.js +447 -0
- package/dist/RadioGroup.js +2 -505
- package/dist/Select.js +163 -186
- package/dist/Separator.js +16 -19
- package/dist/Skeleton.js +10 -6
- package/dist/Slider-BzzZT3Zm.js +490 -0
- package/dist/Slider.js +2 -562
- package/dist/SpectralProvider.js +8 -5
- package/dist/Switch/SwitchBase.js +91 -95
- package/dist/Switch-CVzRJ-0n.js +126 -0
- package/dist/Switch.d.ts +1 -1
- package/dist/Switch.js +2 -134
- package/dist/Tabs/TabsBase.js +242 -250
- package/dist/Tabs/tabsUtils.js +65 -73
- package/dist/Tabs.d.ts +1 -1
- package/dist/Tabs.js +73 -103
- package/dist/Textarea/TextareaUtils.js +35 -46
- package/dist/Textarea.js +83 -160
- package/dist/Toast-9zqXxKKO.js +711 -0
- package/dist/Toast.js +2 -885
- package/dist/Toggle/ToggleBase.js +46 -56
- package/dist/Toggle.d.ts +1 -1
- package/dist/Toggle.js +52 -62
- package/dist/ToggleGroup/ToggleGroupBase.js +128 -104
- package/dist/ToggleGroup.d.ts +1 -1
- package/dist/ToggleGroup.js +52 -63
- package/dist/Tooltip-D1K8kY1y.js +389 -0
- package/dist/Tooltip.js +2 -365
- package/dist/Tray.js +174 -217
- package/dist/chunk-h9knIhTc.js +20 -0
- package/dist/clsx-jM1GlMvB.js +16 -0
- package/dist/dist-3Af8168y.js +913 -0
- package/dist/dist-7HRQ5IKN.js +249 -0
- package/dist/dist-B2k1iWFp.js +129 -0
- package/dist/dist-B4FgboI8.js +122 -0
- package/dist/dist-B4g6zpUF.js +33 -0
- package/dist/dist-B9tup-4O.js +216 -0
- package/dist/dist-BK1K0g9W.js +29 -0
- package/dist/dist-Bfjk-jx9.js +28 -0
- package/dist/dist-Bft31cJh.js +65 -0
- package/dist/dist-BtdmHAzK.js +190 -0
- package/dist/dist-C0Hifjgh.js +1287 -0
- package/dist/dist-CGzgmYB9.js +68 -0
- package/dist/dist-ClmepHp4.js +10 -0
- package/dist/dist-D8Wb_MX9.js +6 -0
- package/dist/dist-Dtvmk11N.js +12 -0
- package/dist/dist-fW81qjVl.js +677 -0
- package/dist/dist-s1uWaZYZ.js +11 -0
- package/dist/es2015-YHaMV-St.js +701 -0
- package/dist/hooks/useAccordionAutoScroll.js +66 -67
- package/dist/hooks/useControllableState.js +14 -13
- package/dist/hooks/useTheme.js +21 -17
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/main.js +18954 -27224
- package/dist/primitives/button.js +39 -41
- package/dist/primitives/input-group.js +57 -73
- package/dist/primitives/input.js +11 -20
- package/dist/primitives/popover.d.ts.map +1 -1
- package/dist/primitives/popover.js +34 -25
- package/dist/primitives/select.js +70 -138
- package/dist/primitives/slot.js +32 -31
- package/dist/primitives/textarea.js +10 -16
- package/dist/proxy-Dn10Pl_g.js +4920 -0
- package/dist/styles/main.css +2 -1
- package/dist/styles/spectral.css +1 -1
- package/dist/twUtils-VNWgstKL.js +1673 -0
- package/dist/use-animation-CBUDycyW.js +57 -0
- package/dist/utils/constants.js +4 -4
- package/dist/utils/formFieldUtils.js +136 -148
- package/dist/utils/sharedUtils.js +26 -7
- package/dist/utils/twUtils.js +2 -2919
- package/package.json +24 -28
- package/dist/ComboboxBase-CxNxYtdT.js +0 -408
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/index-0ioNhtNM.js +0 -10
- package/dist/index-6oYKCvIn.js +0 -677
- package/dist/index-BFOf48AQ.js +0 -69
- package/dist/index-BZPx6jYI.js +0 -8
- package/dist/index-BlHU_t18.js +0 -142
- package/dist/index-Bm1RbF6w.js +0 -1037
- package/dist/index-Bv2OIg5P.js +0 -225
- package/dist/index-CKEI0pDv.js +0 -56
- package/dist/index-CM_hWgfC.js +0 -32
- package/dist/index-C_YVr64u.js +0 -1538
- package/dist/index-Cl8VeY0o.js +0 -149
- package/dist/index-CwSyIPrv.js +0 -13
- package/dist/index-D29mdTf5.js +0 -34
- package/dist/index-DEYs15GP.js +0 -66
- package/dist/index-Dc0No4pV.js +0 -233
- package/dist/index-T6XEa11q.js +0 -822
- package/dist/index-pBCLb6Gr.js +0 -240
- package/dist/index-psiVrsnE.js +0 -27
- package/dist/index-rKs9bXHr.js +0 -6
- package/dist/proxy-CO_-Vget.js +0 -4975
- package/dist/use-animation-DhEPRwZ3.js +0 -62
|
@@ -1,42 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { c as a } from "../index-D29mdTf5.js";
|
|
1
|
+
import { t as e } from "../twUtils-VNWgstKL.js";
|
|
2
|
+
import { t } from "../dist-B4g6zpUF.js";
|
|
3
|
+
import { Slot as n } from "./slot.js";
|
|
5
4
|
import "react";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
};
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
//#region src/primitives/button.tsx
|
|
7
|
+
var i = t("gap-2 rounded-md text-medium font-medium [&_svg:not([class*='size-'])]:size-4 inline-flex shrink-0 items-center justify-center font-sans whitespace-nowrap transition-all focus-visible:outline focus-visible:outline-offset-2 focus-visible:outline-accent disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-button-danger aria-invalid:outline-button-danger [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "bg-level-one text-text-primary hover:bg-level-two",
|
|
11
|
+
destructive: "bg-danger-200 text-text-primary hover:bg-danger-300 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-danger-200",
|
|
12
|
+
outline: "border-level-three bg-level-one hover:bg-level-two",
|
|
13
|
+
secondary: "bg-level-two text-text-secondary hover:bg-level-three",
|
|
14
|
+
ghost: "hover:bg-level-one",
|
|
15
|
+
link: "hover:underline-accent text-text-primary underline-offset-4"
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3 w-full",
|
|
19
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
20
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
21
|
+
icon: "size-9",
|
|
22
|
+
"icon-sm": "size-8",
|
|
23
|
+
"icon-lg": "size-10"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
variant: "default",
|
|
28
|
+
size: "default"
|
|
29
|
+
}
|
|
30
|
+
}), a = ({ asChild: t = !1, className: a, size: o, variant: s, ...c }) => /* @__PURE__ */ r(t ? n : "button", {
|
|
31
|
+
"data-slot": "button",
|
|
32
|
+
className: e(i({
|
|
33
|
+
variant: s,
|
|
34
|
+
size: o,
|
|
35
|
+
className: a
|
|
36
|
+
})),
|
|
37
|
+
...c
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { a as PrimitiveButton, i as buttonVariants };
|
|
@@ -1,74 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { c as i } from "../index-D29mdTf5.js";
|
|
1
|
+
import { t as e } from "../twUtils-VNWgstKL.js";
|
|
2
|
+
import { t } from "../dist-B4g6zpUF.js";
|
|
3
|
+
import { PrimitiveButton as n } from "./button.js";
|
|
4
|
+
import { Input as r } from "./input.js";
|
|
5
|
+
import { Textarea as i } from "./textarea.js";
|
|
7
6
|
import "react";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
),
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
"data-slot": "input-group-control",
|
|
62
|
-
className: n("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", a),
|
|
63
|
-
...t
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
export {
|
|
67
|
-
k as InputGroup,
|
|
68
|
-
z as InputGroupAddon,
|
|
69
|
-
w as InputGroupButton,
|
|
70
|
-
G as InputGroupInput,
|
|
71
|
-
y as InputGroupText,
|
|
72
|
-
I as InputGroupTextarea,
|
|
73
|
-
p as inputGroupAddonVariants
|
|
74
|
-
};
|
|
7
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
8
|
+
//#region src/primitives/input-group.tsx
|
|
9
|
+
var o = ({ className: t, ...n }) => /* @__PURE__ */ a("div", {
|
|
10
|
+
"data-slot": "input-group",
|
|
11
|
+
role: "group",
|
|
12
|
+
className: e("group/input-group h-8 min-w-0 rounded-lg border-input has-disabled:bg-input/50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 relative flex w-full items-center border transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto", t),
|
|
13
|
+
...n
|
|
14
|
+
}), s = t("gap-2 py-1.5 text-sm font-medium text-muted-foreground [&>svg:not([class*='size-'])]:size-4 flex h-auto cursor-text items-center justify-center select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)]", {
|
|
15
|
+
variants: { align: {
|
|
16
|
+
"inline-start": "pl-2 order-first has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem]",
|
|
17
|
+
"inline-end": "pr-2 order-last has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem]",
|
|
18
|
+
"block-start": "px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start",
|
|
19
|
+
"block-end": "px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { align: "inline-start" }
|
|
22
|
+
}), c = ({ className: t, align: n = "inline-start", onClick: r, ...i }) => /* @__PURE__ */ a("div", {
|
|
23
|
+
role: "presentation",
|
|
24
|
+
"data-slot": "input-group-addon",
|
|
25
|
+
"data-align": n,
|
|
26
|
+
className: e(s({ align: n }), t),
|
|
27
|
+
onClick: (e) => {
|
|
28
|
+
e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input, textarea, [contenteditable=\"true\"]")?.focus(), r?.(e);
|
|
29
|
+
},
|
|
30
|
+
...i
|
|
31
|
+
}), l = t("gap-2 text-sm flex items-center shadow-none", {
|
|
32
|
+
variants: { size: {
|
|
33
|
+
xs: "h-6 gap-1 px-1.5 [&>svg:not([class*='size-'])]:size-3.5 rounded-[calc(var(--radius)-3px)]",
|
|
34
|
+
sm: "h-7 gap-1.5 px-2 [&>svg:not([class*='size-'])]:size-4 rounded-[calc(var(--radius)-2px)]",
|
|
35
|
+
"icon-xs": "size-6 p-0 has-[>svg]:p-0 rounded-[calc(var(--radius)-3px)]",
|
|
36
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
37
|
+
} },
|
|
38
|
+
defaultVariants: { size: "xs" }
|
|
39
|
+
}), u = ({ className: t, type: r = "button", variant: i = "ghost", size: o = "xs", ...s }) => /* @__PURE__ */ a(n, {
|
|
40
|
+
type: r,
|
|
41
|
+
"data-size": o,
|
|
42
|
+
variant: i,
|
|
43
|
+
className: e(l({ size: o }), t),
|
|
44
|
+
...s
|
|
45
|
+
}), d = ({ className: t, ...n }) => /* @__PURE__ */ a("span", {
|
|
46
|
+
className: e("gap-2 text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", t),
|
|
47
|
+
...n
|
|
48
|
+
}), f = ({ className: t, ...n }) => /* @__PURE__ */ a(r, {
|
|
49
|
+
"data-slot": "input-group-control",
|
|
50
|
+
className: e("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", t),
|
|
51
|
+
...n
|
|
52
|
+
}), p = ({ className: t, ...n }) => /* @__PURE__ */ a(i, {
|
|
53
|
+
"data-slot": "input-group-control",
|
|
54
|
+
className: e("py-2 flex-1 resize-none rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", t),
|
|
55
|
+
...n
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
export { o as InputGroup, c as InputGroupAddon, u as InputGroupButton, f as InputGroupInput, d as InputGroupText, p as InputGroupTextarea, s as inputGroupAddonVariants };
|
package/dist/primitives/input.js
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cn as r } from "../utils/twUtils.js";
|
|
1
|
+
import { t as e } from "../twUtils-VNWgstKL.js";
|
|
3
2
|
import "react";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"data-slot": "input-primitive",
|
|
15
|
-
type: t,
|
|
16
|
-
...i
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
s as Input
|
|
21
|
-
};
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#region src/primitives/input.tsx
|
|
5
|
+
var n = ({ className: n, type: r, ...i }) => /* @__PURE__ */ t("input", {
|
|
6
|
+
className: e("h-9 min-w-0 rounded-md w-full border border-input-border selection:bg-input-bg--selected selection:text-input-text file:text-input-text placeholder:text-input-text-placeholder", "px-3 py-1 text-base shadow-xs file:h-7 transition-[color,box-shadow] file:inline-flex file:border-0 hover:border-input-border--hover focus:border-input-border--focus focus:outline-none", "file:text-sm file:font-medium file:bg-transparent focus-visible:outline focus-visible:outline-accent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", "focus-visible:outline-offset-2 aria-invalid:border-danger-400 aria-invalid:ring-danger-400", n),
|
|
7
|
+
"data-slot": "input-primitive",
|
|
8
|
+
type: r,
|
|
9
|
+
...i
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as Input };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/primitives/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAE3D,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAErD,eAAO,MAAM,OAAO,GAAI,cAAc,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,4CAE3F,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,cAAc,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,4CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,4CAA2D,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,4CAelJ,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,cAAc,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,4CAEnG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,yBAAyB,wBAAwB,CAAC,KAAK,CAAC,4CAErF,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,yBAAyB,wBAAwB,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/primitives/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAE3D,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAErD,eAAO,MAAM,OAAO,GAAI,cAAc,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,4CAE3F,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,cAAc,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,4CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,4CAA2D,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,4CAelJ,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,cAAc,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,4CAEnG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,yBAAyB,wBAAwB,CAAC,KAAK,CAAC,4CAErF,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,yBAAyB,wBAAwB,CAAC,IAAI,CAAC,4CAKnF,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,wBAAwB,CAAC,GAAG,CAAC,4CAExF,CAAA"}
|
|
@@ -1,26 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { cn as a } from "../utils/twUtils.js";
|
|
1
|
+
import { t as e } from "../twUtils-VNWgstKL.js";
|
|
2
|
+
import { a as t, i as n, n as r, r as i, t as a } from "../dist-BtdmHAzK.js";
|
|
4
3
|
import "react";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
4
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
5
|
+
//#region src/primitives/popover.tsx
|
|
6
|
+
var s = ({ ...e }) => /* @__PURE__ */ o(n, {
|
|
7
|
+
"data-slot": "popover",
|
|
8
|
+
...e
|
|
9
|
+
}), c = ({ ...e }) => /* @__PURE__ */ o(t, {
|
|
10
|
+
"data-slot": "popover-trigger",
|
|
11
|
+
...e
|
|
12
|
+
}), l = ({ className: t, align: n = "center", sideOffset: a = 4, ...s }) => /* @__PURE__ */ o(i, { children: /* @__PURE__ */ o(r, {
|
|
13
|
+
"data-slot": "popover-content",
|
|
14
|
+
align: n,
|
|
15
|
+
sideOffset: a,
|
|
16
|
+
className: e("w-72 gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-foreground/10 z-50 flex origin-(--radix-popover-content-transform-origin) flex-col ring-1 outline-hidden motion-safe:data-[side=bottom]:slide-in-from-top-2 motion-safe:data-[side=left]:slide-in-from-right-2 motion-safe:data-[side=right]:slide-in-from-left-2 motion-safe:data-[side=top]:slide-in-from-bottom-2 motion-safe:data-[state=closed]:animate-out motion-safe:data-[state=closed]:fade-out-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:animate-in motion-safe:data-[state=open]:fade-in-0 motion-safe:data-[state=open]:zoom-in-95", t),
|
|
17
|
+
...s
|
|
18
|
+
}) }), u = ({ ...e }) => /* @__PURE__ */ o(a, {
|
|
19
|
+
"data-slot": "popover-anchor",
|
|
20
|
+
...e
|
|
21
|
+
}), d = ({ className: t, ...n }) => /* @__PURE__ */ o("div", {
|
|
22
|
+
"data-slot": "popover-header",
|
|
23
|
+
className: e("gap-0.5 text-sm flex flex-col", t),
|
|
24
|
+
...n
|
|
25
|
+
}), f = ({ className: t, ...n }) => /* @__PURE__ */ o("h2", {
|
|
26
|
+
"data-slot": "popover-title",
|
|
27
|
+
className: e("cn-font-heading font-medium", t),
|
|
28
|
+
...n
|
|
29
|
+
}), p = ({ className: t, ...n }) => /* @__PURE__ */ o("p", {
|
|
30
|
+
"data-slot": "popover-description",
|
|
31
|
+
className: e("text-muted-foreground", t),
|
|
32
|
+
...n
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { s as Popover, u as PopoverAnchor, l as PopoverContent, p as PopoverDescription, d as PopoverHeader, f as PopoverTitle, c as PopoverTrigger };
|
|
@@ -1,139 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../Icons/
|
|
3
|
-
import "../Icons/
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
6
|
-
import "../Icons/ArrowUpIcon.js";
|
|
7
|
-
import "../Icons/BoxToolIcon.js";
|
|
8
|
-
import "../Icons/CalendarIcon.js";
|
|
9
|
-
import "../Icons/CheckCircleIcon.js";
|
|
10
|
-
import "../Icons/CheckSquareIcon.js";
|
|
11
|
-
import { CheckmarkIcon as m } from "../Icons/CheckmarkIcon.js";
|
|
12
|
-
import { ChevronDownIcon as l } from "../Icons/ChevronDownIcon.js";
|
|
13
|
-
import { ChevronUpIcon as p } from "../Icons/ChevronUpIcon.js";
|
|
14
|
-
import "../Icons/ClockIcon.js";
|
|
15
|
-
import "../Icons/CloseCircleIcon.js";
|
|
16
|
-
import "../Icons/CloseIcon.js";
|
|
17
|
-
import "../Icons/DashboardIcon.js";
|
|
18
|
-
import "../Icons/DatabaseIcon.js";
|
|
19
|
-
import "../Icons/DeleteIcon.js";
|
|
20
|
-
import "../Icons/DurationIcon.js";
|
|
21
|
-
import "../Icons/EditIcon.js";
|
|
22
|
-
import "../Icons/EmailIcon.js";
|
|
23
|
-
import "../Icons/EraserIcon.js";
|
|
24
|
-
import "../Icons/ErrorIcon.js";
|
|
25
|
-
import "../Icons/EyeClosedIcon.js";
|
|
26
|
-
import "../Icons/EyeClosedIcon2.js";
|
|
27
|
-
import "../Icons/EyeOpenIcon.js";
|
|
28
|
-
import "../Icons/FileDownloadIcon.js";
|
|
29
|
-
import "../Icons/GoToFirstIcon.js";
|
|
30
|
-
import "../Icons/GoToLastIcon.js";
|
|
31
|
-
import "../Icons/HarmonicCursorsIcon.js";
|
|
32
|
-
import "../Icons/InfoIcon.js";
|
|
33
|
-
import "../Icons/KeyboardIcon.js";
|
|
34
|
-
import "../Icons/LabelIcon.js";
|
|
35
|
-
import "../Icons/LassoIcon.js";
|
|
36
|
-
import "../Icons/LineToolIcon.js";
|
|
37
|
-
import "../Icons/LiveViewIcon.js";
|
|
38
|
-
import "../Icons/LoaderIcon.js";
|
|
39
|
-
import "../Icons/LocationIcon.js";
|
|
40
|
-
import "../Icons/LogoutIcon.js";
|
|
41
|
-
import "../Icons/MeasureIcon.js";
|
|
42
|
-
import "../Icons/MessagesIcon.js";
|
|
43
|
-
import "../Icons/MetadataIcon.js";
|
|
44
|
-
import "../Icons/MinusIcon.js";
|
|
45
|
-
import "../Icons/OntologyIcon.js";
|
|
46
|
-
import "../Icons/PanelIconClose.js";
|
|
47
|
-
import "../Icons/PanelIconOpen.js";
|
|
48
|
-
import "../Icons/PlayIcon.js";
|
|
49
|
-
import "../Icons/PlusIcon.js";
|
|
50
|
-
import "../Icons/PolygonIcon.js";
|
|
51
|
-
import "../Icons/ResetIcon.js";
|
|
52
|
-
import "../Icons/ReviewedIcon.js";
|
|
53
|
-
import "../Icons/ScissorsIcon.js";
|
|
54
|
-
import "../Icons/SearchIcon.js";
|
|
55
|
-
import "../Icons/SettingsIcon.js";
|
|
56
|
-
import "../Icons/SortAscendingIcon.js";
|
|
57
|
-
import "../Icons/SortAtoZIcon.js";
|
|
58
|
-
import "../Icons/SortDescendingIcon.js";
|
|
59
|
-
import "../Icons/SortZtoAIcon.js";
|
|
60
|
-
import "../Icons/StackIcon.js";
|
|
61
|
-
import "../Icons/StarIcon.js";
|
|
62
|
-
import "../Icons/TrashIcon.js";
|
|
63
|
-
import "../Icons/UndoIcon.js";
|
|
64
|
-
import "../Icons/User2Icon.js";
|
|
65
|
-
import "../Icons/UserIcon.js";
|
|
66
|
-
import "../Icons/WarningIcon.js";
|
|
67
|
-
import "../Icons/ZoomAllIcon.js";
|
|
68
|
-
import "../Icons/ZoomXIcon.js";
|
|
69
|
-
import "../Icons/ZoomYIcon.js";
|
|
70
|
-
import { R as c, T as d, I as u, V as f, P as g, C as x, a as h, d as v, f as b, e as w, S as y, b as S, G as z, L as N, c as I } from "../index-T6XEa11q.js";
|
|
71
|
-
import { cn as r } from "../utils/twUtils.js";
|
|
1
|
+
import { CheckmarkIcon as e } from "../Icons/CheckmarkIcon.js";
|
|
2
|
+
import { ChevronDownIcon as t } from "../Icons/ChevronDownIcon.js";
|
|
3
|
+
import { ChevronUpIcon as n } from "../Icons/ChevronUpIcon.js";
|
|
4
|
+
import { t as r } from "../twUtils-VNWgstKL.js";
|
|
5
|
+
import { a as i, c as a, d as o, f as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v } from "../dist-fW81qjVl.js";
|
|
72
6
|
import "react";
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
Qt as SelectValue
|
|
139
|
-
};
|
|
7
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
8
|
+
//#region src/primitives/select.tsx
|
|
9
|
+
var x = ({ ...e }) => /* @__PURE__ */ y(u, {
|
|
10
|
+
"data-slot": "select",
|
|
11
|
+
...e
|
|
12
|
+
}), S = ({ ...e }) => /* @__PURE__ */ y(f, {
|
|
13
|
+
"data-slot": "select-group",
|
|
14
|
+
...e
|
|
15
|
+
}), C = ({ ...e }) => /* @__PURE__ */ y(d, {
|
|
16
|
+
"data-slot": "select-value",
|
|
17
|
+
...e
|
|
18
|
+
}), w = ({ asChild: e, children: n, className: i, size: a = "default", ...o }) => /* @__PURE__ */ b(m, {
|
|
19
|
+
asChild: e,
|
|
20
|
+
className: r("[&_svg:not([class*='text-'])]:text-text-placeholder focus-visible:border-ring focus-visible:ring-ring/50 gap-2 rounded-md px-3 py-2 text-sm shadow-xs h-9 *:data-[slot=select-value]:gap-2 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between border border-input-border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-danger-400 data-placeholder:text-input-text-placeholder *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0", i),
|
|
21
|
+
"data-size": a,
|
|
22
|
+
"data-slot": "select-trigger",
|
|
23
|
+
...o,
|
|
24
|
+
children: [n, !e && /* @__PURE__ */ y(h, {
|
|
25
|
+
asChild: !0,
|
|
26
|
+
children: /* @__PURE__ */ y(t, { className: "size-4 opacity-50" })
|
|
27
|
+
})]
|
|
28
|
+
}), T = ({ align: e = "center", children: t, className: n, position: i = "popper", ...o }) => /* @__PURE__ */ y(a, { children: /* @__PURE__ */ b(_, {
|
|
29
|
+
align: e,
|
|
30
|
+
className: r("min-w-32 rounded-md shadow-md relative z-50 max-h-[--radix-select-content-available-height] origin-[--radix-select-content-transform-origin] overflow-x-hidden overflow-y-auto border bg-input-bg text-text-primary motion-safe:data-[side=bottom]:slide-in-from-top-2 motion-safe:data-[side=left]:slide-in-from-right-2 motion-safe:data-[side=right]:slide-in-from-left-2 motion-safe:data-[side=top]:slide-in-from-bottom-2 motion-safe:data-[state=closed]:animate-out motion-safe:data-[state=closed]:fade-out-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:animate-in motion-safe:data-[state=open]:fade-in-0 motion-safe:data-[state=open]:zoom-in-95", i === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", n),
|
|
31
|
+
"data-slot": "select-content",
|
|
32
|
+
position: i,
|
|
33
|
+
...o,
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ y(k, {}),
|
|
36
|
+
/* @__PURE__ */ y(c, {
|
|
37
|
+
className: r("p-1", i === "popper" && "scroll-my-1 h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"),
|
|
38
|
+
"data-slot": "select-viewport",
|
|
39
|
+
children: t
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ y(A, {})
|
|
42
|
+
]
|
|
43
|
+
}) }), E = ({ className: e, ...t }) => /* @__PURE__ */ y(g, {
|
|
44
|
+
className: r("px-2 py-1.5 text-xs text-text-primary", e),
|
|
45
|
+
"data-slot": "select-label",
|
|
46
|
+
...t
|
|
47
|
+
}), D = ({ className: t, children: n, ...a }) => /* @__PURE__ */ b(l, {
|
|
48
|
+
className: r("gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-none select-none hover:border-input-border--hover hover:bg-accent hover:text-text-inverted! focus:border-input-border--focus focus:bg-accent focus:text-text-inverted! data-disabled:pointer-events-none data-disabled:opacity-50 data-highlighted:bg-accent data-highlighted:text-text-inverted! [&_svg]:pointer-events-none [&_svg]:shrink-0 hover:[&_svg]:text-text-inverted! focus:[&_svg]:text-text-inverted! data-highlighted:[&_svg]:text-text-inverted! *:[span]:last:flex *:[span]:last:items-center", t),
|
|
49
|
+
"data-slot": "select-item",
|
|
50
|
+
...a,
|
|
51
|
+
children: [/* @__PURE__ */ y("span", {
|
|
52
|
+
className: "right-2 size-3.5 absolute flex items-center justify-center",
|
|
53
|
+
children: /* @__PURE__ */ y(i, { children: /* @__PURE__ */ y(e, { className: "size-4" }) })
|
|
54
|
+
}), /* @__PURE__ */ y(p, { children: n })]
|
|
55
|
+
}), O = ({ className: e, ...t }) => /* @__PURE__ */ y(s, {
|
|
56
|
+
className: r("bg-border -mx-1 my-1 pointer-events-none h-px", e),
|
|
57
|
+
"data-slot": "select-separator",
|
|
58
|
+
...t
|
|
59
|
+
}), k = ({ className: e, ...t }) => /* @__PURE__ */ y(o, {
|
|
60
|
+
className: r("py-1 flex cursor-default items-center justify-center", e),
|
|
61
|
+
"data-slot": "select-scroll-up-button",
|
|
62
|
+
...t,
|
|
63
|
+
children: /* @__PURE__ */ y(n, { className: "size-4" })
|
|
64
|
+
}), A = ({ className: e, ...n }) => /* @__PURE__ */ y(v, {
|
|
65
|
+
className: r("py-1 flex cursor-default items-center justify-center", e),
|
|
66
|
+
"data-slot": "select-scroll-down-button",
|
|
67
|
+
...n,
|
|
68
|
+
children: /* @__PURE__ */ y(t, { className: "size-4" })
|
|
69
|
+
});
|
|
70
|
+
//#endregion
|
|
71
|
+
export { x as Select, T as SelectContent, S as SelectGroup, D as SelectItem, E as SelectLabel, A as SelectScrollDownButton, k as SelectScrollUpButton, O as SelectSeparator, w as SelectTrigger, C as SelectValue };
|