@appcorp/stellar-solutions-modules 0.1.53 → 0.1.55

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 (93) hide show
  1. package/global-modules/bank/bank.js +4 -8
  2. package/global-modules/bank/context.js +15 -14
  3. package/global-modules/bank/drawer.js +2 -2
  4. package/global-modules/bank/form.js +2 -2
  5. package/global-modules/bank/types.d.ts +1 -1
  6. package/global-modules/branch/branch.js +3 -7
  7. package/global-modules/branch/constants.d.ts +0 -11
  8. package/global-modules/branch/constants.js +1 -15
  9. package/global-modules/branch/context.js +16 -15
  10. package/global-modules/branch/drawer.js +2 -2
  11. package/global-modules/branch/form.js +2 -2
  12. package/global-modules/branch/types.d.ts +1 -1
  13. package/global-modules/payment-mode/context.js +16 -15
  14. package/global-modules/payment-mode/drawer.js +2 -2
  15. package/global-modules/payment-mode/form.js +2 -2
  16. package/global-modules/payment-mode/payment-mode.js +16 -20
  17. package/global-modules/payment-mode/types.d.ts +1 -1
  18. package/global-modules/preferences/context.js +14 -13
  19. package/global-modules/preferences/currency.js +2 -2
  20. package/global-modules/tax/context.js +16 -15
  21. package/global-modules/tax/drawer.js +2 -2
  22. package/global-modules/tax/form.js +2 -2
  23. package/global-modules/tax/tax.js +4 -8
  24. package/global-modules/tax/types.d.ts +1 -1
  25. package/index.d.ts +0 -30
  26. package/index.js +0 -46
  27. package/lib/toast-utils.d.ts +0 -44
  28. package/lib/toast-utils.js +240 -212
  29. package/lib/utils.d.ts +0 -2
  30. package/lib/utils.js +5 -12
  31. package/package.json +6 -7
  32. package/components/theme-provider.d.ts +0 -9
  33. package/components/theme-provider.js +0 -122
  34. package/components/theme-switcher.d.ts +0 -4
  35. package/components/theme-switcher.js +0 -60
  36. package/components/ui/badge.d.ts +0 -9
  37. package/components/ui/badge.js +0 -82
  38. package/components/ui/button.d.ts +0 -10
  39. package/components/ui/button.js +0 -91
  40. package/components/ui/card.d.ts +0 -9
  41. package/components/ui/card.js +0 -94
  42. package/components/ui/carousel.d.ts +0 -19
  43. package/components/ui/carousel.js +0 -168
  44. package/components/ui/checkbox.d.ts +0 -9
  45. package/components/ui/checkbox.js +0 -87
  46. package/components/ui/combobox.d.ts +0 -70
  47. package/components/ui/combobox.js +0 -315
  48. package/components/ui/command.d.ts +0 -18
  49. package/components/ui/command.js +0 -115
  50. package/components/ui/dialog.d.ts +0 -15
  51. package/components/ui/dialog.js +0 -118
  52. package/components/ui/drawer.d.ts +0 -13
  53. package/components/ui/drawer.js +0 -115
  54. package/components/ui/dropdown-menu.d.ts +0 -25
  55. package/components/ui/dropdown-menu.js +0 -148
  56. package/components/ui/enhanced-dropzone.d.ts +0 -21
  57. package/components/ui/enhanced-dropzone.js +0 -187
  58. package/components/ui/enhanced-table-footer-action.d.ts +0 -34
  59. package/components/ui/enhanced-table-footer-action.js +0 -117
  60. package/components/ui/enhanced-table-footer-page.d.ts +0 -32
  61. package/components/ui/enhanced-table-footer-page.js +0 -140
  62. package/components/ui/enhanced-table-footer-pagination.d.ts +0 -36
  63. package/components/ui/enhanced-table-footer-pagination.js +0 -122
  64. package/components/ui/enhanced-table-header-action.d.ts +0 -7
  65. package/components/ui/enhanced-table-header-action.js +0 -21
  66. package/components/ui/enhanced-table-header-search.d.ts +0 -12
  67. package/components/ui/enhanced-table-header-search.js +0 -17
  68. package/components/ui/enhanced-table.d.ts +0 -75
  69. package/components/ui/enhanced-table.js +0 -196
  70. package/components/ui/form.d.ts +0 -24
  71. package/components/ui/form.js +0 -125
  72. package/components/ui/input.d.ts +0 -8
  73. package/components/ui/input.js +0 -86
  74. package/components/ui/label.d.ts +0 -7
  75. package/components/ui/label.js +0 -68
  76. package/components/ui/popover.d.ts +0 -7
  77. package/components/ui/popover.js +0 -82
  78. package/components/ui/select.d.ts +0 -15
  79. package/components/ui/select.js +0 -127
  80. package/components/ui/separator.d.ts +0 -4
  81. package/components/ui/separator.js +0 -66
  82. package/components/ui/shadcn-io/color-picker/index.d.ts +0 -43
  83. package/components/ui/shadcn-io/color-picker/index.js +0 -304
  84. package/components/ui/shadcn-io/dropzone/index.d.ts +0 -19
  85. package/components/ui/shadcn-io/dropzone/index.js +0 -131
  86. package/components/ui/sonner.d.ts +0 -4
  87. package/components/ui/sonner.js +0 -54
  88. package/components/ui/switch.d.ts +0 -9
  89. package/components/ui/switch.js +0 -89
  90. package/components/ui/table.d.ts +0 -10
  91. package/components/ui/table.js +0 -101
  92. package/components/ui/textarea.d.ts +0 -8
  93. package/components/ui/textarea.js +0 -86
