@jbpark/ui-kit 2.3.0 → 2.3.2

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/dist/Menu.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as MenuProps, c as buildSelectionMap, i as MenuItem, l as findKey, n as MENU_CLASSNAMES, o as Props, r as Menu, s as SelectionMap, t as ClickEventHandler } from "./index-DrfCF4Ya.mjs";
1
+ import { a as MenuProps, c as buildSelectionMap, i as MenuItem, l as findKey, n as MENU_CLASSNAMES, o as Props, r as Menu, s as SelectionMap, t as ClickEventHandler } from "./index-tclrN3ts.mjs";
2
2
  export { ClickEventHandler, MENU_CLASSNAMES, MenuItem, MenuProps, Props, SelectionMap, buildSelectionMap, Menu as default, findKey };
package/dist/Menu.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { d as buildSelectionMap, f as findKey, l as MENU_CLASSNAMES, u as Menu_default } from "./src-MBsIpDyP.mjs";
4
- import "./utils-CssUrKWE.mjs";
5
- import "./Typography-GMk9208W.mjs";
6
- import "./Reveals-mkV9B8lj.mjs";
3
+ import { d as buildSelectionMap, f as findKey, l as MENU_CLASSNAMES, u as Menu_default } from "./src-CS2dhz2p.mjs";
4
+ import "./utils-1s_37TSX.mjs";
5
+ import "./Typography-Dznhj8uL.mjs";
6
+ import "./Reveals-Cqo3i2hh.mjs";
7
7
 
8
8
  export { MENU_CLASSNAMES, buildSelectionMap, Menu_default as default, findKey };
@@ -1,4 +1,4 @@
1
- import { t as cn } from "./utils-CssUrKWE.mjs";
1
+ import { t as cn } from "./utils-1s_37TSX.mjs";
2
2
  import { Children } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { motion } from "motion/react";
@@ -1,2 +1,2 @@
1
- import { a as Reveals, i as Props, n as DELAY, o as Item, r as DURATION, s as ItemProps, t as CASCADE } from "./index-CXT7Z-4F.mjs";
1
+ import { a as Reveals, i as Props, n as DELAY, o as Item, r as DURATION, s as ItemProps, t as CASCADE } from "./index-BcxCfsJl.mjs";
2
2
  export { CASCADE, DELAY, DURATION, Item, ItemProps, Props as RevealsProps, Reveals as default };
package/dist/Reveals.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./utils-CssUrKWE.mjs";
2
- import { a as Item_default, i as Reveals_default, n as DELAY, r as DURATION, t as CASCADE } from "./Reveals-mkV9B8lj.mjs";
1
+ import "./utils-1s_37TSX.mjs";
2
+ import { a as Item_default, i as Reveals_default, n as DELAY, r as DURATION, t as CASCADE } from "./Reveals-Cqo3i2hh.mjs";
3
3
 
4
4
  export { CASCADE, DELAY, DURATION, Item_default as Item, Reveals_default as default };
@@ -1,4 +1,4 @@
1
- import { t as cn } from "./utils-CssUrKWE.mjs";
1
+ import { t as cn } from "./utils-1s_37TSX.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/atoms/Typography/Link/index.tsx
@@ -1,2 +1,2 @@
1
- import { a as Paragraph, i as Text, n as Typography, o as Link, r as Title, t as Props } from "./index-CKq4NOxI.mjs";
1
+ import { a as Paragraph, i as Text, n as Typography, o as Link, r as Title, t as Props } from "./index-vBhS7Nno.mjs";
2
2
  export { Link, Paragraph, Props, Text, Title, Typography as default };
@@ -1,4 +1,4 @@
1
- import "./utils-CssUrKWE.mjs";
2
- import { a as Link_default, i as Paragraph_default, n as Title_default, r as Text_default, t as Typography_default } from "./Typography-GMk9208W.mjs";
1
+ import "./utils-1s_37TSX.mjs";
2
+ import { a as Link_default, i as Paragraph_default, n as Title_default, r as Text_default, t as Typography_default } from "./Typography-Dznhj8uL.mjs";
3
3
 
4
4
  export { Link_default as Link, Paragraph_default as Paragraph, Text_default as Text, Title_default as Title, Typography_default as default };
