@dito-uai/components 5.1.0-alpha.5 → 5.1.0-alpha.50
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/LICENSE +21 -0
- package/README.md +45 -1
- package/dist/global.css +1 -1
- package/dist/index.cjs +78 -42
- package/dist/index.d.cts +1131 -857
- package/dist/index.d.ts +60 -2240
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -14
- package/dist/ui/alert.d.ts +22 -32
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +4 -124
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts +4 -148
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/button.d.ts +166 -316
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/card.d.ts +2 -66
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts +2 -0
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/chips.d.ts +24 -280
- package/dist/ui/chips.d.ts.map +1 -1
- package/dist/ui/collapsible.d.ts +5 -0
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +131 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/indicator.d.ts +15 -15
- package/dist/ui/indicator.d.ts.map +1 -1
- package/dist/ui/input-description.d.ts +2 -26
- package/dist/ui/input-description.d.ts.map +1 -1
- package/dist/ui/input.d.ts +129 -255
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/internal/dropdown-content.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -18
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/loading.d.ts +9 -0
- package/dist/ui/loading.d.ts.map +1 -0
- package/dist/ui/message.d.ts +56 -0
- package/dist/ui/message.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +7 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/progress-bar.d.ts +1 -1
- package/dist/ui/progress-bar.d.ts.map +1 -1
- package/dist/ui/progress.d.ts +9 -27
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio.d.ts +98 -4
- package/dist/ui/radio.d.ts.map +1 -1
- package/dist/ui/scope.d.ts +4 -108
- package/dist/ui/scope.d.ts.map +1 -1
- package/dist/ui/search.d.ts +60 -124
- package/dist/ui/search.d.ts.map +1 -1
- package/dist/ui/sheets.d.ts +2 -2
- package/dist/ui/sheets.d.ts.map +1 -1
- package/dist/ui/skeleton.d.ts +42 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/status.d.ts +5 -37
- package/dist/ui/status.d.ts.map +1 -1
- package/dist/ui/switch.d.ts +15 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +4 -5
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/text.d.ts +3 -63
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/tip-card.d.ts +77 -0
- package/dist/ui/tip-card.d.ts.map +1 -0
- package/dist/ui/toggle-group.d.ts +11 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle.d.ts +48 -12
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +10 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/package.json +99 -40
- package/tailwind-preset.ts +275 -0
- package/tailwind.config.ts +12 -262
- package/dist/ui/form-item.d.ts +0 -16
- package/dist/ui/form-item.d.ts.map +0 -1
- package/dist/ui/form.d.ts +0 -1
- package/dist/ui/form.d.ts.map +0 -1
package/dist/ui/search.d.ts
CHANGED
|
@@ -8,191 +8,127 @@ export type SearchProps = React.InputHTMLAttributes<HTMLInputElement> & VariantP
|
|
|
8
8
|
declare const Search: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & VariantProps<import("tailwind-variants").TVReturnType<{
|
|
9
9
|
disabled: {
|
|
10
10
|
true: {
|
|
11
|
+
wrapper: string;
|
|
11
12
|
input: string;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
prefix: string;
|
|
14
|
+
suffix: string;
|
|
14
15
|
};
|
|
15
16
|
};
|
|
16
17
|
invalid: {
|
|
17
18
|
true: {
|
|
18
|
-
|
|
19
|
+
wrapper: string;
|
|
19
20
|
};
|
|
20
21
|
};
|
|
21
22
|
size: {
|
|
22
|
-
medium: {
|
|
23
|
-
prefixIcon: string;
|
|
24
|
-
suffixIcon: string;
|
|
25
|
-
input: string;
|
|
26
|
-
};
|
|
27
23
|
small: {
|
|
28
|
-
|
|
29
|
-
suffixIcon: string;
|
|
30
|
-
input: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
prefixIcon: string;
|
|
35
|
-
input: string;
|
|
36
|
-
suffixIcon: string;
|
|
37
|
-
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
38
|
-
disabled: {
|
|
39
|
-
true: {
|
|
24
|
+
wrapper: string;
|
|
40
25
|
input: string;
|
|
41
|
-
|
|
42
|
-
|
|
26
|
+
prefix: string;
|
|
27
|
+
suffix: string;
|
|
43
28
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
true: {
|
|
29
|
+
medium: {
|
|
30
|
+
wrapper: string;
|
|
47
31
|
input: string;
|
|
32
|
+
prefix: string;
|
|
33
|
+
suffix: string;
|
|
48
34
|
};
|
|
49
35
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
suffixIcon: string;
|
|
54
|
-
input: string;
|
|
36
|
+
withAffix: {
|
|
37
|
+
false: {
|
|
38
|
+
wrapper: string;
|
|
55
39
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
suffixIcon: string;
|
|
59
|
-
input: string;
|
|
40
|
+
true: {
|
|
41
|
+
wrapper: string;
|
|
60
42
|
};
|
|
61
43
|
};
|
|
62
44
|
}, {
|
|
45
|
+
wrapper: string;
|
|
46
|
+
prefix: string;
|
|
47
|
+
input: string;
|
|
48
|
+
suffix: string;
|
|
49
|
+
}, undefined, {
|
|
63
50
|
disabled: {
|
|
64
51
|
true: {
|
|
52
|
+
wrapper: string;
|
|
65
53
|
input: string;
|
|
66
|
-
|
|
67
|
-
|
|
54
|
+
prefix: string;
|
|
55
|
+
suffix: string;
|
|
68
56
|
};
|
|
69
57
|
};
|
|
70
58
|
invalid: {
|
|
71
59
|
true: {
|
|
72
|
-
|
|
60
|
+
wrapper: string;
|
|
73
61
|
};
|
|
74
62
|
};
|
|
75
63
|
size: {
|
|
76
|
-
medium: {
|
|
77
|
-
prefixIcon: string;
|
|
78
|
-
suffixIcon: string;
|
|
79
|
-
input: string;
|
|
80
|
-
};
|
|
81
64
|
small: {
|
|
82
|
-
|
|
83
|
-
suffixIcon: string;
|
|
84
|
-
input: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
}>, {
|
|
88
|
-
disabled: {
|
|
89
|
-
true: {
|
|
65
|
+
wrapper: string;
|
|
90
66
|
input: string;
|
|
91
|
-
|
|
92
|
-
|
|
67
|
+
prefix: string;
|
|
68
|
+
suffix: string;
|
|
93
69
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
true: {
|
|
70
|
+
medium: {
|
|
71
|
+
wrapper: string;
|
|
97
72
|
input: string;
|
|
73
|
+
prefix: string;
|
|
74
|
+
suffix: string;
|
|
98
75
|
};
|
|
99
76
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
suffixIcon: string;
|
|
104
|
-
input: string;
|
|
77
|
+
withAffix: {
|
|
78
|
+
false: {
|
|
79
|
+
wrapper: string;
|
|
105
80
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
suffixIcon: string;
|
|
109
|
-
input: string;
|
|
81
|
+
true: {
|
|
82
|
+
wrapper: string;
|
|
110
83
|
};
|
|
111
84
|
};
|
|
112
85
|
}, {
|
|
113
|
-
|
|
86
|
+
wrapper: string;
|
|
87
|
+
prefix: string;
|
|
114
88
|
input: string;
|
|
115
|
-
|
|
89
|
+
suffix: string;
|
|
116
90
|
}, import("tailwind-variants").TVReturnType<{
|
|
117
91
|
disabled: {
|
|
118
92
|
true: {
|
|
93
|
+
wrapper: string;
|
|
119
94
|
input: string;
|
|
120
|
-
|
|
121
|
-
|
|
95
|
+
prefix: string;
|
|
96
|
+
suffix: string;
|
|
122
97
|
};
|
|
123
98
|
};
|
|
124
99
|
invalid: {
|
|
125
100
|
true: {
|
|
126
|
-
|
|
101
|
+
wrapper: string;
|
|
127
102
|
};
|
|
128
103
|
};
|
|
129
104
|
size: {
|
|
130
|
-
medium: {
|
|
131
|
-
prefixIcon: string;
|
|
132
|
-
suffixIcon: string;
|
|
133
|
-
input: string;
|
|
134
|
-
};
|
|
135
105
|
small: {
|
|
136
|
-
|
|
137
|
-
suffixIcon: string;
|
|
138
|
-
input: string;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
}, {
|
|
142
|
-
prefixIcon: string;
|
|
143
|
-
input: string;
|
|
144
|
-
suffixIcon: string;
|
|
145
|
-
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
146
|
-
disabled: {
|
|
147
|
-
true: {
|
|
148
|
-
input: string;
|
|
149
|
-
prefixIcon: string;
|
|
150
|
-
suffixIcon: string;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
invalid: {
|
|
154
|
-
true: {
|
|
106
|
+
wrapper: string;
|
|
155
107
|
input: string;
|
|
108
|
+
prefix: string;
|
|
109
|
+
suffix: string;
|
|
156
110
|
};
|
|
157
|
-
};
|
|
158
|
-
size: {
|
|
159
111
|
medium: {
|
|
160
|
-
|
|
161
|
-
suffixIcon: string;
|
|
162
|
-
input: string;
|
|
163
|
-
};
|
|
164
|
-
small: {
|
|
165
|
-
prefixIcon: string;
|
|
166
|
-
suffixIcon: string;
|
|
112
|
+
wrapper: string;
|
|
167
113
|
input: string;
|
|
114
|
+
prefix: string;
|
|
115
|
+
suffix: string;
|
|
168
116
|
};
|
|
169
117
|
};
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
input: string;
|
|
174
|
-
prefixIcon: string;
|
|
175
|
-
suffixIcon: string;
|
|
118
|
+
withAffix: {
|
|
119
|
+
false: {
|
|
120
|
+
wrapper: string;
|
|
176
121
|
};
|
|
177
|
-
};
|
|
178
|
-
invalid: {
|
|
179
122
|
true: {
|
|
180
|
-
|
|
123
|
+
wrapper: string;
|
|
181
124
|
};
|
|
182
125
|
};
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
small: {
|
|
190
|
-
prefixIcon: string;
|
|
191
|
-
suffixIcon: string;
|
|
192
|
-
input: string;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
}>, unknown, unknown, undefined>>> & {
|
|
126
|
+
}, {
|
|
127
|
+
wrapper: string;
|
|
128
|
+
prefix: string;
|
|
129
|
+
input: string;
|
|
130
|
+
suffix: string;
|
|
131
|
+
}, undefined, unknown, unknown, undefined>>> & {
|
|
196
132
|
scope?: DropdownProps;
|
|
197
133
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
198
134
|
export default Search;
|
package/dist/ui/search.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/ui/search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,EAAmB,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAwC7E,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GACnE,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEJ,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/ui/search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,EAAmB,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAwC7E,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GACnE,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAHA,aAAa;0CAiDxB,CAAC;AAsCF,eAAe,MAAM,CAAC"}
|
package/dist/ui/sheets.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type
|
|
2
|
+
export type SheetProps = {
|
|
3
3
|
title: string;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
isVisible?: boolean;
|
|
@@ -8,7 +8,7 @@ type Props = {
|
|
|
8
8
|
onClose?: (confirm: boolean) => void;
|
|
9
9
|
};
|
|
10
10
|
declare const Sheet: {
|
|
11
|
-
({ title, children, isVisible, CloseIcon, maxWidth, onClose, }:
|
|
11
|
+
({ title, children, isVisible, CloseIcon, maxWidth, onClose, }: SheetProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
export default Sheet;
|
package/dist/ui/sheets.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../src/ui/sheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,
|
|
1
|
+
{"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../src/ui/sheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC,CAAC;AACF,QAAA,MAAM,KAAK;oEAOR,UAAU;;CAuEZ,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const skeletonVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
appearance: {
|
|
5
|
+
default: string;
|
|
6
|
+
ai: string;
|
|
7
|
+
};
|
|
8
|
+
shape: {
|
|
9
|
+
text: string;
|
|
10
|
+
square: string;
|
|
11
|
+
circle: string;
|
|
12
|
+
rectangle: string;
|
|
13
|
+
};
|
|
14
|
+
}, undefined, "min-h-2 min-w-2 animate-pulse", {
|
|
15
|
+
appearance: {
|
|
16
|
+
default: string;
|
|
17
|
+
ai: string;
|
|
18
|
+
};
|
|
19
|
+
shape: {
|
|
20
|
+
text: string;
|
|
21
|
+
square: string;
|
|
22
|
+
circle: string;
|
|
23
|
+
rectangle: string;
|
|
24
|
+
};
|
|
25
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
26
|
+
appearance: {
|
|
27
|
+
default: string;
|
|
28
|
+
ai: string;
|
|
29
|
+
};
|
|
30
|
+
shape: {
|
|
31
|
+
text: string;
|
|
32
|
+
square: string;
|
|
33
|
+
circle: string;
|
|
34
|
+
rectangle: string;
|
|
35
|
+
};
|
|
36
|
+
}, undefined, "min-h-2 min-w-2 animate-pulse", unknown, unknown, undefined>>;
|
|
37
|
+
export type SkeletonProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren<{
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
}> & VariantProps<typeof skeletonVariants>;
|
|
40
|
+
declare function Skeleton({ className, appearance, shape, children, loading, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export { Skeleton };
|
|
42
|
+
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../src/ui/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAErD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAiBpB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,GACxD,iBAAiB,CAAC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,GACxC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAExC,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,KAAK,EACL,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,aAAa,2CAaf;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/ui/status.d.ts
CHANGED
|
@@ -8,23 +8,7 @@ declare const statusVariants: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
error: string[];
|
|
9
9
|
disabled: string[];
|
|
10
10
|
};
|
|
11
|
-
}, undefined, "text-medium flex items-center justify-center rounded-sm px-1 py-0.5",
|
|
12
|
-
status: {
|
|
13
|
-
success: string[];
|
|
14
|
-
attention: string[];
|
|
15
|
-
info: string[];
|
|
16
|
-
error: string[];
|
|
17
|
-
disabled: string[];
|
|
18
|
-
};
|
|
19
|
-
}, {
|
|
20
|
-
status: {
|
|
21
|
-
success: string[];
|
|
22
|
-
attention: string[];
|
|
23
|
-
info: string[];
|
|
24
|
-
error: string[];
|
|
25
|
-
disabled: string[];
|
|
26
|
-
};
|
|
27
|
-
}>, {
|
|
11
|
+
}, undefined, "text-medium flex items-center justify-center rounded-sm px-1 py-0.5", {
|
|
28
12
|
status: {
|
|
29
13
|
success: string[];
|
|
30
14
|
attention: string[];
|
|
@@ -40,31 +24,15 @@ declare const statusVariants: import("tailwind-variants").TVReturnType<{
|
|
|
40
24
|
error: string[];
|
|
41
25
|
disabled: string[];
|
|
42
26
|
};
|
|
43
|
-
}, undefined, "text-medium flex items-center justify-center rounded-sm px-1 py-0.5",
|
|
44
|
-
|
|
45
|
-
success: string[];
|
|
46
|
-
attention: string[];
|
|
47
|
-
info: string[];
|
|
48
|
-
error: string[];
|
|
49
|
-
disabled: string[];
|
|
50
|
-
};
|
|
51
|
-
}, {
|
|
52
|
-
status: {
|
|
53
|
-
success: string[];
|
|
54
|
-
attention: string[];
|
|
55
|
-
info: string[];
|
|
56
|
-
error: string[];
|
|
57
|
-
disabled: string[];
|
|
58
|
-
};
|
|
59
|
-
}>, unknown, unknown, undefined>>;
|
|
60
|
-
type StatusSimpleProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof statusVariants> & {
|
|
27
|
+
}, undefined, "text-medium flex items-center justify-center rounded-sm px-1 py-0.5", unknown, unknown, undefined>>;
|
|
28
|
+
export type StatusSimpleProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof statusVariants> & {
|
|
61
29
|
text: string;
|
|
62
30
|
};
|
|
63
|
-
type StatusOption = VariantProps<typeof statusVariants> & {
|
|
31
|
+
export type StatusOption = VariantProps<typeof statusVariants> & {
|
|
64
32
|
text: string;
|
|
65
33
|
value: string;
|
|
66
34
|
};
|
|
67
|
-
type StatusMenuProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof statusVariants> & {
|
|
35
|
+
export type StatusMenuProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'value'> & VariantProps<typeof statusVariants> & {
|
|
68
36
|
options: StatusOption[];
|
|
69
37
|
value: string;
|
|
70
38
|
onChange?: (value: string) => void;
|
package/dist/ui/status.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/ui/status.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKrD,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/ui/status.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKrD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;kHA+BlB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAClE,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAyBJ,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,UAAU,GAAG,OAAO,CACrB,GACC,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAgCJ,QAAA,MAAM,MAAM,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG;IACzC,IAAI,EAAE,KAAK,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;CAIxD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
export type SwitchProps = HTMLAttributes<HTMLInputElement> & PropsWithChildren<{
|
|
3
|
+
name: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
declare const Switch: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & {
|
|
8
|
+
name: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
} & {
|
|
12
|
+
children?: import("react").ReactNode | undefined;
|
|
13
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
+
export default Switch;
|
|
15
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/ui/switch.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAe/D,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,gBAAgB,CAAC,GACxD,iBAAiB,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEL,QAAA,MAAM,MAAM;UALF,MAAM;eACD,OAAO;cACR,OAAO;;;oDAsBpB,CAAC;AAIF,eAAe,MAAM,CAAC"}
|
package/dist/ui/tabs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type TabItem = {
|
|
2
|
+
export type TabItem = {
|
|
3
3
|
value: string;
|
|
4
4
|
label?: string;
|
|
5
5
|
iconPrefix?: React.ReactNode;
|
|
@@ -8,15 +8,14 @@ type TabItem = {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
className?: string;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
export type TabsLayoutProps = {
|
|
12
12
|
tabs: TabItem[];
|
|
13
13
|
activeKey?: string;
|
|
14
14
|
defaultActiveKey?: string;
|
|
15
15
|
className?: string;
|
|
16
16
|
onValueChange?: (value: string) => void;
|
|
17
17
|
onTabClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, value?: string) => void;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export declare const TabsLayout: ({ tabs, activeKey, defaultActiveKey, className, onValueChange, onTabClick, }: TabsLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
declare const TabsLayout: ({ tabs, activeKey, defaultActiveKey, className, onValueChange, onTabClick, }: TabsLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export default TabsLayout;
|
|
22
21
|
//# sourceMappingURL=tabs.d.ts.map
|
package/dist/ui/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAwHjD,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAwHjD,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,CACX,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,EACnD,KAAK,CAAC,EAAE,MAAM,KACX,IAAI,CAAC;CACX,CAAC;AA0BF,QAAA,MAAM,UAAU,iFAOb,eAAe,4CAkDjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/ui/text.d.ts
CHANGED
|
@@ -15,37 +15,7 @@ declare const TextVariants: import("tailwind-variants").TVReturnType<{
|
|
|
15
15
|
medium: string;
|
|
16
16
|
semibold: string;
|
|
17
17
|
};
|
|
18
|
-
}, undefined, "",
|
|
19
|
-
size: {
|
|
20
|
-
H1: string;
|
|
21
|
-
H2: string;
|
|
22
|
-
H3: string;
|
|
23
|
-
large: string;
|
|
24
|
-
base: string;
|
|
25
|
-
small: string;
|
|
26
|
-
overline: string;
|
|
27
|
-
};
|
|
28
|
-
weight: {
|
|
29
|
-
normal: string;
|
|
30
|
-
medium: string;
|
|
31
|
-
semibold: string;
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
size: {
|
|
35
|
-
H1: string;
|
|
36
|
-
H2: string;
|
|
37
|
-
H3: string;
|
|
38
|
-
large: string;
|
|
39
|
-
base: string;
|
|
40
|
-
small: string;
|
|
41
|
-
overline: string;
|
|
42
|
-
};
|
|
43
|
-
weight: {
|
|
44
|
-
normal: string;
|
|
45
|
-
medium: string;
|
|
46
|
-
semibold: string;
|
|
47
|
-
};
|
|
48
|
-
}>, {
|
|
18
|
+
}, undefined, "", {
|
|
49
19
|
size: {
|
|
50
20
|
H1: string;
|
|
51
21
|
H2: string;
|
|
@@ -75,38 +45,8 @@ declare const TextVariants: import("tailwind-variants").TVReturnType<{
|
|
|
75
45
|
medium: string;
|
|
76
46
|
semibold: string;
|
|
77
47
|
};
|
|
78
|
-
}, undefined, "",
|
|
79
|
-
|
|
80
|
-
H1: string;
|
|
81
|
-
H2: string;
|
|
82
|
-
H3: string;
|
|
83
|
-
large: string;
|
|
84
|
-
base: string;
|
|
85
|
-
small: string;
|
|
86
|
-
overline: string;
|
|
87
|
-
};
|
|
88
|
-
weight: {
|
|
89
|
-
normal: string;
|
|
90
|
-
medium: string;
|
|
91
|
-
semibold: string;
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
size: {
|
|
95
|
-
H1: string;
|
|
96
|
-
H2: string;
|
|
97
|
-
H3: string;
|
|
98
|
-
large: string;
|
|
99
|
-
base: string;
|
|
100
|
-
small: string;
|
|
101
|
-
overline: string;
|
|
102
|
-
};
|
|
103
|
-
weight: {
|
|
104
|
-
normal: string;
|
|
105
|
-
medium: string;
|
|
106
|
-
semibold: string;
|
|
107
|
-
};
|
|
108
|
-
}>, unknown, unknown, undefined>>;
|
|
109
|
-
export type TextProps = HTMLAttributes<HTMLSpanElement> & PropsWithChildren & VariantProps<typeof TextVariants>;
|
|
48
|
+
}, undefined, "", unknown, unknown, undefined>>;
|
|
49
|
+
export type TextProps = HTMLAttributes<HTMLSpanElement> & PropsWithChildren<VariantProps<typeof TextVariants>>;
|
|
110
50
|
declare const Text: {
|
|
111
51
|
({ className, size, weight, children, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
112
52
|
displayName: string;
|
package/dist/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAsBhB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,eAAe,CAAC,GACrD,iBAAiB,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAEvD,QAAA,MAAM,IAAI;sDAAqD,SAAS;;CAYvE,CAAC;AAGF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const tipCardVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
[key: string]: {
|
|
5
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
6
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
7
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
13
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
14
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {}, {
|
|
18
|
+
container: string;
|
|
19
|
+
message: string;
|
|
20
|
+
}, undefined, {
|
|
21
|
+
[key: string]: {
|
|
22
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
23
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
24
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
} | {}, {
|
|
28
|
+
container: string;
|
|
29
|
+
message: string;
|
|
30
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
31
|
+
container: string;
|
|
32
|
+
message: string;
|
|
33
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
34
|
+
export type TipCardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof tipCardVariants> & {
|
|
35
|
+
message: string;
|
|
36
|
+
helpLink: string;
|
|
37
|
+
helpCenterTitle: string;
|
|
38
|
+
date?: string;
|
|
39
|
+
};
|
|
40
|
+
declare const TipCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<import("tailwind-variants").TVReturnType<{
|
|
41
|
+
[key: string]: {
|
|
42
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
43
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
44
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
} | {
|
|
48
|
+
[x: string]: {
|
|
49
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
50
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
51
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
} | {}, {
|
|
55
|
+
container: string;
|
|
56
|
+
message: string;
|
|
57
|
+
}, undefined, {
|
|
58
|
+
[key: string]: {
|
|
59
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
60
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
61
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
} | {}, {
|
|
65
|
+
container: string;
|
|
66
|
+
message: string;
|
|
67
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
68
|
+
container: string;
|
|
69
|
+
message: string;
|
|
70
|
+
}, undefined, unknown, unknown, undefined>>> & {
|
|
71
|
+
message: string;
|
|
72
|
+
helpLink: string;
|
|
73
|
+
helpCenterTitle: string;
|
|
74
|
+
date?: string;
|
|
75
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
export default TipCard;
|
|
77
|
+
//# sourceMappingURL=tip-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tip-card.d.ts","sourceRoot":"","sources":["../../src/ui/tip-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGrD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAMnB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAC7D,YAAY,CAAC,OAAO,eAAe,CAAC,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aANA,MAAM;cACL,MAAM;qBACC,MAAM;WAChB,MAAM;wCAuBhB,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
import type { VariantProps } from 'tailwind-variants';
|
|
4
|
+
import { toggleVariants } from './toggle';
|
|
5
|
+
export type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
6
|
+
export type ToggleGroupItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>;
|
|
7
|
+
export declare const Toggle: {
|
|
8
|
+
Group: React.ForwardRefExoticComponent<ToggleGroupProps>;
|
|
9
|
+
Item: React.ForwardRefExoticComponent<ToggleGroupItemProps>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../src/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAC3D,OAAO,oBAAoB,CAAC,IAAI,CACjC,GACC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,wBAAwB,CAC/D,OAAO,oBAAoB,CAAC,IAAI,CACjC,GACC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAqDtC,eAAO,MAAM,MAAM,EAAE;IACnB,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;IACzD,IAAI,EAAE,KAAK,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,CAAC;CAI7D,CAAC"}
|