@jbpark/ui-kit 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Menu.d.mts +1 -1
- package/dist/Menu.mjs +4 -4
- package/dist/{Reveals-mkV9B8lj.mjs → Reveals-Cqo3i2hh.mjs} +1 -1
- package/dist/Reveals.d.mts +1 -1
- package/dist/Reveals.mjs +2 -2
- package/dist/{Typography-GMk9208W.mjs → Typography-Dznhj8uL.mjs} +1 -1
- package/dist/Typography.d.mts +1 -1
- package/dist/Typography.mjs +2 -2
- package/dist/chunk-BWyCjowX.mjs +18 -0
- package/dist/core.d.mts +2 -0
- package/dist/core.mjs +6 -0
- package/dist/index-BPMaWpkp.d.mts +391 -0
- package/dist/{index-DrfCF4Ya.d.mts → index-CDc8-GhA.d.mts} +2 -2
- package/dist/index.d.mts +44 -73
- package/dist/index.mjs +4 -4
- package/dist/{src-MBsIpDyP.mjs → src-Bg0-gM1s.mjs} +8 -20
- package/dist/utils.mjs +1 -1
- package/package.json +6 -1
- /package/dist/{index-CXT7Z-4F.d.mts → index-CsjsTuId.d.mts} +0 -0
- /package/dist/{index-CKq4NOxI.d.mts → index-D4ifWZXU.d.mts} +0 -0
- /package/dist/{src-Bb7sskwT.css → src-BzCZ9O6j.css} +0 -0
- /package/dist/{utils-CssUrKWE.mjs → utils-1s_37TSX.mjs} +0 -0
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-
|
|
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-CDc8-GhA.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-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./Typography-
|
|
6
|
-
import "./Reveals-
|
|
3
|
+
import { d as buildSelectionMap, f as findKey, l as MENU_CLASSNAMES, u as Menu_default } from "./src-Bg0-gM1s.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 };
|
package/dist/Reveals.d.mts
CHANGED
|
@@ -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-
|
|
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-CsjsTuId.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-
|
|
2
|
-
import { a as Item_default, i as Reveals_default, n as DELAY, r as DURATION, t as CASCADE } from "./Reveals-
|
|
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 };
|
package/dist/Typography.d.mts
CHANGED
|
@@ -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-
|
|
1
|
+
import { a as Paragraph, i as Text, n as Typography, o as Link, r as Title, t as Props } from "./index-D4ifWZXU.mjs";
|
|
2
2
|
export { Link, Paragraph, Props, Text, Title, Typography as default };
|
package/dist/Typography.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./utils-
|
|
2
|
-
import { a as Link_default, i as Paragraph_default, n as Title_default, r as Text_default, t as Typography_default } from "./Typography-
|
|
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 };
|
package/dist/core.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { c as radio_group_d_exports, d as label_d_exports, f as input_d_exports, g as checkbox_d_exports, h as dialog_d_exports, i as separator_d_exports, l as progress_d_exports, m as drawer_d_exports, n as switch_d_exports, o as select_d_exports, p as field_d_exports, r as skeleton_d_exports, t as textarea_d_exports, u as popover_d_exports, v as button_d_exports, y as accordion_d_exports } from "./index-BPMaWpkp.mjs";
|
|
2
|
+
export { accordion_d_exports as accordion, button_d_exports as button, 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 { A as separator_exports, B as checkbox_exports, D as textarea_exports, F as label_exports, H as accordion_exports, I as input_exports, L as field_exports, M as radio_group_exports, N as progress_exports, O as switch_exports, P as popover_exports, R as drawer_exports, V as button_exports, j as select_exports, k as skeleton_exports, z as dialog_exports } from "./src-Bg0-gM1s.mjs";
|
|
2
|
+
import "./utils-1s_37TSX.mjs";
|
|
3
|
+
import "./Typography-Dznhj8uL.mjs";
|
|
4
|
+
import "./Reveals-Cqo3i2hh.mjs";
|
|
5
|
+
|
|
6
|
+
export { accordion_exports as accordion, button_exports as button, 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_runtime13 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_runtime13.JSX.Element;
|
|
21
|
+
declare function AccordionItem({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React$2.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
34
|
+
declare function AccordionContent({
|
|
35
|
+
className,
|
|
36
|
+
children,
|
|
37
|
+
...props
|
|
38
|
+
}: React$2.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime13.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_runtime13.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_runtime13.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_runtime13.JSX.Element;
|
|
69
|
+
declare function DialogTrigger({
|
|
70
|
+
...props
|
|
71
|
+
}: React$2.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime13.JSX.Element;
|
|
72
|
+
declare function DialogPortal({
|
|
73
|
+
...props
|
|
74
|
+
}: React$2.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime13.JSX.Element;
|
|
75
|
+
declare function DialogClose({
|
|
76
|
+
...props
|
|
77
|
+
}: React$2.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime13.JSX.Element;
|
|
78
|
+
declare function DialogOverlay({
|
|
79
|
+
className,
|
|
80
|
+
...props
|
|
81
|
+
}: React$2.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
103
|
+
declare function DialogHeader({
|
|
104
|
+
className,
|
|
105
|
+
...props
|
|
106
|
+
}: React$2.ComponentProps<'div'>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
115
|
+
declare function DialogTitle({
|
|
116
|
+
className,
|
|
117
|
+
...props
|
|
118
|
+
}: React$2.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime13.JSX.Element;
|
|
119
|
+
declare function DialogDescription({
|
|
120
|
+
className,
|
|
121
|
+
...props
|
|
122
|
+
}: React$2.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
133
|
+
declare function DrawerTrigger({
|
|
134
|
+
...props
|
|
135
|
+
}: React$2.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime13.JSX.Element;
|
|
136
|
+
declare function DrawerPortal({
|
|
137
|
+
...props
|
|
138
|
+
}: React$2.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime13.JSX.Element;
|
|
139
|
+
declare function DrawerClose({
|
|
140
|
+
...props
|
|
141
|
+
}: React$2.ComponentProps<typeof Drawer.Close>): react_jsx_runtime13.JSX.Element;
|
|
142
|
+
declare function DrawerOverlay({
|
|
143
|
+
className,
|
|
144
|
+
...props
|
|
145
|
+
}: React$2.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
159
|
+
declare function DrawerHeader({
|
|
160
|
+
className,
|
|
161
|
+
...props
|
|
162
|
+
}: React$2.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
163
|
+
declare function DrawerFooter({
|
|
164
|
+
className,
|
|
165
|
+
...props
|
|
166
|
+
}: React$2.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
167
|
+
declare function DrawerTitle({
|
|
168
|
+
className,
|
|
169
|
+
...props
|
|
170
|
+
}: React$2.ComponentProps<typeof Drawer.Title>): react_jsx_runtime13.JSX.Element;
|
|
171
|
+
declare function DrawerDescription({
|
|
172
|
+
className,
|
|
173
|
+
...props
|
|
174
|
+
}: React$2.ComponentProps<typeof Drawer.Description>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
183
|
+
declare function FieldLegend({
|
|
184
|
+
className,
|
|
185
|
+
variant,
|
|
186
|
+
...props
|
|
187
|
+
}: React.ComponentProps<'legend'> & {
|
|
188
|
+
variant?: 'legend' | 'label';
|
|
189
|
+
}): react_jsx_runtime13.JSX.Element;
|
|
190
|
+
declare function FieldGroup({
|
|
191
|
+
className,
|
|
192
|
+
...props
|
|
193
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
202
|
+
declare function FieldContent({
|
|
203
|
+
className,
|
|
204
|
+
...props
|
|
205
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
206
|
+
declare function FieldLabel({
|
|
207
|
+
className,
|
|
208
|
+
...props
|
|
209
|
+
}: React.ComponentProps<typeof Label$2>): react_jsx_runtime13.JSX.Element;
|
|
210
|
+
declare function FieldTitle({
|
|
211
|
+
className,
|
|
212
|
+
...props
|
|
213
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
214
|
+
declare function FieldDescription({
|
|
215
|
+
className,
|
|
216
|
+
...props
|
|
217
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime13.JSX.Element;
|
|
218
|
+
declare function FieldSeparator({
|
|
219
|
+
children,
|
|
220
|
+
className,
|
|
221
|
+
...props
|
|
222
|
+
}: React.ComponentProps<'div'> & {
|
|
223
|
+
children?: React.ReactNode;
|
|
224
|
+
}): react_jsx_runtime13.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_runtime13.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_runtime13.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_runtime13.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_runtime13.JSX.Element;
|
|
256
|
+
declare function PopoverTrigger({
|
|
257
|
+
...props
|
|
258
|
+
}: React$2.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime13.JSX.Element;
|
|
259
|
+
declare function PopoverContent({
|
|
260
|
+
className,
|
|
261
|
+
align,
|
|
262
|
+
sideOffset,
|
|
263
|
+
...props
|
|
264
|
+
}: React$2.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime13.JSX.Element;
|
|
265
|
+
declare function PopoverAnchor({
|
|
266
|
+
...props
|
|
267
|
+
}: React$2.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime13.JSX.Element;
|
|
268
|
+
declare function PopoverHeader({
|
|
269
|
+
className,
|
|
270
|
+
...props
|
|
271
|
+
}: React$2.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
|
|
272
|
+
declare function PopoverTitle({
|
|
273
|
+
className,
|
|
274
|
+
...props
|
|
275
|
+
}: React$2.ComponentProps<'h2'>): react_jsx_runtime13.JSX.Element;
|
|
276
|
+
declare function PopoverDescription({
|
|
277
|
+
className,
|
|
278
|
+
...props
|
|
279
|
+
}: React$2.ComponentProps<'p'>): react_jsx_runtime13.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_runtime13.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_runtime13.JSX.Element;
|
|
301
|
+
declare function RadioGroupItem({
|
|
302
|
+
className,
|
|
303
|
+
...props
|
|
304
|
+
}: React$2.ComponentProps<typeof RadioGroup.Item>): react_jsx_runtime13.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_runtime13.JSX.Element;
|
|
311
|
+
declare function SelectGroup({
|
|
312
|
+
...props
|
|
313
|
+
}: React$2.ComponentProps<typeof Select.Group>): react_jsx_runtime13.JSX.Element;
|
|
314
|
+
declare function SelectValue({
|
|
315
|
+
...props
|
|
316
|
+
}: React$2.ComponentProps<typeof Select.Value>): react_jsx_runtime13.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_runtime13.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_runtime13.JSX.Element;
|
|
332
|
+
declare function SelectLabel({
|
|
333
|
+
className,
|
|
334
|
+
...props
|
|
335
|
+
}: React$2.ComponentProps<typeof Select.Label>): react_jsx_runtime13.JSX.Element;
|
|
336
|
+
declare function SelectItem({
|
|
337
|
+
className,
|
|
338
|
+
children,
|
|
339
|
+
...props
|
|
340
|
+
}: React$2.ComponentProps<typeof Select.Item>): react_jsx_runtime13.JSX.Element;
|
|
341
|
+
declare function SelectSeparator({
|
|
342
|
+
className,
|
|
343
|
+
...props
|
|
344
|
+
}: React$2.ComponentProps<typeof Select.Separator>): react_jsx_runtime13.JSX.Element;
|
|
345
|
+
declare function SelectScrollUpButton({
|
|
346
|
+
className,
|
|
347
|
+
...props
|
|
348
|
+
}: React$2.ComponentProps<typeof Select.ScrollUpButton>): react_jsx_runtime13.JSX.Element;
|
|
349
|
+
declare function SelectScrollDownButton({
|
|
350
|
+
className,
|
|
351
|
+
...props
|
|
352
|
+
}: React$2.ComponentProps<typeof Select.ScrollDownButton>): react_jsx_runtime13.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_runtime13.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_runtime13.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_runtime13.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_runtime13.JSX.Element;
|
|
390
|
+
//#endregion
|
|
391
|
+
export { Props as _, Select$1 as a, radio_group_d_exports as c, label_d_exports as d, input_d_exports as f, checkbox_d_exports as g, dialog_d_exports as h, separator_d_exports as i, progress_d_exports as l, drawer_d_exports as m, switch_d_exports as n, select_d_exports as o, field_d_exports as p, skeleton_d_exports as r, RadioGroup$1 as s, textarea_d_exports as t, popover_d_exports as u, button_d_exports as v, accordion_d_exports as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/molecules/Menu/index.d.ts
|
|
4
4
|
interface MenuItem {
|
|
@@ -56,6 +56,6 @@ declare const Menu: ({
|
|
|
56
56
|
onClick,
|
|
57
57
|
onSelect: _onSelect,
|
|
58
58
|
...props
|
|
59
|
-
}: MenuProps) =>
|
|
59
|
+
}: MenuProps) => react_jsx_runtime6.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { MenuProps as a, buildSelectionMap as c, MenuItem as i, findKey as l, MENU_CLASSNAMES as n, Props as o, Menu as r, SelectionMap as s, ClickEventHandler as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import { n as Typography } from "./index-
|
|
2
|
-
import { a as MenuProps, r as Menu } from "./index-
|
|
3
|
-
import { a as Reveals } from "./index-
|
|
4
|
-
import
|
|
1
|
+
import { n as Typography } from "./index-D4ifWZXU.mjs";
|
|
2
|
+
import { a as MenuProps, r as Menu } from "./index-CDc8-GhA.mjs";
|
|
3
|
+
import { a as Reveals } from "./index-CsjsTuId.mjs";
|
|
4
|
+
import { _ as Props$27, a as Select$1, s as RadioGroup } from "./index-BPMaWpkp.mjs";
|
|
5
|
+
import * as react0 from "react";
|
|
5
6
|
import React$1, { MouseEvent } from "react";
|
|
6
|
-
import "
|
|
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) =>
|
|
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):
|
|
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) =>
|
|
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) =>
|
|
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):
|
|
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) =>
|
|
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">):
|
|
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):
|
|
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">) =>
|
|
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) =>
|
|
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) =>
|
|
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
|
|
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):
|
|
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) =>
|
|
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$
|
|
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) =>
|
|
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<
|
|
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) =>
|
|
323
|
+
}: Props$14) => react_jsx_runtime80.JSX.Element;
|
|
353
324
|
Node: ({
|
|
354
325
|
className,
|
|
355
326
|
...props
|
|
356
|
-
}: Props$14) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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):
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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> |
|
|
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">) =>
|
|
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):
|
|
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>):
|
|
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):
|
|
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):
|
|
692
|
+
}: Props): react_jsx_runtime80.JSX.Element;
|
|
722
693
|
Content: ({
|
|
723
694
|
children,
|
|
724
695
|
className,
|
|
725
696
|
...props
|
|
726
|
-
}: React.ComponentPropsWithoutRef<"div">) =>
|
|
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">) =>
|
|
702
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime80.JSX.Element;
|
|
732
703
|
Header: ({
|
|
733
704
|
children,
|
|
734
705
|
className,
|
|
735
706
|
...props
|
|
736
|
-
}: Props$1) =>
|
|
707
|
+
}: Props$1) => react_jsx_runtime80.JSX.Element;
|
|
737
708
|
Sider: ({
|
|
738
709
|
children,
|
|
739
710
|
className,
|
|
740
711
|
...props
|
|
741
|
-
}: React.ComponentPropsWithoutRef<"div">) =>
|
|
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-
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { t as Typography_default } from "./Typography-
|
|
4
|
-
import { i as Reveals_default } from "./Reveals-
|
|
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-Bg0-gM1s.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 {
|
|
2
|
-
import { t as
|
|
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 { separator_exports as A, checkbox_exports as B, ColorPicker_default as C, textarea_exports as D, Button_default$1 as E, label_exports as F, accordion_exports as H, input_exports as I, field_exports as L, radio_group_exports as M, progress_exports as N, switch_exports as O, popover_exports as P, drawer_exports as R, FloatButton_default as S, Checkbox_default as T, button_exports as V, 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, select_exports as j, skeleton_exports as k, 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, dialog_exports as z };
|
package/dist/utils.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbpark/ui-kit",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
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
|
|
File without changes
|
|
File without changes
|