@skybin-tech/nebula-ui 0.0.26 → 0.0.27

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 (286) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +24 -0
  2. package/dist/cjs/components/Accordion/Accordion.cjs +20 -10
  3. package/dist/cjs/components/Accordion/Accordion.cjs.map +1 -1
  4. package/dist/cjs/components/Alert/Alert.cjs +19 -9
  5. package/dist/cjs/components/Alert/Alert.cjs.map +1 -1
  6. package/dist/cjs/components/Avatar/Avatar.cjs +19 -9
  7. package/dist/cjs/components/Avatar/Avatar.cjs.map +1 -1
  8. package/dist/cjs/components/Badge/Badge.cjs +8 -7
  9. package/dist/cjs/components/Badge/Badge.cjs.map +1 -1
  10. package/dist/cjs/components/Button/Button.cjs +37 -47
  11. package/dist/cjs/components/Button/Button.cjs.map +1 -1
  12. package/dist/cjs/components/Card/Card.cjs +31 -12
  13. package/dist/cjs/components/Card/Card.cjs.map +1 -1
  14. package/dist/cjs/components/Checkbox/Checkbox.cjs +12 -7
  15. package/dist/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
  16. package/dist/cjs/components/DropdownMenu/DropdownMenu.cjs +55 -21
  17. package/dist/cjs/components/DropdownMenu/DropdownMenu.cjs.map +1 -1
  18. package/dist/cjs/components/Form/Checkbox.cjs +128 -142
  19. package/dist/cjs/components/Form/Checkbox.cjs.map +1 -1
  20. package/dist/cjs/components/Form/Form.cjs +106 -105
  21. package/dist/cjs/components/Form/Form.cjs.map +1 -1
  22. package/dist/cjs/components/Form/FormSwitch.cjs +126 -0
  23. package/dist/cjs/components/Form/FormSwitch.cjs.map +1 -0
  24. package/dist/cjs/components/Form/Radio.cjs +157 -172
  25. package/dist/cjs/components/Form/Radio.cjs.map +1 -1
  26. package/dist/cjs/components/Form/TextArea.cjs +137 -152
  27. package/dist/cjs/components/Form/TextArea.cjs.map +1 -1
  28. package/dist/cjs/components/Form/TextBox.cjs +184 -206
  29. package/dist/cjs/components/Form/TextBox.cjs.map +1 -1
  30. package/dist/cjs/components/Form/context.cjs +109 -122
  31. package/dist/cjs/components/Form/context.cjs.map +1 -1
  32. package/dist/cjs/components/Form/hooks.cjs +34 -24
  33. package/dist/cjs/components/Form/hooks.cjs.map +1 -1
  34. package/dist/cjs/components/Form/variants.cjs +14 -14
  35. package/dist/cjs/components/Form/variants.cjs.map +1 -1
  36. package/dist/cjs/components/Input/Input.cjs +11 -7
  37. package/dist/cjs/components/Input/Input.cjs.map +1 -1
  38. package/dist/cjs/components/Label/Label.cjs +11 -7
  39. package/dist/cjs/components/Label/Label.cjs.map +1 -1
  40. package/dist/cjs/components/Pagination/Pagination.cjs +58 -95
  41. package/dist/cjs/components/Pagination/Pagination.cjs.map +1 -1
  42. package/dist/cjs/components/Separator/Separator.cjs +11 -7
  43. package/dist/cjs/components/Separator/Separator.cjs.map +1 -1
  44. package/dist/cjs/components/Skeleton/Skeleton.cjs +7 -6
  45. package/dist/cjs/components/Skeleton/Skeleton.cjs.map +1 -1
  46. package/dist/cjs/components/Switch/Switch.cjs +14 -0
  47. package/dist/cjs/components/Switch/Switch.cjs.map +1 -0
  48. package/dist/cjs/components/Tabs/Tabs.cjs +23 -10
  49. package/dist/cjs/components/Tabs/Tabs.cjs.map +1 -1
  50. package/dist/cjs/components/Textarea/Textarea.cjs +11 -7
  51. package/dist/cjs/components/Textarea/Textarea.cjs.map +1 -1
  52. package/dist/cjs/components/Tooltip/Tooltip.cjs +14 -10
  53. package/dist/cjs/components/Tooltip/Tooltip.cjs.map +1 -1
  54. package/dist/cjs/hooks/useDebounce.cjs +22 -14
  55. package/dist/cjs/hooks/useDebounce.cjs.map +1 -1
  56. package/dist/cjs/hooks/useToast.cjs +105 -84
  57. package/dist/cjs/hooks/useToast.cjs.map +1 -1
  58. package/dist/cjs/hooks/useToggle.cjs +15 -9
  59. package/dist/cjs/hooks/useToggle.cjs.map +1 -1
  60. package/dist/cjs/index.cjs +170 -170
  61. package/dist/cjs/primitives/accordion.cjs +38 -61
  62. package/dist/cjs/primitives/accordion.cjs.map +1 -1
  63. package/dist/cjs/primitives/alert.cjs +33 -63
  64. package/dist/cjs/primitives/alert.cjs.map +1 -1
  65. package/dist/cjs/primitives/avatar.cjs +29 -58
  66. package/dist/cjs/primitives/avatar.cjs.map +1 -1
  67. package/dist/cjs/primitives/badge.cjs +26 -27
  68. package/dist/cjs/primitives/badge.cjs.map +1 -1
  69. package/dist/cjs/primitives/button.cjs +44 -63
  70. package/dist/cjs/primitives/button.cjs.map +1 -1
  71. package/dist/cjs/primitives/calendar.cjs +41 -44
  72. package/dist/cjs/primitives/calendar.cjs.map +1 -1
  73. package/dist/cjs/primitives/card.cjs +39 -70
  74. package/dist/cjs/primitives/card.cjs.map +1 -1
  75. package/dist/cjs/primitives/checkbox.cjs +22 -45
  76. package/dist/cjs/primitives/checkbox.cjs.map +1 -1
  77. package/dist/cjs/primitives/command.cjs +65 -73
  78. package/dist/cjs/primitives/command.cjs.map +1 -1
  79. package/dist/cjs/primitives/dialog.cjs +55 -84
  80. package/dist/cjs/primitives/dialog.cjs.map +1 -1
  81. package/dist/cjs/primitives/dropdown-menu.cjs +82 -153
  82. package/dist/cjs/primitives/dropdown-menu.cjs.map +1 -1
  83. package/dist/cjs/primitives/input.cjs +17 -39
  84. package/dist/cjs/primitives/input.cjs.map +1 -1
  85. package/dist/cjs/primitives/label.cjs +19 -38
  86. package/dist/cjs/primitives/label.cjs.map +1 -1
  87. package/dist/cjs/primitives/popover.cjs +22 -42
  88. package/dist/cjs/primitives/popover.cjs.map +1 -1
  89. package/dist/cjs/primitives/radio-group.cjs +31 -50
  90. package/dist/cjs/primitives/radio-group.cjs.map +1 -1
  91. package/dist/cjs/primitives/scroll-area.cjs +33 -55
  92. package/dist/cjs/primitives/scroll-area.cjs.map +1 -1
  93. package/dist/cjs/primitives/select.cjs +76 -133
  94. package/dist/cjs/primitives/select.cjs.map +1 -1
  95. package/dist/cjs/primitives/separator.cjs +20 -42
  96. package/dist/cjs/primitives/separator.cjs.map +1 -1
  97. package/dist/cjs/primitives/skeleton.cjs +10 -12
  98. package/dist/cjs/primitives/skeleton.cjs.map +1 -1
  99. package/dist/cjs/primitives/sonner.cjs +16 -20
  100. package/dist/cjs/primitives/sonner.cjs.map +1 -1
  101. package/dist/cjs/primitives/switch.cjs +19 -45
  102. package/dist/cjs/primitives/switch.cjs.map +1 -1
  103. package/dist/cjs/primitives/table.cjs +52 -61
  104. package/dist/cjs/primitives/table.cjs.map +1 -1
  105. package/dist/cjs/primitives/tabs.cjs +30 -62
  106. package/dist/cjs/primitives/tabs.cjs.map +1 -1
  107. package/dist/cjs/primitives/textarea.cjs +15 -35
  108. package/dist/cjs/primitives/textarea.cjs.map +1 -1
  109. package/dist/cjs/primitives/textbox.cjs +17 -39
  110. package/dist/cjs/primitives/textbox.cjs.map +1 -1
  111. package/dist/cjs/primitives/toast.cjs +59 -107
  112. package/dist/cjs/primitives/toast.cjs.map +1 -1
  113. package/dist/cjs/primitives/toggle.cjs +39 -55
  114. package/dist/cjs/primitives/toggle.cjs.map +1 -1
  115. package/dist/cjs/primitives/tooltip.cjs +21 -41
  116. package/dist/cjs/primitives/tooltip.cjs.map +1 -1
  117. package/dist/cjs/utils/cn.cjs +11 -6
  118. package/dist/cjs/utils/cn.cjs.map +1 -1
  119. package/dist/components/Accordion/Accordion.js +20 -13
  120. package/dist/components/Accordion/Accordion.js.map +1 -1
  121. package/dist/components/Alert/Alert.js +19 -11
  122. package/dist/components/Alert/Alert.js.map +1 -1
  123. package/dist/components/Avatar/Avatar.js +19 -11
  124. package/dist/components/Avatar/Avatar.js.map +1 -1
  125. package/dist/components/Badge/Badge.d.ts +1 -1
  126. package/dist/components/Badge/Badge.d.ts.map +1 -1
  127. package/dist/components/Badge/Badge.js +8 -8
  128. package/dist/components/Badge/Badge.js.map +1 -1
  129. package/dist/components/Button/Button.js +37 -48
  130. package/dist/components/Button/Button.js.map +1 -1
  131. package/dist/components/Card/Card.js +31 -17
  132. package/dist/components/Card/Card.js.map +1 -1
  133. package/dist/components/Checkbox/Checkbox.js +12 -7
  134. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  135. package/dist/components/DropdownMenu/DropdownMenu.d.ts +4 -4
  136. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  137. package/dist/components/DropdownMenu/DropdownMenu.js +55 -35
  138. package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -1
  139. package/dist/components/Form/Checkbox.js +126 -140
  140. package/dist/components/Form/Checkbox.js.map +1 -1
  141. package/dist/components/Form/Form.d.ts +1 -1
  142. package/dist/components/Form/Form.d.ts.map +1 -1
  143. package/dist/components/Form/Form.js +104 -103
  144. package/dist/components/Form/Form.js.map +1 -1
  145. package/dist/components/Form/{Switch.d.ts → FormSwitch.d.ts} +3 -3
  146. package/dist/components/Form/FormSwitch.d.ts.map +1 -0
  147. package/dist/components/Form/FormSwitch.js +126 -0
  148. package/dist/components/Form/FormSwitch.js.map +1 -0
  149. package/dist/components/Form/Radio.d.ts +1 -1
  150. package/dist/components/Form/Radio.d.ts.map +1 -1
  151. package/dist/components/Form/Radio.js +155 -171
  152. package/dist/components/Form/Radio.js.map +1 -1
  153. package/dist/components/Form/Select.d.ts +1 -1
  154. package/dist/components/Form/Select.d.ts.map +1 -1
  155. package/dist/components/Form/TextArea.js +134 -149
  156. package/dist/components/Form/TextArea.js.map +1 -1
  157. package/dist/components/Form/TextBox.js +179 -201
  158. package/dist/components/Form/TextBox.js.map +1 -1
  159. package/dist/components/Form/context.d.ts +3 -5
  160. package/dist/components/Form/context.d.ts.map +1 -1
  161. package/dist/components/Form/context.js +109 -125
  162. package/dist/components/Form/context.js.map +1 -1
  163. package/dist/components/Form/hooks.js +35 -28
  164. package/dist/components/Form/hooks.js.map +1 -1
  165. package/dist/components/Form/index.d.ts +2 -2
  166. package/dist/components/Form/index.d.ts.map +1 -1
  167. package/dist/components/Form/variants.js +15 -14
  168. package/dist/components/Form/variants.js.map +1 -1
  169. package/dist/components/Input/Input.js +11 -7
  170. package/dist/components/Input/Input.js.map +1 -1
  171. package/dist/components/Label/Label.js +11 -7
  172. package/dist/components/Label/Label.js.map +1 -1
  173. package/dist/components/Pagination/Pagination.d.ts +5 -5
  174. package/dist/components/Pagination/Pagination.js +55 -83
  175. package/dist/components/Pagination/Pagination.js.map +1 -1
  176. package/dist/components/Separator/Separator.js +11 -7
  177. package/dist/components/Separator/Separator.js.map +1 -1
  178. package/dist/components/Skeleton/Skeleton.d.ts +1 -1
  179. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
  180. package/dist/components/Skeleton/Skeleton.js +7 -6
  181. package/dist/components/Skeleton/Skeleton.js.map +1 -1
  182. package/dist/components/Switch/Switch.d.ts +4 -1
  183. package/dist/components/Switch/Switch.d.ts.map +1 -1
  184. package/dist/components/Switch/Switch.js +14 -0
  185. package/dist/components/Switch/Switch.js.map +1 -0
  186. package/dist/components/Switch/index.d.ts +1 -0
  187. package/dist/components/Switch/index.d.ts.map +1 -1
  188. package/dist/components/Tabs/Tabs.js +23 -13
  189. package/dist/components/Tabs/Tabs.js.map +1 -1
  190. package/dist/components/Textarea/Textarea.js +11 -7
  191. package/dist/components/Textarea/Textarea.js.map +1 -1
  192. package/dist/components/Tooltip/Tooltip.js +14 -13
  193. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  194. package/dist/hooks/useDebounce.js +23 -15
  195. package/dist/hooks/useDebounce.js.map +1 -1
  196. package/dist/hooks/useToast.js +103 -69
  197. package/dist/hooks/useToast.js.map +1 -1
  198. package/dist/hooks/useToggle.js +16 -10
  199. package/dist/hooks/useToggle.js.map +1 -1
  200. package/dist/index.d.ts +4 -2
  201. package/dist/index.d.ts.map +1 -1
  202. package/dist/index.js +29 -160
  203. package/dist/primitives/accordion.js +32 -43
  204. package/dist/primitives/accordion.js.map +1 -1
  205. package/dist/primitives/alert.js +30 -47
  206. package/dist/primitives/alert.js.map +1 -1
  207. package/dist/primitives/avatar.js +22 -38
  208. package/dist/primitives/avatar.js.map +1 -1
  209. package/dist/primitives/badge.d.ts +1 -1
  210. package/dist/primitives/badge.d.ts.map +1 -1
  211. package/dist/primitives/badge.js +23 -27
  212. package/dist/primitives/badge.js.map +1 -1
  213. package/dist/primitives/button.js +41 -46
  214. package/dist/primitives/button.js.map +1 -1
  215. package/dist/primitives/calendar.d.ts +1 -1
  216. package/dist/primitives/calendar.d.ts.map +1 -1
  217. package/dist/primitives/calendar.js +37 -42
  218. package/dist/primitives/calendar.js.map +1 -1
  219. package/dist/primitives/card.js +37 -58
  220. package/dist/primitives/card.js.map +1 -1
  221. package/dist/primitives/checkbox.js +17 -25
  222. package/dist/primitives/checkbox.js.map +1 -1
  223. package/dist/primitives/command.d.ts +2 -2
  224. package/dist/primitives/command.d.ts.map +1 -1
  225. package/dist/primitives/command.js +70 -71
  226. package/dist/primitives/command.js.map +1 -1
  227. package/dist/primitives/dialog.d.ts +2 -2
  228. package/dist/primitives/dialog.js +47 -70
  229. package/dist/primitives/dialog.js.map +1 -1
  230. package/dist/primitives/dropdown-menu.d.ts +1 -1
  231. package/dist/primitives/dropdown-menu.js +70 -140
  232. package/dist/primitives/dropdown-menu.js.map +1 -1
  233. package/dist/primitives/input.js +15 -22
  234. package/dist/primitives/input.js.map +1 -1
  235. package/dist/primitives/label.js +14 -18
  236. package/dist/primitives/label.js.map +1 -1
  237. package/dist/primitives/popover.js +17 -25
  238. package/dist/primitives/popover.js.map +1 -1
  239. package/dist/primitives/radio-group.js +25 -30
  240. package/dist/primitives/radio-group.js.map +1 -1
  241. package/dist/primitives/scroll-area.js +27 -35
  242. package/dist/primitives/scroll-area.js.map +1 -1
  243. package/dist/primitives/select.js +65 -116
  244. package/dist/primitives/select.js.map +1 -1
  245. package/dist/primitives/separator.js +15 -22
  246. package/dist/primitives/separator.js.map +1 -1
  247. package/dist/primitives/skeleton.d.ts +1 -1
  248. package/dist/primitives/skeleton.d.ts.map +1 -1
  249. package/dist/primitives/skeleton.js +10 -12
  250. package/dist/primitives/skeleton.js.map +1 -1
  251. package/dist/primitives/sonner.d.ts +1 -1
  252. package/dist/primitives/sonner.d.ts.map +1 -1
  253. package/dist/primitives/sonner.js +17 -21
  254. package/dist/primitives/sonner.js.map +1 -1
  255. package/dist/primitives/switch.js +14 -25
  256. package/dist/primitives/switch.js.map +1 -1
  257. package/dist/primitives/table.js +50 -51
  258. package/dist/primitives/table.js.map +1 -1
  259. package/dist/primitives/tabs.js +23 -43
  260. package/dist/primitives/tabs.js.map +1 -1
  261. package/dist/primitives/textarea.js +13 -18
  262. package/dist/primitives/textarea.js.map +1 -1
  263. package/dist/primitives/textbox.js +15 -22
  264. package/dist/primitives/textbox.js.map +1 -1
  265. package/dist/primitives/toast.js +48 -87
  266. package/dist/primitives/toast.js.map +1 -1
  267. package/dist/primitives/toggle.js +34 -36
  268. package/dist/primitives/toggle.js.map +1 -1
  269. package/dist/primitives/tooltip.js +16 -24
  270. package/dist/primitives/tooltip.js.map +1 -1
  271. package/dist/stories/Button.d.ts +1 -1
  272. package/dist/stories/Button.d.ts.map +1 -1
  273. package/dist/stories/Button.stories.d.ts +1 -1
  274. package/dist/stories/Header.d.ts +1 -1
  275. package/dist/stories/Header.d.ts.map +1 -1
  276. package/dist/stories/Header.stories.d.ts +1 -1
  277. package/dist/utils/cn.js +10 -5
  278. package/dist/utils/cn.js.map +1 -1
  279. package/package.json +44 -37
  280. package/dist/cjs/components/Form/Switch.cjs +0 -126
  281. package/dist/cjs/components/Form/Switch.cjs.map +0 -1
  282. package/dist/cjs/index.cjs.map +0 -1
  283. package/dist/components/Form/Switch.d.ts.map +0 -1
  284. package/dist/components/Form/Switch.js +0 -126
  285. package/dist/components/Form/Switch.js.map +0 -1
  286. package/dist/index.js.map +0 -1
