@deepnoid/ui 0.1.19 → 0.1.20
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/.turbo/turbo-build.log +199 -170
- package/dist/assets/images/cogwheel.d.mts +2 -0
- package/dist/assets/images/cogwheel.d.ts +2 -0
- package/dist/assets/images/cogwheel.js +4 -0
- package/dist/assets/images/cogwheel.mjs +8 -0
- package/dist/assets/images/folder.d.mts +2 -0
- package/dist/assets/images/folder.d.ts +2 -0
- package/dist/assets/images/folder.js +4 -0
- package/dist/assets/images/folder.mjs +8 -0
- package/dist/chunk-3BKCODIL.mjs +49 -0
- package/dist/{chunk-A7OXEUCC.mjs → chunk-3IU2RPSM.mjs} +75 -9
- package/dist/{chunk-BFM3LPBK.mjs → chunk-6HX3PPL6.mjs} +1 -1
- package/dist/{chunk-RPDPB4JP.mjs → chunk-6KXBXGYR.mjs} +3 -3
- package/dist/chunk-7USF56CT.mjs +8 -0
- package/dist/chunk-BPVRXFIC.mjs +82 -0
- package/dist/{chunk-MJT6ZW4C.mjs → chunk-BXXAMH3R.mjs} +4 -4
- package/dist/{chunk-UHFJ7ZFM.mjs → chunk-EGHTZLZJ.mjs} +2 -2
- package/dist/{chunk-QIDZXCYP.mjs → chunk-EYVRTVRM.mjs} +3 -3
- package/dist/{chunk-DADMVOYI.mjs → chunk-HWL7TPUN.mjs} +1 -1
- package/dist/chunk-IZM66FHP.mjs +8 -0
- package/dist/{chunk-7TXQPX4O.mjs → chunk-JOCMCOEK.mjs} +2 -2
- package/dist/{chunk-3TJAGKKY.mjs → chunk-LNYMVBV5.mjs} +1 -1
- package/dist/chunk-MBLZYQCN.mjs +1 -0
- package/dist/{chunk-P6NVCCBZ.mjs → chunk-OF3X4BXG.mjs} +1 -1
- package/dist/chunk-OUAKGMDW.mjs +168 -0
- package/dist/{chunk-AG7AWQKH.mjs → chunk-OWG4RL2T.mjs} +3 -3
- package/dist/{chunk-7A5M7DRD.mjs → chunk-PNRS23HE.mjs} +4 -4
- package/dist/{chunk-FONJYZKH.mjs → chunk-PZIVMTKX.mjs} +4 -4
- package/dist/{chunk-5ANQDLRS.mjs → chunk-Q72LZAPG.mjs} +1 -1
- package/dist/{chunk-K7Z6PVXE.mjs → chunk-VQROXH43.mjs} +4 -4
- package/dist/{chunk-UYPVP36M.mjs → chunk-XQGD4ZIX.mjs} +1 -1
- package/dist/chunk-YBDA3WQP.mjs +71 -0
- package/dist/chunk-ZUSUVPYV.mjs +135 -0
- package/dist/cogwheel-U2B3CWEL.png +0 -0
- package/dist/components/avatar/avatar.js +75 -9
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +75 -9
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +75 -9
- package/dist/components/breadcrumb/breadcrumb.mjs +7 -7
- package/dist/components/breadcrumb/index.js +75 -9
- package/dist/components/breadcrumb/index.mjs +7 -7
- package/dist/components/button/button.js +75 -9
- package/dist/components/button/button.mjs +4 -4
- package/dist/components/button/icon-button.js +75 -9
- package/dist/components/button/icon-button.mjs +4 -4
- package/dist/components/button/index.js +75 -9
- package/dist/components/button/index.mjs +6 -6
- package/dist/components/chip/chip.js +75 -9
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +75 -9
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/dateTimePicker/calendar.js +75 -9
- package/dist/components/dateTimePicker/calendar.mjs +3 -3
- package/dist/components/dateTimePicker/dateTimePicker.js +75 -9
- package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
- package/dist/components/dateTimePicker/index.js +75 -9
- package/dist/components/dateTimePicker/index.mjs +7 -7
- package/dist/components/dateTimePicker/timePicker.js +75 -9
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/icon/Icon.d.mts +6 -2
- package/dist/components/icon/Icon.d.ts +6 -2
- package/dist/components/icon/Icon.js +75 -9
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +75 -9
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +2 -1
- package/dist/components/icon/template.d.ts +2 -1
- package/dist/components/icon/template.js +75 -9
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +76 -10
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +76 -10
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +75 -9
- package/dist/components/list/index.mjs +6 -6
- package/dist/components/list/listItem.js +75 -9
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.d.mts +0 -3
- package/dist/components/modal/index.d.ts +0 -3
- package/dist/components/modal/index.js +205 -158
- package/dist/components/modal/index.mjs +9 -7
- package/dist/components/modal/modal.d.mts +43 -105
- package/dist/components/modal/modal.d.ts +43 -105
- package/dist/components/modal/modal.js +206 -164
- package/dist/components/modal/modal.mjs +10 -10
- package/dist/components/pagination/index.js +76 -10
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +76 -10
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +75 -9
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.js +75 -9
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.js +75 -9
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/table/form-table.d.mts +52 -0
- package/dist/components/table/form-table.d.ts +52 -0
- package/dist/components/table/form-table.js +365 -0
- package/dist/components/table/form-table.mjs +9 -0
- package/dist/components/table/index.d.mts +2 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/index.js +119 -10
- package/dist/components/table/index.mjs +11 -7
- package/dist/components/table/table.js +76 -10
- package/dist/components/table/table.mjs +6 -6
- package/dist/components/toast/index.js +239 -97
- package/dist/components/toast/index.mjs +5 -4
- package/dist/components/toast/toast.d.mts +40 -81
- package/dist/components/toast/toast.d.ts +40 -81
- package/dist/components/toast/toast.js +210 -56
- package/dist/components/toast/toast.mjs +4 -3
- package/dist/components/toast/use-toast.d.mts +6 -10
- package/dist/components/toast/use-toast.d.ts +6 -10
- package/dist/components/toast/use-toast.js +239 -97
- package/dist/components/toast/use-toast.mjs +5 -4
- package/dist/components/tree/index.d.mts +2 -0
- package/dist/components/tree/index.d.ts +2 -0
- package/dist/components/tree/index.js +4371 -0
- package/dist/components/tree/index.mjs +15 -0
- package/dist/components/tree/tree.d.mts +20 -0
- package/dist/components/tree/tree.d.ts +20 -0
- package/dist/components/tree/tree.js +4365 -0
- package/dist/components/tree/tree.mjs +14 -0
- package/dist/folder-RO3QTLGS.svg +9 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +574 -434
- package/dist/index.mjs +63 -52
- package/package.json +1 -1
- package/types/images.d.ts +14 -0
- package/dist/chunk-5OBP42D6.mjs +0 -117
- package/dist/chunk-HDNQOLUJ.mjs +0 -83
- package/dist/chunk-RXIFDECK.mjs +0 -213
- /package/dist/{chunk-2UUH2MBF.mjs → chunk-DX3KXNP6.mjs} +0 -0
|
@@ -1,141 +1,79 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
5
|
-
import { IconName } from '../icon/Icon.mjs';
|
|
6
|
-
import 'react/jsx-runtime';
|
|
7
|
-
import '../icon/template.mjs';
|
|
8
6
|
|
|
9
|
-
interface
|
|
10
|
-
color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
|
|
11
|
-
classNames?: SlotsToClasses<ModalSlots>;
|
|
7
|
+
interface ModalProps extends VariantProps<typeof modal> {
|
|
12
8
|
isOpen?: boolean;
|
|
13
|
-
|
|
9
|
+
color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
|
|
14
10
|
title?: string;
|
|
15
|
-
subTitle?: string;
|
|
16
11
|
content?: ReactNode | string;
|
|
17
12
|
confirmButtonText?: string;
|
|
18
13
|
cancelButtonText?: string;
|
|
19
14
|
showCloseButton?: boolean;
|
|
20
|
-
isDismissable?: boolean;
|
|
21
15
|
isKeyboardDismissDisabled?: boolean;
|
|
22
16
|
onConfirm?: () => void;
|
|
23
17
|
onCancel?: () => void;
|
|
18
|
+
classNames?: SlotsToClasses<ModalSlots>;
|
|
24
19
|
}
|
|
25
|
-
|
|
26
|
-
declare const Modal: react__default.ForwardRefExoticComponent<Props & ModalVariantProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDivElement>>;
|
|
27
21
|
|
|
28
22
|
declare const modal: tailwind_variants.TVReturnType<{
|
|
29
23
|
color: {
|
|
30
|
-
primary: {
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
icon: string;
|
|
38
|
-
};
|
|
39
|
-
success: {
|
|
40
|
-
icon: string;
|
|
41
|
-
};
|
|
42
|
-
info: {
|
|
43
|
-
icon: string;
|
|
44
|
-
};
|
|
45
|
-
warning: {
|
|
46
|
-
icon: string;
|
|
47
|
-
};
|
|
48
|
-
danger: {
|
|
49
|
-
icon: string;
|
|
50
|
-
};
|
|
24
|
+
primary: {};
|
|
25
|
+
secondary: {};
|
|
26
|
+
neutral: {};
|
|
27
|
+
success: {};
|
|
28
|
+
info: {};
|
|
29
|
+
warning: {};
|
|
30
|
+
danger: {};
|
|
51
31
|
};
|
|
52
32
|
}, {
|
|
53
|
-
|
|
33
|
+
base: string[];
|
|
54
34
|
modalWrapper: string[];
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
titleWrapper: string[];
|
|
58
|
-
title: string;
|
|
59
|
-
subTitle: string;
|
|
60
|
-
bodyWrapper: string[];
|
|
61
|
-
body: string[];
|
|
35
|
+
wrapper: string[];
|
|
36
|
+
title: string[];
|
|
62
37
|
content: string[];
|
|
63
|
-
|
|
38
|
+
footer: string[];
|
|
39
|
+
closeIcon: string[];
|
|
64
40
|
}, undefined, {
|
|
65
41
|
color: {
|
|
66
|
-
primary: {
|
|
67
|
-
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
icon: string;
|
|
74
|
-
};
|
|
75
|
-
success: {
|
|
76
|
-
icon: string;
|
|
77
|
-
};
|
|
78
|
-
info: {
|
|
79
|
-
icon: string;
|
|
80
|
-
};
|
|
81
|
-
warning: {
|
|
82
|
-
icon: string;
|
|
83
|
-
};
|
|
84
|
-
danger: {
|
|
85
|
-
icon: string;
|
|
86
|
-
};
|
|
42
|
+
primary: {};
|
|
43
|
+
secondary: {};
|
|
44
|
+
neutral: {};
|
|
45
|
+
success: {};
|
|
46
|
+
info: {};
|
|
47
|
+
warning: {};
|
|
48
|
+
danger: {};
|
|
87
49
|
};
|
|
88
50
|
}, {
|
|
89
|
-
|
|
51
|
+
base: string[];
|
|
90
52
|
modalWrapper: string[];
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
titleWrapper: string[];
|
|
94
|
-
title: string;
|
|
95
|
-
subTitle: string;
|
|
96
|
-
bodyWrapper: string[];
|
|
97
|
-
body: string[];
|
|
53
|
+
wrapper: string[];
|
|
54
|
+
title: string[];
|
|
98
55
|
content: string[];
|
|
99
|
-
|
|
56
|
+
footer: string[];
|
|
57
|
+
closeIcon: string[];
|
|
100
58
|
}, tailwind_variants.TVReturnType<{
|
|
101
59
|
color: {
|
|
102
|
-
primary: {
|
|
103
|
-
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
icon: string;
|
|
110
|
-
};
|
|
111
|
-
success: {
|
|
112
|
-
icon: string;
|
|
113
|
-
};
|
|
114
|
-
info: {
|
|
115
|
-
icon: string;
|
|
116
|
-
};
|
|
117
|
-
warning: {
|
|
118
|
-
icon: string;
|
|
119
|
-
};
|
|
120
|
-
danger: {
|
|
121
|
-
icon: string;
|
|
122
|
-
};
|
|
60
|
+
primary: {};
|
|
61
|
+
secondary: {};
|
|
62
|
+
neutral: {};
|
|
63
|
+
success: {};
|
|
64
|
+
info: {};
|
|
65
|
+
warning: {};
|
|
66
|
+
danger: {};
|
|
123
67
|
};
|
|
124
68
|
}, {
|
|
125
|
-
|
|
69
|
+
base: string[];
|
|
126
70
|
modalWrapper: string[];
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
titleWrapper: string[];
|
|
130
|
-
title: string;
|
|
131
|
-
subTitle: string;
|
|
132
|
-
bodyWrapper: string[];
|
|
133
|
-
body: string[];
|
|
71
|
+
wrapper: string[];
|
|
72
|
+
title: string[];
|
|
134
73
|
content: string[];
|
|
135
|
-
|
|
74
|
+
footer: string[];
|
|
75
|
+
closeIcon: string[];
|
|
136
76
|
}, undefined, unknown, unknown, undefined>>;
|
|
137
|
-
type ModalVariantProps = VariantProps<typeof modal>;
|
|
138
77
|
type ModalSlots = keyof ReturnType<typeof modal>;
|
|
139
|
-
type ModalReturnType = ReturnType<typeof modal>;
|
|
140
78
|
|
|
141
|
-
export { type ModalProps,
|
|
79
|
+
export { type ModalProps, Modal as default };
|
|
@@ -1,141 +1,79 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
5
|
-
import { IconName } from '../icon/Icon.js';
|
|
6
|
-
import 'react/jsx-runtime';
|
|
7
|
-
import '../icon/template.js';
|
|
8
6
|
|
|
9
|
-
interface
|
|
10
|
-
color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
|
|
11
|
-
classNames?: SlotsToClasses<ModalSlots>;
|
|
7
|
+
interface ModalProps extends VariantProps<typeof modal> {
|
|
12
8
|
isOpen?: boolean;
|
|
13
|
-
|
|
9
|
+
color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
|
|
14
10
|
title?: string;
|
|
15
|
-
subTitle?: string;
|
|
16
11
|
content?: ReactNode | string;
|
|
17
12
|
confirmButtonText?: string;
|
|
18
13
|
cancelButtonText?: string;
|
|
19
14
|
showCloseButton?: boolean;
|
|
20
|
-
isDismissable?: boolean;
|
|
21
15
|
isKeyboardDismissDisabled?: boolean;
|
|
22
16
|
onConfirm?: () => void;
|
|
23
17
|
onCancel?: () => void;
|
|
18
|
+
classNames?: SlotsToClasses<ModalSlots>;
|
|
24
19
|
}
|
|
25
|
-
|
|
26
|
-
declare const Modal: react__default.ForwardRefExoticComponent<Props & ModalVariantProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDivElement>>;
|
|
27
21
|
|
|
28
22
|
declare const modal: tailwind_variants.TVReturnType<{
|
|
29
23
|
color: {
|
|
30
|
-
primary: {
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
icon: string;
|
|
38
|
-
};
|
|
39
|
-
success: {
|
|
40
|
-
icon: string;
|
|
41
|
-
};
|
|
42
|
-
info: {
|
|
43
|
-
icon: string;
|
|
44
|
-
};
|
|
45
|
-
warning: {
|
|
46
|
-
icon: string;
|
|
47
|
-
};
|
|
48
|
-
danger: {
|
|
49
|
-
icon: string;
|
|
50
|
-
};
|
|
24
|
+
primary: {};
|
|
25
|
+
secondary: {};
|
|
26
|
+
neutral: {};
|
|
27
|
+
success: {};
|
|
28
|
+
info: {};
|
|
29
|
+
warning: {};
|
|
30
|
+
danger: {};
|
|
51
31
|
};
|
|
52
32
|
}, {
|
|
53
|
-
|
|
33
|
+
base: string[];
|
|
54
34
|
modalWrapper: string[];
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
titleWrapper: string[];
|
|
58
|
-
title: string;
|
|
59
|
-
subTitle: string;
|
|
60
|
-
bodyWrapper: string[];
|
|
61
|
-
body: string[];
|
|
35
|
+
wrapper: string[];
|
|
36
|
+
title: string[];
|
|
62
37
|
content: string[];
|
|
63
|
-
|
|
38
|
+
footer: string[];
|
|
39
|
+
closeIcon: string[];
|
|
64
40
|
}, undefined, {
|
|
65
41
|
color: {
|
|
66
|
-
primary: {
|
|
67
|
-
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
icon: string;
|
|
74
|
-
};
|
|
75
|
-
success: {
|
|
76
|
-
icon: string;
|
|
77
|
-
};
|
|
78
|
-
info: {
|
|
79
|
-
icon: string;
|
|
80
|
-
};
|
|
81
|
-
warning: {
|
|
82
|
-
icon: string;
|
|
83
|
-
};
|
|
84
|
-
danger: {
|
|
85
|
-
icon: string;
|
|
86
|
-
};
|
|
42
|
+
primary: {};
|
|
43
|
+
secondary: {};
|
|
44
|
+
neutral: {};
|
|
45
|
+
success: {};
|
|
46
|
+
info: {};
|
|
47
|
+
warning: {};
|
|
48
|
+
danger: {};
|
|
87
49
|
};
|
|
88
50
|
}, {
|
|
89
|
-
|
|
51
|
+
base: string[];
|
|
90
52
|
modalWrapper: string[];
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
titleWrapper: string[];
|
|
94
|
-
title: string;
|
|
95
|
-
subTitle: string;
|
|
96
|
-
bodyWrapper: string[];
|
|
97
|
-
body: string[];
|
|
53
|
+
wrapper: string[];
|
|
54
|
+
title: string[];
|
|
98
55
|
content: string[];
|
|
99
|
-
|
|
56
|
+
footer: string[];
|
|
57
|
+
closeIcon: string[];
|
|
100
58
|
}, tailwind_variants.TVReturnType<{
|
|
101
59
|
color: {
|
|
102
|
-
primary: {
|
|
103
|
-
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
icon: string;
|
|
110
|
-
};
|
|
111
|
-
success: {
|
|
112
|
-
icon: string;
|
|
113
|
-
};
|
|
114
|
-
info: {
|
|
115
|
-
icon: string;
|
|
116
|
-
};
|
|
117
|
-
warning: {
|
|
118
|
-
icon: string;
|
|
119
|
-
};
|
|
120
|
-
danger: {
|
|
121
|
-
icon: string;
|
|
122
|
-
};
|
|
60
|
+
primary: {};
|
|
61
|
+
secondary: {};
|
|
62
|
+
neutral: {};
|
|
63
|
+
success: {};
|
|
64
|
+
info: {};
|
|
65
|
+
warning: {};
|
|
66
|
+
danger: {};
|
|
123
67
|
};
|
|
124
68
|
}, {
|
|
125
|
-
|
|
69
|
+
base: string[];
|
|
126
70
|
modalWrapper: string[];
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
titleWrapper: string[];
|
|
130
|
-
title: string;
|
|
131
|
-
subTitle: string;
|
|
132
|
-
bodyWrapper: string[];
|
|
133
|
-
body: string[];
|
|
71
|
+
wrapper: string[];
|
|
72
|
+
title: string[];
|
|
134
73
|
content: string[];
|
|
135
|
-
|
|
74
|
+
footer: string[];
|
|
75
|
+
closeIcon: string[];
|
|
136
76
|
}, undefined, unknown, unknown, undefined>>;
|
|
137
|
-
type ModalVariantProps = VariantProps<typeof modal>;
|
|
138
77
|
type ModalSlots = keyof ReturnType<typeof modal>;
|
|
139
|
-
type ModalReturnType = ReturnType<typeof modal>;
|
|
140
78
|
|
|
141
|
-
export { type ModalProps,
|
|
79
|
+
export { type ModalProps, Modal as default };
|