@demokit-ui/demokit 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/README.md +128 -0
  2. package/dist/app/background-decor.d.ts +1 -0
  3. package/dist/app/background-decor.js +38 -0
  4. package/dist/app/container.d.ts +12 -0
  5. package/dist/app/container.js +29 -0
  6. package/dist/app/demo1-shell.d.ts +43 -0
  7. package/dist/app/demo1-shell.js +616 -0
  8. package/dist/app/tweak-panel.d.ts +22 -0
  9. package/dist/app/tweak-panel.js +182 -0
  10. package/dist/components/apexcharts.css +101 -0
  11. package/dist/components/scrollable.css +120 -0
  12. package/dist/config/settings.config.d.ts +2 -0
  13. package/dist/config/settings.config.js +33 -0
  14. package/dist/config/types.d.ts +50 -0
  15. package/dist/config.reui.css +337 -0
  16. package/dist/demos/demo1.css +176 -0
  17. package/dist/index.d.ts +14 -0
  18. package/dist/index.js +484 -0
  19. package/dist/kit/components/chart/chart/chart.d.ts +57 -0
  20. package/dist/kit/components/chart/chart/chart.js +206 -0
  21. package/dist/kit/components/composite/action-bar/action-bar.d.ts +10 -0
  22. package/dist/kit/components/composite/action-bar/action-bar.js +38 -0
  23. package/dist/kit/components/composite/action-card/action-card.d.ts +13 -0
  24. package/dist/kit/components/composite/action-card/action-card.js +35 -0
  25. package/dist/kit/components/composite/activity-feed/activity-feed.d.ts +17 -0
  26. package/dist/kit/components/composite/activity-feed/activity-feed.js +26 -0
  27. package/dist/kit/components/composite/alert-card/alert-card.d.ts +10 -0
  28. package/dist/kit/components/composite/alert-card/alert-card.js +37 -0
  29. package/dist/kit/components/composite/approval-flow/approval-flow.d.ts +51 -0
  30. package/dist/kit/components/composite/approval-flow/approval-flow.js +185 -0
  31. package/dist/kit/components/composite/auth-shell/auth-shell.d.ts +10 -0
  32. package/dist/kit/components/composite/auth-shell/auth-shell.js +32 -0
  33. package/dist/kit/components/composite/board-toolbar/board-toolbar.d.ts +12 -0
  34. package/dist/kit/components/composite/board-toolbar/board-toolbar.js +44 -0
  35. package/dist/kit/components/composite/chart-card/chart-card.d.ts +14 -0
  36. package/dist/kit/components/composite/chart-card/chart-card.js +64 -0
  37. package/dist/kit/components/composite/chart-toolbar/chart-toolbar.d.ts +17 -0
  38. package/dist/kit/components/composite/chart-toolbar/chart-toolbar.js +48 -0
  39. package/dist/kit/components/composite/data-section/data-section.d.ts +17 -0
  40. package/dist/kit/components/composite/data-section/data-section.js +73 -0
  41. package/dist/kit/components/composite/description-grid/description-grid.d.ts +12 -0
  42. package/dist/kit/components/composite/description-grid/description-grid.js +36 -0
  43. package/dist/kit/components/composite/detail-header/detail-header.d.ts +19 -0
  44. package/dist/kit/components/composite/detail-header/detail-header.js +43 -0
  45. package/dist/kit/components/composite/filter-panel/filter-panel.d.ts +18 -0
  46. package/dist/kit/components/composite/filter-panel/filter-panel.js +86 -0
  47. package/dist/kit/components/composite/filter-toolbar/filter-toolbar.d.ts +14 -0
  48. package/dist/kit/components/composite/filter-toolbar/filter-toolbar.js +59 -0
  49. package/dist/kit/components/composite/forgot-password-form/forgot-password-form.d.ts +9 -0
  50. package/dist/kit/components/composite/forgot-password-form/forgot-password-form.js +34 -0
  51. package/dist/kit/components/composite/form-section/form-section.d.ts +9 -0
  52. package/dist/kit/components/composite/form-section/form-section.js +16 -0
  53. package/dist/kit/components/composite/kanban-board/kanban-board.d.ts +50 -0
  54. package/dist/kit/components/composite/kanban-board/kanban-board.js +55 -0
  55. package/dist/kit/components/composite/login-card/login-card.d.ts +33 -0
  56. package/dist/kit/components/composite/login-card/login-card.js +138 -0
  57. package/dist/kit/components/composite/message-list-card/message-list-card.d.ts +20 -0
  58. package/dist/kit/components/composite/message-list-card/message-list-card.js +83 -0
  59. package/dist/kit/components/composite/metric-card/metric-card.d.ts +18 -0
  60. package/dist/kit/components/composite/metric-card/metric-card.js +37 -0
  61. package/dist/kit/components/composite/milestone-card/milestone-card.d.ts +12 -0
  62. package/dist/kit/components/composite/milestone-card/milestone-card.js +33 -0
  63. package/dist/kit/components/composite/oauth-login-buttons/oauth-login-buttons.d.ts +14 -0
  64. package/dist/kit/components/composite/oauth-login-buttons/oauth-login-buttons.js +32 -0
  65. package/dist/kit/components/composite/page-header/page-header.d.ts +12 -0
  66. package/dist/kit/components/composite/page-header/page-header.js +66 -0
  67. package/dist/kit/components/composite/profile-card/profile-card.d.ts +16 -0
  68. package/dist/kit/components/composite/profile-card/profile-card.js +28 -0
  69. package/dist/kit/components/composite/progress-card/progress-card.d.ts +16 -0
  70. package/dist/kit/components/composite/progress-card/progress-card.js +23 -0
  71. package/dist/kit/components/composite/project-card/project-card.d.ts +17 -0
  72. package/dist/kit/components/composite/project-card/project-card.js +46 -0
  73. package/dist/kit/components/composite/shortcut-card/shortcut-card.d.ts +13 -0
  74. package/dist/kit/components/composite/shortcut-card/shortcut-card.js +35 -0
  75. package/dist/kit/components/composite/sprint-summary/sprint-summary.d.ts +15 -0
  76. package/dist/kit/components/composite/sprint-summary/sprint-summary.js +43 -0
  77. package/dist/kit/components/composite/state-panel/state-panel.d.ts +12 -0
  78. package/dist/kit/components/composite/state-panel/state-panel.js +79 -0
  79. package/dist/kit/components/composite/summary-card/summary-card.d.ts +15 -0
  80. package/dist/kit/components/composite/summary-card/summary-card.js +25 -0
  81. package/dist/kit/components/composite/task-card/task-card.d.ts +14 -0
  82. package/dist/kit/components/composite/task-card/task-card.js +49 -0
  83. package/dist/kit/components/composite/timeline/timeline.d.ts +46 -0
  84. package/dist/kit/components/composite/timeline/timeline.js +176 -0
  85. package/dist/kit/components/composite/todo-card/todo-card.d.ts +26 -0
  86. package/dist/kit/components/composite/todo-card/todo-card.js +101 -0
  87. package/dist/kit/components/data-display/avatar/avatar.d.ts +12 -0
  88. package/dist/kit/components/data-display/avatar/avatar.js +61 -0
  89. package/dist/kit/components/data-display/avatar-group/avatar-group.d.ts +22 -0
  90. package/dist/kit/components/data-display/avatar-group/avatar-group.js +184 -0
  91. package/dist/kit/components/data-display/badge/badge.d.ts +29 -0
  92. package/dist/kit/components/data-display/badge/badge.js +203 -0
  93. package/dist/kit/components/data-display/card/card.d.ts +15 -0
  94. package/dist/kit/components/data-display/card/card.js +119 -0
  95. package/dist/kit/components/data-display/data-grid/data-grid-column-filter.d.ts +15 -0
  96. package/dist/kit/components/data-display/data-grid/data-grid-column-filter.js +74 -0
  97. package/dist/kit/components/data-display/data-grid/data-grid-column-header.d.ts +12 -0
  98. package/dist/kit/components/data-display/data-grid/data-grid-column-header.js +171 -0
  99. package/dist/kit/components/data-display/data-grid/data-grid-column-visibility.d.ts +7 -0
  100. package/dist/kit/components/data-display/data-grid/data-grid-column-visibility.js +24 -0
  101. package/dist/kit/components/data-display/data-grid/data-grid-pagination.d.ts +15 -0
  102. package/dist/kit/components/data-display/data-grid/data-grid-pagination.js +132 -0
  103. package/dist/kit/components/data-display/data-grid/data-grid-table-dnd-rows.d.ts +9 -0
  104. package/dist/kit/components/data-display/data-grid/data-grid-table-dnd-rows.js +61 -0
  105. package/dist/kit/components/data-display/data-grid/data-grid-table-dnd.d.ts +5 -0
  106. package/dist/kit/components/data-display/data-grid/data-grid-table-dnd.js +86 -0
  107. package/dist/kit/components/data-display/data-grid/data-grid-table.d.ts +59 -0
  108. package/dist/kit/components/data-display/data-grid/data-grid-table.js +356 -0
  109. package/dist/kit/components/data-display/data-grid/data-grid.d.ts +87 -0
  110. package/dist/kit/components/data-display/data-grid/data-grid.js +87 -0
  111. package/dist/kit/components/data-display/kbd/kbd.d.ts +8 -0
  112. package/dist/kit/components/data-display/kbd/kbd.js +27 -0
  113. package/dist/kit/components/data-display/money-amount/money-amount.d.ts +27 -0
  114. package/dist/kit/components/data-display/money-amount/money-amount.js +91 -0
  115. package/dist/kit/components/data-display/progress/progress.d.ts +6 -0
  116. package/dist/kit/components/data-display/progress/progress.js +29 -0
  117. package/dist/kit/components/data-display/skeleton/skeleton.d.ts +3 -0
  118. package/dist/kit/components/data-display/skeleton/skeleton.js +8 -0
  119. package/dist/kit/components/data-display/sliding-number/sliding-number.d.ts +7 -0
  120. package/dist/kit/components/data-display/sliding-number/sliding-number.js +41 -0
  121. package/dist/kit/components/data-display/stepper/stepper.d.ts +61 -0
  122. package/dist/kit/components/data-display/stepper/stepper.js +230 -0
  123. package/dist/kit/components/data-display/table/table.d.ts +28 -0
  124. package/dist/kit/components/data-display/table/table.js +156 -0
  125. package/dist/kit/components/decorative/aurora-background/aurora-background.d.ts +7 -0
  126. package/dist/kit/components/decorative/aurora-background/aurora-background.js +60 -0
  127. package/dist/kit/components/decorative/grid-background/grid-background.d.ts +22 -0
  128. package/dist/kit/components/decorative/grid-background/grid-background.js +46 -0
  129. package/dist/kit/components/decorative/shimmering-text/shimmering-text.d.ts +29 -0
  130. package/dist/kit/components/decorative/shimmering-text/shimmering-text.js +64 -0
  131. package/dist/kit/components/decorative/text-reveal/text-reveal.d.ts +17 -0
  132. package/dist/kit/components/decorative/text-reveal/text-reveal.js +277 -0
  133. package/dist/kit/components/feedback/alert/alert.d.ts +21 -0
  134. package/dist/kit/components/feedback/alert/alert.js +236 -0
  135. package/dist/kit/components/feedback/alert-dialog/alert-dialog.d.ts +16 -0
  136. package/dist/kit/components/feedback/alert-dialog/alert-dialog.js +117 -0
  137. package/dist/kit/components/feedback/context-menu/context-menu.d.ts +24 -0
  138. package/dist/kit/components/feedback/context-menu/context-menu.js +183 -0
  139. package/dist/kit/components/feedback/dialog/dialog.d.ts +22 -0
  140. package/dist/kit/components/feedback/dialog/dialog.js +120 -0
  141. package/dist/kit/components/feedback/drawer/drawer.d.ts +13 -0
  142. package/dist/kit/components/feedback/drawer/drawer.js +76 -0
  143. package/dist/kit/components/feedback/dropdown-menu/dropdown-menu.d.ts +25 -0
  144. package/dist/kit/components/feedback/dropdown-menu/dropdown-menu.js +200 -0
  145. package/dist/kit/components/feedback/hover-card/hover-card.d.ts +6 -0
  146. package/dist/kit/components/feedback/hover-card/hover-card.js +34 -0
  147. package/dist/kit/components/feedback/popover/popover.d.ts +6 -0
  148. package/dist/kit/components/feedback/popover/popover.js +34 -0
  149. package/dist/kit/components/feedback/sheet/sheet.d.ts +22 -0
  150. package/dist/kit/components/feedback/sheet/sheet.js +128 -0
  151. package/dist/kit/components/feedback/sonner/sonner.d.ts +5 -0
  152. package/dist/kit/components/feedback/sonner/sonner.js +21 -0
  153. package/dist/kit/components/feedback/title-help/title-help.d.ts +10 -0
  154. package/dist/kit/components/feedback/title-help/title-help.js +44 -0
  155. package/dist/kit/components/feedback/tooltip/tooltip.d.ts +11 -0
  156. package/dist/kit/components/feedback/tooltip/tooltip.js +49 -0
  157. package/dist/kit/components/form/button/button.d.ts +23 -0
  158. package/dist/kit/components/form/button/button.js +380 -0
  159. package/dist/kit/components/form/calendar/calendar.d.ts +4 -0
  160. package/dist/kit/components/form/calendar/calendar.js +47 -0
  161. package/dist/kit/components/form/checkbox/checkbox.d.ts +8 -0
  162. package/dist/kit/components/form/checkbox/checkbox.js +39 -0
  163. package/dist/kit/components/form/command/command.d.ts +21 -0
  164. package/dist/kit/components/form/command/command.js +116 -0
  165. package/dist/kit/components/form/datefield/datefield.d.ts +14 -0
  166. package/dist/kit/components/form/datefield/datefield.js +74 -0
  167. package/dist/kit/components/form/file-upload/file-upload.d.ts +56 -0
  168. package/dist/kit/components/form/file-upload/file-upload.js +338 -0
  169. package/dist/kit/components/form/form/form.d.ts +24 -0
  170. package/dist/kit/components/form/form/form.js +86 -0
  171. package/dist/kit/components/form/input/input.d.ts +22 -0
  172. package/dist/kit/components/form/input/input.js +182 -0
  173. package/dist/kit/components/form/label/label.d.ts +8 -0
  174. package/dist/kit/components/form/label/label.js +28 -0
  175. package/dist/kit/components/form/radio-group/radio-group.d.ts +13 -0
  176. package/dist/kit/components/form/radio-group/radio-group.js +79 -0
  177. package/dist/kit/components/form/select/select.d.ts +25 -0
  178. package/dist/kit/components/form/select/select.js +194 -0
  179. package/dist/kit/components/form/slider/slider.d.ts +5 -0
  180. package/dist/kit/components/form/slider/slider.js +34 -0
  181. package/dist/kit/components/form/switch/switch.d.ts +20 -0
  182. package/dist/kit/components/form/switch/switch.js +158 -0
  183. package/dist/kit/components/form/textarea/textarea.d.ts +7 -0
  184. package/dist/kit/components/form/textarea/textarea.js +34 -0
  185. package/dist/kit/components/form/toggle/toggle.d.ts +9 -0
  186. package/dist/kit/components/form/toggle/toggle.js +36 -0
  187. package/dist/kit/components/form/toggle-group/toggle-group.d.ts +7 -0
  188. package/dist/kit/components/form/toggle-group/toggle-group.js +62 -0
  189. package/dist/kit/components/index.d.ts +108 -0
  190. package/dist/kit/components/layout/accordion/accordion.d.ts +13 -0
  191. package/dist/kit/components/layout/accordion/accordion.js +124 -0
  192. package/dist/kit/components/layout/aspect-ratio/aspect-ratio.d.ts +4 -0
  193. package/dist/kit/components/layout/aspect-ratio/aspect-ratio.js +8 -0
  194. package/dist/kit/components/layout/collapsible/collapsible.d.ts +6 -0
  195. package/dist/kit/components/layout/collapsible/collapsible.js +32 -0
  196. package/dist/kit/components/layout/resizable/resizable.d.ts +24 -0
  197. package/dist/kit/components/layout/resizable/resizable.js +32 -0
  198. package/dist/kit/components/layout/scroll-area/scroll-area.d.ts +8 -0
  199. package/dist/kit/components/layout/scroll-area/scroll-area.js +48 -0
  200. package/dist/kit/components/layout/separator/separator.d.ts +4 -0
  201. package/dist/kit/components/layout/separator/separator.js +23 -0
  202. package/dist/kit/components/navigation/accordion-menu/accordion-menu.d.ts +51 -0
  203. package/dist/kit/components/navigation/accordion-menu/accordion-menu.js +290 -0
  204. package/dist/kit/components/navigation/breadcrumb/breadcrumb.d.ts +13 -0
  205. package/dist/kit/components/navigation/breadcrumb/breadcrumb.js +76 -0
  206. package/dist/kit/components/navigation/menubar/menubar.d.ts +25 -0
  207. package/dist/kit/components/navigation/menubar/menubar.js +218 -0
  208. package/dist/kit/components/navigation/navigation-menu/navigation-menu.d.ts +14 -0
  209. package/dist/kit/components/navigation/navigation-menu/navigation-menu.js +137 -0
  210. package/dist/kit/components/navigation/pagination/pagination.d.ts +6 -0
  211. package/dist/kit/components/navigation/pagination/pagination.js +38 -0
  212. package/dist/kit/components/navigation/scrollspy/scrollspy.d.ts +14 -0
  213. package/dist/kit/components/navigation/scrollspy/scrollspy.js +84 -0
  214. package/dist/kit/components/navigation/tabs/tabs.d.ts +16 -0
  215. package/dist/kit/components/navigation/tabs/tabs.js +172 -0
  216. package/dist/kit/themes/theme-toggle.d.ts +1 -0
  217. package/dist/kit/themes/theme-toggle.js +56 -0
  218. package/dist/kit/tokens/chart-palette.d.ts +1 -0
  219. package/dist/kit/tokens/chart-palette.js +12 -0
  220. package/dist/lib/utils.d.ts +8 -0
  221. package/dist/lib/utils.js +8 -0
  222. package/dist/providers/demokit-provider.d.ts +4 -0
  223. package/dist/providers/demokit-provider.js +9 -0
  224. package/dist/providers/settings-provider.d.ts +15 -0
  225. package/dist/providers/settings-provider.js +78 -0
  226. package/dist/providers/theme-provider.d.ts +4 -0
  227. package/dist/providers/theme-provider.js +9 -0
  228. package/dist/providers/tooltips-provider.d.ts +4 -0
  229. package/dist/providers/tooltips-provider.js +8 -0
  230. package/dist/styles.css +237 -0
  231. package/package.json +72 -0
