@designil/labdsnov 0.0.0-stage → 1.1.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/LICENSE +21 -0
- package/README.md +150 -2
- package/dist/components/Accordion/Accordion.d.ts +8 -0
- package/dist/components/Accordion/Accordion.js +82 -0
- package/dist/components/Accordion/Accordion.module.css.js +23 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Alert/Alert.d.ts +17 -0
- package/dist/components/Alert/Alert.js +58 -0
- package/dist/components/Alert/Alert.module.css.js +17 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +29 -0
- package/dist/components/AlertDialog/AlertDialog.js +150 -0
- package/dist/components/AlertDialog/AlertDialog.module.css.js +23 -0
- package/dist/components/AlertDialog/index.d.ts +1 -0
- package/dist/components/Avatar/Avatar.d.ts +23 -0
- package/dist/components/Avatar/Avatar.js +84 -0
- package/dist/components/Avatar/Avatar.module.css.js +23 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Badge/Badge.d.ts +17 -0
- package/dist/components/Badge/Badge.js +37 -0
- package/dist/components/Badge/Badge.module.css.js +19 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +111 -0
- package/dist/components/Breadcrumb/Breadcrumb.module.css.js +19 -0
- package/dist/components/Breadcrumb/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +39 -0
- package/dist/components/Button/Button.js +62 -0
- package/dist/components/Button/Button.module.css.js +37 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +21 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +59 -0
- package/dist/components/ButtonGroup/ButtonGroup.module.css.js +15 -0
- package/dist/components/ButtonGroup/index.d.ts +1 -0
- package/dist/components/Calendar/Calendar.d.ts +17 -0
- package/dist/components/Calendar/Calendar.js +154 -0
- package/dist/components/Calendar/Calendar.module.css.js +67 -0
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +20 -0
- package/dist/components/Card/Card.js +87 -0
- package/dist/components/Card/Card.module.css.js +23 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Chart/Chart.d.ts +59 -0
- package/dist/components/Chart/Chart.js +199 -0
- package/dist/components/Chart/Chart.module.css.js +47 -0
- package/dist/components/Chart/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.js +44 -0
- package/dist/components/Checkbox/Checkbox.module.css.js +13 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Collapsible/Collapsible.d.ts +8 -0
- package/dist/components/Collapsible/Collapsible.js +28 -0
- package/dist/components/Collapsible/Collapsible.module.css.js +7 -0
- package/dist/components/Collapsible/index.d.ts +1 -0
- package/dist/components/Combobox/Combobox.d.ts +36 -0
- package/dist/components/Combobox/Combobox.js +296 -0
- package/dist/components/Combobox/Combobox.module.css.js +39 -0
- package/dist/components/Combobox/index.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +28 -0
- package/dist/components/DatePicker/DatePicker.js +73 -0
- package/dist/components/DatePicker/DatePicker.module.css.js +9 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +27 -0
- package/dist/components/Dialog/Dialog.js +144 -0
- package/dist/components/Dialog/Dialog.module.css.js +29 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +22 -0
- package/dist/components/Drawer/Drawer.js +166 -0
- package/dist/components/Drawer/Drawer.module.css.js +23 -0
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +32 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +245 -0
- package/dist/components/DropdownMenu/DropdownMenu.module.css.js +33 -0
- package/dist/components/DropdownMenu/index.d.ts +1 -0
- package/dist/components/Empty/Empty.d.ts +18 -0
- package/dist/components/Empty/Empty.js +76 -0
- package/dist/components/Empty/Empty.module.css.js +21 -0
- package/dist/components/Empty/index.d.ts +1 -0
- package/dist/components/Field/Field.d.ts +53 -0
- package/dist/components/Field/Field.js +172 -0
- package/dist/components/Field/Field.module.css.js +41 -0
- package/dist/components/Field/index.d.ts +1 -0
- package/dist/components/FundCard/FundCard.d.ts +18 -0
- package/dist/components/FundCard/FundCard.js +66 -0
- package/dist/components/FundCard/FundCard.module.css.js +25 -0
- package/dist/components/FundCard/index.d.ts +1 -0
- package/dist/components/HoverCard/HoverCard.d.ts +8 -0
- package/dist/components/HoverCard/HoverCard.js +42 -0
- package/dist/components/HoverCard/HoverCard.module.css.js +9 -0
- package/dist/components/HoverCard/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +12 -0
- package/dist/components/Input/Input.js +23 -0
- package/dist/components/Input/Input.module.css.js +11 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/InputGroup/InputGroup.d.ts +39 -0
- package/dist/components/InputGroup/InputGroup.js +103 -0
- package/dist/components/InputGroup/InputGroup.module.css.js +31 -0
- package/dist/components/InputGroup/index.d.ts +1 -0
- package/dist/components/InputOTP/InputOTP.d.ts +18 -0
- package/dist/components/InputOTP/InputOTP.js +72 -0
- package/dist/components/InputOTP/InputOTP.module.css.js +19 -0
- package/dist/components/InputOTP/index.d.ts +1 -0
- package/dist/components/Kbd/Kbd.d.ts +5 -0
- package/dist/components/Kbd/Kbd.js +20 -0
- package/dist/components/Kbd/Kbd.module.css.js +9 -0
- package/dist/components/Kbd/index.d.ts +1 -0
- package/dist/components/Label/Label.d.ts +7 -0
- package/dist/components/Label/Label.js +17 -0
- package/dist/components/Label/Label.module.css.js +9 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +20 -0
- package/dist/components/NavigationMenu/NavigationMenu.js +153 -0
- package/dist/components/NavigationMenu/NavigationMenu.module.css.js +29 -0
- package/dist/components/NavigationMenu/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +29 -0
- package/dist/components/Pagination/Pagination.js +133 -0
- package/dist/components/Pagination/Pagination.module.css.js +19 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Popover/Popover.d.ts +10 -0
- package/dist/components/Popover/Popover.js +78 -0
- package/dist/components/Popover/Popover.module.css.js +15 -0
- package/dist/components/Popover/index.d.ts +1 -0
- package/dist/components/Progress/Progress.d.ts +12 -0
- package/dist/components/Progress/Progress.js +74 -0
- package/dist/components/Progress/Progress.module.css.js +15 -0
- package/dist/components/Progress/index.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +6 -0
- package/dist/components/RadioGroup/RadioGroup.js +37 -0
- package/dist/components/RadioGroup/RadioGroup.module.css.js +13 -0
- package/dist/components/RadioGroup/index.d.ts +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +9 -0
- package/dist/components/ScrollArea/ScrollArea.js +60 -0
- package/dist/components/ScrollArea/ScrollArea.module.css.js +17 -0
- package/dist/components/ScrollArea/index.d.ts +1 -0
- package/dist/components/Select/Select.d.ts +23 -0
- package/dist/components/Select/Select.js +188 -0
- package/dist/components/Select/Select.module.css.js +37 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Separator/Separator.d.ts +4 -0
- package/dist/components/Separator/Separator.js +22 -0
- package/dist/components/Separator/Separator.module.css.js +7 -0
- package/dist/components/Separator/index.d.ts +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/Skeleton.js +16 -0
- package/dist/components/Skeleton/Skeleton.module.css.js +7 -0
- package/dist/components/Skeleton/index.d.ts +1 -0
- package/dist/components/Slider/Slider.d.ts +13 -0
- package/dist/components/Slider/Slider.js +61 -0
- package/dist/components/Slider/Slider.module.css.js +15 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Spinner/Spinner.d.ts +6 -0
- package/dist/components/Spinner/Spinner.js +22 -0
- package/dist/components/Spinner/Spinner.module.css.js +7 -0
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/Switch/Switch.d.ts +13 -0
- package/dist/components/Switch/Switch.js +29 -0
- package/dist/components/Switch/Switch.module.css.js +13 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +12 -0
- package/dist/components/Table/Table.js +96 -0
- package/dist/components/Table/Table.module.css.js +23 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs.d.ts +16 -0
- package/dist/components/Tabs/Tabs.js +55 -0
- package/dist/components/Tabs/Tabs.module.css.js +17 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Textarea/Textarea.d.ts +4 -0
- package/dist/components/Textarea/Textarea.js +16 -0
- package/dist/components/Textarea/Textarea.module.css.js +7 -0
- package/dist/components/Textarea/index.d.ts +1 -0
- package/dist/components/Toaster/Toaster.d.ts +8 -0
- package/dist/components/Toaster/Toaster.js +85 -0
- package/dist/components/Toaster/Toaster.module.css.js +11 -0
- package/dist/components/Toaster/index.d.ts +1 -0
- package/dist/components/Toggle/Toggle.d.ts +26 -0
- package/dist/components/Toggle/Toggle.js +35 -0
- package/dist/components/Toggle/Toggle.module.css.js +17 -0
- package/dist/components/Toggle/index.d.ts +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +20 -0
- package/dist/components/ToggleGroup/ToggleGroup.js +64 -0
- package/dist/components/ToggleGroup/ToggleGroup.module.css.js +11 -0
- package/dist/components/ToggleGroup/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.js +61 -0
- package/dist/components/Tooltip/Tooltip.module.css.js +11 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +265 -0
- package/dist/styles.css +1 -0
- package/docs/Accessibility.md +129 -0
- package/docs/Colors.md +149 -0
- package/docs/ComponentTokens.md +191 -0
- package/docs/Contributing.md +104 -0
- package/docs/GettingStarted.md +106 -0
- package/docs/Radius.md +25 -0
- package/docs/Typography.md +38 -0
- package/package.json +88 -4
- package/src/components/Accordion/Accordion.dsds.yaml +195 -0
- package/src/components/Accordion/Accordion.md +102 -0
- package/src/components/Alert/Alert.dsds.yaml +206 -0
- package/src/components/Alert/Alert.md +90 -0
- package/src/components/AlertDialog/AlertDialog.dsds.yaml +243 -0
- package/src/components/AlertDialog/AlertDialog.md +131 -0
- package/src/components/Avatar/Avatar.dsds.yaml +172 -0
- package/src/components/Avatar/Avatar.md +77 -0
- package/src/components/Badge/Badge.dsds.yaml +191 -0
- package/src/components/Badge/Badge.md +124 -0
- package/src/components/Breadcrumb/Breadcrumb.dsds.yaml +162 -0
- package/src/components/Breadcrumb/Breadcrumb.md +110 -0
- package/src/components/Button/Button.dsds.yaml +350 -0
- package/src/components/Button/Button.md +165 -0
- package/src/components/ButtonGroup/ButtonGroup.dsds.yaml +193 -0
- package/src/components/ButtonGroup/ButtonGroup.md +96 -0
- package/src/components/Calendar/Calendar.dsds.yaml +236 -0
- package/src/components/Calendar/Calendar.md +111 -0
- package/src/components/Card/Card.dsds.yaml +199 -0
- package/src/components/Card/Card.md +99 -0
- package/src/components/Chart/Chart.dsds.yaml +216 -0
- package/src/components/Chart/Chart.md +112 -0
- package/src/components/Checkbox/Checkbox.dsds.yaml +215 -0
- package/src/components/Checkbox/Checkbox.md +105 -0
- package/src/components/Collapsible/Collapsible.dsds.yaml +146 -0
- package/src/components/Collapsible/Collapsible.md +86 -0
- package/src/components/Combobox/Combobox.dsds.yaml +241 -0
- package/src/components/Combobox/Combobox.md +143 -0
- package/src/components/DatePicker/DatePicker.dsds.yaml +179 -0
- package/src/components/DatePicker/DatePicker.md +82 -0
- package/src/components/Dialog/Dialog.dsds.yaml +300 -0
- package/src/components/Dialog/Dialog.md +193 -0
- package/src/components/Drawer/Drawer.dsds.yaml +207 -0
- package/src/components/Drawer/Drawer.md +125 -0
- package/src/components/DropdownMenu/DropdownMenu.dsds.yaml +265 -0
- package/src/components/DropdownMenu/DropdownMenu.md +151 -0
- package/src/components/Empty/Empty.dsds.yaml +171 -0
- package/src/components/Empty/Empty.md +90 -0
- package/src/components/Field/Field.dsds.yaml +285 -0
- package/src/components/Field/Field.md +139 -0
- package/src/components/FundCard/FundCard.dsds.yaml +195 -0
- package/src/components/FundCard/FundCard.md +93 -0
- package/src/components/HoverCard/HoverCard.dsds.yaml +157 -0
- package/src/components/HoverCard/HoverCard.md +100 -0
- package/src/components/Input/Input.dsds.yaml +235 -0
- package/src/components/Input/Input.md +115 -0
- package/src/components/InputGroup/InputGroup.dsds.yaml +234 -0
- package/src/components/InputGroup/InputGroup.md +115 -0
- package/src/components/InputOTP/InputOTP.dsds.yaml +184 -0
- package/src/components/InputOTP/InputOTP.md +105 -0
- package/src/components/Kbd/Kbd.dsds.yaml +119 -0
- package/src/components/Kbd/Kbd.md +85 -0
- package/src/components/Label/Label.dsds.yaml +141 -0
- package/src/components/Label/Label.md +75 -0
- package/src/components/NavigationMenu/NavigationMenu.dsds.yaml +196 -0
- package/src/components/NavigationMenu/NavigationMenu.md +128 -0
- package/src/components/Pagination/Pagination.dsds.yaml +172 -0
- package/src/components/Pagination/Pagination.md +115 -0
- package/src/components/Popover/Popover.dsds.yaml +168 -0
- package/src/components/Popover/Popover.md +111 -0
- package/src/components/Progress/Progress.dsds.yaml +169 -0
- package/src/components/Progress/Progress.md +83 -0
- package/src/components/RadioGroup/RadioGroup.dsds.yaml +215 -0
- package/src/components/RadioGroup/RadioGroup.md +123 -0
- package/src/components/ScrollArea/ScrollArea.dsds.yaml +153 -0
- package/src/components/ScrollArea/ScrollArea.md +88 -0
- package/src/components/Select/Select.dsds.yaml +239 -0
- package/src/components/Select/Select.md +170 -0
- package/src/components/Separator/Separator.dsds.yaml +121 -0
- package/src/components/Separator/Separator.md +68 -0
- package/src/components/Skeleton/Skeleton.dsds.yaml +124 -0
- package/src/components/Skeleton/Skeleton.md +68 -0
- package/src/components/Slider/Slider.dsds.yaml +194 -0
- package/src/components/Slider/Slider.md +107 -0
- package/src/components/Spinner/Spinner.dsds.yaml +126 -0
- package/src/components/Spinner/Spinner.md +64 -0
- package/src/components/Switch/Switch.dsds.yaml +198 -0
- package/src/components/Switch/Switch.md +101 -0
- package/src/components/Table/Table.dsds.yaml +195 -0
- package/src/components/Table/Table.md +117 -0
- package/src/components/Tabs/Tabs.dsds.yaml +239 -0
- package/src/components/Tabs/Tabs.md +173 -0
- package/src/components/Textarea/Textarea.dsds.yaml +167 -0
- package/src/components/Textarea/Textarea.md +89 -0
- package/src/components/Toaster/Toaster.dsds.yaml +226 -0
- package/src/components/Toaster/Toaster.md +107 -0
- package/src/components/Toggle/Toggle.dsds.yaml +224 -0
- package/src/components/Toggle/Toggle.md +103 -0
- package/src/components/ToggleGroup/ToggleGroup.dsds.yaml +230 -0
- package/src/components/ToggleGroup/ToggleGroup.md +95 -0
- package/src/components/Tooltip/Tooltip.dsds.yaml +202 -0
- package/src/components/Tooltip/Tooltip.md +104 -0
- package/src/index.dsds.yaml +467 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Select as l } from "@base-ui/react/select";
|
|
3
|
+
import { Tick02Icon as S, ArrowDown01Icon as f, ArrowUp01Icon as g, UnfoldMoreIcon as N } from "@hugeicons/core-free-icons";
|
|
4
|
+
import { HugeiconsIcon as a } from "@hugeicons/react";
|
|
5
|
+
import { cn as c } from "cn";
|
|
6
|
+
import o from "./Select.module.css.js";
|
|
7
|
+
const I = {
|
|
8
|
+
default: o.triggerDefault,
|
|
9
|
+
sm: o.triggerSm
|
|
10
|
+
}, B = l.Root;
|
|
11
|
+
function T({ className: r, ...e }) {
|
|
12
|
+
return /* @__PURE__ */ t(
|
|
13
|
+
l.Group,
|
|
14
|
+
{
|
|
15
|
+
"data-slot": "select-group",
|
|
16
|
+
className: c(o.group, r),
|
|
17
|
+
...e
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
function G({ className: r, ...e }) {
|
|
22
|
+
return /* @__PURE__ */ t(
|
|
23
|
+
l.Value,
|
|
24
|
+
{
|
|
25
|
+
"data-slot": "select-value",
|
|
26
|
+
className: c(o.value, r),
|
|
27
|
+
...e
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
function L({
|
|
32
|
+
className: r,
|
|
33
|
+
size: e = "default",
|
|
34
|
+
children: n,
|
|
35
|
+
...s
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ i(
|
|
38
|
+
l.Trigger,
|
|
39
|
+
{
|
|
40
|
+
"data-slot": "select-trigger",
|
|
41
|
+
"data-size": e,
|
|
42
|
+
className: c(o.trigger, I[e], r),
|
|
43
|
+
...s,
|
|
44
|
+
children: [
|
|
45
|
+
n,
|
|
46
|
+
/* @__PURE__ */ t(
|
|
47
|
+
l.Icon,
|
|
48
|
+
{
|
|
49
|
+
render: /* @__PURE__ */ t(
|
|
50
|
+
a,
|
|
51
|
+
{
|
|
52
|
+
icon: N,
|
|
53
|
+
strokeWidth: 2,
|
|
54
|
+
className: o.triggerIcon
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
function P({
|
|
64
|
+
className: r,
|
|
65
|
+
children: e,
|
|
66
|
+
side: n = "bottom",
|
|
67
|
+
sideOffset: s = 4,
|
|
68
|
+
align: m = "center",
|
|
69
|
+
alignOffset: d = 0,
|
|
70
|
+
alignItemWithTrigger: u = !0,
|
|
71
|
+
...p
|
|
72
|
+
}) {
|
|
73
|
+
return /* @__PURE__ */ t(l.Portal, { children: /* @__PURE__ */ t(
|
|
74
|
+
l.Positioner,
|
|
75
|
+
{
|
|
76
|
+
side: n,
|
|
77
|
+
sideOffset: s,
|
|
78
|
+
align: m,
|
|
79
|
+
alignOffset: d,
|
|
80
|
+
alignItemWithTrigger: u,
|
|
81
|
+
className: o.positioner,
|
|
82
|
+
children: /* @__PURE__ */ i(
|
|
83
|
+
l.Popup,
|
|
84
|
+
{
|
|
85
|
+
"data-slot": "select-content",
|
|
86
|
+
"data-align-trigger": u,
|
|
87
|
+
className: c(o.content, r),
|
|
88
|
+
...p,
|
|
89
|
+
children: [
|
|
90
|
+
/* @__PURE__ */ t(h, {}),
|
|
91
|
+
/* @__PURE__ */ t(l.List, { children: e }),
|
|
92
|
+
/* @__PURE__ */ t(w, {})
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
)
|
|
96
|
+
}
|
|
97
|
+
) });
|
|
98
|
+
}
|
|
99
|
+
function W({
|
|
100
|
+
className: r,
|
|
101
|
+
...e
|
|
102
|
+
}) {
|
|
103
|
+
return /* @__PURE__ */ t(
|
|
104
|
+
l.GroupLabel,
|
|
105
|
+
{
|
|
106
|
+
"data-slot": "select-label",
|
|
107
|
+
className: c(o.label, r),
|
|
108
|
+
...e
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
function j({
|
|
113
|
+
className: r,
|
|
114
|
+
children: e,
|
|
115
|
+
...n
|
|
116
|
+
}) {
|
|
117
|
+
return /* @__PURE__ */ i(
|
|
118
|
+
l.Item,
|
|
119
|
+
{
|
|
120
|
+
"data-slot": "select-item",
|
|
121
|
+
className: c(o.item, r),
|
|
122
|
+
...n,
|
|
123
|
+
children: [
|
|
124
|
+
/* @__PURE__ */ t(l.ItemText, { className: o.itemText, children: e }),
|
|
125
|
+
/* @__PURE__ */ t(
|
|
126
|
+
l.ItemIndicator,
|
|
127
|
+
{
|
|
128
|
+
render: /* @__PURE__ */ t("span", { className: o.itemIndicator }),
|
|
129
|
+
children: /* @__PURE__ */ t(a, { icon: S, strokeWidth: 2 })
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
function v({
|
|
137
|
+
className: r,
|
|
138
|
+
...e
|
|
139
|
+
}) {
|
|
140
|
+
return /* @__PURE__ */ t(
|
|
141
|
+
l.Separator,
|
|
142
|
+
{
|
|
143
|
+
"data-slot": "select-separator",
|
|
144
|
+
className: c(o.separator, r),
|
|
145
|
+
...e
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
function h({
|
|
150
|
+
className: r,
|
|
151
|
+
...e
|
|
152
|
+
}) {
|
|
153
|
+
return /* @__PURE__ */ t(
|
|
154
|
+
l.ScrollUpArrow,
|
|
155
|
+
{
|
|
156
|
+
"data-slot": "select-scroll-up-button",
|
|
157
|
+
className: c(o.scrollButton, o.scrollUp, r),
|
|
158
|
+
...e,
|
|
159
|
+
children: /* @__PURE__ */ t(a, { icon: g, strokeWidth: 2 })
|
|
160
|
+
}
|
|
161
|
+
);
|
|
162
|
+
}
|
|
163
|
+
function w({
|
|
164
|
+
className: r,
|
|
165
|
+
...e
|
|
166
|
+
}) {
|
|
167
|
+
return /* @__PURE__ */ t(
|
|
168
|
+
l.ScrollDownArrow,
|
|
169
|
+
{
|
|
170
|
+
"data-slot": "select-scroll-down-button",
|
|
171
|
+
className: c(o.scrollButton, o.scrollDown, r),
|
|
172
|
+
...e,
|
|
173
|
+
children: /* @__PURE__ */ t(a, { icon: f, strokeWidth: 2 })
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
export {
|
|
178
|
+
B as Select,
|
|
179
|
+
P as SelectContent,
|
|
180
|
+
T as SelectGroup,
|
|
181
|
+
j as SelectItem,
|
|
182
|
+
W as SelectLabel,
|
|
183
|
+
w as SelectScrollDownButton,
|
|
184
|
+
h as SelectScrollUpButton,
|
|
185
|
+
v as SelectSeparator,
|
|
186
|
+
L as SelectTrigger,
|
|
187
|
+
G as SelectValue
|
|
188
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const o = "labdsnov_trigger_ECKfC", t = "labdsnov_triggerDefault_l-Fqh", n = "labdsnov_triggerSm_oK2cE", s = "labdsnov_triggerIcon_9-cnH", l = "labdsnov_value_7CDNo", r = "labdsnov_positioner_xGZUW", e = "labdsnov_content_sO3OP", c = "labdsnov_group_6wjfZ", a = "labdsnov_label_Lmgos", _ = "labdsnov_item_UFqs6", i = "labdsnov_itemText_ZStmS", g = "labdsnov_itemIndicator_A3hVE", d = "labdsnov_separator_AWGIz", b = "labdsnov_scrollButton_z43KF", v = "labdsnov_scrollUp_6P6yY", m = "labdsnov_scrollDown_zF7T4", p = {
|
|
2
|
+
trigger: o,
|
|
3
|
+
triggerDefault: t,
|
|
4
|
+
triggerSm: n,
|
|
5
|
+
triggerIcon: s,
|
|
6
|
+
value: l,
|
|
7
|
+
positioner: r,
|
|
8
|
+
content: e,
|
|
9
|
+
group: c,
|
|
10
|
+
label: a,
|
|
11
|
+
item: _,
|
|
12
|
+
itemText: i,
|
|
13
|
+
itemIndicator: g,
|
|
14
|
+
separator: d,
|
|
15
|
+
scrollButton: b,
|
|
16
|
+
scrollUp: v,
|
|
17
|
+
scrollDown: m
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as content,
|
|
21
|
+
p as default,
|
|
22
|
+
c as group,
|
|
23
|
+
_ as item,
|
|
24
|
+
g as itemIndicator,
|
|
25
|
+
i as itemText,
|
|
26
|
+
a as label,
|
|
27
|
+
r as positioner,
|
|
28
|
+
b as scrollButton,
|
|
29
|
+
m as scrollDown,
|
|
30
|
+
v as scrollUp,
|
|
31
|
+
d as separator,
|
|
32
|
+
o as trigger,
|
|
33
|
+
t as triggerDefault,
|
|
34
|
+
s as triggerIcon,
|
|
35
|
+
n as triggerSm,
|
|
36
|
+
l as value
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Select";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
2
|
+
/** Thin line between groups of content. Vertical separators stretch to the row's height. */
|
|
3
|
+
declare function Separator({ className, orientation, ...props }: SeparatorPrimitive.Props): import("react").JSX.Element;
|
|
4
|
+
export { Separator };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Separator as m } from "@base-ui/react/separator";
|
|
3
|
+
import { cn as p } from "cn";
|
|
4
|
+
import e from "./Separator.module.css.js";
|
|
5
|
+
function l({
|
|
6
|
+
className: r,
|
|
7
|
+
orientation: o = "horizontal",
|
|
8
|
+
...t
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ a(
|
|
11
|
+
m,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "separator",
|
|
14
|
+
orientation: o,
|
|
15
|
+
className: p(e.root, r),
|
|
16
|
+
...t
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
l as Separator
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Separator";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { cn as e } from "cn";
|
|
3
|
+
import m from "./Skeleton.module.css.js";
|
|
4
|
+
function l({ className: o, ...t }) {
|
|
5
|
+
return /* @__PURE__ */ r(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
"data-slot": "skeleton",
|
|
9
|
+
className: e(m.root, o),
|
|
10
|
+
...t
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
l as Skeleton
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Skeleton";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Slider as SliderPrimitive } from "@base-ui/react/slider";
|
|
2
|
+
type SliderProps = SliderPrimitive.Root.Props & {
|
|
3
|
+
/** Accessible name of each thumb, e.g. `() => "อัตราเงินสมทบ"`. Needed when no `aria-labelledby` points at a visible label. */
|
|
4
|
+
getAriaLabel?: SliderPrimitive.Thumb.Props["getAriaLabel"];
|
|
5
|
+
/** Text read out for the value, e.g. `(formatted) => \`${formatted} ต่อเดือน\``. */
|
|
6
|
+
getAriaValueText?: SliderPrimitive.Thumb.Props["getAriaValueText"];
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Pick a number (or a range, with a two-item `value`) by dragging or with the
|
|
10
|
+
* arrow keys. Numbers are formatted in Thai (`locale="th-TH"`) unless set.
|
|
11
|
+
*/
|
|
12
|
+
declare function Slider({ className, defaultValue, value, min, max, locale, getAriaLabel, getAriaValueText, ...props }: SliderProps): import("react").JSX.Element;
|
|
13
|
+
export { Slider, type SliderProps };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { jsx as a, jsxs as y } from "react/jsx-runtime";
|
|
2
|
+
import { Slider as r } from "@base-ui/react/slider";
|
|
3
|
+
import { cn as A } from "cn";
|
|
4
|
+
import s from "./Slider.module.css.js";
|
|
5
|
+
function T({
|
|
6
|
+
className: c,
|
|
7
|
+
defaultValue: t,
|
|
8
|
+
value: o,
|
|
9
|
+
min: m = 0,
|
|
10
|
+
max: l = 100,
|
|
11
|
+
locale: e = "th-TH",
|
|
12
|
+
getAriaLabel: n,
|
|
13
|
+
getAriaValueText: d,
|
|
14
|
+
...h
|
|
15
|
+
}) {
|
|
16
|
+
const p = Array.isArray(o) ? o : Array.isArray(t) ? t : [o ?? t ?? m];
|
|
17
|
+
return /* @__PURE__ */ a(
|
|
18
|
+
r.Root,
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "slider",
|
|
21
|
+
className: A(s.root, c),
|
|
22
|
+
defaultValue: t,
|
|
23
|
+
value: o,
|
|
24
|
+
min: m,
|
|
25
|
+
max: l,
|
|
26
|
+
locale: e,
|
|
27
|
+
thumbAlignment: "edge",
|
|
28
|
+
...h,
|
|
29
|
+
children: /* @__PURE__ */ y(r.Control, { className: s.control, children: [
|
|
30
|
+
/* @__PURE__ */ a(
|
|
31
|
+
r.Track,
|
|
32
|
+
{
|
|
33
|
+
"data-slot": "slider-track",
|
|
34
|
+
className: s.track,
|
|
35
|
+
children: /* @__PURE__ */ a(
|
|
36
|
+
r.Indicator,
|
|
37
|
+
{
|
|
38
|
+
"data-slot": "slider-range",
|
|
39
|
+
className: s.range
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
p.map((N, i) => /* @__PURE__ */ a(
|
|
45
|
+
r.Thumb,
|
|
46
|
+
{
|
|
47
|
+
index: i,
|
|
48
|
+
"data-slot": "slider-thumb",
|
|
49
|
+
className: s.thumb,
|
|
50
|
+
getAriaLabel: n,
|
|
51
|
+
getAriaValueText: d
|
|
52
|
+
},
|
|
53
|
+
i
|
|
54
|
+
))
|
|
55
|
+
] })
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
T as Slider
|
|
61
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const o = "labdsnov_root_18Q9J", t = "labdsnov_control_fvTgq", n = "labdsnov_track_kaJkL", a = "labdsnov_range_DXaIO", s = "labdsnov_thumb_Dc5w2", c = {
|
|
2
|
+
root: o,
|
|
3
|
+
control: t,
|
|
4
|
+
track: n,
|
|
5
|
+
range: a,
|
|
6
|
+
thumb: s
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
t as control,
|
|
10
|
+
c as default,
|
|
11
|
+
a as range,
|
|
12
|
+
o as root,
|
|
13
|
+
s as thumb,
|
|
14
|
+
n as track
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Slider";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { HugeiconsIcon } from "@hugeicons/react";
|
|
3
|
+
type SpinnerProps = Omit<React.ComponentProps<typeof HugeiconsIcon>, "icon">;
|
|
4
|
+
/** Spinning loading icon, announced as "กำลังโหลด". Inherits the text colour and size. */
|
|
5
|
+
declare function Spinner({ className, ...props }: SpinnerProps): React.JSX.Element;
|
|
6
|
+
export { Spinner, type SpinnerProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Loading03Icon as i } from "@hugeicons/core-free-icons";
|
|
3
|
+
import { HugeiconsIcon as n } from "@hugeicons/react";
|
|
4
|
+
import { cn as m } from "cn";
|
|
5
|
+
import s from "./Spinner.module.css.js";
|
|
6
|
+
function l({ className: o, ...r }) {
|
|
7
|
+
return /* @__PURE__ */ t(
|
|
8
|
+
n,
|
|
9
|
+
{
|
|
10
|
+
icon: i,
|
|
11
|
+
strokeWidth: 2,
|
|
12
|
+
"data-slot": "spinner",
|
|
13
|
+
role: "status",
|
|
14
|
+
"aria-label": "กำลังโหลด",
|
|
15
|
+
className: m(s.root, o),
|
|
16
|
+
...r
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
l as Spinner
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Spinner";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
|
|
2
|
+
declare const sizeClass: {
|
|
3
|
+
readonly default: string;
|
|
4
|
+
readonly sm: string;
|
|
5
|
+
};
|
|
6
|
+
type SwitchSize = keyof typeof sizeClass;
|
|
7
|
+
type SwitchProps = SwitchPrimitive.Root.Props & {
|
|
8
|
+
/** `default`: 44×20px track. `sm`: 28×16px track. */
|
|
9
|
+
size?: SwitchSize;
|
|
10
|
+
};
|
|
11
|
+
/** On/off setting that takes effect immediately. */
|
|
12
|
+
declare function Switch({ className, size, ...props }: SwitchProps): import("react").JSX.Element;
|
|
13
|
+
export { Switch, type SwitchProps, type SwitchSize };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "@base-ui/react/switch";
|
|
3
|
+
import { cn as r } from "cn";
|
|
4
|
+
import t from "./Switch.module.css.js";
|
|
5
|
+
const e = {
|
|
6
|
+
default: t.sizeDefault,
|
|
7
|
+
sm: t.sizeSm
|
|
8
|
+
};
|
|
9
|
+
function u({ className: m, size: s = "default", ...i }) {
|
|
10
|
+
return /* @__PURE__ */ o(
|
|
11
|
+
a.Root,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "switch",
|
|
14
|
+
"data-size": s,
|
|
15
|
+
className: r(t.root, e[s], m),
|
|
16
|
+
...i,
|
|
17
|
+
children: /* @__PURE__ */ o(
|
|
18
|
+
a.Thumb,
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "switch-thumb",
|
|
21
|
+
className: t.thumb
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
u as Switch
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const s = "labdsnov_root_Y5Ydi", t = "labdsnov_thumb_-FTeK", o = "labdsnov_sizeDefault_F2WPc", e = "labdsnov_sizeSm_MvsLM", a = {
|
|
2
|
+
root: s,
|
|
3
|
+
thumb: t,
|
|
4
|
+
sizeDefault: o,
|
|
5
|
+
sizeSm: e
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
a as default,
|
|
9
|
+
s as root,
|
|
10
|
+
o as sizeDefault,
|
|
11
|
+
e as sizeSm,
|
|
12
|
+
t as thumb
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Switch";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/** Data table. Wrapped in a container that scrolls sideways when the table is wider than the screen. */
|
|
3
|
+
declare function Table({ className, ...props }: React.ComponentProps<"table">): React.JSX.Element;
|
|
4
|
+
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): React.JSX.Element;
|
|
5
|
+
declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): React.JSX.Element;
|
|
6
|
+
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): React.JSX.Element;
|
|
7
|
+
/** A row. `data-state="selected"` highlights it. */
|
|
8
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): React.JSX.Element;
|
|
9
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): React.JSX.Element;
|
|
10
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): React.JSX.Element;
|
|
11
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): React.JSX.Element;
|
|
12
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "cn";
|
|
3
|
+
import l from "./Table.module.css.js";
|
|
4
|
+
function c({ className: a, ...t }) {
|
|
5
|
+
return /* @__PURE__ */ e("div", { "data-slot": "table-container", className: l.container, children: /* @__PURE__ */ e(
|
|
6
|
+
"table",
|
|
7
|
+
{
|
|
8
|
+
"data-slot": "table",
|
|
9
|
+
className: o(l.table, a),
|
|
10
|
+
...t
|
|
11
|
+
}
|
|
12
|
+
) });
|
|
13
|
+
}
|
|
14
|
+
function d({ className: a, ...t }) {
|
|
15
|
+
return /* @__PURE__ */ e(
|
|
16
|
+
"thead",
|
|
17
|
+
{
|
|
18
|
+
"data-slot": "table-header",
|
|
19
|
+
className: o(l.header, a),
|
|
20
|
+
...t
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
function b({ className: a, ...t }) {
|
|
25
|
+
return /* @__PURE__ */ e(
|
|
26
|
+
"tbody",
|
|
27
|
+
{
|
|
28
|
+
"data-slot": "table-body",
|
|
29
|
+
className: o(l.body, a),
|
|
30
|
+
...t
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
function i({ className: a, ...t }) {
|
|
35
|
+
return /* @__PURE__ */ e(
|
|
36
|
+
"tfoot",
|
|
37
|
+
{
|
|
38
|
+
"data-slot": "table-footer",
|
|
39
|
+
className: o(l.footer, a),
|
|
40
|
+
...t
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
function u({ className: a, ...t }) {
|
|
45
|
+
return /* @__PURE__ */ e(
|
|
46
|
+
"tr",
|
|
47
|
+
{
|
|
48
|
+
"data-slot": "table-row",
|
|
49
|
+
className: o(l.row, a),
|
|
50
|
+
...t
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
function m({ className: a, ...t }) {
|
|
55
|
+
return /* @__PURE__ */ e(
|
|
56
|
+
"th",
|
|
57
|
+
{
|
|
58
|
+
"data-slot": "table-head",
|
|
59
|
+
className: o(l.head, a),
|
|
60
|
+
...t
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
function f({ className: a, ...t }) {
|
|
65
|
+
return /* @__PURE__ */ e(
|
|
66
|
+
"td",
|
|
67
|
+
{
|
|
68
|
+
"data-slot": "table-cell",
|
|
69
|
+
className: o(l.cell, a),
|
|
70
|
+
...t
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
function N({
|
|
75
|
+
className: a,
|
|
76
|
+
...t
|
|
77
|
+
}) {
|
|
78
|
+
return /* @__PURE__ */ e(
|
|
79
|
+
"caption",
|
|
80
|
+
{
|
|
81
|
+
"data-slot": "table-caption",
|
|
82
|
+
className: o(l.caption, a),
|
|
83
|
+
...t
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
c as Table,
|
|
89
|
+
b as TableBody,
|
|
90
|
+
N as TableCaption,
|
|
91
|
+
f as TableCell,
|
|
92
|
+
i as TableFooter,
|
|
93
|
+
m as TableHead,
|
|
94
|
+
d as TableHeader,
|
|
95
|
+
u as TableRow
|
|
96
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "labdsnov_container_Kb-5q", n = "labdsnov_table_Dkosn", a = "labdsnov_header_5ZCAk", t = "labdsnov_body_8JxwZ", e = "labdsnov_footer_gGrs2", s = "labdsnov_row_DD8Km", l = "labdsnov_head_nm9rX", c = "labdsnov_cell_nJrDK", d = "labdsnov_caption_9vU1I", _ = {
|
|
2
|
+
container: o,
|
|
3
|
+
table: n,
|
|
4
|
+
header: a,
|
|
5
|
+
body: t,
|
|
6
|
+
footer: e,
|
|
7
|
+
row: s,
|
|
8
|
+
head: l,
|
|
9
|
+
cell: c,
|
|
10
|
+
caption: d
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
t as body,
|
|
14
|
+
d as caption,
|
|
15
|
+
c as cell,
|
|
16
|
+
o as container,
|
|
17
|
+
_ as default,
|
|
18
|
+
e as footer,
|
|
19
|
+
l as head,
|
|
20
|
+
a as header,
|
|
21
|
+
s as row,
|
|
22
|
+
n as table
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Table";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
2
|
+
declare const listVariantClass: {
|
|
3
|
+
readonly default: string;
|
|
4
|
+
readonly line: string;
|
|
5
|
+
};
|
|
6
|
+
type TabsListVariant = keyof typeof listVariantClass;
|
|
7
|
+
/** Groups the tab list and its panels. Set `defaultValue` (or `value`) to an enabled tab's value. */
|
|
8
|
+
declare function Tabs({ className, ...props }: TabsPrimitive.Root.Props): import("react").JSX.Element;
|
|
9
|
+
type TabsListProps = TabsPrimitive.List.Props & {
|
|
10
|
+
/** `default`: tabs sit in a tinted pill. `line`: no background, the active tab is underlined. */
|
|
11
|
+
variant?: TabsListVariant;
|
|
12
|
+
};
|
|
13
|
+
declare function TabsList({ className, variant, ...props }: TabsListProps): import("react").JSX.Element;
|
|
14
|
+
declare function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props): import("react").JSX.Element;
|
|
15
|
+
declare function TabsContent({ className, ...props }: TabsPrimitive.Panel.Props): import("react").JSX.Element;
|
|
16
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger, type TabsListProps, type TabsListVariant, };
|