@codefast/ui 0.3.11 → 0.3.12-canary.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 (246) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +4 -0
  3. package/dist/components/accordion.d.ts +11 -29
  4. package/dist/components/accordion.d.ts.map +1 -0
  5. package/dist/components/accordion.js +10 -37
  6. package/dist/components/alert-dialog.d.ts +25 -60
  7. package/dist/components/alert-dialog.d.ts.map +1 -0
  8. package/dist/components/alert-dialog.js +16 -69
  9. package/dist/components/alert.d.ts +16 -27
  10. package/dist/components/alert.d.ts.map +1 -0
  11. package/dist/components/alert.js +22 -30
  12. package/dist/components/aspect-ratio.d.ts +5 -8
  13. package/dist/components/aspect-ratio.d.ts.map +1 -0
  14. package/dist/components/aspect-ratio.js +5 -7
  15. package/dist/components/avatar.d.ts +7 -17
  16. package/dist/components/avatar.d.ts.map +1 -0
  17. package/dist/components/avatar.js +7 -18
  18. package/dist/components/badge.d.ts +15 -21
  19. package/dist/components/badge.d.ts.map +1 -0
  20. package/dist/components/badge.js +23 -20
  21. package/dist/components/breadcrumb.d.ts +13 -35
  22. package/dist/components/breadcrumb.d.ts.map +1 -0
  23. package/dist/components/breadcrumb.js +13 -49
  24. package/dist/components/button-group.d.ts +15 -29
  25. package/dist/components/button-group.d.ts.map +1 -0
  26. package/dist/components/button-group.js +22 -27
  27. package/dist/components/button.d.ts +26 -35
  28. package/dist/components/button.d.ts.map +1 -0
  29. package/dist/components/button.js +43 -51
  30. package/dist/components/calendar.d.ts +10 -24
  31. package/dist/components/calendar.d.ts.map +1 -0
  32. package/dist/components/calendar.js +75 -92
  33. package/dist/components/card.d.ts +11 -34
  34. package/dist/components/card.d.ts.map +1 -0
  35. package/dist/components/card.js +11 -39
  36. package/dist/components/carousel.d.ts +25 -55
  37. package/dist/components/carousel.d.ts.map +1 -0
  38. package/dist/components/carousel.js +82 -114
  39. package/dist/components/chart.d.ts +37 -72
  40. package/dist/components/chart.d.ts.map +1 -0
  41. package/dist/components/chart.js +161 -150
  42. package/dist/components/checkbox-cards.d.ts +9 -15
  43. package/dist/components/checkbox-cards.d.ts.map +1 -0
  44. package/dist/components/checkbox-cards.js +8 -22
  45. package/dist/components/checkbox-group.d.ts +9 -16
  46. package/dist/components/checkbox-group.d.ts.map +1 -0
  47. package/dist/components/checkbox-group.js +7 -19
  48. package/dist/components/checkbox.d.ts +5 -9
  49. package/dist/components/checkbox.d.ts.map +1 -0
  50. package/dist/components/checkbox.js +6 -14
  51. package/dist/components/collapsible.d.ts +7 -14
  52. package/dist/components/collapsible.d.ts.map +1 -0
  53. package/dist/components/collapsible.js +7 -15
  54. package/dist/components/command.d.ts +24 -55
  55. package/dist/components/command.d.ts.map +1 -0
  56. package/dist/components/command.js +18 -69
  57. package/dist/components/context-menu.d.ts +23 -72
  58. package/dist/components/context-menu.d.ts.map +1 -0
  59. package/dist/components/context-menu.js +21 -89
  60. package/dist/components/dialog.d.ts +23 -53
  61. package/dist/components/dialog.d.ts.map +1 -0
  62. package/dist/components/dialog.js +20 -72
  63. package/dist/components/drawer.d.ts +29 -60
  64. package/dist/components/drawer.d.ts.map +1 -0
  65. package/dist/components/drawer.js +16 -58
  66. package/dist/components/dropdown-menu.d.ts +23 -73
  67. package/dist/components/dropdown-menu.d.ts.map +1 -0
  68. package/dist/components/dropdown-menu.js +21 -96
  69. package/dist/components/empty.d.ts +16 -37
  70. package/dist/components/empty.d.ts.map +1 -0
  71. package/dist/components/empty.js +24 -44
  72. package/dist/components/field.d.ts +26 -63
  73. package/dist/components/field.d.ts.map +1 -0
  74. package/dist/components/field.js +46 -89
  75. package/dist/components/form.d.ts +16 -37
  76. package/dist/components/form.d.ts.map +1 -0
  77. package/dist/components/form.js +50 -66
  78. package/dist/components/hover-card.d.ts +8 -21
  79. package/dist/components/hover-card.d.ts.map +1 -0
  80. package/dist/components/hover-card.js +8 -23
  81. package/dist/components/input-group.d.ts +29 -53
  82. package/dist/components/input-group.d.ts.map +1 -0
  83. package/dist/components/input-group.js +59 -66
  84. package/dist/components/input-number.d.ts +8 -28
  85. package/dist/components/input-number.d.ts.map +1 -0
  86. package/dist/components/input-number.js +14 -55
  87. package/dist/components/input-otp.d.ts +11 -24
  88. package/dist/components/input-otp.d.ts.map +1 -0
  89. package/dist/components/input-otp.js +13 -34
  90. package/dist/components/input-password.d.ts +6 -12
  91. package/dist/components/input-password.d.ts.map +1 -0
  92. package/dist/components/input-password.js +10 -31
  93. package/dist/components/input-search.d.ts +9 -18
  94. package/dist/components/input-search.d.ts.map +1 -0
  95. package/dist/components/input-search.js +16 -44
  96. package/dist/components/input.d.ts +5 -10
  97. package/dist/components/input.d.ts.map +1 -0
  98. package/dist/components/input.js +5 -9
  99. package/dist/components/item.d.ts +33 -69
  100. package/dist/components/item.d.ts.map +1 -0
  101. package/dist/components/item.js +47 -90
  102. package/dist/components/kbd.d.ts +6 -13
  103. package/dist/components/kbd.d.ts.map +1 -0
  104. package/dist/components/kbd.js +6 -13
  105. package/dist/components/label.d.ts +5 -9
  106. package/dist/components/label.d.ts.map +1 -0
  107. package/dist/components/label.js +5 -8
  108. package/dist/components/menubar.d.ts +24 -80
  109. package/dist/components/menubar.d.ts.map +1 -0
  110. package/dist/components/menubar.js +23 -99
  111. package/dist/components/native-select.d.ts +7 -16
  112. package/dist/components/native-select.d.ts.map +1 -0
  113. package/dist/components/native-select.js +7 -25
  114. package/dist/components/navigation-menu.d.ts +13 -36
  115. package/dist/components/navigation-menu.d.ts.map +1 -0
  116. package/dist/components/navigation-menu.js +25 -61
  117. package/dist/components/pagination.d.ts +15 -35
  118. package/dist/components/pagination.d.ts.map +1 -0
  119. package/dist/components/pagination.js +13 -55
  120. package/dist/components/popover.d.ts +9 -24
  121. package/dist/components/popover.d.ts.map +1 -0
  122. package/dist/components/popover.js +9 -27
  123. package/dist/components/progress-circle.d.ts +89 -106
  124. package/dist/components/progress-circle.d.ts.map +1 -0
  125. package/dist/components/progress-circle.js +70 -103
  126. package/dist/components/progress.d.ts +5 -10
  127. package/dist/components/progress.d.ts.map +1 -0
  128. package/dist/components/progress.js +7 -13
  129. package/dist/components/radio-cards.d.ts +5 -10
  130. package/dist/components/radio-cards.d.ts.map +1 -0
  131. package/dist/components/radio-cards.js +7 -21
  132. package/dist/components/radio-group.d.ts +6 -13
  133. package/dist/components/radio-group.d.ts.map +1 -0
  134. package/dist/components/radio-group.js +6 -17
  135. package/dist/components/radio.d.ts +6 -12
  136. package/dist/components/radio.d.ts.map +1 -0
  137. package/dist/components/radio.js +5 -10
  138. package/dist/components/resizable.d.ts +8 -18
  139. package/dist/components/resizable.d.ts.map +1 -0
  140. package/dist/components/resizable.js +7 -21
  141. package/dist/components/scroll-area.d.ts +21 -33
  142. package/dist/components/scroll-area.d.ts.map +1 -0
  143. package/dist/components/scroll-area.js +64 -84
  144. package/dist/components/select.d.ts +17 -50
  145. package/dist/components/select.d.ts.map +1 -0
  146. package/dist/components/select.js +26 -78
  147. package/dist/components/separator.d.ts +20 -29
  148. package/dist/components/separator.d.ts.map +1 -0
  149. package/dist/components/separator.js +27 -36
  150. package/dist/components/sheet.d.ts +30 -62
  151. package/dist/components/sheet.d.ts.map +1 -0
  152. package/dist/components/sheet.js +36 -80
  153. package/dist/components/sidebar.d.ts +67 -160
  154. package/dist/components/sidebar.d.ts.map +1 -0
  155. package/dist/components/sidebar.js +166 -301
  156. package/dist/components/skeleton.d.ts +5 -9
  157. package/dist/components/skeleton.d.ts.map +1 -0
  158. package/dist/components/skeleton.js +5 -8
  159. package/dist/components/slider.d.ts +5 -13
  160. package/dist/components/slider.d.ts.map +1 -0
  161. package/dist/components/slider.js +12 -34
  162. package/dist/components/sonner.d.ts +8 -10
  163. package/dist/components/sonner.d.ts.map +1 -0
  164. package/dist/components/sonner.js +13 -16
  165. package/dist/components/spinner.d.ts +6 -12
  166. package/dist/components/spinner.d.ts.map +1 -0
  167. package/dist/components/spinner.js +20 -33
  168. package/dist/components/switch.d.ts +5 -9
  169. package/dist/components/switch.d.ts.map +1 -0
  170. package/dist/components/switch.js +5 -12
  171. package/dist/components/table.d.ts +12 -37
  172. package/dist/components/table.d.ts.map +1 -0
  173. package/dist/components/table.js +12 -47
  174. package/dist/components/tabs.d.ts +8 -21
  175. package/dist/components/tabs.d.ts.map +1 -0
  176. package/dist/components/tabs.js +8 -23
  177. package/dist/components/textarea.d.ts +5 -9
  178. package/dist/components/textarea.d.ts.map +1 -0
  179. package/dist/components/textarea.js +5 -8
  180. package/dist/components/toggle-group.d.ts +10 -24
  181. package/dist/components/toggle-group.d.ts.map +1 -0
  182. package/dist/components/toggle-group.js +20 -38
  183. package/dist/components/toggle.d.ts +18 -25
  184. package/dist/components/toggle.d.ts.map +1 -0
  185. package/dist/components/toggle.js +24 -29
  186. package/dist/components/tooltip.d.ts +9 -24
  187. package/dist/components/tooltip.d.ts.map +1 -0
  188. package/dist/components/tooltip.js +9 -28
  189. package/dist/hooks/use-animated-value.d.ts +2 -4
  190. package/dist/hooks/use-animated-value.d.ts.map +1 -0
  191. package/dist/hooks/use-animated-value.js +67 -58
  192. package/dist/hooks/use-copy-to-clipboard.d.ts +6 -11
  193. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  194. package/dist/hooks/use-copy-to-clipboard.js +42 -39
  195. package/dist/hooks/use-is-mobile.d.ts +2 -4
  196. package/dist/hooks/use-is-mobile.d.ts.map +1 -0
  197. package/dist/hooks/use-is-mobile.js +20 -23
  198. package/dist/hooks/use-media-query.d.ts +2 -4
  199. package/dist/hooks/use-media-query.d.ts.map +1 -0
  200. package/dist/hooks/use-media-query.js +49 -46
  201. package/dist/hooks/use-mutation-observer.d.ts +3 -6
  202. package/dist/hooks/use-mutation-observer.d.ts.map +1 -0
  203. package/dist/hooks/use-mutation-observer.js +33 -34
  204. package/dist/hooks/use-pagination.d.ts +15 -22
  205. package/dist/hooks/use-pagination.d.ts.map +1 -0
  206. package/dist/hooks/use-pagination.js +99 -99
  207. package/dist/index.d.ts +131 -69
  208. package/dist/index.d.ts.map +1 -0
  209. package/dist/index.js +68 -69
  210. package/dist/primitives/checkbox-group.d.ts +84 -105
  211. package/dist/primitives/checkbox-group.d.ts.map +1 -0
  212. package/dist/primitives/checkbox-group.js +91 -105
  213. package/dist/primitives/input-number.d.ts +41 -51
  214. package/dist/primitives/input-number.d.ts.map +1 -0
  215. package/dist/primitives/input-number.js +417 -473
  216. package/dist/primitives/input.d.ts +43 -48
  217. package/dist/primitives/input.d.ts.map +1 -0
  218. package/dist/primitives/input.js +67 -66
  219. package/dist/primitives/progress-circle.d.ts +49 -79
  220. package/dist/primitives/progress-circle.d.ts.map +1 -0
  221. package/dist/primitives/progress-circle.js +134 -149
  222. package/package.json +17 -10
  223. package/{dist → src}/css/preset.css +1 -1
  224. /package/{dist → src}/css/amber.css +0 -0
  225. /package/{dist → src}/css/blue.css +0 -0
  226. /package/{dist → src}/css/cyan.css +0 -0
  227. /package/{dist → src}/css/emerald.css +0 -0
  228. /package/{dist → src}/css/fuchsia.css +0 -0
  229. /package/{dist → src}/css/gray.css +0 -0
  230. /package/{dist → src}/css/green.css +0 -0
  231. /package/{dist → src}/css/indigo.css +0 -0
  232. /package/{dist → src}/css/lime.css +0 -0
  233. /package/{dist → src}/css/neutral.css +0 -0
  234. /package/{dist → src}/css/orange.css +0 -0
  235. /package/{dist → src}/css/pink.css +0 -0
  236. /package/{dist → src}/css/purple.css +0 -0
  237. /package/{dist → src}/css/red.css +0 -0
  238. /package/{dist → src}/css/rose.css +0 -0
  239. /package/{dist → src}/css/sky.css +0 -0
  240. /package/{dist → src}/css/slate.css +0 -0
  241. /package/{dist → src}/css/stone.css +0 -0
  242. /package/{dist → src}/css/style.css +0 -0
  243. /package/{dist → src}/css/teal.css +0 -0
  244. /package/{dist → src}/css/violet.css +0 -0
  245. /package/{dist → src}/css/yellow.css +0 -0
  246. /package/{dist → src}/css/zinc.css +0 -0