@@ -0,0 +1,18 @@
1
+ //#region rolldown:runtime
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, symbols) => {
4
+ let target = {};
5
+ for (var name in all) {
6
+ __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ }
11
+ if (symbols) {
12
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
13
+ }
14
+ return target;
15
+ };
16
+
17
+ //#endregion
18
+ export { __exportAll as t };
@@ -0,0 +1,2 @@
1
+ import { $ as DrawerHeader, A as PopoverTitle, B as FieldError, C as Progress, Ct as AccordionContent, D as PopoverContent, E as PopoverAnchor, Et as accordion_d_exports, F as Input, G as FieldSet, H as FieldLabel, I as input_d_exports, J as Drawer, K as FieldTitle, L as Field, M as popover_d_exports, N as Label, O as PopoverDescription, P as label_d_exports, Q as DrawerFooter, R as FieldContent, S as radio_group_d_exports, St as Accordion, T as Popover, Tt as AccordionTrigger, U as FieldLegend, V as FieldGroup, W as FieldSeparator, X as DrawerContent, Y as DrawerClose, Z as DrawerDescription, _ as SelectTrigger, _t as checkbox_d_exports, a as Skeleton, at as Dialog, b as RadioGroup, bt as buttonVariants, c as separator_d_exports, ct as DialogDescription, d as SelectGroup, dt as DialogOverlay, et as DrawerOverlay, f as SelectItem, ft as DialogPortal, g as SelectSeparator, gt as Checkbox, h as SelectScrollUpButton, ht as dialog_d_exports, i as switch_d_exports, it as drawer_d_exports, j as PopoverTrigger, k as PopoverHeader, l as Select, lt as DialogFooter, m as SelectScrollDownButton, mt as DialogTrigger, n as textarea_d_exports, nt as DrawerTitle, o as skeleton_d_exports, ot as DialogClose, p as SelectLabel, pt as DialogTitle, q as field_d_exports, r as Switch, rt as DrawerTrigger, s as Separator, st as DialogContent, t as Textarea, tt as DrawerPortal, u as SelectContent, ut as DialogHeader, v as SelectValue, vt as Button, w as progress_d_exports, wt as AccordionItem, x as RadioGroupItem, xt as button_d_exports, y as select_d_exports, yt as Props, z as FieldDescription } from "./index-BC23qXS8.mjs";
2
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, Label, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, Props, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, Switch, Textarea, accordion_d_exports as accordion, button_d_exports as button, buttonVariants, checkbox_d_exports as checkbox, dialog_d_exports as dialog, drawer_d_exports as drawer, field_d_exports as field, input_d_exports as input, label_d_exports as label, popover_d_exports as popover, progress_d_exports as progress, radio_group_d_exports as radio, select_d_exports as select, separator_d_exports as separator, skeleton_d_exports as skeleton, switch_d_exports as switchComponent, textarea_d_exports as textarea };
package/dist/core.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import { $ as PopoverContent, A as switch_exports, At as drawer_exports, B as SelectScrollDownButton, Bt as DialogTrigger, Ct as DrawerDescription, D as Textarea, Dt as DrawerPortal, Et as DrawerOverlay, F as Select, Ft as DialogFooter, G as select_exports, Gt as buttonVariants, H as SelectSeparator, Ht as Checkbox, I as SelectContent, It as DialogHeader, J as radio_group_exports, Jt as AccordionContent, K as RadioGroup, Kt as button_exports, L as SelectGroup, Lt as DialogOverlay, M as skeleton_exports, Mt as DialogClose, N as Separator, Nt as DialogContent, O as textarea_exports, Ot as DrawerTitle, P as separator_exports, Pt as DialogDescription, Q as PopoverAnchor, R as SelectItem, Rt as DialogPortal, St as DrawerContent, Tt as DrawerHeader, U as SelectTrigger, Ut as checkbox_exports, V as SelectScrollUpButton, Vt as dialog_exports, W as SelectValue, Wt as Button, X as progress_exports, Xt as AccordionTrigger, Y as Progress, Yt as AccordionItem, Z as Popover, Zt as accordion_exports, _t as FieldSet, at as Label, bt as Drawer, ct as input_exports, dt as FieldDescription, et as PopoverDescription, ft as FieldError, gt as FieldSeparator, ht as FieldLegend, it as popover_exports, j as Skeleton, jt as Dialog, k as Switch, kt as DrawerTrigger, lt as Field, mt as FieldLabel, nt as PopoverTitle, ot as label_exports, pt as FieldGroup, q as RadioGroupItem, qt as Accordion, rt as PopoverTrigger, st as Input, tt as PopoverHeader, ut as FieldContent, vt as FieldTitle, wt as DrawerFooter, xt as DrawerClose, yt as field_exports, z as SelectLabel, zt as DialogTitle } from "./src-CS2dhz2p.mjs";
2
+ import "./utils-1s_37TSX.mjs";
3
+ import "./Typography-Dznhj8uL.mjs";
4
+ import "./Reveals-Cqo3i2hh.mjs";
5
+
6
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, Label, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, Switch, Textarea, accordion_exports as accordion, button_exports as button, buttonVariants, checkbox_exports as checkbox, dialog_exports as dialog, drawer_exports as drawer, field_exports as field, input_exports as input, label_exports as label, popover_exports as popover, progress_exports as progress, radio_group_exports as radio, select_exports as select, separator_exports as separator, skeleton_exports as skeleton, switch_exports as switchComponent, textarea_exports as textarea };
@@ -0,0 +1,391 @@
1
+ import * as React$2 from "react";
2
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
4
+ import { VariantProps } from "class-variance-authority";
5
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
6
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
7
+ import { Drawer } from "vaul";
8
+ import { Label, RadioGroup, Select, Separator } from "radix-ui";
9
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
10
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
11
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
12
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
13
+
14
+ //#region src/core/accordion.d.ts
15
+ declare namespace accordion_d_exports {
16
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
17
+ }
18
+ declare function Accordion({
19
+ ...props
20
+ }: React$2.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime12.JSX.Element;
21
+ declare function AccordionItem({
22
+ className,
23
+ ...props
24
+ }: React$2.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime12.JSX.Element;
25
+ interface CustomTriggerProps {
26
+ expandIcon?: React$2.ReactNode;
27
+ }
28
+ declare function AccordionTrigger({
29
+ className,
30
+ children,
31
+ expandIcon,
32
+ ...props
33
+ }: React$2.ComponentProps<typeof AccordionPrimitive.Trigger> & CustomTriggerProps): react_jsx_runtime12.JSX.Element;
34
+ declare function AccordionContent({
35
+ className,
36
+ children,
37
+ ...props
38
+ }: React$2.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime12.JSX.Element;
39
+ declare namespace button_d_exports {
40
+ export { Button, Props, buttonVariants };
41
+ }
42
+ declare const buttonVariants: (props?: ({
43
+ variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
44
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
45
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
46
+ type Props = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
47
+ asChild?: boolean;
48
+ };
49
+ declare function Button({
50
+ className,
51
+ variant,
52
+ size,
53
+ asChild,
54
+ ...props
55
+ }: Props): react_jsx_runtime12.JSX.Element;
56
+ declare namespace checkbox_d_exports {
57
+ export { Checkbox };
58
+ }
59
+ declare function Checkbox({
60
+ className,
61
+ ...props
62
+ }: React$2.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime12.JSX.Element;
63
+ declare namespace dialog_d_exports {
64
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
65
+ }
66
+ declare function Dialog({
67
+ ...props
68
+ }: React$2.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime12.JSX.Element;
69
+ declare function DialogTrigger({
70
+ ...props
71
+ }: React$2.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime12.JSX.Element;
72
+ declare function DialogPortal({
73
+ ...props
74
+ }: React$2.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime12.JSX.Element;
75
+ declare function DialogClose({
76
+ ...props
77
+ }: React$2.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime12.JSX.Element;
78
+ declare function DialogOverlay({
79
+ className,
80
+ ...props
81
+ }: React$2.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime12.JSX.Element;
82
+ interface CustomContentProps$1 {
83
+ classNames?: Record<string, string>;
84
+ closeIcon?: React$2.ReactNode;
85
+ closable?: boolean | {
86
+ disabled?: boolean;
87
+ };
88
+ container?: HTMLElement;
89
+ onCancel?: () => void;
90
+ }
91
+ declare function DialogContent({
92
+ className,
93
+ children,
94
+ classNames,
95
+ closeIcon: _closeIcon,
96
+ closable,
97
+ container,
98
+ onCancel,
99
+ ...props
100
+ }: React$2.ComponentProps<typeof DialogPrimitive.Content> & {
101
+ showCloseButton?: boolean;
102
+ } & CustomContentProps$1): react_jsx_runtime12.JSX.Element;
103
+ declare function DialogHeader({
104
+ className,
105
+ ...props
106
+ }: React$2.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
107
+ declare function DialogFooter({
108
+ className,
109
+ showCloseButton,
110
+ children,
111
+ ...props
112
+ }: React$2.ComponentProps<'div'> & {
113
+ showCloseButton?: boolean;
114
+ }): react_jsx_runtime12.JSX.Element;
115
+ declare function DialogTitle({
116
+ className,
117
+ ...props
118
+ }: React$2.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime12.JSX.Element;
119
+ declare function DialogDescription({
120
+ className,
121
+ ...props
122
+ }: React$2.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime12.JSX.Element;
123
+ declare namespace drawer_d_exports {
124
+ export { Drawer$1 as Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
125
+ }
126
+ interface CustomProps$2 {
127
+ draggable?: boolean;
128
+ }
129
+ declare function Drawer$1({
130
+ draggable,
131
+ ...props
132
+ }: React$2.ComponentProps<typeof Drawer.Root> & CustomProps$2): react_jsx_runtime12.JSX.Element;
133
+ declare function DrawerTrigger({
134
+ ...props
135
+ }: React$2.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime12.JSX.Element;
136
+ declare function DrawerPortal({
137
+ ...props
138
+ }: React$2.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime12.JSX.Element;
139
+ declare function DrawerClose({
140
+ ...props
141
+ }: React$2.ComponentProps<typeof Drawer.Close>): react_jsx_runtime12.JSX.Element;
142
+ declare function DrawerOverlay({
143
+ className,
144
+ ...props
145
+ }: React$2.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime12.JSX.Element;
146
+ interface CustomContentProps {
147
+ classNames?: Record<string, string>;
148
+ handlebar?: boolean;
149
+ mask?: boolean;
150
+ }
151
+ declare function DrawerContent({
152
+ className,
153
+ children,
154
+ classNames,
155
+ handlebar,
156
+ mask,
157
+ ...props
158
+ }: React$2.ComponentProps<typeof Drawer.Content> & CustomContentProps): react_jsx_runtime12.JSX.Element;
159
+ declare function DrawerHeader({
160
+ className,
161
+ ...props
162
+ }: React$2.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
163
+ declare function DrawerFooter({
164
+ className,
165
+ ...props
166
+ }: React$2.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
167
+ declare function DrawerTitle({
168
+ className,
169
+ ...props
170
+ }: React$2.ComponentProps<typeof Drawer.Title>): react_jsx_runtime12.JSX.Element;
171
+ declare function DrawerDescription({
172
+ className,
173
+ ...props
174
+ }: React$2.ComponentProps<typeof Drawer.Description>): react_jsx_runtime12.JSX.Element;
175
+ declare namespace field_d_exports {
176
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
177
+ }
178
+ declare const Label$2: typeof Label$1;
179
+ declare function FieldSet({
180
+ className,
181
+ ...props
182
+ }: React.ComponentProps<'fieldset'>): react_jsx_runtime12.JSX.Element;
183
+ declare function FieldLegend({
184
+ className,
185
+ variant,
186
+ ...props
187
+ }: React.ComponentProps<'legend'> & {
188
+ variant?: 'legend' | 'label';
189
+ }): react_jsx_runtime12.JSX.Element;
190
+ declare function FieldGroup({
191
+ className,
192
+ ...props
193
+ }: React.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
194
+ declare const fieldVariants: (props?: ({
195
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
196
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
197
+ declare function Field({
198
+ className,
199
+ orientation,
200
+ ...props
201
+ }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime12.JSX.Element;
202
+ declare function FieldContent({
203
+ className,
204
+ ...props
205
+ }: React.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
206
+ declare function FieldLabel({
207
+ className,
208
+ ...props
209
+ }: React.ComponentProps<typeof Label$2>): react_jsx_runtime12.JSX.Element;
210
+ declare function FieldTitle({
211
+ className,
212
+ ...props
213
+ }: React.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
214
+ declare function FieldDescription({
215
+ className,
216
+ ...props
217
+ }: React.ComponentProps<'p'>): react_jsx_runtime12.JSX.Element;
218
+ declare function FieldSeparator({
219
+ children,
220
+ className,
221
+ ...props
222
+ }: React.ComponentProps<'div'> & {
223
+ children?: React.ReactNode;
224
+ }): react_jsx_runtime12.JSX.Element;
225
+ declare function FieldError({
226
+ className,
227
+ children,
228
+ errors,
229
+ ...props
230
+ }: React.ComponentProps<'div'> & {
231
+ errors?: Array<{
232
+ message?: string;
233
+ } | undefined>;
234
+ }): react_jsx_runtime12.JSX.Element | null;
235
+ declare namespace input_d_exports {
236
+ export { Input };
237
+ }
238
+ declare function Input({
239
+ className,
240
+ type,
241
+ ...props
242
+ }: React$2.ComponentProps<'input'>): react_jsx_runtime12.JSX.Element;
243
+ declare namespace label_d_exports {
244
+ export { Label$1 as Label };
245
+ }
246
+ declare function Label$1({
247
+ className,
248
+ ...props
249
+ }: React$2.ComponentProps<typeof Label.Root>): react_jsx_runtime12.JSX.Element;
250
+ declare namespace popover_d_exports {
251
+ export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
252
+ }
253
+ declare function Popover({
254
+ ...props
255
+ }: React$2.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime12.JSX.Element;
256
+ declare function PopoverTrigger({
257
+ ...props
258
+ }: React$2.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime12.JSX.Element;
259
+ declare function PopoverContent({
260
+ className,
261
+ align,
262
+ sideOffset,
263
+ ...props
264
+ }: React$2.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime12.JSX.Element;
265
+ declare function PopoverAnchor({
266
+ ...props
267
+ }: React$2.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime12.JSX.Element;
268
+ declare function PopoverHeader({
269
+ className,
270
+ ...props
271
+ }: React$2.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
272
+ declare function PopoverTitle({
273
+ className,
274
+ ...props
275
+ }: React$2.ComponentProps<'h2'>): react_jsx_runtime12.JSX.Element;
276
+ declare function PopoverDescription({
277
+ className,
278
+ ...props
279
+ }: React$2.ComponentProps<'p'>): react_jsx_runtime12.JSX.Element;
280
+ declare namespace progress_d_exports {
281
+ export { Progress };
282
+ }
283
+ interface CustomProps$1 {
284
+ barClassName?: string;
285
+ barStyle?: React$2.CSSProperties;
286
+ }
287
+ declare function Progress({
288
+ className,
289
+ value,
290
+ barClassName,
291
+ barStyle,
292
+ ...props
293
+ }: React$2.ComponentProps<typeof ProgressPrimitive.Root> & CustomProps$1): react_jsx_runtime12.JSX.Element;
294
+ declare namespace radio_group_d_exports {
295
+ export { RadioGroup$1 as RadioGroup, RadioGroupItem };
296
+ }
297
+ declare function RadioGroup$1({
298
+ className,
299
+ ...props
300
+ }: React$2.ComponentProps<typeof RadioGroup.Root>): react_jsx_runtime12.JSX.Element;
301
+ declare function RadioGroupItem({
302
+ className,
303
+ ...props
304
+ }: React$2.ComponentProps<typeof RadioGroup.Item>): react_jsx_runtime12.JSX.Element;
305
+ declare namespace select_d_exports {
306
+ export { Select$1 as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
307
+ }
308
+ declare function Select$1({
309
+ ...props
310
+ }: React$2.ComponentProps<typeof Select.Root>): react_jsx_runtime12.JSX.Element;
311
+ declare function SelectGroup({
312
+ ...props
313
+ }: React$2.ComponentProps<typeof Select.Group>): react_jsx_runtime12.JSX.Element;
314
+ declare function SelectValue({
315
+ ...props
316
+ }: React$2.ComponentProps<typeof Select.Value>): react_jsx_runtime12.JSX.Element;
317
+ declare function SelectTrigger({
318
+ className,
319
+ size,
320
+ children,
321
+ ...props
322
+ }: React$2.ComponentProps<typeof Select.Trigger> & {
323
+ size?: 'sm' | 'default';
324
+ }): react_jsx_runtime12.JSX.Element;
325
+ declare function SelectContent({
326
+ className,
327
+ children,
328
+ position,
329
+ align,
330
+ ...props
331
+ }: React$2.ComponentProps<typeof Select.Content>): react_jsx_runtime12.JSX.Element;
332
+ declare function SelectLabel({
333
+ className,
334
+ ...props
335
+ }: React$2.ComponentProps<typeof Select.Label>): react_jsx_runtime12.JSX.Element;
336
+ declare function SelectItem({
337
+ className,
338
+ children,
339
+ ...props
340
+ }: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime12.JSX.Element;
341
+ declare function SelectSeparator({
342
+ className,
343
+ ...props
344
+ }: React$2.ComponentProps<typeof Select.Separator>): react_jsx_runtime12.JSX.Element;
345
+ declare function SelectScrollUpButton({
346
+ className,
347
+ ...props
348
+ }: React$2.ComponentProps<typeof Select.ScrollUpButton>): react_jsx_runtime12.JSX.Element;
349
+ declare function SelectScrollDownButton({
350
+ className,
351
+ ...props
352
+ }: React$2.ComponentProps<typeof Select.ScrollDownButton>): react_jsx_runtime12.JSX.Element;
353
+ declare namespace separator_d_exports {
354
+ export { Separator$1 as Separator };
355
+ }
356
+ declare function Separator$1({
357
+ className,
358
+ orientation,
359
+ decorative,
360
+ ...props
361
+ }: React$2.ComponentProps<typeof Separator.Root>): react_jsx_runtime12.JSX.Element;
362
+ declare namespace skeleton_d_exports {
363
+ export { Skeleton };
364
+ }
365
+ declare function Skeleton({
366
+ className,
367
+ ...props
368
+ }: React.ComponentProps<'div'>): react_jsx_runtime12.JSX.Element;
369
+ declare namespace switch_d_exports {
370
+ export { Switch };
371
+ }
372
+ interface CustomProps {
373
+ handleClassName?: string;
374
+ }
375
+ declare function Switch({
376
+ className,
377
+ size,
378
+ handleClassName,
379
+ ...props
380
+ }: React$2.ComponentProps<typeof SwitchPrimitive.Root> & {
381
+ size?: 'sm' | 'default';
382
+ } & CustomProps): react_jsx_runtime12.JSX.Element;
383
+ declare namespace textarea_d_exports {
384
+ export { Textarea };
385
+ }
386
+ declare function Textarea({
387
+ className,
388
+ ...props
389
+ }: React$2.ComponentProps<'textarea'>): react_jsx_runtime12.JSX.Element;
390
+ //#endregion
391
+ export { DrawerHeader as $, PopoverTitle as A, FieldError as B, Progress as C, AccordionContent as Ct, PopoverContent as D, PopoverAnchor as E, accordion_d_exports as Et, Input as F, FieldSet as G, FieldLabel as H, input_d_exports as I, Drawer$1 as J, FieldTitle as K, Field as L, popover_d_exports as M, Label$1 as N, PopoverDescription as O, label_d_exports as P, DrawerFooter as Q, FieldContent as R, radio_group_d_exports as S, Accordion as St, Popover as T, AccordionTrigger as Tt, FieldLegend as U, FieldGroup as V, FieldSeparator as W, DrawerContent as X, DrawerClose as Y, DrawerDescription as Z, SelectTrigger as _, checkbox_d_exports as _t, Skeleton as a, Dialog as at, RadioGroup$1 as b, buttonVariants as bt, separator_d_exports as c, DialogDescription as ct, SelectGroup as d, DialogOverlay as dt, DrawerOverlay as et, SelectItem as f, DialogPortal as ft, SelectSeparator as g, Checkbox as gt, SelectScrollUpButton as h, dialog_d_exports as ht, switch_d_exports as i, drawer_d_exports as it, PopoverTrigger as j, PopoverHeader as k, Select$1 as l, DialogFooter as lt, SelectScrollDownButton as m, DialogTrigger as mt, textarea_d_exports as n, DrawerTitle as nt, skeleton_d_exports as o, DialogClose as ot, SelectLabel as p, DialogTitle as pt, field_d_exports as q, Switch as r, DrawerTrigger as rt, Separator$1 as s, DialogContent as st, Textarea as t, DrawerPortal as tt, SelectContent as u, DialogHeader as ut, SelectValue as v, Button as vt, progress_d_exports as w, AccordionItem as wt, RadioGroupItem as x, button_d_exports as xt, select_d_exports as y, Props as yt, FieldDescription as z };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime7 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
2
2
  import { MotionProps } from "motion/react";
3
3
 
4
4
  //#region src/components/molecules/Reveals/Item/index.d.ts
@@ -54,7 +54,7 @@ declare const Item: ({
54
54
  transition,
55
55
  className,
56
56
  ...props
57
- }: ItemProps) => react_jsx_runtime7.JSX.Element;
57
+ }: ItemProps) => react_jsx_runtime11.JSX.Element;
58
58
  //#endregion
59
59
  //#region src/components/molecules/Reveals/index.d.ts
60
60
  interface Props extends React.ComponentPropsWithoutRef<'div'>, ItemProps {
@@ -79,7 +79,7 @@ declare const Reveals: {
79
79
  duration,
80
80
  delay,
81
81
  ...props
82
- }: Props): react_jsx_runtime7.JSX.Element;
82
+ }: Props): react_jsx_runtime11.JSX.Element;
83
83
  Item: ({
84
84
  effect,
85
85
  children,
@@ -91,7 +91,7 @@ declare const Reveals: {
91
91
  transition,
92
92
  className,
93
93
  ...props
94
- }: ItemProps) => react_jsx_runtime7.JSX.Element;
94
+ }: ItemProps) => react_jsx_runtime11.JSX.Element;
95
95
  };
96
96
  //#endregion
97
97
  export { Reveals as a, Props as i, DELAY as n, Item as o, DURATION as r, ItemProps as s, CASCADE as t };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/atoms/Typography/Link/index.d.ts
4
4
  interface Props$4 extends React.ComponentPropsWithoutRef<'a'> {}
@@ -6,7 +6,7 @@ declare const Link: ({
6
6
  children,
7
7
  className,
8
8
  ...props
9
- }: Props$4) => react_jsx_runtime9.JSX.Element;
9
+ }: Props$4) => react_jsx_runtime8.JSX.Element;
10
10
  //#endregion
11
11
  //#region src/components/atoms/Typography/Paragraph/index.d.ts
12
12
  interface Props$3 extends React.ComponentPropsWithoutRef<'p'> {}
@@ -14,7 +14,7 @@ declare const Paragraph: ({
14
14
  children,
15
15
  className,
16
16
  ...props
17
- }: Props$3) => react_jsx_runtime9.JSX.Element;
17
+ }: Props$3) => react_jsx_runtime8.JSX.Element;
18
18
  //#endregion
19
19
  //#region src/components/atoms/Typography/Text/index.d.ts
20
20
  interface Props$2 extends React.ComponentPropsWithoutRef<'span'> {
@@ -27,7 +27,7 @@ declare const Text: ({
27
27
  strong,
28
28
  className,
29
29
  ...props
30
- }: Props$2) => react_jsx_runtime9.JSX.Element;
30
+ }: Props$2) => react_jsx_runtime8.JSX.Element;
31
31
  //#endregion
32
32
  //#region src/components/atoms/Typography/Title/index.d.ts
33
33
  interface Props$1 extends React.ComponentPropsWithoutRef<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'> {
@@ -38,7 +38,7 @@ declare const Title: ({
38
38
  level,
39
39
  className,
40
40
  ...props
41
- }: Props$1) => react_jsx_runtime9.JSX.Element;
41
+ }: Props$1) => react_jsx_runtime8.JSX.Element;
42
42
  //#endregion
43
43
  //#region src/components/atoms/Typography/index.d.ts
44
44
  interface Props extends React.ComponentPropsWithoutRef<'article'> {}
@@ -46,30 +46,30 @@ declare const Typography: {
46
46
  ({
47
47
  children,
48
48
  ...props
49
- }: Props): react_jsx_runtime9.JSX.Element;
49
+ }: Props): react_jsx_runtime8.JSX.Element;
50
50
  Link: ({
51
51
  children,
52
52
  className,
53
53
  ...props
54
- }: Props$4) => react_jsx_runtime9.JSX.Element;
54
+ }: Props$4) => react_jsx_runtime8.JSX.Element;
55
55
  Paragraph: ({
56
56
  children,
57
57
  className,
58
58
  ...props
59
- }: Props$3) => react_jsx_runtime9.JSX.Element;
59
+ }: Props$3) => react_jsx_runtime8.JSX.Element;
60
60
  Text: ({
61
61
  children,
62
62
  underline,
63
63
  strong,
64
64
  className,
65
65
  ...props
66
- }: Props$2) => react_jsx_runtime9.JSX.Element;
66
+ }: Props$2) => react_jsx_runtime8.JSX.Element;
67
67
  Title: ({
68
68
  children,
69
69
  level,
70
70
  className,
71
71
  ...props
72
- }: Props$1) => react_jsx_runtime9.JSX.Element;
72
+ }: Props$1) => react_jsx_runtime8.JSX.Element;
73
73
  };
74
74
  //#endregion
75
75
  export { Paragraph as a, Text as i, Typography as n, Link as o, Title as r, Props as t };
package/dist/index.d.mts CHANGED
@@ -1,18 +1,10 @@
1
- import { n as Typography } from "./index-CKq4NOxI.mjs";
2
- import { a as MenuProps, r as Menu } from "./index-DrfCF4Ya.mjs";
3
- import { a as Reveals } from "./index-CXT7Z-4F.mjs";
4
- import * as React$2 from "react";
1
+ import { n as Typography } from "./index-vBhS7Nno.mjs";
2
+ import { a as MenuProps, r as Menu } from "./index-tclrN3ts.mjs";
3
+ import { a as Reveals } from "./index-BcxCfsJl.mjs";
4
+ import { b as RadioGroup, l as Select$1, yt as Props$27 } from "./index-BC23qXS8.mjs";
5
+ import * as react0 from "react";
5
6
  import React$1, { MouseEvent } from "react";
6
- import "@radix-ui/react-accordion";
7
- import * as react_jsx_runtime104 from "react/jsx-runtime";
8
- import { VariantProps } from "class-variance-authority";
9
- import "@radix-ui/react-checkbox";
10
- import "@radix-ui/react-dialog";
11
- import { Drawer as Drawer$1 } from "vaul";
12
- import { Label, RadioGroup, Select as Select$1, Separator } from "radix-ui";
13
- import "@radix-ui/react-popover";
14
- import "@radix-ui/react-progress";
15
- import "@radix-ui/react-switch";
7
+ import * as react_jsx_runtime80 from "react/jsx-runtime";
16
8
  import * as swiper_react0 from "swiper/react";
17
9
  import { SwiperProps } from "swiper/react";
18
10
  import "swiper/css";
@@ -20,29 +12,8 @@ import "swiper/css/autoplay";
20
12
  import "swiper/css/effect-cards";
21
13
  import "swiper/css/navigation";
22
14
  import "swiper/css/scrollbar";
23
- import * as class_variance_authority_types0 from "class-variance-authority/types";
24
15
  import { SwiperOptions } from "swiper/types";
25
16
 
26
- //#region src/core/button.d.ts
27
- declare const buttonVariants: (props?: ({
28
- variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
29
- size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
30
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
31
- type Props$27 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
32
- asChild?: boolean;
33
- };
34
- //#endregion
35
- //#region src/core/radio-group.d.ts
36
- declare function RadioGroup$1({
37
- className,
38
- ...props
39
- }: React$2.ComponentProps<typeof RadioGroup.Root>): react_jsx_runtime104.JSX.Element;
40
- //#endregion
41
- //#region src/core/select.d.ts
42
- declare function Select$2({
43
- ...props
44
- }: React$2.ComponentProps<typeof Select$1.Root>): react_jsx_runtime104.JSX.Element;
45
- //#endregion
46
17
  //#region src/components/atoms/Button/index.d.ts
47
18
  type ButtonProps = Props$27;
48
19
  type PresetColors = 'blue' | 'purple' | 'cyan' | 'green' | 'magenta' | 'pink' | 'red' | 'orange' | 'yellow' | 'volcano' | 'geekblue' | 'lime' | 'gold';
@@ -71,7 +42,7 @@ declare const Button: ({
71
42
  children,
72
43
  onMouseDown,
73
44
  ...props
74
- }: Props$26) => react_jsx_runtime104.JSX.Element;
45
+ }: Props$26) => react_jsx_runtime80.JSX.Element;
75
46
  //#endregion
76
47
  //#region src/components/atoms/Checkbox/Group/index.d.ts
77
48
  type Option$2 = {
@@ -116,7 +87,7 @@ declare const Checkbox: {
116
87
  checked: _checked,
117
88
  onChange: _onChange,
118
89
  ...props
119
- }: Props$24): react_jsx_runtime104.JSX.Element;
90
+ }: Props$24): react_jsx_runtime80.JSX.Element;
120
91
  Group: ({
121
92
  orientation,
122
93
  placement,
@@ -126,7 +97,7 @@ declare const Checkbox: {
126
97
  defaultValue,
127
98
  value: _value,
128
99
  onChange: _onChange
129
- }: Props$25) => react_jsx_runtime104.JSX.Element;
100
+ }: Props$25) => react_jsx_runtime80.JSX.Element;
130
101
  };
131
102
  //#endregion
132
103
  //#region src/components/atoms/ColorPicker/index.d.ts
@@ -141,7 +112,7 @@ declare const ColorPicker: ({
141
112
  value: _value,
142
113
  showText,
143
114
  onChange: _onChange
144
- }: Props$23) => react_jsx_runtime104.JSX.Element;
115
+ }: Props$23) => react_jsx_runtime80.JSX.Element;
145
116
  //#endregion
146
117
  //#region src/components/atoms/FloatButton/BackTop/index.d.ts
147
118
  interface Props$22 extends Props$26 {
@@ -156,13 +127,13 @@ declare const FloatButton: {
156
127
  className,
157
128
  children,
158
129
  ...props
159
- }: Props$21): react_jsx_runtime104.JSX.Element;
130
+ }: Props$21): react_jsx_runtime80.JSX.Element;
160
131
  BackTop: ({
161
132
  visibilityHeight,
162
133
  className,
163
134
  onClick,
164
135
  ...props
165
- }: Props$22) => react_jsx_runtime104.JSX.Element;
136
+ }: Props$22) => react_jsx_runtime80.JSX.Element;
166
137
  };
