@deepnoid/ui 0.1.82 → 0.1.85
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 +185 -170
- package/dist/{chunk-UE5Z7QUS.mjs → chunk-5IKVOP4M.mjs} +4 -4
- package/dist/{chunk-KAKSKYMD.mjs → chunk-D6OJWEZM.mjs} +1 -1
- package/dist/chunk-EKLA6ZR4.mjs +77 -0
- package/dist/{chunk-6PI7MYEV.mjs → chunk-FB6LBMGN.mjs} +1 -1
- package/dist/chunk-FKHKYVZH.mjs +212 -0
- package/dist/chunk-NMSDSEBD.mjs +1 -0
- package/dist/{chunk-SDRGT5I7.mjs → chunk-Q3JMHIW5.mjs} +1 -1
- package/dist/{chunk-PKUJTOVJ.mjs → chunk-V5OCV42N.mjs} +32 -5
- package/dist/components/accordion/accordion.d.mts +98 -0
- package/dist/components/accordion/accordion.d.ts +98 -0
- package/dist/components/accordion/accordion.js +433 -0
- package/dist/components/accordion/accordion.mjs +10 -0
- package/dist/components/accordion/accordionItem.d.mts +207 -0
- package/dist/components/accordion/accordionItem.d.ts +207 -0
- package/dist/components/accordion/accordionItem.js +5201 -0
- package/dist/components/accordion/accordionItem.mjs +13 -0
- package/dist/components/accordion/index.d.mts +8 -0
- package/dist/components/accordion/index.d.ts +8 -0
- package/dist/components/accordion/index.js +5277 -0
- package/dist/components/accordion/index.mjs +18 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +3 -3
- package/dist/components/breadcrumb/index.mjs +3 -3
- package/dist/components/button/button.d.mts +4 -2
- package/dist/components/button/button.d.ts +4 -2
- package/dist/components/button/button.js +26 -5
- package/dist/components/button/button.mjs +1 -1
- package/dist/components/button/index.js +26 -5
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/charts/index.mjs +3 -3
- package/dist/components/dateTimePicker/dateTimePicker.mjs +5 -5
- package/dist/components/dateTimePicker/index.mjs +5 -5
- package/dist/components/dateTimePicker/timePicker.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.js +26 -5
- package/dist/components/fileUpload/fileUpload.mjs +3 -3
- package/dist/components/fileUpload/index.js +26 -5
- package/dist/components/fileUpload/index.mjs +3 -3
- package/dist/components/list/index.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.js +26 -5
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.js +26 -5
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2504 -2213
- package/dist/index.mjs +56 -47
- package/package.json +1 -1
- package/dist/{chunk-JW2TIJVH.mjs → chunk-I3ORSDFO.mjs} +3 -3
- package/dist/{chunk-BOFOJQMD.mjs → chunk-RE2WH26E.mjs} +3 -3
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
+
import { IconName } from '../icon/Icon.js';
|
|
7
|
+
import 'react/jsx-runtime';
|
|
8
|
+
import '../icon/template.js';
|
|
9
|
+
|
|
10
|
+
interface Props {
|
|
11
|
+
title?: string;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
startIconName?: IconName | null;
|
|
14
|
+
endIconName?: IconName | null;
|
|
15
|
+
classNames?: SlotsToClasses<AccordionItemSlots>;
|
|
16
|
+
isOpen?: boolean;
|
|
17
|
+
onToggle?: () => void;
|
|
18
|
+
}
|
|
19
|
+
type AccordionItemProps = Props & AccordionItemVariantProps;
|
|
20
|
+
declare const AccordionItem: react.ForwardRefExoticComponent<Props & AccordionItemVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
|
|
22
|
+
declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
23
|
+
variant: {
|
|
24
|
+
outline: {
|
|
25
|
+
header: never[];
|
|
26
|
+
};
|
|
27
|
+
underline: {
|
|
28
|
+
base: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
sm: {
|
|
33
|
+
base: string[];
|
|
34
|
+
header: string;
|
|
35
|
+
content: string;
|
|
36
|
+
};
|
|
37
|
+
md: {
|
|
38
|
+
base: string[];
|
|
39
|
+
header: string;
|
|
40
|
+
content: string;
|
|
41
|
+
};
|
|
42
|
+
lg: {
|
|
43
|
+
base: string[];
|
|
44
|
+
header: string;
|
|
45
|
+
content: string;
|
|
46
|
+
};
|
|
47
|
+
xl: {
|
|
48
|
+
base: string[];
|
|
49
|
+
header: string;
|
|
50
|
+
content: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
primary: {
|
|
55
|
+
content: string[];
|
|
56
|
+
icon: string[];
|
|
57
|
+
};
|
|
58
|
+
secondary: {
|
|
59
|
+
content: string[];
|
|
60
|
+
icon: string[];
|
|
61
|
+
};
|
|
62
|
+
neutral: {
|
|
63
|
+
content: string[];
|
|
64
|
+
icon: string[];
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
isInGroup: {
|
|
68
|
+
true: string;
|
|
69
|
+
};
|
|
70
|
+
disableAnimation: {
|
|
71
|
+
true: {
|
|
72
|
+
content: string[];
|
|
73
|
+
};
|
|
74
|
+
false: {};
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
base: string[];
|
|
78
|
+
header: string[];
|
|
79
|
+
headerTitle: string[];
|
|
80
|
+
content: string[];
|
|
81
|
+
icon: never[];
|
|
82
|
+
}, undefined, {
|
|
83
|
+
variant: {
|
|
84
|
+
outline: {
|
|
85
|
+
header: never[];
|
|
86
|
+
};
|
|
87
|
+
underline: {
|
|
88
|
+
base: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
size: {
|
|
92
|
+
sm: {
|
|
93
|
+
base: string[];
|
|
94
|
+
header: string;
|
|
95
|
+
content: string;
|
|
96
|
+
};
|
|
97
|
+
md: {
|
|
98
|
+
base: string[];
|
|
99
|
+
header: string;
|
|
100
|
+
content: string;
|
|
101
|
+
};
|
|
102
|
+
lg: {
|
|
103
|
+
base: string[];
|
|
104
|
+
header: string;
|
|
105
|
+
content: string;
|
|
106
|
+
};
|
|
107
|
+
xl: {
|
|
108
|
+
base: string[];
|
|
109
|
+
header: string;
|
|
110
|
+
content: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
color: {
|
|
114
|
+
primary: {
|
|
115
|
+
content: string[];
|
|
116
|
+
icon: string[];
|
|
117
|
+
};
|
|
118
|
+
secondary: {
|
|
119
|
+
content: string[];
|
|
120
|
+
icon: string[];
|
|
121
|
+
};
|
|
122
|
+
neutral: {
|
|
123
|
+
content: string[];
|
|
124
|
+
icon: string[];
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
isInGroup: {
|
|
128
|
+
true: string;
|
|
129
|
+
};
|
|
130
|
+
disableAnimation: {
|
|
131
|
+
true: {
|
|
132
|
+
content: string[];
|
|
133
|
+
};
|
|
134
|
+
false: {};
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
base: string[];
|
|
138
|
+
header: string[];
|
|
139
|
+
headerTitle: string[];
|
|
140
|
+
content: string[];
|
|
141
|
+
icon: never[];
|
|
142
|
+
}, tailwind_variants.TVReturnType<{
|
|
143
|
+
variant: {
|
|
144
|
+
outline: {
|
|
145
|
+
header: never[];
|
|
146
|
+
};
|
|
147
|
+
underline: {
|
|
148
|
+
base: string[];
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
size: {
|
|
152
|
+
sm: {
|
|
153
|
+
base: string[];
|
|
154
|
+
header: string;
|
|
155
|
+
content: string;
|
|
156
|
+
};
|
|
157
|
+
md: {
|
|
158
|
+
base: string[];
|
|
159
|
+
header: string;
|
|
160
|
+
content: string;
|
|
161
|
+
};
|
|
162
|
+
lg: {
|
|
163
|
+
base: string[];
|
|
164
|
+
header: string;
|
|
165
|
+
content: string;
|
|
166
|
+
};
|
|
167
|
+
xl: {
|
|
168
|
+
base: string[];
|
|
169
|
+
header: string;
|
|
170
|
+
content: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
color: {
|
|
174
|
+
primary: {
|
|
175
|
+
content: string[];
|
|
176
|
+
icon: string[];
|
|
177
|
+
};
|
|
178
|
+
secondary: {
|
|
179
|
+
content: string[];
|
|
180
|
+
icon: string[];
|
|
181
|
+
};
|
|
182
|
+
neutral: {
|
|
183
|
+
content: string[];
|
|
184
|
+
icon: string[];
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
isInGroup: {
|
|
188
|
+
true: string;
|
|
189
|
+
};
|
|
190
|
+
disableAnimation: {
|
|
191
|
+
true: {
|
|
192
|
+
content: string[];
|
|
193
|
+
};
|
|
194
|
+
false: {};
|
|
195
|
+
};
|
|
196
|
+
}, {
|
|
197
|
+
base: string[];
|
|
198
|
+
header: string[];
|
|
199
|
+
headerTitle: string[];
|
|
200
|
+
content: string[];
|
|
201
|
+
icon: never[];
|
|
202
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
203
|
+
type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
|
|
204
|
+
type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
|
|
205
|
+
type AccordionItemReturnType = ReturnType<typeof accordionItem>;
|
|
206
|
+
|
|
207
|
+
export { type AccordionItemProps, type AccordionItemReturnType, type AccordionItemSlots, type AccordionItemVariantProps, type Props, AccordionItem as default };
|