@@ -1,103 +1,59 @@
1
1
  "use client";
2
- import { buttonVariants } from "./button.js";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { cn, tv } from "@codefast/tailwind-variants";
4
- import { XIcon } from "lucide-react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
4
  import * as SheetPrimitive from "@radix-ui/react-dialog";
7
- //#region src/components/sheet.tsx
5
+ import { XIcon } from "lucide-react";
6
+ import { buttonVariants } from "#components/button";
7
+ /* -----------------------------------------------------------------------------
8
+ * Variant: SheetContent
9
+ * -------------------------------------------------------------------------- */
8
10
  const sheetContentVariants = tv({
9
- base: "fixed z-50 flex flex-col overflow-auto bg-background shadow-lg ease-ui data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 data-[state=open]:animate-in data-[state=open]:animation-duration-500",
10
- defaultVariants: { side: "right" },
11
- variants: { side: {
12
- bottom: "inset-x-0 bottom-0 max-h-[80vh] border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
13
- left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
14
- right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
15
- top: "inset-x-0 top-0 max-h-[80vh] border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top"
16
- } }
11
+ base: "fixed z-50 flex flex-col overflow-auto bg-background shadow-lg ease-ui data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 data-[state=open]:animate-in data-[state=open]:animation-duration-500",
12
+ defaultVariants: {
13
+ side: "right",
14
+ },
15
+ variants: {
16
+ side: {
17
+ bottom: "inset-x-0 bottom-0 max-h-[80vh] border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
18
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
19
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
20
+ top: "inset-x-0 top-0 max-h-[80vh] border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
21
+ },
22
+ },
17
23
  });