@@ -1,105 +1,67 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const React = require("react");
6
- const lucideReact = require("lucide-react");
7
- const cn = require("../../utils/cn.cjs");
8
- const button = require("../../primitives/button.cjs");
9
- function _interopNamespaceDefault(e) {
10
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
11
- if (e) {
12
- for (const k in e) {
13
- if (k !== "default") {
14
- const d = Object.getOwnPropertyDescriptor(e, k);
15
- Object.defineProperty(n, k, d.get ? d : {
16
- enumerable: true,
17
- get: () => e[k]
18
- });
19
- }
20
- }
21
- }
22
- n.default = e;
23
- return Object.freeze(n);
24
- }
25
- const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
26
- const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
27
- "nav",
28
- {
29
- role: "navigation",
30
- "aria-label": "pagination",
31
- className: cn.cn("mx-auto flex w-full justify-center", className),
32
- ...props
33
- }
34
- );
2
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
3
+ const require_cn = require("../../utils/cn.cjs");
4
+ const require_button = require("../../primitives/button.cjs");
5
+ let react = require("react");
6
+ react = require_runtime.__toESM(react, 1);
7
+ let react_jsx_runtime = require("react/jsx-runtime");
8
+ let lucide_react = require("lucide-react");
9
+ //#region src/components/Pagination/Pagination.tsx
10
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("nav", {
11
+ role: "navigation",
12
+ "aria-label": "pagination",
13
+ className: require_cn.cn("mx-auto flex w-full justify-center", className),
14
+ ...props
15
+ });
35
16
  Pagination.displayName = "Pagination";