167
138
  //#endregion
168
139
  //#region src/components/atoms/Input/Search/index.d.ts
@@ -180,7 +151,7 @@ interface Props$20 extends React.ComponentPropsWithRef<'input'> {
180
151
  declare const Input: {
181
152
  ({
182
153
  ...props
183
- }: React.ComponentPropsWithoutRef<"input">): react_jsx_runtime104.JSX.Element;
154
+ }: React.ComponentPropsWithoutRef<"input">): react_jsx_runtime80.JSX.Element;
184
155
  Search: {
185
156
  ({
186
157
  ref,
@@ -191,14 +162,14 @@ declare const Input: {
191
162
  onChange,
192
163
  onSearch: _onSearch,
193
164
  ...props
194
- }: Props$20): react_jsx_runtime104.JSX.Element;
165
+ }: Props$20): react_jsx_runtime80.JSX.Element;
195
166
  displayName: string;
196
167
  };
197
168
  TextArea: ({
198
169
  className,
199
170
  ref,
200
171
  ...props
201
- }: React.ComponentPropsWithRef<"textarea">) => react_jsx_runtime104.JSX.Element;
172
+ }: React.ComponentPropsWithRef<"textarea">) => react_jsx_runtime80.JSX.Element;
202
173
  };
203
174
  //#endregion