@@ -1,18 +0,0 @@
1
- import * as React from "react";
2
- import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "./dialog";
4
- declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): React.JSX.Element;
5
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
- title?: string;
7
- description?: string;
8
- className?: string;
9
- showCloseButton?: boolean;
10
- }): React.JSX.Element;
11
- declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): React.JSX.Element;
12
- declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): React.JSX.Element;
13
- declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): React.JSX.Element;
14
- declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): React.JSX.Element;
15
- declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): React.JSX.Element;
16
- declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): React.JSX.Element;
17
- declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
18
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -1,115 +0,0 @@
1
- "use client";
2
- "use strict";
3
- var __assign = (this && this.__assign) || function () {
4
- __assign = Object.assign || function(t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
- t[p] = s[p];
9
- }
10
- return t;
11
- };
12
- return __assign.apply(this, arguments);
13
- };
14
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- var desc = Object.getOwnPropertyDescriptor(m, k);
17
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
18
- desc = { enumerable: true, get: function() { return m[k]; } };
19
- }
20
- Object.defineProperty(o, k2, desc);
21
- }) : (function(o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- }));
25
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
- Object.defineProperty(o, "default", { enumerable: true, value: v });
27
- }) : function(o, v) {
28
- o["default"] = v;
29
- });
30
- var __importStar = (this && this.__importStar) || (function () {
31
- var ownKeys = function(o) {
32
- ownKeys = Object.getOwnPropertyNames || function (o) {
33
- var ar = [];
34
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
35
- return ar;
36
- };
37
- return ownKeys(o);
38
- };
39
- return function (mod) {
40
- if (mod && mod.__esModule) return mod;
41
- var result = {};
42
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
43
- __setModuleDefault(result, mod);
44
- return result;
45
- };
46
- })();
47
- var __rest = (this && this.__rest) || function (s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- };
58
- Object.defineProperty(exports, "__esModule", { value: true });
59
- exports.Command = Command;
60
- exports.CommandDialog = CommandDialog;
61
- exports.CommandInput = CommandInput;
62
- exports.CommandList = CommandList;
63
- exports.CommandEmpty = CommandEmpty;
64
- exports.CommandGroup = CommandGroup;
65
- exports.CommandItem = CommandItem;
66
- exports.CommandShortcut = CommandShortcut;
67
- exports.CommandSeparator = CommandSeparator;
68
- var React = __importStar(require("react"));
69
- var cmdk_1 = require("cmdk");
70
- var lucide_react_1 = require("lucide-react");
71
- var utils_1 = require("../../lib/utils");
72
- var dialog_1 = require("./dialog");
73
- function Command(_a) {
74
- var className = _a.className, props = __rest(_a, ["className"]);
75
- return (React.createElement(cmdk_1.Command, __assign({ "data-slot": "command", className: (0, utils_1.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className) }, props)));
76
- }
77
- function CommandDialog(_a) {
78
- var _b = _a.title, title = _b === void 0 ? "Command Palette" : _b, _c = _a.description, description = _c === void 0 ? "Search for a command to run..." : _c, children = _a.children, className = _a.className, _d = _a.showCloseButton, showCloseButton = _d === void 0 ? true : _d, props = __rest(_a, ["title", "description", "children", "className", "showCloseButton"]);
79
- return (React.createElement(dialog_1.Dialog, __assign({}, props),
80
- React.createElement(dialog_1.DialogHeader, { className: "sr-only" },
81
- React.createElement(dialog_1.DialogTitle, null, title),
82
- React.createElement(dialog_1.DialogDescription, null, description)),
83
- React.createElement(dialog_1.DialogContent, { className: (0, utils_1.cn)("overflow-hidden p-0", className), showCloseButton: showCloseButton },
84
- React.createElement(Command, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5" }, children))));
85
- }
86
- function CommandInput(_a) {
87
- var className = _a.className, props = __rest(_a, ["className"]);
88
- return (React.createElement("div", { "data-slot": "command-input-wrapper", className: "flex h-9 items-center gap-2 border-b px-3" },
89
- React.createElement(lucide_react_1.SearchIcon, { className: "size-4 shrink-0 opacity-50" }),
90
- React.createElement(cmdk_1.Command.Input, __assign({ "data-slot": "command-input", className: (0, utils_1.cn)("placeholder:text-muted-foreground flex h-8 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className) }, props))));
91
- }
92
- function CommandList(_a) {
93
- var className = _a.className, props = __rest(_a, ["className"]);
94
- return (React.createElement(cmdk_1.Command.List, __assign({ "data-slot": "command-list", className: (0, utils_1.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className) }, props)));
95
- }
96
- function CommandEmpty(_a) {
97
- var props = __rest(_a, []);
98
- return (React.createElement(cmdk_1.Command.Empty, __assign({ "data-slot": "command-empty", className: "py-6 text-center text-sm" }, props)));
99
- }
100
- function CommandGroup(_a) {
101
- var className = _a.className, props = __rest(_a, ["className"]);
102
- return (React.createElement(cmdk_1.Command.Group, __assign({ "data-slot": "command-group", className: (0, utils_1.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className) }, props)));
103
- }
104
- function CommandSeparator(_a) {
105
- var className = _a.className, props = __rest(_a, ["className"]);
106
- return (React.createElement(cmdk_1.Command.Separator, __assign({ "data-slot": "command-separator", className: (0, utils_1.cn)("bg-border -mx-1 h-px", className) }, props)));
107
- }
108
- function CommandItem(_a) {
109
- var className = _a.className, props = __rest(_a, ["className"]);
110
- return (React.createElement(cmdk_1.Command.Item, __assign({ "data-slot": "command-item", className: (0, utils_1.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props)));
111
- }
112
- function CommandShortcut(_a) {
113
- var className = _a.className, props = __rest(_a, ["className"]);
114
- return (React.createElement("span", __assign({ "data-slot": "command-shortcut", className: (0, utils_1.cn)("text-muted-foreground ml-auto text-xs tracking-widest", className) }, props)));
115
- }
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- import * as DialogPrimitive from "@radix-ui/react-dialog";
3
- declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
4
- declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
5
- declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
6
- declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
7
- declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
8
- declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
- showCloseButton?: boolean;
10
- }): React.JSX.Element;
11
- declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
12
- declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
13
- declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
14
- declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
15
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -1,118 +0,0 @@
1
- "use client";
2
- "use strict";
3
- var __assign = (this && this.__assign) || function () {
4
- __assign = Object.assign || function(t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
- t[p] = s[p];
9
- }
10
- return t;
11
- };
12
- return __assign.apply(this, arguments);
13
- };
14
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- var desc = Object.getOwnPropertyDescriptor(m, k);
17
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
18
- desc = { enumerable: true, get: function() { return m[k]; } };
19
- }
20
- Object.defineProperty(o, k2, desc);
21
- }) : (function(o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- }));
25
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
- Object.defineProperty(o, "default", { enumerable: true, value: v });
27
- }) : function(o, v) {
28
- o["default"] = v;
29
- });
30
- var __importStar = (this && this.__importStar) || (function () {
31
- var ownKeys = function(o) {
32
- ownKeys = Object.getOwnPropertyNames || function (o) {
33
- var ar = [];
34
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
35
- return ar;
36
- };
37
- return ownKeys(o);
38
- };
39
- return function (mod) {
40
- if (mod && mod.__esModule) return mod;
41
- var result = {};
42
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
43
- __setModuleDefault(result, mod);
44
- return result;
45
- };
46
- })();
47
- var __rest = (this && this.__rest) || function (s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- };
58
- Object.defineProperty(exports, "__esModule", { value: true });
59
- exports.Dialog = Dialog;
60
- exports.DialogClose = DialogClose;
61
- exports.DialogContent = DialogContent;
62
- exports.DialogDescription = DialogDescription;
63
- exports.DialogFooter = DialogFooter;
64
- exports.DialogHeader = DialogHeader;
65
- exports.DialogOverlay = DialogOverlay;
66
- exports.DialogPortal = DialogPortal;
67
- exports.DialogTitle = DialogTitle;
68
- exports.DialogTrigger = DialogTrigger;
69
- var React = __importStar(require("react"));
70
- var DialogPrimitive = __importStar(require("@radix-ui/react-dialog"));
71
- var lucide_react_1 = require("lucide-react");
72
- var utils_1 = require("../../lib/utils");
73
- function Dialog(_a) {
74
- var props = __rest(_a, []);
75
- return React.createElement(DialogPrimitive.Root, __assign({ "data-slot": "dialog" }, props));
76
- }
77
- function DialogTrigger(_a) {
78
- var props = __rest(_a, []);
79
- return React.createElement(DialogPrimitive.Trigger, __assign({ "data-slot": "dialog-trigger" }, props));
80
- }
81
- function DialogPortal(_a) {
82
- var props = __rest(_a, []);
83
- return React.createElement(DialogPrimitive.Portal, __assign({ "data-slot": "dialog-portal" }, props));
84
- }
85
- function DialogClose(_a) {
86
- var props = __rest(_a, []);
87
- return React.createElement(DialogPrimitive.Close, __assign({ "data-slot": "dialog-close" }, props));
88
- }
89
- function DialogOverlay(_a) {
90
- var className = _a.className, props = __rest(_a, ["className"]);
91
- return (React.createElement(DialogPrimitive.Overlay, __assign({ "data-slot": "dialog-overlay", className: (0, utils_1.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className) }, props)));
92
- }
93
- function DialogContent(_a) {
94
- var className = _a.className, children = _a.children, _b = _a.showCloseButton, showCloseButton = _b === void 0 ? true : _b, props = __rest(_a, ["className", "children", "showCloseButton"]);
95
- return (React.createElement(DialogPortal, { "data-slot": "dialog-portal" },
96
- React.createElement(DialogOverlay, null),
97
- React.createElement(DialogPrimitive.Content, __assign({ "data-slot": "dialog-content", className: (0, utils_1.cn)("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className) }, props),
98
- children,
99
- showCloseButton && (React.createElement(DialogPrimitive.Close, { "data-slot": "dialog-close", className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" },
100
- React.createElement(lucide_react_1.XIcon, null),
101
- React.createElement("span", { className: "sr-only" }, "Close"))))));
102
- }
103
- function DialogHeader(_a) {
104
- var className = _a.className, props = __rest(_a, ["className"]);
105
- return (React.createElement("div", __assign({ "data-slot": "dialog-header", className: (0, utils_1.cn)("flex flex-col gap-2 text-center sm:text-left", className) }, props)));
106
- }
107
- function DialogFooter(_a) {
108
- var className = _a.className, props = __rest(_a, ["className"]);
109
- return (React.createElement("div", __assign({ "data-slot": "dialog-footer", className: (0, utils_1.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className) }, props)));
110
- }
111
- function DialogTitle(_a) {
112
- var className = _a.className, props = __rest(_a, ["className"]);
113
- return (React.createElement(DialogPrimitive.Title, __assign({ "data-slot": "dialog-title", className: (0, utils_1.cn)("text-lg leading-none font-semibold", className) }, props)));
114
- }
115
- function DialogDescription(_a) {
116
- var className = _a.className, props = __rest(_a, ["className"]);
117
- return (React.createElement(DialogPrimitive.Description, __assign({ "data-slot": "dialog-description", className: (0, utils_1.cn)("text-muted-foreground text-sm", className) }, props)));
118
- }
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- import { Drawer as DrawerPrimitive } from "vaul";
3
- declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): React.JSX.Element;
4
- declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): React.JSX.Element;
5
- declare function DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>): React.JSX.Element;
6
- declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): React.JSX.Element;
7
- declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>): React.JSX.Element;
8
- declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>): React.JSX.Element;
9
- declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
10
- declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
11
- declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): React.JSX.Element;
12
- declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): React.JSX.Element;
13
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
@@ -1,115 +0,0 @@
1
- "use client";
2
- "use strict";
3
- var __assign = (this && this.__assign) || function () {
4
- __assign = Object.assign || function(t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
- t[p] = s[p];
9
- }
10
- return t;
11
- };
12
- return __assign.apply(this, arguments);
13
- };
14
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- var desc = Object.getOwnPropertyDescriptor(m, k);
17
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
18
- desc = { enumerable: true, get: function() { return m[k]; } };
19
- }
20
- Object.defineProperty(o, k2, desc);
21
- }) : (function(o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- }));
25
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
- Object.defineProperty(o, "default", { enumerable: true, value: v });
27
- }) : function(o, v) {
28
- o["default"] = v;
29
- });
30
- var __importStar = (this && this.__importStar) || (function () {
31
- var ownKeys = function(o) {
32
- ownKeys = Object.getOwnPropertyNames || function (o) {
33
- var ar = [];
34
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
35
- return ar;
36
- };
37
- return ownKeys(o);
38
- };
39
- return function (mod) {
40
- if (mod && mod.__esModule) return mod;
41
- var result = {};
42
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
43
- __setModuleDefault(result, mod);
44
- return result;
45
- };
46
- })();
47
- var __rest = (this && this.__rest) || function (s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- };
58
- Object.defineProperty(exports, "__esModule", { value: true });
59
- exports.Drawer = Drawer;
60
- exports.DrawerPortal = DrawerPortal;
61
- exports.DrawerOverlay = DrawerOverlay;
62
- exports.DrawerTrigger = DrawerTrigger;
63
- exports.DrawerClose = DrawerClose;
64
- exports.DrawerContent = DrawerContent;
65
- exports.DrawerHeader = DrawerHeader;
66
- exports.DrawerFooter = DrawerFooter;
67
- exports.DrawerTitle = DrawerTitle;
68
- exports.DrawerDescription = DrawerDescription;
69
- var React = __importStar(require("react"));
70
- var vaul_1 = require("vaul");
71
- var utils_1 = require("../../lib/utils");
72
- function Drawer(_a) {
73
- var props = __rest(_a, []);
74
- return React.createElement(vaul_1.Drawer.Root, __assign({ "data-slot": "drawer" }, props));
75
- }
76
- function DrawerTrigger(_a) {
77
- var props = __rest(_a, []);
78
- return React.createElement(vaul_1.Drawer.Trigger, __assign({ "data-slot": "drawer-trigger" }, props));
79
- }
80
- function DrawerPortal(_a) {
81
- var props = __rest(_a, []);
82
- return React.createElement(vaul_1.Drawer.Portal, __assign({ "data-slot": "drawer-portal" }, props));
83
- }
84
- function DrawerClose(_a) {
85
- var props = __rest(_a, []);
86
- return React.createElement(vaul_1.Drawer.Close, __assign({ "data-slot": "drawer-close" }, props));
87
- }
88
- function DrawerOverlay(_a) {
89
- var className = _a.className, props = __rest(_a, ["className"]);
90
- return (React.createElement(vaul_1.Drawer.Overlay, __assign({ "data-slot": "drawer-overlay", className: (0, utils_1.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className) }, props)));
91
- }
92
- function DrawerContent(_a) {
93
- var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
94
- return (React.createElement(DrawerPortal, { "data-slot": "drawer-portal" },
95
- React.createElement(DrawerOverlay, null),
96
- React.createElement(vaul_1.Drawer.Content, __assign({ "data-slot": "drawer-content", className: (0, utils_1.cn)("group/drawer-content bg-background fixed z-50 flex h-auto flex-col", "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b", "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t", "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm", "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm", className) }, props),
97
- React.createElement("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
98
- children)));
99
- }
100
- function DrawerHeader(_a) {
101
- var className = _a.className, props = __rest(_a, ["className"]);
102
- return (React.createElement("div", __assign({ "data-slot": "drawer-header", className: (0, utils_1.cn)("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left", className) }, props)));
103
- }
104
- function DrawerFooter(_a) {
105
- var className = _a.className, props = __rest(_a, ["className"]);
106
- return (React.createElement("div", __assign({ "data-slot": "drawer-footer", className: (0, utils_1.cn)("mt-auto flex flex-col gap-2 p-4", className) }, props)));
107
- }
108
- function DrawerTitle(_a) {
109
- var className = _a.className, props = __rest(_a, ["className"]);
110
- return (React.createElement(vaul_1.Drawer.Title, __assign({ "data-slot": "drawer-title", className: (0, utils_1.cn)("text-foreground font-semibold", className) }, props)));
111
- }
112
- function DrawerDescription(_a) {
113
- var className = _a.className, props = __rest(_a, ["className"]);
114
- return (React.createElement(vaul_1.Drawer.Description, __assign({ "data-slot": "drawer-description", className: (0, utils_1.cn)("text-muted-foreground text-sm", className) }, props)));
115
- }
@@ -1,25 +0,0 @@
1
- import * as React from "react";
2
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
- declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
4
- declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React.JSX.Element;
5
- declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React.JSX.Element;
6
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): React.JSX.Element;
7
- declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): React.JSX.Element;
8
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
- inset?: boolean;
10
- variant?: "default" | "destructive";
11
- }): React.JSX.Element;
12
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React.JSX.Element;
13
- declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React.JSX.Element;
14
- declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React.JSX.Element;
15
- declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
16
- inset?: boolean;
17
- }): React.JSX.Element;
18
- declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React.JSX.Element;
19
- declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
20
- declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React.JSX.Element;
21
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
22
- inset?: boolean;
23
- }): React.JSX.Element;
24
- declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React.JSX.Element;
25
- export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
@@ -1,148 +0,0 @@
1
- "use client";
2
- "use strict";
3
- var __assign = (this && this.__assign) || function () {
4
- __assign = Object.assign || function(t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
- t[p] = s[p];
9
- }
10
- return t;
11
- };
12
- return __assign.apply(this, arguments);
13
- };
14
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- var desc = Object.getOwnPropertyDescriptor(m, k);
17
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
18
- desc = { enumerable: true, get: function() { return m[k]; } };
19
- }
20
- Object.defineProperty(o, k2, desc);
21
- }) : (function(o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- }));
25
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
- Object.defineProperty(o, "default", { enumerable: true, value: v });
27
- }) : function(o, v) {
28
- o["default"] = v;
29
- });
30
- var __importStar = (this && this.__importStar) || (function () {
31
- var ownKeys = function(o) {
32
- ownKeys = Object.getOwnPropertyNames || function (o) {
33
- var ar = [];
34
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
35
- return ar;
36
- };
37
- return ownKeys(o);
38
- };
39
- return function (mod) {
40
- if (mod && mod.__esModule) return mod;
41
- var result = {};
42
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
43
- __setModuleDefault(result, mod);
44
- return result;
45
- };
46
- })();
47
- var __rest = (this && this.__rest) || function (s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- };
58
- Object.defineProperty(exports, "__esModule", { value: true });
59
- exports.DropdownMenu = DropdownMenu;
60
- exports.DropdownMenuPortal = DropdownMenuPortal;
61
- exports.DropdownMenuTrigger = DropdownMenuTrigger;
62
- exports.DropdownMenuContent = DropdownMenuContent;
63
- exports.DropdownMenuGroup = DropdownMenuGroup;
64
- exports.DropdownMenuLabel = DropdownMenuLabel;
65
- exports.DropdownMenuItem = DropdownMenuItem;
66
- exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
67
- exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
68
- exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
69
- exports.DropdownMenuSeparator = DropdownMenuSeparator;
70
- exports.DropdownMenuShortcut = DropdownMenuShortcut;
71
- exports.DropdownMenuSub = DropdownMenuSub;
72
- exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
73
- exports.DropdownMenuSubContent = DropdownMenuSubContent;
74
- var React = __importStar(require("react"));
75
- var DropdownMenuPrimitive = __importStar(require("@radix-ui/react-dropdown-menu"));
76
- var lucide_react_1 = require("lucide-react");
77
- var utils_1 = require("../../lib/utils");
78
- function DropdownMenu(_a) {
79
- var props = __rest(_a, []);
80
- return React.createElement(DropdownMenuPrimitive.Root, __assign({ "data-slot": "dropdown-menu" }, props));
81
- }
82
- function DropdownMenuPortal(_a) {
83
- var props = __rest(_a, []);
84
- return (React.createElement(DropdownMenuPrimitive.Portal, __assign({ "data-slot": "dropdown-menu-portal" }, props)));
85
- }
86
- function DropdownMenuTrigger(_a) {
87
- var props = __rest(_a, []);
88
- return (React.createElement(DropdownMenuPrimitive.Trigger, __assign({ "data-slot": "dropdown-menu-trigger" }, props)));
89
- }
90
- function DropdownMenuContent(_a) {
91
- var className = _a.className, _b = _a.sideOffset, sideOffset = _b === void 0 ? 4 : _b, props = __rest(_a, ["className", "sideOffset"]);
92
- return (React.createElement(DropdownMenuPrimitive.Portal, null,
93
- React.createElement(DropdownMenuPrimitive.Content, __assign({ "data-slot": "dropdown-menu-content", sideOffset: sideOffset, className: (0, utils_1.cn)("bg-popover text-popover-foreground 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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", className) }, props))));
94
- }
95
- function DropdownMenuGroup(_a) {
96
- var props = __rest(_a, []);
97
- return (React.createElement(DropdownMenuPrimitive.Group, __assign({ "data-slot": "dropdown-menu-group" }, props)));
98
- }
99
- function DropdownMenuItem(_a) {
100
- var className = _a.className, inset = _a.inset, _b = _a.variant, variant = _b === void 0 ? "default" : _b, props = __rest(_a, ["className", "inset", "variant"]);
101
- return (React.createElement(DropdownMenuPrimitive.Item, __assign({ "data-slot": "dropdown-menu-item", "data-inset": inset, "data-variant": variant, className: (0, utils_1.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props)));
102
- }
103
- function DropdownMenuCheckboxItem(_a) {
104
- var className = _a.className, children = _a.children, checked = _a.checked, props = __rest(_a, ["className", "children", "checked"]);
105
- return (React.createElement(DropdownMenuPrimitive.CheckboxItem, __assign({ "data-slot": "dropdown-menu-checkbox-item", className: (0, utils_1.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), checked: checked }, props),
106
- React.createElement("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" },
107
- React.createElement(DropdownMenuPrimitive.ItemIndicator, null,
108
- React.createElement(lucide_react_1.CheckIcon, { className: "size-4" }))),
109
- children));
110
- }
111
- function DropdownMenuRadioGroup(_a) {
112
- var props = __rest(_a, []);
113
- return (React.createElement(DropdownMenuPrimitive.RadioGroup, __assign({ "data-slot": "dropdown-menu-radio-group" }, props)));
114
- }
115
- function DropdownMenuRadioItem(_a) {
116
- var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
117
- return (React.createElement(DropdownMenuPrimitive.RadioItem, __assign({ "data-slot": "dropdown-menu-radio-item", className: (0, utils_1.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props),
118
- React.createElement("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" },
119
- React.createElement(DropdownMenuPrimitive.ItemIndicator, null,
120
- React.createElement(lucide_react_1.CircleIcon, { className: "size-2 fill-current" }))),
121
- children));
122
- }
123
- function DropdownMenuLabel(_a) {
124
- var className = _a.className, inset = _a.inset, props = __rest(_a, ["className", "inset"]);
125
- return (React.createElement(DropdownMenuPrimitive.Label, __assign({ "data-slot": "dropdown-menu-label", "data-inset": inset, className: (0, utils_1.cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className) }, props)));
126
- }
127
- function DropdownMenuSeparator(_a) {
128
- var className = _a.className, props = __rest(_a, ["className"]);
129
- return (React.createElement(DropdownMenuPrimitive.Separator, __assign({ "data-slot": "dropdown-menu-separator", className: (0, utils_1.cn)("bg-border -mx-1 my-1 h-px", className) }, props)));
130
- }
131
- function DropdownMenuShortcut(_a) {
132
- var className = _a.className, props = __rest(_a, ["className"]);
133
- return (React.createElement("span", __assign({ "data-slot": "dropdown-menu-shortcut", className: (0, utils_1.cn)("text-muted-foreground ml-auto text-xs tracking-widest", className) }, props)));
134
- }
135
- function DropdownMenuSub(_a) {
136
- var props = __rest(_a, []);
137
- return React.createElement(DropdownMenuPrimitive.Sub, __assign({ "data-slot": "dropdown-menu-sub" }, props));
138
- }
139
- function DropdownMenuSubTrigger(_a) {
140
- var className = _a.className, inset = _a.inset, children = _a.children, props = __rest(_a, ["className", "inset", "children"]);
141
- return (React.createElement(DropdownMenuPrimitive.SubTrigger, __assign({ "data-slot": "dropdown-menu-sub-trigger", "data-inset": inset, className: (0, utils_1.cn)("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8", className) }, props),
142
- children,
143
- React.createElement(lucide_react_1.ChevronRightIcon, { className: "ml-auto size-4" })));
144
- }
145
- function DropdownMenuSubContent(_a) {
146
- var className = _a.className, props = __rest(_a, ["className"]);
147
- return (React.createElement(DropdownMenuPrimitive.SubContent, __assign({ "data-slot": "dropdown-menu-sub-content", className: (0, utils_1.cn)("bg-popover text-popover-foreground 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 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className) }, props)));
148
- }
@@ -1,21 +0,0 @@
1
- import React from "react";
2
- import type { DropzoneOptions } from "react-dropzone";
3
- export type EnhancedDropzoneProps = {
4
- id?: string;
5
- className?: string;
6
- label?: string;
7
- info?: string;
8
- error?: string;
9
- accept?: DropzoneOptions["accept"] | string[];
10
- maxFiles?: number;
11
- maxSize?: number;
12
- minSize?: number;
13
- disabled?: boolean;
14
- /** Remote image URLs to display as previews */
15
- value?: string[];
16
- /** Called when files are selected or removed */
17
- onChange?: (files: File[]) => void;
18
- /** Called when a remote URL is removed */
19
- onRemoveRemote?: (url: string) => void;
20
- };
21
- export declare const EnhancedDropzone: React.FC<EnhancedDropzoneProps>;