@jbpark/ui-kit 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Menu.d.mts +1 -1
- package/dist/Menu.mjs +4 -4
- package/dist/{Reveals-BpnYZJUk.mjs → Reveals-mkV9B8lj.mjs} +1 -1
- package/dist/Reveals.d.mts +1 -1
- package/dist/Reveals.mjs +2 -2
- package/dist/{Typography-LYvEW-c8.mjs → Typography-GMk9208W.mjs} +7 -8
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +2 -2
- package/dist/enums.mjs +10 -1
- package/dist/{index-CbElazGe.d.mts → index-BpmFT8LS.d.mts} +1 -1
- package/dist/{index-DP36DulT.d.mts → index-CKq4NOxI.d.mts} +17 -25
- package/dist/{index-CbaWHQ3Y.d.mts → index-CXT7Z-4F.d.mts} +5 -5
- package/dist/index.d.mts +167 -76
- package/dist/index.mjs +5 -5
- package/dist/output.css +772 -70
- package/dist/{src-DbD2jnc4.mjs → src-BUNbQOql.mjs} +1114 -456
- package/dist/{src-DbBw9pxl.css → src-Bb7sskwT.css} +66 -64
- package/dist/utils-CssUrKWE.mjs +16 -0
- package/dist/utils.d.mts +3 -1
- package/dist/utils.mjs +2 -2
- package/package.json +4 -2
- package/dist/enums-HFC1lmIX.mjs +0 -12
- package/dist/utils-DEenfsJ-.mjs +0 -10
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as MenuProps, r as Menu } from "./index-
|
|
3
|
-
import { a as Reveals } from "./index-
|
|
1
|
+
import { n as Typography } from "./index-CKq4NOxI.mjs";
|
|
2
|
+
import { a as MenuProps, r as Menu } from "./index-BpmFT8LS.mjs";
|
|
3
|
+
import { a as Reveals } from "./index-CXT7Z-4F.mjs";
|
|
4
4
|
import * as React$2 from "react";
|
|
5
|
-
import React$1, {
|
|
5
|
+
import React$1, { MouseEvent } from "react";
|
|
6
|
+
import "@radix-ui/react-accordion";
|
|
7
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
6
8
|
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
import
|
|
9
|
+
import "@radix-ui/react-checkbox";
|
|
10
|
+
import "@radix-ui/react-dialog";
|
|
11
|
+
import { Drawer as Drawer$1 } from "vaul";
|
|
12
|
+
import "@radix-ui/react-label";
|
|
13
|
+
import "@radix-ui/react-popover";
|
|
14
|
+
import "@radix-ui/react-progress";
|
|
15
|
+
import { RadioGroup, Select as Select$1 } from "radix-ui";
|
|
16
|
+
import "@radix-ui/react-switch";
|
|
8
17
|
import * as swiper_react0 from "swiper/react";
|
|
9
18
|
import { SwiperProps } from "swiper/react";
|
|
10
19
|
import "swiper/css";
|
|
@@ -17,16 +26,28 @@ import { SwiperOptions } from "swiper/types";
|
|
|
17
26
|
|
|
18
27
|
//#region src/core/button.d.ts
|
|
19
28
|
declare const buttonVariants: (props?: ({
|
|
20
|
-
variant?: "
|
|
21
|
-
size?: "icon" | "default" | "sm" | "lg" | null | undefined;
|
|
29
|
+
variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
30
|
+
size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
22
31
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
23
|
-
type Props$
|
|
32
|
+
type Props$26 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
24
33
|
asChild?: boolean;
|
|
25
34
|
};
|
|
26
35
|
//#endregion
|
|
36
|
+
//#region src/core/radio-group.d.ts
|
|
37
|
+
declare function RadioGroup$1({
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}: React$2.ComponentProps<typeof RadioGroup.Root>): react_jsx_runtime72.JSX.Element;
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/core/select.d.ts
|
|
43
|
+
declare function Select$2({
|
|
44
|
+
...props
|
|
45
|
+
}: React$2.ComponentProps<typeof Select$1.Root>): react_jsx_runtime72.JSX.Element;
|
|
46
|
+
//#endregion
|
|
27
47
|
//#region src/components/atoms/Button/index.d.ts
|
|
48
|
+
type ButtonProps = Props$26;
|
|
28
49
|
type PresetColors = 'blue' | 'purple' | 'cyan' | 'green' | 'magenta' | 'pink' | 'red' | 'orange' | 'yellow' | 'volcano' | 'geekblue' | 'lime' | 'gold';
|
|
29
|
-
interface Props$
|
|
50
|
+
interface Props$25 extends Omit<ButtonProps, 'size' | 'variant'> {
|
|
30
51
|
icon?: React.ReactNode;
|
|
31
52
|
block?: boolean;
|
|
32
53
|
danger?: boolean;
|
|
@@ -51,27 +72,29 @@ declare const Button: ({
|
|
|
51
72
|
children,
|
|
52
73
|
onMouseDown,
|
|
53
74
|
...props
|
|
54
|
-
}: Props$
|
|
75
|
+
}: Props$25) => react_jsx_runtime72.JSX.Element;
|
|
55
76
|
//#endregion
|
|
56
77
|
//#region src/components/atoms/Checkbox/Group/index.d.ts
|
|
57
|
-
type Option = {
|
|
78
|
+
type Option$1 = {
|
|
58
79
|
label: string;
|
|
59
80
|
value: OptionValue;
|
|
60
|
-
checked?: boolean;
|
|
61
81
|
};
|
|
62
|
-
type Options = string[] | number[] | boolean[] | Option[];
|
|
63
|
-
interface Props$
|
|
82
|
+
type Options = string[] | number[] | boolean[] | Option$1[];
|
|
83
|
+
interface Props$24 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue' | 'value'> {
|
|
64
84
|
options?: Options;
|
|
65
|
-
direction?:
|
|
66
|
-
placement?:
|
|
85
|
+
direction?: 'vertical' | 'horizontal';
|
|
86
|
+
placement?: 'left' | 'right';
|
|
67
87
|
classNames?: Record<string, string>;
|
|
88
|
+
defaultValue?: OptionValue[];
|
|
89
|
+
value?: OptionValue[];
|
|
68
90
|
onChange?: (values: OptionValue[]) => void;
|
|
69
91
|
}
|
|
70
92
|
//#endregion
|
|
71
93
|
//#region src/components/atoms/Checkbox/index.d.ts
|
|
72
94
|
type OptionValue = string | number | boolean;
|
|
73
|
-
interface Props$
|
|
95
|
+
interface Props$23 extends Omit<React.ComponentPropsWithRef<'div'>, 'onChange'> {
|
|
74
96
|
placement?: string;
|
|
97
|
+
defaultChecked?: boolean;
|
|
75
98
|
checked?: boolean;
|
|
76
99
|
value?: OptionValue;
|
|
77
100
|
icons?: {
|
|
@@ -88,82 +111,112 @@ declare const Checkbox: {
|
|
|
88
111
|
children,
|
|
89
112
|
className,
|
|
90
113
|
icons,
|
|
114
|
+
defaultChecked,
|
|
91
115
|
checked: _checked,
|
|
92
116
|
onChange: _onChange,
|
|
93
117
|
...props
|
|
94
|
-
}: Props$
|
|
118
|
+
}: Props$23): react_jsx_runtime72.JSX.Element;
|
|
95
119
|
Group: ({
|
|
96
120
|
direction,
|
|
97
121
|
placement,
|
|
98
122
|
className,
|
|
99
123
|
classNames,
|
|
100
124
|
options: _options,
|
|
101
|
-
|
|
102
|
-
|
|
125
|
+
defaultValue,
|
|
126
|
+
value: _value,
|
|
127
|
+
onChange: _onChange
|
|
128
|
+
}: Props$24) => react_jsx_runtime72.JSX.Element;
|
|
103
129
|
};
|
|
104
130
|
//#endregion
|
|
131
|
+
//#region src/components/atoms/ColorPicker/index.d.ts
|
|
132
|
+
interface Props$22 {
|
|
133
|
+
defaultValue?: string;
|
|
134
|
+
value?: string;
|
|
135
|
+
showText?: boolean;
|
|
136
|
+
onChange?: (color: string) => void;
|
|
137
|
+
}
|
|
138
|
+
declare const ColorPicker: ({
|
|
139
|
+
defaultValue,
|
|
140
|
+
value: _value,
|
|
141
|
+
showText,
|
|
142
|
+
onChange: _onChange
|
|
143
|
+
}: Props$22) => react_jsx_runtime72.JSX.Element;
|
|
144
|
+
//#endregion
|
|
105
145
|
//#region src/components/atoms/FloatButton/BackTop/index.d.ts
|
|
106
|
-
interface Props$
|
|
146
|
+
interface Props$21 extends Props$25 {
|
|
107
147
|
visibilityHeight?: number;
|
|
108
148
|
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
109
149
|
}
|
|
110
150
|
//#endregion
|
|
111
151
|
//#region src/components/atoms/FloatButton/index.d.ts
|
|
112
|
-
interface Props$
|
|
152
|
+
interface Props$20 extends Props$25 {}
|
|
113
153
|
declare const FloatButton: {
|
|
114
154
|
({
|
|
115
155
|
className,
|
|
116
156
|
children,
|
|
117
157
|
...props
|
|
118
|
-
}: Props$
|
|
158
|
+
}: Props$20): react_jsx_runtime72.JSX.Element;
|
|
119
159
|
BackTop: ({
|
|
120
160
|
visibilityHeight,
|
|
121
161
|
className,
|
|
122
162
|
onClick,
|
|
123
163
|
...props
|
|
124
|
-
}: Props$
|
|
164
|
+
}: Props$21) => react_jsx_runtime72.JSX.Element;
|
|
125
165
|
};
|
|
126
166
|
//#endregion
|
|
127
167
|
//#region src/components/atoms/Input/Search/index.d.ts
|
|
128
|
-
interface Props$
|
|
168
|
+
interface Props$19 extends React.ComponentPropsWithRef<'input'> {
|
|
129
169
|
allowClear?: boolean;
|
|
130
|
-
onChange
|
|
170
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement> | {
|
|
131
171
|
target: {
|
|
132
172
|
value: string;
|
|
133
173
|
};
|
|
134
174
|
}) => void;
|
|
135
|
-
|
|
175
|
+
onSearch?: (value: string) => void;
|
|
136
176
|
}
|
|
137
177
|
//#endregion
|
|
138
178
|
//#region src/components/atoms/Input/index.d.ts
|
|
139
179
|
declare const Input: {
|
|
140
180
|
({
|
|
141
181
|
...props
|
|
142
|
-
}:
|
|
143
|
-
Search:
|
|
182
|
+
}: React.ComponentPropsWithoutRef<"input">): react_jsx_runtime72.JSX.Element;
|
|
183
|
+
Search: {
|
|
184
|
+
({
|
|
185
|
+
ref,
|
|
186
|
+
className,
|
|
187
|
+
defaultValue,
|
|
188
|
+
value,
|
|
189
|
+
allowClear,
|
|
190
|
+
onChange,
|
|
191
|
+
onSearch: _onSearch,
|
|
192
|
+
...props
|
|
193
|
+
}: Props$19): react_jsx_runtime72.JSX.Element;
|
|
194
|
+
displayName: string;
|
|
195
|
+
};
|
|
144
196
|
TextArea: ({
|
|
145
197
|
className,
|
|
146
198
|
ref,
|
|
147
199
|
...props
|
|
148
|
-
}: React.
|
|
149
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
150
|
-
}) => react_jsx_runtime20.JSX.Element;
|
|
200
|
+
}: React.ComponentPropsWithRef<"textarea">) => react_jsx_runtime72.JSX.Element;
|
|
151
201
|
};
|
|
152
202
|
//#endregion
|
|
153
203
|
//#region src/components/atoms/Popover/index.d.ts
|
|
154
|
-
|
|
204
|
+
type Placement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
205
|
+
interface Props$18 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'title' | 'content'> {
|
|
155
206
|
title?: React.ReactNode;
|
|
207
|
+
placement?: Placement;
|
|
156
208
|
content: React.ReactNode;
|
|
157
|
-
children: React.ReactNode;
|
|
158
209
|
}
|
|
159
210
|
declare const Popover: ({
|
|
160
211
|
title,
|
|
212
|
+
placement,
|
|
213
|
+
className,
|
|
161
214
|
content,
|
|
162
215
|
children
|
|
163
|
-
}: Props$
|
|
216
|
+
}: Props$18) => react_jsx_runtime72.JSX.Element;
|
|
164
217
|
//#endregion
|
|
165
218
|
//#region src/components/atoms/Progress/index.d.ts
|
|
166
|
-
interface Props$
|
|
219
|
+
interface Props$17 extends React.ComponentPropsWithoutRef<'div'> {
|
|
167
220
|
value: number;
|
|
168
221
|
direction?: 'horizontal' | 'vertical';
|
|
169
222
|
classNames?: {
|
|
@@ -176,10 +229,41 @@ declare const Progress: ({
|
|
|
176
229
|
className,
|
|
177
230
|
direction,
|
|
178
231
|
classNames
|
|
179
|
-
}: Props$
|
|
232
|
+
}: Props$17) => react_jsx_runtime72.JSX.Element;
|
|
233
|
+
//#endregion
|
|
234
|
+
//#region src/components/atoms/Radio/index.d.ts
|
|
235
|
+
declare const Core$1: typeof RadioGroup$1;
|
|
236
|
+
interface Props$16 extends React.ComponentPropsWithoutRef<typeof Core$1> {}
|
|
237
|
+
declare const Radio: ({
|
|
238
|
+
children
|
|
239
|
+
}: Props$16) => react_jsx_runtime72.JSX.Element;
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/components/atoms/Select/index.d.ts
|
|
242
|
+
declare const Core: typeof Select$2;
|
|
243
|
+
interface Option {
|
|
244
|
+
label: React$1.ReactNode;
|
|
245
|
+
value: string;
|
|
246
|
+
}
|
|
247
|
+
interface OptionGroup {
|
|
248
|
+
label: React$1.ReactNode;
|
|
249
|
+
options: Option[];
|
|
250
|
+
}
|
|
251
|
+
interface Props$15 extends React$1.ComponentProps<typeof Core> {
|
|
252
|
+
placeholder?: string;
|
|
253
|
+
className?: string;
|
|
254
|
+
options?: (Option | OptionGroup)[];
|
|
255
|
+
onChange?: (value: string) => void;
|
|
256
|
+
}
|
|
257
|
+
declare const Select: ({
|
|
258
|
+
className,
|
|
259
|
+
placeholder,
|
|
260
|
+
options,
|
|
261
|
+
onChange,
|
|
262
|
+
...props
|
|
263
|
+
}: Props$15) => react_jsx_runtime72.JSX.Element;
|
|
180
264
|
//#endregion
|
|
181
265
|
//#region src/components/atoms/Skeleton/index.d.ts
|
|
182
|
-
interface Props$14 extends React.
|
|
266
|
+
interface Props$14 extends React.ComponentPropsWithoutRef<'div'> {
|
|
183
267
|
active?: boolean;
|
|
184
268
|
loading?: boolean;
|
|
185
269
|
avatar?: boolean;
|
|
@@ -211,46 +295,49 @@ declare const Skeleton: {
|
|
|
211
295
|
height,
|
|
212
296
|
children,
|
|
213
297
|
...props
|
|
214
|
-
}: Props$14): string | number | bigint | boolean |
|
|
298
|
+
}: Props$14): string | number | bigint | boolean | react_jsx_runtime72.JSX.Element | 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> | null | undefined;
|
|
215
299
|
Button: ({
|
|
216
300
|
className,
|
|
217
301
|
...props
|
|
218
|
-
}: Props$14) =>
|
|
302
|
+
}: Props$14) => react_jsx_runtime72.JSX.Element;
|
|
219
303
|
Node: ({
|
|
220
304
|
className,
|
|
221
305
|
...props
|
|
222
|
-
}: Props$14) =>
|
|
306
|
+
}: Props$14) => react_jsx_runtime72.JSX.Element;
|
|
223
307
|
};
|
|
224
308
|
//#endregion
|
|
225
309
|
//#region src/components/atoms/Spin/index.d.ts
|
|
226
|
-
interface Props$13 extends React.
|
|
310
|
+
interface Props$13 extends React.ComponentPropsWithoutRef<'div'> {
|
|
227
311
|
spinning?: boolean;
|
|
228
312
|
}
|
|
229
313
|
declare const Spin: ({
|
|
230
314
|
spinning,
|
|
231
315
|
className,
|
|
232
316
|
...props
|
|
233
|
-
}: Props$13) =>
|
|
317
|
+
}: Props$13) => react_jsx_runtime72.JSX.Element | null;
|
|
234
318
|
//#endregion
|
|
235
319
|
//#region src/components/atoms/Switch/index.d.ts
|
|
236
|
-
interface Props$12 extends Omit<React.
|
|
320
|
+
interface Props$12 extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange'> {
|
|
237
321
|
classNames?: {
|
|
238
322
|
track?: string;
|
|
239
323
|
handle?: string;
|
|
240
324
|
};
|
|
325
|
+
defaultChecked?: boolean;
|
|
241
326
|
checked?: boolean;
|
|
242
327
|
disabled?: boolean;
|
|
243
328
|
onChange?: (checked: boolean) => void;
|
|
244
329
|
}
|
|
245
330
|
declare const Switch: ({
|
|
246
|
-
onChange,
|
|
247
331
|
className,
|
|
248
332
|
classNames,
|
|
333
|
+
defaultChecked,
|
|
334
|
+
checked: _checked,
|
|
335
|
+
onChange: _onChange,
|
|
249
336
|
...props
|
|
250
|
-
}: Props$12) =>
|
|
337
|
+
}: Props$12) => react_jsx_runtime72.JSX.Element;
|
|
251
338
|
//#endregion
|
|
252
339
|
//#region src/components/molecules/Card/index.d.ts
|
|
253
|
-
interface Props$11 extends Omit<React.
|
|
340
|
+
interface Props$11 extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
|
|
254
341
|
title?: React.ReactNode;
|
|
255
342
|
variant?: 'outlined' | 'borderless';
|
|
256
343
|
classNames?: {
|
|
@@ -265,7 +352,7 @@ declare const Card: ({
|
|
|
265
352
|
classNames,
|
|
266
353
|
variant,
|
|
267
354
|
...props
|
|
268
|
-
}: Props$11) =>
|
|
355
|
+
}: Props$11) => react_jsx_runtime72.JSX.Element;
|
|
269
356
|
//#endregion
|
|
270
357
|
//#region src/components/molecules/Collapse/index.d.ts
|
|
271
358
|
interface Item {
|
|
@@ -274,7 +361,7 @@ interface Item {
|
|
|
274
361
|
disabled?: boolean;
|
|
275
362
|
children: React$1.ReactNode;
|
|
276
363
|
}
|
|
277
|
-
interface Props$10 extends React$1.
|
|
364
|
+
interface Props$10 extends Omit<React$1.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
278
365
|
items?: Item[];
|
|
279
366
|
accordion?: boolean;
|
|
280
367
|
expandIcon?: React$1.ReactNode;
|
|
@@ -284,19 +371,23 @@ interface Props$10 extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
284
371
|
body?: string;
|
|
285
372
|
};
|
|
286
373
|
defaultActiveKey?: string[] | number[];
|
|
374
|
+
activeKey?: string[] | number[];
|
|
375
|
+
onChange?: (keys: string[]) => void;
|
|
287
376
|
}
|
|
288
377
|
declare const Collapse: ({
|
|
289
378
|
expandIcon,
|
|
290
379
|
accordion,
|
|
291
|
-
items
|
|
380
|
+
items,
|
|
292
381
|
className,
|
|
293
382
|
classNames,
|
|
294
|
-
defaultActiveKey
|
|
295
|
-
|
|
383
|
+
defaultActiveKey,
|
|
384
|
+
activeKey: _activeKey,
|
|
385
|
+
onChange: _onChange
|
|
386
|
+
}: Props$10) => react_jsx_runtime72.JSX.Element;
|
|
296
387
|
//#endregion
|
|
297
388
|
//#region src/components/molecules/Dropdown/index.d.ts
|
|
298
389
|
type ChangeEventHandler = (open: boolean) => void;
|
|
299
|
-
interface Props$9 extends React.
|
|
390
|
+
interface Props$9 extends React.ComponentPropsWithoutRef<'div'> {
|
|
300
391
|
open?: boolean;
|
|
301
392
|
trigger?: string;
|
|
302
393
|
menu?: MenuProps;
|
|
@@ -308,9 +399,9 @@ declare const Dropdown: ({
|
|
|
308
399
|
menu,
|
|
309
400
|
trigger,
|
|
310
401
|
open: _open,
|
|
311
|
-
onOpenChange,
|
|
402
|
+
onOpenChange: _onOpenChange,
|
|
312
403
|
...props
|
|
313
|
-
}: Props$9) =>
|
|
404
|
+
}: Props$9) => react_jsx_runtime72.JSX.Element;
|
|
314
405
|
//#endregion
|
|
315
406
|
//#region src/components/molecules/Marquees/Item/index.d.ts
|
|
316
407
|
interface ItemProps {
|
|
@@ -321,12 +412,12 @@ interface ItemProps {
|
|
|
321
412
|
pauseOnHover?: boolean;
|
|
322
413
|
children?: React.ReactNode;
|
|
323
414
|
}
|
|
324
|
-
interface Props$8 extends React.
|
|
415
|
+
interface Props$8 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'key'>, ItemProps {
|
|
325
416
|
width: string | number;
|
|
326
417
|
}
|
|
327
418
|
//#endregion
|
|
328
419
|
//#region src/components/molecules/Marquees/index.d.ts
|
|
329
|
-
interface Props$7 extends React.
|
|
420
|
+
interface Props$7 extends React.ComponentPropsWithoutRef<'div'> {
|
|
330
421
|
speed?: number;
|
|
331
422
|
autoFill?: boolean | number;
|
|
332
423
|
pauseOnHover?: boolean;
|
|
@@ -340,7 +431,7 @@ declare const Marquees: {
|
|
|
340
431
|
pauseOnHover,
|
|
341
432
|
autoFill,
|
|
342
433
|
...props
|
|
343
|
-
}: Props$7):
|
|
434
|
+
}: Props$7): react_jsx_runtime72.JSX.Element;
|
|
344
435
|
Item: ({
|
|
345
436
|
width: _width,
|
|
346
437
|
speed,
|
|
@@ -348,11 +439,11 @@ declare const Marquees: {
|
|
|
348
439
|
pause: _pause,
|
|
349
440
|
pauseOnHover,
|
|
350
441
|
children
|
|
351
|
-
}: Props$8) =>
|
|
442
|
+
}: Props$8) => react_jsx_runtime72.JSX.Element;
|
|
352
443
|
};
|
|
353
444
|
//#endregion
|
|
354
445
|
//#region src/components/molecules/Space/index.d.ts
|
|
355
|
-
interface Props$6 extends
|
|
446
|
+
interface Props$6 extends React.ComponentPropsWithRef<'div'> {
|
|
356
447
|
loading?: boolean;
|
|
357
448
|
loader?: React.ReactNode;
|
|
358
449
|
orientation?: 'horizontal' | 'vertical';
|
|
@@ -379,7 +470,7 @@ declare const Space: ({
|
|
|
379
470
|
hidden,
|
|
380
471
|
style,
|
|
381
472
|
...props
|
|
382
|
-
}: Props$6) =>
|
|
473
|
+
}: Props$6) => react_jsx_runtime72.JSX.Element;
|
|
383
474
|
//#endregion
|
|
384
475
|
//#region src/components/organisms/Drawer/index.d.ts
|
|
385
476
|
interface Props$5 {
|
|
@@ -429,10 +520,10 @@ declare const Drawer: ({
|
|
|
429
520
|
container,
|
|
430
521
|
onClose,
|
|
431
522
|
...props
|
|
432
|
-
}: Props$5) =>
|
|
523
|
+
}: Props$5) => react_jsx_runtime72.JSX.Element | null;
|
|
433
524
|
//#endregion
|
|
434
525
|
//#region src/components/organisms/List/index.d.ts
|
|
435
|
-
interface Props$4<T> extends Omit<React$1.
|
|
526
|
+
interface Props$4<T> extends Omit<React$1.ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
436
527
|
loading?: boolean;
|
|
437
528
|
loaderProps?: React$1.ComponentProps<typeof Skeleton>;
|
|
438
529
|
loader?: React$1.ReactNode;
|
|
@@ -468,12 +559,12 @@ declare const List: {
|
|
|
468
559
|
classNames,
|
|
469
560
|
renderItem,
|
|
470
561
|
...props
|
|
471
|
-
}: Props$4<T>): string | number | bigint | true |
|
|
562
|
+
}: Props$4<T>): string | number | bigint | true | react_jsx_runtime72.JSX.Element | 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>;
|
|
472
563
|
Item: ({
|
|
473
564
|
children,
|
|
474
565
|
className,
|
|
475
566
|
...props
|
|
476
|
-
}: React$1.
|
|
567
|
+
}: React$1.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
477
568
|
};
|
|
478
569
|
//#endregion
|
|
479
570
|
//#region src/components/organisms/Modal/index.d.ts
|
|
@@ -527,7 +618,7 @@ declare const Modal: {
|
|
|
527
618
|
onOk,
|
|
528
619
|
onCancel,
|
|
529
620
|
...props
|
|
530
|
-
}: Props$3):
|
|
621
|
+
}: Props$3): react_jsx_runtime72.JSX.Element | null;
|
|
531
622
|
destroy(id?: string): void;
|
|
532
623
|
destroyAll(): void;
|
|
533
624
|
info(props: StaticProps): string | undefined;
|
|
@@ -556,48 +647,48 @@ declare const Swiper: {
|
|
|
556
647
|
renderItem,
|
|
557
648
|
loadingClassName,
|
|
558
649
|
...props
|
|
559
|
-
}: Props$2<T>):
|
|
650
|
+
}: Props$2<T>): react_jsx_runtime72.JSX.Element;
|
|
560
651
|
Slide: {
|
|
561
652
|
({
|
|
562
653
|
children,
|
|
563
654
|
className,
|
|
564
655
|
...props
|
|
565
|
-
}: swiper_react0.SwiperSlideProps):
|
|
656
|
+
}: swiper_react0.SwiperSlideProps): react_jsx_runtime72.JSX.Element;
|
|
566
657
|
displayName: string;
|
|
567
658
|
};
|
|
568
659
|
};
|
|
569
660
|
//#endregion
|
|
570
661
|
//#region src/components/templates/Layout/Header/index.d.ts
|
|
571
|
-
interface Props$1 extends React.
|
|
662
|
+
interface Props$1 extends React.ComponentPropsWithoutRef<'div'> {}
|
|
572
663
|
//#endregion
|
|
573
664
|
//#region src/components/templates/Layout/index.d.ts
|
|
574
|
-
interface Props extends React.
|
|
665
|
+
interface Props extends React.ComponentPropsWithoutRef<'div'> {}
|
|
575
666
|
declare const Layout: {
|
|
576
667
|
({
|
|
577
668
|
children,
|
|
578
669
|
className,
|
|
579
670
|
...props
|
|
580
|
-
}: Props):
|
|
671
|
+
}: Props): react_jsx_runtime72.JSX.Element;
|
|
581
672
|
Content: ({
|
|
582
673
|
children,
|
|
583
674
|
className,
|
|
584
675
|
...props
|
|
585
|
-
}: React.
|
|
676
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
586
677
|
Footer: ({
|
|
587
678
|
children,
|
|
588
679
|
className,
|
|
589
680
|
...props
|
|
590
|
-
}: React.
|
|
681
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
591
682
|
Header: ({
|
|
592
683
|
children,
|
|
593
684
|
className,
|
|
594
685
|
...props
|
|
595
|
-
}: Props$1) =>
|
|
686
|
+
}: Props$1) => react_jsx_runtime72.JSX.Element;
|
|
596
687
|
Sider: ({
|
|
597
688
|
children,
|
|
598
689
|
className,
|
|
599
690
|
...props
|
|
600
|
-
}: React.
|
|
691
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
601
692
|
};
|
|
602
693
|
//#endregion
|
|
603
|
-
export { Button, Card, Checkbox, Collapse, Drawer, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Reveals, Skeleton, Space, Spin, Swiper, Switch, Typography };
|
|
694
|
+
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 Button_default, S as Checkbox_default, _ as Skeleton_default, a as Drawer_default, b as
|
|
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-BUNbQOql.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";
|
|
5
5
|
|
|
6
|
-
export { Button_default as Button, Card_default as Card, Checkbox_default as Checkbox, Collapse_default as Collapse, 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, Reveals_default as Reveals, Skeleton_default as Skeleton, Space_default as Space, Spin_default as Spin, Swiper_default as Swiper, Switch_default as Switch, Typography_default as Typography };
|
|
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 };
|