36
- const PaginationContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
37
- "ul",
38
- {
39
- ref,
40
- className: cn.cn("flex flex-row items-center gap-1", className),
41
- ...props
42
- }
43
- ));
17
+ var PaginationContent = react.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
18
+ ref,
19
+ className: require_cn.cn("flex flex-row items-center gap-1", className),
20
+ ...props
21
+ }));
44
22
  PaginationContent.displayName = "PaginationContent";
45
- const PaginationItem = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: cn.cn("", className), ...props }));
23
+ var PaginationItem = react.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
24
+ ref,
25
+ className: require_cn.cn("", className),
26
+ ...props
27
+ }));
46
28
  PaginationItem.displayName = "PaginationItem";
47
- const PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
48
- "a",
49
- {
50
- "aria-current": isActive ? "page" : void 0,
51
- className: cn.cn(
52
- button.buttonVariants({
53
- variant: isActive ? "outline" : "ghost",
54
- size
55
- }),
56
- className
57
- ),
58
- ...props
59
- }
60
- );
29
+ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
30
+ "aria-current": isActive ? "page" : void 0,
31
+ className: require_cn.cn(require_button.buttonVariants({
32
+ variant: isActive ? "outline" : "ghost",
33
+ size
34
+ }), className),
35
+ ...props
36
+ });
61
37
  PaginationLink.displayName = "PaginationLink";
