@jbpark/ui-kit 2.2.2 → 2.3.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 +1 -1
- package/dist/Reveals.d.mts +1 -1
- package/dist/Typography.d.mts +1 -1
- package/dist/{index-BQHdyc27.d.mts → index-CKq4NOxI.d.mts} +10 -10
- package/dist/{index-BbwB0IAD.d.mts → index-CXT7Z-4F.d.mts} +4 -4
- package/dist/{index-D2igfkiF.d.mts → index-DrfCF4Ya.d.mts} +2 -2
- package/dist/index.d.mts +120 -70
- package/dist/index.mjs +1 -1
- package/dist/output.css +256 -0
- package/dist/{src-DZ7IYc6G.mjs → src-MBsIpDyP.mjs} +276 -41
- package/package.json +1 -1
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-DrfCF4Ya.mjs";
|
|
2
2
|
export { ClickEventHandler, MENU_CLASSNAMES, MenuItem, MenuProps, Props, SelectionMap, buildSelectionMap, Menu as default, findKey };
|
package/dist/Menu.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { d as buildSelectionMap, f as findKey, l as MENU_CLASSNAMES, u as Menu_default } from "./src-
|
|
3
|
+
import { d as buildSelectionMap, f as findKey, l as MENU_CLASSNAMES, u as Menu_default } from "./src-MBsIpDyP.mjs";
|
|
4
4
|
import "./utils-CssUrKWE.mjs";
|
|
5
5
|
import "./Typography-GMk9208W.mjs";
|
|
6
6
|
import "./Reveals-mkV9B8lj.mjs";
|
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-CXT7Z-4F.mjs";
|
|
2
2
|
export { CASCADE, DELAY, DURATION, Item, ItemProps, Props as RevealsProps, Reveals 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-CKq4NOxI.mjs";
|
|
2
2
|
export { Link, Paragraph, Props, Text, Title, Typography as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/atoms/Typography/Link/index.d.ts
|
|
4
4
|
interface Props$4 extends React.ComponentPropsWithoutRef<'a'> {}
|
|
@@ -6,7 +6,7 @@ declare const Link: ({
|
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: Props$4) =>
|
|
9
|
+
}: Props$4) => react_jsx_runtime9.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/components/atoms/Typography/Paragraph/index.d.ts
|
|
12
12
|
interface Props$3 extends React.ComponentPropsWithoutRef<'p'> {}
|
|
@@ -14,7 +14,7 @@ declare const Paragraph: ({
|
|
|
14
14
|
children,
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: Props$3) =>
|
|
17
|
+
}: Props$3) => react_jsx_runtime9.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/components/atoms/Typography/Text/index.d.ts
|
|
20
20
|
interface Props$2 extends React.ComponentPropsWithoutRef<'span'> {
|
|
@@ -27,7 +27,7 @@ declare const Text: ({
|
|
|
27
27
|
strong,
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: Props$2) =>
|
|
30
|
+
}: Props$2) => react_jsx_runtime9.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/components/atoms/Typography/Title/index.d.ts
|
|
33
33
|
interface Props$1 extends React.ComponentPropsWithoutRef<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'> {
|
|
@@ -38,7 +38,7 @@ declare const Title: ({
|
|
|
38
38
|
level,
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: Props$1) =>
|
|
41
|
+
}: Props$1) => react_jsx_runtime9.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/components/atoms/Typography/index.d.ts
|
|
44
44
|
interface Props extends React.ComponentPropsWithoutRef<'article'> {}
|
|
@@ -46,30 +46,30 @@ declare const Typography: {
|
|
|
46
46
|
({
|
|
47
47
|
children,
|
|
48
48
|
...props
|
|
49
|
-
}: Props):
|
|
49
|
+
}: Props): react_jsx_runtime9.JSX.Element;
|
|
50
50
|
Link: ({
|
|
51
51
|
children,
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: Props$4) =>
|
|
54
|
+
}: Props$4) => react_jsx_runtime9.JSX.Element;
|
|
55
55
|
Paragraph: ({
|
|
56
56
|
children,
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: Props$3) =>
|
|
59
|
+
}: Props$3) => react_jsx_runtime9.JSX.Element;
|
|
60
60
|
Text: ({
|
|
61
61
|
children,
|
|
62
62
|
underline,
|
|
63
63
|
strong,
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: Props$2) =>
|
|
66
|
+
}: Props$2) => react_jsx_runtime9.JSX.Element;
|
|
67
67
|
Title: ({
|
|
68
68
|
children,
|
|
69
69
|
level,
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: Props$1) =>
|
|
72
|
+
}: Props$1) => react_jsx_runtime9.JSX.Element;
|
|
73
73
|
};
|
|
74
74
|
//#endregion
|
|
75
75
|
export { Paragraph as a, Text as i, Typography as n, Link as o, Title as r, Props as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
2
2
|
import { MotionProps } from "motion/react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/Reveals/Item/index.d.ts
|
|
@@ -54,7 +54,7 @@ declare const Item: ({
|
|
|
54
54
|
transition,
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: ItemProps) =>
|
|
57
|
+
}: ItemProps) => react_jsx_runtime7.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/components/molecules/Reveals/index.d.ts
|
|
60
60
|
interface Props extends React.ComponentPropsWithoutRef<'div'>, ItemProps {
|
|
@@ -79,7 +79,7 @@ declare const Reveals: {
|
|
|
79
79
|
duration,
|
|
80
80
|
delay,
|
|
81
81
|
...props
|
|
82
|
-
}: Props):
|
|
82
|
+
}: Props): react_jsx_runtime7.JSX.Element;
|
|
83
83
|
Item: ({
|
|
84
84
|
effect,
|
|
85
85
|
children,
|
|
@@ -91,7 +91,7 @@ declare const Reveals: {
|
|
|
91
91
|
transition,
|
|
92
92
|
className,
|
|
93
93
|
...props
|
|
94
|
-
}: ItemProps) =>
|
|
94
|
+
}: ItemProps) => react_jsx_runtime7.JSX.Element;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
97
|
export { Reveals as a, Props as i, DELAY as n, Item as o, DURATION as r, ItemProps as s, CASCADE as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 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_runtime4.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,17 @@
|
|
|
1
|
-
import { n as Typography } from "./index-
|
|
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-DrfCF4Ya.mjs";
|
|
3
|
+
import { a as Reveals } from "./index-CXT7Z-4F.mjs";
|
|
4
4
|
import * as React$2 from "react";
|
|
5
5
|
import React$1, { MouseEvent } from "react";
|
|
6
6
|
import "@radix-ui/react-accordion";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime104 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";
|
|
11
11
|
import { Drawer as Drawer$1 } from "vaul";
|
|
12
|
-
import "
|
|
12
|
+
import { Label, RadioGroup, Select as Select$1, Separator } from "radix-ui";
|
|
13
13
|
import "@radix-ui/react-popover";
|
|
14
14
|
import "@radix-ui/react-progress";
|
|
15
|
-
import { RadioGroup, Select as Select$1 } from "radix-ui";
|
|
16
15
|
import "@radix-ui/react-switch";
|
|
17
16
|
import * as swiper_react0 from "swiper/react";
|
|
18
17
|
import { SwiperProps } from "swiper/react";
|
|
@@ -29,7 +28,7 @@ declare const buttonVariants: (props?: ({
|
|
|
29
28
|
variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
30
29
|
size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
31
30
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
32
|
-
type Props$
|
|
31
|
+
type Props$27 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
33
32
|
asChild?: boolean;
|
|
34
33
|
};
|
|
35
34
|
//#endregion
|
|
@@ -37,22 +36,22 @@ type Props$26 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVar
|
|
|
37
36
|
declare function RadioGroup$1({
|
|
38
37
|
className,
|
|
39
38
|
...props
|
|
40
|
-
}: React$2.ComponentProps<typeof RadioGroup.Root>):
|
|
39
|
+
}: React$2.ComponentProps<typeof RadioGroup.Root>): react_jsx_runtime104.JSX.Element;
|
|
41
40
|
//#endregion
|
|
42
41
|
//#region src/core/select.d.ts
|
|
43
42
|
declare function Select$2({
|
|
44
43
|
...props
|
|
45
|
-
}: React$2.ComponentProps<typeof Select$1.Root>):
|
|
44
|
+
}: React$2.ComponentProps<typeof Select$1.Root>): react_jsx_runtime104.JSX.Element;
|
|
46
45
|
//#endregion
|
|
47
46
|
//#region src/components/atoms/Button/index.d.ts
|
|
48
|
-
type ButtonProps = Props$
|
|
47
|
+
type ButtonProps = Props$27;
|
|
49
48
|
type PresetColors = 'blue' | 'purple' | 'cyan' | 'green' | 'magenta' | 'pink' | 'red' | 'orange' | 'yellow' | 'volcano' | 'geekblue' | 'lime' | 'gold';
|
|
50
|
-
interface Props$
|
|
49
|
+
interface Props$26 extends Omit<ButtonProps, 'size' | 'variant'> {
|
|
51
50
|
icon?: React.ReactNode;
|
|
52
51
|
block?: boolean;
|
|
53
52
|
danger?: boolean;
|
|
54
53
|
disabled?: boolean;
|
|
55
|
-
size?: 'small' | '
|
|
54
|
+
size?: 'small' | 'middle' | 'large';
|
|
56
55
|
variant?: 'solid' | 'outlined' | 'dashed' | 'filled' | 'text' | 'link';
|
|
57
56
|
color?: PresetColors | 'default' | 'primary' | 'danger';
|
|
58
57
|
loading?: boolean | {
|
|
@@ -72,31 +71,32 @@ declare const Button: ({
|
|
|
72
71
|
children,
|
|
73
72
|
onMouseDown,
|
|
74
73
|
...props
|
|
75
|
-
}: Props$
|
|
74
|
+
}: Props$26) => react_jsx_runtime104.JSX.Element;
|
|
76
75
|
//#endregion
|
|
77
76
|
//#region src/components/atoms/Checkbox/Group/index.d.ts
|
|
78
|
-
type Option$
|
|
77
|
+
type Option$2 = {
|
|
79
78
|
label: string;
|
|
80
|
-
value: OptionValue;
|
|
79
|
+
value: OptionValue$1;
|
|
81
80
|
};
|
|
82
|
-
type Options = string[] | number[] | boolean[] | Option$
|
|
83
|
-
interface Props$
|
|
84
|
-
options?: Options;
|
|
85
|
-
|
|
81
|
+
type Options$1 = string[] | number[] | boolean[] | Option$2[];
|
|
82
|
+
interface Props$25 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue' | 'value'> {
|
|
83
|
+
options?: Options$1;
|
|
84
|
+
orientation?: 'vertical' | 'horizontal';
|
|
86
85
|
placement?: 'left' | 'right';
|
|
87
86
|
classNames?: Record<string, string>;
|
|
88
|
-
defaultValue?: OptionValue[];
|
|
89
|
-
value?: OptionValue[];
|
|
90
|
-
onChange?: (values: OptionValue[]) => void;
|
|
87
|
+
defaultValue?: OptionValue$1[];
|
|
88
|
+
value?: OptionValue$1[];
|
|
89
|
+
onChange?: (values: OptionValue$1[]) => void;
|
|
91
90
|
}
|
|
92
91
|
//#endregion
|
|
93
92
|
//#region src/components/atoms/Checkbox/index.d.ts
|
|
94
|
-
type OptionValue = string | number | boolean;
|
|
95
|
-
interface Props$
|
|
96
|
-
placement?:
|
|
93
|
+
type OptionValue$1 = string | number | boolean;
|
|
94
|
+
interface Props$24 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
95
|
+
placement?: 'left' | 'right';
|
|
97
96
|
defaultChecked?: boolean;
|
|
98
97
|
checked?: boolean;
|
|
99
|
-
value?: OptionValue;
|
|
98
|
+
value?: OptionValue$1;
|
|
99
|
+
disabled?: boolean;
|
|
100
100
|
icons?: {
|
|
101
101
|
checked: React.ReactNode;
|
|
102
102
|
unchecked: React.ReactNode;
|
|
@@ -111,13 +111,14 @@ declare const Checkbox: {
|
|
|
111
111
|
children,
|
|
112
112
|
className,
|
|
113
113
|
icons,
|
|
114
|
+
disabled,
|
|
114
115
|
defaultChecked,
|
|
115
116
|
checked: _checked,
|
|
116
117
|
onChange: _onChange,
|
|
117
118
|
...props
|
|
118
|
-
}: Props$
|
|
119
|
+
}: Props$24): react_jsx_runtime104.JSX.Element;
|
|
119
120
|
Group: ({
|
|
120
|
-
|
|
121
|
+
orientation,
|
|
121
122
|
placement,
|
|
122
123
|
className,
|
|
123
124
|
classNames,
|
|
@@ -125,11 +126,11 @@ declare const Checkbox: {
|
|
|
125
126
|
defaultValue,
|
|
126
127
|
value: _value,
|
|
127
128
|
onChange: _onChange
|
|
128
|
-
}: Props$
|
|
129
|
+
}: Props$25) => react_jsx_runtime104.JSX.Element;
|
|
129
130
|
};
|
|
130
131
|
//#endregion
|
|
131
132
|
//#region src/components/atoms/ColorPicker/index.d.ts
|
|
132
|
-
interface Props$
|
|
133
|
+
interface Props$23 {
|
|
133
134
|
defaultValue?: string;
|
|
134
135
|
value?: string;
|
|
135
136
|
showText?: boolean;
|
|
@@ -140,32 +141,32 @@ declare const ColorPicker: ({
|
|
|
140
141
|
value: _value,
|
|
141
142
|
showText,
|
|
142
143
|
onChange: _onChange
|
|
143
|
-
}: Props$
|
|
144
|
+
}: Props$23) => react_jsx_runtime104.JSX.Element;
|
|
144
145
|
//#endregion
|
|
145
146
|
//#region src/components/atoms/FloatButton/BackTop/index.d.ts
|
|
146
|
-
interface Props$
|
|
147
|
+
interface Props$22 extends Props$26 {
|
|
147
148
|
visibilityHeight?: number;
|
|
148
149
|
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
149
150
|
}
|
|
150
151
|
//#endregion
|
|
151
152
|
//#region src/components/atoms/FloatButton/index.d.ts
|
|
152
|
-
interface Props$
|
|
153
|
+
interface Props$21 extends Props$26 {}
|
|
153
154
|
declare const FloatButton: {
|
|
154
155
|
({
|
|
155
156
|
className,
|
|
156
157
|
children,
|
|
157
158
|
...props
|
|
158
|
-
}: Props$
|
|
159
|
+
}: Props$21): react_jsx_runtime104.JSX.Element;
|
|
159
160
|
BackTop: ({
|
|
160
161
|
visibilityHeight,
|
|
161
162
|
className,
|
|
162
163
|
onClick,
|
|
163
164
|
...props
|
|
164
|
-
}: Props$
|
|
165
|
+
}: Props$22) => react_jsx_runtime104.JSX.Element;
|
|
165
166
|
};
|
|
166
167
|
//#endregion
|
|
167
168
|
//#region src/components/atoms/Input/Search/index.d.ts
|
|
168
|
-
interface Props$
|
|
169
|
+
interface Props$20 extends React.ComponentPropsWithRef<'input'> {
|
|
169
170
|
allowClear?: boolean;
|
|
170
171
|
onChange?: (e: React.ChangeEvent<HTMLInputElement> | {
|
|
171
172
|
target: {
|
|
@@ -179,7 +180,7 @@ interface Props$19 extends React.ComponentPropsWithRef<'input'> {
|
|
|
179
180
|
declare const Input: {
|
|
180
181
|
({
|
|
181
182
|
...props
|
|
182
|
-
}: React.ComponentPropsWithoutRef<"input">):
|
|
183
|
+
}: React.ComponentPropsWithoutRef<"input">): react_jsx_runtime104.JSX.Element;
|
|
183
184
|
Search: {
|
|
184
185
|
({
|
|
185
186
|
ref,
|
|
@@ -190,19 +191,19 @@ declare const Input: {
|
|
|
190
191
|
onChange,
|
|
191
192
|
onSearch: _onSearch,
|
|
192
193
|
...props
|
|
193
|
-
}: Props$
|
|
194
|
+
}: Props$20): react_jsx_runtime104.JSX.Element;
|
|
194
195
|
displayName: string;
|
|
195
196
|
};
|
|
196
197
|
TextArea: ({
|
|
197
198
|
className,
|
|
198
199
|
ref,
|
|
199
200
|
...props
|
|
200
|
-
}: React.ComponentPropsWithRef<"textarea">) =>
|
|
201
|
+
}: React.ComponentPropsWithRef<"textarea">) => react_jsx_runtime104.JSX.Element;
|
|
201
202
|
};
|
|
202
203
|
//#endregion
|
|
203
204
|
//#region src/components/atoms/Popover/index.d.ts
|
|
204
205
|
type Placement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
205
|
-
interface Props$
|
|
206
|
+
interface Props$19 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'title' | 'content'> {
|
|
206
207
|
title?: React.ReactNode;
|
|
207
208
|
placement?: Placement;
|
|
208
209
|
content: React.ReactNode;
|
|
@@ -213,10 +214,10 @@ declare const Popover: ({
|
|
|
213
214
|
className,
|
|
214
215
|
content,
|
|
215
216
|
children
|
|
216
|
-
}: Props$
|
|
217
|
+
}: Props$19) => react_jsx_runtime104.JSX.Element;
|
|
217
218
|
//#endregion
|
|
218
219
|
//#region src/components/atoms/Progress/index.d.ts
|
|
219
|
-
interface Props$
|
|
220
|
+
interface Props$18 extends React.ComponentPropsWithoutRef<'div'> {
|
|
220
221
|
value: number;
|
|
221
222
|
direction?: 'horizontal' | 'vertical';
|
|
222
223
|
classNames?: {
|
|
@@ -229,14 +230,63 @@ declare const Progress: ({
|
|
|
229
230
|
className,
|
|
230
231
|
direction,
|
|
231
232
|
classNames
|
|
232
|
-
}: Props$
|
|
233
|
+
}: Props$18) => react_jsx_runtime104.JSX.Element;
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/components/atoms/Radio/Group/index.d.ts
|
|
236
|
+
type Option$1 = {
|
|
237
|
+
label: string;
|
|
238
|
+
value: OptionValue;
|
|
239
|
+
};
|
|
240
|
+
type Options = string[] | number[] | boolean[] | Option$1[];
|
|
241
|
+
interface Props$17 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue' | 'value'> {
|
|
242
|
+
options?: Options;
|
|
243
|
+
orientation?: 'vertical' | 'horizontal';
|
|
244
|
+
placement?: 'left' | 'right';
|
|
245
|
+
classNames?: Record<string, string>;
|
|
246
|
+
defaultValue?: OptionValue;
|
|
247
|
+
value?: OptionValue;
|
|
248
|
+
onChange?: (value: OptionValue) => void;
|
|
249
|
+
}
|
|
233
250
|
//#endregion
|
|
234
251
|
//#region src/components/atoms/Radio/index.d.ts
|
|
235
252
|
declare const Core$1: typeof RadioGroup$1;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
253
|
+
type OptionValue = string | number | boolean;
|
|
254
|
+
interface Props$16 extends Omit<React.ComponentPropsWithoutRef<typeof Core$1>, 'onChange' | 'value'> {
|
|
255
|
+
placement?: 'left' | 'right';
|
|
256
|
+
defaultChecked?: boolean;
|
|
257
|
+
checked?: boolean;
|
|
258
|
+
value?: OptionValue;
|
|
259
|
+
disabled?: boolean;
|
|
260
|
+
icons?: {
|
|
261
|
+
checked: React.ReactNode;
|
|
262
|
+
unchecked: React.ReactNode;
|
|
263
|
+
};
|
|
264
|
+
onChange?: (checked: boolean) => void;
|
|
265
|
+
}
|
|
266
|
+
declare const Radio: {
|
|
267
|
+
({
|
|
268
|
+
placement,
|
|
269
|
+
value,
|
|
270
|
+
children,
|
|
271
|
+
className,
|
|
272
|
+
icons,
|
|
273
|
+
disabled,
|
|
274
|
+
defaultChecked,
|
|
275
|
+
checked: _checked,
|
|
276
|
+
onChange: _onChange,
|
|
277
|
+
...props
|
|
278
|
+
}: Props$16): react_jsx_runtime104.JSX.Element;
|
|
279
|
+
Group: ({
|
|
280
|
+
orientation,
|
|
281
|
+
placement,
|
|
282
|
+
className,
|
|
283
|
+
classNames,
|
|
284
|
+
options: _options,
|
|
285
|
+
defaultValue,
|
|
286
|
+
value: _value,
|
|
287
|
+
onChange: _onChange
|
|
288
|
+
}: Props$17) => react_jsx_runtime104.JSX.Element;
|
|
289
|
+
};
|
|
240
290
|
//#endregion
|
|
241
291
|
//#region src/components/atoms/Select/index.d.ts
|
|
242
292
|
declare const Core: typeof Select$2;
|
|
@@ -260,7 +310,7 @@ declare const Select: ({
|
|
|
260
310
|
options,
|
|
261
311
|
onChange,
|
|
262
312
|
...props
|
|
263
|
-
}: Props$15) =>
|
|
313
|
+
}: Props$15) => react_jsx_runtime104.JSX.Element;
|
|
264
314
|
//#endregion
|
|
265
315
|
//#region src/components/atoms/Skeleton/index.d.ts
|
|
266
316
|
interface Props$14 extends React.ComponentPropsWithoutRef<'div'> {
|
|
@@ -295,15 +345,15 @@ declare const Skeleton: {
|
|
|
295
345
|
height,
|
|
296
346
|
children,
|
|
297
347
|
...props
|
|
298
|
-
}: Props$14): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> |
|
|
348
|
+
}: Props$14): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | react_jsx_runtime104.JSX.Element | null | undefined;
|
|
299
349
|
Button: ({
|
|
300
350
|
className,
|
|
301
351
|
...props
|
|
302
|
-
}: Props$14) =>
|
|
352
|
+
}: Props$14) => react_jsx_runtime104.JSX.Element;
|
|
303
353
|
Node: ({
|
|
304
354
|
className,
|
|
305
355
|
...props
|
|
306
|
-
}: Props$14) =>
|
|
356
|
+
}: Props$14) => react_jsx_runtime104.JSX.Element;
|
|
307
357
|
};
|
|
308
358
|
//#endregion
|
|
309
359
|
//#region src/components/atoms/Spin/index.d.ts
|
|
@@ -314,7 +364,7 @@ declare const Spin: ({
|
|
|
314
364
|
spinning,
|
|
315
365
|
className,
|
|
316
366
|
...props
|
|
317
|
-
}: Props$13) =>
|
|
367
|
+
}: Props$13) => react_jsx_runtime104.JSX.Element | null;
|
|
318
368
|
//#endregion
|
|
319
369
|
//#region src/components/atoms/Switch/index.d.ts
|
|
320
370
|
interface Props$12 extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange'> {
|
|
@@ -334,7 +384,7 @@ declare const Switch: ({
|
|
|
334
384
|
checked: _checked,
|
|
335
385
|
onChange: _onChange,
|
|
336
386
|
...props
|
|
337
|
-
}: Props$12) =>
|
|
387
|
+
}: Props$12) => react_jsx_runtime104.JSX.Element;
|
|
338
388
|
//#endregion
|
|
339
389
|
//#region src/components/molecules/Card/index.d.ts
|
|
340
390
|
interface Props$11 extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
|
|
@@ -352,7 +402,7 @@ declare const Card: ({
|
|
|
352
402
|
classNames,
|
|
353
403
|
variant,
|
|
354
404
|
...props
|
|
355
|
-
}: Props$11) =>
|
|
405
|
+
}: Props$11) => react_jsx_runtime104.JSX.Element;
|
|
356
406
|
//#endregion
|
|
357
407
|
//#region src/components/molecules/Collapse/index.d.ts
|
|
358
408
|
interface Item {
|
|
@@ -383,7 +433,7 @@ declare const Collapse: ({
|
|
|
383
433
|
defaultActiveKey,
|
|
384
434
|
activeKey: _activeKey,
|
|
385
435
|
onChange: _onChange
|
|
386
|
-
}: Props$10) =>
|
|
436
|
+
}: Props$10) => react_jsx_runtime104.JSX.Element;
|
|
387
437
|
//#endregion
|
|
388
438
|
//#region src/components/molecules/Dropdown/index.d.ts
|
|
389
439
|
type ChangeEventHandler = (open: boolean) => void;
|
|
@@ -401,7 +451,7 @@ declare const Dropdown: ({
|
|
|
401
451
|
open: _open,
|
|
402
452
|
onOpenChange: _onOpenChange,
|
|
403
453
|
...props
|
|
404
|
-
}: Props$9) =>
|
|
454
|
+
}: Props$9) => react_jsx_runtime104.JSX.Element;
|
|
405
455
|
//#endregion
|
|
406
456
|
//#region src/components/molecules/Marquees/Item/index.d.ts
|
|
407
457
|
interface ItemProps {
|
|
@@ -431,7 +481,7 @@ declare const Marquees: {
|
|
|
431
481
|
pauseOnHover,
|
|
432
482
|
autoFill,
|
|
433
483
|
...props
|
|
434
|
-
}: Props$7):
|
|
484
|
+
}: Props$7): react_jsx_runtime104.JSX.Element;
|
|
435
485
|
Item: ({
|
|
436
486
|
width: _width,
|
|
437
487
|
speed,
|
|
@@ -439,7 +489,7 @@ declare const Marquees: {
|
|
|
439
489
|
pause: _pause,
|
|
440
490
|
pauseOnHover,
|
|
441
491
|
children
|
|
442
|
-
}: Props$8) =>
|
|
492
|
+
}: Props$8) => react_jsx_runtime104.JSX.Element;
|
|
443
493
|
};
|
|
444
494
|
//#endregion
|
|
445
495
|
//#region src/components/molecules/Space/index.d.ts
|
|
@@ -470,7 +520,7 @@ declare const Space: ({
|
|
|
470
520
|
hidden,
|
|
471
521
|
style,
|
|
472
522
|
...props
|
|
473
|
-
}: Props$6) =>
|
|
523
|
+
}: Props$6) => react_jsx_runtime104.JSX.Element;
|
|
474
524
|
//#endregion
|
|
475
525
|
//#region src/components/organisms/Drawer/index.d.ts
|
|
476
526
|
interface Props$5 {
|
|
@@ -520,7 +570,7 @@ declare const Drawer: ({
|
|
|
520
570
|
container,
|
|
521
571
|
onClose,
|
|
522
572
|
...props
|
|
523
|
-
}: Props$5) =>
|
|
573
|
+
}: Props$5) => react_jsx_runtime104.JSX.Element | null;
|
|
524
574
|
//#endregion
|
|
525
575
|
//#region src/components/organisms/List/index.d.ts
|
|
526
576
|
interface Props$4<T> extends Omit<React$1.ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
@@ -559,12 +609,12 @@ declare const List: {
|
|
|
559
609
|
classNames,
|
|
560
610
|
renderItem,
|
|
561
611
|
...props
|
|
562
|
-
}: 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> |
|
|
612
|
+
}: Props$4<T>): string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime104.JSX.Element;
|
|
563
613
|
Item: ({
|
|
564
614
|
children,
|
|
565
615
|
className,
|
|
566
616
|
...props
|
|
567
|
-
}: React$1.ComponentPropsWithoutRef<"div">) =>
|
|
617
|
+
}: React$1.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
|
|
568
618
|
};
|
|
569
619
|
//#endregion
|
|
570
620
|
//#region src/components/organisms/Modal/index.d.ts
|
|
@@ -618,7 +668,7 @@ declare const Modal: {
|
|
|
618
668
|
onOk,
|
|
619
669
|
onCancel,
|
|
620
670
|
...props
|
|
621
|
-
}: Props$3):
|
|
671
|
+
}: Props$3): react_jsx_runtime104.JSX.Element | null;
|
|
622
672
|
destroy(id?: string): void;
|
|
623
673
|
destroyAll(): void;
|
|
624
674
|
info(props: StaticProps): string | undefined;
|
|
@@ -647,13 +697,13 @@ declare const Swiper: {
|
|
|
647
697
|
renderItem,
|
|
648
698
|
loadingClassName,
|
|
649
699
|
...props
|
|
650
|
-
}: Props$2<T>):
|
|
700
|
+
}: Props$2<T>): react_jsx_runtime104.JSX.Element;
|
|
651
701
|
Slide: {
|
|
652
702
|
({
|
|
653
703
|
children,
|
|
654
704
|
className,
|
|
655
705
|
...props
|
|
656
|
-
}: swiper_react0.SwiperSlideProps):
|
|
706
|
+
}: swiper_react0.SwiperSlideProps): react_jsx_runtime104.JSX.Element;
|
|
657
707
|
displayName: string;
|
|
658
708
|
};
|
|
659
709
|
};
|
|
@@ -668,27 +718,27 @@ declare const Layout: {
|
|
|
668
718
|
children,
|
|
669
719
|
className,
|
|
670
720
|
...props
|
|
671
|
-
}: Props):
|
|
721
|
+
}: Props): react_jsx_runtime104.JSX.Element;
|
|
672
722
|
Content: ({
|
|
673
723
|
children,
|
|
674
724
|
className,
|
|
675
725
|
...props
|
|
676
|
-
}: React.ComponentPropsWithoutRef<"div">) =>
|
|
726
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
|
|
677
727
|
Footer: ({
|
|
678
728
|
children,
|
|
679
729
|
className,
|
|
680
730
|
...props
|
|
681
|
-
}: React.ComponentPropsWithoutRef<"div">) =>
|
|
731
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
|
|
682
732
|
Header: ({
|
|
683
733
|
children,
|
|
684
734
|
className,
|
|
685
735
|
...props
|
|
686
|
-
}: Props$1) =>
|
|
736
|
+
}: Props$1) => react_jsx_runtime104.JSX.Element;
|
|
687
737
|
Sider: ({
|
|
688
738
|
children,
|
|
689
739
|
className,
|
|
690
740
|
...props
|
|
691
|
-
}: React.ComponentPropsWithoutRef<"div">) =>
|
|
741
|
+
}: React.ComponentPropsWithoutRef<"div">) => react_jsx_runtime104.JSX.Element;
|
|
692
742
|
};
|
|
693
743
|
//#endregion
|
|
694
744
|
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,4 +1,4 @@
|
|
|
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-
|
|
1
|
+
import { C as ColorPicker_default, E as Button_default, S as FloatButton_default, T as Checkbox_default, _ as Skeleton_default, a as Drawer_default, b as Progress_default, c as Dropdown_default, g as Spin_default, h as Switch_default, i as List_default, m as Card_default, n as Swiper_default, o as Space_default, p as Collapse_default, r as Modal_default, s as Marquees_default, t as Layout_default, u as Menu_default, v as Select_default, w as Popover_default, x as Input_default, y as Radio_default } from "./src-MBsIpDyP.mjs";
|
|
2
2
|
import "./utils-CssUrKWE.mjs";
|
|
3
3
|
import { t as Typography_default } from "./Typography-GMk9208W.mjs";
|
|
4
4
|
import { i as Reveals_default } from "./Reveals-mkV9B8lj.mjs";
|