18
24
  function Sheet({ children, ...props }) {
19
- return /* @__PURE__ */ jsx(SheetPrimitive.Root, {
20
- "data-slot": "sheet",
21
- ...props,
22
- children
23
- });
25
+ return (_jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props, children: children }));
24
26
  }
25
27
  function SheetTrigger({ ...props }) {
26
- return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, {
27
- "data-slot": "sheet-trigger",
28
- ...props
29
- });
28
+ return _jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
30
29
  }
31
30
  function SheetContent({ children, className, classNames, side = "right", ...props }) {
32
- return /* @__PURE__ */ jsxs(SheetPrimitive.Portal, { children: [/* @__PURE__ */ jsx(SheetPrimitive.Overlay, {
33
- className: cn("fixed inset-0 z-50 bg-black/50 ease-ui data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=open]:fade-in-0", classNames?.overlay),
34
- "data-slot": "sheet-overlay"
35
- }), /* @__PURE__ */ jsxs(SheetPrimitive.Content, {
36
- className: sheetContentVariants({
37
- className: [classNames?.content, className],
38
- side
39
- }),
40
- "data-slot": "sheet-content",
41
- ...props,
42
- children: [children, /* @__PURE__ */ jsxs(SheetPrimitive.Close, {
43
- className: buttonVariants({
44
- className: ["absolute top-4 right-4 size-7", classNames?.close],
45
- size: "icon",
46
- variant: "ghost"
47
- }),
48
- "data-slot": "sheet-close",
49
- children: [/* @__PURE__ */ jsx(XIcon, { className: "size-4" }), /* @__PURE__ */ jsx("span", {
50
- className: "sr-only",
51
- children: "Close"
52
- })]
53
- })]
54
- })] });
31
+ return (_jsxs(SheetPrimitive.Portal, { children: [_jsx(SheetPrimitive.Overlay, { className: cn("fixed inset-0 z-50 bg-black/50 ease-ui data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=open]:fade-in-0", classNames?.overlay), "data-slot": "sheet-overlay" }), _jsxs(SheetPrimitive.Content, { className: sheetContentVariants({ className: [classNames?.content, className], side }), "data-slot": "sheet-content", ...props, children: [children, _jsxs(SheetPrimitive.Close, { className: buttonVariants({
32
+ className: ["absolute top-4 right-4 size-7", classNames?.close],
33
+ size: "icon",
34
+ variant: "ghost",
35
+ }), "data-slot": "sheet-close", children: [_jsx(XIcon, { className: "size-4" }), _jsx("span", { className: "sr-only", children: "Close" })] })] })] }));
55
36
  }