204
175
  //#region src/components/atoms/Popover/index.d.ts
@@ -214,7 +185,7 @@ declare const Popover: ({
214
185
  className,
215
186
  content,
216
187
  children
217
- }: Props$19) => react_jsx_runtime104.JSX.Element;
188
+ }: Props$19) => react_jsx_runtime80.JSX.Element;
218
189
  //#endregion
219
190
  //#region src/components/atoms/Progress/index.d.ts
220
191
  interface Props$18 extends React.ComponentPropsWithoutRef<'div'> {
@@ -230,7 +201,7 @@ declare const Progress: ({
230
201
  className,
231
202
  direction,
232
203
  classNames
233
- }: Props$18) => react_jsx_runtime104.JSX.Element;
204
+ }: Props$18) => react_jsx_runtime80.JSX.Element;
234
205
  //#endregion
235
206
  //#region src/components/atoms/Radio/Group/index.d.ts
236
207
  type Option$1 = {
@@ -249,7 +220,7 @@ interface Props$17 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange
249
220
  }
250
221
  //#endregion
251
222
  //#region src/components/atoms/Radio/index.d.ts
252
- declare const Core$1: typeof RadioGroup$1;
223
+ declare const Core$1: typeof RadioGroup;
253
224
  type OptionValue = string | number | boolean;
