boottent-design 0.1.19 → 0.1.21
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/README.md +92 -55
- package/dist/boottent-design.main.cjs.js +1 -1
- package/dist/boottent-design.main.es.js +3 -3
- package/dist/boottent-design.provider.cjs.js +1 -1
- package/dist/boottent-design.provider.es.js +1 -1
- package/dist/boottent-design.ui.cjs.js +1 -1
- package/dist/boottent-design.ui.es.js +2 -2
- package/dist/{index-1bBtoyu3.cjs → index-BpBPcORp.cjs} +1 -1
- package/dist/{index-C_0NdNsn.js → index-CVSrj3SK.js} +1 -1
- package/dist/{portal-provider-Xrx1yc1-.js → portal-provider-D78BDWJL.js} +1 -1
- package/dist/{portal-provider-3WEAD5yg.cjs → portal-provider-DRsIUfKJ.cjs} +1 -1
- package/dist/{tooltip-BLGkb6rr.js → tooltip-BCE_FlIn.js} +933 -966
- package/dist/{tooltip-EUcsJt5u.cjs → tooltip-DBd3XbPP.cjs} +9 -9
- package/dist/types/hooks.d.ts +6 -2
- package/dist/types/main.d.ts +8 -7
- package/dist/types/types.d.ts +6 -2
- package/dist/types/ui.d.ts +8 -7
- package/dist/types/utils.d.ts +6 -2
- package/package.json +3 -1
package/dist/types/hooks.d.ts
CHANGED
|
@@ -18,9 +18,13 @@ declare interface DialogProps {
|
|
|
18
18
|
id?: string;
|
|
19
19
|
title: string;
|
|
20
20
|
content: string | default_2.ReactNode;
|
|
21
|
-
onConfirm?: () => void;
|
|
22
|
-
onCancel?: () => void;
|
|
23
21
|
onClose?: () => void;
|
|
22
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
23
|
+
description?: string;
|
|
24
|
+
className?: string;
|
|
25
|
+
open?: boolean;
|
|
26
|
+
onOpenChange?: (open: boolean) => void;
|
|
27
|
+
footer?: default_2.ReactNode;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
declare interface ModalProps {
|
package/dist/types/main.d.ts
CHANGED
|
@@ -129,21 +129,18 @@ declare function Control({ size, fill, className, }: SvgIconType): JSX_2.Element
|
|
|
129
129
|
declare function CopyLink(): JSX_2.Element;
|
|
130
130
|
|
|
131
131
|
export declare interface CustomDialogProps extends Omit<DialogProps, "onConfirm" | "onCancel" | "content"> {
|
|
132
|
-
onConfirm?: () => void;
|
|
133
|
-
onCancel?: () => void;
|
|
134
|
-
confirmText?: string;
|
|
135
|
-
cancelText?: string;
|
|
136
132
|
size?: "sm" | "md" | "lg" | "fit";
|
|
137
133
|
content?: default_2.ReactNode;
|
|
138
134
|
description?: string;
|
|
139
135
|
className?: string;
|
|
140
136
|
open?: boolean;
|
|
141
137
|
onOpenChange?: (open: boolean) => void;
|
|
138
|
+
footer?: default_2.ReactNode;
|
|
142
139
|
}
|
|
143
140
|
|
|
144
141
|
declare function DefaultProfile({ size }: SvgIconType): JSX_2.Element;
|
|
145
142
|
|
|
146
|
-
export declare const Dialog: default_2.ForwardRefExoticComponent<
|
|
143
|
+
export declare const Dialog: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
147
144
|
|
|
148
145
|
export declare interface DialogPortalOptions {
|
|
149
146
|
id: string;
|
|
@@ -155,9 +152,13 @@ export declare interface DialogProps {
|
|
|
155
152
|
id?: string;
|
|
156
153
|
title: string;
|
|
157
154
|
content: string | default_2.ReactNode;
|
|
158
|
-
onConfirm?: () => void;
|
|
159
|
-
onCancel?: () => void;
|
|
160
155
|
onClose?: () => void;
|
|
156
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
157
|
+
description?: string;
|
|
158
|
+
className?: string;
|
|
159
|
+
open?: boolean;
|
|
160
|
+
onOpenChange?: (open: boolean) => void;
|
|
161
|
+
footer?: default_2.ReactNode;
|
|
161
162
|
}
|
|
162
163
|
|
|
163
164
|
declare function Filter({ fill, size }: SvgIconType): JSX_2.Element;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -30,9 +30,13 @@ export declare interface DialogProps {
|
|
|
30
30
|
id?: string;
|
|
31
31
|
title: string;
|
|
32
32
|
content: string | default_2.ReactNode;
|
|
33
|
-
onConfirm?: () => void;
|
|
34
|
-
onCancel?: () => void;
|
|
35
33
|
onClose?: () => void;
|
|
34
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
35
|
+
description?: string;
|
|
36
|
+
className?: string;
|
|
37
|
+
open?: boolean;
|
|
38
|
+
onOpenChange?: (open: boolean) => void;
|
|
39
|
+
footer?: default_2.ReactNode;
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
export declare interface ModalPortalOptions {
|
package/dist/types/ui.d.ts
CHANGED
|
@@ -79,29 +79,30 @@ declare function Control({ size, fill, className, }: SvgIconType): JSX_2.Element
|
|
|
79
79
|
declare function CopyLink(): JSX_2.Element;
|
|
80
80
|
|
|
81
81
|
export declare interface CustomDialogProps extends Omit<DialogProps, "onConfirm" | "onCancel" | "content"> {
|
|
82
|
-
onConfirm?: () => void;
|
|
83
|
-
onCancel?: () => void;
|
|
84
|
-
confirmText?: string;
|
|
85
|
-
cancelText?: string;
|
|
86
82
|
size?: "sm" | "md" | "lg" | "fit";
|
|
87
83
|
content?: default_2.ReactNode;
|
|
88
84
|
description?: string;
|
|
89
85
|
className?: string;
|
|
90
86
|
open?: boolean;
|
|
91
87
|
onOpenChange?: (open: boolean) => void;
|
|
88
|
+
footer?: default_2.ReactNode;
|
|
92
89
|
}
|
|
93
90
|
|
|
94
91
|
declare function DefaultProfile({ size }: SvgIconType): JSX_2.Element;
|
|
95
92
|
|
|
96
|
-
export declare const Dialog: default_2.ForwardRefExoticComponent<
|
|
93
|
+
export declare const Dialog: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
97
94
|
|
|
98
95
|
declare interface DialogProps {
|
|
99
96
|
id?: string;
|
|
100
97
|
title: string;
|
|
101
98
|
content: string | default_2.ReactNode;
|
|
102
|
-
onConfirm?: () => void;
|
|
103
|
-
onCancel?: () => void;
|
|
104
99
|
onClose?: () => void;
|
|
100
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
101
|
+
description?: string;
|
|
102
|
+
className?: string;
|
|
103
|
+
open?: boolean;
|
|
104
|
+
onOpenChange?: (open: boolean) => void;
|
|
105
|
+
footer?: default_2.ReactNode;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
declare function Filter({ fill, size }: SvgIconType): JSX_2.Element;
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -56,9 +56,13 @@ declare interface DialogProps {
|
|
|
56
56
|
id?: string;
|
|
57
57
|
title: string;
|
|
58
58
|
content: string | default_2.ReactNode;
|
|
59
|
-
onConfirm?: () => void;
|
|
60
|
-
onCancel?: () => void;
|
|
61
59
|
onClose?: () => void;
|
|
60
|
+
size?: "sm" | "md" | "lg" | "fit";
|
|
61
|
+
description?: string;
|
|
62
|
+
className?: string;
|
|
63
|
+
open?: boolean;
|
|
64
|
+
onOpenChange?: (open: boolean) => void;
|
|
65
|
+
footer?: default_2.ReactNode;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
declare type Listener = (options: PortalOptions, isOpen: boolean) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "boottent-design",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.21",
|
|
5
5
|
"description": "부트텐트 디자인시스템 라이브러리",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -76,6 +76,8 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@radix-ui/react-accordion": "^1.2.1",
|
|
78
78
|
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
79
|
+
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
80
|
+
"@radix-ui/react-icons": "^1.3.0",
|
|
79
81
|
"@radix-ui/react-slot": "^1.1.0",
|
|
80
82
|
"@radix-ui/react-toast": "^1.2.2",
|
|
81
83
|
"@radix-ui/react-tooltip": "^1.1.3",
|