@psnext/design-system 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +126 -0
- package/dist/AiChatPanel.cjs +1603 -0
- package/dist/AiChatPanel.cjs.map +1 -0
- package/dist/AiChatPanel.js +1526 -0
- package/dist/AiChatPanel.js.map +1 -0
- package/dist/BodhiLogo.cjs +240 -0
- package/dist/BodhiLogo.cjs.map +1 -0
- package/dist/BodhiLogo.js +194 -0
- package/dist/BodhiLogo.js.map +1 -0
- package/dist/Skeleton.cjs +19 -0
- package/dist/Skeleton.cjs.map +1 -0
- package/dist/Skeleton.js +14 -0
- package/dist/Skeleton.js.map +1 -0
- package/dist/SustainLogo.cjs +415 -0
- package/dist/SustainLogo.cjs.map +1 -0
- package/dist/SustainLogo.js +378 -0
- package/dist/SustainLogo.js.map +1 -0
- package/dist/contexts/index.cjs +60 -0
- package/dist/contexts/index.cjs.map +1 -0
- package/dist/contexts/index.d.cts +23 -0
- package/dist/contexts/index.d.cts.map +1 -0
- package/dist/contexts/index.d.ts +23 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/contexts/index.js +58 -0
- package/dist/contexts/index.js.map +1 -0
- package/dist/index.cjs +273 -0
- package/dist/index.d.cts +1440 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +1440 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index2.d.cts +16 -0
- package/dist/index2.d.cts.map +1 -0
- package/dist/index2.d.ts +16 -0
- package/dist/index2.d.ts.map +1 -0
- package/dist/layouts/index.cjs +13 -0
- package/dist/layouts/index.d.cts +133 -0
- package/dist/layouts/index.d.cts.map +1 -0
- package/dist/layouts/index.d.ts +133 -0
- package/dist/layouts/index.d.ts.map +1 -0
- package/dist/layouts/index.js +2 -0
- package/dist/layouts.cjs +3245 -0
- package/dist/layouts.cjs.map +1 -0
- package/dist/layouts.js +3180 -0
- package/dist/layouts.js.map +1 -0
- package/dist/patterns/index.cjs +7375 -0
- package/dist/patterns/index.cjs.map +1 -0
- package/dist/patterns/index.d.cts +418 -0
- package/dist/patterns/index.d.cts.map +1 -0
- package/dist/patterns/index.d.ts +418 -0
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/patterns/index.js +7344 -0
- package/dist/patterns/index.js.map +1 -0
- package/dist/primitives/index.cjs +256 -0
- package/dist/primitives/index.d.cts +2 -0
- package/dist/primitives/index.d.ts +2 -0
- package/dist/primitives/index.js +5 -0
- package/dist/primitives.cjs +4292 -0
- package/dist/primitives.cjs.map +1 -0
- package/dist/primitives.js +2807 -0
- package/dist/primitives.js.map +1 -0
- package/dist/styles/base/colors.css +300 -0
- package/dist/styles/base/component-tokens.css +240 -0
- package/dist/styles/base/elevation.css +7 -0
- package/dist/styles/base/fonts.css +14 -0
- package/dist/styles/base/global.css +305 -0
- package/dist/styles/base/radius.css +22 -0
- package/dist/styles/base/semantic-aliases.css +53 -0
- package/dist/styles/base/spacing.css +33 -0
- package/dist/styles/base/typography.css +48 -0
- package/dist/styles/generated/bodhi-vars.css +34 -0
- package/dist/styles/generated/dark.css +87 -0
- package/dist/styles/generated/light.css +87 -0
- package/dist/styles/generated/slingshot-vars.css +34 -0
- package/dist/styles/generated/sustain-vars.css +34 -0
- package/dist/styles/index.css +32 -0
- package/dist/styles/theme.css +65 -0
- package/dist/styles/themes/bodhi.css +166 -0
- package/dist/styles/themes/slingshot.css +144 -0
- package/dist/styles/themes/sustain.css +130 -0
- package/package.json +131 -0
|
@@ -0,0 +1,4292 @@
|
|
|
1
|
+
const require_BodhiLogo = require("./BodhiLogo.cjs");
|
|
2
|
+
const require_Skeleton = require("./Skeleton.cjs");
|
|
3
|
+
const require_SustainLogo = require("./SustainLogo.cjs");
|
|
4
|
+
let _radix_ui_react_accordion = require("@radix-ui/react-accordion");
|
|
5
|
+
_radix_ui_react_accordion = require_BodhiLogo.__toESM(_radix_ui_react_accordion);
|
|
6
|
+
let lucide_react = require("lucide-react");
|
|
7
|
+
let react = require("react");
|
|
8
|
+
react = require_BodhiLogo.__toESM(react);
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
+
let class_variance_authority = require("class-variance-authority");
|
|
11
|
+
let _radix_ui_react_alert_dialog = require("@radix-ui/react-alert-dialog");
|
|
12
|
+
_radix_ui_react_alert_dialog = require_BodhiLogo.__toESM(_radix_ui_react_alert_dialog);
|
|
13
|
+
let _radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
14
|
+
let _radix_ui_react_aspect_ratio = require("@radix-ui/react-aspect-ratio");
|
|
15
|
+
_radix_ui_react_aspect_ratio = require_BodhiLogo.__toESM(_radix_ui_react_aspect_ratio);
|
|
16
|
+
let _radix_ui_react_avatar = require("@radix-ui/react-avatar");
|
|
17
|
+
_radix_ui_react_avatar = require_BodhiLogo.__toESM(_radix_ui_react_avatar);
|
|
18
|
+
let react_day_picker = require("react-day-picker");
|
|
19
|
+
let embla_carousel_react = require("embla-carousel-react");
|
|
20
|
+
embla_carousel_react = require_BodhiLogo.__toESM(embla_carousel_react);
|
|
21
|
+
let recharts = require("recharts");
|
|
22
|
+
recharts = require_BodhiLogo.__toESM(recharts);
|
|
23
|
+
let _radix_ui_react_checkbox = require("@radix-ui/react-checkbox");
|
|
24
|
+
_radix_ui_react_checkbox = require_BodhiLogo.__toESM(_radix_ui_react_checkbox);
|
|
25
|
+
let _radix_ui_react_collapsible = require("@radix-ui/react-collapsible");
|
|
26
|
+
_radix_ui_react_collapsible = require_BodhiLogo.__toESM(_radix_ui_react_collapsible);
|
|
27
|
+
let cmdk = require("cmdk");
|
|
28
|
+
let _radix_ui_react_dialog = require("@radix-ui/react-dialog");
|
|
29
|
+
_radix_ui_react_dialog = require_BodhiLogo.__toESM(_radix_ui_react_dialog);
|
|
30
|
+
let _radix_ui_react_context_menu = require("@radix-ui/react-context-menu");
|
|
31
|
+
_radix_ui_react_context_menu = require_BodhiLogo.__toESM(_radix_ui_react_context_menu);
|
|
32
|
+
let vaul = require("vaul");
|
|
33
|
+
let _radix_ui_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
|
|
34
|
+
_radix_ui_react_dropdown_menu = require_BodhiLogo.__toESM(_radix_ui_react_dropdown_menu);
|
|
35
|
+
let react_hook_form = require("react-hook-form");
|
|
36
|
+
let _radix_ui_react_label = require("@radix-ui/react-label");
|
|
37
|
+
_radix_ui_react_label = require_BodhiLogo.__toESM(_radix_ui_react_label);
|
|
38
|
+
let _radix_ui_react_hover_card = require("@radix-ui/react-hover-card");
|
|
39
|
+
_radix_ui_react_hover_card = require_BodhiLogo.__toESM(_radix_ui_react_hover_card);
|
|
40
|
+
let input_otp = require("input-otp");
|
|
41
|
+
let _radix_ui_react_menubar = require("@radix-ui/react-menubar");
|
|
42
|
+
_radix_ui_react_menubar = require_BodhiLogo.__toESM(_radix_ui_react_menubar);
|
|
43
|
+
let _radix_ui_react_navigation_menu = require("@radix-ui/react-navigation-menu");
|
|
44
|
+
_radix_ui_react_navigation_menu = require_BodhiLogo.__toESM(_radix_ui_react_navigation_menu);
|
|
45
|
+
let _radix_ui_react_popover = require("@radix-ui/react-popover");
|
|
46
|
+
_radix_ui_react_popover = require_BodhiLogo.__toESM(_radix_ui_react_popover);
|
|
47
|
+
let _radix_ui_react_progress = require("@radix-ui/react-progress");
|
|
48
|
+
_radix_ui_react_progress = require_BodhiLogo.__toESM(_radix_ui_react_progress);
|
|
49
|
+
let _radix_ui_react_radio_group = require("@radix-ui/react-radio-group");
|
|
50
|
+
_radix_ui_react_radio_group = require_BodhiLogo.__toESM(_radix_ui_react_radio_group);
|
|
51
|
+
let react_resizable_panels = require("react-resizable-panels");
|
|
52
|
+
react_resizable_panels = require_BodhiLogo.__toESM(react_resizable_panels);
|
|
53
|
+
let _radix_ui_react_scroll_area = require("@radix-ui/react-scroll-area");
|
|
54
|
+
_radix_ui_react_scroll_area = require_BodhiLogo.__toESM(_radix_ui_react_scroll_area);
|
|
55
|
+
let _radix_ui_react_select = require("@radix-ui/react-select");
|
|
56
|
+
_radix_ui_react_select = require_BodhiLogo.__toESM(_radix_ui_react_select);
|
|
57
|
+
let _radix_ui_react_separator = require("@radix-ui/react-separator");
|
|
58
|
+
_radix_ui_react_separator = require_BodhiLogo.__toESM(_radix_ui_react_separator);
|
|
59
|
+
let _radix_ui_react_slider = require("@radix-ui/react-slider");
|
|
60
|
+
_radix_ui_react_slider = require_BodhiLogo.__toESM(_radix_ui_react_slider);
|
|
61
|
+
let sonner = require("sonner");
|
|
62
|
+
let _radix_ui_react_switch = require("@radix-ui/react-switch");
|
|
63
|
+
_radix_ui_react_switch = require_BodhiLogo.__toESM(_radix_ui_react_switch);
|
|
64
|
+
let _radix_ui_react_tabs = require("@radix-ui/react-tabs");
|
|
65
|
+
_radix_ui_react_tabs = require_BodhiLogo.__toESM(_radix_ui_react_tabs);
|
|
66
|
+
let _radix_ui_react_toggle = require("@radix-ui/react-toggle");
|
|
67
|
+
_radix_ui_react_toggle = require_BodhiLogo.__toESM(_radix_ui_react_toggle);
|
|
68
|
+
let _radix_ui_react_toggle_group = require("@radix-ui/react-toggle-group");
|
|
69
|
+
_radix_ui_react_toggle_group = require_BodhiLogo.__toESM(_radix_ui_react_toggle_group);
|
|
70
|
+
//#region src/primitives/Accordion/Accordion.tsx
|
|
71
|
+
function Accordion({ ...props }) {
|
|
72
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_accordion.Root, {
|
|
73
|
+
"data-slot": "accordion",
|
|
74
|
+
...props
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function AccordionItem({ className, ...props }) {
|
|
78
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_accordion.Item, {
|
|
79
|
+
"data-slot": "accordion-item",
|
|
80
|
+
className: require_BodhiLogo.cn("border-b last:border-b-0", className),
|
|
81
|
+
...props
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function AccordionTrigger({ className, children, ...props }) {
|
|
85
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_accordion.Header, {
|
|
86
|
+
className: "flex",
|
|
87
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_accordion.Trigger, {
|
|
88
|
+
"data-slot": "accordion-trigger",
|
|
89
|
+
className: require_BodhiLogo.cn("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", className),
|
|
90
|
+
...props,
|
|
91
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })]
|
|
92
|
+
})
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function AccordionContent({ className, children, ...props }) {
|
|
96
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_accordion.Content, {
|
|
97
|
+
"data-slot": "accordion-content",
|
|
98
|
+
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
99
|
+
...props,
|
|
100
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
101
|
+
className: require_BodhiLogo.cn("pt-0 pb-4", className),
|
|
102
|
+
children
|
|
103
|
+
})
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/primitives/Alert/Alert.tsx
|
|
108
|
+
const alertVariants = (0, class_variance_authority.cva)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
109
|
+
variants: { variant: {
|
|
110
|
+
default: "bg-card text-card-foreground",
|
|
111
|
+
destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
|
|
112
|
+
} },
|
|
113
|
+
defaultVariants: { variant: "default" }
|
|
114
|
+
});
|
|
115
|
+
function Alert({ className, variant, ...props }) {
|
|
116
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
117
|
+
"data-slot": "alert",
|
|
118
|
+
role: "alert",
|
|
119
|
+
className: require_BodhiLogo.cn(alertVariants({ variant }), className),
|
|
120
|
+
...props
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function AlertTitle({ className, ...props }) {
|
|
124
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h5", {
|
|
125
|
+
"data-slot": "alert-title",
|
|
126
|
+
className: require_BodhiLogo.cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className),
|
|
127
|
+
...props
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
function AlertDescription({ className, ...props }) {
|
|
131
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
132
|
+
"data-slot": "alert-description",
|
|
133
|
+
className: require_BodhiLogo.cn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", className),
|
|
134
|
+
...props
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/primitives/Button/Button.tsx
|
|
139
|
+
const buttonVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-[background-color,color,border-color,box-shadow,opacity,transform] duration-150 ease-out active:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 disabled:active:scale-100 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
|
|
140
|
+
variants: {
|
|
141
|
+
variant: {
|
|
142
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
143
|
+
destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
144
|
+
outline: "border bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
145
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
146
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
147
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
148
|
+
},
|
|
149
|
+
size: {
|
|
150
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
151
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
152
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
153
|
+
icon: "size-9 rounded-md"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
defaultVariants: {
|
|
157
|
+
variant: "default",
|
|
158
|
+
size: "default"
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
function Button({ className, variant, size, asChild = false, ...props }) {
|
|
162
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "button", {
|
|
163
|
+
"data-slot": "button",
|
|
164
|
+
className: require_BodhiLogo.cn(buttonVariants({
|
|
165
|
+
variant,
|
|
166
|
+
size,
|
|
167
|
+
className
|
|
168
|
+
})),
|
|
169
|
+
...props
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/primitives/AlertDialog/AlertDialog.tsx
|
|
174
|
+
function AlertDialog({ ...props }) {
|
|
175
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Root, {
|
|
176
|
+
"data-slot": "alert-dialog",
|
|
177
|
+
...props
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
function AlertDialogTrigger({ ...props }) {
|
|
181
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Trigger, {
|
|
182
|
+
"data-slot": "alert-dialog-trigger",
|
|
183
|
+
...props
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
function AlertDialogPortal({ ...props }) {
|
|
187
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Portal, {
|
|
188
|
+
"data-slot": "alert-dialog-portal",
|
|
189
|
+
...props
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
function AlertDialogOverlay({ className, ...props }) {
|
|
193
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Overlay, {
|
|
194
|
+
"data-slot": "alert-dialog-overlay",
|
|
195
|
+
className: require_BodhiLogo.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-[var(--overlay)]", className),
|
|
196
|
+
...props
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
function AlertDialogContent({ className, ...props }) {
|
|
200
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AlertDialogPortal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlertDialogOverlay, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Content, {
|
|
201
|
+
"data-slot": "alert-dialog-content",
|
|
202
|
+
className: require_BodhiLogo.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),
|
|
203
|
+
...props
|
|
204
|
+
})] });
|
|
205
|
+
}
|
|
206
|
+
function AlertDialogHeader({ className, ...props }) {
|
|
207
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
208
|
+
"data-slot": "alert-dialog-header",
|
|
209
|
+
className: require_BodhiLogo.cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
210
|
+
...props
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function AlertDialogFooter({ className, ...props }) {
|
|
214
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
215
|
+
"data-slot": "alert-dialog-footer",
|
|
216
|
+
className: require_BodhiLogo.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
217
|
+
...props
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
function AlertDialogTitle({ className, ...props }) {
|
|
221
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Title, {
|
|
222
|
+
"data-slot": "alert-dialog-title",
|
|
223
|
+
className: require_BodhiLogo.cn("text-lg font-semibold", className),
|
|
224
|
+
...props
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
function AlertDialogDescription({ className, ...props }) {
|
|
228
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Description, {
|
|
229
|
+
"data-slot": "alert-dialog-description",
|
|
230
|
+
className: require_BodhiLogo.cn("text-muted-foreground text-sm", className),
|
|
231
|
+
...props
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
function AlertDialogAction({ className, variant = "default", ...props }) {
|
|
235
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Action, {
|
|
236
|
+
className: require_BodhiLogo.cn(buttonVariants({ variant }), className),
|
|
237
|
+
...props
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
function AlertDialogCancel({ className, ...props }) {
|
|
241
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_alert_dialog.Cancel, {
|
|
242
|
+
className: require_BodhiLogo.cn(buttonVariants({ variant: "outline" }), className),
|
|
243
|
+
...props
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/primitives/AspectRatio/AspectRatio.tsx
|
|
248
|
+
function AspectRatio({ className, ...props }) {
|
|
249
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_aspect_ratio.Root, {
|
|
250
|
+
"data-slot": "aspect-ratio",
|
|
251
|
+
className: require_BodhiLogo.cn(className),
|
|
252
|
+
...props
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
//#endregion
|
|
256
|
+
//#region src/primitives/Avatar/Avatar.tsx
|
|
257
|
+
function Avatar({ className, ...props }) {
|
|
258
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_avatar.Root, {
|
|
259
|
+
"data-slot": "avatar",
|
|
260
|
+
className: require_BodhiLogo.cn("relative flex size-10 shrink-0 overflow-hidden rounded-full", className),
|
|
261
|
+
...props
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
function AvatarImage({ className, ...props }) {
|
|
265
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_avatar.Image, {
|
|
266
|
+
"data-slot": "avatar-image",
|
|
267
|
+
className: require_BodhiLogo.cn("aspect-square size-full", className),
|
|
268
|
+
...props
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
function AvatarFallback({ className, ...props }) {
|
|
272
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_avatar.Fallback, {
|
|
273
|
+
"data-slot": "avatar-fallback",
|
|
274
|
+
className: require_BodhiLogo.cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
275
|
+
...props
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
//#endregion
|
|
279
|
+
//#region src/primitives/Badge/Badge.tsx
|
|
280
|
+
const badgeVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
|
|
281
|
+
variants: { variant: {
|
|
282
|
+
default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
283
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
284
|
+
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
285
|
+
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
286
|
+
} },
|
|
287
|
+
defaultVariants: { variant: "default" }
|
|
288
|
+
});
|
|
289
|
+
function Badge({ className, variant, asChild = false, ...props }) {
|
|
290
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "span", {
|
|
291
|
+
"data-slot": "badge",
|
|
292
|
+
className: require_BodhiLogo.cn(badgeVariants({ variant }), className),
|
|
293
|
+
...props
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
//#endregion
|
|
297
|
+
//#region src/primitives/BodhiIcon/BodhiIcon.tsx
|
|
298
|
+
function BodhiIcon({ isDarkMode = false }) {
|
|
299
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
300
|
+
width: "64",
|
|
301
|
+
height: "64",
|
|
302
|
+
viewBox: "0 0 64 64",
|
|
303
|
+
fill: "none",
|
|
304
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
305
|
+
style: { fill: "var(--color-red-500)" },
|
|
306
|
+
children: [
|
|
307
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
308
|
+
d: "M63.3 32.5c0 17.32-14.06 32.05-31.4 32.05C14.55 64.55.5 49.82.5 32.5A31.4 31.4 0 0 1 31.9 1.13 31.4 31.4 0 0 1 63.3 32.5",
|
|
309
|
+
fill: "white"
|
|
310
|
+
}),
|
|
311
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M32 .55a32 32 0 0 1 2.64 63.9l-.79-11.57.4-1.01 8.6-8.79a2.38 2.38 0 0 0 4.42-.85l8.54-.87a2.39 2.39 0 1 0 2.74-2.9l.17-9.7c.9-.04 1.6-.75 1.6-1.68a1.69 1.69 0 0 0-2.59-1.42L52.1 18a2.28 2.28 0 0 0-3.36-3.09l-4.88-4.22q.1-.28.1-.59a1.69 1.69 0 0 0-3.17-.8l-6.55-1.27a1.69 1.69 0 0 0-3.32-.01l-6.6 1.29a1.7 1.7 0 0 0-3.08 1.38l-4.88 4.22q-.23-.24-.55-.42a2.29 2.29 0 0 0-2.8 3.51l-5.64 7.66a1.7 1.7 0 0 0-.91-.27 1.69 1.69 0 0 0-.08 3.37l.17 9.85a2.39 2.39 0 1 0 3.26 2.8l8.02.82a2.38 2.38 0 0 0 4.06 1.34l8.4 9.04-.78 11.86C13 63.2 0 50.24 0 32.56a32 32 0 0 1 32-32" }),
|
|
312
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M40.52 35.07a2.4 2.4 0 0 0 1.97.3l1.43 4.35c-.82.37-1.4 1.2-1.4 2.17v.07l-8.9 6.9-.2-7.96z" }),
|
|
313
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m30.84 40.87-.42 7.95-7.96-6.2a2.37 2.37 0 0 0-1.28-2.9l1.5-4.54c.62 0 1.2-.25 1.62-.65z" }),
|
|
314
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12.55 33.23a2.6 2.6 0 0 0 2.65.18l3.71 6.47a2.4 2.4 0 0 0-1.1 2.13l-7.95-.81q.04-.2.04-.4c0-.95-.55-1.76-1.35-2.15z" }),
|
|
315
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M56.68 38.9a2.4 2.4 0 0 0-.91 2.25l-8.48.86v-.12c0-.85-.44-1.59-1.1-2.01l3.7-6.47a2.6 2.6 0 0 0 2.63-.16z" }),
|
|
316
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M39.82 31.79a2.4 2.4 0 0 0 .52 3.15l-6.93 5.69-.28-11.4q.49-.24.81-.64z" }),
|
|
317
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M30.6 28.93q.38.3.84.43l-.59 11.22-6.4-6.2a2.4 2.4 0 0 0 .47-2.36z" }),
|
|
318
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20.28 32.92c.07 1.19 1 2.14 2.17 2.25l-1.47 4.47a2.4 2.4 0 0 0-1.88.13l-3.7-6.47q.57-.35.91-.94z" }),
|
|
319
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M48.78 32.36q.35.59.92.94L46 39.77a2 2 0 0 0-.8-.25l-.3-.02q-.4 0-.78.14L42.7 35.3c.89-.35 1.52-1.21 1.52-2.23v-.06z" }),
|
|
320
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M57.25 28.04c.28.4.73.68 1.25.72l-.17 9.66h-.2q-.68 0-1.21.32l-4.17-5.66a2.6 2.6 0 0 0 .84-2.84z" }),
|
|
321
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M11.5 30.24a2.6 2.6 0 0 0 .87 2.86l-4.02 5.47a2.4 2.4 0 0 0-1.59-.04l-.17-9.77c.52-.04.97-.32 1.25-.72z" }),
|
|
322
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M49.21 29.17a2.6 2.6 0 0 0-.53 2.99l-4.49.64a2.4 2.4 0 0 0-1.33-1.87l.85-8.06h.02q.5-.01.88-.25z" }),
|
|
323
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20.49 22.62q.4.24.88.25h.02l.8 7.58a2.4 2.4 0 0 0-1.9 2.25l-3.87-.54a2.6 2.6 0 0 0-.53-3z" }),
|
|
324
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M29.83 26.32a2.4 2.4 0 0 0 .55 2.4l-5.57 3.04a2.4 2.4 0 0 0-2.41-1.34l-.8-7.57q.55-.08.93-.44z" }),
|
|
325
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M42.57 22.41q.38.37.93.45l-.84 7.98a2.4 2.4 0 0 0-2.54.57l-.18.2-5.87-3.2a2.4 2.4 0 0 0 .4-1.66z" }),
|
|
326
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M48.4 17.6a2.3 2.3 0 0 0 2.9.99l.2-.1q.25-.14.44-.33l5.62 7.63a1.7 1.7 0 0 0-.42 2.06l-3.62 2.18a2.64 2.64 0 0 0-4.15-1L44.8 22.5a1.7 1.7 0 0 0 .32-2.28z" }),
|
|
327
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M19.98 20.22a1.7 1.7 0 0 0 .33 2.28l-4.58 6.52a2.63 2.63 0 0 0-4.15 1.01l-3.62-2.18a1.7 1.7 0 0 0-.42-2.06l5.61-7.63q.2.18.45.32c1.1.61 2.48.22 3.1-.88z" }),
|
|
328
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m42.06 20.92-.02.27q.01.61.38 1.06l-8 4.28a2.4 2.4 0 0 0-1.91-1.81l.08-4.14c.83 0 1.51-.6 1.65-1.4z" }),
|
|
329
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M30.94 19.3c.16.67.73 1.19 1.44 1.27l-.08 4.12-.2-.01c-.98 0-1.82.6-2.19 1.44l-7.23-3.87a1.7 1.7 0 0 0 .36-1.3z" }),
|
|
330
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M21.33 10.9c.25.46.71.8 1.26.87l.23.02c.48 0 .9-.2 1.21-.51l7.42 6.37a1.7 1.7 0 0 0-.55 1.43L23 20.74a1.69 1.69 0 0 0-2.88-.69L16.8 17.4c.34-.78.21-1.68-.3-2.33z" }),
|
|
331
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M48.6 15.07c-.51.65-.64 1.54-.3 2.33l-3.32 2.65a1.68 1.68 0 0 0-2.87.66l-7.85-1.75v-.06q0-.54-.29-.96l7.15-6.61a1.68 1.68 0 0 0 2.65-.44z" }),
|
|
332
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M40.7 9.5a1.7 1.7 0 0 0 .27 1.67l-7.13 6.6c-.3-.32-.72-.54-1.19-.56L32.8 10c.83-.11 1.48-.82 1.48-1.68v-.06z" }),
|
|
333
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M30.89 8.32c0 .93.75 1.68 1.69 1.68l-.14 7.22q-.46.04-.82.29l-7.45-6.4a1.7 1.7 0 0 0 .23-1.6l6.5-1.27z" })
|
|
334
|
+
]
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/primitives/Breadcrumb/Breadcrumb.tsx
|
|
339
|
+
function Breadcrumb({ ...props }) {
|
|
340
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("nav", {
|
|
341
|
+
"aria-label": "breadcrumb",
|
|
342
|
+
"data-slot": "breadcrumb",
|
|
343
|
+
...props
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
function BreadcrumbList({ className, ...props }) {
|
|
347
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ol", {
|
|
348
|
+
"data-slot": "breadcrumb-list",
|
|
349
|
+
className: require_BodhiLogo.cn("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", className),
|
|
350
|
+
...props
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
function BreadcrumbItem({ className, ...props }) {
|
|
354
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
355
|
+
"data-slot": "breadcrumb-item",
|
|
356
|
+
className: require_BodhiLogo.cn("inline-flex items-center gap-1.5", className),
|
|
357
|
+
...props
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
function BreadcrumbLink({ asChild, className, ...props }) {
|
|
361
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "a", {
|
|
362
|
+
"data-slot": "breadcrumb-link",
|
|
363
|
+
className: require_BodhiLogo.cn("hover:text-foreground transition-colors", className),
|
|
364
|
+
...props
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
function BreadcrumbPage({ className, ...props }) {
|
|
368
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
369
|
+
"data-slot": "breadcrumb-page",
|
|
370
|
+
"aria-current": "page",
|
|
371
|
+
className: require_BodhiLogo.cn("text-foreground font-normal", className),
|
|
372
|
+
...props
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
function BreadcrumbSeparator({ children, className, ...props }) {
|
|
376
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
377
|
+
"data-slot": "breadcrumb-separator",
|
|
378
|
+
role: "presentation",
|
|
379
|
+
"aria-hidden": "true",
|
|
380
|
+
className: require_BodhiLogo.cn("[&>svg]:size-3.5", className),
|
|
381
|
+
...props,
|
|
382
|
+
children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, {})
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
function BreadcrumbEllipsis({ className, ...props }) {
|
|
386
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
387
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
388
|
+
role: "presentation",
|
|
389
|
+
"aria-hidden": "true",
|
|
390
|
+
className: require_BodhiLogo.cn("flex size-9 items-center justify-center", className),
|
|
391
|
+
...props,
|
|
392
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MoreHorizontal, { className: "size-4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
393
|
+
className: "sr-only",
|
|
394
|
+
children: "More"
|
|
395
|
+
})]
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region src/primitives/Calendar/Calendar.tsx
|
|
400
|
+
function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
401
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_day_picker.DayPicker, {
|
|
402
|
+
showOutsideDays,
|
|
403
|
+
className: require_BodhiLogo.cn("p-3", className),
|
|
404
|
+
classNames: {
|
|
405
|
+
months: "flex flex-col sm:flex-row gap-2",
|
|
406
|
+
month: "flex flex-col gap-4",
|
|
407
|
+
caption: "flex justify-center pt-1 relative items-center w-full",
|
|
408
|
+
caption_label: "text-sm font-medium",
|
|
409
|
+
nav: "flex items-center gap-1",
|
|
410
|
+
nav_button: require_BodhiLogo.cn(buttonVariants({ variant: "outline" }), "size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),
|
|
411
|
+
nav_button_previous: "absolute left-1",
|
|
412
|
+
nav_button_next: "absolute right-1",
|
|
413
|
+
table: "w-full border-collapse space-x-1",
|
|
414
|
+
head_row: "flex",
|
|
415
|
+
head_cell: "text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",
|
|
416
|
+
row: "flex w-full mt-2",
|
|
417
|
+
cell: require_BodhiLogo.cn("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md", props.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"),
|
|
418
|
+
day: require_BodhiLogo.cn(buttonVariants({ variant: "ghost" }), "size-8 p-0 font-normal aria-selected:opacity-100"),
|
|
419
|
+
day_range_start: "day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",
|
|
420
|
+
day_range_end: "day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",
|
|
421
|
+
day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
422
|
+
day_today: "bg-accent text-accent-foreground",
|
|
423
|
+
day_outside: "day-outside text-muted-foreground aria-selected:text-muted-foreground",
|
|
424
|
+
day_disabled: "text-muted-foreground opacity-50",
|
|
425
|
+
day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
|
|
426
|
+
day_hidden: "invisible",
|
|
427
|
+
...classNames
|
|
428
|
+
},
|
|
429
|
+
components: {
|
|
430
|
+
IconLeft: ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronLeft, {
|
|
431
|
+
className: require_BodhiLogo.cn("size-4", className),
|
|
432
|
+
...props
|
|
433
|
+
}),
|
|
434
|
+
IconRight: ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, {
|
|
435
|
+
className: require_BodhiLogo.cn("size-4", className),
|
|
436
|
+
...props
|
|
437
|
+
})
|
|
438
|
+
},
|
|
439
|
+
...props
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region src/primitives/Card/Card.tsx
|
|
444
|
+
function Card({ className, ...props }) {
|
|
445
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
446
|
+
"data-slot": "card",
|
|
447
|
+
className: require_BodhiLogo.cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border", className),
|
|
448
|
+
...props
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
function CardHeader({ className, ...props }) {
|
|
452
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
453
|
+
"data-slot": "card-header",
|
|
454
|
+
className: require_BodhiLogo.cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 pt-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className),
|
|
455
|
+
...props
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
function CardTitle({ className, ...props }) {
|
|
459
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", {
|
|
460
|
+
"data-slot": "card-title",
|
|
461
|
+
className: require_BodhiLogo.cn("leading-none", className),
|
|
462
|
+
...props
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
function CardDescription({ className, ...props }) {
|
|
466
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
467
|
+
"data-slot": "card-description",
|
|
468
|
+
className: require_BodhiLogo.cn("text-muted-foreground", className),
|
|
469
|
+
...props
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
function CardAction({ className, ...props }) {
|
|
473
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
474
|
+
"data-slot": "card-action",
|
|
475
|
+
className: require_BodhiLogo.cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className),
|
|
476
|
+
...props
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
function CardContent({ className, ...props }) {
|
|
480
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
481
|
+
"data-slot": "card-content",
|
|
482
|
+
className: require_BodhiLogo.cn("px-6 [&:last-child]:pb-6", className),
|
|
483
|
+
...props
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
function CardFooter({ className, ...props }) {
|
|
487
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
488
|
+
"data-slot": "card-footer",
|
|
489
|
+
className: require_BodhiLogo.cn("flex items-center px-6 pb-6 [.border-t]:pt-6", className),
|
|
490
|
+
...props
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
//#endregion
|
|
494
|
+
//#region src/primitives/Carousel/Carousel.tsx
|
|
495
|
+
const CarouselContext = react.createContext(null);
|
|
496
|
+
function useCarousel() {
|
|
497
|
+
const context = react.useContext(CarouselContext);
|
|
498
|
+
if (!context) throw new Error("useCarousel must be used within a <Carousel />");
|
|
499
|
+
return context;
|
|
500
|
+
}
|
|
501
|
+
function Carousel({ orientation = "horizontal", opts, setApi, plugins, className, children, ...props }) {
|
|
502
|
+
const [carouselRef, api] = (0, embla_carousel_react.default)({
|
|
503
|
+
...opts,
|
|
504
|
+
axis: orientation === "horizontal" ? "x" : "y"
|
|
505
|
+
}, plugins);
|
|
506
|
+
const [canScrollPrev, setCanScrollPrev] = react.useState(false);
|
|
507
|
+
const [canScrollNext, setCanScrollNext] = react.useState(false);
|
|
508
|
+
const onSelect = react.useCallback((api) => {
|
|
509
|
+
if (!api) return;
|
|
510
|
+
setCanScrollPrev(api.canScrollPrev());
|
|
511
|
+
setCanScrollNext(api.canScrollNext());
|
|
512
|
+
}, []);
|
|
513
|
+
const scrollPrev = react.useCallback(() => {
|
|
514
|
+
api?.scrollPrev();
|
|
515
|
+
}, [api]);
|
|
516
|
+
const scrollNext = react.useCallback(() => {
|
|
517
|
+
api?.scrollNext();
|
|
518
|
+
}, [api]);
|
|
519
|
+
const handleKeyDown = react.useCallback((event) => {
|
|
520
|
+
if (event.key === "ArrowLeft") {
|
|
521
|
+
event.preventDefault();
|
|
522
|
+
scrollPrev();
|
|
523
|
+
} else if (event.key === "ArrowRight") {
|
|
524
|
+
event.preventDefault();
|
|
525
|
+
scrollNext();
|
|
526
|
+
}
|
|
527
|
+
}, [scrollPrev, scrollNext]);
|
|
528
|
+
react.useEffect(() => {
|
|
529
|
+
if (!api || !setApi) return;
|
|
530
|
+
setApi(api);
|
|
531
|
+
}, [api, setApi]);
|
|
532
|
+
react.useEffect(() => {
|
|
533
|
+
if (!api) return;
|
|
534
|
+
onSelect(api);
|
|
535
|
+
api.on("reInit", onSelect);
|
|
536
|
+
api.on("select", onSelect);
|
|
537
|
+
return () => {
|
|
538
|
+
api?.off("select", onSelect);
|
|
539
|
+
};
|
|
540
|
+
}, [api, onSelect]);
|
|
541
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CarouselContext.Provider, {
|
|
542
|
+
value: {
|
|
543
|
+
carouselRef,
|
|
544
|
+
api,
|
|
545
|
+
opts,
|
|
546
|
+
orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
|
|
547
|
+
scrollPrev,
|
|
548
|
+
scrollNext,
|
|
549
|
+
canScrollPrev,
|
|
550
|
+
canScrollNext
|
|
551
|
+
},
|
|
552
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
553
|
+
onKeyDownCapture: handleKeyDown,
|
|
554
|
+
className: require_BodhiLogo.cn("relative", className),
|
|
555
|
+
role: "region",
|
|
556
|
+
"aria-roledescription": "carousel",
|
|
557
|
+
"data-slot": "carousel",
|
|
558
|
+
...props,
|
|
559
|
+
children
|
|
560
|
+
})
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
function CarouselContent({ className, ...props }) {
|
|
564
|
+
const { carouselRef, orientation } = useCarousel();
|
|
565
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
566
|
+
ref: carouselRef,
|
|
567
|
+
className: "overflow-hidden",
|
|
568
|
+
"data-slot": "carousel-content",
|
|
569
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
570
|
+
className: require_BodhiLogo.cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className),
|
|
571
|
+
...props
|
|
572
|
+
})
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
function CarouselItem({ className, ...props }) {
|
|
576
|
+
const { orientation } = useCarousel();
|
|
577
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
578
|
+
role: "group",
|
|
579
|
+
"aria-roledescription": "slide",
|
|
580
|
+
"data-slot": "carousel-item",
|
|
581
|
+
className: require_BodhiLogo.cn("min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
|
|
582
|
+
...props
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
function CarouselPrevious({ className, variant = "outline", size = "icon", ...props }) {
|
|
586
|
+
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
587
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Button, {
|
|
588
|
+
"data-slot": "carousel-previous",
|
|
589
|
+
variant,
|
|
590
|
+
size,
|
|
591
|
+
className: require_BodhiLogo.cn("absolute size-8 rounded-full", orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", className),
|
|
592
|
+
disabled: !canScrollPrev,
|
|
593
|
+
onClick: scrollPrev,
|
|
594
|
+
...props,
|
|
595
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ArrowLeft, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
596
|
+
className: "sr-only",
|
|
597
|
+
children: "Previous slide"
|
|
598
|
+
})]
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
function CarouselNext({ className, variant = "outline", size = "icon", ...props }) {
|
|
602
|
+
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
603
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Button, {
|
|
604
|
+
"data-slot": "carousel-next",
|
|
605
|
+
variant,
|
|
606
|
+
size,
|
|
607
|
+
className: require_BodhiLogo.cn("absolute size-8 rounded-full", orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", className),
|
|
608
|
+
disabled: !canScrollNext,
|
|
609
|
+
onClick: scrollNext,
|
|
610
|
+
...props,
|
|
611
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ArrowRight, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
612
|
+
className: "sr-only",
|
|
613
|
+
children: "Next slide"
|
|
614
|
+
})]
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region src/primitives/Chart/Chart.tsx
|
|
619
|
+
const THEMES = {
|
|
620
|
+
light: "",
|
|
621
|
+
dark: ".dark"
|
|
622
|
+
};
|
|
623
|
+
const ChartContext = react.createContext(null);
|
|
624
|
+
function useChart() {
|
|
625
|
+
const context = react.useContext(ChartContext);
|
|
626
|
+
if (!context) throw new Error("useChart must be used within a <ChartContainer />");
|
|
627
|
+
return context;
|
|
628
|
+
}
|
|
629
|
+
function ChartContainer({ id, className, children, config, ...props }) {
|
|
630
|
+
const uniqueId = react.useId();
|
|
631
|
+
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
632
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChartContext.Provider, {
|
|
633
|
+
value: { config },
|
|
634
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
635
|
+
"data-slot": "chart",
|
|
636
|
+
"data-chart": chartId,
|
|
637
|
+
className: require_BodhiLogo.cn("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", className),
|
|
638
|
+
...props,
|
|
639
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChartStyle, {
|
|
640
|
+
id: chartId,
|
|
641
|
+
config
|
|
642
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(recharts.ResponsiveContainer, { children })]
|
|
643
|
+
})
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
const ChartStyle = ({ id, config }) => {
|
|
647
|
+
const colorConfig = Object.entries(config).filter(([, config]) => config.theme || config.color);
|
|
648
|
+
if (!colorConfig.length) return null;
|
|
649
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", { dangerouslySetInnerHTML: { __html: Object.entries(THEMES).map(([theme, prefix]) => `
|
|
650
|
+
${prefix} [data-chart=${id}] {
|
|
651
|
+
${colorConfig.map(([key, itemConfig]) => {
|
|
652
|
+
const color = itemConfig.theme?.[theme] || itemConfig.color;
|
|
653
|
+
return color ? ` --color-${key}: ${color};` : null;
|
|
654
|
+
}).join("\n")}
|
|
655
|
+
}
|
|
656
|
+
`).join("\n") } });
|
|
657
|
+
};
|
|
658
|
+
const ChartTooltip = recharts.Tooltip;
|
|
659
|
+
function ChartTooltipContent({ active, payload, className, indicator = "dot", hideLabel = false, hideIndicator = false, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey }) {
|
|
660
|
+
const { config } = useChart();
|
|
661
|
+
const tooltipLabel = react.useMemo(() => {
|
|
662
|
+
if (hideLabel || !payload?.length) return null;
|
|
663
|
+
const [item] = payload;
|
|
664
|
+
const itemConfig = getPayloadConfigFromPayload(config, item, `${labelKey || item?.dataKey || item?.name || "value"}`);
|
|
665
|
+
const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
|
|
666
|
+
if (labelFormatter) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
667
|
+
className: require_BodhiLogo.cn("font-medium", labelClassName),
|
|
668
|
+
children: labelFormatter(value, payload)
|
|
669
|
+
});
|
|
670
|
+
if (!value) return null;
|
|
671
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
672
|
+
className: require_BodhiLogo.cn("font-medium", labelClassName),
|
|
673
|
+
children: value
|
|
674
|
+
});
|
|
675
|
+
}, [
|
|
676
|
+
label,
|
|
677
|
+
labelFormatter,
|
|
678
|
+
payload,
|
|
679
|
+
hideLabel,
|
|
680
|
+
labelClassName,
|
|
681
|
+
config,
|
|
682
|
+
labelKey
|
|
683
|
+
]);
|
|
684
|
+
if (!active || !payload?.length) return null;
|
|
685
|
+
const nestLabel = payload.length === 1 && indicator !== "dot";
|
|
686
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
687
|
+
className: require_BodhiLogo.cn("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl", className),
|
|
688
|
+
children: [!nestLabel ? tooltipLabel : null, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
689
|
+
className: "grid gap-1.5",
|
|
690
|
+
children: payload.map((item, index) => {
|
|
691
|
+
const itemConfig = getPayloadConfigFromPayload(config, item, `${nameKey || item.name || item.dataKey || "value"}`);
|
|
692
|
+
const indicatorColor = color || item.payload.fill || item.color;
|
|
693
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
694
|
+
className: require_BodhiLogo.cn("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", indicator === "dot" && "items-center"),
|
|
695
|
+
children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [itemConfig?.icon ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
696
|
+
className: require_BodhiLogo.cn("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)", {
|
|
697
|
+
"h-2.5 w-2.5": indicator === "dot",
|
|
698
|
+
"w-1": indicator === "line",
|
|
699
|
+
"w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
|
|
700
|
+
"my-0.5": nestLabel && indicator === "dashed"
|
|
701
|
+
}),
|
|
702
|
+
style: {
|
|
703
|
+
"--color-bg": indicatorColor,
|
|
704
|
+
"--color-border": indicatorColor
|
|
705
|
+
}
|
|
706
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
707
|
+
className: require_BodhiLogo.cn("flex flex-1 justify-between leading-none", nestLabel ? "items-end" : "items-center"),
|
|
708
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
709
|
+
className: "grid gap-1.5",
|
|
710
|
+
children: [nestLabel ? tooltipLabel : null, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
711
|
+
className: "text-muted-foreground",
|
|
712
|
+
children: itemConfig?.label || item.name
|
|
713
|
+
})]
|
|
714
|
+
}), item.value && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
715
|
+
className: "text-foreground font-mono font-medium tabular-nums",
|
|
716
|
+
children: item.value.toLocaleString()
|
|
717
|
+
})]
|
|
718
|
+
})] })
|
|
719
|
+
}, item.dataKey);
|
|
720
|
+
})
|
|
721
|
+
})]
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
const ChartLegend = recharts.Legend;
|
|
725
|
+
function ChartLegendContent({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }) {
|
|
726
|
+
const { config } = useChart();
|
|
727
|
+
if (!payload?.length) return null;
|
|
728
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
729
|
+
className: require_BodhiLogo.cn("flex items-center justify-center gap-4", verticalAlign === "top" ? "pb-3" : "pt-3", className),
|
|
730
|
+
children: payload.map((item) => {
|
|
731
|
+
const itemConfig = getPayloadConfigFromPayload(config, item, `${nameKey || item.dataKey || "value"}`);
|
|
732
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
733
|
+
className: require_BodhiLogo.cn("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
|
|
734
|
+
children: [itemConfig?.icon && !hideIcon ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
735
|
+
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
736
|
+
style: { backgroundColor: item.color }
|
|
737
|
+
}), itemConfig?.label]
|
|
738
|
+
}, item.value);
|
|
739
|
+
})
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
function getPayloadConfigFromPayload(config, payload, key) {
|
|
743
|
+
if (typeof payload !== "object" || payload === null) return;
|
|
744
|
+
const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
|
|
745
|
+
let configLabelKey = key;
|
|
746
|
+
if (key in payload && typeof payload[key] === "string") configLabelKey = payload[key];
|
|
747
|
+
else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") configLabelKey = payloadPayload[key];
|
|
748
|
+
return configLabelKey in config ? config[configLabelKey] : config[key];
|
|
749
|
+
}
|
|
750
|
+
//#endregion
|
|
751
|
+
//#region src/primitives/Checkbox/Checkbox.tsx
|
|
752
|
+
function Checkbox({ className, ...props }) {
|
|
753
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Root, {
|
|
754
|
+
"data-slot": "checkbox",
|
|
755
|
+
className: require_BodhiLogo.cn("peer border bg-input-background dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
756
|
+
...props,
|
|
757
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Indicator, {
|
|
758
|
+
"data-slot": "checkbox-indicator",
|
|
759
|
+
className: "flex items-center justify-center text-current transition-none",
|
|
760
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-3.5" })
|
|
761
|
+
})
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
//#endregion
|
|
765
|
+
//#region src/primitives/Collapsible/Collapsible.tsx
|
|
766
|
+
function Collapsible({ ...props }) {
|
|
767
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_collapsible.Root, {
|
|
768
|
+
"data-slot": "collapsible",
|
|
769
|
+
...props
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
function CollapsibleTrigger({ ...props }) {
|
|
773
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_collapsible.CollapsibleTrigger, {
|
|
774
|
+
"data-slot": "collapsible-trigger",
|
|
775
|
+
...props
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
function CollapsibleContent({ ...props }) {
|
|
779
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_collapsible.CollapsibleContent, {
|
|
780
|
+
"data-slot": "collapsible-content",
|
|
781
|
+
...props
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
//#endregion
|
|
785
|
+
//#region src/primitives/Dialog/Dialog.tsx
|
|
786
|
+
function Dialog({ ...props }) {
|
|
787
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Root, {
|
|
788
|
+
"data-slot": "dialog",
|
|
789
|
+
...props
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
function DialogTrigger({ ...props }) {
|
|
793
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Trigger, {
|
|
794
|
+
"data-slot": "dialog-trigger",
|
|
795
|
+
...props
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
function DialogPortal({ ...props }) {
|
|
799
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Portal, {
|
|
800
|
+
"data-slot": "dialog-portal",
|
|
801
|
+
...props
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
function DialogClose({ ...props }) {
|
|
805
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Close, {
|
|
806
|
+
"data-slot": "dialog-close",
|
|
807
|
+
...props
|
|
808
|
+
});
|
|
809
|
+
}
|
|
810
|
+
function DialogOverlay({ className, ...props }) {
|
|
811
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Overlay, {
|
|
812
|
+
"data-slot": "dialog-overlay",
|
|
813
|
+
className: require_BodhiLogo.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-[var(--overlay)]", className),
|
|
814
|
+
...props
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
function DialogContent({ className, children, showCloseButton = true, ...props }) {
|
|
818
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DialogPortal, {
|
|
819
|
+
"data-slot": "dialog-portal",
|
|
820
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogOverlay, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Content, {
|
|
821
|
+
"data-slot": "dialog-content",
|
|
822
|
+
className: require_BodhiLogo.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),
|
|
823
|
+
...props,
|
|
824
|
+
children: [children, showCloseButton && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Close, {
|
|
825
|
+
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",
|
|
826
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.XIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
827
|
+
className: "sr-only",
|
|
828
|
+
children: "Close"
|
|
829
|
+
})]
|
|
830
|
+
})]
|
|
831
|
+
})]
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
function DialogHeader({ className, ...props }) {
|
|
835
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
836
|
+
"data-slot": "dialog-header",
|
|
837
|
+
className: require_BodhiLogo.cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
838
|
+
...props
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
function DialogFooter({ className, ...props }) {
|
|
842
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
843
|
+
"data-slot": "dialog-footer",
|
|
844
|
+
className: require_BodhiLogo.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
845
|
+
...props
|
|
846
|
+
});
|
|
847
|
+
}
|
|
848
|
+
function DialogTitle({ className, ...props }) {
|
|
849
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Title, {
|
|
850
|
+
"data-slot": "dialog-title",
|
|
851
|
+
className: require_BodhiLogo.cn("text-lg leading-none font-semibold", className),
|
|
852
|
+
...props
|
|
853
|
+
});
|
|
854
|
+
}
|
|
855
|
+
function DialogDescription({ className, ...props }) {
|
|
856
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Description, {
|
|
857
|
+
"data-slot": "dialog-description",
|
|
858
|
+
className: require_BodhiLogo.cn("text-muted-foreground text-sm", className),
|
|
859
|
+
...props
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
//#endregion
|
|
863
|
+
//#region src/primitives/Command/Command.tsx
|
|
864
|
+
function Command({ className, ...props }) {
|
|
865
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command, {
|
|
866
|
+
"data-slot": "command",
|
|
867
|
+
className: require_BodhiLogo.cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className),
|
|
868
|
+
...props
|
|
869
|
+
});
|
|
870
|
+
}
|
|
871
|
+
function CommandDialog({ title = "Command Palette", description = "Search for a command to run...", children, ...props }) {
|
|
872
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Dialog, {
|
|
873
|
+
...props,
|
|
874
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DialogHeader, {
|
|
875
|
+
className: "sr-only",
|
|
876
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogTitle, { children: title }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogDescription, { children: description })]
|
|
877
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogContent, {
|
|
878
|
+
className: "overflow-hidden p-0",
|
|
879
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Command, {
|
|
880
|
+
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",
|
|
881
|
+
children
|
|
882
|
+
})
|
|
883
|
+
})]
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
function CommandInput({ className, ...props }) {
|
|
887
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
888
|
+
"data-slot": "command-input-wrapper",
|
|
889
|
+
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
890
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.SearchIcon, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command.Input, {
|
|
891
|
+
"data-slot": "command-input",
|
|
892
|
+
className: require_BodhiLogo.cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
893
|
+
...props
|
|
894
|
+
})]
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
function CommandList({ className, ...props }) {
|
|
898
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command.List, {
|
|
899
|
+
"data-slot": "command-list",
|
|
900
|
+
className: require_BodhiLogo.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className),
|
|
901
|
+
...props
|
|
902
|
+
});
|
|
903
|
+
}
|
|
904
|
+
function CommandEmpty({ ...props }) {
|
|
905
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command.Empty, {
|
|
906
|
+
"data-slot": "command-empty",
|
|
907
|
+
className: "py-6 text-center text-sm",
|
|
908
|
+
...props
|
|
909
|
+
});
|
|
910
|
+
}
|
|
911
|
+
function CommandGroup({ className, ...props }) {
|
|
912
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command.Group, {
|
|
913
|
+
"data-slot": "command-group",
|
|
914
|
+
className: require_BodhiLogo.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),
|
|
915
|
+
...props
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
function CommandSeparator({ className, ...props }) {
|
|
919
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command.Separator, {
|
|
920
|
+
"data-slot": "command-separator",
|
|
921
|
+
className: require_BodhiLogo.cn("bg-border -mx-1 h-px", className),
|
|
922
|
+
...props
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
function CommandItem({ className, ...props }) {
|
|
926
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command.Item, {
|
|
927
|
+
"data-slot": "command-item",
|
|
928
|
+
className: require_BodhiLogo.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),
|
|
929
|
+
...props
|
|
930
|
+
});
|
|
931
|
+
}
|
|
932
|
+
function CommandShortcut({ className, ...props }) {
|
|
933
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
934
|
+
"data-slot": "command-shortcut",
|
|
935
|
+
className: require_BodhiLogo.cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
936
|
+
...props
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
//#endregion
|
|
940
|
+
//#region src/primitives/ContextMenu/ContextMenu.tsx
|
|
941
|
+
function ContextMenu({ ...props }) {
|
|
942
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Root, {
|
|
943
|
+
"data-slot": "context-menu",
|
|
944
|
+
...props
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
function ContextMenuTrigger({ ...props }) {
|
|
948
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Trigger, {
|
|
949
|
+
"data-slot": "context-menu-trigger",
|
|
950
|
+
...props
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
function ContextMenuGroup({ ...props }) {
|
|
954
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Group, {
|
|
955
|
+
"data-slot": "context-menu-group",
|
|
956
|
+
...props
|
|
957
|
+
});
|
|
958
|
+
}
|
|
959
|
+
function ContextMenuPortal({ ...props }) {
|
|
960
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Portal, {
|
|
961
|
+
"data-slot": "context-menu-portal",
|
|
962
|
+
...props
|
|
963
|
+
});
|
|
964
|
+
}
|
|
965
|
+
function ContextMenuSub({ ...props }) {
|
|
966
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Sub, {
|
|
967
|
+
"data-slot": "context-menu-sub",
|
|
968
|
+
...props
|
|
969
|
+
});
|
|
970
|
+
}
|
|
971
|
+
function ContextMenuRadioGroup({ ...props }) {
|
|
972
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.RadioGroup, {
|
|
973
|
+
"data-slot": "context-menu-radio-group",
|
|
974
|
+
...props
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
function ContextMenuSubTrigger({ className, inset, children, ...props }) {
|
|
978
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_context_menu.SubTrigger, {
|
|
979
|
+
"data-slot": "context-menu-sub-trigger",
|
|
980
|
+
"data-inset": inset,
|
|
981
|
+
className: require_BodhiLogo.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 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
982
|
+
...props,
|
|
983
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, { className: "ml-auto" })]
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
function ContextMenuSubContent({ className, ...props }) {
|
|
987
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.SubContent, {
|
|
988
|
+
"data-slot": "context-menu-sub-content",
|
|
989
|
+
className: require_BodhiLogo.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-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className),
|
|
990
|
+
...props
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
function ContextMenuContent({ className, ...props }) {
|
|
994
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Content, {
|
|
995
|
+
"data-slot": "context-menu-content",
|
|
996
|
+
className: require_BodhiLogo.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-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", className),
|
|
997
|
+
...props
|
|
998
|
+
}) });
|
|
999
|
+
}
|
|
1000
|
+
function ContextMenuItem({ className, inset, variant = "default", ...props }) {
|
|
1001
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Item, {
|
|
1002
|
+
"data-slot": "context-menu-item",
|
|
1003
|
+
"data-inset": inset,
|
|
1004
|
+
"data-variant": variant,
|
|
1005
|
+
className: require_BodhiLogo.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),
|
|
1006
|
+
...props
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
function ContextMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
1010
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_context_menu.CheckboxItem, {
|
|
1011
|
+
"data-slot": "context-menu-checkbox-item",
|
|
1012
|
+
className: require_BodhiLogo.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),
|
|
1013
|
+
checked,
|
|
1014
|
+
...props,
|
|
1015
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1016
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
1017
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-4" }) })
|
|
1018
|
+
}), children]
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
1021
|
+
function ContextMenuRadioItem({ className, children, ...props }) {
|
|
1022
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_context_menu.RadioItem, {
|
|
1023
|
+
"data-slot": "context-menu-radio-item",
|
|
1024
|
+
className: require_BodhiLogo.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),
|
|
1025
|
+
...props,
|
|
1026
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1027
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
1028
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CircleIcon, { className: "size-2 fill-current" }) })
|
|
1029
|
+
}), children]
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
function ContextMenuLabel({ className, inset, ...props }) {
|
|
1033
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Label, {
|
|
1034
|
+
"data-slot": "context-menu-label",
|
|
1035
|
+
"data-inset": inset,
|
|
1036
|
+
className: require_BodhiLogo.cn("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
|
|
1037
|
+
...props
|
|
1038
|
+
});
|
|
1039
|
+
}
|
|
1040
|
+
function ContextMenuSeparator({ className, ...props }) {
|
|
1041
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Separator, {
|
|
1042
|
+
"data-slot": "context-menu-separator",
|
|
1043
|
+
className: require_BodhiLogo.cn("bg-border -mx-1 my-1 h-px", className),
|
|
1044
|
+
...props
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
function ContextMenuShortcut({ className, ...props }) {
|
|
1048
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1049
|
+
"data-slot": "context-menu-shortcut",
|
|
1050
|
+
className: require_BodhiLogo.cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
1051
|
+
...props
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
//#endregion
|
|
1055
|
+
//#region src/primitives/Drawer/Drawer.tsx
|
|
1056
|
+
function Drawer({ ...props }) {
|
|
1057
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Root, {
|
|
1058
|
+
"data-slot": "drawer",
|
|
1059
|
+
...props
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
function DrawerTrigger({ ...props }) {
|
|
1063
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Trigger, {
|
|
1064
|
+
"data-slot": "drawer-trigger",
|
|
1065
|
+
...props
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
function DrawerPortal({ ...props }) {
|
|
1069
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Portal, {
|
|
1070
|
+
"data-slot": "drawer-portal",
|
|
1071
|
+
...props
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
function DrawerClose({ ...props }) {
|
|
1075
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Close, {
|
|
1076
|
+
"data-slot": "drawer-close",
|
|
1077
|
+
...props
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
function DrawerOverlay({ className, ...props }) {
|
|
1081
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Overlay, {
|
|
1082
|
+
"data-slot": "drawer-overlay",
|
|
1083
|
+
className: require_BodhiLogo.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),
|
|
1084
|
+
...props
|
|
1085
|
+
});
|
|
1086
|
+
}
|
|
1087
|
+
function DrawerContent({ className, children, ...props }) {
|
|
1088
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DrawerPortal, {
|
|
1089
|
+
"data-slot": "drawer-portal",
|
|
1090
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DrawerOverlay, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(vaul.Drawer.Content, {
|
|
1091
|
+
"data-slot": "drawer-content",
|
|
1092
|
+
className: require_BodhiLogo.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),
|
|
1093
|
+
...props,
|
|
1094
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("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" }), children]
|
|
1095
|
+
})]
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
function DrawerHeader({ className, ...props }) {
|
|
1099
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1100
|
+
"data-slot": "drawer-header",
|
|
1101
|
+
className: require_BodhiLogo.cn("flex flex-col gap-1.5 p-4", className),
|
|
1102
|
+
...props
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
function DrawerFooter({ className, ...props }) {
|
|
1106
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1107
|
+
"data-slot": "drawer-footer",
|
|
1108
|
+
className: require_BodhiLogo.cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
1109
|
+
...props
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
function DrawerTitle({ className, ...props }) {
|
|
1113
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Title, {
|
|
1114
|
+
"data-slot": "drawer-title",
|
|
1115
|
+
className: require_BodhiLogo.cn("text-foreground font-semibold", className),
|
|
1116
|
+
...props
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
function DrawerDescription({ className, ...props }) {
|
|
1120
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(vaul.Drawer.Description, {
|
|
1121
|
+
"data-slot": "drawer-description",
|
|
1122
|
+
className: require_BodhiLogo.cn("text-muted-foreground text-sm", className),
|
|
1123
|
+
...props
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
//#endregion
|
|
1127
|
+
//#region src/primitives/DropdownMenu/DropdownMenu.tsx
|
|
1128
|
+
function DropdownMenu({ ...props }) {
|
|
1129
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Root, {
|
|
1130
|
+
"data-slot": "dropdown-menu",
|
|
1131
|
+
...props
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
function DropdownMenuPortal({ ...props }) {
|
|
1135
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Portal, {
|
|
1136
|
+
"data-slot": "dropdown-menu-portal",
|
|
1137
|
+
...props
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
function DropdownMenuTrigger({ ...props }) {
|
|
1141
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Trigger, {
|
|
1142
|
+
"data-slot": "dropdown-menu-trigger",
|
|
1143
|
+
...props
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
|
|
1147
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Content, {
|
|
1148
|
+
"data-slot": "dropdown-menu-content",
|
|
1149
|
+
sideOffset,
|
|
1150
|
+
className: require_BodhiLogo.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),
|
|
1151
|
+
...props
|
|
1152
|
+
}) });
|
|
1153
|
+
}
|
|
1154
|
+
function DropdownMenuGroup({ ...props }) {
|
|
1155
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Group, {
|
|
1156
|
+
"data-slot": "dropdown-menu-group",
|
|
1157
|
+
...props
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
|
|
1161
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Item, {
|
|
1162
|
+
"data-slot": "dropdown-menu-item",
|
|
1163
|
+
"data-inset": inset,
|
|
1164
|
+
"data-variant": variant,
|
|
1165
|
+
className: require_BodhiLogo.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),
|
|
1166
|
+
...props
|
|
1167
|
+
});
|
|
1168
|
+
}
|
|
1169
|
+
function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
1170
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dropdown_menu.CheckboxItem, {
|
|
1171
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
1172
|
+
className: require_BodhiLogo.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),
|
|
1173
|
+
checked,
|
|
1174
|
+
...props,
|
|
1175
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1176
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
1177
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-4" }) })
|
|
1178
|
+
}), children]
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
function DropdownMenuRadioGroup({ ...props }) {
|
|
1182
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.RadioGroup, {
|
|
1183
|
+
"data-slot": "dropdown-menu-radio-group",
|
|
1184
|
+
...props
|
|
1185
|
+
});
|
|
1186
|
+
}
|
|
1187
|
+
function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
1188
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dropdown_menu.RadioItem, {
|
|
1189
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
1190
|
+
className: require_BodhiLogo.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),
|
|
1191
|
+
...props,
|
|
1192
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1193
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
1194
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CircleIcon, { className: "size-2 fill-current" }) })
|
|
1195
|
+
}), children]
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
function DropdownMenuLabel({ className, inset, ...props }) {
|
|
1199
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Label, {
|
|
1200
|
+
"data-slot": "dropdown-menu-label",
|
|
1201
|
+
"data-inset": inset,
|
|
1202
|
+
className: require_BodhiLogo.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
|
|
1203
|
+
...props
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
function DropdownMenuSeparator({ className, ...props }) {
|
|
1207
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Separator, {
|
|
1208
|
+
"data-slot": "dropdown-menu-separator",
|
|
1209
|
+
className: require_BodhiLogo.cn("bg-border -mx-1 my-1 h-px", className),
|
|
1210
|
+
...props
|
|
1211
|
+
});
|
|
1212
|
+
}
|
|
1213
|
+
function DropdownMenuShortcut({ className, ...props }) {
|
|
1214
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1215
|
+
"data-slot": "dropdown-menu-shortcut",
|
|
1216
|
+
className: require_BodhiLogo.cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
1217
|
+
...props
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
function DropdownMenuSub({ ...props }) {
|
|
1221
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.Sub, {
|
|
1222
|
+
"data-slot": "dropdown-menu-sub",
|
|
1223
|
+
...props
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
1227
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dropdown_menu.SubTrigger, {
|
|
1228
|
+
"data-slot": "dropdown-menu-sub-trigger",
|
|
1229
|
+
"data-inset": inset,
|
|
1230
|
+
className: require_BodhiLogo.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),
|
|
1231
|
+
...props,
|
|
1232
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, { className: "ml-auto size-4" })]
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
function DropdownMenuSubContent({ className, ...props }) {
|
|
1236
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dropdown_menu.SubContent, {
|
|
1237
|
+
"data-slot": "dropdown-menu-sub-content",
|
|
1238
|
+
className: require_BodhiLogo.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),
|
|
1239
|
+
...props
|
|
1240
|
+
});
|
|
1241
|
+
}
|
|
1242
|
+
//#endregion
|
|
1243
|
+
//#region src/primitives/Label/Label.tsx
|
|
1244
|
+
function Label({ className, ...props }) {
|
|
1245
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_label.Root, {
|
|
1246
|
+
"data-slot": "label",
|
|
1247
|
+
className: require_BodhiLogo.cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className),
|
|
1248
|
+
...props
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
//#endregion
|
|
1252
|
+
//#region src/primitives/Form/Form.tsx
|
|
1253
|
+
const Form = react_hook_form.FormProvider;
|
|
1254
|
+
const FormFieldContext = react.createContext({});
|
|
1255
|
+
const FormField = ({ ...props }) => {
|
|
1256
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FormFieldContext.Provider, {
|
|
1257
|
+
value: { name: props.name },
|
|
1258
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_hook_form.Controller, { ...props })
|
|
1259
|
+
});
|
|
1260
|
+
};
|
|
1261
|
+
const useFormField = () => {
|
|
1262
|
+
const fieldContext = react.useContext(FormFieldContext);
|
|
1263
|
+
const itemContext = react.useContext(FormItemContext);
|
|
1264
|
+
const { getFieldState } = (0, react_hook_form.useFormContext)();
|
|
1265
|
+
if (!fieldContext.name) throw new Error("useFormField should be used within <FormField>");
|
|
1266
|
+
const formState = (0, react_hook_form.useFormState)({ name: fieldContext.name });
|
|
1267
|
+
const fieldState = getFieldState(fieldContext.name, formState);
|
|
1268
|
+
const { id } = itemContext;
|
|
1269
|
+
return {
|
|
1270
|
+
id,
|
|
1271
|
+
name: fieldContext.name,
|
|
1272
|
+
formItemId: `${id}-form-item`,
|
|
1273
|
+
formDescriptionId: `${id}-form-item-description`,
|
|
1274
|
+
formMessageId: `${id}-form-item-message`,
|
|
1275
|
+
...fieldState
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1278
|
+
const FormItemContext = react.createContext({});
|
|
1279
|
+
function FormItem({ className, ...props }) {
|
|
1280
|
+
const id = react.useId();
|
|
1281
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FormItemContext.Provider, {
|
|
1282
|
+
value: { id },
|
|
1283
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1284
|
+
"data-slot": "form-item",
|
|
1285
|
+
className: require_BodhiLogo.cn("grid gap-2", className),
|
|
1286
|
+
...props
|
|
1287
|
+
})
|
|
1288
|
+
});
|
|
1289
|
+
}
|
|
1290
|
+
function FormLabel({ className, ...props }) {
|
|
1291
|
+
const { error, formItemId } = useFormField();
|
|
1292
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Label, {
|
|
1293
|
+
"data-slot": "form-label",
|
|
1294
|
+
"data-error": !!error,
|
|
1295
|
+
className: require_BodhiLogo.cn("data-[error=true]:text-destructive", className),
|
|
1296
|
+
htmlFor: formItemId,
|
|
1297
|
+
...props
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
function FormControl({ ...props }) {
|
|
1301
|
+
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
1302
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slot.Slot, {
|
|
1303
|
+
"data-slot": "form-control",
|
|
1304
|
+
id: formItemId,
|
|
1305
|
+
"aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
|
1306
|
+
"aria-invalid": !!error,
|
|
1307
|
+
...props
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
function FormDescription({ className, ...props }) {
|
|
1311
|
+
const { formDescriptionId } = useFormField();
|
|
1312
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
1313
|
+
"data-slot": "form-description",
|
|
1314
|
+
id: formDescriptionId,
|
|
1315
|
+
className: require_BodhiLogo.cn("text-muted-foreground text-sm", className),
|
|
1316
|
+
...props
|
|
1317
|
+
});
|
|
1318
|
+
}
|
|
1319
|
+
function FormMessage({ className, ...props }) {
|
|
1320
|
+
const { error, formMessageId } = useFormField();
|
|
1321
|
+
const body = error ? String(error?.message ?? "") : props.children;
|
|
1322
|
+
if (!body) return null;
|
|
1323
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
1324
|
+
"data-slot": "form-message",
|
|
1325
|
+
id: formMessageId,
|
|
1326
|
+
className: require_BodhiLogo.cn("text-destructive text-sm", className),
|
|
1327
|
+
...props,
|
|
1328
|
+
children: body
|
|
1329
|
+
});
|
|
1330
|
+
}
|
|
1331
|
+
//#endregion
|
|
1332
|
+
//#region src/primitives/HoverCard/HoverCard.tsx
|
|
1333
|
+
function HoverCard({ ...props }) {
|
|
1334
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_hover_card.Root, {
|
|
1335
|
+
"data-slot": "hover-card",
|
|
1336
|
+
...props
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
function HoverCardTrigger({ ...props }) {
|
|
1340
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_hover_card.Trigger, {
|
|
1341
|
+
"data-slot": "hover-card-trigger",
|
|
1342
|
+
...props
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
function HoverCardContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
1346
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_hover_card.Portal, {
|
|
1347
|
+
"data-slot": "hover-card-portal",
|
|
1348
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_hover_card.Content, {
|
|
1349
|
+
"data-slot": "hover-card-content",
|
|
1350
|
+
align,
|
|
1351
|
+
sideOffset,
|
|
1352
|
+
className: require_BodhiLogo.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 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className),
|
|
1353
|
+
...props
|
|
1354
|
+
})
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
//#endregion
|
|
1358
|
+
//#region src/primitives/Input/Input.tsx
|
|
1359
|
+
function Input({ className, type, ...props }) {
|
|
1360
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
1361
|
+
type,
|
|
1362
|
+
"data-slot": "input",
|
|
1363
|
+
className: require_BodhiLogo.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className),
|
|
1364
|
+
...props
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
1367
|
+
//#endregion
|
|
1368
|
+
//#region src/primitives/InputOtp/InputOtp.tsx
|
|
1369
|
+
function InputOTP({ className, containerClassName, ...props }) {
|
|
1370
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(input_otp.OTPInput, {
|
|
1371
|
+
"data-slot": "input-otp",
|
|
1372
|
+
containerClassName: require_BodhiLogo.cn("flex items-center gap-2 has-disabled:opacity-50", containerClassName),
|
|
1373
|
+
className: require_BodhiLogo.cn("disabled:cursor-not-allowed", className),
|
|
1374
|
+
...props
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
function InputOTPGroup({ className, ...props }) {
|
|
1378
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1379
|
+
"data-slot": "input-otp-group",
|
|
1380
|
+
className: require_BodhiLogo.cn("flex items-center gap-1", className),
|
|
1381
|
+
...props
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
function InputOTPSlot({ index, className, ...props }) {
|
|
1385
|
+
const { char, hasFakeCaret, isActive } = react.useContext(input_otp.OTPInputContext)?.slots[index] ?? {};
|
|
1386
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1387
|
+
"data-slot": "input-otp-slot",
|
|
1388
|
+
"data-active": isActive,
|
|
1389
|
+
className: require_BodhiLogo.cn("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm bg-input-background transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]", className),
|
|
1390
|
+
...props,
|
|
1391
|
+
children: [char, hasFakeCaret && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1392
|
+
className: "pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
1393
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" })
|
|
1394
|
+
})]
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
function InputOTPSeparator({ ...props }) {
|
|
1398
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1399
|
+
"data-slot": "input-otp-separator",
|
|
1400
|
+
role: "separator",
|
|
1401
|
+
...props,
|
|
1402
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MinusIcon, {})
|
|
1403
|
+
});
|
|
1404
|
+
}
|
|
1405
|
+
//#endregion
|
|
1406
|
+
//#region src/primitives/Menubar/Menubar.tsx
|
|
1407
|
+
function Menubar({ className, ...props }) {
|
|
1408
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Root, {
|
|
1409
|
+
"data-slot": "menubar",
|
|
1410
|
+
className: require_BodhiLogo.cn("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs", className),
|
|
1411
|
+
...props
|
|
1412
|
+
});
|
|
1413
|
+
}
|
|
1414
|
+
function MenubarMenu({ ...props }) {
|
|
1415
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Menu, {
|
|
1416
|
+
"data-slot": "menubar-menu",
|
|
1417
|
+
...props
|
|
1418
|
+
});
|
|
1419
|
+
}
|
|
1420
|
+
function MenubarGroup({ ...props }) {
|
|
1421
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Group, {
|
|
1422
|
+
"data-slot": "menubar-group",
|
|
1423
|
+
...props
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
function MenubarPortal({ ...props }) {
|
|
1427
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Portal, {
|
|
1428
|
+
"data-slot": "menubar-portal",
|
|
1429
|
+
...props
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
function MenubarRadioGroup({ ...props }) {
|
|
1433
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.RadioGroup, {
|
|
1434
|
+
"data-slot": "menubar-radio-group",
|
|
1435
|
+
...props
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
function MenubarTrigger({ className, ...props }) {
|
|
1439
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Trigger, {
|
|
1440
|
+
"data-slot": "menubar-trigger",
|
|
1441
|
+
className: require_BodhiLogo.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none", className),
|
|
1442
|
+
...props
|
|
1443
|
+
});
|
|
1444
|
+
}
|
|
1445
|
+
function MenubarContent({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }) {
|
|
1446
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenubarPortal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Content, {
|
|
1447
|
+
"data-slot": "menubar-content",
|
|
1448
|
+
align,
|
|
1449
|
+
alignOffset,
|
|
1450
|
+
sideOffset,
|
|
1451
|
+
className: require_BodhiLogo.cn("bg-popover text-popover-foreground data-[state=open]:animate-in 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-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md", className),
|
|
1452
|
+
...props
|
|
1453
|
+
}) });
|
|
1454
|
+
}
|
|
1455
|
+
function MenubarItem({ className, inset, variant = "default", ...props }) {
|
|
1456
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Item, {
|
|
1457
|
+
"data-slot": "menubar-item",
|
|
1458
|
+
"data-inset": inset,
|
|
1459
|
+
"data-variant": variant,
|
|
1460
|
+
className: require_BodhiLogo.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),
|
|
1461
|
+
...props
|
|
1462
|
+
});
|
|
1463
|
+
}
|
|
1464
|
+
function MenubarCheckboxItem({ className, children, checked, ...props }) {
|
|
1465
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_menubar.CheckboxItem, {
|
|
1466
|
+
"data-slot": "menubar-checkbox-item",
|
|
1467
|
+
className: require_BodhiLogo.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs 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),
|
|
1468
|
+
checked,
|
|
1469
|
+
...props,
|
|
1470
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1471
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
1472
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-4" }) })
|
|
1473
|
+
}), children]
|
|
1474
|
+
});
|
|
1475
|
+
}
|
|
1476
|
+
function MenubarRadioItem({ className, children, ...props }) {
|
|
1477
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_menubar.RadioItem, {
|
|
1478
|
+
"data-slot": "menubar-radio-item",
|
|
1479
|
+
className: require_BodhiLogo.cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs 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),
|
|
1480
|
+
...props,
|
|
1481
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1482
|
+
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
1483
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CircleIcon, { className: "size-2 fill-current" }) })
|
|
1484
|
+
}), children]
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1487
|
+
function MenubarLabel({ className, inset, ...props }) {
|
|
1488
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Label, {
|
|
1489
|
+
"data-slot": "menubar-label",
|
|
1490
|
+
"data-inset": inset,
|
|
1491
|
+
className: require_BodhiLogo.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
|
|
1492
|
+
...props
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1495
|
+
function MenubarSeparator({ className, ...props }) {
|
|
1496
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Separator, {
|
|
1497
|
+
"data-slot": "menubar-separator",
|
|
1498
|
+
className: require_BodhiLogo.cn("bg-border -mx-1 my-1 h-px", className),
|
|
1499
|
+
...props
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
function MenubarShortcut({ className, ...props }) {
|
|
1503
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1504
|
+
"data-slot": "menubar-shortcut",
|
|
1505
|
+
className: require_BodhiLogo.cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
1506
|
+
...props
|
|
1507
|
+
});
|
|
1508
|
+
}
|
|
1509
|
+
function MenubarSub({ ...props }) {
|
|
1510
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.Sub, {
|
|
1511
|
+
"data-slot": "menubar-sub",
|
|
1512
|
+
...props
|
|
1513
|
+
});
|
|
1514
|
+
}
|
|
1515
|
+
function MenubarSubTrigger({ className, inset, children, ...props }) {
|
|
1516
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_menubar.SubTrigger, {
|
|
1517
|
+
"data-slot": "menubar-sub-trigger",
|
|
1518
|
+
"data-inset": inset,
|
|
1519
|
+
className: require_BodhiLogo.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-none select-none data-[inset]:pl-8", className),
|
|
1520
|
+
...props,
|
|
1521
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, { className: "ml-auto h-4 w-4" })]
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1524
|
+
function MenubarSubContent({ className, ...props }) {
|
|
1525
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_menubar.SubContent, {
|
|
1526
|
+
"data-slot": "menubar-sub-content",
|
|
1527
|
+
className: require_BodhiLogo.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-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className),
|
|
1528
|
+
...props
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
//#endregion
|
|
1532
|
+
//#region src/primitives/NavigationMenu/NavigationMenu.tsx
|
|
1533
|
+
function NavigationMenu({ className, children, viewport = true, ...props }) {
|
|
1534
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_navigation_menu.Root, {
|
|
1535
|
+
"data-slot": "navigation-menu",
|
|
1536
|
+
"data-viewport": viewport,
|
|
1537
|
+
className: require_BodhiLogo.cn("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", className),
|
|
1538
|
+
...props,
|
|
1539
|
+
children: [children, viewport && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NavigationMenuViewport, {})]
|
|
1540
|
+
});
|
|
1541
|
+
}
|
|
1542
|
+
function NavigationMenuList({ className, ...props }) {
|
|
1543
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_navigation_menu.List, {
|
|
1544
|
+
"data-slot": "navigation-menu-list",
|
|
1545
|
+
className: require_BodhiLogo.cn("group flex flex-1 list-none items-center justify-center gap-1", className),
|
|
1546
|
+
...props
|
|
1547
|
+
});
|
|
1548
|
+
}
|
|
1549
|
+
function NavigationMenuItem({ className, ...props }) {
|
|
1550
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_navigation_menu.Item, {
|
|
1551
|
+
"data-slot": "navigation-menu-item",
|
|
1552
|
+
className: require_BodhiLogo.cn("relative", className),
|
|
1553
|
+
...props
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
const navigationMenuTriggerStyle = (0, class_variance_authority.cva)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");
|
|
1557
|
+
function NavigationMenuTrigger({ className, children, ...props }) {
|
|
1558
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_navigation_menu.Trigger, {
|
|
1559
|
+
"data-slot": "navigation-menu-trigger",
|
|
1560
|
+
className: require_BodhiLogo.cn(navigationMenuTriggerStyle(), "group", className),
|
|
1561
|
+
...props,
|
|
1562
|
+
children: [
|
|
1563
|
+
children,
|
|
1564
|
+
" ",
|
|
1565
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, {
|
|
1566
|
+
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1567
|
+
"aria-hidden": "true"
|
|
1568
|
+
})
|
|
1569
|
+
]
|
|
1570
|
+
});
|
|
1571
|
+
}
|
|
1572
|
+
function NavigationMenuContent({ className, ...props }) {
|
|
1573
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_navigation_menu.Content, {
|
|
1574
|
+
"data-slot": "navigation-menu-content",
|
|
1575
|
+
className: require_BodhiLogo.cn("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto", "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none", className),
|
|
1576
|
+
...props
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
function NavigationMenuViewport({ className, ...props }) {
|
|
1580
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1581
|
+
className: require_BodhiLogo.cn("absolute top-full left-0 isolate z-50 flex justify-center"),
|
|
1582
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_navigation_menu.Viewport, {
|
|
1583
|
+
"data-slot": "navigation-menu-viewport",
|
|
1584
|
+
className: require_BodhiLogo.cn("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]", className),
|
|
1585
|
+
...props
|
|
1586
|
+
})
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1589
|
+
function NavigationMenuLink({ className, ...props }) {
|
|
1590
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_navigation_menu.Link, {
|
|
1591
|
+
"data-slot": "navigation-menu-link",
|
|
1592
|
+
className: require_BodhiLogo.cn("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
|
|
1593
|
+
...props
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
function NavigationMenuIndicator({ className, ...props }) {
|
|
1597
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_navigation_menu.Indicator, {
|
|
1598
|
+
"data-slot": "navigation-menu-indicator",
|
|
1599
|
+
className: require_BodhiLogo.cn("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden", className),
|
|
1600
|
+
...props,
|
|
1601
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
|
|
1602
|
+
});
|
|
1603
|
+
}
|
|
1604
|
+
//#endregion
|
|
1605
|
+
//#region src/primitives/Pagination/Pagination.tsx
|
|
1606
|
+
function Pagination({ className, ...props }) {
|
|
1607
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("nav", {
|
|
1608
|
+
role: "navigation",
|
|
1609
|
+
"aria-label": "pagination",
|
|
1610
|
+
"data-slot": "pagination",
|
|
1611
|
+
className: require_BodhiLogo.cn("mx-auto flex w-full justify-center", className),
|
|
1612
|
+
...props
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
function PaginationContent({ className, ...props }) {
|
|
1616
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
1617
|
+
"data-slot": "pagination-content",
|
|
1618
|
+
className: require_BodhiLogo.cn("flex flex-row items-center gap-1", className),
|
|
1619
|
+
...props
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1622
|
+
function PaginationItem({ ...props }) {
|
|
1623
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
1624
|
+
"data-slot": "pagination-item",
|
|
1625
|
+
...props
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
function PaginationLink({ className, isActive, size = "icon", ...props }) {
|
|
1629
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
1630
|
+
"aria-current": isActive ? "page" : void 0,
|
|
1631
|
+
"data-slot": "pagination-link",
|
|
1632
|
+
"data-active": isActive,
|
|
1633
|
+
className: require_BodhiLogo.cn(buttonVariants({
|
|
1634
|
+
variant: isActive ? "outline" : "ghost",
|
|
1635
|
+
size
|
|
1636
|
+
}), className),
|
|
1637
|
+
...props
|
|
1638
|
+
});
|
|
1639
|
+
}
|
|
1640
|
+
function PaginationPrevious({ className, ...props }) {
|
|
1641
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PaginationLink, {
|
|
1642
|
+
"aria-label": "Go to previous page",
|
|
1643
|
+
size: "default",
|
|
1644
|
+
className: require_BodhiLogo.cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1645
|
+
...props,
|
|
1646
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronLeftIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1647
|
+
className: "hidden sm:block",
|
|
1648
|
+
children: "Previous"
|
|
1649
|
+
})]
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
function PaginationNext({ className, ...props }) {
|
|
1653
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PaginationLink, {
|
|
1654
|
+
"aria-label": "Go to next page",
|
|
1655
|
+
size: "default",
|
|
1656
|
+
className: require_BodhiLogo.cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1657
|
+
...props,
|
|
1658
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1659
|
+
className: "hidden sm:block",
|
|
1660
|
+
children: "Next"
|
|
1661
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, {})]
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1664
|
+
function PaginationEllipsis({ className, ...props }) {
|
|
1665
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
1666
|
+
"aria-hidden": true,
|
|
1667
|
+
"data-slot": "pagination-ellipsis",
|
|
1668
|
+
className: require_BodhiLogo.cn("flex size-9 items-center justify-center", className),
|
|
1669
|
+
...props,
|
|
1670
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MoreHorizontalIcon, { className: "size-4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1671
|
+
className: "sr-only",
|
|
1672
|
+
children: "More pages"
|
|
1673
|
+
})]
|
|
1674
|
+
});
|
|
1675
|
+
}
|
|
1676
|
+
//#endregion
|
|
1677
|
+
//#region src/primitives/Popover/Popover.tsx
|
|
1678
|
+
function Popover({ ...props }) {
|
|
1679
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_popover.Root, {
|
|
1680
|
+
"data-slot": "popover",
|
|
1681
|
+
...props
|
|
1682
|
+
});
|
|
1683
|
+
}
|
|
1684
|
+
function PopoverTrigger({ ...props }) {
|
|
1685
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_popover.Trigger, {
|
|
1686
|
+
"data-slot": "popover-trigger",
|
|
1687
|
+
...props
|
|
1688
|
+
});
|
|
1689
|
+
}
|
|
1690
|
+
function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
1691
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_popover.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_popover.Content, {
|
|
1692
|
+
"data-slot": "popover-content",
|
|
1693
|
+
align,
|
|
1694
|
+
sideOffset,
|
|
1695
|
+
className: require_BodhiLogo.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 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className),
|
|
1696
|
+
...props
|
|
1697
|
+
}) });
|
|
1698
|
+
}
|
|
1699
|
+
function PopoverAnchor({ ...props }) {
|
|
1700
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_popover.Anchor, {
|
|
1701
|
+
"data-slot": "popover-anchor",
|
|
1702
|
+
...props
|
|
1703
|
+
});
|
|
1704
|
+
}
|
|
1705
|
+
//#endregion
|
|
1706
|
+
//#region src/primitives/Progress/Progress.tsx
|
|
1707
|
+
function Progress({ className, value, variant = "default", ...props }) {
|
|
1708
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_progress.Root, {
|
|
1709
|
+
"data-slot": "progress",
|
|
1710
|
+
className: require_BodhiLogo.cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", className),
|
|
1711
|
+
...props,
|
|
1712
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_progress.Indicator, {
|
|
1713
|
+
"data-slot": "progress-indicator",
|
|
1714
|
+
className: "bg-primary h-full w-full flex-1 transition-all",
|
|
1715
|
+
style: { transform: `translateX(-${100 - (value ?? 0)}%)` }
|
|
1716
|
+
})
|
|
1717
|
+
});
|
|
1718
|
+
}
|
|
1719
|
+
//#endregion
|
|
1720
|
+
//#region src/primitives/PsaiLogo/PsaiLogo.tsx
|
|
1721
|
+
function PSAILogo({ isDarkMode = false }) {
|
|
1722
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
1723
|
+
width: "151",
|
|
1724
|
+
height: "38",
|
|
1725
|
+
viewBox: "0 0 151 38",
|
|
1726
|
+
fill: "none",
|
|
1727
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1728
|
+
style: {
|
|
1729
|
+
"--psai-primary-red": "var(--color-red-500)",
|
|
1730
|
+
"--psai-accent-white": isDarkMode ? "#E5E7EB" : "white",
|
|
1731
|
+
"--psai-text-dark": isDarkMode ? "#FFFFFF" : "#030712"
|
|
1732
|
+
},
|
|
1733
|
+
children: [
|
|
1734
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1735
|
+
d: "M18.08 0C8.11 0 0 8.29 0 18.47s8.11 18.47 18.08 18.47 18.08-8.28 18.08-18.47S28.06 0 18.08 0",
|
|
1736
|
+
fill: "var(--psai-primary-red)"
|
|
1737
|
+
}),
|
|
1738
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1739
|
+
"fill-rule": "evenodd",
|
|
1740
|
+
"clip-rule": "evenodd",
|
|
1741
|
+
d: "M31.58 24.2c-.27.66-1.02.97-1.67.7a1.3 1.3 0 0 1-.69-1.7 1.27 1.27 0 0 1 1.67-.7c.65.27.96 1.03.69 1.7",
|
|
1742
|
+
fill: "var(--psai-accent-white)"
|
|
1743
|
+
}),
|
|
1744
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1745
|
+
"fill-rule": "evenodd",
|
|
1746
|
+
"clip-rule": "evenodd",
|
|
1747
|
+
d: "M23.66 32.26c-.65.28-1.4-.04-1.66-.7-.27-.67.04-1.43.69-1.7.65-.28 1.4.04 1.66.7.27.67-.04 1.43-.69 1.7",
|
|
1748
|
+
fill: "var(--psai-accent-white)"
|
|
1749
|
+
}),
|
|
1750
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1751
|
+
"fill-rule": "evenodd",
|
|
1752
|
+
"clip-rule": "evenodd",
|
|
1753
|
+
d: "M12.48 32.26a1.3 1.3 0 0 1-.7-1.7 1.27 1.27 0 0 1 1.67-.71c.65.28.96 1.04.7 1.7-.28.67-1.02.98-1.67.7",
|
|
1754
|
+
fill: "var(--psai-accent-white)"
|
|
1755
|
+
}),
|
|
1756
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1757
|
+
"fill-rule": "evenodd",
|
|
1758
|
+
"clip-rule": "evenodd",
|
|
1759
|
+
d: "M4.57 24.17c-.26-.67.05-1.43.7-1.7.65-.28 1.4.04 1.66.7.27.67-.04 1.43-.7 1.7-.64.28-1.39-.04-1.66-.7",
|
|
1760
|
+
fill: "var(--psai-accent-white)"
|
|
1761
|
+
}),
|
|
1762
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1763
|
+
"fill-rule": "evenodd",
|
|
1764
|
+
"clip-rule": "evenodd",
|
|
1765
|
+
d: "M4.59 12.74a1.27 1.27 0 0 1 1.66-.7c.65.28.96 1.04.7 1.7-.28.67-1.02.98-1.67.7a1.3 1.3 0 0 1-.7-1.7",
|
|
1766
|
+
fill: "var(--psai-accent-white)"
|
|
1767
|
+
}),
|
|
1768
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1769
|
+
"fill-rule": "evenodd",
|
|
1770
|
+
"clip-rule": "evenodd",
|
|
1771
|
+
d: "M12.5 4.67c.65-.27 1.4.04 1.67.7.27.67-.04 1.43-.7 1.7-.64.28-1.39-.03-1.66-.7s.04-1.42.7-1.7",
|
|
1772
|
+
fill: "var(--psai-accent-white)"
|
|
1773
|
+
}),
|
|
1774
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1775
|
+
"fill-rule": "evenodd",
|
|
1776
|
+
"clip-rule": "evenodd",
|
|
1777
|
+
d: "M23.69 4.68c.65.28.95 1.04.68 1.7-.27.67-1.01.98-1.66.7a1.3 1.3 0 0 1-.69-1.7 1.27 1.27 0 0 1 1.67-.7",
|
|
1778
|
+
fill: "var(--psai-accent-white)"
|
|
1779
|
+
}),
|
|
1780
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1781
|
+
"fill-rule": "evenodd",
|
|
1782
|
+
"clip-rule": "evenodd",
|
|
1783
|
+
d: "M31.59 12.77c.27.67-.04 1.43-.7 1.7-.64.28-1.39-.04-1.66-.7-.27-.67.04-1.43.7-1.7.65-.28 1.39.04 1.66.7",
|
|
1784
|
+
fill: "var(--psai-accent-white)"
|
|
1785
|
+
}),
|
|
1786
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1787
|
+
"fill-rule": "evenodd",
|
|
1788
|
+
"clip-rule": "evenodd",
|
|
1789
|
+
d: "M19.42 20.97c-1 1.39-1.7 3.64-.39 4.98.89.91.22 2.42-.98 2.42s-1.87-1.5-.98-2.42c1.31-1.34.6-3.59-.39-4.98a9 9 0 0 0-1.04-1.14c-1.37-1-3.58-1.73-4.89-.39-.88.9-2.36.22-2.36-1 0-1.23 1.48-1.91 2.36-1 1.31 1.34 3.52.62 4.89-.4.23-.17.95-.84 1.1-1.07 1-1.4 1.7-3.64.39-4.98-.89-.91-.22-2.42.98-2.42s1.87 1.5.98 2.42c-1.31 1.34-.6 3.59.39 4.98.17.25.82.97 1.04 1.13 1.37 1.02 3.57 1.74 4.89.4.88-.9 2.36-.22 2.36 1 0 1.23-1.48 1.91-2.36 1-1.31-1.34-3.52-.62-4.89.4-.23.17-.95.84-1.1 1.07",
|
|
1790
|
+
fill: "var(--psai-accent-white)"
|
|
1791
|
+
}),
|
|
1792
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1793
|
+
"fill-rule": "evenodd",
|
|
1794
|
+
"clip-rule": "evenodd",
|
|
1795
|
+
d: "M25.04 11.37c.74.76.74 2 0 2.77-.75.76-1.97.76-2.72 0-.74-.77-.74-2 0-2.77a1.9 1.9 0 0 1 2.72 0",
|
|
1796
|
+
fill: "var(--psai-accent-white)"
|
|
1797
|
+
}),
|
|
1798
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1799
|
+
"fill-rule": "evenodd",
|
|
1800
|
+
"clip-rule": "evenodd",
|
|
1801
|
+
d: "M25.04 25.57c-.75.77-1.97.77-2.72 0-.74-.76-.74-2 0-2.76a1.9 1.9 0 0 1 2.72 0c.74.76.74 2 0 2.76",
|
|
1802
|
+
fill: "var(--psai-accent-white)"
|
|
1803
|
+
}),
|
|
1804
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1805
|
+
"fill-rule": "evenodd",
|
|
1806
|
+
"clip-rule": "evenodd",
|
|
1807
|
+
d: "M11.13 25.57c-.75-.76-.75-2 0-2.76a1.9 1.9 0 0 1 2.7 0c.76.76.76 2 0 2.76-.74.77-1.95.77-2.7 0",
|
|
1808
|
+
fill: "var(--psai-accent-white)"
|
|
1809
|
+
}),
|
|
1810
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1811
|
+
"fill-rule": "evenodd",
|
|
1812
|
+
"clip-rule": "evenodd",
|
|
1813
|
+
d: "M11.13 11.37a1.9 1.9 0 0 1 2.7 0c.76.76.76 2 0 2.77-.74.76-1.95.76-2.7 0-.75-.77-.75-2 0-2.77",
|
|
1814
|
+
fill: "var(--psai-accent-white)"
|
|
1815
|
+
}),
|
|
1816
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1817
|
+
"fill-rule": "evenodd",
|
|
1818
|
+
"clip-rule": "evenodd",
|
|
1819
|
+
d: "M66.37 5.64a.5.5 0 0 0 .48-.5.5.5 0 0 0-.48-.5.5.5 0 0 0-.5.5c0 .28.23.5.5.5",
|
|
1820
|
+
fill: "var(--psai-text-dark)"
|
|
1821
|
+
}),
|
|
1822
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1823
|
+
"fill-rule": "evenodd",
|
|
1824
|
+
"clip-rule": "evenodd",
|
|
1825
|
+
d: "M65.98 13.2h.76V6.58h-.76z",
|
|
1826
|
+
fill: "var(--psai-text-dark)"
|
|
1827
|
+
}),
|
|
1828
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1829
|
+
"fill-rule": "evenodd",
|
|
1830
|
+
"clip-rule": "evenodd",
|
|
1831
|
+
d: "M50.82 9.87c0-1.38 1.06-2.5 2.37-2.5 1.3 0 2.37 1.12 2.37 2.5v.1c-.06 1.37-1.1 2.44-2.37 2.44-1.28 0-2.37-1.14-2.37-2.54m2.37 3.32c.92 0 1.77-.41 2.36-1.14v1.15h.77V6.58h-.77v1.14a3 3 0 0 0-2.36-1.14 3.2 3.2 0 0 0-3.14 3.3c0 1.8 1.4 3.31 3.14 3.31",
|
|
1832
|
+
fill: "var(--psai-text-dark)"
|
|
1833
|
+
}),
|
|
1834
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1835
|
+
"fill-rule": "evenodd",
|
|
1836
|
+
"clip-rule": "evenodd",
|
|
1837
|
+
d: "M61.45 12.41c-1.28 0-2.32-1.07-2.37-2.43v-.1c0-1.4 1.06-2.52 2.37-2.52 1.3 0 2.36 1.13 2.36 2.51 0 1.39-1.06 2.54-2.36 2.54m3.13-2.54c0-1.81-1.4-3.29-3.13-3.29-.93 0-1.78.41-2.37 1.14V6.58h-.77v9h.77v-3.53c.6.73 1.44 1.14 2.37 1.14 1.72 0 3.13-1.49 3.13-3.32",
|
|
1838
|
+
fill: "var(--psai-text-dark)"
|
|
1839
|
+
}),
|
|
1840
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1841
|
+
"fill-rule": "evenodd",
|
|
1842
|
+
"clip-rule": "evenodd",
|
|
1843
|
+
d: "M78.83 6.58c-.73 0-1.41.3-1.9.84v-.84h-.74v6.62h.73V9.28a1.95 1.95 0 0 1 1.9-1.93c1.03 0 1.9.86 1.9 1.93v3.92h.75V9.28c0-1.49-1.19-2.7-2.64-2.7",
|
|
1844
|
+
fill: "var(--psai-text-dark)"
|
|
1845
|
+
}),
|
|
1846
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1847
|
+
"fill-rule": "evenodd",
|
|
1848
|
+
"clip-rule": "evenodd",
|
|
1849
|
+
d: "m85.4 12.44-.07.02q-.11.04-.37.05-.45.02-.44-.67v-4.5h.9v-.76h-.9V4.36h-.78v2.22h-.9v.76h.9v4.53q0 .74.28 1.01.27.3.76.31.38 0 .62-.1l.04-.01z",
|
|
1850
|
+
fill: "var(--psai-text-dark)"
|
|
1851
|
+
}),
|
|
1852
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1853
|
+
"fill-rule": "evenodd",
|
|
1854
|
+
"clip-rule": "evenodd",
|
|
1855
|
+
d: "M71.51 7.35c1.12 0 2.08.83 2.3 1.97h-4.64a2.4 2.4 0 0 1 2.34-1.97m1.99 3.94a2.3 2.3 0 0 1-1.99 1.14 2.46 2.46 0 0 1-2.39-2.36h5.14c.2 0 .37-.15.37-.35v-.06c-.13-1.75-1.47-3.08-3.12-3.08a3.24 3.24 0 0 0-3.14 3.32c0 1.83 1.4 3.3 3.14 3.3 1.06 0 2.04-.56 2.61-1.5z",
|
|
1856
|
+
fill: "var(--psai-text-dark)"
|
|
1857
|
+
}),
|
|
1858
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1859
|
+
"fill-rule": "evenodd",
|
|
1860
|
+
"clip-rule": "evenodd",
|
|
1861
|
+
d: "M48.3 10s-.2-.16-.41-.25c-.22-.09-.52-.2-1.16-.35q-.12-.04-.25-.06a3 3 0 0 1-1-.44q-.34-.28-.3-.61.01-.39.4-.67.45-.34 1.18-.3c.53.02.94.3 1.38.62l.05.03.55-.53-.27-.2c-.43-.3-.97-.62-1.68-.65q-.95-.04-1.61.38c-.47.32-.76.79-.77 1.28 0 .38.07.72.44 1.08.43.43 1.1.65 1.72.77.53.1 1.02.3 1.26.51.3.28.4.48.4.77q-.03.42-.49.72c-.3.23-.73.35-1.17.33q-.9-.05-1.82-.78l-.04-.04-.55.51.06.05q1.08.95 2.31 1.02a2.6 2.6 0 0 0 1.64-.46q.77-.54.8-1.32A1.7 1.7 0 0 0 48.3 10",
|
|
1862
|
+
fill: "var(--psai-text-dark)"
|
|
1863
|
+
}),
|
|
1864
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1865
|
+
d: "M53.26 27.7a2.76 2.76 0 0 0-2.74-2.76 2.7 2.7 0 0 0-2.74 2.74c0 1.52 1.2 2.74 2.74 2.74a2.8 2.8 0 0 0 2.74-2.72m-.3-3.66v-1.26h2.76v9.8h-2.76V31.3a3.9 3.9 0 0 1-3.2 1.58c-2.76 0-4.82-2.26-4.82-5.22 0-2.92 2.04-5.2 4.76-5.2q1.92.01 3.26 1.58m5.32-1.26h2.76v9.8h-2.76zm-.26-4.14c0-.9.74-1.64 1.64-1.64s1.64.74 1.64 1.64-.74 1.64-1.64 1.64-1.64-.74-1.64-1.64m17.5 9.06a2.75 2.75 0 1 0-5.5-.02 2.77 2.77 0 0 0 2.76 2.74c1.5 0 2.74-1.26 2.74-2.72m-5.2 3.6v6.5h-2.76V22.78h2.76v1.26a4 4 0 0 1 3.2-1.58c2.76 0 4.82 2.28 4.82 5.22 0 2.96-2.08 5.2-4.76 5.2a4.1 4.1 0 0 1-3.26-1.58m10.11 1.28v-9.8h2.76v1.48q1.02-1.8 2.84-1.8.57 0 1.2.24l-.38 2.58a3 3 0 0 0-1.32-.34q-2.34 0-2.34 2.94v4.7zm10.43-4.94a2.74 2.74 0 0 0 2.76 2.78 2.8 2.8 0 0 0 2.78-2.74 2.8 2.8 0 0 0-2.78-2.74 2.8 2.8 0 0 0-2.76 2.7m-2.84-.04c0-2.98 2.38-5.14 5.62-5.14s5.58 2.16 5.58 5.2c0 3.16-2.36 5.22-5.64 5.22-3.34 0-5.56-2.18-5.56-5.28m21.1.1a2.76 2.76 0 0 0-2.75-2.76 2.76 2.76 0 0 0-2.74 2.74c0 1.5 1.24 2.74 2.74 2.74a2.8 2.8 0 0 0 2.74-2.72m-.3-3.66v-8.42h2.75v16.96h-2.76V31.3a3.9 3.9 0 0 1-3.2 1.58c-2.76 0-4.82-2.22-4.82-5.22 0-2.92 2.06-5.2 4.76-5.2q1.92.01 3.26 1.58m5.34-1.26h2.76v5.56q0 2.22 1.98 2.22 2 0 2-2.22v-5.56h2.74v6.02c0 2.62-1.7 4.08-4.74 4.08s-4.74-1.46-4.74-4.08zm19.43.28v2.7a3.6 3.6 0 0 0-2.24-.82 2.7 2.7 0 0 0-2.8 2.74c0 1.6 1.2 2.74 2.8 2.74q1.2 0 2.24-.82v2.7q-1.26.57-2.52.58a5.22 5.22 0 1 1 .04-10.42q1.35 0 2.48.6m2.1 2.08h-1.08v-2.36h1.08v-3.34h2.76v3.34h1.92v2.36h-1.92v2.92c0 1.52.18 2.4 1.2 2.4q.28 0 .5-.04v2.4c-.3.04-.86.06-1.16.06-2.14 0-3.3-1.58-3.3-3.84zm13.16-1.68-1.36 1.6a2.7 2.7 0 0 0-1.62-.64c-.6 0-1.06.36-1.06.82 0 .48.26.64 1.56 1.1 2.28.8 2.98 1.48 2.98 3.04 0 2.06-1.7 3.52-4.1 3.52a4.8 4.8 0 0 1-3.72-1.62l1.42-1.68q1.14 1.15 2.32 1.16c.7 0 1.24-.46 1.24-1.08 0-.54-.22-.78-1.5-1.24-2.38-.84-2.86-1.48-2.86-2.9 0-1.9 1.54-3.12 3.5-3.12q1.8 0 3.2 1.04",
|
|
1866
|
+
fill: "var(--psai-text-dark)"
|
|
1867
|
+
})
|
|
1868
|
+
]
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
//#endregion
|
|
1872
|
+
//#region src/primitives/RadioGroup/RadioGroup.tsx
|
|
1873
|
+
function RadioGroup({ className, ...props }) {
|
|
1874
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_radio_group.Root, {
|
|
1875
|
+
"data-slot": "radio-group",
|
|
1876
|
+
className: require_BodhiLogo.cn("grid gap-3", className),
|
|
1877
|
+
...props
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
function RadioGroupItem({ className, ...props }) {
|
|
1881
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_radio_group.Item, {
|
|
1882
|
+
"data-slot": "radio-group-item",
|
|
1883
|
+
className: require_BodhiLogo.cn("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
1884
|
+
...props,
|
|
1885
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_radio_group.Indicator, {
|
|
1886
|
+
"data-slot": "radio-group-indicator",
|
|
1887
|
+
className: "relative flex items-center justify-center",
|
|
1888
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CircleIcon, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
1889
|
+
})
|
|
1890
|
+
});
|
|
1891
|
+
}
|
|
1892
|
+
//#endregion
|
|
1893
|
+
//#region src/primitives/Resizable/Resizable.tsx
|
|
1894
|
+
function ResizablePanelGroup({ className, ...props }) {
|
|
1895
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_resizable_panels.PanelGroup, {
|
|
1896
|
+
"data-slot": "resizable-panel-group",
|
|
1897
|
+
className: require_BodhiLogo.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
|
|
1898
|
+
...props
|
|
1899
|
+
});
|
|
1900
|
+
}
|
|
1901
|
+
function ResizablePanel({ className, ...props }) {
|
|
1902
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_resizable_panels.Panel, {
|
|
1903
|
+
"data-slot": "resizable-panel",
|
|
1904
|
+
className: require_BodhiLogo.cn(className),
|
|
1905
|
+
...props
|
|
1906
|
+
});
|
|
1907
|
+
}
|
|
1908
|
+
function ResizableHandle({ withHandle, className, ...props }) {
|
|
1909
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_resizable_panels.PanelResizeHandle, {
|
|
1910
|
+
"data-slot": "resizable-handle",
|
|
1911
|
+
className: require_BodhiLogo.cn("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90", className),
|
|
1912
|
+
...props,
|
|
1913
|
+
children: withHandle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1914
|
+
className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",
|
|
1915
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.GripVerticalIcon, { className: "size-2.5" })
|
|
1916
|
+
})
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
//#endregion
|
|
1920
|
+
//#region src/primitives/ScrollArea/ScrollArea.tsx
|
|
1921
|
+
function ScrollArea({ className, children, ...props }) {
|
|
1922
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_scroll_area.Root, {
|
|
1923
|
+
"data-slot": "scroll-area",
|
|
1924
|
+
className: require_BodhiLogo.cn("relative", className),
|
|
1925
|
+
...props,
|
|
1926
|
+
children: [
|
|
1927
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_scroll_area.Viewport, {
|
|
1928
|
+
"data-slot": "scroll-area-viewport",
|
|
1929
|
+
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
1930
|
+
children
|
|
1931
|
+
}),
|
|
1932
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScrollBar, {}),
|
|
1933
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_scroll_area.Corner, {})
|
|
1934
|
+
]
|
|
1935
|
+
});
|
|
1936
|
+
}
|
|
1937
|
+
function ScrollBar({ className, orientation = "vertical", ...props }) {
|
|
1938
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_scroll_area.ScrollAreaScrollbar, {
|
|
1939
|
+
"data-slot": "scroll-area-scrollbar",
|
|
1940
|
+
orientation,
|
|
1941
|
+
className: require_BodhiLogo.cn("flex touch-none p-px transition-colors select-none", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", className),
|
|
1942
|
+
...props,
|
|
1943
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_scroll_area.ScrollAreaThumb, {
|
|
1944
|
+
"data-slot": "scroll-area-thumb",
|
|
1945
|
+
className: "bg-border relative flex-1 rounded-full"
|
|
1946
|
+
})
|
|
1947
|
+
});
|
|
1948
|
+
}
|
|
1949
|
+
//#endregion
|
|
1950
|
+
//#region src/primitives/Select/Select.tsx
|
|
1951
|
+
function Select({ ...props }) {
|
|
1952
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Root, {
|
|
1953
|
+
"data-slot": "select",
|
|
1954
|
+
...props
|
|
1955
|
+
});
|
|
1956
|
+
}
|
|
1957
|
+
function SelectGroup({ ...props }) {
|
|
1958
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Group, {
|
|
1959
|
+
"data-slot": "select-group",
|
|
1960
|
+
...props
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1963
|
+
function SelectValue({ ...props }) {
|
|
1964
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Value, {
|
|
1965
|
+
"data-slot": "select-value",
|
|
1966
|
+
...props
|
|
1967
|
+
});
|
|
1968
|
+
}
|
|
1969
|
+
function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
1970
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_select.Trigger, {
|
|
1971
|
+
"data-slot": "select-trigger",
|
|
1972
|
+
"data-size": size,
|
|
1973
|
+
className: require_BodhiLogo.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-full items-center justify-between gap-2 rounded-md border bg-input-background px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
1974
|
+
...props,
|
|
1975
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Icon, {
|
|
1976
|
+
asChild: true,
|
|
1977
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, { className: "size-4 opacity-50" })
|
|
1978
|
+
})]
|
|
1979
|
+
});
|
|
1980
|
+
}
|
|
1981
|
+
function SelectContent({ className, children, position = "popper", ...props }) {
|
|
1982
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_select.Content, {
|
|
1983
|
+
"data-slot": "select-content",
|
|
1984
|
+
className: require_BodhiLogo.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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
1985
|
+
position,
|
|
1986
|
+
...props,
|
|
1987
|
+
children: [
|
|
1988
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectScrollUpButton, {}),
|
|
1989
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Viewport, {
|
|
1990
|
+
className: require_BodhiLogo.cn("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
|
|
1991
|
+
children
|
|
1992
|
+
}),
|
|
1993
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectScrollDownButton, {})
|
|
1994
|
+
]
|
|
1995
|
+
}) });
|
|
1996
|
+
}
|
|
1997
|
+
function SelectLabel({ className, ...props }) {
|
|
1998
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Label, {
|
|
1999
|
+
"data-slot": "select-label",
|
|
2000
|
+
className: require_BodhiLogo.cn("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
2001
|
+
...props
|
|
2002
|
+
});
|
|
2003
|
+
}
|
|
2004
|
+
function SelectItem({ className, children, ...props }) {
|
|
2005
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_select.Item, {
|
|
2006
|
+
"data-slot": "select-item",
|
|
2007
|
+
className: require_BodhiLogo.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 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 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
|
|
2008
|
+
...props,
|
|
2009
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2010
|
+
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
2011
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.ItemIndicator, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckIcon, { className: "size-4" }) })
|
|
2012
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.ItemText, { children })]
|
|
2013
|
+
});
|
|
2014
|
+
}
|
|
2015
|
+
function SelectSeparator({ className, ...props }) {
|
|
2016
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.Separator, {
|
|
2017
|
+
"data-slot": "select-separator",
|
|
2018
|
+
className: require_BodhiLogo.cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
2019
|
+
...props
|
|
2020
|
+
});
|
|
2021
|
+
}
|
|
2022
|
+
function SelectScrollUpButton({ className, ...props }) {
|
|
2023
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.ScrollUpButton, {
|
|
2024
|
+
"data-slot": "select-scroll-up-button",
|
|
2025
|
+
className: require_BodhiLogo.cn("flex cursor-default items-center justify-center py-1", className),
|
|
2026
|
+
...props,
|
|
2027
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronUpIcon, { className: "size-4" })
|
|
2028
|
+
});
|
|
2029
|
+
}
|
|
2030
|
+
function SelectScrollDownButton({ className, ...props }) {
|
|
2031
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_select.ScrollDownButton, {
|
|
2032
|
+
"data-slot": "select-scroll-down-button",
|
|
2033
|
+
className: require_BodhiLogo.cn("flex cursor-default items-center justify-center py-1", className),
|
|
2034
|
+
...props,
|
|
2035
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDownIcon, { className: "size-4" })
|
|
2036
|
+
});
|
|
2037
|
+
}
|
|
2038
|
+
//#endregion
|
|
2039
|
+
//#region src/primitives/Separator/Separator.tsx
|
|
2040
|
+
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
2041
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_separator.Root, {
|
|
2042
|
+
"data-slot": "separator-root",
|
|
2043
|
+
decorative,
|
|
2044
|
+
orientation,
|
|
2045
|
+
className: require_BodhiLogo.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className),
|
|
2046
|
+
...props
|
|
2047
|
+
});
|
|
2048
|
+
}
|
|
2049
|
+
//#endregion
|
|
2050
|
+
//#region src/primitives/Sheet/Sheet.tsx
|
|
2051
|
+
function Sheet({ ...props }) {
|
|
2052
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Root, {
|
|
2053
|
+
"data-slot": "sheet",
|
|
2054
|
+
...props
|
|
2055
|
+
});
|
|
2056
|
+
}
|
|
2057
|
+
function SheetTrigger({ ...props }) {
|
|
2058
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Trigger, {
|
|
2059
|
+
"data-slot": "sheet-trigger",
|
|
2060
|
+
...props
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
function SheetClose({ ...props }) {
|
|
2064
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Close, {
|
|
2065
|
+
"data-slot": "sheet-close",
|
|
2066
|
+
...props
|
|
2067
|
+
});
|
|
2068
|
+
}
|
|
2069
|
+
function SheetPortal({ ...props }) {
|
|
2070
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Portal, {
|
|
2071
|
+
"data-slot": "sheet-portal",
|
|
2072
|
+
...props
|
|
2073
|
+
});
|
|
2074
|
+
}
|
|
2075
|
+
function SheetOverlay({ className, ...props }) {
|
|
2076
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Overlay, {
|
|
2077
|
+
"data-slot": "sheet-overlay",
|
|
2078
|
+
className: require_BodhiLogo.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-[var(--overlay)]", className),
|
|
2079
|
+
...props
|
|
2080
|
+
});
|
|
2081
|
+
}
|
|
2082
|
+
function SheetContent({ className, children, side = "right", showCloseButton = true, overlayClassName, overlayStyle, ...props }) {
|
|
2083
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SheetPortal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SheetOverlay, {
|
|
2084
|
+
className: overlayClassName,
|
|
2085
|
+
style: overlayStyle
|
|
2086
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Content, {
|
|
2087
|
+
"data-slot": "sheet-content",
|
|
2088
|
+
className: require_BodhiLogo.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", className),
|
|
2089
|
+
...props,
|
|
2090
|
+
children: [children, showCloseButton && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Close, {
|
|
2091
|
+
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary 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",
|
|
2092
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.XIcon, { className: "size-4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2093
|
+
className: "sr-only",
|
|
2094
|
+
children: "Close"
|
|
2095
|
+
})]
|
|
2096
|
+
})]
|
|
2097
|
+
})] });
|
|
2098
|
+
}
|
|
2099
|
+
function SheetHeader({ className, ...props }) {
|
|
2100
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2101
|
+
"data-slot": "sheet-header",
|
|
2102
|
+
className: require_BodhiLogo.cn("flex flex-col gap-1.5 p-4", className),
|
|
2103
|
+
...props
|
|
2104
|
+
});
|
|
2105
|
+
}
|
|
2106
|
+
function SheetFooter({ className, ...props }) {
|
|
2107
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2108
|
+
"data-slot": "sheet-footer",
|
|
2109
|
+
className: require_BodhiLogo.cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
2110
|
+
...props
|
|
2111
|
+
});
|
|
2112
|
+
}
|
|
2113
|
+
function SheetTitle({ className, ...props }) {
|
|
2114
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Title, {
|
|
2115
|
+
"data-slot": "sheet-title",
|
|
2116
|
+
className: require_BodhiLogo.cn("text-foreground font-semibold", className),
|
|
2117
|
+
...props
|
|
2118
|
+
});
|
|
2119
|
+
}
|
|
2120
|
+
function SheetDescription({ className, ...props }) {
|
|
2121
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Description, {
|
|
2122
|
+
"data-slot": "sheet-description",
|
|
2123
|
+
className: require_BodhiLogo.cn("text-muted-foreground text-sm", className),
|
|
2124
|
+
...props
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
//#endregion
|
|
2128
|
+
//#region src/primitives/Sidebar/Sidebar.tsx
|
|
2129
|
+
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
2130
|
+
const SIDEBAR_COOKIE_MAX_AGE = 3600 * 24 * 7;
|
|
2131
|
+
const SIDEBAR_WIDTH = "16rem";
|
|
2132
|
+
const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
2133
|
+
const SIDEBAR_WIDTH_ICON = "3rem";
|
|
2134
|
+
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
2135
|
+
const SidebarContext = react.createContext(null);
|
|
2136
|
+
function useSidebar() {
|
|
2137
|
+
const context = react.useContext(SidebarContext);
|
|
2138
|
+
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
2139
|
+
return context;
|
|
2140
|
+
}
|
|
2141
|
+
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }) {
|
|
2142
|
+
const isMobile = require_BodhiLogo.useIsMobile();
|
|
2143
|
+
const [openMobile, setOpenMobile] = react.useState(false);
|
|
2144
|
+
const [_open, _setOpen] = react.useState(defaultOpen);
|
|
2145
|
+
const open = openProp ?? _open;
|
|
2146
|
+
const setOpen = react.useCallback((value) => {
|
|
2147
|
+
const openState = typeof value === "function" ? value(open) : value;
|
|
2148
|
+
if (setOpenProp) setOpenProp(openState);
|
|
2149
|
+
else _setOpen(openState);
|
|
2150
|
+
document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
|
|
2151
|
+
}, [setOpenProp, open]);
|
|
2152
|
+
const toggleSidebar = react.useCallback(() => {
|
|
2153
|
+
return isMobile ? setOpenMobile((open) => !open) : setOpen((open) => !open);
|
|
2154
|
+
}, [
|
|
2155
|
+
isMobile,
|
|
2156
|
+
setOpen,
|
|
2157
|
+
setOpenMobile
|
|
2158
|
+
]);
|
|
2159
|
+
react.useEffect(() => {
|
|
2160
|
+
const handleKeyDown = (event) => {
|
|
2161
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
2162
|
+
event.preventDefault();
|
|
2163
|
+
toggleSidebar();
|
|
2164
|
+
}
|
|
2165
|
+
};
|
|
2166
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
2167
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
2168
|
+
}, [toggleSidebar]);
|
|
2169
|
+
const state = open ? "expanded" : "collapsed";
|
|
2170
|
+
const contextValue = react.useMemo(() => ({
|
|
2171
|
+
state,
|
|
2172
|
+
open,
|
|
2173
|
+
setOpen,
|
|
2174
|
+
isMobile,
|
|
2175
|
+
openMobile,
|
|
2176
|
+
setOpenMobile,
|
|
2177
|
+
toggleSidebar
|
|
2178
|
+
}), [
|
|
2179
|
+
state,
|
|
2180
|
+
open,
|
|
2181
|
+
setOpen,
|
|
2182
|
+
isMobile,
|
|
2183
|
+
openMobile,
|
|
2184
|
+
setOpenMobile,
|
|
2185
|
+
toggleSidebar
|
|
2186
|
+
]);
|
|
2187
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarContext.Provider, {
|
|
2188
|
+
value: contextValue,
|
|
2189
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SustainLogo.TooltipProvider, {
|
|
2190
|
+
delayDuration: 0,
|
|
2191
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2192
|
+
"data-slot": "sidebar-wrapper",
|
|
2193
|
+
style: {
|
|
2194
|
+
"--sidebar-width": SIDEBAR_WIDTH,
|
|
2195
|
+
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
2196
|
+
...style
|
|
2197
|
+
},
|
|
2198
|
+
className: require_BodhiLogo.cn("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", className),
|
|
2199
|
+
...props,
|
|
2200
|
+
children
|
|
2201
|
+
})
|
|
2202
|
+
})
|
|
2203
|
+
});
|
|
2204
|
+
}
|
|
2205
|
+
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }) {
|
|
2206
|
+
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
2207
|
+
if (collapsible === "none") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2208
|
+
"data-slot": "sidebar",
|
|
2209
|
+
className: require_BodhiLogo.cn("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", className),
|
|
2210
|
+
...props,
|
|
2211
|
+
children
|
|
2212
|
+
});
|
|
2213
|
+
if (isMobile) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Sheet, {
|
|
2214
|
+
open: openMobile,
|
|
2215
|
+
onOpenChange: setOpenMobile,
|
|
2216
|
+
...props,
|
|
2217
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SheetContent, {
|
|
2218
|
+
"data-sidebar": "sidebar",
|
|
2219
|
+
"data-slot": "sidebar",
|
|
2220
|
+
"data-mobile": "true",
|
|
2221
|
+
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
2222
|
+
style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
|
|
2223
|
+
side,
|
|
2224
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SheetHeader, {
|
|
2225
|
+
className: "sr-only",
|
|
2226
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SheetTitle, { children: "Sidebar" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })]
|
|
2227
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2228
|
+
className: "flex h-full w-full flex-col",
|
|
2229
|
+
children
|
|
2230
|
+
})]
|
|
2231
|
+
})
|
|
2232
|
+
});
|
|
2233
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2234
|
+
className: "group peer text-sidebar-foreground hidden md:block",
|
|
2235
|
+
"data-state": state,
|
|
2236
|
+
"data-collapsible": state === "collapsed" ? collapsible : "",
|
|
2237
|
+
"data-variant": variant,
|
|
2238
|
+
"data-side": side,
|
|
2239
|
+
"data-slot": "sidebar",
|
|
2240
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2241
|
+
"data-slot": "sidebar-gap",
|
|
2242
|
+
className: require_BodhiLogo.cn("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
|
|
2243
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2244
|
+
"data-slot": "sidebar-container",
|
|
2245
|
+
className: require_BodhiLogo.cn("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex", side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", className),
|
|
2246
|
+
...props,
|
|
2247
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2248
|
+
"data-sidebar": "sidebar",
|
|
2249
|
+
"data-slot": "sidebar-inner",
|
|
2250
|
+
className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
2251
|
+
children
|
|
2252
|
+
})
|
|
2253
|
+
})]
|
|
2254
|
+
});
|
|
2255
|
+
}
|
|
2256
|
+
function SidebarTrigger({ className, onClick, ...props }) {
|
|
2257
|
+
const { toggleSidebar } = useSidebar();
|
|
2258
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Button, {
|
|
2259
|
+
"data-sidebar": "trigger",
|
|
2260
|
+
"data-slot": "sidebar-trigger",
|
|
2261
|
+
variant: "ghost",
|
|
2262
|
+
size: "icon",
|
|
2263
|
+
className: require_BodhiLogo.cn("size-7", className),
|
|
2264
|
+
onClick: (event) => {
|
|
2265
|
+
onClick?.(event);
|
|
2266
|
+
toggleSidebar();
|
|
2267
|
+
},
|
|
2268
|
+
...props,
|
|
2269
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.PanelLeftIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2270
|
+
className: "sr-only",
|
|
2271
|
+
children: "Toggle Sidebar"
|
|
2272
|
+
})]
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
function SidebarRail({ className, ...props }) {
|
|
2276
|
+
const { toggleSidebar } = useSidebar();
|
|
2277
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2278
|
+
"data-sidebar": "rail",
|
|
2279
|
+
"data-slot": "sidebar-rail",
|
|
2280
|
+
"aria-label": "Toggle Sidebar",
|
|
2281
|
+
tabIndex: -1,
|
|
2282
|
+
onClick: toggleSidebar,
|
|
2283
|
+
title: "Toggle Sidebar",
|
|
2284
|
+
className: require_BodhiLogo.cn("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full", "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2", className),
|
|
2285
|
+
...props
|
|
2286
|
+
});
|
|
2287
|
+
}
|
|
2288
|
+
function SidebarInset({ className, ...props }) {
|
|
2289
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("main", {
|
|
2290
|
+
"data-slot": "sidebar-inset",
|
|
2291
|
+
className: require_BodhiLogo.cn("bg-background relative flex w-full flex-1 flex-col", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", className),
|
|
2292
|
+
...props
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
function SidebarInput({ className, ...props }) {
|
|
2296
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Input, {
|
|
2297
|
+
"data-slot": "sidebar-input",
|
|
2298
|
+
"data-sidebar": "input",
|
|
2299
|
+
className: require_BodhiLogo.cn("bg-background h-8 w-full shadow-none", className),
|
|
2300
|
+
...props
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
function SidebarHeader({ className, ...props }) {
|
|
2304
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2305
|
+
"data-slot": "sidebar-header",
|
|
2306
|
+
"data-sidebar": "header",
|
|
2307
|
+
className: require_BodhiLogo.cn("flex flex-col gap-2 p-2", className),
|
|
2308
|
+
...props
|
|
2309
|
+
});
|
|
2310
|
+
}
|
|
2311
|
+
function SidebarFooter({ className, ...props }) {
|
|
2312
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2313
|
+
"data-slot": "sidebar-footer",
|
|
2314
|
+
"data-sidebar": "footer",
|
|
2315
|
+
className: require_BodhiLogo.cn("flex flex-col gap-2 p-2", className),
|
|
2316
|
+
...props
|
|
2317
|
+
});
|
|
2318
|
+
}
|
|
2319
|
+
function SidebarSeparator({ className, ...props }) {
|
|
2320
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Separator, {
|
|
2321
|
+
"data-slot": "sidebar-separator",
|
|
2322
|
+
"data-sidebar": "separator",
|
|
2323
|
+
className: require_BodhiLogo.cn("bg-sidebar-border mx-2 w-auto", className),
|
|
2324
|
+
...props
|
|
2325
|
+
});
|
|
2326
|
+
}
|
|
2327
|
+
function SidebarContent({ className, ...props }) {
|
|
2328
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2329
|
+
"data-slot": "sidebar-content",
|
|
2330
|
+
"data-sidebar": "content",
|
|
2331
|
+
className: require_BodhiLogo.cn("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", className),
|
|
2332
|
+
...props
|
|
2333
|
+
});
|
|
2334
|
+
}
|
|
2335
|
+
function SidebarGroup({ className, ...props }) {
|
|
2336
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2337
|
+
"data-slot": "sidebar-group",
|
|
2338
|
+
"data-sidebar": "group",
|
|
2339
|
+
className: require_BodhiLogo.cn("relative flex w-full min-w-0 flex-col p-2", className),
|
|
2340
|
+
...props
|
|
2341
|
+
});
|
|
2342
|
+
}
|
|
2343
|
+
function SidebarGroupLabel({ className, asChild = false, ...props }) {
|
|
2344
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "div", {
|
|
2345
|
+
"data-slot": "sidebar-group-label",
|
|
2346
|
+
"data-sidebar": "group-label",
|
|
2347
|
+
className: require_BodhiLogo.cn("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", className),
|
|
2348
|
+
...props
|
|
2349
|
+
});
|
|
2350
|
+
}
|
|
2351
|
+
function SidebarGroupAction({ className, asChild = false, ...props }) {
|
|
2352
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "button", {
|
|
2353
|
+
"data-slot": "sidebar-group-action",
|
|
2354
|
+
"data-sidebar": "group-action",
|
|
2355
|
+
className: require_BodhiLogo.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "group-data-[collapsible=icon]:hidden", className),
|
|
2356
|
+
...props
|
|
2357
|
+
});
|
|
2358
|
+
}
|
|
2359
|
+
function SidebarGroupContent({ className, ...props }) {
|
|
2360
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2361
|
+
"data-slot": "sidebar-group-content",
|
|
2362
|
+
"data-sidebar": "group-content",
|
|
2363
|
+
className: require_BodhiLogo.cn("w-full text-sm", className),
|
|
2364
|
+
...props
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
function SidebarMenu({ className, ...props }) {
|
|
2368
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
2369
|
+
"data-slot": "sidebar-menu",
|
|
2370
|
+
"data-sidebar": "menu",
|
|
2371
|
+
className: require_BodhiLogo.cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
2372
|
+
...props
|
|
2373
|
+
});
|
|
2374
|
+
}
|
|
2375
|
+
function SidebarMenuItem({ className, ...props }) {
|
|
2376
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
2377
|
+
"data-slot": "sidebar-menu-item",
|
|
2378
|
+
"data-sidebar": "menu-item",
|
|
2379
|
+
className: require_BodhiLogo.cn("group/menu-item relative", className),
|
|
2380
|
+
...props
|
|
2381
|
+
});
|
|
2382
|
+
}
|
|
2383
|
+
const sidebarMenuButtonVariants = (0, class_variance_authority.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", {
|
|
2384
|
+
variants: {
|
|
2385
|
+
variant: {
|
|
2386
|
+
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
2387
|
+
outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
|
|
2388
|
+
},
|
|
2389
|
+
size: {
|
|
2390
|
+
default: "h-8 text-sm",
|
|
2391
|
+
sm: "h-7 text-xs",
|
|
2392
|
+
lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
defaultVariants: {
|
|
2396
|
+
variant: "default",
|
|
2397
|
+
size: "default"
|
|
2398
|
+
}
|
|
2399
|
+
});
|
|
2400
|
+
function SidebarMenuButton({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }) {
|
|
2401
|
+
const Comp = asChild ? _radix_ui_react_slot.Slot : "button";
|
|
2402
|
+
const { isMobile, state } = useSidebar();
|
|
2403
|
+
const button = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
2404
|
+
"data-slot": "sidebar-menu-button",
|
|
2405
|
+
"data-sidebar": "menu-button",
|
|
2406
|
+
"data-size": size,
|
|
2407
|
+
"data-active": isActive,
|
|
2408
|
+
className: require_BodhiLogo.cn(sidebarMenuButtonVariants({
|
|
2409
|
+
variant,
|
|
2410
|
+
size
|
|
2411
|
+
}), className),
|
|
2412
|
+
...props
|
|
2413
|
+
});
|
|
2414
|
+
if (!tooltip) return button;
|
|
2415
|
+
if (typeof tooltip === "string") tooltip = { children: tooltip };
|
|
2416
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_SustainLogo.Tooltip, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SustainLogo.TooltipTrigger, {
|
|
2417
|
+
asChild: true,
|
|
2418
|
+
children: button
|
|
2419
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SustainLogo.TooltipContent, {
|
|
2420
|
+
side: "right",
|
|
2421
|
+
align: "center",
|
|
2422
|
+
hidden: state !== "collapsed" || isMobile,
|
|
2423
|
+
...tooltip
|
|
2424
|
+
})] });
|
|
2425
|
+
}
|
|
2426
|
+
function SidebarMenuAction({ className, asChild = false, showOnHover = false, ...props }) {
|
|
2427
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "button", {
|
|
2428
|
+
"data-slot": "sidebar-menu-action",
|
|
2429
|
+
"data-sidebar": "menu-action",
|
|
2430
|
+
className: require_BodhiLogo.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", showOnHover && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0", className),
|
|
2431
|
+
...props
|
|
2432
|
+
});
|
|
2433
|
+
}
|
|
2434
|
+
function SidebarMenuBadge({ className, ...props }) {
|
|
2435
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2436
|
+
"data-slot": "sidebar-menu-badge",
|
|
2437
|
+
"data-sidebar": "menu-badge",
|
|
2438
|
+
className: require_BodhiLogo.cn("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none", "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", className),
|
|
2439
|
+
...props
|
|
2440
|
+
});
|
|
2441
|
+
}
|
|
2442
|
+
function SidebarMenuSkeleton({ className, showIcon = false, ...props }) {
|
|
2443
|
+
const width = react.useMemo(() => {
|
|
2444
|
+
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
2445
|
+
}, []);
|
|
2446
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2447
|
+
"data-slot": "sidebar-menu-skeleton",
|
|
2448
|
+
"data-sidebar": "menu-skeleton",
|
|
2449
|
+
className: require_BodhiLogo.cn("flex h-8 items-center gap-2 rounded-md px-2", className),
|
|
2450
|
+
...props,
|
|
2451
|
+
children: [showIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Skeleton.Skeleton, {
|
|
2452
|
+
className: "size-4 rounded-md",
|
|
2453
|
+
"data-sidebar": "menu-skeleton-icon"
|
|
2454
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Skeleton.Skeleton, {
|
|
2455
|
+
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
2456
|
+
"data-sidebar": "menu-skeleton-text",
|
|
2457
|
+
style: { "--skeleton-width": width }
|
|
2458
|
+
})]
|
|
2459
|
+
});
|
|
2460
|
+
}
|
|
2461
|
+
function SidebarMenuSub({ className, ...props }) {
|
|
2462
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
2463
|
+
"data-slot": "sidebar-menu-sub",
|
|
2464
|
+
"data-sidebar": "menu-sub",
|
|
2465
|
+
className: require_BodhiLogo.cn("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", className),
|
|
2466
|
+
...props
|
|
2467
|
+
});
|
|
2468
|
+
}
|
|
2469
|
+
function SidebarMenuSubItem({ className, ...props }) {
|
|
2470
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
2471
|
+
"data-slot": "sidebar-menu-sub-item",
|
|
2472
|
+
"data-sidebar": "menu-sub-item",
|
|
2473
|
+
className: require_BodhiLogo.cn("group/menu-sub-item relative", className),
|
|
2474
|
+
...props
|
|
2475
|
+
});
|
|
2476
|
+
}
|
|
2477
|
+
function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false, className, ...props }) {
|
|
2478
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? _radix_ui_react_slot.Slot : "a", {
|
|
2479
|
+
"data-slot": "sidebar-menu-sub-button",
|
|
2480
|
+
"data-sidebar": "menu-sub-button",
|
|
2481
|
+
"data-size": size,
|
|
2482
|
+
"data-active": isActive,
|
|
2483
|
+
className: require_BodhiLogo.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground", size === "sm" && "text-xs", size === "md" && "text-sm", "group-data-[collapsible=icon]:hidden", className),
|
|
2484
|
+
...props
|
|
2485
|
+
});
|
|
2486
|
+
}
|
|
2487
|
+
//#endregion
|
|
2488
|
+
//#region src/primitives/Slider/Slider.tsx
|
|
2489
|
+
function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }) {
|
|
2490
|
+
const _values = react.useMemo(() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max], [
|
|
2491
|
+
value,
|
|
2492
|
+
defaultValue,
|
|
2493
|
+
min,
|
|
2494
|
+
max
|
|
2495
|
+
]);
|
|
2496
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_slider.Root, {
|
|
2497
|
+
"data-slot": "slider",
|
|
2498
|
+
defaultValue,
|
|
2499
|
+
value,
|
|
2500
|
+
min,
|
|
2501
|
+
max,
|
|
2502
|
+
className: require_BodhiLogo.cn("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", className),
|
|
2503
|
+
...props,
|
|
2504
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slider.Track, {
|
|
2505
|
+
"data-slot": "slider-track",
|
|
2506
|
+
className: require_BodhiLogo.cn("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-4 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),
|
|
2507
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slider.Range, {
|
|
2508
|
+
"data-slot": "slider-range",
|
|
2509
|
+
className: require_BodhiLogo.cn("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")
|
|
2510
|
+
})
|
|
2511
|
+
}), Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_slider.Thumb, {
|
|
2512
|
+
"data-slot": "slider-thumb",
|
|
2513
|
+
className: "border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
|
|
2514
|
+
}, index))]
|
|
2515
|
+
});
|
|
2516
|
+
}
|
|
2517
|
+
//#endregion
|
|
2518
|
+
//#region src/primitives/SlingshotIcon/SlingshotIcon.tsx
|
|
2519
|
+
function SlingshotIcon({ isDarkMode = false }) {
|
|
2520
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
2521
|
+
width: "64",
|
|
2522
|
+
height: "64",
|
|
2523
|
+
viewBox: "0 0 64 64",
|
|
2524
|
+
fill: "none",
|
|
2525
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2526
|
+
style: { fill: "var(--color-red-500)" },
|
|
2527
|
+
children: [
|
|
2528
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M32 0C14.35 0 0 14.35 0 32s14.35 32 32 32 32-14.35 32-32S49.64 0 32 0" }),
|
|
2529
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2530
|
+
"fill-rule": "evenodd",
|
|
2531
|
+
"clip-rule": "evenodd",
|
|
2532
|
+
d: "M55.88 41.92a2.25 2.25 0 1 1-4.15-1.72 2.25 2.25 0 0 1 4.15 1.72",
|
|
2533
|
+
fill: "white"
|
|
2534
|
+
}),
|
|
2535
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2536
|
+
"fill-rule": "evenodd",
|
|
2537
|
+
"clip-rule": "evenodd",
|
|
2538
|
+
d: "M41.87 55.9a2.26 2.26 0 1 1-1.72-4.18 2.26 2.26 0 0 1 1.72 4.18",
|
|
2539
|
+
fill: "white"
|
|
2540
|
+
}),
|
|
2541
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2542
|
+
"fill-rule": "evenodd",
|
|
2543
|
+
"clip-rule": "evenodd",
|
|
2544
|
+
d: "M22.08 55.88a2.26 2.26 0 1 1 1.74-4.16 2.26 2.26 0 0 1-1.74 4.16",
|
|
2545
|
+
fill: "white"
|
|
2546
|
+
}),
|
|
2547
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2548
|
+
"fill-rule": "evenodd",
|
|
2549
|
+
"clip-rule": "evenodd",
|
|
2550
|
+
d: "M8.1 41.87",
|
|
2551
|
+
fill: "white"
|
|
2552
|
+
}),
|
|
2553
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2554
|
+
"fill-rule": "evenodd",
|
|
2555
|
+
"clip-rule": "evenodd",
|
|
2556
|
+
d: "M8.12 22.08a2.25 2.25 0 1 1 1.22 2.94 2.26 2.26 0 0 1-1.22-2.94",
|
|
2557
|
+
fill: "white"
|
|
2558
|
+
}),
|
|
2559
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2560
|
+
"fill-rule": "evenodd",
|
|
2561
|
+
"clip-rule": "evenodd",
|
|
2562
|
+
d: "M22.13 8.1a2.26 2.26 0 1 1-1.22 2.94 2.26 2.26 0 0 1 1.22-2.95",
|
|
2563
|
+
fill: "white"
|
|
2564
|
+
}),
|
|
2565
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2566
|
+
"fill-rule": "evenodd",
|
|
2567
|
+
"clip-rule": "evenodd",
|
|
2568
|
+
d: "M41.92 8.12",
|
|
2569
|
+
fill: "white"
|
|
2570
|
+
}),
|
|
2571
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2572
|
+
"fill-rule": "evenodd",
|
|
2573
|
+
"clip-rule": "evenodd",
|
|
2574
|
+
d: "M55.9 22.13a2.26 2.26 0 1 1-2.95-1.22 2.26 2.26 0 0 1 2.95 1.22",
|
|
2575
|
+
fill: "white"
|
|
2576
|
+
}),
|
|
2577
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2578
|
+
"fill-rule": "evenodd",
|
|
2579
|
+
"clip-rule": "evenodd",
|
|
2580
|
+
d: "M34.36 36.32c-1.75 2.42-3 6.33-.68 8.64 1.57 1.58.38 4.19-1.74 4.19s-3.3-2.61-1.73-4.19c2.32-2.32 1.07-6.22-.69-8.64-.3-.42-1.46-1.68-1.85-1.96-2.42-1.75-6.32-3-8.64-.68-1.57 1.57-4.18.39-4.18-1.73s2.61-3.31 4.18-1.74c2.32 2.32 6.23 1.07 8.64-.68.42-.3 1.68-1.47 1.96-1.86 1.76-2.41 3-6.31.69-8.64-1.58-1.57-.4-4.18 1.73-4.18s3.3 2.61 1.73 4.18c-2.31 2.32-1.07 6.23.69 8.64.3.42 1.46 1.68 1.85 1.96 2.42 1.76 6.32 3 8.64.69 1.57-1.58 4.18-.39 4.18 1.73s-2.6 3.31-4.18 1.74c-2.32-2.32-6.22-1.07-8.64.68-.42.3-1.68 1.47-1.96 1.85",
|
|
2581
|
+
fill: "white"
|
|
2582
|
+
}),
|
|
2583
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2584
|
+
"fill-rule": "evenodd",
|
|
2585
|
+
"clip-rule": "evenodd",
|
|
2586
|
+
d: "M44.3 19.7a3.39 3.39 0 1 1-4.78 4.8 3.39 3.39 0 0 1 4.78-4.8",
|
|
2587
|
+
fill: "white"
|
|
2588
|
+
}),
|
|
2589
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2590
|
+
"fill-rule": "evenodd",
|
|
2591
|
+
"clip-rule": "evenodd",
|
|
2592
|
+
d: "M44.3 44.3a3.4 3.4 0 1 1-4.79-4.79 3.4 3.4 0 0 1 4.8 4.8",
|
|
2593
|
+
fill: "white"
|
|
2594
|
+
}),
|
|
2595
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2596
|
+
"fill-rule": "evenodd",
|
|
2597
|
+
"clip-rule": "evenodd",
|
|
2598
|
+
d: "M19.7 44.3a3.39 3.39 0 1 1 4.78-4.79 3.39 3.39 0 0 1-4.79 4.8",
|
|
2599
|
+
fill: "white"
|
|
2600
|
+
}),
|
|
2601
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2602
|
+
"fill-rule": "evenodd",
|
|
2603
|
+
"clip-rule": "evenodd",
|
|
2604
|
+
d: "M19.7 19.7a3.39 3.39 0 1 1 4.79 4.78 3.39 3.39 0 0 1-4.8-4.78",
|
|
2605
|
+
fill: "white"
|
|
2606
|
+
})
|
|
2607
|
+
]
|
|
2608
|
+
});
|
|
2609
|
+
}
|
|
2610
|
+
//#endregion
|
|
2611
|
+
//#region src/primitives/Sonner/Sonner.tsx
|
|
2612
|
+
/**
|
|
2613
|
+
* Toaster wired to the design-system `--toast-*` tokens.
|
|
2614
|
+
*
|
|
2615
|
+
* Theme is accepted as a prop (default "system") instead of being read from
|
|
2616
|
+
* `next-themes`, so the DS does not couple to any particular theme provider —
|
|
2617
|
+
* consuming apps pass their resolved theme explicitly.
|
|
2618
|
+
*
|
|
2619
|
+
* Per-severity colors map Sonner's rich-color CSS variables to our tokens, so
|
|
2620
|
+
* `toast.error/success/warning/info(...)` adopt the tokenized palette and react
|
|
2621
|
+
* to light/dark + brand switching.
|
|
2622
|
+
*/
|
|
2623
|
+
const Toaster = ({ theme = "system", ...props }) => {
|
|
2624
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(sonner.Toaster, {
|
|
2625
|
+
theme,
|
|
2626
|
+
richColors: true,
|
|
2627
|
+
className: "toaster group",
|
|
2628
|
+
style: {
|
|
2629
|
+
"--normal-bg": "var(--popover)",
|
|
2630
|
+
"--normal-text": "var(--popover-foreground)",
|
|
2631
|
+
"--normal-border": "var(--border)"
|
|
2632
|
+
},
|
|
2633
|
+
...props
|
|
2634
|
+
});
|
|
2635
|
+
};
|
|
2636
|
+
//#endregion
|
|
2637
|
+
//#region src/primitives/SustainIcon/SustainIcon.tsx
|
|
2638
|
+
function SustainIcon({ isDarkMode = false }) {
|
|
2639
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
2640
|
+
width: "65",
|
|
2641
|
+
height: "65",
|
|
2642
|
+
viewBox: "0 0 65 65",
|
|
2643
|
+
fill: "none",
|
|
2644
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2645
|
+
style: { fill: "var(--color-red-500)" },
|
|
2646
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
2647
|
+
d: "M63.3 32.5c0 17.32-14.06 32.05-31.4 32.05C14.55 64.55.5 49.82.5 32.5A31.4 31.4 0 0 1 31.9 1.13 31.4 31.4 0 0 1 63.3 32.5",
|
|
2648
|
+
fill: "white"
|
|
2649
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M58.8 33.3q2.7 0 5.2.53-.15 3.15-.86 6.1-2.09-.46-4.36-.48v.18a2.05 2.05 0 0 0-3.85.95 2.05 2.05 0 0 0 3.98.66q1.93 0 3.75.43a33 33 0 0 1-2.01 5.09q-.91-.15-1.87-.15a12.65 12.65 0 0 0-12.63 12.62v1.94a32 32 0 0 1-4.94 1.94q-.3-1.32-.37-2.72c.6-.36 1-1.01 1-1.77 0-1.13-.9-2.04-2.04-2.04-1.13 0-2.04.91-2.04 2.04 0 1.14.55 1.62 1.31 1.92q.12 1.54.43 3.05-2.95.71-6.1.85a25.96 25.96 0 0 1 25.4-31.12zm-53.66 0a25.96 25.96 0 0 1 25.41 31.12q-3.15-.14-6.1-.86.33-1.45.43-2.97a2.04 2.04 0 0 0 1.44-1.97c0-1.13-.91-2.04-2.05-2.04s-2.04.91-2.04 2.04c0 .7.36 1.31.89 1.7q-.09 1.42-.38 2.76a31 31 0 0 1-5.1-2.04q.12-.9.13-1.81c0-6.96-5.67-12.62-12.63-12.62H3.3a32 32 0 0 1-1.95-4.97q1.78-.39 3.63-.4a2.05 2.05 0 1 0 1.94-2.7c-1.14 0-1.41.4-1.77 1.01v-.1q-2.2.02-4.28.48-.71-2.96-.86-6.07a27 27 0 0 1 5.12-.5zm41.13 27.8c-.07.48-.1 3.35-.11.07zM5.14 48.38c5.98 0 10.87 4.86 10.87 10.86s0 .6-.05.9a32 32 0 0 1-11.7-11.71c.3 0 .58-.05.88-.05m53.67 0q.48-.01.96.05a32 32 0 0 1-11.78 11.77q-.04-.48-.05-.96c0-5.97 4.87-10.86 10.87-10.86M31.99 11.98a27.8 27.8 0 0 0 21 20.16 27.8 27.8 0 0 0-21 20.16 27.8 27.8 0 0 0-21-20.16 27.8 27.8 0 0 0 21-20.16M3.34 46.71c-.44-.06-3.5-.1-.05-.1zm28.67-23.06a8.8 8.8 0 0 1-8.77 8.77 8.8 8.8 0 0 1 8.77 8.8 8.8 8.8 0 0 1 8.78-8.8A8.8 8.8 0 0 1 32 23.65M30.68.45q.41 2.23.4 4.6A26.07 26.07 0 0 1 5.04 31.01c-4.87 0-4.52-.18-4.99-.53q.2-3.11.96-6.05 1.96.42 4.03.43c.3.73 1.04 1.23 1.9 1.23 1.13 0 2.03-.9 2.03-2.04 0-1.13-.9-2.04-2.04-2.04-1.13 0-1.43.43-1.79 1.06a17 17 0 0 1-3.63-.38 30 30 0 0 1 2.15-5.09q.75.09 1.5.1c6.96 0 12.64-5.67 12.64-12.62V3.76q2.42-1.2 5.06-2 .25 1.32.3 2.71c-.55.38-.9.99-.9 1.7 0 1.13.9 2.03 2.04 2.03a2.04 2.04 0 0 0 .63-3.98q-.06-1.49-.35-2.92c1.96-.45 4-.76 6.07-.83zm2.62 0q3.13.12 6.07.82-.29 1.47-.35 3a2 2 0 0 0-1.29 1.9c0 .85.91 2.03 2.05 2.03a2.03 2.03 0 0 0 1-3.8q.05-1.35.3-2.67 2.7.8 5.15 2.01-.08.64-.08 1.31c0 6.96 5.68 12.63 12.63 12.63h1.64a33 33 0 0 1 2.1 4.99q-1.82.37-3.71.37A2.1 2.1 0 0 0 56.99 22c-1.13 0-2.04.9-2.04 2.04a2.06 2.06 0 0 0 3.93.8q2.13 0 4.14-.45.76 2.95.96 6.07-2.51.51-5.17.53A25.96 25.96 0 0 1 33.27.44zm27.08 17.14c.41.04 3.87.08.04.08zm-44.4-12.5.03-.03c0 5.97-4.87 10.86-10.87 10.86H4.6a32.5 32.5 0 0 1 11.4-11.2zm31.99-.44a32 32 0 0 1 11.47 11.22h-.63A10.9 10.9 0 0 1 47.94 5v-.37z" })]
|
|
2650
|
+
});
|
|
2651
|
+
}
|
|
2652
|
+
//#endregion
|
|
2653
|
+
//#region src/primitives/Switch/Switch.tsx
|
|
2654
|
+
function Switch({ className, ...props }) {
|
|
2655
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_switch.Root, {
|
|
2656
|
+
"data-slot": "switch",
|
|
2657
|
+
className: require_BodhiLogo.cn("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-switch-background focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
2658
|
+
...props,
|
|
2659
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_switch.Thumb, {
|
|
2660
|
+
"data-slot": "switch-thumb",
|
|
2661
|
+
className: require_BodhiLogo.cn("bg-card dark:data-[state=unchecked]:bg-card-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
|
|
2662
|
+
})
|
|
2663
|
+
});
|
|
2664
|
+
}
|
|
2665
|
+
//#endregion
|
|
2666
|
+
//#region src/primitives/Table/Table.tsx
|
|
2667
|
+
function Table({ className, ...props }) {
|
|
2668
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2669
|
+
"data-slot": "table-container",
|
|
2670
|
+
className: "relative w-full overflow-x-auto",
|
|
2671
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
|
|
2672
|
+
"data-slot": "table",
|
|
2673
|
+
className: require_BodhiLogo.cn("w-full caption-bottom text-sm", className),
|
|
2674
|
+
...props
|
|
2675
|
+
})
|
|
2676
|
+
});
|
|
2677
|
+
}
|
|
2678
|
+
function TableHeader({ className, ...props }) {
|
|
2679
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
|
|
2680
|
+
"data-slot": "table-header",
|
|
2681
|
+
className: require_BodhiLogo.cn("[&_tr]:border-b", className),
|
|
2682
|
+
...props
|
|
2683
|
+
});
|
|
2684
|
+
}
|
|
2685
|
+
function TableBody({ className, ...props }) {
|
|
2686
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
|
|
2687
|
+
"data-slot": "table-body",
|
|
2688
|
+
className: require_BodhiLogo.cn("[&_tr:last-child]:border-0", className),
|
|
2689
|
+
...props
|
|
2690
|
+
});
|
|
2691
|
+
}
|
|
2692
|
+
function TableFooter({ className, ...props }) {
|
|
2693
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
|
|
2694
|
+
"data-slot": "table-footer",
|
|
2695
|
+
className: require_BodhiLogo.cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
|
|
2696
|
+
...props
|
|
2697
|
+
});
|
|
2698
|
+
}
|
|
2699
|
+
function TableRow({ className, ...props }) {
|
|
2700
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
|
|
2701
|
+
"data-slot": "table-row",
|
|
2702
|
+
className: require_BodhiLogo.cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
|
|
2703
|
+
...props
|
|
2704
|
+
});
|
|
2705
|
+
}
|
|
2706
|
+
function TableHead({ className, ...props }) {
|
|
2707
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
2708
|
+
"data-slot": "table-head",
|
|
2709
|
+
className: require_BodhiLogo.cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
|
|
2710
|
+
...props
|
|
2711
|
+
});
|
|
2712
|
+
}
|
|
2713
|
+
function TableCell({ className, ...props }) {
|
|
2714
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
2715
|
+
"data-slot": "table-cell",
|
|
2716
|
+
className: require_BodhiLogo.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
|
|
2717
|
+
...props
|
|
2718
|
+
});
|
|
2719
|
+
}
|
|
2720
|
+
function TableCaption({ className, ...props }) {
|
|
2721
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
|
|
2722
|
+
"data-slot": "table-caption",
|
|
2723
|
+
className: require_BodhiLogo.cn("text-muted-foreground mt-4 text-sm", className),
|
|
2724
|
+
...props
|
|
2725
|
+
});
|
|
2726
|
+
}
|
|
2727
|
+
//#endregion
|
|
2728
|
+
//#region src/primitives/Tabs/Tabs.tsx
|
|
2729
|
+
function Tabs({ className, ...props }) {
|
|
2730
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_tabs.Root, {
|
|
2731
|
+
"data-slot": "tabs",
|
|
2732
|
+
className: require_BodhiLogo.cn("flex flex-col gap-2", className),
|
|
2733
|
+
...props
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
function TabsList({ className, ...props }) {
|
|
2737
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_tabs.List, {
|
|
2738
|
+
"data-slot": "tabs-list",
|
|
2739
|
+
className: require_BodhiLogo.cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-xl p-[3px] flex", className),
|
|
2740
|
+
...props
|
|
2741
|
+
});
|
|
2742
|
+
}
|
|
2743
|
+
function TabsTrigger({ className, ...props }) {
|
|
2744
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_tabs.Trigger, {
|
|
2745
|
+
"data-slot": "tabs-trigger",
|
|
2746
|
+
className: require_BodhiLogo.cn("data-[state=active]:bg-card dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-xl border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
2747
|
+
...props
|
|
2748
|
+
});
|
|
2749
|
+
}
|
|
2750
|
+
function TabsContent({ className, ...props }) {
|
|
2751
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_tabs.Content, {
|
|
2752
|
+
"data-slot": "tabs-content",
|
|
2753
|
+
className: require_BodhiLogo.cn("flex-1 outline-none", className),
|
|
2754
|
+
...props
|
|
2755
|
+
});
|
|
2756
|
+
}
|
|
2757
|
+
//#endregion
|
|
2758
|
+
//#region src/primitives/Textarea/Textarea.tsx
|
|
2759
|
+
function Textarea({ className, ...props }) {
|
|
2760
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
2761
|
+
"data-slot": "textarea",
|
|
2762
|
+
className: require_BodhiLogo.cn("resize-none border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-input-background px-3 py-2 text-base transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className),
|
|
2763
|
+
...props
|
|
2764
|
+
});
|
|
2765
|
+
}
|
|
2766
|
+
//#endregion
|
|
2767
|
+
//#region src/primitives/Toggle/Toggle.tsx
|
|
2768
|
+
const toggleVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
|
|
2769
|
+
variants: {
|
|
2770
|
+
variant: {
|
|
2771
|
+
default: "bg-transparent",
|
|
2772
|
+
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
|
|
2773
|
+
},
|
|
2774
|
+
size: {
|
|
2775
|
+
default: "h-9 px-2 min-w-9",
|
|
2776
|
+
sm: "h-8 px-1.5 min-w-8",
|
|
2777
|
+
lg: "h-10 px-2.5 min-w-10"
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
defaultVariants: {
|
|
2781
|
+
variant: "default",
|
|
2782
|
+
size: "default"
|
|
2783
|
+
}
|
|
2784
|
+
});
|
|
2785
|
+
function Toggle({ className, variant, size, ...props }) {
|
|
2786
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_toggle.Root, {
|
|
2787
|
+
"data-slot": "toggle",
|
|
2788
|
+
className: require_BodhiLogo.cn(toggleVariants({
|
|
2789
|
+
variant,
|
|
2790
|
+
size,
|
|
2791
|
+
className
|
|
2792
|
+
})),
|
|
2793
|
+
...props
|
|
2794
|
+
});
|
|
2795
|
+
}
|
|
2796
|
+
//#endregion
|
|
2797
|
+
//#region src/primitives/ToggleGroup/ToggleGroup.tsx
|
|
2798
|
+
const ToggleGroupContext = react.createContext({
|
|
2799
|
+
size: "default",
|
|
2800
|
+
variant: "default"
|
|
2801
|
+
});
|
|
2802
|
+
function ToggleGroup({ className, variant, size, children, ...props }) {
|
|
2803
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_toggle_group.Root, {
|
|
2804
|
+
"data-slot": "toggle-group",
|
|
2805
|
+
"data-variant": variant,
|
|
2806
|
+
"data-size": size,
|
|
2807
|
+
className: require_BodhiLogo.cn("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs", className),
|
|
2808
|
+
...props,
|
|
2809
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ToggleGroupContext.Provider, {
|
|
2810
|
+
value: {
|
|
2811
|
+
variant,
|
|
2812
|
+
size
|
|
2813
|
+
},
|
|
2814
|
+
children
|
|
2815
|
+
})
|
|
2816
|
+
});
|
|
2817
|
+
}
|
|
2818
|
+
function ToggleGroupItem({ className, children, variant, size, ...props }) {
|
|
2819
|
+
const context = react.useContext(ToggleGroupContext);
|
|
2820
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_toggle_group.Item, {
|
|
2821
|
+
"data-slot": "toggle-group-item",
|
|
2822
|
+
"data-variant": variant ?? context.variant,
|
|
2823
|
+
"data-size": size ?? context.size,
|
|
2824
|
+
className: require_BodhiLogo.cn(toggleVariants({
|
|
2825
|
+
variant: variant ?? context.variant,
|
|
2826
|
+
size: size ?? context.size
|
|
2827
|
+
}), "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l", className),
|
|
2828
|
+
...props,
|
|
2829
|
+
children
|
|
2830
|
+
});
|
|
2831
|
+
}
|
|
2832
|
+
//#endregion
|
|
2833
|
+
Object.defineProperty(exports, "Accordion", {
|
|
2834
|
+
enumerable: true,
|
|
2835
|
+
get: function() {
|
|
2836
|
+
return Accordion;
|
|
2837
|
+
}
|
|
2838
|
+
});
|
|
2839
|
+
Object.defineProperty(exports, "AccordionContent", {
|
|
2840
|
+
enumerable: true,
|
|
2841
|
+
get: function() {
|
|
2842
|
+
return AccordionContent;
|
|
2843
|
+
}
|
|
2844
|
+
});
|
|
2845
|
+
Object.defineProperty(exports, "AccordionItem", {
|
|
2846
|
+
enumerable: true,
|
|
2847
|
+
get: function() {
|
|
2848
|
+
return AccordionItem;
|
|
2849
|
+
}
|
|
2850
|
+
});
|
|
2851
|
+
Object.defineProperty(exports, "AccordionTrigger", {
|
|
2852
|
+
enumerable: true,
|
|
2853
|
+
get: function() {
|
|
2854
|
+
return AccordionTrigger;
|
|
2855
|
+
}
|
|
2856
|
+
});
|
|
2857
|
+
Object.defineProperty(exports, "Alert", {
|
|
2858
|
+
enumerable: true,
|
|
2859
|
+
get: function() {
|
|
2860
|
+
return Alert;
|
|
2861
|
+
}
|
|
2862
|
+
});
|
|
2863
|
+
Object.defineProperty(exports, "AlertDescription", {
|
|
2864
|
+
enumerable: true,
|
|
2865
|
+
get: function() {
|
|
2866
|
+
return AlertDescription;
|
|
2867
|
+
}
|
|
2868
|
+
});
|
|
2869
|
+
Object.defineProperty(exports, "AlertDialog", {
|
|
2870
|
+
enumerable: true,
|
|
2871
|
+
get: function() {
|
|
2872
|
+
return AlertDialog;
|
|
2873
|
+
}
|
|
2874
|
+
});
|
|
2875
|
+
Object.defineProperty(exports, "AlertDialogAction", {
|
|
2876
|
+
enumerable: true,
|
|
2877
|
+
get: function() {
|
|
2878
|
+
return AlertDialogAction;
|
|
2879
|
+
}
|
|
2880
|
+
});
|
|
2881
|
+
Object.defineProperty(exports, "AlertDialogCancel", {
|
|
2882
|
+
enumerable: true,
|
|
2883
|
+
get: function() {
|
|
2884
|
+
return AlertDialogCancel;
|
|
2885
|
+
}
|
|
2886
|
+
});
|
|
2887
|
+
Object.defineProperty(exports, "AlertDialogContent", {
|
|
2888
|
+
enumerable: true,
|
|
2889
|
+
get: function() {
|
|
2890
|
+
return AlertDialogContent;
|
|
2891
|
+
}
|
|
2892
|
+
});
|
|
2893
|
+
Object.defineProperty(exports, "AlertDialogDescription", {
|
|
2894
|
+
enumerable: true,
|
|
2895
|
+
get: function() {
|
|
2896
|
+
return AlertDialogDescription;
|
|
2897
|
+
}
|
|
2898
|
+
});
|
|
2899
|
+
Object.defineProperty(exports, "AlertDialogFooter", {
|
|
2900
|
+
enumerable: true,
|
|
2901
|
+
get: function() {
|
|
2902
|
+
return AlertDialogFooter;
|
|
2903
|
+
}
|
|
2904
|
+
});
|
|
2905
|
+
Object.defineProperty(exports, "AlertDialogHeader", {
|
|
2906
|
+
enumerable: true,
|
|
2907
|
+
get: function() {
|
|
2908
|
+
return AlertDialogHeader;
|
|
2909
|
+
}
|
|
2910
|
+
});
|
|
2911
|
+
Object.defineProperty(exports, "AlertDialogOverlay", {
|
|
2912
|
+
enumerable: true,
|
|
2913
|
+
get: function() {
|
|
2914
|
+
return AlertDialogOverlay;
|
|
2915
|
+
}
|
|
2916
|
+
});
|
|
2917
|
+
Object.defineProperty(exports, "AlertDialogPortal", {
|
|
2918
|
+
enumerable: true,
|
|
2919
|
+
get: function() {
|
|
2920
|
+
return AlertDialogPortal;
|
|
2921
|
+
}
|
|
2922
|
+
});
|
|
2923
|
+
Object.defineProperty(exports, "AlertDialogTitle", {
|
|
2924
|
+
enumerable: true,
|
|
2925
|
+
get: function() {
|
|
2926
|
+
return AlertDialogTitle;
|
|
2927
|
+
}
|
|
2928
|
+
});
|
|
2929
|
+
Object.defineProperty(exports, "AlertDialogTrigger", {
|
|
2930
|
+
enumerable: true,
|
|
2931
|
+
get: function() {
|
|
2932
|
+
return AlertDialogTrigger;
|
|
2933
|
+
}
|
|
2934
|
+
});
|
|
2935
|
+
Object.defineProperty(exports, "AlertTitle", {
|
|
2936
|
+
enumerable: true,
|
|
2937
|
+
get: function() {
|
|
2938
|
+
return AlertTitle;
|
|
2939
|
+
}
|
|
2940
|
+
});
|
|
2941
|
+
Object.defineProperty(exports, "AspectRatio", {
|
|
2942
|
+
enumerable: true,
|
|
2943
|
+
get: function() {
|
|
2944
|
+
return AspectRatio;
|
|
2945
|
+
}
|
|
2946
|
+
});
|
|
2947
|
+
Object.defineProperty(exports, "Avatar", {
|
|
2948
|
+
enumerable: true,
|
|
2949
|
+
get: function() {
|
|
2950
|
+
return Avatar;
|
|
2951
|
+
}
|
|
2952
|
+
});
|
|
2953
|
+
Object.defineProperty(exports, "AvatarFallback", {
|
|
2954
|
+
enumerable: true,
|
|
2955
|
+
get: function() {
|
|
2956
|
+
return AvatarFallback;
|
|
2957
|
+
}
|
|
2958
|
+
});
|
|
2959
|
+
Object.defineProperty(exports, "AvatarImage", {
|
|
2960
|
+
enumerable: true,
|
|
2961
|
+
get: function() {
|
|
2962
|
+
return AvatarImage;
|
|
2963
|
+
}
|
|
2964
|
+
});
|
|
2965
|
+
Object.defineProperty(exports, "Badge", {
|
|
2966
|
+
enumerable: true,
|
|
2967
|
+
get: function() {
|
|
2968
|
+
return Badge;
|
|
2969
|
+
}
|
|
2970
|
+
});
|
|
2971
|
+
Object.defineProperty(exports, "BodhiIcon", {
|
|
2972
|
+
enumerable: true,
|
|
2973
|
+
get: function() {
|
|
2974
|
+
return BodhiIcon;
|
|
2975
|
+
}
|
|
2976
|
+
});
|
|
2977
|
+
Object.defineProperty(exports, "Breadcrumb", {
|
|
2978
|
+
enumerable: true,
|
|
2979
|
+
get: function() {
|
|
2980
|
+
return Breadcrumb;
|
|
2981
|
+
}
|
|
2982
|
+
});
|
|
2983
|
+
Object.defineProperty(exports, "BreadcrumbEllipsis", {
|
|
2984
|
+
enumerable: true,
|
|
2985
|
+
get: function() {
|
|
2986
|
+
return BreadcrumbEllipsis;
|
|
2987
|
+
}
|
|
2988
|
+
});
|
|
2989
|
+
Object.defineProperty(exports, "BreadcrumbItem", {
|
|
2990
|
+
enumerable: true,
|
|
2991
|
+
get: function() {
|
|
2992
|
+
return BreadcrumbItem;
|
|
2993
|
+
}
|
|
2994
|
+
});
|
|
2995
|
+
Object.defineProperty(exports, "BreadcrumbLink", {
|
|
2996
|
+
enumerable: true,
|
|
2997
|
+
get: function() {
|
|
2998
|
+
return BreadcrumbLink;
|
|
2999
|
+
}
|
|
3000
|
+
});
|
|
3001
|
+
Object.defineProperty(exports, "BreadcrumbList", {
|
|
3002
|
+
enumerable: true,
|
|
3003
|
+
get: function() {
|
|
3004
|
+
return BreadcrumbList;
|
|
3005
|
+
}
|
|
3006
|
+
});
|
|
3007
|
+
Object.defineProperty(exports, "BreadcrumbPage", {
|
|
3008
|
+
enumerable: true,
|
|
3009
|
+
get: function() {
|
|
3010
|
+
return BreadcrumbPage;
|
|
3011
|
+
}
|
|
3012
|
+
});
|
|
3013
|
+
Object.defineProperty(exports, "BreadcrumbSeparator", {
|
|
3014
|
+
enumerable: true,
|
|
3015
|
+
get: function() {
|
|
3016
|
+
return BreadcrumbSeparator;
|
|
3017
|
+
}
|
|
3018
|
+
});
|
|
3019
|
+
Object.defineProperty(exports, "Button", {
|
|
3020
|
+
enumerable: true,
|
|
3021
|
+
get: function() {
|
|
3022
|
+
return Button;
|
|
3023
|
+
}
|
|
3024
|
+
});
|
|
3025
|
+
Object.defineProperty(exports, "Calendar", {
|
|
3026
|
+
enumerable: true,
|
|
3027
|
+
get: function() {
|
|
3028
|
+
return Calendar;
|
|
3029
|
+
}
|
|
3030
|
+
});
|
|
3031
|
+
Object.defineProperty(exports, "Card", {
|
|
3032
|
+
enumerable: true,
|
|
3033
|
+
get: function() {
|
|
3034
|
+
return Card;
|
|
3035
|
+
}
|
|
3036
|
+
});
|
|
3037
|
+
Object.defineProperty(exports, "CardAction", {
|
|
3038
|
+
enumerable: true,
|
|
3039
|
+
get: function() {
|
|
3040
|
+
return CardAction;
|
|
3041
|
+
}
|
|
3042
|
+
});
|
|
3043
|
+
Object.defineProperty(exports, "CardContent", {
|
|
3044
|
+
enumerable: true,
|
|
3045
|
+
get: function() {
|
|
3046
|
+
return CardContent;
|
|
3047
|
+
}
|
|
3048
|
+
});
|
|
3049
|
+
Object.defineProperty(exports, "CardDescription", {
|
|
3050
|
+
enumerable: true,
|
|
3051
|
+
get: function() {
|
|
3052
|
+
return CardDescription;
|
|
3053
|
+
}
|
|
3054
|
+
});
|
|
3055
|
+
Object.defineProperty(exports, "CardFooter", {
|
|
3056
|
+
enumerable: true,
|
|
3057
|
+
get: function() {
|
|
3058
|
+
return CardFooter;
|
|
3059
|
+
}
|
|
3060
|
+
});
|
|
3061
|
+
Object.defineProperty(exports, "CardHeader", {
|
|
3062
|
+
enumerable: true,
|
|
3063
|
+
get: function() {
|
|
3064
|
+
return CardHeader;
|
|
3065
|
+
}
|
|
3066
|
+
});
|
|
3067
|
+
Object.defineProperty(exports, "CardTitle", {
|
|
3068
|
+
enumerable: true,
|
|
3069
|
+
get: function() {
|
|
3070
|
+
return CardTitle;
|
|
3071
|
+
}
|
|
3072
|
+
});
|
|
3073
|
+
Object.defineProperty(exports, "Carousel", {
|
|
3074
|
+
enumerable: true,
|
|
3075
|
+
get: function() {
|
|
3076
|
+
return Carousel;
|
|
3077
|
+
}
|
|
3078
|
+
});
|
|
3079
|
+
Object.defineProperty(exports, "CarouselContent", {
|
|
3080
|
+
enumerable: true,
|
|
3081
|
+
get: function() {
|
|
3082
|
+
return CarouselContent;
|
|
3083
|
+
}
|
|
3084
|
+
});
|
|
3085
|
+
Object.defineProperty(exports, "CarouselItem", {
|
|
3086
|
+
enumerable: true,
|
|
3087
|
+
get: function() {
|
|
3088
|
+
return CarouselItem;
|
|
3089
|
+
}
|
|
3090
|
+
});
|
|
3091
|
+
Object.defineProperty(exports, "CarouselNext", {
|
|
3092
|
+
enumerable: true,
|
|
3093
|
+
get: function() {
|
|
3094
|
+
return CarouselNext;
|
|
3095
|
+
}
|
|
3096
|
+
});
|
|
3097
|
+
Object.defineProperty(exports, "CarouselPrevious", {
|
|
3098
|
+
enumerable: true,
|
|
3099
|
+
get: function() {
|
|
3100
|
+
return CarouselPrevious;
|
|
3101
|
+
}
|
|
3102
|
+
});
|
|
3103
|
+
Object.defineProperty(exports, "ChartContainer", {
|
|
3104
|
+
enumerable: true,
|
|
3105
|
+
get: function() {
|
|
3106
|
+
return ChartContainer;
|
|
3107
|
+
}
|
|
3108
|
+
});
|
|
3109
|
+
Object.defineProperty(exports, "ChartLegend", {
|
|
3110
|
+
enumerable: true,
|
|
3111
|
+
get: function() {
|
|
3112
|
+
return ChartLegend;
|
|
3113
|
+
}
|
|
3114
|
+
});
|
|
3115
|
+
Object.defineProperty(exports, "ChartLegendContent", {
|
|
3116
|
+
enumerable: true,
|
|
3117
|
+
get: function() {
|
|
3118
|
+
return ChartLegendContent;
|
|
3119
|
+
}
|
|
3120
|
+
});
|
|
3121
|
+
Object.defineProperty(exports, "ChartStyle", {
|
|
3122
|
+
enumerable: true,
|
|
3123
|
+
get: function() {
|
|
3124
|
+
return ChartStyle;
|
|
3125
|
+
}
|
|
3126
|
+
});
|
|
3127
|
+
Object.defineProperty(exports, "ChartTooltip", {
|
|
3128
|
+
enumerable: true,
|
|
3129
|
+
get: function() {
|
|
3130
|
+
return ChartTooltip;
|
|
3131
|
+
}
|
|
3132
|
+
});
|
|
3133
|
+
Object.defineProperty(exports, "ChartTooltipContent", {
|
|
3134
|
+
enumerable: true,
|
|
3135
|
+
get: function() {
|
|
3136
|
+
return ChartTooltipContent;
|
|
3137
|
+
}
|
|
3138
|
+
});
|
|
3139
|
+
Object.defineProperty(exports, "Checkbox", {
|
|
3140
|
+
enumerable: true,
|
|
3141
|
+
get: function() {
|
|
3142
|
+
return Checkbox;
|
|
3143
|
+
}
|
|
3144
|
+
});
|
|
3145
|
+
Object.defineProperty(exports, "Collapsible", {
|
|
3146
|
+
enumerable: true,
|
|
3147
|
+
get: function() {
|
|
3148
|
+
return Collapsible;
|
|
3149
|
+
}
|
|
3150
|
+
});
|
|
3151
|
+
Object.defineProperty(exports, "CollapsibleContent", {
|
|
3152
|
+
enumerable: true,
|
|
3153
|
+
get: function() {
|
|
3154
|
+
return CollapsibleContent;
|
|
3155
|
+
}
|
|
3156
|
+
});
|
|
3157
|
+
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
3158
|
+
enumerable: true,
|
|
3159
|
+
get: function() {
|
|
3160
|
+
return CollapsibleTrigger;
|
|
3161
|
+
}
|
|
3162
|
+
});
|
|
3163
|
+
Object.defineProperty(exports, "Command", {
|
|
3164
|
+
enumerable: true,
|
|
3165
|
+
get: function() {
|
|
3166
|
+
return Command;
|
|
3167
|
+
}
|
|
3168
|
+
});
|
|
3169
|
+
Object.defineProperty(exports, "CommandDialog", {
|
|
3170
|
+
enumerable: true,
|
|
3171
|
+
get: function() {
|
|
3172
|
+
return CommandDialog;
|
|
3173
|
+
}
|
|
3174
|
+
});
|
|
3175
|
+
Object.defineProperty(exports, "CommandEmpty", {
|
|
3176
|
+
enumerable: true,
|
|
3177
|
+
get: function() {
|
|
3178
|
+
return CommandEmpty;
|
|
3179
|
+
}
|
|
3180
|
+
});
|
|
3181
|
+
Object.defineProperty(exports, "CommandGroup", {
|
|
3182
|
+
enumerable: true,
|
|
3183
|
+
get: function() {
|
|
3184
|
+
return CommandGroup;
|
|
3185
|
+
}
|
|
3186
|
+
});
|
|
3187
|
+
Object.defineProperty(exports, "CommandInput", {
|
|
3188
|
+
enumerable: true,
|
|
3189
|
+
get: function() {
|
|
3190
|
+
return CommandInput;
|
|
3191
|
+
}
|
|
3192
|
+
});
|
|
3193
|
+
Object.defineProperty(exports, "CommandItem", {
|
|
3194
|
+
enumerable: true,
|
|
3195
|
+
get: function() {
|
|
3196
|
+
return CommandItem;
|
|
3197
|
+
}
|
|
3198
|
+
});
|
|
3199
|
+
Object.defineProperty(exports, "CommandList", {
|
|
3200
|
+
enumerable: true,
|
|
3201
|
+
get: function() {
|
|
3202
|
+
return CommandList;
|
|
3203
|
+
}
|
|
3204
|
+
});
|
|
3205
|
+
Object.defineProperty(exports, "CommandSeparator", {
|
|
3206
|
+
enumerable: true,
|
|
3207
|
+
get: function() {
|
|
3208
|
+
return CommandSeparator;
|
|
3209
|
+
}
|
|
3210
|
+
});
|
|
3211
|
+
Object.defineProperty(exports, "CommandShortcut", {
|
|
3212
|
+
enumerable: true,
|
|
3213
|
+
get: function() {
|
|
3214
|
+
return CommandShortcut;
|
|
3215
|
+
}
|
|
3216
|
+
});
|
|
3217
|
+
Object.defineProperty(exports, "ContextMenu", {
|
|
3218
|
+
enumerable: true,
|
|
3219
|
+
get: function() {
|
|
3220
|
+
return ContextMenu;
|
|
3221
|
+
}
|
|
3222
|
+
});
|
|
3223
|
+
Object.defineProperty(exports, "ContextMenuCheckboxItem", {
|
|
3224
|
+
enumerable: true,
|
|
3225
|
+
get: function() {
|
|
3226
|
+
return ContextMenuCheckboxItem;
|
|
3227
|
+
}
|
|
3228
|
+
});
|
|
3229
|
+
Object.defineProperty(exports, "ContextMenuContent", {
|
|
3230
|
+
enumerable: true,
|
|
3231
|
+
get: function() {
|
|
3232
|
+
return ContextMenuContent;
|
|
3233
|
+
}
|
|
3234
|
+
});
|
|
3235
|
+
Object.defineProperty(exports, "ContextMenuGroup", {
|
|
3236
|
+
enumerable: true,
|
|
3237
|
+
get: function() {
|
|
3238
|
+
return ContextMenuGroup;
|
|
3239
|
+
}
|
|
3240
|
+
});
|
|
3241
|
+
Object.defineProperty(exports, "ContextMenuItem", {
|
|
3242
|
+
enumerable: true,
|
|
3243
|
+
get: function() {
|
|
3244
|
+
return ContextMenuItem;
|
|
3245
|
+
}
|
|
3246
|
+
});
|
|
3247
|
+
Object.defineProperty(exports, "ContextMenuLabel", {
|
|
3248
|
+
enumerable: true,
|
|
3249
|
+
get: function() {
|
|
3250
|
+
return ContextMenuLabel;
|
|
3251
|
+
}
|
|
3252
|
+
});
|
|
3253
|
+
Object.defineProperty(exports, "ContextMenuPortal", {
|
|
3254
|
+
enumerable: true,
|
|
3255
|
+
get: function() {
|
|
3256
|
+
return ContextMenuPortal;
|
|
3257
|
+
}
|
|
3258
|
+
});
|
|
3259
|
+
Object.defineProperty(exports, "ContextMenuRadioGroup", {
|
|
3260
|
+
enumerable: true,
|
|
3261
|
+
get: function() {
|
|
3262
|
+
return ContextMenuRadioGroup;
|
|
3263
|
+
}
|
|
3264
|
+
});
|
|
3265
|
+
Object.defineProperty(exports, "ContextMenuRadioItem", {
|
|
3266
|
+
enumerable: true,
|
|
3267
|
+
get: function() {
|
|
3268
|
+
return ContextMenuRadioItem;
|
|
3269
|
+
}
|
|
3270
|
+
});
|
|
3271
|
+
Object.defineProperty(exports, "ContextMenuSeparator", {
|
|
3272
|
+
enumerable: true,
|
|
3273
|
+
get: function() {
|
|
3274
|
+
return ContextMenuSeparator;
|
|
3275
|
+
}
|
|
3276
|
+
});
|
|
3277
|
+
Object.defineProperty(exports, "ContextMenuShortcut", {
|
|
3278
|
+
enumerable: true,
|
|
3279
|
+
get: function() {
|
|
3280
|
+
return ContextMenuShortcut;
|
|
3281
|
+
}
|
|
3282
|
+
});
|
|
3283
|
+
Object.defineProperty(exports, "ContextMenuSub", {
|
|
3284
|
+
enumerable: true,
|
|
3285
|
+
get: function() {
|
|
3286
|
+
return ContextMenuSub;
|
|
3287
|
+
}
|
|
3288
|
+
});
|
|
3289
|
+
Object.defineProperty(exports, "ContextMenuSubContent", {
|
|
3290
|
+
enumerable: true,
|
|
3291
|
+
get: function() {
|
|
3292
|
+
return ContextMenuSubContent;
|
|
3293
|
+
}
|
|
3294
|
+
});
|
|
3295
|
+
Object.defineProperty(exports, "ContextMenuSubTrigger", {
|
|
3296
|
+
enumerable: true,
|
|
3297
|
+
get: function() {
|
|
3298
|
+
return ContextMenuSubTrigger;
|
|
3299
|
+
}
|
|
3300
|
+
});
|
|
3301
|
+
Object.defineProperty(exports, "ContextMenuTrigger", {
|
|
3302
|
+
enumerable: true,
|
|
3303
|
+
get: function() {
|
|
3304
|
+
return ContextMenuTrigger;
|
|
3305
|
+
}
|
|
3306
|
+
});
|
|
3307
|
+
Object.defineProperty(exports, "Dialog", {
|
|
3308
|
+
enumerable: true,
|
|
3309
|
+
get: function() {
|
|
3310
|
+
return Dialog;
|
|
3311
|
+
}
|
|
3312
|
+
});
|
|
3313
|
+
Object.defineProperty(exports, "DialogClose", {
|
|
3314
|
+
enumerable: true,
|
|
3315
|
+
get: function() {
|
|
3316
|
+
return DialogClose;
|
|
3317
|
+
}
|
|
3318
|
+
});
|
|
3319
|
+
Object.defineProperty(exports, "DialogContent", {
|
|
3320
|
+
enumerable: true,
|
|
3321
|
+
get: function() {
|
|
3322
|
+
return DialogContent;
|
|
3323
|
+
}
|
|
3324
|
+
});
|
|
3325
|
+
Object.defineProperty(exports, "DialogDescription", {
|
|
3326
|
+
enumerable: true,
|
|
3327
|
+
get: function() {
|
|
3328
|
+
return DialogDescription;
|
|
3329
|
+
}
|
|
3330
|
+
});
|
|
3331
|
+
Object.defineProperty(exports, "DialogFooter", {
|
|
3332
|
+
enumerable: true,
|
|
3333
|
+
get: function() {
|
|
3334
|
+
return DialogFooter;
|
|
3335
|
+
}
|
|
3336
|
+
});
|
|
3337
|
+
Object.defineProperty(exports, "DialogHeader", {
|
|
3338
|
+
enumerable: true,
|
|
3339
|
+
get: function() {
|
|
3340
|
+
return DialogHeader;
|
|
3341
|
+
}
|
|
3342
|
+
});
|
|
3343
|
+
Object.defineProperty(exports, "DialogOverlay", {
|
|
3344
|
+
enumerable: true,
|
|
3345
|
+
get: function() {
|
|
3346
|
+
return DialogOverlay;
|
|
3347
|
+
}
|
|
3348
|
+
});
|
|
3349
|
+
Object.defineProperty(exports, "DialogPortal", {
|
|
3350
|
+
enumerable: true,
|
|
3351
|
+
get: function() {
|
|
3352
|
+
return DialogPortal;
|
|
3353
|
+
}
|
|
3354
|
+
});
|
|
3355
|
+
Object.defineProperty(exports, "DialogTitle", {
|
|
3356
|
+
enumerable: true,
|
|
3357
|
+
get: function() {
|
|
3358
|
+
return DialogTitle;
|
|
3359
|
+
}
|
|
3360
|
+
});
|
|
3361
|
+
Object.defineProperty(exports, "DialogTrigger", {
|
|
3362
|
+
enumerable: true,
|
|
3363
|
+
get: function() {
|
|
3364
|
+
return DialogTrigger;
|
|
3365
|
+
}
|
|
3366
|
+
});
|
|
3367
|
+
Object.defineProperty(exports, "Drawer", {
|
|
3368
|
+
enumerable: true,
|
|
3369
|
+
get: function() {
|
|
3370
|
+
return Drawer;
|
|
3371
|
+
}
|
|
3372
|
+
});
|
|
3373
|
+
Object.defineProperty(exports, "DrawerClose", {
|
|
3374
|
+
enumerable: true,
|
|
3375
|
+
get: function() {
|
|
3376
|
+
return DrawerClose;
|
|
3377
|
+
}
|
|
3378
|
+
});
|
|
3379
|
+
Object.defineProperty(exports, "DrawerContent", {
|
|
3380
|
+
enumerable: true,
|
|
3381
|
+
get: function() {
|
|
3382
|
+
return DrawerContent;
|
|
3383
|
+
}
|
|
3384
|
+
});
|
|
3385
|
+
Object.defineProperty(exports, "DrawerDescription", {
|
|
3386
|
+
enumerable: true,
|
|
3387
|
+
get: function() {
|
|
3388
|
+
return DrawerDescription;
|
|
3389
|
+
}
|
|
3390
|
+
});
|
|
3391
|
+
Object.defineProperty(exports, "DrawerFooter", {
|
|
3392
|
+
enumerable: true,
|
|
3393
|
+
get: function() {
|
|
3394
|
+
return DrawerFooter;
|
|
3395
|
+
}
|
|
3396
|
+
});
|
|
3397
|
+
Object.defineProperty(exports, "DrawerHeader", {
|
|
3398
|
+
enumerable: true,
|
|
3399
|
+
get: function() {
|
|
3400
|
+
return DrawerHeader;
|
|
3401
|
+
}
|
|
3402
|
+
});
|
|
3403
|
+
Object.defineProperty(exports, "DrawerOverlay", {
|
|
3404
|
+
enumerable: true,
|
|
3405
|
+
get: function() {
|
|
3406
|
+
return DrawerOverlay;
|
|
3407
|
+
}
|
|
3408
|
+
});
|
|
3409
|
+
Object.defineProperty(exports, "DrawerPortal", {
|
|
3410
|
+
enumerable: true,
|
|
3411
|
+
get: function() {
|
|
3412
|
+
return DrawerPortal;
|
|
3413
|
+
}
|
|
3414
|
+
});
|
|
3415
|
+
Object.defineProperty(exports, "DrawerTitle", {
|
|
3416
|
+
enumerable: true,
|
|
3417
|
+
get: function() {
|
|
3418
|
+
return DrawerTitle;
|
|
3419
|
+
}
|
|
3420
|
+
});
|
|
3421
|
+
Object.defineProperty(exports, "DrawerTrigger", {
|
|
3422
|
+
enumerable: true,
|
|
3423
|
+
get: function() {
|
|
3424
|
+
return DrawerTrigger;
|
|
3425
|
+
}
|
|
3426
|
+
});
|
|
3427
|
+
Object.defineProperty(exports, "DropdownMenu", {
|
|
3428
|
+
enumerable: true,
|
|
3429
|
+
get: function() {
|
|
3430
|
+
return DropdownMenu;
|
|
3431
|
+
}
|
|
3432
|
+
});
|
|
3433
|
+
Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
|
|
3434
|
+
enumerable: true,
|
|
3435
|
+
get: function() {
|
|
3436
|
+
return DropdownMenuCheckboxItem;
|
|
3437
|
+
}
|
|
3438
|
+
});
|
|
3439
|
+
Object.defineProperty(exports, "DropdownMenuContent", {
|
|
3440
|
+
enumerable: true,
|
|
3441
|
+
get: function() {
|
|
3442
|
+
return DropdownMenuContent;
|
|
3443
|
+
}
|
|
3444
|
+
});
|
|
3445
|
+
Object.defineProperty(exports, "DropdownMenuGroup", {
|
|
3446
|
+
enumerable: true,
|
|
3447
|
+
get: function() {
|
|
3448
|
+
return DropdownMenuGroup;
|
|
3449
|
+
}
|
|
3450
|
+
});
|
|
3451
|
+
Object.defineProperty(exports, "DropdownMenuItem", {
|
|
3452
|
+
enumerable: true,
|
|
3453
|
+
get: function() {
|
|
3454
|
+
return DropdownMenuItem;
|
|
3455
|
+
}
|
|
3456
|
+
});
|
|
3457
|
+
Object.defineProperty(exports, "DropdownMenuLabel", {
|
|
3458
|
+
enumerable: true,
|
|
3459
|
+
get: function() {
|
|
3460
|
+
return DropdownMenuLabel;
|
|
3461
|
+
}
|
|
3462
|
+
});
|
|
3463
|
+
Object.defineProperty(exports, "DropdownMenuPortal", {
|
|
3464
|
+
enumerable: true,
|
|
3465
|
+
get: function() {
|
|
3466
|
+
return DropdownMenuPortal;
|
|
3467
|
+
}
|
|
3468
|
+
});
|
|
3469
|
+
Object.defineProperty(exports, "DropdownMenuRadioGroup", {
|
|
3470
|
+
enumerable: true,
|
|
3471
|
+
get: function() {
|
|
3472
|
+
return DropdownMenuRadioGroup;
|
|
3473
|
+
}
|
|
3474
|
+
});
|
|
3475
|
+
Object.defineProperty(exports, "DropdownMenuRadioItem", {
|
|
3476
|
+
enumerable: true,
|
|
3477
|
+
get: function() {
|
|
3478
|
+
return DropdownMenuRadioItem;
|
|
3479
|
+
}
|
|
3480
|
+
});
|
|
3481
|
+
Object.defineProperty(exports, "DropdownMenuSeparator", {
|
|
3482
|
+
enumerable: true,
|
|
3483
|
+
get: function() {
|
|
3484
|
+
return DropdownMenuSeparator;
|
|
3485
|
+
}
|
|
3486
|
+
});
|
|
3487
|
+
Object.defineProperty(exports, "DropdownMenuShortcut", {
|
|
3488
|
+
enumerable: true,
|
|
3489
|
+
get: function() {
|
|
3490
|
+
return DropdownMenuShortcut;
|
|
3491
|
+
}
|
|
3492
|
+
});
|
|
3493
|
+
Object.defineProperty(exports, "DropdownMenuSub", {
|
|
3494
|
+
enumerable: true,
|
|
3495
|
+
get: function() {
|
|
3496
|
+
return DropdownMenuSub;
|
|
3497
|
+
}
|
|
3498
|
+
});
|
|
3499
|
+
Object.defineProperty(exports, "DropdownMenuSubContent", {
|
|
3500
|
+
enumerable: true,
|
|
3501
|
+
get: function() {
|
|
3502
|
+
return DropdownMenuSubContent;
|
|
3503
|
+
}
|
|
3504
|
+
});
|
|
3505
|
+
Object.defineProperty(exports, "DropdownMenuSubTrigger", {
|
|
3506
|
+
enumerable: true,
|
|
3507
|
+
get: function() {
|
|
3508
|
+
return DropdownMenuSubTrigger;
|
|
3509
|
+
}
|
|
3510
|
+
});
|
|
3511
|
+
Object.defineProperty(exports, "DropdownMenuTrigger", {
|
|
3512
|
+
enumerable: true,
|
|
3513
|
+
get: function() {
|
|
3514
|
+
return DropdownMenuTrigger;
|
|
3515
|
+
}
|
|
3516
|
+
});
|
|
3517
|
+
Object.defineProperty(exports, "Form", {
|
|
3518
|
+
enumerable: true,
|
|
3519
|
+
get: function() {
|
|
3520
|
+
return Form;
|
|
3521
|
+
}
|
|
3522
|
+
});
|
|
3523
|
+
Object.defineProperty(exports, "FormControl", {
|
|
3524
|
+
enumerable: true,
|
|
3525
|
+
get: function() {
|
|
3526
|
+
return FormControl;
|
|
3527
|
+
}
|
|
3528
|
+
});
|
|
3529
|
+
Object.defineProperty(exports, "FormDescription", {
|
|
3530
|
+
enumerable: true,
|
|
3531
|
+
get: function() {
|
|
3532
|
+
return FormDescription;
|
|
3533
|
+
}
|
|
3534
|
+
});
|
|
3535
|
+
Object.defineProperty(exports, "FormField", {
|
|
3536
|
+
enumerable: true,
|
|
3537
|
+
get: function() {
|
|
3538
|
+
return FormField;
|
|
3539
|
+
}
|
|
3540
|
+
});
|
|
3541
|
+
Object.defineProperty(exports, "FormItem", {
|
|
3542
|
+
enumerable: true,
|
|
3543
|
+
get: function() {
|
|
3544
|
+
return FormItem;
|
|
3545
|
+
}
|
|
3546
|
+
});
|
|
3547
|
+
Object.defineProperty(exports, "FormLabel", {
|
|
3548
|
+
enumerable: true,
|
|
3549
|
+
get: function() {
|
|
3550
|
+
return FormLabel;
|
|
3551
|
+
}
|
|
3552
|
+
});
|
|
3553
|
+
Object.defineProperty(exports, "FormMessage", {
|
|
3554
|
+
enumerable: true,
|
|
3555
|
+
get: function() {
|
|
3556
|
+
return FormMessage;
|
|
3557
|
+
}
|
|
3558
|
+
});
|
|
3559
|
+
Object.defineProperty(exports, "HoverCard", {
|
|
3560
|
+
enumerable: true,
|
|
3561
|
+
get: function() {
|
|
3562
|
+
return HoverCard;
|
|
3563
|
+
}
|
|
3564
|
+
});
|
|
3565
|
+
Object.defineProperty(exports, "HoverCardContent", {
|
|
3566
|
+
enumerable: true,
|
|
3567
|
+
get: function() {
|
|
3568
|
+
return HoverCardContent;
|
|
3569
|
+
}
|
|
3570
|
+
});
|
|
3571
|
+
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
3572
|
+
enumerable: true,
|
|
3573
|
+
get: function() {
|
|
3574
|
+
return HoverCardTrigger;
|
|
3575
|
+
}
|
|
3576
|
+
});
|
|
3577
|
+
Object.defineProperty(exports, "Input", {
|
|
3578
|
+
enumerable: true,
|
|
3579
|
+
get: function() {
|
|
3580
|
+
return Input;
|
|
3581
|
+
}
|
|
3582
|
+
});
|
|
3583
|
+
Object.defineProperty(exports, "InputOTP", {
|
|
3584
|
+
enumerable: true,
|
|
3585
|
+
get: function() {
|
|
3586
|
+
return InputOTP;
|
|
3587
|
+
}
|
|
3588
|
+
});
|
|
3589
|
+
Object.defineProperty(exports, "InputOTPGroup", {
|
|
3590
|
+
enumerable: true,
|
|
3591
|
+
get: function() {
|
|
3592
|
+
return InputOTPGroup;
|
|
3593
|
+
}
|
|
3594
|
+
});
|
|
3595
|
+
Object.defineProperty(exports, "InputOTPSeparator", {
|
|
3596
|
+
enumerable: true,
|
|
3597
|
+
get: function() {
|
|
3598
|
+
return InputOTPSeparator;
|
|
3599
|
+
}
|
|
3600
|
+
});
|
|
3601
|
+
Object.defineProperty(exports, "InputOTPSlot", {
|
|
3602
|
+
enumerable: true,
|
|
3603
|
+
get: function() {
|
|
3604
|
+
return InputOTPSlot;
|
|
3605
|
+
}
|
|
3606
|
+
});
|
|
3607
|
+
Object.defineProperty(exports, "Label", {
|
|
3608
|
+
enumerable: true,
|
|
3609
|
+
get: function() {
|
|
3610
|
+
return Label;
|
|
3611
|
+
}
|
|
3612
|
+
});
|
|
3613
|
+
Object.defineProperty(exports, "Menubar", {
|
|
3614
|
+
enumerable: true,
|
|
3615
|
+
get: function() {
|
|
3616
|
+
return Menubar;
|
|
3617
|
+
}
|
|
3618
|
+
});
|
|
3619
|
+
Object.defineProperty(exports, "MenubarCheckboxItem", {
|
|
3620
|
+
enumerable: true,
|
|
3621
|
+
get: function() {
|
|
3622
|
+
return MenubarCheckboxItem;
|
|
3623
|
+
}
|
|
3624
|
+
});
|
|
3625
|
+
Object.defineProperty(exports, "MenubarContent", {
|
|
3626
|
+
enumerable: true,
|
|
3627
|
+
get: function() {
|
|
3628
|
+
return MenubarContent;
|
|
3629
|
+
}
|
|
3630
|
+
});
|
|
3631
|
+
Object.defineProperty(exports, "MenubarGroup", {
|
|
3632
|
+
enumerable: true,
|
|
3633
|
+
get: function() {
|
|
3634
|
+
return MenubarGroup;
|
|
3635
|
+
}
|
|
3636
|
+
});
|
|
3637
|
+
Object.defineProperty(exports, "MenubarItem", {
|
|
3638
|
+
enumerable: true,
|
|
3639
|
+
get: function() {
|
|
3640
|
+
return MenubarItem;
|
|
3641
|
+
}
|
|
3642
|
+
});
|
|
3643
|
+
Object.defineProperty(exports, "MenubarLabel", {
|
|
3644
|
+
enumerable: true,
|
|
3645
|
+
get: function() {
|
|
3646
|
+
return MenubarLabel;
|
|
3647
|
+
}
|
|
3648
|
+
});
|
|
3649
|
+
Object.defineProperty(exports, "MenubarMenu", {
|
|
3650
|
+
enumerable: true,
|
|
3651
|
+
get: function() {
|
|
3652
|
+
return MenubarMenu;
|
|
3653
|
+
}
|
|
3654
|
+
});
|
|
3655
|
+
Object.defineProperty(exports, "MenubarPortal", {
|
|
3656
|
+
enumerable: true,
|
|
3657
|
+
get: function() {
|
|
3658
|
+
return MenubarPortal;
|
|
3659
|
+
}
|
|
3660
|
+
});
|
|
3661
|
+
Object.defineProperty(exports, "MenubarRadioGroup", {
|
|
3662
|
+
enumerable: true,
|
|
3663
|
+
get: function() {
|
|
3664
|
+
return MenubarRadioGroup;
|
|
3665
|
+
}
|
|
3666
|
+
});
|
|
3667
|
+
Object.defineProperty(exports, "MenubarRadioItem", {
|
|
3668
|
+
enumerable: true,
|
|
3669
|
+
get: function() {
|
|
3670
|
+
return MenubarRadioItem;
|
|
3671
|
+
}
|
|
3672
|
+
});
|
|
3673
|
+
Object.defineProperty(exports, "MenubarSeparator", {
|
|
3674
|
+
enumerable: true,
|
|
3675
|
+
get: function() {
|
|
3676
|
+
return MenubarSeparator;
|
|
3677
|
+
}
|
|
3678
|
+
});
|
|
3679
|
+
Object.defineProperty(exports, "MenubarShortcut", {
|
|
3680
|
+
enumerable: true,
|
|
3681
|
+
get: function() {
|
|
3682
|
+
return MenubarShortcut;
|
|
3683
|
+
}
|
|
3684
|
+
});
|
|
3685
|
+
Object.defineProperty(exports, "MenubarSub", {
|
|
3686
|
+
enumerable: true,
|
|
3687
|
+
get: function() {
|
|
3688
|
+
return MenubarSub;
|
|
3689
|
+
}
|
|
3690
|
+
});
|
|
3691
|
+
Object.defineProperty(exports, "MenubarSubContent", {
|
|
3692
|
+
enumerable: true,
|
|
3693
|
+
get: function() {
|
|
3694
|
+
return MenubarSubContent;
|
|
3695
|
+
}
|
|
3696
|
+
});
|
|
3697
|
+
Object.defineProperty(exports, "MenubarSubTrigger", {
|
|
3698
|
+
enumerable: true,
|
|
3699
|
+
get: function() {
|
|
3700
|
+
return MenubarSubTrigger;
|
|
3701
|
+
}
|
|
3702
|
+
});
|
|
3703
|
+
Object.defineProperty(exports, "MenubarTrigger", {
|
|
3704
|
+
enumerable: true,
|
|
3705
|
+
get: function() {
|
|
3706
|
+
return MenubarTrigger;
|
|
3707
|
+
}
|
|
3708
|
+
});
|
|
3709
|
+
Object.defineProperty(exports, "NavigationMenu", {
|
|
3710
|
+
enumerable: true,
|
|
3711
|
+
get: function() {
|
|
3712
|
+
return NavigationMenu;
|
|
3713
|
+
}
|
|
3714
|
+
});
|
|
3715
|
+
Object.defineProperty(exports, "NavigationMenuContent", {
|
|
3716
|
+
enumerable: true,
|
|
3717
|
+
get: function() {
|
|
3718
|
+
return NavigationMenuContent;
|
|
3719
|
+
}
|
|
3720
|
+
});
|
|
3721
|
+
Object.defineProperty(exports, "NavigationMenuIndicator", {
|
|
3722
|
+
enumerable: true,
|
|
3723
|
+
get: function() {
|
|
3724
|
+
return NavigationMenuIndicator;
|
|
3725
|
+
}
|
|
3726
|
+
});
|
|
3727
|
+
Object.defineProperty(exports, "NavigationMenuItem", {
|
|
3728
|
+
enumerable: true,
|
|
3729
|
+
get: function() {
|
|
3730
|
+
return NavigationMenuItem;
|
|
3731
|
+
}
|
|
3732
|
+
});
|
|
3733
|
+
Object.defineProperty(exports, "NavigationMenuLink", {
|
|
3734
|
+
enumerable: true,
|
|
3735
|
+
get: function() {
|
|
3736
|
+
return NavigationMenuLink;
|
|
3737
|
+
}
|
|
3738
|
+
});
|
|
3739
|
+
Object.defineProperty(exports, "NavigationMenuList", {
|
|
3740
|
+
enumerable: true,
|
|
3741
|
+
get: function() {
|
|
3742
|
+
return NavigationMenuList;
|
|
3743
|
+
}
|
|
3744
|
+
});
|
|
3745
|
+
Object.defineProperty(exports, "NavigationMenuTrigger", {
|
|
3746
|
+
enumerable: true,
|
|
3747
|
+
get: function() {
|
|
3748
|
+
return NavigationMenuTrigger;
|
|
3749
|
+
}
|
|
3750
|
+
});
|
|
3751
|
+
Object.defineProperty(exports, "NavigationMenuViewport", {
|
|
3752
|
+
enumerable: true,
|
|
3753
|
+
get: function() {
|
|
3754
|
+
return NavigationMenuViewport;
|
|
3755
|
+
}
|
|
3756
|
+
});
|
|
3757
|
+
Object.defineProperty(exports, "PSAILogo", {
|
|
3758
|
+
enumerable: true,
|
|
3759
|
+
get: function() {
|
|
3760
|
+
return PSAILogo;
|
|
3761
|
+
}
|
|
3762
|
+
});
|
|
3763
|
+
Object.defineProperty(exports, "Pagination", {
|
|
3764
|
+
enumerable: true,
|
|
3765
|
+
get: function() {
|
|
3766
|
+
return Pagination;
|
|
3767
|
+
}
|
|
3768
|
+
});
|
|
3769
|
+
Object.defineProperty(exports, "PaginationContent", {
|
|
3770
|
+
enumerable: true,
|
|
3771
|
+
get: function() {
|
|
3772
|
+
return PaginationContent;
|
|
3773
|
+
}
|
|
3774
|
+
});
|
|
3775
|
+
Object.defineProperty(exports, "PaginationEllipsis", {
|
|
3776
|
+
enumerable: true,
|
|
3777
|
+
get: function() {
|
|
3778
|
+
return PaginationEllipsis;
|
|
3779
|
+
}
|
|
3780
|
+
});
|
|
3781
|
+
Object.defineProperty(exports, "PaginationItem", {
|
|
3782
|
+
enumerable: true,
|
|
3783
|
+
get: function() {
|
|
3784
|
+
return PaginationItem;
|
|
3785
|
+
}
|
|
3786
|
+
});
|
|
3787
|
+
Object.defineProperty(exports, "PaginationLink", {
|
|
3788
|
+
enumerable: true,
|
|
3789
|
+
get: function() {
|
|
3790
|
+
return PaginationLink;
|
|
3791
|
+
}
|
|
3792
|
+
});
|
|
3793
|
+
Object.defineProperty(exports, "PaginationNext", {
|
|
3794
|
+
enumerable: true,
|
|
3795
|
+
get: function() {
|
|
3796
|
+
return PaginationNext;
|
|
3797
|
+
}
|
|
3798
|
+
});
|
|
3799
|
+
Object.defineProperty(exports, "PaginationPrevious", {
|
|
3800
|
+
enumerable: true,
|
|
3801
|
+
get: function() {
|
|
3802
|
+
return PaginationPrevious;
|
|
3803
|
+
}
|
|
3804
|
+
});
|
|
3805
|
+
Object.defineProperty(exports, "Popover", {
|
|
3806
|
+
enumerable: true,
|
|
3807
|
+
get: function() {
|
|
3808
|
+
return Popover;
|
|
3809
|
+
}
|
|
3810
|
+
});
|
|
3811
|
+
Object.defineProperty(exports, "PopoverAnchor", {
|
|
3812
|
+
enumerable: true,
|
|
3813
|
+
get: function() {
|
|
3814
|
+
return PopoverAnchor;
|
|
3815
|
+
}
|
|
3816
|
+
});
|
|
3817
|
+
Object.defineProperty(exports, "PopoverContent", {
|
|
3818
|
+
enumerable: true,
|
|
3819
|
+
get: function() {
|
|
3820
|
+
return PopoverContent;
|
|
3821
|
+
}
|
|
3822
|
+
});
|
|
3823
|
+
Object.defineProperty(exports, "PopoverTrigger", {
|
|
3824
|
+
enumerable: true,
|
|
3825
|
+
get: function() {
|
|
3826
|
+
return PopoverTrigger;
|
|
3827
|
+
}
|
|
3828
|
+
});
|
|
3829
|
+
Object.defineProperty(exports, "Progress", {
|
|
3830
|
+
enumerable: true,
|
|
3831
|
+
get: function() {
|
|
3832
|
+
return Progress;
|
|
3833
|
+
}
|
|
3834
|
+
});
|
|
3835
|
+
Object.defineProperty(exports, "RadioGroup", {
|
|
3836
|
+
enumerable: true,
|
|
3837
|
+
get: function() {
|
|
3838
|
+
return RadioGroup;
|
|
3839
|
+
}
|
|
3840
|
+
});
|
|
3841
|
+
Object.defineProperty(exports, "RadioGroupItem", {
|
|
3842
|
+
enumerable: true,
|
|
3843
|
+
get: function() {
|
|
3844
|
+
return RadioGroupItem;
|
|
3845
|
+
}
|
|
3846
|
+
});
|
|
3847
|
+
Object.defineProperty(exports, "ResizableHandle", {
|
|
3848
|
+
enumerable: true,
|
|
3849
|
+
get: function() {
|
|
3850
|
+
return ResizableHandle;
|
|
3851
|
+
}
|
|
3852
|
+
});
|
|
3853
|
+
Object.defineProperty(exports, "ResizablePanel", {
|
|
3854
|
+
enumerable: true,
|
|
3855
|
+
get: function() {
|
|
3856
|
+
return ResizablePanel;
|
|
3857
|
+
}
|
|
3858
|
+
});
|
|
3859
|
+
Object.defineProperty(exports, "ResizablePanelGroup", {
|
|
3860
|
+
enumerable: true,
|
|
3861
|
+
get: function() {
|
|
3862
|
+
return ResizablePanelGroup;
|
|
3863
|
+
}
|
|
3864
|
+
});
|
|
3865
|
+
Object.defineProperty(exports, "ScrollArea", {
|
|
3866
|
+
enumerable: true,
|
|
3867
|
+
get: function() {
|
|
3868
|
+
return ScrollArea;
|
|
3869
|
+
}
|
|
3870
|
+
});
|
|
3871
|
+
Object.defineProperty(exports, "ScrollBar", {
|
|
3872
|
+
enumerable: true,
|
|
3873
|
+
get: function() {
|
|
3874
|
+
return ScrollBar;
|
|
3875
|
+
}
|
|
3876
|
+
});
|
|
3877
|
+
Object.defineProperty(exports, "Select", {
|
|
3878
|
+
enumerable: true,
|
|
3879
|
+
get: function() {
|
|
3880
|
+
return Select;
|
|
3881
|
+
}
|
|
3882
|
+
});
|
|
3883
|
+
Object.defineProperty(exports, "SelectContent", {
|
|
3884
|
+
enumerable: true,
|
|
3885
|
+
get: function() {
|
|
3886
|
+
return SelectContent;
|
|
3887
|
+
}
|
|
3888
|
+
});
|
|
3889
|
+
Object.defineProperty(exports, "SelectGroup", {
|
|
3890
|
+
enumerable: true,
|
|
3891
|
+
get: function() {
|
|
3892
|
+
return SelectGroup;
|
|
3893
|
+
}
|
|
3894
|
+
});
|
|
3895
|
+
Object.defineProperty(exports, "SelectItem", {
|
|
3896
|
+
enumerable: true,
|
|
3897
|
+
get: function() {
|
|
3898
|
+
return SelectItem;
|
|
3899
|
+
}
|
|
3900
|
+
});
|
|
3901
|
+
Object.defineProperty(exports, "SelectLabel", {
|
|
3902
|
+
enumerable: true,
|
|
3903
|
+
get: function() {
|
|
3904
|
+
return SelectLabel;
|
|
3905
|
+
}
|
|
3906
|
+
});
|
|
3907
|
+
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
3908
|
+
enumerable: true,
|
|
3909
|
+
get: function() {
|
|
3910
|
+
return SelectScrollDownButton;
|
|
3911
|
+
}
|
|
3912
|
+
});
|
|
3913
|
+
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
3914
|
+
enumerable: true,
|
|
3915
|
+
get: function() {
|
|
3916
|
+
return SelectScrollUpButton;
|
|
3917
|
+
}
|
|
3918
|
+
});
|
|
3919
|
+
Object.defineProperty(exports, "SelectSeparator", {
|
|
3920
|
+
enumerable: true,
|
|
3921
|
+
get: function() {
|
|
3922
|
+
return SelectSeparator;
|
|
3923
|
+
}
|
|
3924
|
+
});
|
|
3925
|
+
Object.defineProperty(exports, "SelectTrigger", {
|
|
3926
|
+
enumerable: true,
|
|
3927
|
+
get: function() {
|
|
3928
|
+
return SelectTrigger;
|
|
3929
|
+
}
|
|
3930
|
+
});
|
|
3931
|
+
Object.defineProperty(exports, "SelectValue", {
|
|
3932
|
+
enumerable: true,
|
|
3933
|
+
get: function() {
|
|
3934
|
+
return SelectValue;
|
|
3935
|
+
}
|
|
3936
|
+
});
|
|
3937
|
+
Object.defineProperty(exports, "Separator", {
|
|
3938
|
+
enumerable: true,
|
|
3939
|
+
get: function() {
|
|
3940
|
+
return Separator;
|
|
3941
|
+
}
|
|
3942
|
+
});
|
|
3943
|
+
Object.defineProperty(exports, "Sheet", {
|
|
3944
|
+
enumerable: true,
|
|
3945
|
+
get: function() {
|
|
3946
|
+
return Sheet;
|
|
3947
|
+
}
|
|
3948
|
+
});
|
|
3949
|
+
Object.defineProperty(exports, "SheetClose", {
|
|
3950
|
+
enumerable: true,
|
|
3951
|
+
get: function() {
|
|
3952
|
+
return SheetClose;
|
|
3953
|
+
}
|
|
3954
|
+
});
|
|
3955
|
+
Object.defineProperty(exports, "SheetContent", {
|
|
3956
|
+
enumerable: true,
|
|
3957
|
+
get: function() {
|
|
3958
|
+
return SheetContent;
|
|
3959
|
+
}
|
|
3960
|
+
});
|
|
3961
|
+
Object.defineProperty(exports, "SheetDescription", {
|
|
3962
|
+
enumerable: true,
|
|
3963
|
+
get: function() {
|
|
3964
|
+
return SheetDescription;
|
|
3965
|
+
}
|
|
3966
|
+
});
|
|
3967
|
+
Object.defineProperty(exports, "SheetFooter", {
|
|
3968
|
+
enumerable: true,
|
|
3969
|
+
get: function() {
|
|
3970
|
+
return SheetFooter;
|
|
3971
|
+
}
|
|
3972
|
+
});
|
|
3973
|
+
Object.defineProperty(exports, "SheetHeader", {
|
|
3974
|
+
enumerable: true,
|
|
3975
|
+
get: function() {
|
|
3976
|
+
return SheetHeader;
|
|
3977
|
+
}
|
|
3978
|
+
});
|
|
3979
|
+
Object.defineProperty(exports, "SheetTitle", {
|
|
3980
|
+
enumerable: true,
|
|
3981
|
+
get: function() {
|
|
3982
|
+
return SheetTitle;
|
|
3983
|
+
}
|
|
3984
|
+
});
|
|
3985
|
+
Object.defineProperty(exports, "SheetTrigger", {
|
|
3986
|
+
enumerable: true,
|
|
3987
|
+
get: function() {
|
|
3988
|
+
return SheetTrigger;
|
|
3989
|
+
}
|
|
3990
|
+
});
|
|
3991
|
+
Object.defineProperty(exports, "Sidebar", {
|
|
3992
|
+
enumerable: true,
|
|
3993
|
+
get: function() {
|
|
3994
|
+
return Sidebar;
|
|
3995
|
+
}
|
|
3996
|
+
});
|
|
3997
|
+
Object.defineProperty(exports, "SidebarContent", {
|
|
3998
|
+
enumerable: true,
|
|
3999
|
+
get: function() {
|
|
4000
|
+
return SidebarContent;
|
|
4001
|
+
}
|
|
4002
|
+
});
|
|
4003
|
+
Object.defineProperty(exports, "SidebarFooter", {
|
|
4004
|
+
enumerable: true,
|
|
4005
|
+
get: function() {
|
|
4006
|
+
return SidebarFooter;
|
|
4007
|
+
}
|
|
4008
|
+
});
|
|
4009
|
+
Object.defineProperty(exports, "SidebarGroup", {
|
|
4010
|
+
enumerable: true,
|
|
4011
|
+
get: function() {
|
|
4012
|
+
return SidebarGroup;
|
|
4013
|
+
}
|
|
4014
|
+
});
|
|
4015
|
+
Object.defineProperty(exports, "SidebarGroupAction", {
|
|
4016
|
+
enumerable: true,
|
|
4017
|
+
get: function() {
|
|
4018
|
+
return SidebarGroupAction;
|
|
4019
|
+
}
|
|
4020
|
+
});
|
|
4021
|
+
Object.defineProperty(exports, "SidebarGroupContent", {
|
|
4022
|
+
enumerable: true,
|
|
4023
|
+
get: function() {
|
|
4024
|
+
return SidebarGroupContent;
|
|
4025
|
+
}
|
|
4026
|
+
});
|
|
4027
|
+
Object.defineProperty(exports, "SidebarGroupLabel", {
|
|
4028
|
+
enumerable: true,
|
|
4029
|
+
get: function() {
|
|
4030
|
+
return SidebarGroupLabel;
|
|
4031
|
+
}
|
|
4032
|
+
});
|
|
4033
|
+
Object.defineProperty(exports, "SidebarHeader", {
|
|
4034
|
+
enumerable: true,
|
|
4035
|
+
get: function() {
|
|
4036
|
+
return SidebarHeader;
|
|
4037
|
+
}
|
|
4038
|
+
});
|
|
4039
|
+
Object.defineProperty(exports, "SidebarInput", {
|
|
4040
|
+
enumerable: true,
|
|
4041
|
+
get: function() {
|
|
4042
|
+
return SidebarInput;
|
|
4043
|
+
}
|
|
4044
|
+
});
|
|
4045
|
+
Object.defineProperty(exports, "SidebarInset", {
|
|
4046
|
+
enumerable: true,
|
|
4047
|
+
get: function() {
|
|
4048
|
+
return SidebarInset;
|
|
4049
|
+
}
|
|
4050
|
+
});
|
|
4051
|
+
Object.defineProperty(exports, "SidebarMenu", {
|
|
4052
|
+
enumerable: true,
|
|
4053
|
+
get: function() {
|
|
4054
|
+
return SidebarMenu;
|
|
4055
|
+
}
|
|
4056
|
+
});
|
|
4057
|
+
Object.defineProperty(exports, "SidebarMenuAction", {
|
|
4058
|
+
enumerable: true,
|
|
4059
|
+
get: function() {
|
|
4060
|
+
return SidebarMenuAction;
|
|
4061
|
+
}
|
|
4062
|
+
});
|
|
4063
|
+
Object.defineProperty(exports, "SidebarMenuBadge", {
|
|
4064
|
+
enumerable: true,
|
|
4065
|
+
get: function() {
|
|
4066
|
+
return SidebarMenuBadge;
|
|
4067
|
+
}
|
|
4068
|
+
});
|
|
4069
|
+
Object.defineProperty(exports, "SidebarMenuButton", {
|
|
4070
|
+
enumerable: true,
|
|
4071
|
+
get: function() {
|
|
4072
|
+
return SidebarMenuButton;
|
|
4073
|
+
}
|
|
4074
|
+
});
|
|
4075
|
+
Object.defineProperty(exports, "SidebarMenuItem", {
|
|
4076
|
+
enumerable: true,
|
|
4077
|
+
get: function() {
|
|
4078
|
+
return SidebarMenuItem;
|
|
4079
|
+
}
|
|
4080
|
+
});
|
|
4081
|
+
Object.defineProperty(exports, "SidebarMenuSkeleton", {
|
|
4082
|
+
enumerable: true,
|
|
4083
|
+
get: function() {
|
|
4084
|
+
return SidebarMenuSkeleton;
|
|
4085
|
+
}
|
|
4086
|
+
});
|
|
4087
|
+
Object.defineProperty(exports, "SidebarMenuSub", {
|
|
4088
|
+
enumerable: true,
|
|
4089
|
+
get: function() {
|
|
4090
|
+
return SidebarMenuSub;
|
|
4091
|
+
}
|
|
4092
|
+
});
|
|
4093
|
+
Object.defineProperty(exports, "SidebarMenuSubButton", {
|
|
4094
|
+
enumerable: true,
|
|
4095
|
+
get: function() {
|
|
4096
|
+
return SidebarMenuSubButton;
|
|
4097
|
+
}
|
|
4098
|
+
});
|
|
4099
|
+
Object.defineProperty(exports, "SidebarMenuSubItem", {
|
|
4100
|
+
enumerable: true,
|
|
4101
|
+
get: function() {
|
|
4102
|
+
return SidebarMenuSubItem;
|
|
4103
|
+
}
|
|
4104
|
+
});
|
|
4105
|
+
Object.defineProperty(exports, "SidebarProvider", {
|
|
4106
|
+
enumerable: true,
|
|
4107
|
+
get: function() {
|
|
4108
|
+
return SidebarProvider;
|
|
4109
|
+
}
|
|
4110
|
+
});
|
|
4111
|
+
Object.defineProperty(exports, "SidebarRail", {
|
|
4112
|
+
enumerable: true,
|
|
4113
|
+
get: function() {
|
|
4114
|
+
return SidebarRail;
|
|
4115
|
+
}
|
|
4116
|
+
});
|
|
4117
|
+
Object.defineProperty(exports, "SidebarSeparator", {
|
|
4118
|
+
enumerable: true,
|
|
4119
|
+
get: function() {
|
|
4120
|
+
return SidebarSeparator;
|
|
4121
|
+
}
|
|
4122
|
+
});
|
|
4123
|
+
Object.defineProperty(exports, "SidebarTrigger", {
|
|
4124
|
+
enumerable: true,
|
|
4125
|
+
get: function() {
|
|
4126
|
+
return SidebarTrigger;
|
|
4127
|
+
}
|
|
4128
|
+
});
|
|
4129
|
+
Object.defineProperty(exports, "Slider", {
|
|
4130
|
+
enumerable: true,
|
|
4131
|
+
get: function() {
|
|
4132
|
+
return Slider;
|
|
4133
|
+
}
|
|
4134
|
+
});
|
|
4135
|
+
Object.defineProperty(exports, "SlingshotIcon", {
|
|
4136
|
+
enumerable: true,
|
|
4137
|
+
get: function() {
|
|
4138
|
+
return SlingshotIcon;
|
|
4139
|
+
}
|
|
4140
|
+
});
|
|
4141
|
+
Object.defineProperty(exports, "SustainIcon", {
|
|
4142
|
+
enumerable: true,
|
|
4143
|
+
get: function() {
|
|
4144
|
+
return SustainIcon;
|
|
4145
|
+
}
|
|
4146
|
+
});
|
|
4147
|
+
Object.defineProperty(exports, "Switch", {
|
|
4148
|
+
enumerable: true,
|
|
4149
|
+
get: function() {
|
|
4150
|
+
return Switch;
|
|
4151
|
+
}
|
|
4152
|
+
});
|
|
4153
|
+
Object.defineProperty(exports, "Table", {
|
|
4154
|
+
enumerable: true,
|
|
4155
|
+
get: function() {
|
|
4156
|
+
return Table;
|
|
4157
|
+
}
|
|
4158
|
+
});
|
|
4159
|
+
Object.defineProperty(exports, "TableBody", {
|
|
4160
|
+
enumerable: true,
|
|
4161
|
+
get: function() {
|
|
4162
|
+
return TableBody;
|
|
4163
|
+
}
|
|
4164
|
+
});
|
|
4165
|
+
Object.defineProperty(exports, "TableCaption", {
|
|
4166
|
+
enumerable: true,
|
|
4167
|
+
get: function() {
|
|
4168
|
+
return TableCaption;
|
|
4169
|
+
}
|
|
4170
|
+
});
|
|
4171
|
+
Object.defineProperty(exports, "TableCell", {
|
|
4172
|
+
enumerable: true,
|
|
4173
|
+
get: function() {
|
|
4174
|
+
return TableCell;
|
|
4175
|
+
}
|
|
4176
|
+
});
|
|
4177
|
+
Object.defineProperty(exports, "TableFooter", {
|
|
4178
|
+
enumerable: true,
|
|
4179
|
+
get: function() {
|
|
4180
|
+
return TableFooter;
|
|
4181
|
+
}
|
|
4182
|
+
});
|
|
4183
|
+
Object.defineProperty(exports, "TableHead", {
|
|
4184
|
+
enumerable: true,
|
|
4185
|
+
get: function() {
|
|
4186
|
+
return TableHead;
|
|
4187
|
+
}
|
|
4188
|
+
});
|
|
4189
|
+
Object.defineProperty(exports, "TableHeader", {
|
|
4190
|
+
enumerable: true,
|
|
4191
|
+
get: function() {
|
|
4192
|
+
return TableHeader;
|
|
4193
|
+
}
|
|
4194
|
+
});
|
|
4195
|
+
Object.defineProperty(exports, "TableRow", {
|
|
4196
|
+
enumerable: true,
|
|
4197
|
+
get: function() {
|
|
4198
|
+
return TableRow;
|
|
4199
|
+
}
|
|
4200
|
+
});
|
|
4201
|
+
Object.defineProperty(exports, "Tabs", {
|
|
4202
|
+
enumerable: true,
|
|
4203
|
+
get: function() {
|
|
4204
|
+
return Tabs;
|
|
4205
|
+
}
|
|
4206
|
+
});
|
|
4207
|
+
Object.defineProperty(exports, "TabsContent", {
|
|
4208
|
+
enumerable: true,
|
|
4209
|
+
get: function() {
|
|
4210
|
+
return TabsContent;
|
|
4211
|
+
}
|
|
4212
|
+
});
|
|
4213
|
+
Object.defineProperty(exports, "TabsList", {
|
|
4214
|
+
enumerable: true,
|
|
4215
|
+
get: function() {
|
|
4216
|
+
return TabsList;
|
|
4217
|
+
}
|
|
4218
|
+
});
|
|
4219
|
+
Object.defineProperty(exports, "TabsTrigger", {
|
|
4220
|
+
enumerable: true,
|
|
4221
|
+
get: function() {
|
|
4222
|
+
return TabsTrigger;
|
|
4223
|
+
}
|
|
4224
|
+
});
|
|
4225
|
+
Object.defineProperty(exports, "Textarea", {
|
|
4226
|
+
enumerable: true,
|
|
4227
|
+
get: function() {
|
|
4228
|
+
return Textarea;
|
|
4229
|
+
}
|
|
4230
|
+
});
|
|
4231
|
+
Object.defineProperty(exports, "Toaster", {
|
|
4232
|
+
enumerable: true,
|
|
4233
|
+
get: function() {
|
|
4234
|
+
return Toaster;
|
|
4235
|
+
}
|
|
4236
|
+
});
|
|
4237
|
+
Object.defineProperty(exports, "Toggle", {
|
|
4238
|
+
enumerable: true,
|
|
4239
|
+
get: function() {
|
|
4240
|
+
return Toggle;
|
|
4241
|
+
}
|
|
4242
|
+
});
|
|
4243
|
+
Object.defineProperty(exports, "ToggleGroup", {
|
|
4244
|
+
enumerable: true,
|
|
4245
|
+
get: function() {
|
|
4246
|
+
return ToggleGroup;
|
|
4247
|
+
}
|
|
4248
|
+
});
|
|
4249
|
+
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
4250
|
+
enumerable: true,
|
|
4251
|
+
get: function() {
|
|
4252
|
+
return ToggleGroupItem;
|
|
4253
|
+
}
|
|
4254
|
+
});
|
|
4255
|
+
Object.defineProperty(exports, "badgeVariants", {
|
|
4256
|
+
enumerable: true,
|
|
4257
|
+
get: function() {
|
|
4258
|
+
return badgeVariants;
|
|
4259
|
+
}
|
|
4260
|
+
});
|
|
4261
|
+
Object.defineProperty(exports, "buttonVariants", {
|
|
4262
|
+
enumerable: true,
|
|
4263
|
+
get: function() {
|
|
4264
|
+
return buttonVariants;
|
|
4265
|
+
}
|
|
4266
|
+
});
|
|
4267
|
+
Object.defineProperty(exports, "navigationMenuTriggerStyle", {
|
|
4268
|
+
enumerable: true,
|
|
4269
|
+
get: function() {
|
|
4270
|
+
return navigationMenuTriggerStyle;
|
|
4271
|
+
}
|
|
4272
|
+
});
|
|
4273
|
+
Object.defineProperty(exports, "toggleVariants", {
|
|
4274
|
+
enumerable: true,
|
|
4275
|
+
get: function() {
|
|
4276
|
+
return toggleVariants;
|
|
4277
|
+
}
|
|
4278
|
+
});
|
|
4279
|
+
Object.defineProperty(exports, "useFormField", {
|
|
4280
|
+
enumerable: true,
|
|
4281
|
+
get: function() {
|
|
4282
|
+
return useFormField;
|
|
4283
|
+
}
|
|
4284
|
+
});
|
|
4285
|
+
Object.defineProperty(exports, "useSidebar", {
|
|
4286
|
+
enumerable: true,
|
|
4287
|
+
get: function() {
|
|
4288
|
+
return useSidebar;
|
|
4289
|
+
}
|
|
4290
|
+
});
|
|
4291
|
+
|
|
4292
|
+
//# sourceMappingURL=primitives.cjs.map
|