56
37
  function SheetHeader({ className, ...props }) {
57
- return /* @__PURE__ */ jsx("header", {
58
- className: cn("flex shrink-0 flex-col gap-1.5 px-6 pt-6 pb-4 text-center sm:text-left", className),
59
- "data-slot": "sheet-header",
60
- ...props
61
- });
38
+ return (_jsx("header", { className: cn("flex shrink-0 flex-col gap-1.5 px-6 pt-6 pb-4 text-center sm:text-left", className), "data-slot": "sheet-header", ...props }));
62
39
  }
63
40
  function SheetBody({ className, ...props }) {
64
- return /* @__PURE__ */ jsx("main", {
65
- className: cn("px-6 py-2", className),
66
- "data-slot": "sheet-body",
67
- ...props
68
- });
41
+ return _jsx("main", { className: cn("px-6 py-2", className), "data-slot": "sheet-body", ...props });
69
42
  }
70
43
  function SheetFooter({ className, ...props }) {
71
- return /* @__PURE__ */ jsx("footer", {
72
- className: cn("flex shrink-0 flex-col-reverse gap-2 px-6 pt-4 pb-6 sm:flex-row sm:justify-end", className),
73
- "data-slot": "sheet-footer",
74
- ...props
75
- });
44
+ return (_jsx("footer", { className: cn("flex shrink-0 flex-col-reverse gap-2 px-6 pt-4 pb-6 sm:flex-row sm:justify-end", className), "data-slot": "sheet-footer", ...props }));
76
45
  }