254
225
  interface Props$16 extends Omit<React.ComponentPropsWithoutRef<typeof Core$1>, 'onChange' | 'value'> {
255
226
  placement?: 'left' | 'right';
@@ -275,7 +246,7 @@ declare const Radio: {
275
246
  checked: _checked,
276
247
  onChange: _onChange,
277
248
  ...props
278
- }: Props$16): react_jsx_runtime104.JSX.Element;
249
+ }: Props$16): react_jsx_runtime80.JSX.Element;
279
250
  Group: ({
280
251
  orientation,
281
252
  placement,
@@ -285,11 +256,11 @@ declare const Radio: {
285
256
  defaultValue,
286
257
  value: _value,
287
258
  onChange: _onChange
288
- }: Props$17) => react_jsx_runtime104.JSX.Element;
259
+ }: Props$17) => react_jsx_runtime80.JSX.Element;
289
260
  };
290
261
  //#endregion
291
262
  //#region src/components/atoms/Select/index.d.ts
292
- declare const Core: typeof Select$2;
263
+ declare const Core: typeof Select$1;
293
264
  interface Option {
294
265
  label: React$1.ReactNode;
295
266
  value: string;
@@ -310,7 +281,7 @@ declare const Select: ({
310
281
  options,
311
282
  onChange,
312
283
  ...props
313
- }: Props$15) => react_jsx_runtime104.JSX.Element;
284
+ }: Props$15) => react_jsx_runtime80.JSX.Element;
314
285
  //#endregion