62
- const PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
63
- PaginationLink,
64
- {
65
- "aria-label": "Go to previous page",
66
- size: "default",
67
- className: cn.cn("gap-1 pl-2.5", className),
68
- ...props,
69
- children: [
70
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4" }),
71
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Previous" })
72
- ]
73
- }
74
- );
38
+ var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PaginationLink, {
39
+ "aria-label": "Go to previous page",
40
+ size: "default",
41
+ className: require_cn.cn("gap-1 pl-2.5", className),
42
+ ...props,
43
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronLeft, { className: "h-4 w-4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "Previous" })]
44
+ });
75
45
  PaginationPrevious.displayName = "PaginationPrevious";
76
- const PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
77
- PaginationLink,
78
- {
79
- "aria-label": "Go to next page",
80
- size: "default",
81
- className: cn.cn("gap-1 pr-2.5", className),
82
- ...props,
83
- children: [
84
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Next" }),
85
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-4 w-4" })
86
- ]
87
- }
88
- );
46
+ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PaginationLink, {
47
+ "aria-label": "Go to next page",
48
+ size: "default",
49
+ className: require_cn.cn("gap-1 pr-2.5", className),
50
+ ...props,
51
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: "Next" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, { className: "h-4 w-4" })]
52
+ });
89
53
  PaginationNext.displayName = "PaginationNext";
90
- const PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
91
- "span",
92
- {
93
- "aria-hidden": true,
94
- className: cn.cn("flex h-9 w-9 items-center justify-center", className),
95
- ...props,
96
- children: [
97
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
98
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More pages" })
99
- ]
100
- }
101
- );
54
+ var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
55
+ "aria-hidden": true,
56
+ className: require_cn.cn("flex h-9 w-9 items-center justify-center", className),
57
+ ...props,
58
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MoreHorizontal, { className: "h-4 w-4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
59
+ className: "sr-only",
60
+ children: "More pages"
61
+ })]
62
+ });
102
63
  PaginationEllipsis.displayName = "PaginationEllipsis";
64
+ //#endregion
103
65
  exports.Pagination = Pagination;
104
66
  exports.PaginationContent = PaginationContent;
105
67
  exports.PaginationEllipsis = PaginationEllipsis;
@@ -107,4 +69,5 @@ exports.PaginationItem = PaginationItem;
107
69
  exports.PaginationLink = PaginationLink;
108
70
  exports.PaginationNext = PaginationNext;
109
71
  exports.PaginationPrevious = PaginationPrevious;