77
46
  function SheetTitle({ className, ...props }) {
78
- return /* @__PURE__ */ jsx(SheetPrimitive.Title, {
79
- className: cn("text-lg font-semibold text-foreground", className),
80
- "data-slot": "sheet-title",
81
- ...props
82
- });
47
+ return (_jsx(SheetPrimitive.Title, { className: cn("text-lg font-semibold text-foreground", className), "data-slot": "sheet-title", ...props }));
83
48
  }
84
49
  function SheetDescription({ className, ...props }) {
85
- return /* @__PURE__ */ jsx(SheetPrimitive.Description, {
86
- className: cn("text-sm text-muted-foreground", className),
87
- "data-slot": "sheet-description",
88
- ...props
89
- });
50
+ return (_jsx(SheetPrimitive.Description, { className: cn("text-sm text-muted-foreground", className), "data-slot": "sheet-description", ...props }));
90
51
  }
91
52
  function SheetClose({ className, size, variant = "outline", ...props }) {
92
- return /* @__PURE__ */ jsx(SheetPrimitive.Close, {
93
- className: buttonVariants({
94
- className,
95
- size,
96
- variant
97
- }),
98
- "data-slot": "sheet-close",
99
- ...props
100
- });
53
+ return (_jsx(SheetPrimitive.Close, { className: buttonVariants({ className, size, variant }), "data-slot": "sheet-close", ...props }));
101
54
  }
