@jbpark/ui-kit 2.1.0 → 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 +3 -3
- package/dist/Reveals.d.mts +1 -1
- package/dist/Reveals.mjs +1 -1
- package/dist/{Typography-DJSakhLz.mjs → Typography-GMk9208W.mjs} +6 -7
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/enums.mjs +10 -1
- package/dist/{index-CbElazGe.d.mts → index-BpmFT8LS.d.mts} +1 -1
- package/dist/{index-DX9rV4ki.d.mts → index-CKq4NOxI.d.mts} +18 -26
- package/dist/{index-DS-PGSIg.d.mts → index-CXT7Z-4F.d.mts} +5 -5
- package/dist/index.d.mts +155 -76
- package/dist/index.mjs +4 -4
- package/dist/output.css +733 -185
- package/dist/{src-Da3Y-f7V.mjs → src-BUNbQOql.mjs} +787 -317
- package/dist/{src-DbBw9pxl.css → src-Bb7sskwT.css} +66 -64
- package/package.json +4 -2
- package/dist/enums-HFC1lmIX.mjs +0 -12
- /package/dist/{Reveals-BMHeo2nr.mjs → Reveals-mkV9B8lj.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
6
|
import "@radix-ui/react-accordion";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
8
8
|
import { VariantProps } from "class-variance-authority";
|
|
9
9
|
import "@radix-ui/react-checkbox";
|
|
10
10
|
import "@radix-ui/react-dialog";
|
|
@@ -12,6 +12,7 @@ import { Drawer as Drawer$1 } from "vaul";
|
|
|
12
12
|
import "@radix-ui/react-label";
|
|
13
13
|
import "@radix-ui/react-popover";
|
|
14
14
|
import "@radix-ui/react-progress";
|
|
15
|
+
import { RadioGroup, Select as Select$1 } from "radix-ui";
|
|
15
16
|
import "@radix-ui/react-switch";
|
|
16
17
|
import * as swiper_react0 from "swiper/react";
|
|
17
18
|
import { SwiperProps } from "swiper/react";
|
|
@@ -25,17 +26,28 @@ import { SwiperOptions } from "swiper/types";
|
|
|
25
26
|
|
|
26
27
|
//#region src/core/button.d.ts
|
|
27
28
|
declare const buttonVariants: (props?: ({
|
|
28
|
-
variant?: "
|
|
29
|
-
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;
|
|
30
31
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
31
|
-
type Props$
|
|
32
|
+
type Props$26 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
32
33
|
asChild?: boolean;
|
|
33
34
|
};
|
|
34
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
|
|
35
47
|
//#region src/components/atoms/Button/index.d.ts
|
|
36
|
-
type ButtonProps = Props$
|
|
48
|
+
type ButtonProps = Props$26;
|
|
37
49
|
type PresetColors = 'blue' | 'purple' | 'cyan' | 'green' | 'magenta' | 'pink' | 'red' | 'orange' | 'yellow' | 'volcano' | 'geekblue' | 'lime' | 'gold';
|
|
38
|
-
interface Props$
|
|
50
|
+
interface Props$25 extends Omit<ButtonProps, 'size' | 'variant'> {
|
|
39
51
|
icon?: React.ReactNode;
|
|
40
52
|
block?: boolean;
|
|
41
53
|
danger?: boolean;
|
|
@@ -60,27 +72,29 @@ declare const Button: ({
|
|
|
60
72
|
children,
|
|
61
73
|
onMouseDown,
|
|
62
74
|
...props
|
|
63
|
-
}: Props$
|
|
75
|
+
}: Props$25) => react_jsx_runtime72.JSX.Element;
|
|
64
76
|
//#endregion
|
|
65
77
|
//#region src/components/atoms/Checkbox/Group/index.d.ts
|
|
66
|
-
type Option = {
|
|
78
|
+
type Option$1 = {
|
|
67
79
|
label: string;
|
|
68
80
|
value: OptionValue;
|
|
69
|
-
checked?: boolean;
|
|
70
81
|
};
|
|
71
|
-
type Options = string[] | number[] | boolean[] | Option[];
|
|
72
|
-
interface Props$
|
|
82
|
+
type Options = string[] | number[] | boolean[] | Option$1[];
|
|
83
|
+
interface Props$24 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue' | 'value'> {
|
|
73
84
|
options?: Options;
|
|
74
|
-
direction?:
|
|
75
|
-
placement?:
|
|
85
|
+
direction?: 'vertical' | 'horizontal';
|
|
86
|
+
placement?: 'left' | 'right';
|
|
76
87
|
classNames?: Record<string, string>;
|
|
88
|
+
defaultValue?: OptionValue[];
|
|
89
|
+
value?: OptionValue[];
|
|
77
90
|
onChange?: (values: OptionValue[]) => void;
|
|
78
91
|
}
|
|
79
92
|
//#endregion
|
|
80
93
|
//#region src/components/atoms/Checkbox/index.d.ts
|
|
81
94
|
type OptionValue = string | number | boolean;
|
|
82
|
-
interface Props$
|
|
95
|
+
interface Props$23 extends Omit<React.ComponentPropsWithRef<'div'>, 'onChange'> {
|
|
83
96
|
placement?: string;
|
|
97
|
+
defaultChecked?: boolean;
|
|
84
98
|
checked?: boolean;
|
|
85
99
|
value?: OptionValue;
|
|
86
100
|
icons?: {
|
|
@@ -97,71 +111,98 @@ declare const Checkbox: {
|
|
|
97
111
|
children,
|
|
98
112
|
className,
|
|
99
113
|
icons,
|
|
114
|
+
defaultChecked,
|
|
100
115
|
checked: _checked,
|
|
101
116
|
onChange: _onChange,
|
|
102
117
|
...props
|
|
103
|
-
}: Props$
|
|
118
|
+
}: Props$23): react_jsx_runtime72.JSX.Element;
|
|
104
119
|
Group: ({
|
|
105
120
|
direction,
|
|
106
121
|
placement,
|
|
107
122
|
className,
|
|
108
123
|
classNames,
|
|
109
124
|
options: _options,
|
|
110
|
-
|
|
111
|
-
|
|
125
|
+
defaultValue,
|
|
126
|
+
value: _value,
|
|
127
|
+
onChange: _onChange
|
|
128
|
+
}: Props$24) => react_jsx_runtime72.JSX.Element;
|
|
112
129
|
};
|
|
113
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
|
|
114
145
|
//#region src/components/atoms/FloatButton/BackTop/index.d.ts
|
|
115
|
-
interface Props$
|
|
146
|
+
interface Props$21 extends Props$25 {
|
|
116
147
|
visibilityHeight?: number;
|
|
117
148
|
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
118
149
|
}
|
|
119
150
|
//#endregion
|
|
120
151
|
//#region src/components/atoms/FloatButton/index.d.ts
|
|
121
|
-
interface Props$
|
|
152
|
+
interface Props$20 extends Props$25 {}
|
|
122
153
|
declare const FloatButton: {
|
|
123
154
|
({
|
|
124
155
|
className,
|
|
125
156
|
children,
|
|
126
157
|
...props
|
|
127
|
-
}: Props$
|
|
158
|
+
}: Props$20): react_jsx_runtime72.JSX.Element;
|
|
128
159
|
BackTop: ({
|
|
129
160
|
visibilityHeight,
|
|
130
161
|
className,
|
|
131
162
|
onClick,
|
|
132
163
|
...props
|
|
133
|
-
}: Props$
|
|
164
|
+
}: Props$21) => react_jsx_runtime72.JSX.Element;
|
|
134
165
|
};
|
|
135
166
|
//#endregion
|
|
136
167
|
//#region src/components/atoms/Input/Search/index.d.ts
|
|
137
|
-
interface Props$
|
|
168
|
+
interface Props$19 extends React.ComponentPropsWithRef<'input'> {
|
|
138
169
|
allowClear?: boolean;
|
|
139
|
-
onChange
|
|
170
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement> | {
|
|
140
171
|
target: {
|
|
141
172
|
value: string;
|
|
142
173
|
};
|
|
143
174
|
}) => void;
|
|
144
|
-
|
|
175
|
+
onSearch?: (value: string) => void;
|
|
145
176
|
}
|
|
146
177
|
//#endregion
|
|
147
178
|
//#region src/components/atoms/Input/index.d.ts
|
|
148
179
|
declare const Input: {
|
|
149
180
|
({
|
|
150
181
|
...props
|
|
151
|
-
}:
|
|
152
|
-
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
|
+
};
|
|
153
196
|
TextArea: ({
|
|
154
197
|
className,
|
|
155
198
|
ref,
|
|
156
199
|
...props
|
|
157
|
-
}: React.
|
|
158
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
159
|
-
}) => react_jsx_runtime13.JSX.Element;
|
|
200
|
+
}: React.ComponentPropsWithRef<"textarea">) => react_jsx_runtime72.JSX.Element;
|
|
160
201
|
};
|
|
161
202
|
//#endregion
|
|
162
203
|
//#region src/components/atoms/Popover/index.d.ts
|
|
163
204
|
type Placement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
164
|
-
interface Props$
|
|
205
|
+
interface Props$18 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'title' | 'content'> {
|
|
165
206
|
title?: React.ReactNode;
|
|
166
207
|
placement?: Placement;
|
|
167
208
|
content: React.ReactNode;
|
|
@@ -172,10 +213,10 @@ declare const Popover: ({
|
|
|
172
213
|
className,
|
|
173
214
|
content,
|
|
174
215
|
children
|
|
175
|
-
}: Props$
|
|
216
|
+
}: Props$18) => react_jsx_runtime72.JSX.Element;
|
|
176
217
|
//#endregion
|
|
177
218
|
//#region src/components/atoms/Progress/index.d.ts
|
|
178
|
-
interface Props$
|
|
219
|
+
interface Props$17 extends React.ComponentPropsWithoutRef<'div'> {
|
|
179
220
|
value: number;
|
|
180
221
|
direction?: 'horizontal' | 'vertical';
|
|
181
222
|
classNames?: {
|
|
@@ -188,10 +229,41 @@ declare const Progress: ({
|
|
|
188
229
|
className,
|
|
189
230
|
direction,
|
|
190
231
|
classNames
|
|
191
|
-
}: 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;
|
|
192
264
|
//#endregion
|
|
193
265
|
//#region src/components/atoms/Skeleton/index.d.ts
|
|
194
|
-
interface Props$14 extends React.
|
|
266
|
+
interface Props$14 extends React.ComponentPropsWithoutRef<'div'> {
|
|
195
267
|
active?: boolean;
|
|
196
268
|
loading?: boolean;
|
|
197
269
|
avatar?: boolean;
|
|
@@ -223,46 +295,49 @@ declare const Skeleton: {
|
|
|
223
295
|
height,
|
|
224
296
|
children,
|
|
225
297
|
...props
|
|
226
|
-
}: 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;
|
|
227
299
|
Button: ({
|
|
228
300
|
className,
|
|
229
301
|
...props
|
|
230
|
-
}: Props$14) =>
|
|
302
|
+
}: Props$14) => react_jsx_runtime72.JSX.Element;
|
|
231
303
|
Node: ({
|
|
232
304
|
className,
|
|
233
305
|
...props
|
|
234
|
-
}: Props$14) =>
|
|
306
|
+
}: Props$14) => react_jsx_runtime72.JSX.Element;
|
|
235
307
|
};
|
|
236
308
|
//#endregion
|
|
237
309
|
//#region src/components/atoms/Spin/index.d.ts
|
|
238
|
-
interface Props$13 extends React.
|
|
310
|
+
interface Props$13 extends React.ComponentPropsWithoutRef<'div'> {
|
|
239
311
|
spinning?: boolean;
|
|
240
312
|
}
|
|
241
313
|
declare const Spin: ({
|
|
242
314
|
spinning,
|
|
243
315
|
className,
|
|
244
316
|
...props
|
|
245
|
-
}: Props$13) =>
|
|
317
|
+
}: Props$13) => react_jsx_runtime72.JSX.Element | null;
|
|
246
318
|
//#endregion
|
|
247
319
|
//#region src/components/atoms/Switch/index.d.ts
|
|
248
|
-
interface Props$12 extends Omit<React.
|
|
320
|
+
interface Props$12 extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange'> {
|
|
249
321
|
classNames?: {
|
|
250
322
|
track?: string;
|
|
251
323
|
handle?: string;
|
|
252
324
|
};
|
|
325
|
+
defaultChecked?: boolean;
|
|
253
326
|
checked?: boolean;
|
|
254
327
|
disabled?: boolean;
|
|
255
328
|
onChange?: (checked: boolean) => void;
|
|
256
329
|
}
|
|
257
330
|
declare const Switch: ({
|
|
258
|
-
onChange,
|
|
259
331
|
className,
|
|
260
332
|
classNames,
|
|
333
|
+
defaultChecked,
|
|
334
|
+
checked: _checked,
|
|
335
|
+
onChange: _onChange,
|
|
261
336
|
...props
|
|
262
|
-
}: Props$12) =>
|
|
337
|
+
}: Props$12) => react_jsx_runtime72.JSX.Element;
|
|
263
338
|
//#endregion
|
|
264
339
|
//#region src/components/molecules/Card/index.d.ts
|
|
265
|
-
interface Props$11 extends Omit<React.
|
|
340
|
+
interface Props$11 extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
|
|
266
341
|
title?: React.ReactNode;
|
|
267
342
|
variant?: 'outlined' | 'borderless';
|
|
268
343
|
classNames?: {
|
|
@@ -277,7 +352,7 @@ declare const Card: ({
|
|
|
277
352
|
classNames,
|
|
278
353
|
variant,
|
|
279
354
|
...props
|
|
280
|
-
}: Props$11) =>
|
|
355
|
+
}: Props$11) => react_jsx_runtime72.JSX.Element;
|
|
281
356
|
//#endregion
|
|
282
357
|
//#region src/components/molecules/Collapse/index.d.ts
|
|
283
358
|
interface Item {
|
|
@@ -286,7 +361,7 @@ interface Item {
|
|
|
286
361
|
disabled?: boolean;
|
|
287
362
|
children: React$1.ReactNode;
|
|
288
363
|
}
|
|
289
|
-
interface Props$10 extends React$1.
|
|
364
|
+
interface Props$10 extends Omit<React$1.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
290
365
|
items?: Item[];
|
|
291
366
|
accordion?: boolean;
|
|
292
367
|
expandIcon?: React$1.ReactNode;
|
|
@@ -296,19 +371,23 @@ interface Props$10 extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
296
371
|
body?: string;
|
|
297
372
|
};
|
|
298
373
|
defaultActiveKey?: string[] | number[];
|
|
374
|
+
activeKey?: string[] | number[];
|
|
375
|
+
onChange?: (keys: string[]) => void;
|
|
299
376
|
}
|
|
300
377
|
declare const Collapse: ({
|
|
301
378
|
expandIcon,
|
|
302
379
|
accordion,
|
|
303
|
-
items
|
|
380
|
+
items,
|
|
304
381
|
className,
|
|
305
382
|
classNames,
|
|
306
|
-
defaultActiveKey
|
|
307
|
-
|
|
383
|
+
defaultActiveKey,
|
|
384
|
+
activeKey: _activeKey,
|
|
385
|
+
onChange: _onChange
|
|
386
|
+
}: Props$10) => react_jsx_runtime72.JSX.Element;
|
|
308
387
|
//#endregion
|
|
309
388
|
//#region src/components/molecules/Dropdown/index.d.ts
|
|
310
389
|
type ChangeEventHandler = (open: boolean) => void;
|
|
311
|
-
interface Props$9 extends React.
|
|
390
|
+
interface Props$9 extends React.ComponentPropsWithoutRef<'div'> {
|
|
312
391
|
open?: boolean;
|
|
313
392
|
trigger?: string;
|
|
314
393
|
menu?: MenuProps;
|
|
@@ -320,9 +399,9 @@ declare const Dropdown: ({
|
|
|
320
399
|
menu,
|
|
321
400
|
trigger,
|
|
322
401
|
open: _open,
|
|
323
|
-
onOpenChange,
|
|
402
|
+
onOpenChange: _onOpenChange,
|
|
324
403
|
...props
|
|
325
|
-
}: Props$9) =>
|
|
404
|
+
}: Props$9) => react_jsx_runtime72.JSX.Element;
|
|
326
405
|
//#endregion
|
|
327
406
|
//#region src/components/molecules/Marquees/Item/index.d.ts
|
|
328
407
|
interface ItemProps {
|
|
@@ -333,12 +412,12 @@ interface ItemProps {
|
|
|
333
412
|
pauseOnHover?: boolean;
|
|
334
413
|
children?: React.ReactNode;
|
|
335
414
|
}
|
|
336
|
-
interface Props$8 extends React.
|
|
415
|
+
interface Props$8 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'key'>, ItemProps {
|
|
337
416
|
width: string | number;
|
|
338
417
|
}
|
|
339
418
|
//#endregion
|
|
340
419
|
//#region src/components/molecules/Marquees/index.d.ts
|
|
341
|
-
interface Props$7 extends React.
|
|
420
|
+
interface Props$7 extends React.ComponentPropsWithoutRef<'div'> {
|
|
342
421
|
speed?: number;
|
|
343
422
|
autoFill?: boolean | number;
|
|
344
423
|
pauseOnHover?: boolean;
|
|
@@ -352,7 +431,7 @@ declare const Marquees: {
|
|
|
352
431
|
pauseOnHover,
|
|
353
432
|
autoFill,
|
|
354
433
|
...props
|
|
355
|
-
}: Props$7):
|
|
434
|
+
}: Props$7): react_jsx_runtime72.JSX.Element;
|
|
356
435
|
Item: ({
|
|
357
436
|
width: _width,
|
|
358
437
|
speed,
|
|
@@ -360,11 +439,11 @@ declare const Marquees: {
|
|
|
360
439
|
pause: _pause,
|
|
361
440
|
pauseOnHover,
|
|
362
441
|
children
|
|
363
|
-
}: Props$8) =>
|
|
442
|
+
}: Props$8) => react_jsx_runtime72.JSX.Element;
|
|
364
443
|
};
|
|
365
444
|
//#endregion
|
|
366
445
|
//#region src/components/molecules/Space/index.d.ts
|
|
367
|
-
interface Props$6 extends
|
|
446
|
+
interface Props$6 extends React.ComponentPropsWithRef<'div'> {
|
|
368
447
|
loading?: boolean;
|
|
369
448
|
loader?: React.ReactNode;
|
|
370
449
|
orientation?: 'horizontal' | 'vertical';
|
|
@@ -391,7 +470,7 @@ declare const Space: ({
|
|
|
391
470
|
hidden,
|
|
392
471
|
style,
|
|
393
472
|
...props
|
|
394
|
-
}: Props$6) =>
|
|
473
|
+
}: Props$6) => react_jsx_runtime72.JSX.Element;
|
|
395
474
|
//#endregion
|
|
396
475
|
//#region src/components/organisms/Drawer/index.d.ts
|
|
397
476
|
interface Props$5 {
|
|
@@ -441,10 +520,10 @@ declare const Drawer: ({
|
|
|
441
520
|
container,
|
|
442
521
|
onClose,
|
|
443
522
|
...props
|
|
444
|
-
}: Props$5) =>
|
|
523
|
+
}: Props$5) => react_jsx_runtime72.JSX.Element | null;
|
|
445
524
|
//#endregion
|
|
446
525
|
//#region src/components/organisms/List/index.d.ts
|
|
447
|
-
interface Props$4<T> extends Omit<React$1.
|
|
526
|
+
interface Props$4<T> extends Omit<React$1.ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
448
527
|
loading?: boolean;
|
|
449
528
|
loaderProps?: React$1.ComponentProps<typeof Skeleton>;
|
|
450
529
|
loader?: React$1.ReactNode;
|
|
@@ -480,12 +559,12 @@ declare const List: {
|
|
|
480
559
|
classNames,
|
|
481
560
|
renderItem,
|
|
482
561
|
...props
|
|
483
|
-
}: 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>;
|
|
484
563
|
Item: ({
|
|
485
564
|
children,
|
|
486
565
|
className,
|
|
487
566
|
...props
|
|
488
|
-
}: React$1.
|
|
567
|
+
}: React$1.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
489
568
|
};
|
|
490
569
|
//#endregion
|
|
491
570
|
//#region src/components/organisms/Modal/index.d.ts
|
|
@@ -539,7 +618,7 @@ declare const Modal: {
|
|
|
539
618
|
onOk,
|
|
540
619
|
onCancel,
|
|
541
620
|
...props
|
|
542
|
-
}: Props$3):
|
|
621
|
+
}: Props$3): react_jsx_runtime72.JSX.Element | null;
|
|
543
622
|
destroy(id?: string): void;
|
|
544
623
|
destroyAll(): void;
|
|
545
624
|
info(props: StaticProps): string | undefined;
|
|
@@ -568,48 +647,48 @@ declare const Swiper: {
|
|
|
568
647
|
renderItem,
|
|
569
648
|
loadingClassName,
|
|
570
649
|
...props
|
|
571
|
-
}: Props$2<T>):
|
|
650
|
+
}: Props$2<T>): react_jsx_runtime72.JSX.Element;
|
|
572
651
|
Slide: {
|
|
573
652
|
({
|
|
574
653
|
children,
|
|
575
654
|
className,
|
|
576
655
|
...props
|
|
577
|
-
}: swiper_react0.SwiperSlideProps):
|
|
656
|
+
}: swiper_react0.SwiperSlideProps): react_jsx_runtime72.JSX.Element;
|
|
578
657
|
displayName: string;
|
|
579
658
|
};
|
|
580
659
|
};
|
|
581
660
|
//#endregion
|
|
582
661
|
//#region src/components/templates/Layout/Header/index.d.ts
|
|
583
|
-
interface Props$1 extends React.
|
|
662
|
+
interface Props$1 extends React.ComponentPropsWithoutRef<'div'> {}
|
|
584
663
|
//#endregion
|
|
585
664
|
//#region src/components/templates/Layout/index.d.ts
|
|
586
|
-
interface Props extends React.
|
|
665
|
+
interface Props extends React.ComponentPropsWithoutRef<'div'> {}
|
|
587
666
|
declare const Layout: {
|
|
588
667
|
({
|
|
589
668
|
children,
|
|
590
669
|
className,
|
|
591
670
|
...props
|
|
592
|
-
}: Props):
|
|
671
|
+
}: Props): react_jsx_runtime72.JSX.Element;
|
|
593
672
|
Content: ({
|
|
594
673
|
children,
|
|
595
674
|
className,
|
|
596
675
|
...props
|
|
597
|
-
}: React.
|
|
676
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
598
677
|
Footer: ({
|
|
599
678
|
children,
|
|
600
679
|
className,
|
|
601
680
|
...props
|
|
602
|
-
}: React.
|
|
681
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
603
682
|
Header: ({
|
|
604
683
|
children,
|
|
605
684
|
className,
|
|
606
685
|
...props
|
|
607
|
-
}: Props$1) =>
|
|
686
|
+
}: Props$1) => react_jsx_runtime72.JSX.Element;
|
|
608
687
|
Sider: ({
|
|
609
688
|
children,
|
|
610
689
|
className,
|
|
611
690
|
...props
|
|
612
|
-
}: React.
|
|
691
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime72.JSX.Element;
|
|
613
692
|
};
|
|
614
693
|
//#endregion
|
|
615
|
-
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
|
|
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
2
|
import "./utils-CssUrKWE.mjs";
|
|
3
|
-
import { t as Typography_default } from "./Typography-
|
|
4
|
-
import { i as Reveals_default } from "./Reveals-
|
|
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 };
|