@designil/labdsnov 0.0.0-stage → 1.0.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.
Files changed (243) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +133 -2
  3. package/dist/components/Accordion/Accordion.d.ts +8 -0
  4. package/dist/components/Accordion/Accordion.js +82 -0
  5. package/dist/components/Accordion/Accordion.module.css.js +23 -0
  6. package/dist/components/Accordion/index.d.ts +1 -0
  7. package/dist/components/Alert/Alert.d.ts +17 -0
  8. package/dist/components/Alert/Alert.js +58 -0
  9. package/dist/components/Alert/Alert.module.css.js +17 -0
  10. package/dist/components/Alert/index.d.ts +1 -0
  11. package/dist/components/AlertDialog/AlertDialog.d.ts +29 -0
  12. package/dist/components/AlertDialog/AlertDialog.js +150 -0
  13. package/dist/components/AlertDialog/AlertDialog.module.css.js +23 -0
  14. package/dist/components/AlertDialog/index.d.ts +1 -0
  15. package/dist/components/Avatar/Avatar.d.ts +23 -0
  16. package/dist/components/Avatar/Avatar.js +84 -0
  17. package/dist/components/Avatar/Avatar.module.css.js +23 -0
  18. package/dist/components/Avatar/index.d.ts +1 -0
  19. package/dist/components/Badge/Badge.d.ts +17 -0
  20. package/dist/components/Badge/Badge.js +37 -0
  21. package/dist/components/Badge/Badge.module.css.js +19 -0
  22. package/dist/components/Badge/index.d.ts +1 -0
  23. package/dist/components/Breadcrumb/Breadcrumb.d.ts +15 -0
  24. package/dist/components/Breadcrumb/Breadcrumb.js +111 -0
  25. package/dist/components/Breadcrumb/Breadcrumb.module.css.js +19 -0
  26. package/dist/components/Breadcrumb/index.d.ts +1 -0
  27. package/dist/components/Button/Button.d.ts +39 -0
  28. package/dist/components/Button/Button.js +62 -0
  29. package/dist/components/Button/Button.module.css.js +37 -0
  30. package/dist/components/Button/index.d.ts +1 -0
  31. package/dist/components/ButtonGroup/ButtonGroup.d.ts +21 -0
  32. package/dist/components/ButtonGroup/ButtonGroup.js +59 -0
  33. package/dist/components/ButtonGroup/ButtonGroup.module.css.js +15 -0
  34. package/dist/components/ButtonGroup/index.d.ts +1 -0
  35. package/dist/components/Calendar/Calendar.d.ts +17 -0
  36. package/dist/components/Calendar/Calendar.js +154 -0
  37. package/dist/components/Calendar/Calendar.module.css.js +67 -0
  38. package/dist/components/Calendar/index.d.ts +1 -0
  39. package/dist/components/Card/Card.d.ts +20 -0
  40. package/dist/components/Card/Card.js +87 -0
  41. package/dist/components/Card/Card.module.css.js +23 -0
  42. package/dist/components/Card/index.d.ts +1 -0
  43. package/dist/components/Chart/Chart.d.ts +59 -0
  44. package/dist/components/Chart/Chart.js +199 -0
  45. package/dist/components/Chart/Chart.module.css.js +47 -0
  46. package/dist/components/Chart/index.d.ts +1 -0
  47. package/dist/components/Checkbox/Checkbox.d.ts +4 -0
  48. package/dist/components/Checkbox/Checkbox.js +44 -0
  49. package/dist/components/Checkbox/Checkbox.module.css.js +13 -0
  50. package/dist/components/Checkbox/index.d.ts +1 -0
  51. package/dist/components/Collapsible/Collapsible.d.ts +8 -0
  52. package/dist/components/Collapsible/Collapsible.js +28 -0
  53. package/dist/components/Collapsible/Collapsible.module.css.js +7 -0
  54. package/dist/components/Collapsible/index.d.ts +1 -0
  55. package/dist/components/Combobox/Combobox.d.ts +36 -0
  56. package/dist/components/Combobox/Combobox.js +296 -0
  57. package/dist/components/Combobox/Combobox.module.css.js +39 -0
  58. package/dist/components/Combobox/index.d.ts +1 -0
  59. package/dist/components/DatePicker/DatePicker.d.ts +28 -0
  60. package/dist/components/DatePicker/DatePicker.js +73 -0
  61. package/dist/components/DatePicker/DatePicker.module.css.js +9 -0
  62. package/dist/components/DatePicker/index.d.ts +1 -0
  63. package/dist/components/Dialog/Dialog.d.ts +27 -0
  64. package/dist/components/Dialog/Dialog.js +144 -0
  65. package/dist/components/Dialog/Dialog.module.css.js +29 -0
  66. package/dist/components/Dialog/index.d.ts +1 -0
  67. package/dist/components/Drawer/Drawer.d.ts +22 -0
  68. package/dist/components/Drawer/Drawer.js +166 -0
  69. package/dist/components/Drawer/Drawer.module.css.js +23 -0
  70. package/dist/components/Drawer/index.d.ts +1 -0
  71. package/dist/components/DropdownMenu/DropdownMenu.d.ts +32 -0
  72. package/dist/components/DropdownMenu/DropdownMenu.js +245 -0
  73. package/dist/components/DropdownMenu/DropdownMenu.module.css.js +33 -0
  74. package/dist/components/DropdownMenu/index.d.ts +1 -0
  75. package/dist/components/Empty/Empty.d.ts +18 -0
  76. package/dist/components/Empty/Empty.js +76 -0
  77. package/dist/components/Empty/Empty.module.css.js +21 -0
  78. package/dist/components/Empty/index.d.ts +1 -0
  79. package/dist/components/Field/Field.d.ts +53 -0
  80. package/dist/components/Field/Field.js +172 -0
  81. package/dist/components/Field/Field.module.css.js +41 -0
  82. package/dist/components/Field/index.d.ts +1 -0
  83. package/dist/components/FundCard/FundCard.d.ts +18 -0
  84. package/dist/components/FundCard/FundCard.js +66 -0
  85. package/dist/components/FundCard/FundCard.module.css.js +25 -0
  86. package/dist/components/FundCard/index.d.ts +1 -0
  87. package/dist/components/HoverCard/HoverCard.d.ts +8 -0
  88. package/dist/components/HoverCard/HoverCard.js +42 -0
  89. package/dist/components/HoverCard/HoverCard.module.css.js +9 -0
  90. package/dist/components/HoverCard/index.d.ts +1 -0
  91. package/dist/components/Input/Input.d.ts +12 -0
  92. package/dist/components/Input/Input.js +23 -0
  93. package/dist/components/Input/Input.module.css.js +11 -0
  94. package/dist/components/Input/index.d.ts +1 -0
  95. package/dist/components/InputGroup/InputGroup.d.ts +39 -0
  96. package/dist/components/InputGroup/InputGroup.js +103 -0
  97. package/dist/components/InputGroup/InputGroup.module.css.js +31 -0
  98. package/dist/components/InputGroup/index.d.ts +1 -0
  99. package/dist/components/InputOTP/InputOTP.d.ts +18 -0
  100. package/dist/components/InputOTP/InputOTP.js +72 -0
  101. package/dist/components/InputOTP/InputOTP.module.css.js +19 -0
  102. package/dist/components/InputOTP/index.d.ts +1 -0
  103. package/dist/components/Kbd/Kbd.d.ts +5 -0
  104. package/dist/components/Kbd/Kbd.js +20 -0
  105. package/dist/components/Kbd/Kbd.module.css.js +9 -0
  106. package/dist/components/Kbd/index.d.ts +1 -0
  107. package/dist/components/Label/Label.d.ts +7 -0
  108. package/dist/components/Label/Label.js +17 -0
  109. package/dist/components/Label/Label.module.css.js +9 -0
  110. package/dist/components/Label/index.d.ts +1 -0
  111. package/dist/components/NavigationMenu/NavigationMenu.d.ts +20 -0
  112. package/dist/components/NavigationMenu/NavigationMenu.js +153 -0
  113. package/dist/components/NavigationMenu/NavigationMenu.module.css.js +29 -0
  114. package/dist/components/NavigationMenu/index.d.ts +1 -0
  115. package/dist/components/Pagination/Pagination.d.ts +29 -0
  116. package/dist/components/Pagination/Pagination.js +133 -0
  117. package/dist/components/Pagination/Pagination.module.css.js +19 -0
  118. package/dist/components/Pagination/index.d.ts +1 -0
  119. package/dist/components/Popover/Popover.d.ts +10 -0
  120. package/dist/components/Popover/Popover.js +78 -0
  121. package/dist/components/Popover/Popover.module.css.js +15 -0
  122. package/dist/components/Popover/index.d.ts +1 -0
  123. package/dist/components/Progress/Progress.d.ts +12 -0
  124. package/dist/components/Progress/Progress.js +74 -0
  125. package/dist/components/Progress/Progress.module.css.js +15 -0
  126. package/dist/components/Progress/index.d.ts +1 -0
  127. package/dist/components/RadioGroup/RadioGroup.d.ts +6 -0
  128. package/dist/components/RadioGroup/RadioGroup.js +37 -0
  129. package/dist/components/RadioGroup/RadioGroup.module.css.js +13 -0
  130. package/dist/components/RadioGroup/index.d.ts +1 -0
  131. package/dist/components/ScrollArea/ScrollArea.d.ts +9 -0
  132. package/dist/components/ScrollArea/ScrollArea.js +60 -0
  133. package/dist/components/ScrollArea/ScrollArea.module.css.js +17 -0
  134. package/dist/components/ScrollArea/index.d.ts +1 -0
  135. package/dist/components/Select/Select.d.ts +23 -0
  136. package/dist/components/Select/Select.js +188 -0
  137. package/dist/components/Select/Select.module.css.js +37 -0
  138. package/dist/components/Select/index.d.ts +1 -0
  139. package/dist/components/Separator/Separator.d.ts +4 -0
  140. package/dist/components/Separator/Separator.js +22 -0
  141. package/dist/components/Separator/Separator.module.css.js +7 -0
  142. package/dist/components/Separator/index.d.ts +1 -0
  143. package/dist/components/Skeleton/Skeleton.d.ts +4 -0
  144. package/dist/components/Skeleton/Skeleton.js +16 -0
  145. package/dist/components/Skeleton/Skeleton.module.css.js +7 -0
  146. package/dist/components/Skeleton/index.d.ts +1 -0
  147. package/dist/components/Slider/Slider.d.ts +13 -0
  148. package/dist/components/Slider/Slider.js +61 -0
  149. package/dist/components/Slider/Slider.module.css.js +15 -0
  150. package/dist/components/Slider/index.d.ts +1 -0
  151. package/dist/components/Spinner/Spinner.d.ts +6 -0
  152. package/dist/components/Spinner/Spinner.js +22 -0
  153. package/dist/components/Spinner/Spinner.module.css.js +7 -0
  154. package/dist/components/Spinner/index.d.ts +1 -0
  155. package/dist/components/Switch/Switch.d.ts +13 -0
  156. package/dist/components/Switch/Switch.js +29 -0
  157. package/dist/components/Switch/Switch.module.css.js +13 -0
  158. package/dist/components/Switch/index.d.ts +1 -0
  159. package/dist/components/Table/Table.d.ts +12 -0
  160. package/dist/components/Table/Table.js +96 -0
  161. package/dist/components/Table/Table.module.css.js +23 -0
  162. package/dist/components/Table/index.d.ts +1 -0
  163. package/dist/components/Tabs/Tabs.d.ts +16 -0
  164. package/dist/components/Tabs/Tabs.js +55 -0
  165. package/dist/components/Tabs/Tabs.module.css.js +17 -0
  166. package/dist/components/Tabs/index.d.ts +1 -0
  167. package/dist/components/Textarea/Textarea.d.ts +4 -0
  168. package/dist/components/Textarea/Textarea.js +16 -0
  169. package/dist/components/Textarea/Textarea.module.css.js +7 -0
  170. package/dist/components/Textarea/index.d.ts +1 -0
  171. package/dist/components/Toaster/Toaster.d.ts +8 -0
  172. package/dist/components/Toaster/Toaster.js +85 -0
  173. package/dist/components/Toaster/Toaster.module.css.js +11 -0
  174. package/dist/components/Toaster/index.d.ts +1 -0
  175. package/dist/components/Toggle/Toggle.d.ts +26 -0
  176. package/dist/components/Toggle/Toggle.js +35 -0
  177. package/dist/components/Toggle/Toggle.module.css.js +17 -0
  178. package/dist/components/Toggle/index.d.ts +1 -0
  179. package/dist/components/ToggleGroup/ToggleGroup.d.ts +20 -0
  180. package/dist/components/ToggleGroup/ToggleGroup.js +64 -0
  181. package/dist/components/ToggleGroup/ToggleGroup.module.css.js +11 -0
  182. package/dist/components/ToggleGroup/index.d.ts +1 -0
  183. package/dist/components/Tooltip/Tooltip.d.ts +8 -0
  184. package/dist/components/Tooltip/Tooltip.js +61 -0
  185. package/dist/components/Tooltip/Tooltip.module.css.js +11 -0
  186. package/dist/components/Tooltip/index.d.ts +1 -0
  187. package/dist/index.d.ts +47 -0
  188. package/dist/index.js +265 -0
  189. package/dist/styles.css +1 -0
  190. package/docs/Accessibility.md +129 -0
  191. package/docs/Colors.md +96 -0
  192. package/docs/ComponentTokens.md +191 -0
  193. package/docs/Contributing.md +97 -0
  194. package/docs/GettingStarted.md +106 -0
  195. package/docs/Radius.md +25 -0
  196. package/docs/Typography.md +38 -0
  197. package/package.json +79 -3
  198. package/src/components/Accordion/Accordion.md +102 -0
  199. package/src/components/Alert/Alert.md +90 -0
  200. package/src/components/AlertDialog/AlertDialog.md +131 -0
  201. package/src/components/Avatar/Avatar.md +77 -0
  202. package/src/components/Badge/Badge.md +124 -0
  203. package/src/components/Breadcrumb/Breadcrumb.md +110 -0
  204. package/src/components/Button/Button.md +165 -0
  205. package/src/components/ButtonGroup/ButtonGroup.md +96 -0
  206. package/src/components/Calendar/Calendar.md +111 -0
  207. package/src/components/Card/Card.md +99 -0
  208. package/src/components/Chart/Chart.md +112 -0
  209. package/src/components/Checkbox/Checkbox.md +105 -0
  210. package/src/components/Collapsible/Collapsible.md +86 -0
  211. package/src/components/Combobox/Combobox.md +143 -0
  212. package/src/components/DatePicker/DatePicker.md +82 -0
  213. package/src/components/Dialog/Dialog.md +193 -0
  214. package/src/components/Drawer/Drawer.md +125 -0
  215. package/src/components/DropdownMenu/DropdownMenu.md +151 -0
  216. package/src/components/Empty/Empty.md +90 -0
  217. package/src/components/Field/Field.md +139 -0
  218. package/src/components/FundCard/FundCard.md +93 -0
  219. package/src/components/HoverCard/HoverCard.md +100 -0
  220. package/src/components/Input/Input.md +115 -0
  221. package/src/components/InputGroup/InputGroup.md +115 -0
  222. package/src/components/InputOTP/InputOTP.md +105 -0
  223. package/src/components/Kbd/Kbd.md +85 -0
  224. package/src/components/Label/Label.md +75 -0
  225. package/src/components/NavigationMenu/NavigationMenu.md +128 -0
  226. package/src/components/Pagination/Pagination.md +115 -0
  227. package/src/components/Popover/Popover.md +111 -0
  228. package/src/components/Progress/Progress.md +83 -0
  229. package/src/components/RadioGroup/RadioGroup.md +123 -0
  230. package/src/components/ScrollArea/ScrollArea.md +88 -0
  231. package/src/components/Select/Select.md +170 -0
  232. package/src/components/Separator/Separator.md +68 -0
  233. package/src/components/Skeleton/Skeleton.md +68 -0
  234. package/src/components/Slider/Slider.md +107 -0
  235. package/src/components/Spinner/Spinner.md +64 -0
  236. package/src/components/Switch/Switch.md +101 -0
  237. package/src/components/Table/Table.md +117 -0
  238. package/src/components/Tabs/Tabs.md +173 -0
  239. package/src/components/Textarea/Textarea.md +89 -0
  240. package/src/components/Toaster/Toaster.md +107 -0
  241. package/src/components/Toggle/Toggle.md +103 -0
  242. package/src/components/ToggleGroup/ToggleGroup.md +95 -0
  243. package/src/components/Tooltip/Tooltip.md +104 -0