110
- //# sourceMappingURL=Pagination.cjs.map
72
+
73
+ //# sourceMappingURL=Pagination.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.cjs","sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from \"lucide-react\"\r\nimport { cn } from \"../../utils/cn\"\r\nimport { ButtonPrimitive, buttonVariants } from \"../../primitives/button\"\r\n\r\nconst Pagination = ({ className, ...props }: React.ComponentProps<\"nav\">) => (\r\n <nav\r\n role=\"navigation\"\r\n aria-label=\"pagination\"\r\n className={cn(\"mx-auto flex w-full justify-center\", className)}\r\n {...props}\r\n />\r\n)\r\nPagination.displayName = \"Pagination\"\r\n\r\nconst PaginationContent = React.forwardRef<\r\n HTMLUListElement,\r\n React.ComponentProps<\"ul\">\r\n>(({ className, ...props }, ref) => (\r\n <ul\r\n ref={ref}\r\n className={cn(\"flex flex-row items-center gap-1\", className)}\r\n {...props}\r\n />\r\n))\r\nPaginationContent.displayName = \"PaginationContent\"\r\n\r\nconst PaginationItem = React.forwardRef<\r\n HTMLLIElement,\r\n React.ComponentProps<\"li\">\r\n>(({ className, ...props }, ref) => (\r\n <li ref={ref} className={cn(\"\", className)} {...props} />\r\n))\r\nPaginationItem.displayName = \"PaginationItem\"\r\n\r\ntype PaginationLinkProps = {\r\n isActive?: boolean\r\n} & Pick<React.ComponentProps<typeof ButtonPrimitive>, \"size\"> &\r\n React.ComponentProps<\"a\">\r\n\r\nconst PaginationLink = ({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) => (\r\n <a\r\n aria-current={isActive ? \"page\" : undefined}\r\n className={cn(\r\n buttonVariants({\r\n variant: isActive ? \"outline\" : \"ghost\",\r\n size,\r\n }),\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\nPaginationLink.displayName = \"PaginationLink\"\r\n\r\nconst PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to previous page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pl-2.5\", className)}\r\n {...props}\r\n >\r\n <ChevronLeft className=\"h-4 w-4\" />\r\n <span>Previous</span>\r\n </PaginationLink>\r\n)\r\nPaginationPrevious.displayName = \"PaginationPrevious\"\r\n\r\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to next page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pr-2.5\", className)}\r\n {...props}\r\n >\r\n <span>Next</span>\r\n <ChevronRight className=\"h-4 w-4\" />\r\n </PaginationLink>\r\n)\r\nPaginationNext.displayName = \"PaginationNext\"\r\n\r\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<\"span\">) => (\r\n <span\r\n aria-hidden\r\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\r\n {...props}\r\n >\r\n <MoreHorizontal className=\"h-4 w-4\" />\r\n <span className=\"sr-only\">More pages</span>\r\n </span>\r\n)\r\nPaginationEllipsis.displayName = \"PaginationEllipsis\"\r\n\r\nexport {\r\n Pagination,\r\n PaginationContent,\r\n PaginationItem,\r\n PaginationLink,\r\n PaginationNext,\r\n PaginationPrevious,\r\n PaginationEllipsis,\r\n}\r\n"],"names":["jsx","cn","React","buttonVariants","jsxs","ChevronLeft","ChevronRight","MoreHorizontal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,aAAa,CAAC,EAAE,WAAW,GAAG,YAClCA,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,GAAAA,GAAG,sCAAsC,SAAS;AAAA,IAC5D,GAAG;AAAA,EAAA;AACN;AAEF,WAAW,cAAc;AAEzB,MAAM,oBAAoBC,iBAAM,WAG9B,CAAC,EAAE,WAAW,GAAG,MAAA,GAAS,QAC1BF,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC;AAAA,IACA,WAAWC,GAAAA,GAAG,oCAAoC,SAAS;AAAA,IAC1D,GAAG;AAAA,EAAA;AACN,CACD;AACD,kBAAkB,cAAc;AAEhC,MAAM,iBAAiBC,iBAAM,WAG3B,CAAC,EAAE,WAAW,GAAG,SAAS,uCACzB,MAAA,EAAG,KAAU,WAAWD,GAAAA,GAAG,IAAI,SAAS,GAAI,GAAG,OAAO,CACxD;AACD,eAAe,cAAc;AAO7B,MAAM,iBAAiB,CAAC,EAAE,WAAW,UAAU,OAAO,QAAQ,GAAG,MAAA,MAC/DD,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAc,WAAW,SAAS;AAAA,IAClC,WAAWC,GAAAA;AAAAA,MACTE,sBAAe;AAAA,QACb,SAAS,WAAW,YAAY;AAAA,QAChC;AAAA,MAAA,CACD;AAAA,MACD;AAAA,IAAA;AAAA,IAED,GAAG;AAAA,EAAA;AACN;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1CC,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWH,GAAAA,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAACK,YAAAA,aAAA,EAAY,WAAU,UAAA,CAAU;AAAA,MACjCL,2BAAAA,IAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAChB;AAEF,mBAAmB,cAAc;AAEjC,MAAM,iBAAiB,CAAC,EAAE,WAAW,GAAG,YACtCI,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWH,GAAAA,GAAG,gBAAgB,SAAS;AAAA,IACtC,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MACVA,2BAAAA,IAACM,YAAAA,cAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC;AAEF,eAAe,cAAc;AAE7B,MAAM,qBAAqB,CAAC,EAAE,WAAW,GAAG,YAC1CF,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,eAAW;AAAA,IACX,WAAWH,GAAAA,GAAG,4CAA4C,SAAS;AAAA,IAClE,GAAG;AAAA,IAEJ,UAAA;AAAA,MAAAD,2BAAAA,IAACO,YAAAA,gBAAA,EAAe,WAAU,UAAA,CAAU;AAAA,MACpCP,2BAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEF,mBAAmB,cAAc;;;;;;;;"}
1
+ {"version":3,"file":"Pagination.cjs","names":[],"sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from \"lucide-react\"\r\nimport { cn } from \"../../utils/cn\"\r\nimport { ButtonPrimitive, buttonVariants } from \"../../primitives/button\"\r\n\r\nconst Pagination = ({ className, ...props }: React.ComponentProps<\"nav\">) => (\r\n <nav\r\n role=\"navigation\"\r\n aria-label=\"pagination\"\r\n className={cn(\"mx-auto flex w-full justify-center\", className)}\r\n {...props}\r\n />\r\n)\r\nPagination.displayName = \"Pagination\"\r\n\r\nconst PaginationContent = React.forwardRef<\r\n HTMLUListElement,\r\n React.ComponentProps<\"ul\">\r\n>(({ className, ...props }, ref) => (\r\n <ul\r\n ref={ref}\r\n className={cn(\"flex flex-row items-center gap-1\", className)}\r\n {...props}\r\n />\r\n))\r\nPaginationContent.displayName = \"PaginationContent\"\r\n\r\nconst PaginationItem = React.forwardRef<\r\n HTMLLIElement,\r\n React.ComponentProps<\"li\">\r\n>(({ className, ...props }, ref) => (\r\n <li ref={ref} className={cn(\"\", className)} {...props} />\r\n))\r\nPaginationItem.displayName = \"PaginationItem\"\r\n\r\ntype PaginationLinkProps = {\r\n isActive?: boolean\r\n} & Pick<React.ComponentProps<typeof ButtonPrimitive>, \"size\"> &\r\n React.ComponentProps<\"a\">\r\n\r\nconst PaginationLink = ({ className, isActive, size = \"icon\", ...props }: PaginationLinkProps) => (\r\n <a\r\n aria-current={isActive ? \"page\" : undefined}\r\n className={cn(\r\n buttonVariants({\r\n variant: isActive ? \"outline\" : \"ghost\",\r\n size,\r\n }),\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\nPaginationLink.displayName = \"PaginationLink\"\r\n\r\nconst PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to previous page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pl-2.5\", className)}\r\n {...props}\r\n >\r\n <ChevronLeft className=\"h-4 w-4\" />\r\n <span>Previous</span>\r\n </PaginationLink>\r\n)\r\nPaginationPrevious.displayName = \"PaginationPrevious\"\r\n\r\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\r\n <PaginationLink\r\n aria-label=\"Go to next page\"\r\n size=\"default\"\r\n className={cn(\"gap-1 pr-2.5\", className)}\r\n {...props}\r\n >\r\n <span>Next</span>\r\n <ChevronRight className=\"h-4 w-4\" />\r\n </PaginationLink>\r\n)\r\nPaginationNext.displayName = \"PaginationNext\"\r\n\r\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<\"span\">) => (\r\n <span\r\n aria-hidden\r\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\r\n {...props}\r\n >\r\n <MoreHorizontal className=\"h-4 w-4\" />\r\n <span className=\"sr-only\">More pages</span>\r\n </span>\r\n)\r\nPaginationEllipsis.displayName = \"PaginationEllipsis\"\r\n\r\nexport {\r\n Pagination,\r\n PaginationContent,\r\n PaginationItem,\r\n PaginationLink,\r\n PaginationNext,\r\n PaginationPrevious,\r\n PaginationEllipsis,\r\n}\r\n"],"mappings":";;;;;;;;;AAKA,IAAM,cAAc,EAAE,WAAW,GAAG,YAClC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CACE,MAAK;CACL,cAAW;CACX,WAAW,WAAA,GAAG,sCAAsC,SAAS;CAC7D,GAAI;AACL,CAAA;AAEH,WAAW,cAAc;AAEzB,IAAM,oBAAoB,MAAM,YAG7B,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CACO;CACL,WAAW,WAAA,GAAG,oCAAoC,SAAS;CAC3D,GAAI;AACL,CAAA,CACF;AACD,kBAAkB,cAAc;AAEhC,IAAM,iBAAiB,MAAM,YAG1B,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CAAS;CAAK,WAAW,WAAA,GAAG,IAAI,SAAS;CAAG,GAAI;AAAQ,CAAA,CACzD;AACD,eAAe,cAAc;AAO7B,IAAM,kBAAkB,EAAE,WAAW,UAAU,OAAO,QAAQ,GAAG,YAC/D,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;CACE,gBAAc,WAAW,SAAS,KAAA;CAClC,WAAW,WAAA,GACT,eAAA,eAAe;EACb,SAAS,WAAW,YAAY;EAChC;CACF,CAAC,GACD,SACF;CACA,GAAI;AACL,CAAA;AAEH,eAAe,cAAc;AAE7B,IAAM,sBAAsB,EAAE,WAAW,GAAG,YAC1C,iBAAA,GAAA,kBAAA,KAAA,CAAC,gBAAD;CACE,cAAW;CACX,MAAK;CACL,WAAW,WAAA,GAAG,gBAAgB,SAAS;CACvC,GAAI;WAJN,CAME,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,aAAD,EAAa,WAAU,UAAW,CAAA,GAClC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAA,UAAM,WAAc,CAAA,CACN;;AAElB,mBAAmB,cAAc;AAEjC,IAAM,kBAAkB,EAAE,WAAW,GAAG,YACtC,iBAAA,GAAA,kBAAA,KAAA,CAAC,gBAAD;CACE,cAAW;CACX,MAAK;CACL,WAAW,WAAA,GAAG,gBAAgB,SAAS;CACvC,GAAI;WAJN,CAME,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAA,UAAM,OAAU,CAAA,GAChB,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,cAAD,EAAc,WAAU,UAAW,CAAA,CACrB;;AAElB,eAAe,cAAc;AAE7B,IAAM,sBAAsB,EAAE,WAAW,GAAG,YAC1C,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;CACE,eAAA;CACA,WAAW,WAAA,GAAG,4CAA4C,SAAS;CACnE,GAAI;WAHN,CAKE,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,gBAAD,EAAgB,WAAU,UAAW,CAAA,GACrC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EAAM,WAAU;YAAU;CAAgB,CAAA,CACtC;;AAER,mBAAmB,cAAc"}
@@ -1,10 +1,14 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const React = require("react");
6
- const separator = require("../../primitives/separator.cjs");
7
- const Separator = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(separator.Separator, { ref, ...props }));
2
+ const require_separator = require("../../primitives/separator.cjs");
3
+ let react = require("react");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/components/Separator/Separator.tsx
6
+ var Separator = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_separator.Separator, {
7
+ ref,
8
+ ...props
9
+ }));
8
10
  Separator.displayName = "Separator";
11
+ //#endregion
9
12
  exports.Separator = Separator;