315
286
  //#region src/components/atoms/Skeleton/index.d.ts
316
287
  interface Props$14 extends React.ComponentPropsWithoutRef<'div'> {
@@ -345,15 +316,15 @@ declare const Skeleton: {
345
316
  height,
346
317
  children,
347
318
  ...props
348
- }: Props$14): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | react_jsx_runtime104.JSX.Element | null | undefined;
319
+ }: Props$14): string | number | bigint | boolean | Iterable<react0.ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<react0.ReactNode> | null | undefined> | react_jsx_runtime80.JSX.Element | null | undefined;
349
320
  Button: ({
350
321
  className,
351
322
  ...props
352
- }: Props$14) => react_jsx_runtime104.JSX.Element;
323
+ }: Props$14) => react_jsx_runtime80.JSX.Element;
353
324
  Node: ({
354
325
  className,
355
326
  ...props
356
- }: Props$14) => react_jsx_runtime104.JSX.Element;
327
+ }: Props$14) => react_jsx_runtime80.JSX.Element;
357
328
  };
358
329
  //#endregion
359
330
  //#region src/components/atoms/Spin/index.d.ts
@@ -364,7 +335,7 @@ declare const Spin: ({
364
335
  spinning,
365
336
  className,
366
337
  ...props
367
- }: Props$13) => react_jsx_runtime104.JSX.Element | null;
338
+ }: Props$13) => react_jsx_runtime80.JSX.Element | null;
368
339
  //#endregion
369
340
  //#region src/components/atoms/Switch/index.d.ts
370
341
  interface Props$12 extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange'> {
@@ -384,7 +355,7 @@ declare const Switch: ({
384
355
  checked: _checked,
385
356
  onChange: _onChange,
386
357
  ...props
387
- }: Props$12) => react_jsx_runtime104.JSX.Element;
358
+ }: Props$12) => react_jsx_runtime80.JSX.Element;
388
359
  //#endregion
389
360
  //#region src/components/molecules/Card/index.d.ts
390
361
  interface Props$11 extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
@@ -402,7 +373,7 @@ declare const Card: ({
402
373
  classNames,
403
374
  variant,
404
375
  ...props
405
- }: Props$11) => react_jsx_runtime104.JSX.Element;
376
+ }: Props$11) => react_jsx_runtime80.JSX.Element;
406
377
  //#endregion
407
378
  //#region src/components/molecules/Collapse/index.d.ts
408
379
  interface Item {
@@ -433,7 +404,7 @@ declare const Collapse: ({
433
404
  defaultActiveKey,
434
405
  activeKey: _activeKey,
435
406
  onChange: _onChange
436
- }: Props$10) => react_jsx_runtime104.JSX.Element;
407
+ }: Props$10) => react_jsx_runtime80.JSX.Element;
437
408
  //#endregion