@@ -0,0 +1,133 @@
1
+ import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
+ import { MoreHorizontalCircle01Icon as u, ArrowRight01Icon as d, ArrowLeft01Icon as m } from "@hugeicons/core-free-icons";
3
+ import { HugeiconsIcon as s } from "@hugeicons/react";
4
+ import { cn as e } from "cn";
5
+ import i from "./Pagination.module.css.js";
6
+ import { buttonVariants as p } from "../Button/Button.js";
7
+ function k({ className: n, ...a }) {
8
+ return /* @__PURE__ */ t(
9
+ "nav",
10
+ {
11
+ "aria-label": "การแบ่งหน้า",
12
+ "data-slot": "pagination",
13
+ className: e(i.root, n),
14
+ ...a
15
+ }
16
+ );
17
+ }
18
+ function I({
19
+ className: n,
20
+ ...a
21
+ }) {
22
+ return /* @__PURE__ */ t(
23
+ "ul",
24
+ {
25
+ "data-slot": "pagination-content",
26
+ className: e(i.content, n),
27
+ ...a
28
+ }
29
+ );
30
+ }
31
+ function b({ ...n }) {
32
+ return /* @__PURE__ */ t("li", { "data-slot": "pagination-item", ...n });
33
+ }
34
+ function l({
35
+ className: n,
36
+ isActive: a,
37
+ size: o = "icon",
38
+ ...c
39
+ }) {
40
+ return /* @__PURE__ */ t(
41
+ "a",
42
+ {
43
+ "aria-current": a ? "page" : void 0,
44
+ "data-slot": "pagination-link",
45
+ "data-active": a,
46
+ className: p({
47
+ variant: a ? "outline" : "ghost",
48
+ size: o,
49
+ className: n
50
+ }),
51
+ ...c
52
+ }
53
+ );
54
+ }
55
+ function v({
56
+ className: n,
57
+ text: a = "ก่อนหน้า",
58
+ ...o
59
+ }) {
60
+ return /* @__PURE__ */ r(
61
+ l,
62
+ {
63
+ "aria-label": "ไปหน้าก่อนหน้า",
64
+ size: "default",
65
+ className: e(i.previous, n),
66
+ ...o,
67
+ children: [
68
+ /* @__PURE__ */ t(
69
+ s,
70
+ {
71
+ icon: m,
72
+ strokeWidth: 2,
73
+ "data-icon": "inline-start"
74
+ }
75
+ ),
76
+ /* @__PURE__ */ t("span", { className: i.stepText, children: a })
77
+ ]
78
+ }
79
+ );
80
+ }
81
+ function z({
82
+ className: n,
83
+ text: a = "ถัดไป",
84
+ ...o
85
+ }) {
86
+ return /* @__PURE__ */ r(
87
+ l,
88
+ {
89
+ "aria-label": "ไปหน้าถัดไป",
90
+ size: "default",
91
+ className: e(i.next, n),
92
+ ...o,
93
+ children: [
94
+ /* @__PURE__ */ t("span", { className: i.stepText, children: a }),
95
+ /* @__PURE__ */ t(
96
+ s,
97
+ {
98
+ icon: d,
99
+ strokeWidth: 2,
100
+ "data-icon": "inline-end"
101
+ }
102
+ )
103
+ ]
104
+ }
105
+ );
106
+ }
107
+ function W({
108
+ className: n,
109
+ ...a
110
+ }) {
111
+ return /* @__PURE__ */ r(
112
+ "span",
113
+ {
114
+ "aria-hidden": !0,
115
+ "data-slot": "pagination-ellipsis",
116
+ className: e(i.ellipsis, n),
117
+ ...a,
118
+ children: [
119
+ /* @__PURE__ */ t(s, { icon: u, strokeWidth: 2 }),
120
+ /* @__PURE__ */ t("span", { className: i.srOnly, children: "หน้าอื่น ๆ" })
121
+ ]
122
+ }
123
+ );
124
+ }
125
+ export {
126
+ k as Pagination,
127
+ I as PaginationContent,
128
+ W as PaginationEllipsis,
129
+ b as PaginationItem,
130
+ l as PaginationLink,
131
+ z as PaginationNext,
132
+ v as PaginationPrevious
133
+ };
@@ -0,0 +1,19 @@
1
+ const s = "dsadv_root_ITRjt", t = "dsadv_content_pzEXR", e = "dsadv_previous_FpmPl", o = "dsadv_next_QC3Z9", n = "dsadv_stepText_jAi77", d = "dsadv_ellipsis_V294k", _ = "dsadv_srOnly_ASUuu", l = {
2
+ root: s,
3
+ content: t,
4
+ previous: e,
5
+ next: o,
6
+ stepText: n,
7
+ ellipsis: d,
8
+ srOnly: _
9
+ };
10
+ export {
11
+ t as content,
12
+ l as default,
13
+ d as ellipsis,
14
+ o as next,
15
+ e as previous,
16
+ s as root,
17
+ _ as srOnly,
18
+ n as stepText
19
+ };
@@ -0,0 +1 @@
1
+ export * from "./Pagination";
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
3
+ declare function Popover({ ...props }: PopoverPrimitive.Root.Props): React.JSX.Element;
4
+ declare function PopoverTrigger({ ...props }: PopoverPrimitive.Trigger.Props): React.JSX.Element;
5
+ /** Floating panel next to its trigger (below by default), 288px wide. */
6
+ declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: PopoverPrimitive.Popup.Props & Pick<PopoverPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React.JSX.Element;
7
+ declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
8
+ declare function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props): React.JSX.Element;
9
+ declare function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props): React.JSX.Element;
10
+ export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, };
@@ -0,0 +1,78 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { Popover as e } from "@base-ui/react/popover";
3
+ import { cn as i } from "cn";
4
+ import n from "./Popover.module.css.js";
5
+ function u({ ...o }) {
6
+ return /* @__PURE__ */ r(e.Root, { "data-slot": "popover", ...o });
7
+ }
8
+ function P({ ...o }) {
9
+ return /* @__PURE__ */ r(e.Trigger, { "data-slot": "popover-trigger", ...o });
10
+ }
11
+ function f({
12
+ className: o,
13
+ align: t = "center",
14
+ alignOffset: p = 0,
15
+ side: a = "bottom",
16
+ sideOffset: s = 4,
17
+ ...c
18
+ }) {
19
+ return /* @__PURE__ */ r(e.Portal, { children: /* @__PURE__ */ r(
20
+ e.Positioner,
21
+ {
22
+ align: t,
23
+ alignOffset: p,
24
+ side: a,
25
+ sideOffset: s,
26
+ className: n.positioner,
27
+ children: /* @__PURE__ */ r(
28
+ e.Popup,
29
+ {
30
+ "data-slot": "popover-content",
31
+ className: i(n.content, o),
32
+ ...c
33
+ }
34
+ )
35
+ }
36
+ ) });
37
+ }
38
+ function g({ className: o, ...t }) {
39
+ return /* @__PURE__ */ r(
40
+ "div",
41
+ {
42
+ "data-slot": "popover-header",
43
+ className: i(n.header, o),
44
+ ...t
45
+ }
46
+ );
47
+ }
48
+ function N({ className: o, ...t }) {
49
+ return /* @__PURE__ */ r(
50
+ e.Title,
51
+ {
52
+ "data-slot": "popover-title",
53
+ className: i(n.title, o),
54
+ ...t
55
+ }
56
+ );
57
+ }
58
+ function h({
59
+ className: o,
60
+ ...t
61
+ }) {
62
+ return /* @__PURE__ */ r(
63
+ e.Description,
64
+ {
65
+ "data-slot": "popover-description",
66
+ className: i(n.description, o),
67
+ ...t
68
+ }
69
+ );
70
+ }
71
+ export {
72
+ u as Popover,
73
+ f as PopoverContent,
74
+ h as PopoverDescription,
75
+ g as PopoverHeader,
76
+ N as PopoverTitle,
77
+ P as PopoverTrigger
78
+ };
@@ -0,0 +1,15 @@
1
+ const t = "dsadv_positioner_5L4-d", e = "dsadv_content_O07fj", s = "dsadv_header_u8-jn", n = "dsadv_title_hAl5w", o = "dsadv_description_7vJsV", d = {
2
+ positioner: t,
3
+ content: e,
4
+ header: s,
5
+ title: n,
6
+ description: o
7
+ };
8
+ export {
9
+ e as content,
10
+ d as default,
11
+ o as description,
12
+ s as header,
13
+ t as positioner,
14
+ n as title
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./Popover";
@@ -0,0 +1,12 @@
1
+ import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
2
+ /**
3
+ * Progress bar. `value` is 0–100 by default (`min`/`max` change the range);
4
+ * `value={null}` means the amount is unknown. Put a `ProgressLabel` and
5
+ * `ProgressValue` in `children` to show them above the bar.
6
+ */
7
+ declare function Progress({ className, children, value, ...props }: ProgressPrimitive.Root.Props): import("react").JSX.Element;
8
+ declare function ProgressTrack({ className, ...props }: ProgressPrimitive.Track.Props): import("react").JSX.Element;
9
+ declare function ProgressIndicator({ className, ...props }: ProgressPrimitive.Indicator.Props): import("react").JSX.Element;
10
+ declare function ProgressLabel({ className, ...props }: ProgressPrimitive.Label.Props): import("react").JSX.Element;
11
+ declare function ProgressValue({ className, ...props }: ProgressPrimitive.Value.Props): import("react").JSX.Element;
12
+ export { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, };
@@ -0,0 +1,74 @@
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { Progress as a } from "@base-ui/react/progress";
3
+ import { cn as e } from "cn";
4
+ import t from "./Progress.module.css.js";
5
+ function f({
6
+ className: r,
7
+ children: s,
8
+ value: l,
9
+ ...n
10
+ }) {
11
+ return /* @__PURE__ */ c(
12
+ a.Root,
13
+ {
14
+ value: l,
15
+ "data-slot": "progress",
16
+ className: e(t.root, r),
17
+ ...n,
18
+ children: [
19
+ s,
20
+ /* @__PURE__ */ o(i, { children: /* @__PURE__ */ o(u, {}) })
21
+ ]
22
+ }
23
+ );
24
+ }
25
+ function i({ className: r, ...s }) {
26
+ return /* @__PURE__ */ o(
27
+ a.Track,
28
+ {
29
+ "data-slot": "progress-track",
30
+ className: e(t.track, r),
31
+ ...s
32
+ }
33
+ );
34
+ }
35
+ function u({
36
+ className: r,
37
+ ...s
38
+ }) {
39
+ return /* @__PURE__ */ o(
40
+ a.Indicator,
41
+ {
42
+ "data-slot": "progress-indicator",
43
+ className: e(t.indicator, r),
44
+ ...s
45
+ }
46
+ );
47
+ }
48
+ function P({ className: r, ...s }) {
49
+ return /* @__PURE__ */ o(
50
+ a.Label,
51
+ {
52
+ "data-slot": "progress-label",
53
+ className: e(t.label, r),
54
+ ...s
55
+ }
56
+ );
57
+ }
58
+ function N({ className: r, ...s }) {
59
+ return /* @__PURE__ */ o(
60
+ a.Value,
61
+ {
62
+ "data-slot": "progress-value",
63
+ className: e(t.value, r),
64
+ ...s
65
+ }
66
+ );
67
+ }
68
+ export {
69
+ f as Progress,
70
+ u as ProgressIndicator,
71
+ P as ProgressLabel,
72
+ i as ProgressTrack,
73
+ N as ProgressValue
74
+ };
@@ -0,0 +1,15 @@
1
+ const a = "dsadv_root_uwNGo", t = "dsadv_track_RVIao", o = "dsadv_indicator_qtC75", d = "dsadv_label_qqHJM", s = "dsadv_value_ZM8Yk", c = {
2
+ root: a,
3
+ track: t,
4
+ indicator: o,
5
+ label: d,
6
+ value: s
7
+ };
8
+ export {
9
+ c as default,
10
+ o as indicator,
11
+ d as label,
12
+ a as root,
13
+ t as track,
14
+ s as value
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./Progress";
@@ -0,0 +1,6 @@
1
+ import { Radio as RadioPrimitive } from "@base-ui/react/radio";
2
+ import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
3
+ /** One choice from a short list. Give it an accessible name (`aria-label` or a `FieldLegend`). */
4
+ declare function RadioGroup({ className, ...props }: RadioGroupPrimitive.Props): import("react").JSX.Element;
5
+ declare function RadioGroupItem({ className, ...props }: RadioPrimitive.Root.Props): import("react").JSX.Element;
6
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,37 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Radio as i } from "@base-ui/react/radio";
3
+ import { RadioGroup as m } from "@base-ui/react/radio-group";
4
+ import { cn as d } from "cn";
5
+ import r from "./RadioGroup.module.css.js";
6
+ function u({ className: a, ...t }) {
7
+ return /* @__PURE__ */ o(
8
+ m,
9
+ {
10
+ "data-slot": "radio-group",
11
+ className: d(r.root, a),
12
+ ...t
13
+ }
14
+ );
15
+ }
16
+ function l({ className: a, ...t }) {
17
+ return /* @__PURE__ */ o(
18
+ i.Root,
19
+ {
20
+ "data-slot": "radio-group-item",
21
+ className: d(r.item, a),
22
+ ...t,
23
+ children: /* @__PURE__ */ o(
24
+ i.Indicator,
25
+ {
26
+ "data-slot": "radio-group-indicator",
27
+ className: r.indicator,
28
+ children: /* @__PURE__ */ o("span", { className: r.dot })
29
+ }
30
+ )
31
+ }
32
+ );
33
+ }
34
+ export {
35
+ u as RadioGroup,
36
+ l as RadioGroupItem
37
+ };
@@ -0,0 +1,13 @@
1
+ const t = "dsadv_root_pd-2K", o = "dsadv_item_W9-K2", d = "dsadv_indicator_uyquk", s = "dsadv_dot_g5wbC", a = {
2
+ root: t,
3
+ item: o,
4
+ indicator: d,
5
+ dot: s
6
+ };
7
+ export {
8
+ a as default,
9
+ s as dot,
10
+ d as indicator,
11
+ o as item,
12
+ t as root
13
+ };
@@ -0,0 +1 @@
1
+ export * from "./RadioGroup";
@@ -0,0 +1,9 @@
1
+ import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
2
+ /**
3
+ * A box with a fixed height or width whose content scrolls, with a slim
4
+ * scrollbar that looks the same on every OS. Give it a size with `className`.
5
+ */
6
+ declare function ScrollArea({ className, children, ...props }: ScrollAreaPrimitive.Root.Props): import("react").JSX.Element;
7
+ /** Extra scrollbar. `ScrollArea` has a vertical one; add `<ScrollBar orientation="horizontal" />` for wide content. */
8
+ declare function ScrollBar({ className, orientation, ...props }: ScrollAreaPrimitive.Scrollbar.Props): import("react").JSX.Element;
9
+ export { ScrollArea, ScrollBar };
@@ -0,0 +1,60 @@
1
+ import { jsxs as e, jsx as l } from "react/jsx-runtime";
2
+ import { ScrollArea as o } from "@base-ui/react/scroll-area";
3
+ import { cn as c } from "cn";
4
+ import r from "./ScrollArea.module.css.js";
5
+ function d({
6
+ className: t,
7
+ children: a,
8
+ ...s
9
+ }) {
10
+ return /* @__PURE__ */ e(
11
+ o.Root,
12
+ {
13
+ "data-slot": "scroll-area",
14
+ className: c(r.root, t),
15
+ ...s,
16
+ children: [
17
+ /* @__PURE__ */ l(
18
+ o.Viewport,
19
+ {
20
+ "data-slot": "scroll-area-viewport",
21
+ className: r.viewport,
22
+ children: a
23
+ }
24
+ ),
25
+ /* @__PURE__ */ l(m, {}),
26
+ /* @__PURE__ */ l(o.Corner, {})
27
+ ]
28
+ }
29
+ );
30
+ }
31
+ const i = {
32
+ vertical: r.scrollbarVertical,
33
+ horizontal: r.scrollbarHorizontal
34
+ };
35
+ function m({
36
+ className: t,
37
+ orientation: a = "vertical",
38
+ ...s
39
+ }) {
40
+ return /* @__PURE__ */ l(
41
+ o.Scrollbar,
42
+ {
43
+ "data-slot": "scroll-area-scrollbar",
44
+ orientation: a,
45
+ className: c(r.scrollbar, i[a], t),
46
+ ...s,
47
+ children: /* @__PURE__ */ l(
48
+ o.Thumb,
49
+ {
50
+ "data-slot": "scroll-area-thumb",
51
+ className: r.thumb
52
+ }
53
+ )
54
+ }
55
+ );
56
+ }
57
+ export {
58
+ d as ScrollArea,
59
+ m as ScrollBar
60
+ };
@@ -0,0 +1,17 @@
1
+ const o = "dsadv_root_cWKqF", r = "dsadv_viewport_OxO0u", l = "dsadv_scrollbar_64LT-", s = "dsadv_scrollbarVertical_9uMIZ", t = "dsadv_scrollbarHorizontal_3yYDZ", a = "dsadv_thumb_Spv0E", c = {
2
+ root: o,
3
+ viewport: r,
4
+ scrollbar: l,
5
+ scrollbarVertical: s,
6
+ scrollbarHorizontal: t,
7
+ thumb: a
8
+ };
9
+ export {
10
+ c as default,
11
+ o as root,
12
+ l as scrollbar,
13
+ t as scrollbarHorizontal,
14
+ s as scrollbarVertical,
15
+ a as thumb,
16
+ r as viewport
17
+ };
@@ -0,0 +1 @@
1
+ export * from "./ScrollArea";
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { Select as SelectPrimitive } from "@base-ui/react/select";
3
+ declare const triggerSizeClass: {
4
+ readonly default: string;
5
+ readonly sm: string;
6
+ };
7
+ type SelectTriggerSize = keyof typeof triggerSizeClass;
8
+ /** Groups the select. Pass `items` so `SelectValue` shows the label, not the raw value. */
9
+ declare const Select: typeof SelectPrimitive.Root;
10
+ declare function SelectGroup({ className, ...props }: SelectPrimitive.Group.Props): React.JSX.Element;
11
+ declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): React.JSX.Element;
12
+ type SelectTriggerProps = SelectPrimitive.Trigger.Props & {
13
+ /** `default`: 36px high. `sm`: 32px. */
14
+ size?: SelectTriggerSize;
15
+ };
16
+ declare function SelectTrigger({ className, size, children, ...props }: SelectTriggerProps): React.JSX.Element;
17
+ declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: SelectPrimitive.Popup.Props & Pick<SelectPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): React.JSX.Element;
18
+ declare function SelectLabel({ className, ...props }: SelectPrimitive.GroupLabel.Props): React.JSX.Element;
19
+ declare function SelectItem({ className, children, ...props }: SelectPrimitive.Item.Props): React.JSX.Element;
20
+ declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): React.JSX.Element;
21
+ declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>): React.JSX.Element;
22
+ declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>): React.JSX.Element;
23
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectTriggerProps, type SelectTriggerSize, };