@dito-uai/components 5.0.0-alpha29 → 5.0.0-alpha30
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/index.cjs +52 -1489
- package/dist/index.d.ts +23 -2015
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -1451
- package/dist/lib/colors-utils.d.ts +88 -0
- package/dist/lib/colors-utils.d.ts.map +1 -0
- package/dist/lib/css-util.d.ts +3 -0
- package/dist/lib/css-util.d.ts.map +1 -0
- package/dist/ui/avatar.d.ts +221 -0
- package/dist/ui/avatar.d.ts.map +1 -0
- package/dist/ui/badge.d.ts +264 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/button.d.ts +765 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/card.d.ts +122 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/checkbox.d.ts +4 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/chips.d.ts +416 -0
- package/dist/ui/chips.d.ts.map +1 -0
- package/dist/ui/collapse.d.ts +16 -0
- package/dist/ui/collapse.d.ts.map +1 -0
- package/dist/ui/collapsible.d.ts +11 -0
- package/dist/ui/collapsible.d.ts.map +1 -0
- package/dist/ui/form-item.d.ts +16 -0
- package/dist/ui/form-item.d.ts.map +1 -0
- package/dist/ui/form.d.ts +1 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/indicator.d.ts +57 -0
- package/dist/ui/indicator.d.ts.map +1 -0
- package/dist/ui/input-description.d.ts +66 -0
- package/dist/ui/input-description.d.ts.map +1 -0
- package/dist/ui/input.d.ts +395 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/internal/dropdown-content.d.ts +12 -0
- package/dist/ui/internal/dropdown-content.d.ts.map +1 -0
- package/dist/ui/label.d.ts +43 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/progress-bar.d.ts +9 -0
- package/dist/ui/progress-bar.d.ts.map +1 -0
- package/dist/ui/progress.d.ts +57 -0
- package/dist/ui/progress.d.ts.map +1 -0
- package/dist/ui/radio.d.ts +10 -0
- package/dist/ui/radio.d.ts.map +1 -0
- package/dist/ui/scope.d.ts +209 -0
- package/dist/ui/scope.d.ts.map +1 -0
- package/dist/ui/search.d.ts +199 -0
- package/dist/ui/search.d.ts.map +1 -0
- package/dist/ui/sheets.d.ts +15 -0
- package/dist/ui/sheets.d.ts.map +1 -0
- package/dist/ui/status.d.ts +76 -0
- package/dist/ui/status.d.ts.map +1 -0
- package/dist/ui/text.d.ts +115 -0
- package/dist/ui/text.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts +9 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/toggle.d.ts +13 -0
- package/dist/ui/toggle.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/Alert/Alert.d.ts +0 -5
- package/dist/Alert/index.d.ts +0 -1
- package/dist/Avatar/Avatar.d.ts +0 -25
- package/dist/Avatar/index.d.ts +0 -1
- package/dist/Badge/Badge.d.ts +0 -21
- package/dist/Badge/index.d.ts +0 -1
- package/dist/Button/Button.d.ts +0 -17
- package/dist/Button/index.d.ts +0 -1
- package/dist/Card/Card.d.ts +0 -19
- package/dist/Card/ProgressCard.d.ts +0 -10
- package/dist/Card/RadioCard.d.ts +0 -17
- package/dist/Card/SelectCard.d.ts +0 -19
- package/dist/Card/StepCard.d.ts +0 -17
- package/dist/Card/index.d.ts +0 -5
- package/dist/CardsCanva/CardsCanva.d.ts +0 -16
- package/dist/CardsCanva/index.d.ts +0 -1
- package/dist/Checkbox/Checkbox.d.ts +0 -13
- package/dist/Checkbox/index.d.ts +0 -1
- package/dist/Chips/Chips.d.ts +0 -39
- package/dist/Chips/index.d.ts +0 -1
- package/dist/DatePicker/DatePicker.d.ts +0 -14
- package/dist/DatePicker/RangePicker.d.ts +0 -21
- package/dist/DatePicker/helpers/index.d.ts +0 -2
- package/dist/DatePicker/helpers/lang.d.ts +0 -25
- package/dist/DatePicker/helpers/ranges.d.ts +0 -20
- package/dist/DatePicker/index.d.ts +0 -4
- package/dist/DatePicker/language/en_US.d.ts +0 -3
- package/dist/DatePicker/language/index.d.ts +0 -2
- package/dist/DatePicker/language/pt_BR.d.ts +0 -3
- package/dist/Divider/Divider.d.ts +0 -8
- package/dist/Divider/index.d.ts +0 -1
- package/dist/ExternalLink/ExternalLink.d.ts +0 -9
- package/dist/ExternalLink/index.d.ts +0 -1
- package/dist/Flex/Flex.d.ts +0 -7
- package/dist/Flex/index.d.ts +0 -1
- package/dist/Form/Form.d.ts +0 -11
- package/dist/Form/index.d.ts +0 -1
- package/dist/Indicator/Indicator.d.ts +0 -19
- package/dist/Indicator/index.d.ts +0 -1
- package/dist/Input/Input.d.ts +0 -15
- package/dist/Input/TextArea.d.ts +0 -15
- package/dist/Input/index.d.ts +0 -1
- package/dist/Internal/ActionCard.d.ts +0 -10
- package/dist/Internal/Box.d.ts +0 -6
- package/dist/Internal/index.d.ts +0 -1
- package/dist/ListItem/ListItem.d.ts +0 -28
- package/dist/ListItem/index.d.ts +0 -1
- package/dist/Loading/Loading.d.ts +0 -25
- package/dist/Loading/index.d.ts +0 -1
- package/dist/Menu/Item.d.ts +0 -3
- package/dist/Menu/ItemsRadioGroup.d.ts +0 -14
- package/dist/Menu/Menu.d.ts +0 -10
- package/dist/Menu/SubMenu.d.ts +0 -4
- package/dist/Menu/index.d.ts +0 -2
- package/dist/Message/Message.d.ts +0 -20
- package/dist/Message/index.d.ts +0 -2
- package/dist/Pagination/Pagination.d.ts +0 -13
- package/dist/Pagination/index.d.ts +0 -1
- package/dist/Progress/Progress.d.ts +0 -10
- package/dist/Progress/ProgressBar.d.ts +0 -15
- package/dist/Progress/ProgressIndicator.d.ts +0 -8
- package/dist/Progress/index.d.ts +0 -4
- package/dist/Radio/Radio.d.ts +0 -16
- package/dist/Radio/index.d.ts +0 -1
- package/dist/ScopeButton/ScopeButton.d.ts +0 -22
- package/dist/ScopeButton/index.d.ts +0 -1
- package/dist/Search/Search.d.ts +0 -14
- package/dist/Select/Category.d.ts +0 -15
- package/dist/Select/CategoryFreeText.d.ts +0 -13
- package/dist/Select/Commons.d.ts +0 -24
- package/dist/Select/Multiple.d.ts +0 -13
- package/dist/Select/MultipleFreeText.d.ts +0 -11
- package/dist/Select/Select.d.ts +0 -24
- package/dist/Select/index.d.ts +0 -6
- package/dist/Select/types.d.ts +0 -61
- package/dist/Select/utils.d.ts +0 -6
- package/dist/Sheets/SheetTitleWithDescription.d.ts +0 -7
- package/dist/Sheets/Sheets.d.ts +0 -8
- package/dist/Sheets/index.d.ts +0 -1
- package/dist/Skeleton/Skeleton.d.ts +0 -53
- package/dist/Skeleton/index.d.ts +0 -1
- package/dist/Status/Status.d.ts +0 -8
- package/dist/Status/StatusMenu.d.ts +0 -17
- package/dist/Status/StatusSimple.d.ts +0 -19
- package/dist/Status/index.d.ts +0 -3
- package/dist/Steps/Step.d.ts +0 -12
- package/dist/Steps/Steps.d.ts +0 -7
- package/dist/Steps/index.d.ts +0 -2
- package/dist/Table/MenuHeader.d.ts +0 -16
- package/dist/Table/MenuRow.d.ts +0 -8
- package/dist/Table/Table.d.ts +0 -4
- package/dist/Table/TitleDropdown.d.ts +0 -4
- package/dist/Table/TitleHeader.d.ts +0 -11
- package/dist/Table/index.d.ts +0 -2
- package/dist/Table/types.d.ts +0 -63
- package/dist/Table/utils.d.ts +0 -6
- package/dist/Tabs/Tabs.d.ts +0 -7
- package/dist/Tabs/index.d.ts +0 -1
- package/dist/Text/Text.d.ts +0 -66
- package/dist/Text/index.d.ts +0 -1
- package/dist/TimePicker/NumberCarousel.d.ts +0 -8
- package/dist/TimePicker/TimeMenu.d.ts +0 -7
- package/dist/TimePicker/TimePicker.d.ts +0 -12
- package/dist/TimePicker/index.d.ts +0 -1
- package/dist/Toggle/Toggle.d.ts +0 -4
- package/dist/Toggle/index.d.ts +0 -1
- package/dist/Tooltip/Tooltip.d.ts +0 -11
- package/dist/Tooltip/index.d.ts +0 -1
- package/dist/index.cjs.js +0 -94996
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -94910
- package/dist/index.esm.js.map +0 -1
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
declare const scopeVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
+
variant: {
|
|
6
|
+
default: string;
|
|
7
|
+
light: string;
|
|
8
|
+
green: string;
|
|
9
|
+
red: string;
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
default: {
|
|
13
|
+
container: string;
|
|
14
|
+
};
|
|
15
|
+
small: {
|
|
16
|
+
container: string;
|
|
17
|
+
text: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
true: {
|
|
22
|
+
container: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
};
|
|
25
|
+
false: {
|
|
26
|
+
container: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
container: string;
|
|
32
|
+
icon: string;
|
|
33
|
+
text: string;
|
|
34
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
35
|
+
variant: {
|
|
36
|
+
default: string;
|
|
37
|
+
light: string;
|
|
38
|
+
green: string;
|
|
39
|
+
red: string;
|
|
40
|
+
};
|
|
41
|
+
size: {
|
|
42
|
+
default: {
|
|
43
|
+
container: string;
|
|
44
|
+
};
|
|
45
|
+
small: {
|
|
46
|
+
container: string;
|
|
47
|
+
text: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
true: {
|
|
52
|
+
container: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
};
|
|
55
|
+
false: {
|
|
56
|
+
container: string;
|
|
57
|
+
icon: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
variant: {
|
|
62
|
+
default: string;
|
|
63
|
+
light: string;
|
|
64
|
+
green: string;
|
|
65
|
+
red: string;
|
|
66
|
+
};
|
|
67
|
+
size: {
|
|
68
|
+
default: {
|
|
69
|
+
container: string;
|
|
70
|
+
};
|
|
71
|
+
small: {
|
|
72
|
+
container: string;
|
|
73
|
+
text: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
disabled: {
|
|
77
|
+
true: {
|
|
78
|
+
container: string;
|
|
79
|
+
icon: string;
|
|
80
|
+
};
|
|
81
|
+
false: {
|
|
82
|
+
container: string;
|
|
83
|
+
icon: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}>, {
|
|
87
|
+
variant: {
|
|
88
|
+
default: string;
|
|
89
|
+
light: string;
|
|
90
|
+
green: string;
|
|
91
|
+
red: string;
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
default: {
|
|
95
|
+
container: string;
|
|
96
|
+
};
|
|
97
|
+
small: {
|
|
98
|
+
container: string;
|
|
99
|
+
text: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
disabled: {
|
|
103
|
+
true: {
|
|
104
|
+
container: string;
|
|
105
|
+
icon: string;
|
|
106
|
+
};
|
|
107
|
+
false: {
|
|
108
|
+
container: string;
|
|
109
|
+
icon: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
container: string;
|
|
114
|
+
icon: string;
|
|
115
|
+
text: string;
|
|
116
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
117
|
+
variant: {
|
|
118
|
+
default: string;
|
|
119
|
+
light: string;
|
|
120
|
+
green: string;
|
|
121
|
+
red: string;
|
|
122
|
+
};
|
|
123
|
+
size: {
|
|
124
|
+
default: {
|
|
125
|
+
container: string;
|
|
126
|
+
};
|
|
127
|
+
small: {
|
|
128
|
+
container: string;
|
|
129
|
+
text: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
disabled: {
|
|
133
|
+
true: {
|
|
134
|
+
container: string;
|
|
135
|
+
icon: string;
|
|
136
|
+
};
|
|
137
|
+
false: {
|
|
138
|
+
container: string;
|
|
139
|
+
icon: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
container: string;
|
|
144
|
+
icon: string;
|
|
145
|
+
text: string;
|
|
146
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
147
|
+
variant: {
|
|
148
|
+
default: string;
|
|
149
|
+
light: string;
|
|
150
|
+
green: string;
|
|
151
|
+
red: string;
|
|
152
|
+
};
|
|
153
|
+
size: {
|
|
154
|
+
default: {
|
|
155
|
+
container: string;
|
|
156
|
+
};
|
|
157
|
+
small: {
|
|
158
|
+
container: string;
|
|
159
|
+
text: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
disabled: {
|
|
163
|
+
true: {
|
|
164
|
+
container: string;
|
|
165
|
+
icon: string;
|
|
166
|
+
};
|
|
167
|
+
false: {
|
|
168
|
+
container: string;
|
|
169
|
+
icon: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}, {
|
|
173
|
+
variant: {
|
|
174
|
+
default: string;
|
|
175
|
+
light: string;
|
|
176
|
+
green: string;
|
|
177
|
+
red: string;
|
|
178
|
+
};
|
|
179
|
+
size: {
|
|
180
|
+
default: {
|
|
181
|
+
container: string;
|
|
182
|
+
};
|
|
183
|
+
small: {
|
|
184
|
+
container: string;
|
|
185
|
+
text: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
disabled: {
|
|
189
|
+
true: {
|
|
190
|
+
container: string;
|
|
191
|
+
icon: string;
|
|
192
|
+
};
|
|
193
|
+
false: {
|
|
194
|
+
container: string;
|
|
195
|
+
icon: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
}>, unknown, unknown, undefined>>;
|
|
199
|
+
type ScopeGroupProps = Omit<React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>, 'type'> & VariantProps<typeof scopeVariants>;
|
|
200
|
+
type ScopeItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof scopeVariants> & {
|
|
201
|
+
text: string;
|
|
202
|
+
icon?: React.ElementType;
|
|
203
|
+
};
|
|
204
|
+
declare const Scope: {
|
|
205
|
+
Group: React.ForwardRefExoticComponent<ScopeGroupProps>;
|
|
206
|
+
Item: React.ForwardRefExoticComponent<ScopeItemProps>;
|
|
207
|
+
};
|
|
208
|
+
export default Scope;
|
|
209
|
+
//# sourceMappingURL=scope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../src/ui/scope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkFjB,CAAC;AAUH,KAAK,eAAe,GAAG,IAAI,CACzB,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,EAChE,MAAM,CACP,GACC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AA0BrC,KAAK,cAAc,GAAG,KAAK,CAAC,wBAAwB,CAClD,OAAO,oBAAoB,CAAC,IAAI,CACjC,GACC,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC1B,CAAC;AA+BJ,QAAA,MAAM,KAAK,EAAE;IACX,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;IACxD,IAAI,EAAE,KAAK,CAAC,yBAAyB,CAAC,cAAc,CAAC,CAAC;CAIvD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { inputVariants } from './input';
|
|
4
|
+
import { DropdownProps } from './internal/dropdown-content';
|
|
5
|
+
export type SearchProps = React.InputHTMLAttributes<HTMLInputElement> & VariantProps<typeof inputVariants> & {
|
|
6
|
+
scope?: DropdownProps;
|
|
7
|
+
};
|
|
8
|
+
declare const Search: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & VariantProps<import("tailwind-variants").TVReturnType<{
|
|
9
|
+
disabled: {
|
|
10
|
+
true: {
|
|
11
|
+
input: string;
|
|
12
|
+
prefixIcon: string;
|
|
13
|
+
suffixIcon: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
invalid: {
|
|
17
|
+
true: {
|
|
18
|
+
input: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
medium: {
|
|
23
|
+
prefixIcon: string;
|
|
24
|
+
suffixIcon: string;
|
|
25
|
+
input: string;
|
|
26
|
+
};
|
|
27
|
+
small: {
|
|
28
|
+
prefixIcon: string;
|
|
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: {
|
|
40
|
+
input: string;
|
|
41
|
+
prefixIcon: string;
|
|
42
|
+
suffixIcon: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
invalid: {
|
|
46
|
+
true: {
|
|
47
|
+
input: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
medium: {
|
|
52
|
+
prefixIcon: string;
|
|
53
|
+
suffixIcon: string;
|
|
54
|
+
input: string;
|
|
55
|
+
};
|
|
56
|
+
small: {
|
|
57
|
+
prefixIcon: string;
|
|
58
|
+
suffixIcon: string;
|
|
59
|
+
input: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
disabled: {
|
|
64
|
+
true: {
|
|
65
|
+
input: string;
|
|
66
|
+
prefixIcon: string;
|
|
67
|
+
suffixIcon: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
invalid: {
|
|
71
|
+
true: {
|
|
72
|
+
input: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
medium: {
|
|
77
|
+
prefixIcon: string;
|
|
78
|
+
suffixIcon: string;
|
|
79
|
+
input: string;
|
|
80
|
+
};
|
|
81
|
+
small: {
|
|
82
|
+
prefixIcon: string;
|
|
83
|
+
suffixIcon: string;
|
|
84
|
+
input: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}>, {
|
|
88
|
+
disabled: {
|
|
89
|
+
true: {
|
|
90
|
+
input: string;
|
|
91
|
+
prefixIcon: string;
|
|
92
|
+
suffixIcon: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
invalid: {
|
|
96
|
+
true: {
|
|
97
|
+
input: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
size: {
|
|
101
|
+
medium: {
|
|
102
|
+
prefixIcon: string;
|
|
103
|
+
suffixIcon: string;
|
|
104
|
+
input: string;
|
|
105
|
+
};
|
|
106
|
+
small: {
|
|
107
|
+
prefixIcon: string;
|
|
108
|
+
suffixIcon: string;
|
|
109
|
+
input: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
prefixIcon: string;
|
|
114
|
+
input: string;
|
|
115
|
+
suffixIcon: string;
|
|
116
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
117
|
+
disabled: {
|
|
118
|
+
true: {
|
|
119
|
+
input: string;
|
|
120
|
+
prefixIcon: string;
|
|
121
|
+
suffixIcon: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
invalid: {
|
|
125
|
+
true: {
|
|
126
|
+
input: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
size: {
|
|
130
|
+
medium: {
|
|
131
|
+
prefixIcon: string;
|
|
132
|
+
suffixIcon: string;
|
|
133
|
+
input: string;
|
|
134
|
+
};
|
|
135
|
+
small: {
|
|
136
|
+
prefixIcon: string;
|
|
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: {
|
|
155
|
+
input: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
size: {
|
|
159
|
+
medium: {
|
|
160
|
+
prefixIcon: string;
|
|
161
|
+
suffixIcon: string;
|
|
162
|
+
input: string;
|
|
163
|
+
};
|
|
164
|
+
small: {
|
|
165
|
+
prefixIcon: string;
|
|
166
|
+
suffixIcon: string;
|
|
167
|
+
input: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}, {
|
|
171
|
+
disabled: {
|
|
172
|
+
true: {
|
|
173
|
+
input: string;
|
|
174
|
+
prefixIcon: string;
|
|
175
|
+
suffixIcon: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
invalid: {
|
|
179
|
+
true: {
|
|
180
|
+
input: string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
size: {
|
|
184
|
+
medium: {
|
|
185
|
+
prefixIcon: string;
|
|
186
|
+
suffixIcon: string;
|
|
187
|
+
input: string;
|
|
188
|
+
};
|
|
189
|
+
small: {
|
|
190
|
+
prefixIcon: string;
|
|
191
|
+
suffixIcon: string;
|
|
192
|
+
input: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
}>, unknown, unknown, undefined>>> & {
|
|
196
|
+
scope?: DropdownProps;
|
|
197
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
198
|
+
export default Search;
|
|
199
|
+
//# sourceMappingURL=search.d.ts.map
|
|
@@ -0,0 +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;AAErD,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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
isVisible?: boolean;
|
|
6
|
+
CloseIcon?: React.ElementType;
|
|
7
|
+
maxWidth?: string;
|
|
8
|
+
onClose?: (confirm: boolean) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const Sheet: {
|
|
11
|
+
({ title, children, isVisible, CloseIcon, maxWidth, onClose, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export default Sheet;
|
|
15
|
+
//# sourceMappingURL=sheets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../src/ui/sheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,KAAK,KAAK,GAAG;IACX,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,KAAK;;CAuEP,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const statusVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
status: {
|
|
5
|
+
success: string[];
|
|
6
|
+
attention: string[];
|
|
7
|
+
info: string[];
|
|
8
|
+
error: string[];
|
|
9
|
+
disabled: string[];
|
|
10
|
+
};
|
|
11
|
+
}, undefined, "text-medium flex items-center justify-center rounded-sm px-1 py-0.5", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
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
|
+
}>, {
|
|
28
|
+
status: {
|
|
29
|
+
success: string[];
|
|
30
|
+
attention: string[];
|
|
31
|
+
info: string[];
|
|
32
|
+
error: string[];
|
|
33
|
+
disabled: string[];
|
|
34
|
+
};
|
|
35
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
36
|
+
status: {
|
|
37
|
+
success: string[];
|
|
38
|
+
attention: string[];
|
|
39
|
+
info: string[];
|
|
40
|
+
error: string[];
|
|
41
|
+
disabled: string[];
|
|
42
|
+
};
|
|
43
|
+
}, undefined, "text-medium flex items-center justify-center rounded-sm px-1 py-0.5", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
44
|
+
status: {
|
|
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> & {
|
|
61
|
+
text: string;
|
|
62
|
+
};
|
|
63
|
+
type StatusOption = VariantProps<typeof statusVariants> & {
|
|
64
|
+
text: string;
|
|
65
|
+
value: string;
|
|
66
|
+
};
|
|
67
|
+
type StatusMenuProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof statusVariants> & {
|
|
68
|
+
options: StatusOption[];
|
|
69
|
+
value: string;
|
|
70
|
+
onChange?: (value: string) => void;
|
|
71
|
+
};
|
|
72
|
+
declare const Status: Partial<StatusSimpleProps> & {
|
|
73
|
+
Menu: React.ForwardRefExoticComponent<StatusMenuProps>;
|
|
74
|
+
};
|
|
75
|
+
export default Status;
|
|
76
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA+BlB,CAAC;AAEH,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAC3D,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAyBJ,KAAK,YAAY,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACzD,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;AA6BJ,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,115 @@
|
|
|
1
|
+
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const TextVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
size: {
|
|
5
|
+
H1: string;
|
|
6
|
+
H2: string;
|
|
7
|
+
H3: string;
|
|
8
|
+
large: string;
|
|
9
|
+
base: string;
|
|
10
|
+
small: string;
|
|
11
|
+
overline: string;
|
|
12
|
+
};
|
|
13
|
+
weight: {
|
|
14
|
+
normal: string;
|
|
15
|
+
medium: string;
|
|
16
|
+
semibold: string;
|
|
17
|
+
};
|
|
18
|
+
}, undefined, "", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
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
|
+
}>, {
|
|
49
|
+
size: {
|
|
50
|
+
H1: string;
|
|
51
|
+
H2: string;
|
|
52
|
+
H3: string;
|
|
53
|
+
large: string;
|
|
54
|
+
base: string;
|
|
55
|
+
small: string;
|
|
56
|
+
overline: string;
|
|
57
|
+
};
|
|
58
|
+
weight: {
|
|
59
|
+
normal: string;
|
|
60
|
+
medium: string;
|
|
61
|
+
semibold: string;
|
|
62
|
+
};
|
|
63
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
64
|
+
size: {
|
|
65
|
+
H1: string;
|
|
66
|
+
H2: string;
|
|
67
|
+
H3: string;
|
|
68
|
+
large: string;
|
|
69
|
+
base: string;
|
|
70
|
+
small: string;
|
|
71
|
+
overline: string;
|
|
72
|
+
};
|
|
73
|
+
weight: {
|
|
74
|
+
normal: string;
|
|
75
|
+
medium: string;
|
|
76
|
+
semibold: string;
|
|
77
|
+
};
|
|
78
|
+
}, undefined, "", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
79
|
+
size: {
|
|
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>;
|
|
110
|
+
declare const Text: {
|
|
111
|
+
({ className, size, weight, children, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
112
|
+
displayName: string;
|
|
113
|
+
};
|
|
114
|
+
export default Text;
|
|
115
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAsBhB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,eAAe,CAAC,GACrD,iBAAiB,GACjB,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAEpC,QAAA,MAAM,IAAI;sDAAqD,SAAS;;CAMvE,CAAC;AAGF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
3
|
+
invalid?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
6
|
+
invalid?: boolean;
|
|
7
|
+
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
8
|
+
export default Textarea;
|
|
9
|
+
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../src/ui/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,MAAM,aAAa,GACvB,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE5E,QAAA,MAAM,QAAQ;cAFoD,OAAO;6CAcxE,CAAC;AAGF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
export type ToggleProps = HTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
name: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
} & PropsWithChildren;
|
|
6
|
+
declare const Toggle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & {
|
|
7
|
+
name: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
children?: import("react").ReactNode | undefined;
|
|
11
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
|
+
export default Toggle;
|
|
13
|
+
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../src/ui/toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAe/D,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,iBAAiB,CAAC;AAEtB,QAAA,MAAM,MAAM;UAJJ,MAAM;eACD,OAAO;;;oDAsBnB,CAAC;AAIF,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
package/dist/Alert/Alert.d.ts
DELETED
package/dist/Alert/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Alert, AlertProps } from './Alert';
|