@dailyautomations/ui 1.2.0 → 1.4.1

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 (129) hide show
  1. package/dist/components/common/button.js +6 -6
  2. package/dist/components/common/button.js.map +1 -1
  3. package/dist/components/dev/theme-tester.d.ts +2 -0
  4. package/dist/components/dev/theme-tester.d.ts.map +1 -0
  5. package/dist/components/dev/theme-tester.js +105 -0
  6. package/dist/components/dev/theme-tester.js.map +1 -0
  7. package/dist/components/layout/app-shell.d.ts +14 -0
  8. package/dist/components/layout/app-shell.d.ts.map +1 -0
  9. package/dist/components/layout/app-shell.js +25 -0
  10. package/dist/components/layout/app-shell.js.map +1 -0
  11. package/dist/components/ui/alert-dialog.d.ts +15 -0
  12. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  13. package/dist/components/ui/alert-dialog.js +40 -0
  14. package/dist/components/ui/alert-dialog.js.map +1 -0
  15. package/dist/components/ui/avatar.d.ts +7 -0
  16. package/dist/components/ui/avatar.d.ts.map +1 -0
  17. package/dist/components/ui/avatar.js +15 -0
  18. package/dist/components/ui/avatar.js.map +1 -0
  19. package/dist/components/ui/calendar.d.ts +9 -0
  20. package/dist/components/ui/calendar.d.ts.map +1 -0
  21. package/dist/components/ui/calendar.js +37 -0
  22. package/dist/components/ui/calendar.js.map +1 -0
  23. package/dist/components/ui/collapsible.d.ts +7 -0
  24. package/dist/components/ui/collapsible.d.ts.map +1 -0
  25. package/dist/components/ui/collapsible.js +15 -0
  26. package/dist/components/ui/collapsible.js.map +1 -0
  27. package/dist/components/ui/combobox.d.ts +20 -0
  28. package/dist/components/ui/combobox.d.ts.map +1 -0
  29. package/dist/components/ui/combobox.js +21 -0
  30. package/dist/components/ui/combobox.js.map +1 -0
  31. package/dist/components/ui/command.d.ts +81 -0
  32. package/dist/components/ui/command.d.ts.map +1 -0
  33. package/dist/components/ui/command.js +30 -0
  34. package/dist/components/ui/command.js.map +1 -0
  35. package/dist/components/ui/confirm-dialog.d.ts +16 -0
  36. package/dist/components/ui/confirm-dialog.d.ts.map +1 -0
  37. package/dist/components/ui/confirm-dialog.js +31 -0
  38. package/dist/components/ui/confirm-dialog.js.map +1 -0
  39. package/dist/components/ui/date-picker.d.ts +13 -0
  40. package/dist/components/ui/date-picker.d.ts.map +1 -0
  41. package/dist/components/ui/date-picker.js +19 -0
  42. package/dist/components/ui/date-picker.js.map +1 -0
  43. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  44. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  45. package/dist/components/ui/dropdown-menu.js +51 -0
  46. package/dist/components/ui/dropdown-menu.js.map +1 -0
  47. package/dist/components/ui/empty-state.d.ts +14 -0
  48. package/dist/components/ui/empty-state.d.ts.map +1 -0
  49. package/dist/components/ui/empty-state.js +20 -0
  50. package/dist/components/ui/empty-state.js.map +1 -0
  51. package/dist/components/ui/filter-bar.d.ts +29 -0
  52. package/dist/components/ui/filter-bar.d.ts.map +1 -0
  53. package/dist/components/ui/filter-bar.js +19 -0
  54. package/dist/components/ui/filter-bar.js.map +1 -0
  55. package/dist/components/ui/form.d.ts +25 -0
  56. package/dist/components/ui/form.d.ts.map +1 -0
  57. package/dist/components/ui/form.js +62 -0
  58. package/dist/components/ui/form.js.map +1 -0
  59. package/dist/components/ui/input-otp.d.ts +15 -0
  60. package/dist/components/ui/input-otp.d.ts.map +1 -0
  61. package/dist/components/ui/input-otp.js +50 -0
  62. package/dist/components/ui/input-otp.js.map +1 -0
  63. package/dist/components/ui/loading-spinner.d.ts +19 -0
  64. package/dist/components/ui/loading-spinner.d.ts.map +1 -0
  65. package/dist/components/ui/loading-spinner.js +28 -0
  66. package/dist/components/ui/loading-spinner.js.map +1 -0
  67. package/dist/components/ui/popover.d.ts +8 -0
  68. package/dist/components/ui/popover.d.ts.map +1 -0
  69. package/dist/components/ui/popover.js +18 -0
  70. package/dist/components/ui/popover.js.map +1 -0
  71. package/dist/components/ui/progress.d.ts +8 -0
  72. package/dist/components/ui/progress.d.ts.map +1 -0
  73. package/dist/components/ui/progress.js +9 -0
  74. package/dist/components/ui/progress.js.map +1 -0
  75. package/dist/components/ui/radio-group.d.ts +6 -0
  76. package/dist/components/ui/radio-group.d.ts.map +1 -0
  77. package/dist/components/ui/radio-group.js +12 -0
  78. package/dist/components/ui/radio-group.js.map +1 -0
  79. package/dist/components/ui/scroll-area.d.ts +6 -0
  80. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  81. package/dist/components/ui/scroll-area.js +14 -0
  82. package/dist/components/ui/scroll-area.js.map +1 -0
  83. package/dist/components/ui/separator.d.ts +7 -0
  84. package/dist/components/ui/separator.d.ts.map +1 -0
  85. package/dist/components/ui/separator.js +9 -0
  86. package/dist/components/ui/separator.js.map +1 -0
  87. package/dist/components/ui/sheet.d.ts +21 -0
  88. package/dist/components/ui/sheet.d.ts.map +1 -0
  89. package/dist/components/ui/sheet.js +50 -0
  90. package/dist/components/ui/sheet.js.map +1 -0
  91. package/dist/components/ui/slider.d.ts +7 -0
  92. package/dist/components/ui/slider.d.ts.map +1 -0
  93. package/dist/components/ui/slider.js +9 -0
  94. package/dist/components/ui/slider.js.map +1 -0
  95. package/dist/components/ui/stat-card.d.ts +23 -0
  96. package/dist/components/ui/stat-card.d.ts.map +1 -0
  97. package/dist/components/ui/stat-card.js +46 -0
  98. package/dist/components/ui/stat-card.js.map +1 -0
  99. package/dist/components/ui/switch.d.ts +7 -0
  100. package/dist/components/ui/switch.d.ts.map +1 -0
  101. package/dist/components/ui/switch.js +9 -0
  102. package/dist/components/ui/switch.js.map +1 -0
  103. package/dist/components/ui/table.d.ts +11 -0
  104. package/dist/components/ui/table.d.ts.map +1 -0
  105. package/dist/components/ui/table.js +28 -0
  106. package/dist/components/ui/table.js.map +1 -0
  107. package/dist/components/ui/textarea-autosize.d.ts +12 -0
  108. package/dist/components/ui/textarea-autosize.d.ts.map +1 -0
  109. package/dist/components/ui/textarea-autosize.js +44 -0
  110. package/dist/components/ui/textarea-autosize.js.map +1 -0
  111. package/dist/components/ui/tooltip.d.ts +8 -0
  112. package/dist/components/ui/tooltip.d.ts.map +1 -0
  113. package/dist/components/ui/tooltip.js +18 -0
  114. package/dist/components/ui/tooltip.js.map +1 -0
  115. package/dist/config/themes.d.ts +18 -0
  116. package/dist/config/themes.d.ts.map +1 -0
  117. package/dist/config/themes.js +267 -0
  118. package/dist/config/themes.js.map +1 -0
  119. package/dist/index.d.ts +45 -0
  120. package/dist/index.d.ts.map +1 -1
  121. package/dist/index.js +29 -0
  122. package/dist/index.js.map +1 -1
  123. package/examples/home-page.tsx +81 -81
  124. package/examples/main.tsx +24 -9
  125. package/examples/pages/ComponentsPage.tsx +726 -0
  126. package/examples/pages/LandingPage.tsx +860 -0
  127. package/examples/pages/index.ts +2 -0
  128. package/examples/styles.css +61 -0
  129. package/package.json +34 -1
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { cn } from "../../utils/cn";
4
+ const spinnerVariants = cva("inline-block animate-spin rounded-full border-2 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]", {
5
+ variants: {
6
+ variant: {
7
+ default: "text-purple-500",
8
+ muted: "text-zinc-500",
9
+ },
10
+ size: {
11
+ sm: "size-4 border-2",
12
+ md: "size-8 border-2",
13
+ lg: "size-12 border-[3px]",
14
+ },
15
+ },
16
+ defaultVariants: {
17
+ variant: "default",
18
+ size: "md",
19
+ },
20
+ });
21
+ function LoadingSpinner({ className, variant = "default", size = "md", ...props }) {
22
+ return (_jsx("div", { role: "status", "aria-live": "polite", "aria-label": "Loading", "data-slot": "loading-spinner", "data-variant": variant, "data-size": size, className: cn(spinnerVariants({ variant, size }), className), ...props, children: _jsx("span", { className: "sr-only", children: "Loading..." }) }));
23
+ }
24
+ function LoadingOverlay({ message = "Loading...", className, spinnerClassName, variant = "default", size = "md", }) {
25
+ return (_jsxs("div", { "data-slot": "loading-overlay", className: cn("fixed inset-0 z-50 flex flex-col items-center justify-center gap-4 bg-[#0F0F14]/80 backdrop-blur-sm", className), children: [_jsx(LoadingSpinner, { variant: variant, size: size, className: spinnerClassName }), message && (_jsx("p", { className: "text-sm font-medium text-zinc-300", children: message }))] }));
26
+ }
27
+ export { LoadingSpinner, LoadingOverlay, spinnerVariants };
28
+ //# sourceMappingURL=loading-spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading-spinner.js","sourceRoot":"","sources":["../../../src/components/ui/loading-spinner.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,MAAM,eAAe,GAAG,GAAG,CACzB,qKAAqK,EACrK;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,iBAAiB;YAC1B,KAAK,EAAE,eAAe;SACvB;QACD,IAAI,EAAE;YACJ,EAAE,EAAE,iBAAiB;YACrB,EAAE,EAAE,iBAAiB;YACrB,EAAE,EAAE,sBAAsB;SAC3B;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAA;AAMD,SAAS,cAAc,CAAC,EACtB,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,IAAI,GAAG,IAAI,EACX,GAAG,KAAK,EACY;IACpB,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,eACH,QAAQ,gBACP,SAAS,eACV,iBAAiB,kBACb,OAAO,eACV,IAAI,EACf,SAAS,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,KACxD,KAAK,YAET,eAAM,SAAS,EAAC,SAAS,2BAAkB,GACvC,CACP,CAAA;AACH,CAAC;AAUD,SAAS,cAAc,CAAC,EACtB,OAAO,GAAG,YAAY,EACtB,SAAS,EACT,gBAAgB,EAChB,OAAO,GAAG,SAAS,EACnB,IAAI,GAAG,IAAI,GACS;IACpB,OAAO,CACL,4BACY,iBAAiB,EAC3B,SAAS,EAAE,EAAE,CACX,qGAAqG,EACrG,SAAS,CACV,aAED,KAAC,cAAc,IACb,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,gBAAgB,GAC3B,EACD,OAAO,IAAI,CACV,YAAG,SAAS,EAAC,mCAAmC,YAAE,OAAO,GAAK,CAC/D,IACG,CACP,CAAA;AACH,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
6
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
8
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAEpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEvD;AAED,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,2CAEtD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAevD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
4
+ import { cn } from "../../utils/cn";
5
+ function Popover({ ...props }) {
6
+ return _jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
7
+ }
8
+ function PopoverTrigger({ ...props }) {
9
+ return _jsx(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
10
+ }
11
+ function PopoverAnchor({ ...props }) {
12
+ return _jsx(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
13
+ }
14
+ function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
15
+ return (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Content, { "data-slot": "popover-content", align: align, sideOffset: sideOffset, className: cn("z-[100] w-72 rounded-md border border-border bg-card p-4 text-foreground shadow-lg outline-none", className), ...props }) }));
16
+ }
17
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
18
+ //# sourceMappingURL=popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.js","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAE3D,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,SAAS,OAAO,CAAC,EACf,GAAG,KAAK,EAC2C;IACnD,OAAO,KAAC,gBAAgB,CAAC,IAAI,iBAAW,SAAS,KAAK,KAAK,GAAI,CAAA;AACjE,CAAC;AAED,SAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EAC8C;IACtD,OAAO,KAAC,gBAAgB,CAAC,OAAO,iBAAW,iBAAiB,KAAK,KAAK,GAAI,CAAA;AAC5E,CAAC;AAED,SAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EAC6C;IACrD,OAAO,KAAC,gBAAgB,CAAC,MAAM,iBAAW,gBAAgB,KAAK,KAAK,GAAI,CAAA;AAC1E,CAAC;AAED,SAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAK,GAAG,QAAQ,EAChB,UAAU,GAAG,CAAC,EACd,GAAG,KAAK,EAC8C;IACtD,OAAO,CACL,KAAC,gBAAgB,CAAC,MAAM,cACtB,KAAC,gBAAgB,CAAC,OAAO,iBACb,iBAAiB,EAC3B,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,EAAE,CACX,iGAAiG,EACjG,SAAS,CACV,KACG,KAAK,GACT,GACsB,CAC3B,CAAA;AACH,CAAC;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
3
+ export interface ProgressProps extends React.ComponentProps<typeof ProgressPrimitive.Root> {
4
+ indicatorClassName?: string;
5
+ }
6
+ declare function Progress({ className, value, indicatorClassName, ...props }: ProgressProps): import("react/jsx-runtime").JSX.Element;
7
+ export { Progress };
8
+ //# sourceMappingURL=progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAI7D,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC;IAC3D,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,aAAa,2CAoBf;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
4
+ import { cn } from "../../utils/cn";
5
+ function Progress({ className, value, indicatorClassName, ...props }) {
6
+ return (_jsx(ProgressPrimitive.Root, { "data-slot": "progress", className: cn("relative h-2 w-full overflow-hidden rounded-full bg-[#1A1A24]", className), ...props, children: _jsx(ProgressPrimitive.Indicator, { "data-slot": "progress-indicator", className: cn("h-full w-full flex-1 bg-purple-500 transition-all", indicatorClassName), style: { transform: `translateX(-${100 - (value || 0)}%)` } }) }));
7
+ }
8
+ export { Progress };
9
+ //# sourceMappingURL=progress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAE7D,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAOnC,SAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,kBAAkB,EAClB,GAAG,KAAK,EACM;IACd,OAAO,CACL,KAAC,iBAAiB,CAAC,IAAI,iBACX,UAAU,EACpB,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,iBAChB,oBAAoB,EAC9B,SAAS,EAAE,EAAE,CACX,mDAAmD,EACnD,kBAAkB,CACnB,EACD,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,EAAE,GAC3D,GACqB,CAC1B,CAAA;AACH,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3
+ declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
5
+ export { RadioGroup, RadioGroupItem };
6
+ //# sourceMappingURL=radio-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/radio-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAIlE,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,2CAQvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,2CA2BvD;AAED,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
4
+ import { cn } from "../../utils/cn";
5
+ function RadioGroup({ className, ...props }) {
6
+ return (_jsx(RadioGroupPrimitive.Root, { "data-slot": "radio-group", className: cn("grid gap-2", className), ...props }));
7
+ }
8
+ function RadioGroupItem({ className, ...props }) {
9
+ return (_jsx(RadioGroupPrimitive.Item, { "data-slot": "radio-group-item", className: cn("aspect-square h-4 w-4 rounded-full border border-purple-500 text-purple-500 shadow focus:outline-none focus-visible:ring-2 focus-visible:ring-purple-500/50 focus-visible:ring-offset-2 focus-visible:ring-offset-[#0F0F14] disabled:cursor-not-allowed disabled:opacity-40", className), ...props, children: _jsx(RadioGroupPrimitive.Indicator, { "data-slot": "radio-group-indicator", className: "flex items-center justify-center", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 24 24", fill: "currentColor", className: "h-2 w-2", children: _jsx("circle", { cx: "12", cy: "12", r: "10" }) }) }) }));
10
+ }
11
+ export { RadioGroup, RadioGroupItem };
12
+ //# sourceMappingURL=radio-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,SAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EAC8C;IACtD,OAAO,CACL,KAAC,mBAAmB,CAAC,IAAI,iBACb,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,KAClC,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EAC8C;IACtD,OAAO,CACL,KAAC,mBAAmB,CAAC,IAAI,iBACb,kBAAkB,EAC5B,SAAS,EAAE,EAAE,CACX,6QAA6Q,EAC7Q,SAAS,CACV,KACG,KAAK,YAET,KAAC,mBAAmB,CAAC,SAAS,iBAClB,uBAAuB,EACjC,SAAS,EAAC,kCAAkC,YAE5C,cACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,SAAS,EAAC,SAAS,YAEnB,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG,GAC7B,GACwB,GACP,CAC5B,CAAA;AACH,CAAC;AAED,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
3
+ declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
5
+ export { ScrollArea, ScrollBar };
6
+ //# sourceMappingURL=scroll-area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAIlE,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,2CAiBvD;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,2CAqBtE;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
4
+ import { cn } from "../../utils/cn";
5
+ function ScrollArea({ className, children, ...props }) {
6
+ return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn("relative overflow-hidden", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { "data-slot": "scroll-area-viewport", className: "h-full w-full rounded-[inherit]", children: children }), _jsx(ScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] }));
7
+ }
8
+ function ScrollBar({ className, orientation = "vertical", ...props }) {
9
+ return (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { "data-slot": "scroll-bar", orientation: orientation, className: cn("flex touch-none select-none transition-colors", orientation === "vertical" &&
10
+ "h-full w-2.5 border-l border-l-transparent p-[1px]", orientation === "horizontal" &&
11
+ "h-2.5 flex-col border-t border-t-transparent p-[1px]", className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { "data-slot": "scroll-thumb", className: "relative flex-1 rounded-full bg-[#2A2A3C] hover:bg-[#3A3A4C]" }) }));
12
+ }
13
+ export { ScrollArea, ScrollBar };
14
+ //# sourceMappingURL=scroll-area.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.js","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,SAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAC8C;IACtD,OAAO,CACL,MAAC,mBAAmB,CAAC,IAAI,iBACb,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,0BAA0B,EAAE,SAAS,CAAC,KAChD,KAAK,aAET,KAAC,mBAAmB,CAAC,QAAQ,iBACjB,sBAAsB,EAChC,SAAS,EAAC,iCAAiC,YAE1C,QAAQ,GACoB,EAC/B,KAAC,SAAS,KAAG,EACb,KAAC,mBAAmB,CAAC,MAAM,KAAG,IACL,CAC5B,CAAA;AACH,CAAC;AAED,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,UAAU,EACxB,GAAG,KAAK,EAC6D;IACrE,OAAO,CACL,KAAC,mBAAmB,CAAC,mBAAmB,iBAC5B,YAAY,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,+CAA+C,EAC/C,WAAW,KAAK,UAAU;YACxB,oDAAoD,EACtD,WAAW,KAAK,YAAY;YAC1B,sDAAsD,EACxD,SAAS,CACV,KACG,KAAK,YAET,KAAC,mBAAmB,CAAC,eAAe,iBACxB,cAAc,EACxB,SAAS,EAAC,8DAA8D,GACxE,GACsC,CAC3C,CAAA;AACH,CAAC;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
+ export interface SeparatorProps extends React.ComponentProps<typeof SeparatorPrimitive.Root> {
4
+ }
5
+ declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
6
+ export { Separator };
7
+ //# sourceMappingURL=separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAI/D,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC;CAAG;AAEjE,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,cAAc,2CAchB;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
4
+ import { cn } from "../../utils/cn";
5
+ function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
6
+ return (_jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn("shrink-0 bg-[#2A2A3C]", orientation === "horizontal" ? "h-px w-full" : "h-full w-px", className), ...props }));
7
+ }
8
+ export { Separator };
9
+ //# sourceMappingURL=separator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.js","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAKnC,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,IAAI,EACjB,GAAG,KAAK,EACO;IACf,OAAO,CACL,KAAC,kBAAkB,CAAC,IAAI,iBACZ,WAAW,EACrB,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,uBAAuB,EACvB,WAAW,KAAK,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,EAC5D,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
8
+ declare function SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
9
+ declare const sheetVariants: (props?: ({
10
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
+ interface SheetContentProps extends React.ComponentProps<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
13
+ showCloseButton?: boolean;
14
+ }
15
+ declare function SheetContent({ side, className, children, showCloseButton, ...props }: SheetContentProps): import("react/jsx-runtime").JSX.Element;
16
+ declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
17
+ declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
18
+ declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
19
+ declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
20
+ export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, sheetVariants, };
21
+ //# sourceMappingURL=sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AACxD,OAAO,E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E,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,2CAQnD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,WAAW,CAAC,2CAQzD;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,aAAa,GACd,CAAA"}
@@ -0,0 +1,50 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
4
+ import { cva } from "class-variance-authority";
5
+ import { cn } from "../../utils/cn";
6
+ function Sheet({ ...props }) {
7
+ return _jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
8
+ }
9
+ function SheetTrigger({ ...props }) {
10
+ return _jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
11
+ }
12
+ function SheetClose({ ...props }) {
13
+ return _jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
14
+ }
15
+ function SheetPortal({ ...props }) {
16
+ return _jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
17
+ }
18
+ function SheetOverlay({ className, ...props }) {
19
+ return (_jsx(SheetPrimitive.Overlay, { "data-slot": "sheet-overlay", className: cn("fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className), ...props }));
20
+ }
21
+ const sheetVariants = cva("fixed z-50 gap-4 bg-[#0F0F14] p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out", {
22
+ variants: {
23
+ side: {
24
+ top: "inset-x-0 top-0 border-b border-[#2A2A3C] data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
25
+ bottom: "inset-x-0 bottom-0 border-t border-[#2A2A3C] data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
26
+ left: "inset-y-0 left-0 h-full w-3/4 border-r border-[#2A2A3C] data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
27
+ right: "inset-y-0 right-0 h-full w-3/4 border-l border-[#2A2A3C] data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
28
+ },
29
+ },
30
+ defaultVariants: {
31
+ side: "right",
32
+ },
33
+ });
34
+ function SheetContent({ side = "right", className, children, showCloseButton = true, ...props }) {
35
+ return (_jsxs(SheetPortal, { children: [_jsx(SheetOverlay, {}), _jsxs(SheetPrimitive.Content, { "data-slot": "sheet-content", className: cn(sheetVariants({ side }), className), ...props, children: [children, showCloseButton && (_jsxs(SheetPrimitive.Close, { "data-slot": "sheet-close", className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-[#0F0F14] transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-purple-500/50 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-[#1A1A24]", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "h-4 w-4", children: [_jsx("path", { d: "M18 6 6 18" }), _jsx("path", { d: "m6 6 12 12" })] }), _jsx("span", { className: "sr-only", children: "Close" })] }))] })] }));
36
+ }
37
+ function SheetHeader({ className, ...props }) {
38
+ return (_jsx("div", { "data-slot": "sheet-header", className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props }));
39
+ }
40
+ function SheetFooter({ className, ...props }) {
41
+ return (_jsx("div", { "data-slot": "sheet-footer", className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props }));
42
+ }
43
+ function SheetTitle({ className, ...props }) {
44
+ return (_jsx(SheetPrimitive.Title, { "data-slot": "sheet-title", className: cn("text-lg font-semibold text-[#E8E8ED]", className), ...props }));
45
+ }
46
+ function SheetDescription({ className, ...props }) {
47
+ return (_jsx(SheetPrimitive.Description, { "data-slot": "sheet-description", className: cn("text-sm text-[#A0A0B0]", className), ...props }));
48
+ }
49
+ export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, sheetVariants, };
50
+ //# sourceMappingURL=sheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.js","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,SAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAoD;IAC3E,OAAO,KAAC,cAAc,CAAC,IAAI,iBAAW,OAAO,KAAK,KAAK,GAAI,CAAA;AAC7D,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EAC4C;IACpD,OAAO,KAAC,cAAc,CAAC,OAAO,iBAAW,eAAe,KAAK,KAAK,GAAI,CAAA;AACxE,CAAC;AAED,SAAS,UAAU,CAAC,EAClB,GAAG,KAAK,EAC0C;IAClD,OAAO,KAAC,cAAc,CAAC,KAAK,iBAAW,aAAa,KAAK,KAAK,GAAI,CAAA;AACpE,CAAC;AAED,SAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EAC2C;IACnD,OAAO,KAAC,cAAc,CAAC,MAAM,iBAAW,cAAc,KAAK,KAAK,GAAI,CAAA;AACtE,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EAC4C;IACpD,OAAO,CACL,KA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AS,EAAE,GAAG,KAAK,EAA+B;IACvE,OAAO,CACL,2BACY,cAAc,EACxB,SAAS,EAAE,EAAE,CAAC,kDAAkD,EAAE,SAAS,CAAC,KACxE,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACvE,OAAO,CACL,2BACY,cAAc,EACxB,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EAC0C;IAClD,OAAO,CACL,KAAC,cAAc,CAAC,KAAK,iBACT,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,sCAAsC,EAAE,SAAS,CAAC,KAC5D,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACgD;IACxD,OAAO,CACL,KAAC,cAAc,CAAC,WAAW,iBACf,mBAAmB,EAC7B,SAAS,EAAE,EAAE,CAAC,wBAAwB,EAAE,SAAS,CAAC,KAC9C,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,aAAa,GACd,CAAA"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as SliderPrimitive from "@radix-ui/react-slider";
3
+ export interface SliderProps extends React.ComponentProps<typeof SliderPrimitive.Root> {
4
+ }
5
+ declare function Slider({ className, ...props }: SliderProps): import("react/jsx-runtime").JSX.Element;
6
+ export { Slider };
7
+ //# sourceMappingURL=slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;CAAG;AAE9D,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAyBnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as SliderPrimitive from "@radix-ui/react-slider";
4
+ import { cn } from "../../utils/cn";
5
+ function Slider({ className, ...props }) {
6
+ return (_jsxs(SliderPrimitive.Root, { "data-slot": "slider", className: cn("relative flex w-full touch-none select-none items-center", className), ...props, children: [_jsx(SliderPrimitive.Track, { "data-slot": "slider-track", className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[#1A1A24]", children: _jsx(SliderPrimitive.Range, { "data-slot": "slider-range", className: "absolute h-full bg-purple-500" }) }), _jsx(SliderPrimitive.Thumb, { "data-slot": "slider-thumb", className: "block h-5 w-5 rounded-full border-2 border-purple-500 bg-[#0F0F14] ring-offset-[#0F0F14] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-500/50 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-40" })] }));
7
+ }
8
+ export { Slider };
9
+ //# sourceMappingURL=slider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.js","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAKnC,SAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAe;IAClD,OAAO,CACL,MAAC,eAAe,CAAC,IAAI,iBACT,QAAQ,EAClB,SAAS,EAAE,EAAE,CACX,0DAA0D,EAC1D,SAAS,CACV,KACG,KAAK,aAET,KAAC,eAAe,CAAC,KAAK,iBACV,cAAc,EACxB,SAAS,EAAC,oEAAoE,YAE9E,KAAC,eAAe,CAAC,KAAK,iBACV,cAAc,EACxB,SAAS,EAAC,+BAA+B,GACzC,GACoB,EACxB,KAAC,eAAe,CAAC,KAAK,iBACV,cAAc,EACxB,SAAS,EAAC,0QAA0Q,GACpR,IACmB,CACxB,CAAA;AACH,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import { Card } from "../common/card";
4
+ declare const statCardVariants: (props?: ({
5
+ variant?: "success" | "warning" | "default" | "danger" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ declare const trendBadgeVariants: (props?: ({
8
+ trend?: "up" | "down" | "neutral" | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ export interface TrendBadgeProps extends React.ComponentProps<"span">, VariantProps<typeof trendBadgeVariants> {
11
+ change: number;
12
+ }
13
+ declare function TrendBadge({ change, trend, className, ...props }: TrendBadgeProps): import("react/jsx-runtime").JSX.Element;
14
+ export interface StatCardProps extends Omit<React.ComponentProps<typeof Card>, "children">, VariantProps<typeof statCardVariants> {
15
+ title: string;
16
+ value: string | number;
17
+ change?: number;
18
+ trend?: "up" | "down" | "neutral";
19
+ icon?: React.ReactNode;
20
+ }
21
+ declare function StatCard({ title, value, change, trend, icon, variant, className, ...props }: StatCardProps): import("react/jsx-runtime").JSX.Element;
22
+ export { StatCard, TrendBadge, statCardVariants, trendBadgeVariants };
23
+ //# sourceMappingURL=stat-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/stat-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,OAAO,EAAE,IAAI,EAAsC,MAAM,gBAAgB,CAAA;AAEzE,QAAA,MAAM,gBAAgB;;8EAYpB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;8EAcvB,CAAA;AAED,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAClC,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,MAAM,EAAE,MAAM,CAAA;CACf;AAED,iBAAS,UAAU,CAAC,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAoEjB;AAED,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,UAAU,CAAC,EACzD,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;IACjC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACvB;AAED,iBAAS,QAAQ,CAAC,EAChB,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAiB,EACjB,IAAI,EACJ,OAAmB,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,2CA0Bf;AAED,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,46 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { cn } from "../../utils/cn";
4
+ import { Card, CardContent, CardHeader, CardTitle } from "../common/card";
5
+ const statCardVariants = cva("", {
6
+ variants: {
7
+ variant: {
8
+ default: "",
9
+ success: "border-green-500/30 bg-green-500/5",
10
+ warning: "border-yellow-500/30 bg-yellow-500/5",
11
+ danger: "border-red-500/30 bg-red-500/5",
12
+ },
13
+ },
14
+ defaultVariants: {
15
+ variant: "default",
16
+ },
17
+ });
18
+ const trendBadgeVariants = cva("inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-medium", {
19
+ variants: {
20
+ trend: {
21
+ up: "bg-green-500/10 text-green-400",
22
+ down: "bg-red-500/10 text-red-400",
23
+ neutral: "bg-zinc-500/10 text-zinc-400",
24
+ },
25
+ },
26
+ defaultVariants: {
27
+ trend: "neutral",
28
+ },
29
+ });
30
+ function TrendBadge({ change, trend, className, ...props }) {
31
+ const Icon = () => {
32
+ if (trend === "up") {
33
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: _jsx("path", { d: "m18 15-6-6-6 6" }) }));
34
+ }
35
+ if (trend === "down") {
36
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: _jsx("path", { d: "m6 9 6 6 6-6" }) }));
37
+ }
38
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: _jsx("path", { d: "M5 12h14" }) }));
39
+ };
40
+ return (_jsxs("span", { "data-slot": "trend-badge", "data-trend": trend, className: cn(trendBadgeVariants({ trend }), className), ...props, children: [_jsx(Icon, {}), change > 0 ? "+" : "", change.toFixed(1), "%"] }));
41
+ }
42
+ function StatCard({ title, value, change, trend = "neutral", icon, variant = "default", className, ...props }) {
43
+ return (_jsxs(Card, { "data-slot": "stat-card", "data-variant": variant, className: cn(statCardVariants({ variant }), className), ...props, children: [_jsxs(CardHeader, { className: "flex-row items-start justify-between space-y-0 pb-2", children: [_jsx(CardTitle, { className: "text-sm font-medium text-zinc-400", children: title }), icon && (_jsx("div", { className: "text-zinc-400 [&>svg]:size-4", "aria-hidden": "true", children: icon }))] }), _jsxs(CardContent, { className: "space-y-1", children: [_jsx("div", { className: "text-2xl font-bold text-white", children: value }), change !== undefined && (_jsx(TrendBadge, { change: change, trend: trend }))] })] }));
44
+ }
45
+ export { StatCard, TrendBadge, statCardVariants, trendBadgeVariants };
46
+ //# sourceMappingURL=stat-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat-card.js","sourceRoot":"","sources":["../../../src/components/ui/stat-card.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAEzE,MAAM,gBAAgB,GAAG,GAAG,CAAC,EAAE,EAAE;IAC/B,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,oCAAoC;YAC7C,OAAO,EAAE,sCAAsC;YAC/C,MAAM,EAAE,gCAAgC;SACzC;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,GAAG,CAC5B,6EAA6E,EAC7E;IACE,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,EAAE,EAAE,gCAAgC;YACpC,IAAI,EAAE,4BAA4B;YAClC,OAAO,EAAE,8BAA8B;SACxC;KACF;IACD,eAAe,EAAE;QACf,KAAK,EAAE,SAAS;KACjB;CAC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,EAAE,CAAC,EAAE,SAAS,CAAC,KACnD,KAAK,aAET,KAAC,IAAI,KAAG,EACP,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EACrB,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SACb,CACR,CAAA;AACH,CAAC;AAYD,SAAS,QAAQ,CAAC,EAChB,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,GAAG,SAAS,EACjB,IAAI,EACJ,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,GAAG,KAAK,EACM;IACd,OAAO,CACL,MAAC,IAAI,iBACO,WAAW,kBACP,OAAO,EACrB,SAAS,EAAE,EAAE,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,KACnD,KAAK,aAET,MAAC,UAAU,IAAC,SAAS,EAAC,qDAAqD,aACzE,KAAC,SAAS,IAAC,SAAS,EAAC,mCAAmC,YACrD,KAAK,GACI,EACX,IAAI,IAAI,CACP,cAAK,SAAS,EAAC,8BAA8B,iBAAa,MAAM,YAC7D,IAAI,GACD,CACP,IACU,EACb,MAAC,WAAW,IAAC,SAAS,EAAC,WAAW,aAChC,cAAK,SAAS,EAAC,+BAA+B,YAAE,KAAK,GAAO,EAC3D,MAAM,KAAK,SAAS,IAAI,CACvB,KAAC,UAAU,IAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAI,CAC7C,IACW,IACT,CACR,CAAA;AACH,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
3
+ export interface SwitchProps extends React.ComponentProps<typeof SwitchPrimitive.Root> {
4
+ }
5
+ declare function Switch({ className, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
6
+ export { Switch };
7
+ //# sourceMappingURL=switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;CAAG;AAE9D,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAkBnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
4
+ import { cn } from "../../utils/cn";
5
+ function Switch({ className, ...props }) {
6
+ return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", className: cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-500/50 focus-visible:ring-offset-2 focus-visible:ring-offset-[#0F0F14] disabled:cursor-not-allowed disabled:opacity-40 data-[state=checked]:bg-purple-500 data-[state=unchecked]:bg-[#1A1A24]", className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: cn("pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") }) }));
7
+ }
8
+ export { Switch };
9
+ //# sourceMappingURL=switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAKnC,SAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAe;IAClD,OAAO,CACL,KAAC,eAAe,CAAC,IAAI,iBACT,QAAQ,EAClB,SAAS,EAAE,EAAE,CACX,mYAAmY,EACnY,SAAS,CACV,KACG,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,iBACV,cAAc,EACxB,SAAS,EAAE,EAAE,CACX,uKAAuK,CACxK,GACD,GACmB,CACxB,CAAA;AACH,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ declare function Table({ className, ...props }: React.ComponentProps<"table">): import("react/jsx-runtime").JSX.Element;
3
+ declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): import("react/jsx-runtime").JSX.Element;
4
+ declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): import("react/jsx-runtime").JSX.Element;
5
+ declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): import("react/jsx-runtime").JSX.Element;
6
+ declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): import("react/jsx-runtime").JSX.Element;
7
+ declare function TableHead({ className, ...props }: React.ComponentProps<"th">): import("react/jsx-runtime").JSX.Element;
8
+ declare function TableCell({ className, ...props }: React.ComponentProps<"td">): import("react/jsx-runtime").JSX.Element;
9
+ declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): import("react/jsx-runtime").JSX.Element;
10
+ export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
11
+ //# sourceMappingURL=table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAUpE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQ1E;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAW1E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWpE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,2CAQjC;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../utils/cn";
3
+ function Table({ className, ...props }) {
4
+ return (_jsx("div", { className: "relative w-full overflow-auto", children: _jsx("table", { "data-slot": "table", className: cn("w-full caption-bottom text-sm", className), ...props }) }));
5
+ }
6
+ function TableHeader({ className, ...props }) {
7
+ return (_jsx("thead", { "data-slot": "table-header", className: cn("[&_tr]:border-b border-[#2A2A3C]", className), ...props }));
8
+ }
9
+ function TableBody({ className, ...props }) {
10
+ return (_jsx("tbody", { "data-slot": "table-body", className: cn("[&_tr:last-child]:border-0", className), ...props }));
11
+ }
12
+ function TableFooter({ className, ...props }) {
13
+ return (_jsx("tfoot", { "data-slot": "table-footer", className: cn("border-t border-[#2A2A3C] bg-[#1A1A24]/50 font-medium [&>tr]:last:border-b-0", className), ...props }));
14
+ }
15
+ function TableRow({ className, ...props }) {
16
+ return (_jsx("tr", { "data-slot": "table-row", className: cn("border-b border-[#2A2A3C] transition-colors hover:bg-purple-500/5 data-[state=selected]:bg-purple-500/10", className), ...props }));
17
+ }
18
+ function TableHead({ className, ...props }) {
19
+ return (_jsx("th", { "data-slot": "table-head", className: cn("h-10 px-4 text-left align-middle font-medium text-[#A0A0B0] [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className), ...props }));
20
+ }
21
+ function TableCell({ className, ...props }) {
22
+ return (_jsx("td", { "data-slot": "table-cell", className: cn("p-4 align-middle text-[#E8E8ED] [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className), ...props }));
23
+ }
24
+ function TableCaption({ className, ...props }) {
25
+ return (_jsx("caption", { "data-slot": "table-caption", className: cn("mt-4 text-sm text-[#6B6B80]", className), ...props }));
26
+ }
27
+ export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
28
+ //# sourceMappingURL=table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/components/ui/table.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,SAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAiC;IACnE,OAAO,CACL,cAAK,SAAS,EAAC,+BAA+B,YAC5C,6BACY,OAAO,EACjB,SAAS,EAAE,EAAE,CAAC,+BAA+B,EAAE,SAAS,CAAC,KACrD,KAAK,GACT,GACE,CACP,CAAA;AACH,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,SAAS,E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,CAAC;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { TextareaProps } from "../common/textarea";
2
+ export interface TextareaAutosizeProps extends TextareaProps {
3
+ maxHeight?: number;
4
+ minHeight?: number;
5
+ resize?: "none" | "vertical" | "horizontal" | "both";
6
+ }
7
+ declare function TextareaAutosize({ maxHeight, minHeight, resize, className, value, onChange, ...props }: TextareaAutosizeProps): import("react/jsx-runtime").JSX.Element;
8
+ declare namespace TextareaAutosize {
9
+ var displayName: string;
10
+ }
11
+ export { TextareaAutosize };
12
+ //# sourceMappingURL=textarea-autosize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea-autosize.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea-autosize.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAY,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAE5D,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAA;CACrD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAe,EACf,SAAc,EACd,MAAe,EACf,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,qBAAqB,2CA8DvB;kBAtEQ,gBAAgB;;;AA0EzB,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,44 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { cn } from "../../utils/cn";
5
+ import { Textarea } from "../common/textarea";
6
+ function TextareaAutosize({ maxHeight = 200, minHeight = 40, resize = "none", className, value, onChange, ...props }) {
7
+ const textareaRef = React.useRef(null);
8
+ const [height, setHeight] = React.useState(minHeight);
9
+ React.useEffect(() => {
10
+ const textarea = textareaRef.current;
11
+ if (!textarea)
12
+ return;
13
+ const updateHeight = () => {
14
+ textarea.style.height = "auto";
15
+ const newHeight = Math.min(Math.max(textarea.scrollHeight, minHeight), maxHeight);
16
+ textarea.style.height = `${newHeight}px`;
17
+ setHeight(newHeight);
18
+ };
19
+ updateHeight();
20
+ const observer = new MutationObserver(updateHeight);
21
+ observer.observe(textarea, { childList: true, subtree: true, characterData: true });
22
+ return () => {
23
+ observer.disconnect();
24
+ };
25
+ }, [value, minHeight, maxHeight]);
26
+ const handleChange = (e) => {
27
+ onChange?.(e);
28
+ const textarea = textareaRef.current;
29
+ if (textarea) {
30
+ textarea.style.height = "auto";
31
+ const newHeight = Math.min(Math.max(textarea.scrollHeight, minHeight), maxHeight);
32
+ textarea.style.height = `${newHeight}px`;
33
+ setHeight(newHeight);
34
+ }
35
+ };
36
+ return (_jsx(Textarea, { ref: textareaRef, value: value, onChange: handleChange, style: {
37
+ height: `${height}px`,
38
+ resize,
39
+ overflow: "auto",
40
+ }, className: cn("overflow-y-auto", resize === "none" && "resize-none", className), ...props }));
41
+ }
42
+ TextareaAutosize.displayName = "TextareaAutosize";
43
+ export { TextareaAutosize };
44
+ //# sourceMappingURL=textarea-autosize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea-autosize.js","sourceRoot":"","sources":["../../../src/components/ui/textarea-autosize.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAiB,MAAM,oBAAoB,CAAA;AAQ5D,SAAS,gBAAgB,CAAC,EACxB,SAAS,GAAG,GAAG,EACf,SAAS,GAAG,EAAE,EACd,MAAM,GAAG,MAAM,EACf,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,K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,MAAM,CAAA;YAC9B,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CACxB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC,EAC1C,SAAS,CACV,CAAA;YACD,QAAQ,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,SAAS,IAAI,CAAA;YACxC,SAAS,CAAC,SAAS,CAAC,CAAA;QACtB,CAAC;IACH,CAAC,CAAA;IAED,OAAO,CACL,KAAC,QAAQ,IACP,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE;YACL,MAAM,EAAE,GAAG,MAAM,IAAI;YACrB,MAAM;YACN,QAAQ,EAAE,MAAM;SACjB,EACD,SAAS,EAAE,EAAE,CACX,iBAAiB,EACjB,MAAM,KAAK,MAAM,IAAI,aAAa,EAClC,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAA;AACH,CAAC;AAED,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TooltipContent({ className, sideOffset, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
8
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,eAAe,CAAC,EACvB,aAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQxD;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAIpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAIvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAcvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}