10
- //# sourceMappingURL=Separator.cjs.map
13
+
14
+ //# sourceMappingURL=Separator.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.cjs","sources":["../../../../src/components/Separator/Separator.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport { Separator as SeparatorPrimitive } from \"../../primitives/separator\"\n\nexport const Separator = forwardRef<\n ElementRef<typeof SeparatorPrimitive>,\n ComponentPropsWithoutRef<typeof SeparatorPrimitive>\n>((props, ref) => <SeparatorPrimitive ref={ref} {...props} />)\nSeparator.displayName = \"Separator\"\n"],"names":["forwardRef","SeparatorPrimitive"],"mappings":";;;;;;AAIO,MAAM,YAAYA,MAAAA,WAGvB,CAAC,OAAO,uCAASC,UAAAA,WAAA,EAAmB,KAAW,GAAG,OAAO,CAAE;AAC7D,UAAU,cAAc;;"}
1
+ {"version":3,"file":"Separator.cjs","names":[],"sources":["../../../../src/components/Separator/Separator.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport { Separator as SeparatorPrimitive } from \"../../primitives/separator\"\n\nexport const Separator = forwardRef<\n ElementRef<typeof SeparatorPrimitive>,\n ComponentPropsWithoutRef<typeof SeparatorPrimitive>\n>((props, ref) => <SeparatorPrimitive ref={ref} {...props} />)\nSeparator.displayName = \"Separator\"\n"],"mappings":";;;;;AAIA,IAAa,aAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAA,WAAD;CAAyB;CAAK,GAAI;AAAQ,CAAA,CAAC;AAC7D,UAAU,cAAc"}
@@ -1,11 +1,12 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const skeleton = require("../../primitives/skeleton.cjs");
2
+ const require_skeleton = require("../../primitives/skeleton.cjs");
3
+ let react_jsx_runtime = require("react/jsx-runtime");
4
+ //#region src/components/Skeleton/Skeleton.tsx
6
5
  function Skeleton(props) {
7
- return /* @__PURE__ */ jsxRuntime.jsx(skeleton.Skeleton, { ...props });
6
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_skeleton.Skeleton, { ...props });
8
7
  }
9
8
  Skeleton.displayName = "Skeleton";
9
+ //#endregion
10
10
  exports.Skeleton = Skeleton;
11
- //# sourceMappingURL=Skeleton.cjs.map
11
+
12
+ //# sourceMappingURL=Skeleton.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.cjs","sources":["../../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import { Skeleton as SkeletonPrimitive } from \"../../primitives/skeleton\"\r\nimport type { ComponentPropsWithoutRef } from \"react\"\r\n\r\nexport type SkeletonProps = ComponentPropsWithoutRef<typeof SkeletonPrimitive>\r\n\r\nexport function Skeleton(props: SkeletonProps) {\r\n return <SkeletonPrimitive {...props} />\r\n}\r\nSkeleton.displayName = \"Skeleton\"\r\n"],"names":["jsx","SkeletonPrimitive"],"mappings":";;;;;AAKO,SAAS,SAAS,OAAsB;AAC7C,SAAOA,+BAACC,SAAAA,UAAA,EAAmB,GAAG,MAAA,CAAO;AACvC;AACA,SAAS,cAAc;;"}
1
+ {"version":3,"file":"Skeleton.cjs","names":[],"sources":["../../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import { Skeleton as SkeletonPrimitive } from \"../../primitives/skeleton\"\r\nimport type { ComponentPropsWithoutRef } from \"react\"\r\n\r\nexport type SkeletonProps = ComponentPropsWithoutRef<typeof SkeletonPrimitive>\r\n\r\nexport function Skeleton(props: SkeletonProps) {\r\n return <SkeletonPrimitive {...props} />\r\n}\r\nSkeleton.displayName = \"Skeleton\"\r\n"],"mappings":";;;;AAKA,SAAgB,SAAS,OAAsB;CAC7C,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,iBAAA,UAAD,EAAmB,GAAI,MAAQ,CAAA;AACxC;AACA,SAAS,cAAc"}
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ const require_switch = require("../../primitives/switch.cjs");
3
+ let react = require("react");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/components/Switch/Switch.tsx
6
+ var Switch = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_switch.Switch, {
7
+ ref,
8
+ ...props
9
+ }));
10
+ Switch.displayName = "Switch";
11
+ //#endregion
12
+ exports.Switch = Switch;
13
+
14
+ //# sourceMappingURL=Switch.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.cjs","names":[],"sources":["../../../../src/components/Switch/Switch.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport type * as SwitchPrimitives from \"@radix-ui/react-switch\"\nimport { Switch as SwitchPrimitive } from \"../../primitives/switch\"\n\nexport type SwitchProps = ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>\n\nexport const Switch = forwardRef<\n ElementRef<typeof SwitchPrimitive>,\n SwitchProps\n>((props, ref) => <SwitchPrimitive ref={ref} {...props} />)\nSwitch.displayName = \"Switch\"\n"],"mappings":";;;;;AAOA,IAAa,UAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAA,QAAD;CAAsB;CAAK,GAAI;AAAQ,CAAA,CAAC;AAC1D,OAAO,cAAc"}
@@ -1,19 +1,32 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const React = require("react");
6
- const tabs = require("../../primitives/tabs.cjs");
7
- const Tabs = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(tabs.Tabs, { ref, ...props }));
2
+ const require_tabs = require("../../primitives/tabs.cjs");
3
+ let react = require("react");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/components/Tabs/Tabs.tsx
6
+ var Tabs = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabs.Tabs, {
7
+ ref,
8
+ ...props
9
+ }));
8
10
  Tabs.displayName = "Tabs";
9
- const TabsList = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(tabs.TabsList, { ref, ...props }));
11
+ var TabsList = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabs.TabsList, {
12
+ ref,
13
+ ...props
14
+ }));
10
15
  TabsList.displayName = "TabsList";
11
- const TabsTrigger = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(tabs.TabsTrigger, { ref, ...props }));
16
+ var TabsTrigger = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabs.TabsTrigger, {
17
+ ref,
18
+ ...props
19
+ }));
12
20
  TabsTrigger.displayName = "TabsTrigger";
13
- const TabsContent = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(tabs.TabsContent, { ref, ...props }));
21
+ var TabsContent = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabs.TabsContent, {
22
+ ref,
23
+ ...props
24
+ }));
14
25
  TabsContent.displayName = "TabsContent";
26
+ //#endregion
15
27
  exports.Tabs = Tabs;
16
28
  exports.TabsContent = TabsContent;
17
29
  exports.TabsList = TabsList;
18
30
  exports.TabsTrigger = TabsTrigger;