438
409
  //#region src/components/molecules/Dropdown/index.d.ts
439
410
  type ChangeEventHandler = (open: boolean) => void;
@@ -451,7 +422,7 @@ declare const Dropdown: ({
451
422
  open: _open,
452
423
  onOpenChange: _onOpenChange,
453
424
  ...props
454
- }: Props$9) => react_jsx_runtime104.JSX.Element;
425
+ }: Props$9) => react_jsx_runtime80.JSX.Element;
455
426
  //#endregion
456
427
  //#region src/components/molecules/Marquees/Item/index.d.ts
457
428
  interface ItemProps {
@@ -481,7 +452,7 @@ declare const Marquees: {
481
452
  pauseOnHover,
482
453
  autoFill,
483
454
  ...props
484
- }: Props$7): react_jsx_runtime104.JSX.Element;
455
+ }: Props$7): react_jsx_runtime80.JSX.Element;
485
456
  Item: ({
486
457
  width: _width,
487
458
  speed,
@@ -489,7 +460,7 @@ declare const Marquees: {
489
460
  pause: _pause,
490
461
  pauseOnHover,
491
462
  children
492
- }: Props$8) => react_jsx_runtime104.JSX.Element;
463
+ }: Props$8) => react_jsx_runtime80.JSX.Element;
493
464
  };
494
465
  //#endregion
495
466
  //#region src/components/molecules/Space/index.d.ts
@@ -520,7 +491,7 @@ declare const Space: ({
520
491
  hidden,
521
492
  style,
522
493
  ...props
523
- }: Props$6) => react_jsx_runtime104.JSX.Element;
494
+ }: Props$6) => react_jsx_runtime80.JSX.Element;
524
495
  //#endregion
525
496
  //#region src/components/organisms/Drawer/index.d.ts
526
497
  interface Props$5 {
@@ -570,7 +541,7 @@ declare const Drawer: ({
570
541
  container,
571
542
  onClose,
572
543
  ...props
573
- }: Props$5) => react_jsx_runtime104.JSX.Element | null;
544
+ }: Props$5) => react_jsx_runtime80.JSX.Element | null;
574
545
  //#endregion
575
546
  //#region src/components/organisms/List/index.d.ts
576
547
  interface Props$4<T> extends Omit<React$1.ComponentPropsWithoutRef<'div'>, 'title'> {
@@ -609,12 +580,12 @@ declare const List: {
609
580
  classNames,
610
581
  renderItem,
611
582
  ...props
612
- }: Props$4<T>): string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime104.JSX.Element;
583
+ }: Props$4<T>): string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime80.JSX.Element;
613
584
  Item: ({
614
585
  children,
615
586
  className,
616
587
  ...props
617
- }: React$1.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
588
+ }: React$1.ComponentPropsWithoutRef<"div">) => react_jsx_runtime80.JSX.Element;
618
589
  };
619
590
  //#endregion
620
591
  //#region src/components/organisms/Modal/index.d.ts
@@ -668,7 +639,7 @@ declare const Modal: {
668
639
  onOk,
669
640
  onCancel,
670
641
  ...props
671
- }: Props$3): react_jsx_runtime104.JSX.Element | null;
642
+ }: Props$3): react_jsx_runtime80.JSX.Element | null;
672
643
  destroy(id?: string): void;
673
644
  destroyAll(): void;
674
645
  info(props: StaticProps): string | undefined;
@@ -697,13 +668,13 @@ declare const Swiper: {
697
668
  renderItem,
698
669
  loadingClassName,
699
670
  ...props
700
- }: Props$2<T>): react_jsx_runtime104.JSX.Element;
671
+ }: Props$2<T>): react_jsx_runtime80.JSX.Element;
701
672
  Slide: {
702
673
  ({
703
674
  children,
704
675
  className,
705
676
  ...props
706
- }: swiper_react0.SwiperSlideProps): react_jsx_runtime104.JSX.Element;
677
+ }: swiper_react0.SwiperSlideProps): react_jsx_runtime80.JSX.Element;
707
678
  displayName: string;
708
679
  };
709
680
  };
@@ -718,27 +689,27 @@ declare const Layout: {
718
689
  children,
719
690
  className,
720
691
  ...props
721
- }: Props): react_jsx_runtime104.JSX.Element;
692
+ }: Props): react_jsx_runtime80.JSX.Element;
722
693
  Content: ({
723
694
  children,
724
695
  className,
725
696
  ...props
726
- }: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
697
+ }: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime80.JSX.Element;
727
698
  Footer: ({
728
699
  children,
729
700
  className,
730
701
  ...props
731
- }: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
702
+ }: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime80.JSX.Element;
732
703
  Header: ({
733
704
  children,
734
705
  className,
735
706
  ...props
736
- }: Props$1) => react_jsx_runtime104.JSX.Element;
707
+ }: Props$1) => react_jsx_runtime80.JSX.Element;
737
708
  Sider: ({
738
709
  children,
739
710
  className,
740
711
  ...props
741
- }: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
712
+ }: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime80.JSX.Element;
742
713
  };
743
714
  //#endregion
744
715
  export { Button, Card, Checkbox, Collapse, ColorPicker, Drawer, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Radio, Reveals, Select, Skeleton, Space, Spin, Swiper, Switch, Typography };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { C as ColorPicker_default, E as Button_default, S as FloatButton_default, T as Checkbox_default, _ as Skeleton_default, a as Drawer_default, b as Progress_default, c as Dropdown_default, g as Spin_default, h as Switch_default, i as List_default, m as Card_default, n as Swiper_default, o as Space_default, p as Collapse_default, r as Modal_default, s as Marquees_default, t as Layout_default, u as Menu_default, v as Select_default, w as Popover_default, x as Input_default, y as Radio_default } from "./src-MBsIpDyP.mjs";
2
- import "./utils-CssUrKWE.mjs";
3
- import { t as Typography_default } from "./Typography-GMk9208W.mjs";
4
- import { i as Reveals_default } from "./Reveals-mkV9B8lj.mjs";
1
+ import { C as ColorPicker_default, E as Button_default, S as FloatButton_default, T as Checkbox_default, _ as Skeleton_default, a as Drawer_default, b as Progress_default, c as Dropdown_default, g as Spin_default, h as Switch_default, i as List_default, m as Card_default, n as Swiper_default, o as Space_default, p as Collapse_default, r as Modal_default, s as Marquees_default, t as Layout_default, u as Menu_default, v as Select_default, w as Popover_default, x as Input_default, y as Radio_default } from "./src-CS2dhz2p.mjs";
2
+ import "./utils-1s_37TSX.mjs";
3
+ import { t as Typography_default } from "./Typography-Dznhj8uL.mjs";
4
+ import { i as Reveals_default } from "./Reveals-Cqo3i2hh.mjs";
5
5
 