@@ -0,0 +1,16 @@
1
+ import { buttonVariants } from '../../form/button/button';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
4
+ import * as React from 'react';
5
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
6
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
9
+ declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
10
+ declare const AlertDialogHeader: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
11
+ declare const AlertDialogFooter: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
12
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
13
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
14
+ declare function AlertDialogAction({ className, variant, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
15
+ declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
16
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
@@ -0,0 +1,117 @@
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { cn as l } from "../../../../lib/utils.js";
3
+ import { buttonVariants as r } from "../../form/button/button.js";
4
+ import { AlertDialog as o } from "radix-ui";
5
+ function f({ ...t }) {
6
+ return /* @__PURE__ */ e(o.Root, { "data-slot": "alert-dialog", ...t });
7
+ }
8
+ function p({ ...t }) {
9
+ return /* @__PURE__ */ e(o.Trigger, { "data-slot": "alert-dialog-trigger", ...t });
10
+ }
11
+ function s({ ...t }) {
12
+ return /* @__PURE__ */ e(o.Portal, { "data-slot": "alert-dialog-portal", ...t });
13
+ }
14
+ function d({ className: t, ...a }) {
15
+ return /* @__PURE__ */ e(
16
+ o.Overlay,
17
+ {
18
+ "data-slot": "alert-dialog-overlay",
19
+ className: l(
20
+ "fixed inset-0 z-50 bg-black/30 [backdrop-filter:blur(4px)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
21
+ t
22
+ ),
23
+ ...a
24
+ }
25
+ );
26
+ }
27
+ function x({ className: t, ...a }) {
28
+ return /* @__PURE__ */ n(s, { children: [
29
+ /* @__PURE__ */ e(d, {}),
30
+ /* @__PURE__ */ e(
31
+ o.Content,
32
+ {
33
+ "data-slot": "alert-dialog-content",
34
+ className: l(
35
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg shadow-black/5 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",
36
+ t
37
+ ),
38
+ ...a
39
+ }
40
+ )
41
+ ] });
42
+ }
43
+ const A = ({ className: t, ...a }) => /* @__PURE__ */ e(
44
+ "div",
45
+ {
46
+ "data-slot": "alert-dialog-header",
47
+ className: l("flex flex-col space-y-2 text-center sm:text-left", t),
48
+ ...a
49
+ }
50
+ ), D = ({ className: t, ...a }) => /* @__PURE__ */ e(
51
+ "div",
52
+ {
53
+ "data-slot": "alert-dialog-footer",
54
+ className: l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2.5", t),
55
+ ...a
56
+ }
57
+ );
58
+ function b({ className: t, ...a }) {
59
+ return /* @__PURE__ */ e(
60
+ o.Title,
61
+ {
62
+ "data-slot": "alert-dialog-title",
63
+ className: l("text-lg font-semibold", t),
64
+ ...a
65
+ }
66
+ );
67
+ }
68
+ function N({
69
+ className: t,
70
+ ...a
71
+ }) {
72
+ return /* @__PURE__ */ e(
73
+ o.Description,
74
+ {
75
+ "data-slot": "alert-dialog-description",
76
+ className: l("text-sm text-muted-foreground", t),
77
+ ...a
78
+ }
79
+ );
80
+ }
81
+ function v({
82
+ className: t,
83
+ variant: a,
84
+ ...i
85
+ }) {
86
+ return /* @__PURE__ */ e(
87
+ o.Action,
88
+ {
89
+ "data-slot": "alert-dialog-action",
90
+ className: l(r({ variant: a }), t),
91
+ ...i
92
+ }
93
+ );
94
+ }
95
+ function y({ className: t, ...a }) {
96
+ return /* @__PURE__ */ e(
97
+ o.Cancel,
98
+ {
99
+ "data-slot": "alert-dialog-cancel",
100
+ className: l(r({ variant: "outline" }), "mt-2 sm:mt-0", t),
101
+ ...a
102
+ }
103
+ );
104
+ }
105
+ export {
106
+ f as AlertDialog,
107
+ v as AlertDialogAction,
108
+ y as AlertDialogCancel,
109
+ x as AlertDialogContent,
110
+ N as AlertDialogDescription,
111
+ D as AlertDialogFooter,
112
+ A as AlertDialogHeader,
113
+ d as AlertDialogOverlay,
114
+ s as AlertDialogPortal,
115
+ b as AlertDialogTitle,
116
+ p as AlertDialogTrigger
117
+ };
@@ -0,0 +1,24 @@
1
+ import { ContextMenu as ContextMenuPrimitive } from 'radix-ui';
2
+ import * as React from 'react';
3
+ declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
6
+ declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
8
+ declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
9
+ declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
10
+ inset?: boolean;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
13
+ declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
14
+ declare function ContextMenuItem({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
15
+ inset?: boolean;
16
+ }): import("react/jsx-runtime").JSX.Element;
17
+ declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
18
+ declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
19
+ declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
20
+ inset?: boolean;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
23
+ declare const ContextMenuShortcut: ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
24
+ export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, };
@@ -0,0 +1,183 @@
1
+ import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
+ import { cn as r } from "../../../../lib/utils.js";
3
+ import { Check as i, Circle as u, ChevronRight as c } from "lucide-react";
4
+ import { ContextMenu as o } from "radix-ui";
5
+ function x({ ...t }) {
6
+ return /* @__PURE__ */ e(o.Root, { "data-slot": "context-menu", ...t });
7
+ }
8
+ function b({ ...t }) {
9
+ return /* @__PURE__ */ e(o.Trigger, { "data-slot": "context-menu-trigger", ...t });
10
+ }
11
+ function g({ ...t }) {
12
+ return /* @__PURE__ */ e(o.Group, { "data-slot": "context-menu-group", ...t });
13
+ }
14
+ function h({ ...t }) {
15
+ return /* @__PURE__ */ e(o.Portal, { "data-slot": "context-menu-portal", ...t });
16
+ }
17
+ function C({ ...t }) {
18
+ return /* @__PURE__ */ e(o.Sub, { "data-slot": "context-menu-sub", ...t });
19
+ }
20
+ function v({ ...t }) {
21
+ return /* @__PURE__ */ e(o.RadioGroup, { "data-slot": "context-menu-radio-group", ...t });
22
+ }
23
+ function M({
24
+ className: t,
25
+ inset: n,
26
+ children: a,
27
+ ...s
28
+ }) {
29
+ return /* @__PURE__ */ d(
30
+ o.SubTrigger,
31
+ {
32
+ "data-slot": "context-menu-sub-trigger",
33
+ className: r(
34
+ "flex cursor-default select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
35
+ "[&>svg]:pointer-events-none [&>svg]:opacity-60 [&>svg]:size-4 [&>svg]:shrink-0",
36
+ n && "ps-8",
37
+ t
38
+ ),
39
+ ...s,
40
+ children: [
41
+ a,
42
+ /* @__PURE__ */ e(c, { className: "ms-auto size-3.5!" })
43
+ ]
44
+ }
45
+ );
46
+ }
47
+ function N({ className: t, ...n }) {
48
+ return /* @__PURE__ */ e(
49
+ o.SubContent,
50
+ {
51
+ "data-slot": "context-menu-sub-content",
52
+ className: r(
53
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-2 text-popover-foreground shadow-md shadow-black/5 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
54
+ t
55
+ ),
56
+ ...n
57
+ }
58
+ );
59
+ }
60
+ function w({ className: t, ...n }) {
61
+ return /* @__PURE__ */ e(o.Portal, { children: /* @__PURE__ */ e(
62
+ o.Content,
63
+ {
64
+ "data-slot": "context-menu-content",
65
+ className: r(
66
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
67
+ t
68
+ ),
69
+ ...n
70
+ }
71
+ ) });
72
+ }
73
+ function y({
74
+ className: t,
75
+ inset: n,
76
+ ...a
77
+ }) {
78
+ return /* @__PURE__ */ e(
79
+ o.Item,
80
+ {
81
+ "data-slot": "context-menu-item",
82
+ className: r(
83
+ "relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
84
+ n && "ps-8",
85
+ t
86
+ ),
87
+ ...a
88
+ }
89
+ );
90
+ }
91
+ function I({
92
+ className: t,
93
+ children: n,
94
+ checked: a,
95
+ ...s
96
+ }) {
97
+ return /* @__PURE__ */ d(
98
+ o.CheckboxItem,
99
+ {
100
+ "data-slot": "context-menu-checkbox-item",
101
+ className: r(
102
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
103
+ t
104
+ ),
105
+ checked: a,
106
+ ...s,
107
+ children: [
108
+ /* @__PURE__ */ e("span", { className: "absolute start-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(i, { className: "h-4 w-4" }) }) }),
109
+ n
110
+ ]
111
+ }
112
+ );
113
+ }
114
+ function S({
115
+ className: t,
116
+ children: n,
117
+ ...a
118
+ }) {
119
+ return /* @__PURE__ */ d(
120
+ o.RadioItem,
121
+ {
122
+ "data-slot": "context-menu-radio-item",
123
+ className: r(
124
+ "relative flex cursor-default select-none items-center rounded-md py-1.5 ps-8 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
125
+ t
126
+ ),
127
+ ...a,
128
+ children: [
129
+ /* @__PURE__ */ e("span", { className: "absolute start-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(u, { className: "h-2 w-2 fill-current" }) }) }),
130
+ n
131
+ ]
132
+ }
133
+ );
134
+ }
135
+ function z({
136
+ className: t,
137
+ inset: n,
138
+ ...a
139
+ }) {
140
+ return /* @__PURE__ */ e(
141
+ o.Label,
142
+ {
143
+ "data-slot": "context-menu-label",
144
+ className: r("px-2 py-1.5 text-sm font-semibold text-foreground", n && "ps-8", t),
145
+ ...a
146
+ }
147
+ );
148
+ }
149
+ function k({ className: t, ...n }) {
150
+ return /* @__PURE__ */ e(
151
+ o.Separator,
152
+ {
153
+ "data-slot": "context-menu-separator",
154
+ className: r("-mx-2 my-1.5 h-px bg-border", t),
155
+ ...n
156
+ }
157
+ );
158
+ }
159
+ const R = ({ className: t, ...n }) => /* @__PURE__ */ e(
160
+ "span",
161
+ {
162
+ "data-slot": "context-menu-shortcut",
163
+ className: r("ms-auto text-xs tracking-widest text-muted-foreground", t),
164
+ ...n
165
+ }
166
+ );
167
+ export {
168
+ x as ContextMenu,
169
+ I as ContextMenuCheckboxItem,
170
+ w as ContextMenuContent,
171
+ g as ContextMenuGroup,
172
+ y as ContextMenuItem,
173
+ z as ContextMenuLabel,
174
+ h as ContextMenuPortal,
175
+ v as ContextMenuRadioGroup,
176
+ S as ContextMenuRadioItem,
177
+ k as ContextMenuSeparator,
178
+ R as ContextMenuShortcut,
179
+ C as ContextMenuSub,
180
+ N as ContextMenuSubContent,
181
+ M as ContextMenuSubTrigger,
182
+ b as ContextMenuTrigger
183
+ };
@@ -0,0 +1,22 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Dialog as DialogPrimitive } from 'radix-ui';
3
+ import * as React from 'react';
4
+ declare const dialogContentVariants: (props?: ({
5
+ variant?: "default" | "fullscreen" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
9
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
10
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogContent({ className, children, close, overlay, variant, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & VariantProps<typeof dialogContentVariants> & {
13
+ close?: boolean;
14
+ overlay?: boolean;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ export default DialogContent;
17
+ declare const DialogHeader: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
18
+ declare const DialogFooter: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
19
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
20
+ declare const DialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
21
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
22
+ export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -0,0 +1,120 @@
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { cn as l } from "../../../../lib/utils.js";
3
+ import { cva as c } from "class-variance-authority";
4
+ import { X as g } from "lucide-react";
5
+ import { Dialog as o } from "radix-ui";
6
+ const u = c(
7
+ "flex flex-col fixed outline-0 z-50 border border-border bg-background p-6 shadow-lg shadow-black/5 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ default: "left-[50%] top-[50%] max-w-lg translate-x-[-50%] translate-y-[-50%] w-full",
12
+ fullscreen: "inset-5"
13
+ }
14
+ },
15
+ defaultVariants: {
16
+ variant: "default"
17
+ }
18
+ }
19
+ );
20
+ function h({ ...t }) {
21
+ return /* @__PURE__ */ e(o.Root, { "data-slot": "dialog", ...t });
22
+ }
23
+ function N({ ...t }) {
24
+ return /* @__PURE__ */ e(o.Trigger, { "data-slot": "dialog-trigger", ...t });
25
+ }
26
+ function f({ ...t }) {
27
+ return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
28
+ }
29
+ function m({ ...t }) {
30
+ return /* @__PURE__ */ e(o.Close, { "data-slot": "dialog-close", ...t });
31
+ }
32
+ function p({ className: t, ...a }) {
33
+ return /* @__PURE__ */ e(
34
+ o.Overlay,
35
+ {
36
+ "data-slot": "dialog-overlay",
37
+ className: l(
38
+ "fixed inset-0 z-50 bg-black/30 [backdrop-filter:blur(4px)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
39
+ t
40
+ ),
41
+ ...a
42
+ }
43
+ );
44
+ }
45
+ function k({
46
+ className: t,
47
+ children: a,
48
+ close: i = !0,
49
+ overlay: s = !0,
50
+ variant: r,
51
+ ...d
52
+ }) {
53
+ return /* @__PURE__ */ n(f, { children: [
54
+ s && /* @__PURE__ */ e(p, {}),
55
+ /* @__PURE__ */ n(
56
+ o.Content,
57
+ {
58
+ "data-slot": "dialog-content",
59
+ className: l(u({ variant: r }), t),
60
+ ...d,
61
+ children: [
62
+ a,
63
+ i && /* @__PURE__ */ n(m, { className: "cursor-pointer outline-0 absolute end-5 top-5 rounded-sm opacity-60 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
64
+ /* @__PURE__ */ e(g, { className: "size-4" }),
65
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
66
+ ] })
67
+ ]
68
+ }
69
+ )
70
+ ] });
71
+ }
72
+ const w = ({ className: t, ...a }) => /* @__PURE__ */ e(
73
+ "div",
74
+ {
75
+ "data-slot": "dialog-header",
76
+ className: l("flex flex-col space-y-1 text-center sm:text-start mb-5", t),
77
+ ...a
78
+ }
79
+ ), C = ({ className: t, ...a }) => /* @__PURE__ */ e(
80
+ "div",
81
+ {
82
+ "data-slot": "dialog-footer",
83
+ className: l("flex flex-col-reverse sm:flex-row sm:justify-end pt-5 sm:space-x-2.5", t),
84
+ ...a
85
+ }
86
+ );
87
+ function z({ className: t, ...a }) {
88
+ return /* @__PURE__ */ e(
89
+ o.Title,
90
+ {
91
+ "data-slot": "dialog-title",
92
+ className: l("text-lg font-semibold leading-none tracking-tight", t),
93
+ ...a
94
+ }
95
+ );
96
+ }
97
+ const T = ({ className: t, ...a }) => /* @__PURE__ */ e("div", { "data-slot": "dialog-body", className: l("grow", t), ...a });
98
+ function j({ className: t, ...a }) {
99
+ return /* @__PURE__ */ e(
100
+ o.Description,
101
+ {
102
+ "data-slot": "dialog-description",
103
+ className: l("text-sm text-muted-foreground", t),
104
+ ...a
105
+ }
106
+ );
107
+ }
108
+ export {
109
+ h as Dialog,
110
+ T as DialogBody,
111
+ m as DialogClose,
112
+ k as DialogContent,
113
+ j as DialogDescription,
114
+ C as DialogFooter,
115
+ w as DialogHeader,
116
+ p as DialogOverlay,
117
+ f as DialogPortal,
118
+ z as DialogTitle,
119
+ N as DialogTrigger
120
+ };
@@ -0,0 +1,13 @@
1
+ import { Drawer as DrawerPrimitive } from 'vaul';
2
+ import * as React from 'react';
3
+ declare const Drawer: ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
4
+ declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
9
+ declare const DrawerHeader: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
10
+ declare const DrawerFooter: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
11
+ declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
+ declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
+ export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, };
@@ -0,0 +1,76 @@
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { cn as o } from "../../../../lib/utils.js";
3
+ import { Drawer as a } from "vaul";
4
+ const m = ({ shouldScaleBackground: r = !0, ...t }) => /* @__PURE__ */ e(a.Root, { shouldScaleBackground: r, ...t });
5
+ function w({ ...r }) {
6
+ return /* @__PURE__ */ e(a.Trigger, { "data-slot": "drawer-trigger", ...r });
7
+ }
8
+ function s({ ...r }) {
9
+ return /* @__PURE__ */ e(a.Portal, { "data-slot": "drawer-portal", ...r });
10
+ }
11
+ function f({ ...r }) {
12
+ return /* @__PURE__ */ e(a.Close, { "data-slot": "drawer-close", ...r });
13
+ }
14
+ function d({ className: r, ...t }) {
15
+ return /* @__PURE__ */ e(
16
+ a.Overlay,
17
+ {
18
+ "data-slot": "drawer-overlay",
19
+ className: o("fixed inset-0 z-50 bg-black/80", r),
20
+ ...t
21
+ }
22
+ );
23
+ }
24
+ function g({ className: r, children: t, ...l }) {
25
+ return /* @__PURE__ */ n(s, { children: [
26
+ /* @__PURE__ */ e(d, {}),
27
+ /* @__PURE__ */ n(
28
+ a.Content,
29
+ {
30
+ "data-slot": "drawer-content",
31
+ className: o(
32
+ "bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border",
33
+ r
34
+ ),
35
+ ...l,
36
+ children: [
37
+ /* @__PURE__ */ e("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
38
+ t
39
+ ]
40
+ }
41
+ )
42
+ ] });
43
+ }
44
+ const x = ({ className: r, ...t }) => /* @__PURE__ */ e("div", { "data-slot": "drawer-header", className: o("grid gap-1.5 p-4 text-center sm:text-left", r), ...t }), p = ({ className: r, ...t }) => /* @__PURE__ */ e("div", { "data-slot": "drawer-footer", className: o("mt-auto flex flex-col gap-2 p-4", r), ...t });
45
+ function D({ className: r, ...t }) {
46
+ return /* @__PURE__ */ e(
47
+ a.Title,
48
+ {
49
+ "data-slot": "drawer-title",
50
+ className: o("text-lg font-semibold leading-none tracking-tight", r),
51
+ ...t
52
+ }
53
+ );
54
+ }
55
+ function b({ className: r, ...t }) {
56
+ return /* @__PURE__ */ e(
57
+ a.Description,
58
+ {
59
+ "data-slot": "drawer-description",
60
+ className: o("text-sm text-muted-foreground", r),
61
+ ...t
62
+ }
63
+ );
64
+ }
65
+ export {
66
+ m as Drawer,
67
+ f as DrawerClose,
68
+ g as DrawerContent,
69
+ b as DrawerDescription,
70
+ p as DrawerFooter,
71
+ x as DrawerHeader,
72
+ d as DrawerOverlay,
73
+ s as DrawerPortal,
74
+ D as DrawerTitle,
75
+ w as DrawerTrigger
76
+ };
@@ -0,0 +1,25 @@
1
+ import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
2
+ import * as React from 'react';
3
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
7
+ inset?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
10
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
11
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
12
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
13
+ inset?: boolean;
14
+ variant?: 'destructive';
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
17
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
18
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
19
+ inset?: boolean;
20
+ }): import("react/jsx-runtime").JSX.Element;
21
+ declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
22
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
23
+ declare function DropdownMenuShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
24
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
25
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };