@minidev.fun/ui 1.0.2 → 1.0.4

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 (247) hide show
  1. package/dist/accordion.d.ts +36 -0
  2. package/dist/alert-dialog.d.ts +114 -0
  3. package/dist/alert.d.ts +41 -0
  4. package/dist/aspect-ratio.d.ts +14 -0
  5. package/dist/avatar.d.ts +55 -0
  6. package/dist/{components/ui/badge.d.ts → badge.d.ts} +22 -16
  7. package/dist/breadcrumb.d.ts +54 -0
  8. package/dist/button-group.d.ts +45 -0
  9. package/dist/{components/ui/button.d.ts → button.d.ts} +46 -41
  10. package/dist/calendar.d.ts +68 -0
  11. package/dist/card.d.ts +45 -0
  12. package/dist/carousel.d.ts +116 -0
  13. package/dist/{components/ui/chart.d.ts → chart.d.ts} +85 -73
  14. package/dist/checkbox.d.ts +14 -0
  15. package/dist/collapsible.d.ts +28 -0
  16. package/dist/combobox.d.ts +113 -0
  17. package/dist/command.d.ts +90 -0
  18. package/dist/components/minidev.fun/undefined/index.d.ts +2 -0
  19. package/dist/components/ui/src/components/ui/accordion.d.ts +2 -0
  20. package/dist/components/ui/src/components/ui/alert-dialog.d.ts +2 -0
  21. package/dist/components/ui/src/components/ui/alert.d.ts +2 -0
  22. package/dist/components/ui/src/components/ui/aspect-ratio.d.ts +2 -0
  23. package/dist/components/ui/src/components/ui/avatar.d.ts +2 -0
  24. package/dist/components/ui/src/components/ui/badge.d.ts +2 -0
  25. package/dist/components/ui/src/components/ui/breadcrumb.d.ts +2 -0
  26. package/dist/components/ui/src/components/ui/button-group.d.ts +2 -0
  27. package/dist/components/ui/src/components/ui/button.d.ts +2 -0
  28. package/dist/components/ui/src/components/ui/calendar.d.ts +2 -0
  29. package/dist/components/ui/src/components/ui/card.d.ts +2 -0
  30. package/dist/components/ui/src/components/ui/carousel.d.ts +2 -0
  31. package/dist/components/ui/src/components/ui/chart.d.ts +2 -0
  32. package/dist/components/ui/src/components/ui/checkbox.d.ts +2 -0
  33. package/dist/components/ui/src/components/ui/collapsible.d.ts +2 -0
  34. package/dist/components/ui/src/components/ui/combobox.d.ts +2 -0
  35. package/dist/components/ui/src/components/ui/command.d.ts +2 -0
  36. package/dist/components/ui/src/components/ui/context-menu.d.ts +2 -0
  37. package/dist/components/ui/src/components/ui/dialog.d.ts +2 -0
  38. package/dist/components/ui/src/components/ui/drawer.d.ts +2 -0
  39. package/dist/components/ui/src/components/ui/dropdown-menu.d.ts +2 -0
  40. package/dist/components/ui/src/components/ui/empty.d.ts +2 -0
  41. package/dist/components/ui/src/components/ui/field.d.ts +2 -0
  42. package/dist/components/ui/src/components/ui/hover-card.d.ts +2 -0
  43. package/dist/components/ui/src/components/ui/input-group.d.ts +2 -0
  44. package/dist/components/ui/src/components/ui/input-otp.d.ts +2 -0
  45. package/dist/components/ui/src/components/ui/input.d.ts +2 -0
  46. package/dist/components/ui/src/components/ui/item.d.ts +2 -0
  47. package/dist/components/ui/src/components/ui/kbd.d.ts +2 -0
  48. package/dist/components/ui/src/components/ui/label.d.ts +2 -0
  49. package/dist/components/ui/src/components/ui/menubar.d.ts +2 -0
  50. package/dist/components/ui/src/components/ui/modal.d.ts +2 -0
  51. package/dist/components/ui/src/components/ui/navigation-menu.d.ts +2 -0
  52. package/dist/components/ui/src/components/ui/pagination.d.ts +2 -0
  53. package/dist/components/ui/src/components/ui/popover.d.ts +2 -0
  54. package/dist/components/ui/src/components/ui/progress.d.ts +2 -0
  55. package/dist/components/ui/src/components/ui/radio-group.d.ts +2 -0
  56. package/dist/components/ui/src/components/ui/resizable.d.ts +2 -0
  57. package/dist/components/ui/src/components/ui/scroll-area.d.ts +2 -0
  58. package/dist/components/ui/src/components/ui/select.d.ts +2 -0
  59. package/dist/components/ui/src/components/ui/separator.d.ts +2 -0
  60. package/dist/components/ui/src/components/ui/sheet.d.ts +2 -0
  61. package/dist/components/ui/src/components/ui/sidebar.d.ts +2 -0
  62. package/dist/components/ui/src/components/ui/skeleton.d.ts +2 -0
  63. package/dist/components/ui/src/components/ui/slider.d.ts +2 -0
  64. package/dist/components/ui/src/components/ui/sonner.d.ts +2 -0
  65. package/dist/components/ui/src/components/ui/spinner.d.ts +2 -0
  66. package/dist/components/ui/src/components/ui/switch.d.ts +2 -0
  67. package/dist/components/ui/src/components/ui/table.d.ts +2 -0
  68. package/dist/components/ui/src/components/ui/tabs.d.ts +2 -0
  69. package/dist/components/ui/src/components/ui/textarea.d.ts +2 -0
  70. package/dist/components/ui/src/components/ui/toast.d.ts +2 -0
  71. package/dist/components/ui/src/components/ui/toggle-group.d.ts +2 -0
  72. package/dist/components/ui/src/components/ui/toggle.d.ts +2 -0
  73. package/dist/components/ui/src/components/ui/tooltip.d.ts +2 -0
  74. package/dist/context-menu.d.ts +97 -0
  75. package/dist/dialog.d.ts +90 -0
  76. package/dist/drawer.d.ts +61 -0
  77. package/dist/dropdown-menu.d.ts +121 -0
  78. package/dist/empty.d.ts +56 -0
  79. package/dist/field.d.ts +109 -0
  80. package/dist/hooks/src/hooks/use-mobile.d.ts +2 -0
  81. package/dist/hover-card.d.ts +28 -0
  82. package/dist/index.d.ts +290 -0
  83. package/dist/input-group.d.ts +106 -0
  84. package/dist/input-otp.d.ts +43 -0
  85. package/dist/input.d.ts +14 -0
  86. package/dist/item.d.ts +101 -0
  87. package/dist/kbd.d.ts +19 -0
  88. package/dist/label.d.ts +12 -0
  89. package/dist/lib/utils.d.ts +2 -23
  90. package/dist/menubar.d.ts +205 -0
  91. package/dist/modal.d.ts +104 -0
  92. package/dist/navigation-menu.d.ts +66 -0
  93. package/dist/pagination.d.ts +99 -0
  94. package/dist/popover.d.ts +55 -0
  95. package/dist/progress.d.ts +41 -0
  96. package/dist/radio-group.d.ts +21 -0
  97. package/dist/{components/ui/resizable.d.ts → resizable.d.ts} +47 -38
  98. package/dist/{components/ui/scroll-area.d.ts → scroll-area.d.ts} +69 -64
  99. package/dist/select.d.ts +79 -0
  100. package/dist/separator.d.ts +12 -0
  101. package/dist/sheet.d.ts +68 -0
  102. package/dist/sidebar.d.ts +288 -0
  103. package/dist/skeleton.d.ts +11 -0
  104. package/dist/{components/ui/slider.d.ts → slider.d.ts} +24 -21
  105. package/dist/{components/ui/sonner.d.ts → sonner.d.ts} +27 -21
  106. package/dist/spinner.d.ts +11 -0
  107. package/dist/switch.d.ts +15 -0
  108. package/dist/table.d.ts +68 -0
  109. package/dist/tabs.d.ts +42 -0
  110. package/dist/{components/ui/textarea.d.ts → textarea.d.ts} +21 -18
  111. package/dist/toast.d.ts +15 -0
  112. package/dist/toggle-group.d.ts +36 -0
  113. package/dist/toggle.d.ts +19 -0
  114. package/dist/tooltip.d.ts +36 -0
  115. package/dist/{hooks/use-mobile.d.ts → use-mobile.d.ts} +19 -18
  116. package/dist/utils.d.ts +25 -0
  117. package/package.json +1 -1
  118. package/dist/components/minidev.fun/color-mode/color-mode-initializer.d.ts +0 -46
  119. package/dist/components/minidev.fun/color-mode/color-mode-initializer.d.ts.map +0 -1
  120. package/dist/components/minidev.fun/color-mode/color-mode-toggle.d.ts +0 -106
  121. package/dist/components/minidev.fun/color-mode/color-mode-toggle.d.ts.map +0 -1
  122. package/dist/components/minidev.fun/color-mode/index.d.ts +0 -4
  123. package/dist/components/minidev.fun/color-mode/index.d.ts.map +0 -1
  124. package/dist/components/minidev.fun/color-mode/use-color-mode.d.ts +0 -91
  125. package/dist/components/minidev.fun/color-mode/use-color-mode.d.ts.map +0 -1
  126. package/dist/components/minidev.fun/first-light/first-light-filters.d.ts +0 -27
  127. package/dist/components/minidev.fun/first-light/first-light-filters.d.ts.map +0 -1
  128. package/dist/components/minidev.fun/first-light/index.d.ts +0 -2
  129. package/dist/components/minidev.fun/first-light/index.d.ts.map +0 -1
  130. package/dist/components/minidev.fun/typography/blockquote.d.ts +0 -13
  131. package/dist/components/minidev.fun/typography/blockquote.d.ts.map +0 -1
  132. package/dist/components/minidev.fun/typography/code.d.ts +0 -13
  133. package/dist/components/minidev.fun/typography/code.d.ts.map +0 -1
  134. package/dist/components/minidev.fun/typography/index.d.ts +0 -6
  135. package/dist/components/minidev.fun/typography/index.d.ts.map +0 -1
  136. package/dist/components/minidev.fun/typography/list-item.d.ts +0 -27
  137. package/dist/components/minidev.fun/typography/list-item.d.ts.map +0 -1
  138. package/dist/components/minidev.fun/typography/text.d.ts +0 -44
  139. package/dist/components/minidev.fun/typography/text.d.ts.map +0 -1
  140. package/dist/components/minidev.fun/typography/title.d.ts +0 -22
  141. package/dist/components/minidev.fun/typography/title.d.ts.map +0 -1
  142. package/dist/components/ui/accordion.d.ts +0 -27
  143. package/dist/components/ui/accordion.d.ts.map +0 -1
  144. package/dist/components/ui/alert-dialog.d.ts +0 -47
  145. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  146. package/dist/components/ui/alert.d.ts +0 -30
  147. package/dist/components/ui/alert.d.ts.map +0 -1
  148. package/dist/components/ui/aspect-ratio.d.ts +0 -11
  149. package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
  150. package/dist/components/ui/avatar.d.ts +0 -42
  151. package/dist/components/ui/avatar.d.ts.map +0 -1
  152. package/dist/components/ui/badge.d.ts.map +0 -1
  153. package/dist/components/ui/breadcrumb.d.ts +0 -39
  154. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  155. package/dist/components/ui/button-group.d.ts +0 -26
  156. package/dist/components/ui/button-group.d.ts.map +0 -1
  157. package/dist/components/ui/button.d.ts.map +0 -1
  158. package/dist/components/ui/calendar.d.ts +0 -20
  159. package/dist/components/ui/calendar.d.ts.map +0 -1
  160. package/dist/components/ui/card.d.ts +0 -30
  161. package/dist/components/ui/card.d.ts.map +0 -1
  162. package/dist/components/ui/carousel.d.ts +0 -56
  163. package/dist/components/ui/carousel.d.ts.map +0 -1
  164. package/dist/components/ui/chart.d.ts.map +0 -1
  165. package/dist/components/ui/checkbox.d.ts +0 -11
  166. package/dist/components/ui/checkbox.d.ts.map +0 -1
  167. package/dist/components/ui/collapsible.d.ts +0 -21
  168. package/dist/components/ui/collapsible.d.ts.map +0 -1
  169. package/dist/components/ui/combobox.d.ts +0 -80
  170. package/dist/components/ui/combobox.d.ts.map +0 -1
  171. package/dist/components/ui/command.d.ts +0 -63
  172. package/dist/components/ui/command.d.ts.map +0 -1
  173. package/dist/components/ui/context-menu.d.ts +0 -64
  174. package/dist/components/ui/context-menu.d.ts.map +0 -1
  175. package/dist/components/ui/dialog.d.ts +0 -69
  176. package/dist/components/ui/dialog.d.ts.map +0 -1
  177. package/dist/components/ui/drawer.d.ts +0 -40
  178. package/dist/components/ui/drawer.d.ts.map +0 -1
  179. package/dist/components/ui/dropdown-menu.d.ts +0 -88
  180. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  181. package/dist/components/ui/empty.d.ts +0 -41
  182. package/dist/components/ui/empty.d.ts.map +0 -1
  183. package/dist/components/ui/field.d.ts +0 -78
  184. package/dist/components/ui/field.d.ts.map +0 -1
  185. package/dist/components/ui/hover-card.d.ts +0 -21
  186. package/dist/components/ui/hover-card.d.ts.map +0 -1
  187. package/dist/components/ui/input-group.d.ts +0 -50
  188. package/dist/components/ui/input-group.d.ts.map +0 -1
  189. package/dist/components/ui/input-otp.d.ts +0 -34
  190. package/dist/components/ui/input-otp.d.ts.map +0 -1
  191. package/dist/components/ui/input.d.ts +0 -11
  192. package/dist/components/ui/input.d.ts.map +0 -1
  193. package/dist/components/ui/item.d.ts +0 -69
  194. package/dist/components/ui/item.d.ts.map +0 -1
  195. package/dist/components/ui/kbd.d.ts +0 -14
  196. package/dist/components/ui/kbd.d.ts.map +0 -1
  197. package/dist/components/ui/label.d.ts +0 -9
  198. package/dist/components/ui/label.d.ts.map +0 -1
  199. package/dist/components/ui/menubar.d.ts +0 -87
  200. package/dist/components/ui/menubar.d.ts.map +0 -1
  201. package/dist/components/ui/modal.d.ts +0 -41
  202. package/dist/components/ui/modal.d.ts.map +0 -1
  203. package/dist/components/ui/navigation-menu.d.ts +0 -52
  204. package/dist/components/ui/navigation-menu.d.ts.map +0 -1
  205. package/dist/components/ui/pagination.d.ts +0 -42
  206. package/dist/components/ui/pagination.d.ts.map +0 -1
  207. package/dist/components/ui/popover.d.ts +0 -42
  208. package/dist/components/ui/popover.d.ts.map +0 -1
  209. package/dist/components/ui/progress.d.ts +0 -30
  210. package/dist/components/ui/progress.d.ts.map +0 -1
  211. package/dist/components/ui/radio-group.d.ts +0 -16
  212. package/dist/components/ui/radio-group.d.ts.map +0 -1
  213. package/dist/components/ui/resizable.d.ts.map +0 -1
  214. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  215. package/dist/components/ui/select.d.ts +0 -58
  216. package/dist/components/ui/select.d.ts.map +0 -1
  217. package/dist/components/ui/separator.d.ts +0 -9
  218. package/dist/components/ui/separator.d.ts.map +0 -1
  219. package/dist/components/ui/sheet.d.ts +0 -51
  220. package/dist/components/ui/sheet.d.ts.map +0 -1
  221. package/dist/components/ui/sidebar.d.ts +0 -172
  222. package/dist/components/ui/sidebar.d.ts.map +0 -1
  223. package/dist/components/ui/skeleton.d.ts +0 -8
  224. package/dist/components/ui/skeleton.d.ts.map +0 -1
  225. package/dist/components/ui/slider.d.ts.map +0 -1
  226. package/dist/components/ui/sonner.d.ts.map +0 -1
  227. package/dist/components/ui/spinner.d.ts +0 -8
  228. package/dist/components/ui/spinner.d.ts.map +0 -1
  229. package/dist/components/ui/switch.d.ts +0 -12
  230. package/dist/components/ui/switch.d.ts.map +0 -1
  231. package/dist/components/ui/table.d.ts +0 -51
  232. package/dist/components/ui/table.d.ts.map +0 -1
  233. package/dist/components/ui/tabs.d.ts +0 -31
  234. package/dist/components/ui/tabs.d.ts.map +0 -1
  235. package/dist/components/ui/textarea.d.ts.map +0 -1
  236. package/dist/components/ui/toast.d.ts +0 -11
  237. package/dist/components/ui/toast.d.ts.map +0 -1
  238. package/dist/components/ui/toggle-group.d.ts +0 -26
  239. package/dist/components/ui/toggle-group.d.ts.map +0 -1
  240. package/dist/components/ui/toggle.d.ts +0 -14
  241. package/dist/components/ui/toggle.d.ts.map +0 -1
  242. package/dist/components/ui/tooltip.d.ts +0 -27
  243. package/dist/components/ui/tooltip.d.ts.map +0 -1
  244. package/dist/hooks/use-mobile.d.ts.map +0 -1
  245. package/dist/lib/utils.d.ts.map +0 -1
  246. package/dist/lib/variants.d.ts +0 -107
  247. package/dist/lib/variants.d.ts.map +0 -1
@@ -1,51 +0,0 @@
1
- import { Dialog as SheetPrimitive } from '@base-ui/react/dialog';
2
- import * as React from "react";
3
- type SheetProps = SheetPrimitive.Root.Props;
4
- /**
5
- * Sheet root component. Manages open/closed state for slide-in panels.
6
- * Built on Base UI Dialog with directional slide animations.
7
- */
8
- declare function Sheet({ ...props }: SheetProps): import("react/jsx-runtime").JSX.Element;
9
- type SheetTriggerProps = SheetPrimitive.Trigger.Props;
10
- /**
11
- * Button that opens the sheet. Use `render` prop to customize the trigger element.
12
- */
13
- declare function SheetTrigger({ ...props }: SheetTriggerProps): import("react/jsx-runtime").JSX.Element;
14
- type SheetCloseProps = SheetPrimitive.Close.Props;
15
- /**
16
- * Button that closes the sheet. Use `render` prop to customize the close element.
17
- */
18
- declare function SheetClose({ ...props }: SheetCloseProps): import("react/jsx-runtime").JSX.Element;
19
- type SheetContentProps = SheetPrimitive.Popup.Props & {
20
- /** Which edge the sheet slides in from. @default "right" */
21
- side?: "top" | "right" | "bottom" | "left";
22
- /** Show close button (X) in top-right corner. @default true */
23
- showCloseButton?: boolean;
24
- };
25
- /**
26
- * Sheet content panel with automatic portal, overlay, and slide animations.
27
- * Slides in from specified edge with backdrop blur effect.
28
- */
29
- declare function SheetContent({ className, children, side, showCloseButton, ...props }: SheetContentProps): import("react/jsx-runtime").JSX.Element;
30
- type SheetHeaderProps = React.ComponentProps<"div">;
31
- /**
32
- * Header section for sheet title and description. Provides consistent spacing.
33
- */
34
- declare function SheetHeader({ className, ...props }: SheetHeaderProps): import("react/jsx-runtime").JSX.Element;
35
- type SheetFooterProps = React.ComponentProps<"div">;
36
- /**
37
- * Footer section for sheet actions. Automatically sticks to bottom with consistent spacing.
38
- */
39
- declare function SheetFooter({ className, ...props }: SheetFooterProps): import("react/jsx-runtime").JSX.Element;
40
- type SheetTitleProps = SheetPrimitive.Title.Props;
41
- /**
42
- * Accessible sheet title. Automatically linked to sheet for screen readers.
43
- */
44
- declare function SheetTitle({ className, ...props }: SheetTitleProps): import("react/jsx-runtime").JSX.Element;
45
- type SheetDescriptionProps = SheetPrimitive.Description.Props;
46
- /**
47
- * Accessible sheet description. Provides additional context for screen readers.
48
- */
49
- declare function SheetDescription({ className, ...props }: SheetDescriptionProps): import("react/jsx-runtime").JSX.Element;
50
- export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, type SheetProps, type SheetTriggerProps, type SheetCloseProps, type SheetContentProps, type SheetHeaderProps, type SheetFooterProps, type SheetTitleProps, type SheetDescriptionProps, };
51
- //# sourceMappingURL=sheet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMjE,KAAK,UAAU,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;AAE5C;;;GAGG;AACH,iBAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAEtC;AAED,KAAK,iBAAiB,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC;AAEtD;;GAEG;AACH,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAEpD;AAED,KAAK,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC;AAElD;;GAEG;AACH,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAEhD;AA6BD,KAAK,iBAAiB,GA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GAC3B,CAAC"}
@@ -1,172 +0,0 @@
1
- import { useRender } from '@base-ui/react/use-render';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { Button } from './button';
4
- import { Input } from './input';
5
- import { Separator } from './separator';
6
- import { TooltipContent } from './tooltip';
7
- import * as React from "react";
8
- type SidebarContextProps = {
9
- state: "expanded" | "collapsed";
10
- open: boolean;
11
- setOpen: (open: boolean) => void;
12
- openMobile: boolean;
13
- setOpenMobile: (open: boolean) => void;
14
- isMobile: boolean;
15
- toggleSidebar: () => void;
16
- };
17
- /**
18
- * Hook to access sidebar context including state, mobile state, and toggle functions.
19
- * Must be used within SidebarProvider.
20
- */
21
- declare function useSidebar(): SidebarContextProps;
22
- type SidebarProviderProps = React.ComponentProps<"div"> & {
23
- /** Initial open state on desktop. @default true */
24
- defaultOpen?: boolean;
25
- /** Controlled open state for desktop. */
26
- open?: boolean;
27
- /** Callback when open state changes. Persists state in cookie. */
28
- onOpenChange?: (open: boolean) => void;
29
- };
30
- /**
31
- * Root provider for sidebar with state management, keyboard shortcuts (⌘B), and mobile detection.
32
- * Manages collapsed/expanded state and persists preference in cookie.
33
- */
34
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: SidebarProviderProps): import("react/jsx-runtime").JSX.Element;
35
- type SidebarProps = React.ComponentProps<"div"> & {
36
- /** Which side to display sidebar. @default "left" */
37
- side?: "left" | "right";
38
- variant?: "sidebar" | "floating" | "inset" | "fixed";
39
- collapsible?: "offcanvas" | "icon" | "none";
40
- };
41
- /**
42
- * Sidebar container with responsive behavior. Renders as Sheet on mobile.
43
- * Use with SidebarProvider for state management.
44
- */
45
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
46
- type SidebarTriggerProps = React.ComponentProps<typeof Button>;
47
- /**
48
- * Button to toggle sidebar open/closed. Shows hamburger icon.
49
- */
50
- declare function SidebarTrigger({ className, onClick, ...props }: SidebarTriggerProps): import("react/jsx-runtime").JSX.Element;
51
- type SidebarRailProps = React.ComponentProps<"button">;
52
- /**
53
- * Invisible rail element on sidebar edge for drag-to-resize interaction.
54
- */
55
- declare function SidebarRail({ className, ...props }: SidebarRailProps): import("react/jsx-runtime").JSX.Element;
56
- type SidebarInsetProps = React.ComponentProps<"main">;
57
- /**
58
- * Main content area that sits beside the sidebar. Automatically adjusts margins based on sidebar state.
59
- */
60
- declare function SidebarInset({ className, ...props }: SidebarInsetProps): import("react/jsx-runtime").JSX.Element;
61
- type SidebarInputProps = React.ComponentProps<typeof Input>;
62
- /**
63
- * Styled input for sidebar search/filter functionality.
64
- */
65
- declare function SidebarInput({ className, ...props }: SidebarInputProps): import("react/jsx-runtime").JSX.Element;
66
- type SidebarHeaderProps = React.ComponentProps<"div">;
67
- /**
68
- * Top section of sidebar for branding, app switcher, or global actions.
69
- */
70
- declare function SidebarHeader({ className, ...props }: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
71
- type SidebarFooterProps = React.ComponentProps<"div">;
72
- /**
73
- * Bottom section of sidebar for user profile, settings, or secondary actions.
74
- */
75
- declare function SidebarFooter({ className, ...props }: SidebarFooterProps): import("react/jsx-runtime").JSX.Element;
76
- type SidebarSeparatorProps = React.ComponentProps<typeof Separator>;
77
- /**
78
- * Horizontal divider between sidebar sections.
79
- */
80
- declare function SidebarSeparator({ className, ...props }: SidebarSeparatorProps): import("react/jsx-runtime").JSX.Element;
81
- type SidebarContentProps = React.ComponentProps<"div">;
82
- /**
83
- * Scrollable main content area of sidebar. Contains SidebarGroup components.
84
- */
85
- declare function SidebarContent({ className, ...props }: SidebarContentProps): import("react/jsx-runtime").JSX.Element;
86
- type SidebarGroupProps = React.ComponentProps<"div">;
87
- /**
88
- * Container for grouped menu items with optional label.
89
- */
90
- declare function SidebarGroup({ className, ...props }: SidebarGroupProps): import("react/jsx-runtime").JSX.Element;
91
- type SidebarGroupLabelProps = useRender.ComponentProps<"div"> & React.ComponentProps<"div">;
92
- /**
93
- * Label heading for a sidebar group. Fades out when sidebar collapses to icon mode.
94
- */
95
- declare function SidebarGroupLabel({ className, render, ...props }: SidebarGroupLabelProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
96
- type SidebarGroupActionProps = useRender.ComponentProps<"button"> & React.ComponentProps<"button">;
97
- /**
98
- * Action button displayed in top-right of group (e.g., add, expand all).
99
- */
100
- declare function SidebarGroupAction({ className, render, ...props }: SidebarGroupActionProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
101
- type SidebarGroupContentProps = React.ComponentProps<"div">;
102
- /**
103
- * Container for menu items within a group.
104
- */
105
- declare function SidebarGroupContent({ className, ...props }: SidebarGroupContentProps): import("react/jsx-runtime").JSX.Element;
106
- type SidebarMenuProps = React.ComponentProps<"ul">;
107
- /**
108
- * Unordered list container for sidebar menu items.
109
- */
110
- declare function SidebarMenu({ className, ...props }: SidebarMenuProps): import("react/jsx-runtime").JSX.Element;
111
- type SidebarMenuItemProps = React.ComponentProps<"li">;
112
- /**
113
- * List item wrapper for a single menu entry.
114
- */
115
- declare function SidebarMenuItem({ className, ...props }: SidebarMenuItemProps): import("react/jsx-runtime").JSX.Element;
116
- declare const sidebarMenuButtonVariants: (props?: ({
117
- variant?: "default" | "outline" | null | undefined;
118
- size?: "default" | "sm" | "lg" | null | undefined;
119
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
120
- type SidebarMenuButtonProps = useRender.ComponentProps<"button"> & React.ComponentProps<"button"> & {
121
- /** Mark as active/current page. */
122
- isActive?: boolean;
123
- /** Tooltip content shown when sidebar is collapsed. */
124
- tooltip?: string | React.ComponentProps<typeof TooltipContent>;
125
- } & VariantProps<typeof sidebarMenuButtonVariants>;
126
- /**
127
- * Clickable button for sidebar menu item. Supports variants, sizes, active state, and tooltips.
128
- */
129
- declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: SidebarMenuButtonProps): import("react/jsx-runtime").JSX.Element;
130
- type SidebarMenuActionProps = useRender.ComponentProps<"button"> & React.ComponentProps<"button"> & {
131
- /** Only show on hover/focus. @default false */
132
- showOnHover?: boolean;
133
- };
134
- /**
135
- * Secondary action button for menu item (e.g., delete, edit). Positioned on right side.
136
- */
137
- declare function SidebarMenuAction({ className, render, showOnHover, ...props }: SidebarMenuActionProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
138
- type SidebarMenuBadgeProps = React.ComponentProps<"div">;
139
- /**
140
- * Badge/counter displayed on right side of menu item (e.g., notification count).
141
- */
142
- declare function SidebarMenuBadge({ className, ...props }: SidebarMenuBadgeProps): import("react/jsx-runtime").JSX.Element;
143
- type SidebarMenuSkeletonProps = React.ComponentProps<"div"> & {
144
- /** Show icon skeleton. @default false */
145
- showIcon?: boolean;
146
- };
147
- /**
148
- * Loading skeleton placeholder for menu item with randomized width.
149
- */
150
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: SidebarMenuSkeletonProps): import("react/jsx-runtime").JSX.Element;
151
- type SidebarMenuSubProps = React.ComponentProps<"ul">;
152
- /**
153
- * Nested submenu list with indented border. Place inside SidebarMenuItem.
154
- */
155
- declare function SidebarMenuSub({ className, ...props }: SidebarMenuSubProps): import("react/jsx-runtime").JSX.Element;
156
- type SidebarMenuSubItemProps = React.ComponentProps<"li">;
157
- /**
158
- * List item wrapper for submenu entry.
159
- */
160
- declare function SidebarMenuSubItem({ className, ...props }: SidebarMenuSubItemProps): import("react/jsx-runtime").JSX.Element;
161
- type SidebarMenuSubButtonProps = useRender.ComponentProps<"a"> & React.ComponentProps<"a"> & {
162
- /** Size variant. @default "md" */
163
- size?: "sm" | "md";
164
- /** Mark as active/current page. */
165
- isActive?: boolean;
166
- };
167
- /**
168
- * Link button for submenu item. Defaults to anchor tag.
169
- */
170
- declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: SidebarMenuSubButtonProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
171
- 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, type SidebarProps, type SidebarContentProps, type SidebarFooterProps, type SidebarGroupProps, type SidebarGroupActionProps, type SidebarGroupContentProps, type SidebarGroupLabelProps, type SidebarHeaderProps, type SidebarInputProps, type SidebarInsetProps, type SidebarMenuProps, type SidebarMenuActionProps, type SidebarMenuBadgeProps, type SidebarMenuButtonProps, type SidebarMenuItemProps, type SidebarMenuSkeletonProps, type SidebarMenuSubProps, type SidebarMenuSubButtonProps, type SidebarMenuSubItemProps, type SidebarProviderProps, type SidebarRailProps, type SidebarSeparatorProps, type SidebarTriggerProps, };
172
- //# sourceMappingURL=sidebar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAStD,OAAO,EAEL,cAAc,EAEf,MAAM,yBAAyB,CAAC;AAWjC,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;I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K,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,CAAC"}
@@ -1,8 +0,0 @@
1
- type SkeletonProps = React.ComponentProps<"div">;
2
- /**
3
- * Skeleton loading placeholder with pulse animation.
4
- * Use to indicate content is loading while maintaining layout structure.
5
- */
6
- declare function Skeleton({ className, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
7
- export { Skeleton, type SkeletonProps };
8
- //# sourceMappingURL=skeleton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/skeleton.tsx"],"names":[],"mappings":"AAEA,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEjD;;;GAGG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAQvD;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIlE,KAAK,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,2CAmDb;AAED,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AASrE,KAAK,qBAAqB,GAAG,YAAY,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,OAAO,CAAC,EACf,KAAgB,EAChB,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,qBAAqB,2CA8CvB;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
@@ -1,8 +0,0 @@
1
- type SpinnerProps = React.ComponentProps<"svg">;
2
- /**
3
- * Animated loading spinner for indicating processing states.
4
- * Uses Lucide's Loader2 icon with continuous rotation animation.
5
- */
6
- declare function Spinner({ className, ...props }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
7
- export { Spinner, type SpinnerProps };
8
- //# sourceMappingURL=spinner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/spinner.tsx"],"names":[],"mappings":"AAGA,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhD;;;GAGG;AACH,iBAAS,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAUrD;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,CAAC"}
@@ -1,12 +0,0 @@
1
- import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
2
- type SwitchProps = SwitchPrimitive.Root.Props & {
3
- /** Switch size variant. @default "default" */
4
- size?: "sm" | "default";
5
- };
6
- /**
7
- * Toggle switch for binary on/off settings.
8
- * Renders a styled switch with automatic focus management and form integration.
9
- */
10
- declare function Switch({ className, size, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
11
- export { Switch, type SwitchProps };
12
- //# sourceMappingURL=switch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIlE,KAAK,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,KAAK,GAAG;IAC9C,8CAA8C;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,IAAgB,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAiBrE;AAED,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -1,51 +0,0 @@
1
- import * as React from "react";
2
- type TableProps = React.ComponentProps<"table">;
3
- /**
4
- * Root table component with automatic horizontal scrolling container.
5
- * Wraps standard HTML table element with responsive overflow behavior.
6
- */
7
- declare function Table({ className, ...props }: TableProps): import("react/jsx-runtime").JSX.Element;
8
- type TableHeaderProps = React.ComponentProps<"thead">;
9
- /**
10
- * Table header section for column headings.
11
- * Use with TableHead for individual header cells.
12
- */
13
- declare function TableHeader({ className, ...props }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
14
- type TableBodyProps = React.ComponentProps<"tbody">;
15
- /**
16
- * Table body section for data rows.
17
- * Use with TableRow and TableCell for row content.
18
- */
19
- declare function TableBody({ className, ...props }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
20
- type TableFooterProps = React.ComponentProps<"tfoot">;
21
- /**
22
- * Table footer section for summary rows.
23
- * Typically used for totals or aggregated data.
24
- */
25
- declare function TableFooter({ className, ...props }: TableFooterProps): import("react/jsx-runtime").JSX.Element;
26
- type TableRowProps = React.ComponentProps<"tr">;
27
- /**
28
- * Table row with hover and selection states.
29
- * Add `data-state="selected"` attribute to highlight row.
30
- */
31
- declare function TableRow({ className, ...props }: TableRowProps): import("react/jsx-runtime").JSX.Element;
32
- type TableHeadProps = React.ComponentProps<"th">;
33
- /**
34
- * Table header cell for column titles.
35
- * Use within TableHeader > TableRow.
36
- */
37
- declare function TableHead({ className, ...props }: TableHeadProps): import("react/jsx-runtime").JSX.Element;
38
- type TableCellProps = React.ComponentProps<"td">;
39
- /**
40
- * Table data cell for row content.
41
- * Use within TableBody > TableRow.
42
- */
43
- declare function TableCell({ className, ...props }: TableCellProps): import("react/jsx-runtime").JSX.Element;
44
- type TableCaptionProps = React.ComponentProps<"caption">;
45
- /**
46
- * Table caption for accessibility and description.
47
- * Rendered below the table by default.
48
- */
49
- declare function TableCaption({ className, ...props }: TableCaptionProps): import("react/jsx-runtime").JSX.Element;
50
- export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, type TableProps, type TableHeaderProps, type TableBodyProps, type TableFooterProps, type TableHeadProps, type TableRowProps, type TableCellProps, type TableCaptionProps, };
51
- //# sourceMappingURL=table.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAEhD;;;GAGG;AACH,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAajD;AAED,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAEtD;;;GAGG;AACH,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAQ7D;AAED,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAEpD;;;GAGG;AACH,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAQzD;AAED,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAEtD;;;GAGG;AACH,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAW7D;AAED,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAEhD;;;GAGG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAWvD;AAED,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAEjD;;;GAGG;AACH,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAWzD;AAED,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAEjD;;;GAGG;AACH,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAWzD;AAED,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAEzD;;;GAGG;AACH,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAQ/D;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB,CAAC"}
@@ -1,31 +0,0 @@
1
- import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
2
- import { VariantProps } from 'class-variance-authority';
3
- type TabsProps = TabsPrimitive.Root.Props;
4
- /**
5
- * Root container for tabs component that manages tab state and orientation.
6
- * Supports both controlled and uncontrolled usage with horizontal or vertical layout.
7
- */
8
- declare function Tabs({ className, orientation, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
9
- declare const tabsListVariants: (props?: ({
10
- variant?: "line" | "default" | null | undefined;
11
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
12
- type TabsListProps = TabsPrimitive.List.Props & VariantProps<typeof tabsListVariants>;
13
- /**
14
- * Container for tab triggers with two visual variants.
15
- * @param variant - Visual style: "default" (background highlight) or "line" (underline indicator). @default "default"
16
- */
17
- declare function TabsList({ className, variant, ...props }: TabsListProps): import("react/jsx-runtime").JSX.Element;
18
- type TabsTriggerProps = TabsPrimitive.Tab.Props;
19
- /**
20
- * Individual tab button that activates the corresponding panel.
21
- * Supports icons, badges, and disabled state. Active tab has visual highlight or underline based on variant.
22
- */
23
- declare function TabsTrigger({ className, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
24
- type TabsContentProps = TabsPrimitive.Panel.Props;
25
- /**
26
- * Content panel that displays when its corresponding tab is active.
27
- * Automatically hidden/shown based on active tab value.
28
- */
29
- declare function TabsContent({ className, ...props }: TabsContentProps): import("react/jsx-runtime").JSX.Element;
30
- export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, };
31
- //# sourceMappingURL=tabs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,KAAK,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;AAE1C;;;GAGG;AACH,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,WAA0B,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAY3E;AAED,QAAA,MAAM,gBAAgB;;8EAmBrB,CAAC;AAEF,KAAK,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,GAC3C,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAExC;;;GAGG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAmB,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAS5E;AAED,KAAK,gBAAgB,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC;AAEhD;;;GAGG;AACH,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAc7D;AAED,KAAK,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC;AAElD;;;GAGG;AACH,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAQ7D;AAED,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;AAEtD;;;;;;;;;;;;GAYG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAWvD;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,CAAC"}
@@ -1,11 +0,0 @@
1
- import * as React from "react";
2
- export type ToastVariant = "default" | "success" | "destructive" | "info" | "loading";
3
- interface ToastProps extends React.HTMLAttributes<HTMLDivElement> {
4
- title?: string;
5
- description?: string;
6
- variant?: ToastVariant;
7
- onClose?: () => void;
8
- }
9
- declare function Toast({ title, description, variant, className, onClose, children, ...props }: ToastProps): import("react/jsx-runtime").JSX.Element;
10
- export { Toast, type ToastProps };
11
- //# sourceMappingURL=toast.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,SAAS,GACT,aAAa,GACb,MAAM,GACN,SAAS,CAAC;AAEd,UAAU,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAUD,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,WAAW,EACX,OAAmB,EACnB,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAgCZ;AAED,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,CAAC"}
@@ -1,26 +0,0 @@
1
- import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
2
- import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { toggleVariants } from './toggle';
5
- type ToggleGroupProps = ToggleGroupPrimitive.Props & VariantProps<typeof toggleVariants> & {
6
- /** Gap between items in spacing units. Set to 0 for joined buttons. @default 0 */
7
- spacing?: number;
8
- /** Layout direction of the toggle group. @default "horizontal" */
9
- orientation?: "horizontal" | "vertical";
10
- };
11
- /**
12
- * Container for a group of toggle buttons that share state. Supports both single and multiple selection modes.
13
- *
14
- * By default, the toggle group allows multiple selection. Use `multiple={false}` for single selection.
15
- * All items inherit variant and size from the group unless explicitly overridden.
16
- */
17
- declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroupProps): import("react/jsx-runtime").JSX.Element;
18
- type ToggleGroupItemProps = TogglePrimitive.Props & VariantProps<typeof toggleVariants>;
19
- /**
20
- * Individual toggle button within a ToggleGroup. Inherits variant and size from parent group context.
21
- *
22
- * When spacing={0}, items are joined together with shared borders. Use `aria-label` for icon-only buttons.
23
- */
24
- declare function ToggleGroupItem({ className, children, variant, size, ...props }: ToggleGroupItemProps): import("react/jsx-runtime").JSX.Element;
25
- export { ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleGroupItemProps, };
26
- //# sourceMappingURL=toggle-group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAcxD,KAAK,gBAAgB,GAAG,oBAAoB,CAAC,KAAK,GAChD,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACzC,CAAC;AAEJ;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAW,EACX,WAA0B,EAC1B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAsBlB;AAED,KAAK,oBAAoB,GAAG,eAAe,CAAC,KAAK,GAC/C,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtC;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,QAAQ,EACR,OAAmB,EACnB,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,oBAAoB,2CAsBtB;AAED,OAAO,EACL,WAAW,EACX,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,CAAC"}
@@ -1,14 +0,0 @@
1
- import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
2
- import { VariantProps } from 'class-variance-authority';
3
- declare const toggleVariants: (props?: ({
4
- variant?: "default" | "outline" | null | undefined;
5
- size?: "default" | "sm" | "lg" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- type ToggleProps = TogglePrimitive.Props & VariantProps<typeof toggleVariants>;
8
- /**
9
- * Two-state button that can be pressed (on) or unpressed (off).
10
- * Supports icons, text, or both. Commonly used for formatting toolbars, view mode toggles, and preference switches.
11
- */
12
- declare function Toggle({ className, variant, size, ...props }: ToggleProps): import("react/jsx-runtime").JSX.Element;
13
- export { Toggle, toggleVariants, type ToggleProps };
14
- //# sourceMappingURL=toggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;8EAmBnB,CAAC;AAEF,KAAK,WAAW,GAAG,eAAe,CAAC,KAAK,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/E;;;GAGG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAmB,EACnB,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,WAAW,2CAQb;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -1,27 +0,0 @@
1
- import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
2
- type TooltipProviderProps = TooltipPrimitive.Provider.Props;
3
- /**
4
- * Tooltip provider with configurable delay.
5
- * Manages shared tooltip state across nested tooltips.
6
- */
7
- declare function TooltipProvider({ delay, ...props }: TooltipProviderProps): import("react/jsx-runtime").JSX.Element;
8
- type TooltipProps = TooltipPrimitive.Root.Props;
9
- /**
10
- * Tooltip root component. Displays contextual information on hover or focus.
11
- * Automatically wraps in TooltipProvider for convenience.
12
- */
13
- declare function Tooltip({ ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
14
- type TooltipTriggerProps = TooltipPrimitive.Trigger.Props;
15
- /**
16
- * Trigger element that shows the tooltip on hover or focus.
17
- * Use `render` prop to customize with any focusable element.
18
- */
19
- declare function TooltipTrigger({ ...props }: TooltipTriggerProps): import("react/jsx-runtime").JSX.Element;
20
- type TooltipContentProps = TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">;
21
- /**
22
- * Tooltip content popup with automatic portal, positioning, and arrow.
23
- * Includes smooth animations and collision detection.
24
- */
25
- declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipContentProps): import("react/jsx-runtime").JSX.Element;
26
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, type TooltipProps, type TooltipTriggerProps, type TooltipContentProps, type TooltipProviderProps, };
27
- //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,KAAK,oBAAoB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC;AAE5D;;;GAGG;AACH,iBAAS,eAAe,CAAC,EAAE,KAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,2CAQrE;AAED,KAAK,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;AAEhD;;;GAGG;AACH,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAM1C;AAED,KAAK,mBAAmB,GAAG,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;AAE1D;;;GAGG;AACH,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAExD;AAED,KAAK,mBAAmB,GAAG,gBAAgB,CAAC,KAAK,CAAC,KAAK,GACrD,IAAI,CACF,gBAAgB,CAAC,UAAU,CAAC,KAAK,EACjC,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,YAAY,CAChD,CAAC;AAEJ;;;GAGG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,IAAY,EACZ,UAAc,EACd,KAAgB,EAChB,WAAe,EACf,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAwBrB;AAED,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,eAAe,EACf,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,YAgB1B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -1,107 +0,0 @@
1
- /**
2
- * @internal
3
- * Shared CVA variants used by menu and typography components.
4
- * Not exported publicly - use component props instead:
5
- * - Menu styling: <DropdownMenuItem variant="destructive">
6
- * - Typography: <Text color="muted" size="sm">
7
- */
8
- /**
9
- * Shared menu item variants for DropdownMenuItem, ContextMenuItem, and MenubarItem.
10
- * Provides consistent styling across all menu-style components.
11
- */
12
- export declare const menuItemVariants: (props?: ({
13
- variant?: "default" | "success" | "destructive" | "info" | "warning" | null | undefined;
14
- inset?: boolean | null | undefined;
15
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
16
- /** Variant options for menu items: default, destructive, success, warning, info */
17
- export type MenuItemVariant = "default" | "destructive" | "success" | "warning" | "info";
18
- /**
19
- * Typography color variants shared across Title, Text, Code, ListItem, and Blockquote components.
20
- * Provides semantic color options for consistent text styling.
21
- *
22
- * @example
23
- * ```tsx
24
- * import { typographyColorVariants } from "@minidev.fun/ui/lib/variants"
25
- * import { cn } from "@minidev.fun/ui/lib/utils"
26
- *
27
- * <span className={cn(typographyColorVariants({ color: "muted" }))}>
28
- * Secondary text
29
- * </span>
30
- * ```
31
- */
32
- export declare const typographyColorVariants: (props?: ({
33
- color?: "default" | "success" | "destructive" | "info" | "primary" | "warning" | "muted" | "subtle" | null | undefined;
34
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
35
- /** Semantic color options for typography: default, muted, subtle, destructive, success, warning, info */
36
- export type TypographyColor = "default" | "primary" | "muted" | "subtle" | "destructive" | "success" | "warning" | "info";
37
- /**
38
- * Title order-based size defaults (only used when size prop is not specified).
39
- * Maps heading levels (h1-h6) to responsive font sizes.
40
- *
41
- * @example
42
- * ```tsx
43
- * // order: 1 → "text-3xl md:text-4xl lg:text-5xl"
44
- * // order: 6 → "text-sm md:text-base lg:text-lg"
45
- * ```
46
- */
47
- export declare const titleOrderSizeVariants: (props?: ({
48
- order?: 4 | 1 | 2 | 3 | 5 | 6 | null | undefined;
49
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
50
- /**
51
- * Title order-based style defaults (weight, tracking, leading).
52
- * Provides appropriate font-weight and line-height for each heading level.
53
- *
54
- * @example
55
- * ```tsx
56
- * // order: 1 → "font-bold tracking-tight leading-[1.1]"
57
- * // order: 6 → "font-medium leading-normal"
58
- * ```
59
- */
60
- export declare const titleOrderStyleVariants: (props?: ({
61
- order?: 4 | 1 | 2 | 3 | 5 | 6 | null | undefined;
62
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
63
- /**
64
- * Title component variants for explicit size and weight overrides.
65
- * Use when you need to override the order-based defaults.
66
- *
67
- * @example
68
- * ```tsx
69
- * import { titleVariants } from "@minidev.fun/ui/lib/variants"
70
- * import { cn } from "@minidev.fun/ui/lib/utils"
71
- *
72
- * <h2 className={cn(titleVariants({ size: "4xl", weight: "bold" }))}>
73
- * Large Bold Title
74
- * </h2>
75
- * ```
76
- */
77
- export declare const titleVariants: (props?: ({
78
- size?: "base" | "sm" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
79
- weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
80
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
81
- /** Heading level 1-6, maps to h1-h6 elements */
82
- export type TitleOrder = 1 | 2 | 3 | 4 | 5 | 6;
83
- /** Font size options from xs to 6xl */
84
- export type TitleSize = "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
85
- /** Font weight options: normal, medium, semibold, bold */
86
- export type TitleWeight = "normal" | "medium" | "semibold" | "bold";
87
- /**
88
- * Text component variants with auto-scaling line-height and letter-spacing.
89
- * Provides consistent paragraph and body text styling.
90
- *
91
- * @example
92
- * ```tsx
93
- * import { textVariants } from "@minidev.fun/ui/lib/variants"
94
- * import { cn } from "@minidev.fun/ui/lib/utils"
95
- *
96
- * <p className={cn(textVariants({ size: "lg", weight: "medium", align: "center" }))}>
97
- * Centered large text
98
- * </p>
99
- * ```
100
- */
101
- export declare const textVariants: (props?: ({
102
- size?: "base" | "sm" | "lg" | "xs" | "xl" | "2xl" | null | undefined;
103
- weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
104
- align?: "center" | "left" | "right" | null | undefined;
105
- transform?: "capitalize" | "lowercase" | "uppercase" | null | undefined;
106
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
107
- //# sourceMappingURL=variants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/lib/variants.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;8EAyB5B,CAAC;AAEF,mFAAmF;AACnF,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;8EAgBlC,CAAC;AAEH,yGAAyG;AACzG,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,SAAS,GACT,OAAO,GACP,QAAQ,GACR,aAAa,GACb,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB;;8EAWjC,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB;;8EAclC,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa;;;8EAqBxB,CAAC;AAEH,gDAAgD;AAChD,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE/C,uCAAuC;AACvC,MAAM,MAAM,SAAS,GACjB,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,CAAC;AAEV,0DAA0D;AAC1D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAEpE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;8EA8BvB,CAAC"}