102
- //#endregion
103
- export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, sheetContentVariants };
55
+ /* -----------------------------------------------------------------------------
56
+ * Exports
57
+ * -------------------------------------------------------------------------- */
58
+ export { sheetContentVariants };
59
+ export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, };
@@ -1,195 +1,102 @@
1
- import { Button } from "./button.js";
2
- import { Separator } from "./separator.js";
3
- import { Input } from "./input.js";
4
- import { TooltipContent } from "./tooltip.js";
5
- import * as _$_codefast_tailwind_variants0 from "@codefast/tailwind-variants";
6
- import { VariantProps } from "@codefast/tailwind-variants";
7
- import { ComponentProps, Dispatch, JSX, SetStateAction } from "react";
8
-
9
- //#region src/components/sidebar.d.ts
10
- declare const sidebarMenuButtonVariants: _$_codefast_tailwind_variants0.VariantFunctionType<{
11
- size: {
12
- sm: string;
13
- md: string;
14
- lg: string;
15
- };
16
- variant: {
17
- default: string;
18
- outline: string;
19
- };
1
+ import type { VariantProps } from "@codefast/tailwind-variants";
2
+ import type { ComponentProps, Dispatch, JSX, SetStateAction } from "react";
3
+ import { Button } from "#components/button";
4
+ import { Input } from "#components/input";
5
+ import { Separator } from "#components/separator";
6
+ import { TooltipContent } from "#components/tooltip";
7
+ declare const sidebarMenuButtonVariants: import("@codefast/tailwind-variants").VariantFunctionType<{
8
+ size: {
9
+ sm: string;
10
+ md: string;
11
+ lg: string;
12
+ };
13
+ variant: {
14
+ default: string;
15
+ outline: string;
16
+ };
20
17
  }, Record<string, never>>;
21
18
  interface SidebarContextValue {
22
- isMobile: boolean;
23
- open: boolean;
24
- openMobile: boolean;
25
- setOpen: (open: boolean) => void;
26
- setOpenMobile: Dispatch<SetStateAction<boolean>>;
27
- state: "collapsed" | "expanded";
28
- toggleSidebar: () => void;
19
+ isMobile: boolean;
20
+ open: boolean;
21
+ openMobile: boolean;
22
+ setOpen: (open: boolean) => void;
23
+ setOpenMobile: Dispatch<SetStateAction<boolean>>;
24
+ state: "collapsed" | "expanded";
25
+ toggleSidebar: () => void;
29
26
  }
30
27
  declare const useSidebar: (consumerName: string) => SidebarContextValue;
31
28
  interface SidebarProviderProps extends ComponentProps<"div"> {
32
- defaultOpen?: boolean;
33
- onOpenChange?: (open: boolean) => void;
34
- open?: boolean;
29
+ defaultOpen?: boolean;
30
+ onOpenChange?: (open: boolean) => void;
31
+ open?: boolean;
35
32
  }
36
- declare function SidebarProvider({
37
- children,
38
- className,
39
- defaultOpen,
40
- onOpenChange: setOpenProperty,
41
- open: openProperty,
42
- style,
43
- ...props
44
- }: SidebarProviderProps): JSX.Element;
33
+ declare function SidebarProvider({ children, className, defaultOpen, onOpenChange: setOpenProperty, open: openProperty, style, ...props }: SidebarProviderProps): JSX.Element;
45
34
  interface SidebarProps extends ComponentProps<"div"> {
46
- collapsible?: "icon" | "none" | "offcanvas";
47
- side?: "left" | "right";
48
- variant?: "floating" | "inset" | "sidebar";
35
+ collapsible?: "icon" | "none" | "offcanvas";
36
+ side?: "left" | "right";
37
+ variant?: "floating" | "inset" | "sidebar";
49
38
  }
50
- declare function Sidebar({
51
- children,
52
- className,
53
- collapsible,
54
- side,
55
- variant,
56
- ...props
57
- }: SidebarProps): JSX.Element;
39
+ declare function Sidebar({ children, className, collapsible, side, variant, ...props }: SidebarProps): JSX.Element;
58
40
  type SidebarTriggerProps = ComponentProps<typeof Button>;
59
- declare function SidebarTrigger({
60
- className,
61
- onClick,
62
- ...props
63
- }: SidebarTriggerProps): JSX.Element;
41
+ declare function SidebarTrigger({ className, onClick, ...props }: SidebarTriggerProps): JSX.Element;
64
42
  type SidebarRailProps = ComponentProps<"button">;
65
- declare function SidebarRail({
66
- className,
67
- ...props
68
- }: SidebarRailProps): JSX.Element;
43
+ declare function SidebarRail({ className, ...props }: SidebarRailProps): JSX.Element;
69
44
  type SidebarInsetProps = ComponentProps<"main">;
70
- declare function SidebarInset({
71
- className,
72
- ...props
73
- }: SidebarInsetProps): JSX.Element;
45
+ declare function SidebarInset({ className, ...props }: SidebarInsetProps): JSX.Element;
74
46
  type SidebarInputProps = ComponentProps<typeof Input>;
75
- declare function SidebarInput({
76
- className,
77
- ...props
78
- }: SidebarInputProps): JSX.Element;
47
+ declare function SidebarInput({ className, ...props }: SidebarInputProps): JSX.Element;
79
48
  type SidebarHeaderProps = ComponentProps<"div">;
80
- declare function SidebarHeader({
81
- className,
82
- ...props
83
- }: SidebarHeaderProps): JSX.Element;
49
+ declare function SidebarHeader({ className, ...props }: SidebarHeaderProps): JSX.Element;
84
50
  type SidebarFooterProps = ComponentProps<"div">;
85
- declare function SidebarFooter({
86
- className,
87
- ...props
88
- }: SidebarFooterProps): JSX.Element;
51
+ declare function SidebarFooter({ className, ...props }: SidebarFooterProps): JSX.Element;
89
52
  type SidebarSeparatorProps = ComponentProps<typeof Separator>;
90
- declare function SidebarSeparator({
91
- className,
92
- ...props
93
- }: SidebarSeparatorProps): JSX.Element;
53
+ declare function SidebarSeparator({ className, ...props }: SidebarSeparatorProps): JSX.Element;
94
54
  type SidebarContentProps = ComponentProps<"div">;
95
- declare function SidebarContent({
96
- className,
97
- ...props
98
- }: SidebarContentProps): JSX.Element;
55
+ declare function SidebarContent({ className, ...props }: SidebarContentProps): JSX.Element;
99
56
  type SidebarGroupProps = ComponentProps<"div">;
100
- declare function SidebarGroup({
101
- className,
102
- ...props
103
- }: SidebarGroupProps): JSX.Element;
57
+ declare function SidebarGroup({ className, ...props }: SidebarGroupProps): JSX.Element;
104
58
  interface SidebarGroupLabelProps extends ComponentProps<"div"> {
105
- asChild?: boolean;
59
+ asChild?: boolean;
106
60
  }
107
- declare function SidebarGroupLabel({
108
- asChild,
109
- className,
110
- ...props
111
- }: SidebarGroupLabelProps): JSX.Element;
61
+ declare function SidebarGroupLabel({ asChild, className, ...props }: SidebarGroupLabelProps): JSX.Element;
112
62
  interface SidebarGroupActionProps extends ComponentProps<"button"> {
113
- asChild?: boolean;
63
+ asChild?: boolean;
114
64
  }
115
- declare function SidebarGroupAction({
116
- asChild,
117
- className,
118
- ...props
119
- }: SidebarGroupActionProps): JSX.Element;
65
+ declare function SidebarGroupAction({ asChild, className, ...props }: SidebarGroupActionProps): JSX.Element;
120
66
  type SidebarGroupContentProps = ComponentProps<"div">;
121
- declare function SidebarGroupContent({
122
- className,
123
- ...props
124
- }: SidebarGroupContentProps): JSX.Element;
67
+ declare function SidebarGroupContent({ className, ...props }: SidebarGroupContentProps): JSX.Element;
125
68
  type SidebarMenuProps = ComponentProps<"ul">;
126
- declare function SidebarMenu({
127
- className,
128
- ...props
129
- }: SidebarMenuProps): JSX.Element;
69
+ declare function SidebarMenu({ className, ...props }: SidebarMenuProps): JSX.Element;
130
70
  type SidebarMenuItemProps = ComponentProps<"li">;
131
- declare function SidebarMenuItem({
132
- className,
133
- ...props
134
- }: SidebarMenuItemProps): JSX.Element;
71
+ declare function SidebarMenuItem({ className, ...props }: SidebarMenuItemProps): JSX.Element;
135
72
  interface SidebarMenuButtonProps extends ComponentProps<"button">, VariantProps<typeof sidebarMenuButtonVariants> {
136
- asChild?: boolean;
137
- isActive?: boolean;
138
- tooltip?: ComponentProps<typeof TooltipContent> | string;
73
+ asChild?: boolean;
74
+ isActive?: boolean;
75
+ tooltip?: ComponentProps<typeof TooltipContent> | string;
139
76
  }
140
- declare function SidebarMenuButton({
141
- asChild,
142
- className,
143
- isActive,
144
- size,
145
- tooltip,
146
- variant,
147
- ...props
148
- }: SidebarMenuButtonProps): JSX.Element;
77
+ declare function SidebarMenuButton({ asChild, className, isActive, size, tooltip, variant, ...props }: SidebarMenuButtonProps): JSX.Element;
149
78
  interface SidebarMenuActionProps extends ComponentProps<"button"> {
150
- asChild?: boolean;
151
- showOnHover?: boolean;
79
+ asChild?: boolean;
80
+ showOnHover?: boolean;
152
81
  }
153
- declare function SidebarMenuAction({
154
- asChild,
155
- className,
156
- showOnHover,
157
- ...props
158
- }: SidebarMenuActionProps): JSX.Element;
82
+ declare function SidebarMenuAction({ asChild, className, showOnHover, ...props }: SidebarMenuActionProps): JSX.Element;
159
83
  type SidebarMenuBadgeProps = ComponentProps<"div">;
160
- declare function SidebarMenuBadge({
161
- className,
162
- ...props
163
- }: SidebarMenuBadgeProps): JSX.Element;
84
+ declare function SidebarMenuBadge({ className, ...props }: SidebarMenuBadgeProps): JSX.Element;
164
85
  interface SidebarMenuSkeletonProps extends ComponentProps<"div"> {
165
- showIcon?: boolean;
86
+ showIcon?: boolean;
166
87
  }
167
- declare function SidebarMenuSkeleton({
168
- className,
169
- showIcon,
170
- ...props
171
- }: SidebarMenuSkeletonProps): JSX.Element;
88
+ declare function SidebarMenuSkeleton({ className, showIcon, ...props }: SidebarMenuSkeletonProps): JSX.Element;
172
89
  type SidebarMenuSubProps = ComponentProps<"ul">;
173
- declare function SidebarMenuSub({
174
- className,
175
- ...props
176
- }: SidebarMenuSubProps): JSX.Element;
90
+ declare function SidebarMenuSub({ className, ...props }: SidebarMenuSubProps): JSX.Element;
177
91
  type SidebarMenuSubItemProps = ComponentProps<"li">;
178
- declare function SidebarMenuSubItem({
179
- className,
180
- ...props
181
- }: SidebarMenuSubItemProps): JSX.Element;
92
+ declare function SidebarMenuSubItem({ className, ...props }: SidebarMenuSubItemProps): JSX.Element;
182
93
  interface SidebarMenuSubButtonProps extends ComponentProps<"a"> {
183
- asChild?: boolean;
184
- isActive?: boolean;
185
- size?: "md" | "sm";
94
+ asChild?: boolean;
95
+ isActive?: boolean;
96
+ size?: "md" | "sm";
186
97
  }
187
- declare function SidebarMenuSubButton({
188
- asChild,
189
- className,
190
- isActive,
191
- size,
192
- ...props
193
- }: SidebarMenuSubButtonProps): JSX.Element;
194
- //#endregion
195
- export { Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, sidebarMenuButtonVariants, useSidebar };
98
+ declare function SidebarMenuSubButton({ asChild, className, isActive, size, ...props }: SidebarMenuSubButtonProps): JSX.Element;
99
+ export { sidebarMenuButtonVariants };
100
+ export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
101
+ export type { SidebarContentProps, SidebarFooterProps, SidebarGroupActionProps, SidebarGroupContentProps, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeaderProps, SidebarInputProps, SidebarInsetProps, SidebarMenuActionProps, SidebarMenuBadgeProps, SidebarMenuButtonProps, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeletonProps, SidebarMenuSubButtonProps, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProviderProps, SidebarRailProps, SidebarSeparatorProps, SidebarTriggerProps, };
102
+ //# sourceMappingURL=sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/components/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAiB,QAAQ,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ1F,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAW,cAAc,EAAmC,MAAM,qBAAqB,CAAC;AAO/F,QAAA,MAAM,yBAAyB;;;;;;;;;;yBAoB7B,CAAC;AASH,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,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