19
- //# sourceMappingURL=Tabs.cjs.map
31
+
32
+ //# sourceMappingURL=Tabs.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.cjs","sources":["../../../../src/components/Tabs/Tabs.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport {\n Tabs as TabsPrimitive,\n TabsList as TabsListPrimitive,\n TabsTrigger as TabsTriggerPrimitive,\n TabsContent as TabsContentPrimitive,\n} from \"../../primitives/tabs\"\n\nexport const Tabs = forwardRef<\n ElementRef<typeof TabsPrimitive>,\n ComponentPropsWithoutRef<typeof TabsPrimitive>\n>((props, ref) => <TabsPrimitive ref={ref} {...props} />)\nTabs.displayName = \"Tabs\"\n\nexport const TabsList = forwardRef<\n ElementRef<typeof TabsListPrimitive>,\n ComponentPropsWithoutRef<typeof TabsListPrimitive>\n>((props, ref) => <TabsListPrimitive ref={ref} {...props} />)\nTabsList.displayName = \"TabsList\"\n\nexport const TabsTrigger = forwardRef<\n ElementRef<typeof TabsTriggerPrimitive>,\n ComponentPropsWithoutRef<typeof TabsTriggerPrimitive>\n>((props, ref) => <TabsTriggerPrimitive ref={ref} {...props} />)\nTabsTrigger.displayName = \"TabsTrigger\"\n\nexport const TabsContent = forwardRef<\n ElementRef<typeof TabsContentPrimitive>,\n ComponentPropsWithoutRef<typeof TabsContentPrimitive>\n>((props, ref) => <TabsContentPrimitive ref={ref} {...props} />)\nTabsContent.displayName = \"TabsContent\"\n"],"names":["forwardRef","TabsPrimitive","TabsListPrimitive","TabsTriggerPrimitive","TabsContentPrimitive"],"mappings":";;;;;;AASO,MAAM,OAAOA,MAAAA,WAGlB,CAAC,OAAO,uCAASC,KAAAA,MAAA,EAAc,KAAW,GAAG,OAAO,CAAE;AACxD,KAAK,cAAc;AAEZ,MAAM,WAAWD,MAAAA,WAGtB,CAAC,OAAO,uCAASE,KAAAA,UAAA,EAAkB,KAAW,GAAG,OAAO,CAAE;AAC5D,SAAS,cAAc;AAEhB,MAAM,cAAcF,MAAAA,WAGzB,CAAC,OAAO,uCAASG,KAAAA,aAAA,EAAqB,KAAW,GAAG,OAAO,CAAE;AAC/D,YAAY,cAAc;AAEnB,MAAM,cAAcH,MAAAA,WAGzB,CAAC,OAAO,uCAASI,KAAAA,aAAA,EAAqB,KAAW,GAAG,OAAO,CAAE;AAC/D,YAAY,cAAc;;;;;"}
1
+ {"version":3,"file":"Tabs.cjs","names":[],"sources":["../../../../src/components/Tabs/Tabs.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport {\n Tabs as TabsPrimitive,\n TabsList as TabsListPrimitive,\n TabsTrigger as TabsTriggerPrimitive,\n TabsContent as TabsContentPrimitive,\n} from \"../../primitives/tabs\"\n\nexport const Tabs = forwardRef<\n ElementRef<typeof TabsPrimitive>,\n ComponentPropsWithoutRef<typeof TabsPrimitive>\n>((props, ref) => <TabsPrimitive ref={ref} {...props} />)\nTabs.displayName = \"Tabs\"\n\nexport const TabsList = forwardRef<\n ElementRef<typeof TabsListPrimitive>,\n ComponentPropsWithoutRef<typeof TabsListPrimitive>\n>((props, ref) => <TabsListPrimitive ref={ref} {...props} />)\nTabsList.displayName = \"TabsList\"\n\nexport const TabsTrigger = forwardRef<\n ElementRef<typeof TabsTriggerPrimitive>,\n ComponentPropsWithoutRef<typeof TabsTriggerPrimitive>\n>((props, ref) => <TabsTriggerPrimitive ref={ref} {...props} />)\nTabsTrigger.displayName = \"TabsTrigger\"\n\nexport const TabsContent = forwardRef<\n ElementRef<typeof TabsContentPrimitive>,\n ComponentPropsWithoutRef<typeof TabsContentPrimitive>\n>((props, ref) => <TabsContentPrimitive ref={ref} {...props} />)\nTabsContent.displayName = \"TabsContent\"\n"],"mappings":";;;;;AASA,IAAa,QAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,MAAD;CAAoB;CAAK,GAAI;AAAQ,CAAA,CAAC;AACxD,KAAK,cAAc;AAEnB,IAAa,YAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,UAAD;CAAwB;CAAK,GAAI;AAAQ,CAAA,CAAC;AAC5D,SAAS,cAAc;AAEvB,IAAa,eAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,aAAD;CAA2B;CAAK,GAAI;AAAQ,CAAA,CAAC;AAC/D,YAAY,cAAc;AAE1B,IAAa,eAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAA,aAAD;CAA2B;CAAK,GAAI;AAAQ,CAAA,CAAC;AAC/D,YAAY,cAAc"}
@@ -1,10 +1,14 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const React = require("react");
6
- const textarea = require("../../primitives/textarea.cjs");
7
- const Textarea = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(textarea.Textarea, { ref, ...props }));
2
+ const require_textarea = require("../../primitives/textarea.cjs");
3
+ let react = require("react");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/components/Textarea/Textarea.tsx
6
+ var Textarea = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_textarea.Textarea, {
7
+ ref,
8
+ ...props
9
+ }));
8
10
  Textarea.displayName = "Textarea";
11
+ //#endregion
9
12
  exports.Textarea = Textarea;
10
- //# sourceMappingURL=Textarea.cjs.map
13
+
14
+ //# sourceMappingURL=Textarea.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.cjs","sources":["../../../../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport { Textarea as TextareaPrimitive } from \"../../primitives/textarea\"\n\nexport type TextareaProps = ComponentPropsWithoutRef<typeof TextareaPrimitive>\n\nexport const Textarea = forwardRef<\n ElementRef<typeof TextareaPrimitive>,\n TextareaProps\n>((props, ref) => <TextareaPrimitive ref={ref} {...props} />)\nTextarea.displayName = \"Textarea\"\n"],"names":["forwardRef","TextareaPrimitive"],"mappings":";;;;;;AAMO,MAAM,WAAWA,MAAAA,WAGtB,CAAC,OAAO,uCAASC,SAAAA,UAAA,EAAkB,KAAW,GAAG,OAAO,CAAE;AAC5D,SAAS,cAAc;;"}
1
+ {"version":3,"file":"Textarea.cjs","names":[],"sources":["../../../../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { forwardRef } from \"react\"\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\nimport { Textarea as TextareaPrimitive } from \"../../primitives/textarea\"\n\nexport type TextareaProps = ComponentPropsWithoutRef<typeof TextareaPrimitive>\n\nexport const Textarea = forwardRef<\n ElementRef<typeof TextareaPrimitive>,\n TextareaProps\n>((props, ref) => <TextareaPrimitive ref={ref} {...props} />)\nTextarea.displayName = \"Textarea\"\n"],"mappings":";;;;;AAMA,IAAa,YAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,iBAAA,UAAD;CAAwB;CAAK,GAAI;AAAQ,CAAA,CAAC;AAC5D,SAAS,cAAc"}
@@ -1,16 +1,20 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const jsxRuntime = require("react/jsx-runtime");
5
- const tooltip = require("../../primitives/tooltip.cjs");
6
- const React = require("react");
7
- const TooltipProvider = tooltip.TooltipProvider;
8
- const Tooltip = tooltip.Tooltip;
9
- const TooltipTrigger = tooltip.TooltipTrigger;
10
- const TooltipContent = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(tooltip.TooltipContent, { ref, ...props }));
2
+ const require_tooltip = require("../../primitives/tooltip.cjs");
3
+ let react = require("react");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/components/Tooltip/Tooltip.tsx
6
+ var TooltipProvider = require_tooltip.TooltipProvider;
7
+ var Tooltip = require_tooltip.Tooltip;
8
+ var TooltipTrigger = require_tooltip.TooltipTrigger;
9
+ var TooltipContent = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tooltip.TooltipContent, {
10
+ ref,
11
+ ...props
12
+ }));
11
13
  TooltipContent.displayName = "TooltipContent";
14
+ //#endregion
12
15
  exports.Tooltip = Tooltip;
13
16
  exports.TooltipContent = TooltipContent;
14
17
  exports.TooltipProvider = TooltipProvider;