6
6
  export { Button_default as Button, Card_default as Card, Checkbox_default as Checkbox, Collapse_default as Collapse, ColorPicker_default as ColorPicker, Drawer_default as Drawer, Dropdown_default as Dropdown, FloatButton_default as FloatButton, Input_default as Input, Layout_default as Layout, List_default as List, Marquees_default as Marquees, Menu_default as Menu, Modal_default as Modal, Popover_default as Popover, Progress_default as Progress, Radio_default as Radio, Reveals_default as Reveals, Select_default as Select, Skeleton_default as Skeleton, Space_default as Space, Spin_default as Spin, Swiper_default as Swiper, Switch_default as Switch, Typography_default as Typography };
@@ -1,5 +1,6 @@
1
- import { n as renderConditional, t as cn } from "./utils-CssUrKWE.mjs";
2
- import { t as Typography_default } from "./Typography-GMk9208W.mjs";
1
+ import { t as __exportAll } from "./chunk-BWyCjowX.mjs";
2
+ import { n as renderConditional, t as cn } from "./utils-1s_37TSX.mjs";
3
+ import { t as Typography_default } from "./Typography-Dznhj8uL.mjs";
3
4
  import { ArrowUp, Check, CheckIcon, ChevronDown, ChevronDownIcon, ChevronUpIcon, Circle, CircleCheck, CircleIcon, CircleQuestionMark, CircleX, Info, Loader2, LoaderCircle, OctagonAlert, OctagonX, Search, Square, SquareCheck, X, XIcon } from "lucide-react";
4
5
  import React, { Children, createElement, useEffect, useId, useMemo, useRef, useState } from "react";
5
6
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
@@ -29,23 +30,6 @@ import "swiper/css/effect-cards";
29
30
  import "swiper/css/navigation";
30
31
  import "swiper/css/scrollbar";
31
32
 
32
- //#region rolldown:runtime
33
- var __defProp = Object.defineProperty;
34
- var __exportAll = (all, symbols) => {
35
- let target = {};
36
- for (var name in all) {
37
- __defProp(target, name, {
38
- get: all[name],
39
- enumerable: true
40
- });
41
- }
42
- if (symbols) {
43
- __defProp(target, Symbol.toStringTag, { value: "Module" });
44
- }
45
- return target;
46
- };
47
-
48
- //#endregion
49
33
  //#region src/core/accordion.tsx
50
34
  var accordion_exports = /* @__PURE__ */ __exportAll({
51
35
  Accordion: () => Accordion$1,
@@ -95,6 +79,10 @@ function AccordionContent$1({ className, children, ...props }) {
95
79
 
96
80
  //#endregion
97
81
  //#region src/core/button.tsx
82
+ var button_exports = /* @__PURE__ */ __exportAll({
83
+ Button: () => Button$2,
84
+ buttonVariants: () => buttonVariants
85
+ });
98
86
  const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_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", {
99
87
  variants: {
100
88
  variant: {
@@ -6169,4 +6157,4 @@ Layout.Sider = Sider_default;
6169
6157
  var Layout_default = Layout;
6170
6158
 
6171
6159
  //#endregion
6172
- export { ColorPicker_default as C, Button_default$1 as E, FloatButton_default as S, Checkbox_default as T, Skeleton_default as _, Drawer_default as a, Progress_default as b, Dropdown_default as c, buildSelectionMap as d, findKey as f, Spin_default as g, Switch_default as h, List_default as i, MENU_CLASSNAMES as l, Card_default as m, Swiper_default as n, Space_default as o, Collapse_default as p, Modal_default as r, Marquees_default as s, Layout_default as t, Menu_default as u, Select_default as v, Popover_default as w, Input_default as x, Radio_default as y };
6160
+ export { PopoverContent$1 as $, switch_exports as A, drawer_exports as At, SelectScrollDownButton as B, DialogTrigger as Bt, ColorPicker_default as C, DrawerDescription$1 as Ct, Textarea as D, DrawerPortal as Dt, Button_default$1 as E, DrawerOverlay as Et, Select$2 as F, DialogFooter$1 as Ft, select_exports as G, buttonVariants as Gt, SelectSeparator as H, Checkbox$1 as Ht, SelectContent$1 as I, DialogHeader$1 as It, radio_group_exports as J, AccordionContent$1 as Jt, RadioGroup$2 as K, button_exports as Kt, SelectGroup$1 as L, DialogOverlay as Lt, skeleton_exports as M, DialogClose as Mt, Separator$1 as N, DialogContent$1 as Nt, textarea_exports as O, DrawerTitle$1 as Ot, separator_exports as P, DialogDescription$1 as Pt, PopoverAnchor as Q, SelectItem$1 as R, DialogPortal as Rt, FloatButton_default as S, DrawerContent$1 as St, Checkbox_default as T, DrawerHeader$1 as Tt, SelectTrigger$1 as U, checkbox_exports as Ut, SelectScrollUpButton as V, dialog_exports as Vt, SelectValue$1 as W, Button$2 as Wt, progress_exports as X, AccordionTrigger$1 as Xt, Progress$1 as Y, AccordionItem$1 as Yt, Popover$1 as Z, accordion_exports as Zt, Skeleton_default as _, FieldSet as _t, Drawer_default as a, Label$2 as at, Progress_default as b, Drawer$2 as bt, Dropdown_default as c, input_exports as ct, buildSelectionMap as d, FieldDescription as dt, PopoverDescription as et, findKey as f, FieldError as ft, Spin_default as g, FieldSeparator as gt, Switch_default as h, FieldLegend as ht, List_default as i, popover_exports as it, Skeleton$1 as j, Dialog$1 as jt, Switch$1 as k, DrawerTrigger as kt, MENU_CLASSNAMES as l, Field$1 as lt, Card_default as m, FieldLabel$1 as mt, Swiper_default as n, PopoverTitle as nt, Space_default as o, label_exports as ot, Collapse_default as p, FieldGroup as pt, RadioGroupItem as q, Accordion$1 as qt, Modal_default as r, PopoverTrigger$1 as rt, Marquees_default as s, Input$1 as st, Layout_default as t, PopoverHeader as tt, Menu_default as u, FieldContent as ut, Select_default as v, FieldTitle as vt, Popover_default as w, DrawerFooter$1 as wt, Input_default as x, DrawerClose as xt, Radio_default as y, field_exports as yt, SelectLabel$1 as z, DialogTitle$1 as zt };
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as renderConditional, t as cn } from "./utils-CssUrKWE.mjs";
1
+ import { n as renderConditional, t as cn } from "./utils-1s_37TSX.mjs";
2
2
 
3
3
  export { cn, renderConditional };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbpark/ui-kit",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Modern React UI component library built with TypeScript, Tailwind CSS, and Radix UI. Featuring atoms, molecules, organisms and layout templates for building beautiful interfaces.",
5
5
  "keywords": [
6
6
  "react",
@@ -65,6 +65,11 @@
65
65
  "import": "./dist/enums.mjs",
66
66
  "default": "./dist/enums.mjs"
67
67
  },
68
+ "./core": {
69
+ "types": "./dist/core.d.mts",
70
+ "import": "./dist/core.mjs",
71
+ "default": "./dist/core.mjs"
72
+ },
68
73
  "./style.css": {
69
74
  "import": "./dist/output.css",
70
75
  "default": "./dist/output.css"
File without changes
File without changes