15
18
  exports.TooltipTrigger = TooltipTrigger;
16
- //# sourceMappingURL=Tooltip.cjs.map
19
+
20
+ //# sourceMappingURL=Tooltip.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.cjs","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import {\r\n Tooltip as TooltipPrimitive,\r\n TooltipTrigger as TooltipTriggerPrimitive,\r\n TooltipContent as TooltipContentPrimitive,\r\n TooltipProvider as TooltipProviderPrimitive,\r\n} from \"../../primitives/tooltip\"\r\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\r\nimport { forwardRef } from \"react\"\r\n\r\nexport const TooltipProvider = TooltipProviderPrimitive\r\nexport const Tooltip = TooltipPrimitive\r\nexport const TooltipTrigger = TooltipTriggerPrimitive\r\n\r\nexport const TooltipContent = forwardRef<\r\n ElementRef<typeof TooltipContentPrimitive>,\r\n ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n>((props, ref) => <TooltipContentPrimitive ref={ref} {...props} />)\r\nTooltipContent.displayName = \"TooltipContent\"\r\n\r\nexport type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n"],"names":["TooltipProviderPrimitive","TooltipPrimitive","TooltipTriggerPrimitive","forwardRef","TooltipContentPrimitive"],"mappings":";;;;;;AASO,MAAM,kBAAkBA,QAAAA;AACxB,MAAM,UAAUC,QAAAA;AAChB,MAAM,iBAAiBC,QAAAA;AAEvB,MAAM,iBAAiBC,MAAAA,WAG5B,CAAC,OAAO,uCAASC,QAAAA,gBAAA,EAAwB,KAAW,GAAG,OAAO,CAAE;AAClE,eAAe,cAAc;;;;;"}
1
+ {"version":3,"file":"Tooltip.cjs","names":[],"sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import {\r\n Tooltip as TooltipPrimitive,\r\n TooltipTrigger as TooltipTriggerPrimitive,\r\n TooltipContent as TooltipContentPrimitive,\r\n TooltipProvider as TooltipProviderPrimitive,\r\n} from \"../../primitives/tooltip\"\r\nimport type { ComponentPropsWithoutRef, ElementRef } from \"react\"\r\nimport { forwardRef } from \"react\"\r\n\r\nexport const TooltipProvider = TooltipProviderPrimitive\r\nexport const Tooltip = TooltipPrimitive\r\nexport const TooltipTrigger = TooltipTriggerPrimitive\r\n\r\nexport const TooltipContent = forwardRef<\r\n ElementRef<typeof TooltipContentPrimitive>,\r\n ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n>((props, ref) => <TooltipContentPrimitive ref={ref} {...props} />)\r\nTooltipContent.displayName = \"TooltipContent\"\r\n\r\nexport type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipContentPrimitive>\r\n"],"mappings":";;;;;AASA,IAAa,kBAAkB,gBAAA;AAC/B,IAAa,UAAU,gBAAA;AACvB,IAAa,iBAAiB,gBAAA;AAE9B,IAAa,kBAAA,GAAA,MAAA,WAAA,EAGV,OAAO,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,gBAAA,gBAAD;CAA8B;CAAK,GAAI;AAAQ,CAAA,CAAC;AAClE,eAAe,cAAc"}
@@ -1,18 +1,26 @@
1
1
  "use client";
2
- "use strict";
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const React = require("react");
2
+ "use client";
3
+ let react = require("react");
4
+ //#region src/hooks/useDebounce.ts
5
+ /**
6
+ * A hook that debounces a value by a specified delay
7
+ * @param value - The value to debounce
8
+ * @param delay - The delay in milliseconds (default: 500)
9
+ * @returns The debounced value
10
+ */
5
11
  function useDebounce(value, delay = 500) {
6
- const [debouncedValue, setDebouncedValue] = React.useState(value);
7
- React.useEffect(() => {
8
- const timer = setTimeout(() => {
9
- setDebouncedValue(value);
10
- }, delay);
11
- return () => {
12
- clearTimeout(timer);
13
- };
14
- }, [value, delay]);
15
- return debouncedValue;
12
+ const [debouncedValue, setDebouncedValue] = (0, react.useState)(value);
13
+ (0, react.useEffect)(() => {
14
+ const timer = setTimeout(() => {
15
+ setDebouncedValue(value);
16
+ }, delay);
17
+ return () => {
18
+ clearTimeout(timer);
19
+ };
20
+ }, [value, delay]);
21
+ return debouncedValue;
16
22
  }
23
+ //#endregion
17
24
  exports.useDebounce = useDebounce;
18
- //# sourceMappingURL=useDebounce.cjs.map
25
+
26
+ //# sourceMappingURL=useDebounce.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDebounce.cjs","sources":["../../../src/hooks/useDebounce.ts"],"sourcesContent":["'use client';\n\nimport { useState, useEffect } from \"react\";\r\n\r\n/**\r\n * A hook that debounces a value by a specified delay\r\n * @param value - The value to debounce\r\n * @param delay - The delay in milliseconds (default: 500)\r\n * @returns The debounced value\r\n */\r\nexport function useDebounce<T>(value: T, delay = 500): T {\r\n const [debouncedValue, setDebouncedValue] = useState<T>(value);\r\n\r\n useEffect(() => {\r\n const timer = setTimeout(() => {\r\n setDebouncedValue(value);\r\n }, delay);\r\n\r\n return () => {\r\n clearTimeout(timer);\r\n };\r\n }, [value, delay]);\r\n\r\n return debouncedValue;\r\n}\r\n"],"names":["useState","useEffect"],"mappings":";;;;AAUO,SAAS,YAAe,OAAU,QAAQ,KAAQ;AACvD,QAAM,CAAC,gBAAgB,iBAAiB,IAAIA,MAAAA,SAAY,KAAK;AAE7DC,QAAAA,UAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM;AAC7B,wBAAkB,KAAK;AAAA,IACzB,GAAG,KAAK;AAER,WAAO,MAAM;AACX,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,OAAO,KAAK,CAAC;AAEjB,SAAO;AACT;;"}
1
+ {"version":3,"file":"useDebounce.cjs","names":[],"sources":["../../../src/hooks/useDebounce.ts"],"sourcesContent":["'use client';\n\nimport { useState, useEffect } from \"react\";\r\n\r\n/**\r\n * A hook that debounces a value by a specified delay\r\n * @param value - The value to debounce\r\n * @param delay - The delay in milliseconds (default: 500)\r\n * @returns The debounced value\r\n */\r\nexport function useDebounce<T>(value: T, delay = 500): T {\r\n const [debouncedValue, setDebouncedValue] = useState<T>(value);\r\n\r\n useEffect(() => {\r\n const timer = setTimeout(() => {\r\n setDebouncedValue(value);\r\n }, delay);\r\n\r\n return () => {\r\n clearTimeout(timer);\r\n };\r\n }, [value, delay]);\r\n\r\n return debouncedValue;\r\n}\r\n"],"mappings":";;;;;;;;;;AAUA,SAAgB,YAAe,OAAU,QAAQ,KAAQ;CACvD,MAAM,CAAC,gBAAgB,sBAAA,GAAA,MAAA,SAAA,CAAiC,KAAK;CAE7D,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,QAAQ,iBAAiB;GAC7B,kBAAkB,KAAK;EACzB,GAAG,KAAK;EAER,aAAa;GACX,aAAa,KAAK;EACpB;CACF,GAAG,CAAC,OAAO,KAAK,CAAC;CAEjB,OAAO;AACT"}