@dito-uai/components 5.0.0-alpha31 → 5.0.0-alpha31.0
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/global.css +1 -1
- package/dist/index.cjs +38 -34
- package/dist/index.d.cts +226 -1
- package/dist/index.d.ts +226 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -12
- package/dist/lib/css-util.d.ts +3 -0
- package/dist/lib/css-util.d.ts.map +1 -0
- package/dist/ui/alert.d.ts +209 -0
- package/dist/ui/alert.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/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/tabs.d.ts +22 -0
- package/dist/ui/tabs.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 +21 -25
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkElB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GACrE,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC1B,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAJE,OAAO;WACV,KAAK,CAAC,WAAW;2CAqC3B,CAAC;AAGF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const cardVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
variant: {
|
|
5
|
+
default: string;
|
|
6
|
+
big: string;
|
|
7
|
+
small: string;
|
|
8
|
+
};
|
|
9
|
+
direction: {
|
|
10
|
+
col: string;
|
|
11
|
+
row: string;
|
|
12
|
+
};
|
|
13
|
+
padding: {
|
|
14
|
+
none: string;
|
|
15
|
+
small: string;
|
|
16
|
+
medium: string;
|
|
17
|
+
big: string;
|
|
18
|
+
};
|
|
19
|
+
}, undefined, "flex w-full border border-gray-200 bg-white p-2", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
20
|
+
variant: {
|
|
21
|
+
default: string;
|
|
22
|
+
big: string;
|
|
23
|
+
small: string;
|
|
24
|
+
};
|
|
25
|
+
direction: {
|
|
26
|
+
col: string;
|
|
27
|
+
row: string;
|
|
28
|
+
};
|
|
29
|
+
padding: {
|
|
30
|
+
none: string;
|
|
31
|
+
small: string;
|
|
32
|
+
medium: string;
|
|
33
|
+
big: string;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
variant: {
|
|
37
|
+
default: string;
|
|
38
|
+
big: string;
|
|
39
|
+
small: string;
|
|
40
|
+
};
|
|
41
|
+
direction: {
|
|
42
|
+
col: string;
|
|
43
|
+
row: string;
|
|
44
|
+
};
|
|
45
|
+
padding: {
|
|
46
|
+
none: string;
|
|
47
|
+
small: string;
|
|
48
|
+
medium: string;
|
|
49
|
+
big: string;
|
|
50
|
+
};
|
|
51
|
+
}>, {
|
|
52
|
+
variant: {
|
|
53
|
+
default: string;
|
|
54
|
+
big: string;
|
|
55
|
+
small: string;
|
|
56
|
+
};
|
|
57
|
+
direction: {
|
|
58
|
+
col: string;
|
|
59
|
+
row: string;
|
|
60
|
+
};
|
|
61
|
+
padding: {
|
|
62
|
+
none: string;
|
|
63
|
+
small: string;
|
|
64
|
+
medium: string;
|
|
65
|
+
big: string;
|
|
66
|
+
};
|
|
67
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
68
|
+
variant: {
|
|
69
|
+
default: string;
|
|
70
|
+
big: string;
|
|
71
|
+
small: string;
|
|
72
|
+
};
|
|
73
|
+
direction: {
|
|
74
|
+
col: string;
|
|
75
|
+
row: string;
|
|
76
|
+
};
|
|
77
|
+
padding: {
|
|
78
|
+
none: string;
|
|
79
|
+
small: string;
|
|
80
|
+
medium: string;
|
|
81
|
+
big: string;
|
|
82
|
+
};
|
|
83
|
+
}, undefined, "flex w-full border border-gray-200 bg-white p-2", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
84
|
+
variant: {
|
|
85
|
+
default: string;
|
|
86
|
+
big: string;
|
|
87
|
+
small: string;
|
|
88
|
+
};
|
|
89
|
+
direction: {
|
|
90
|
+
col: string;
|
|
91
|
+
row: string;
|
|
92
|
+
};
|
|
93
|
+
padding: {
|
|
94
|
+
none: string;
|
|
95
|
+
small: string;
|
|
96
|
+
medium: string;
|
|
97
|
+
big: string;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
variant: {
|
|
101
|
+
default: string;
|
|
102
|
+
big: string;
|
|
103
|
+
small: string;
|
|
104
|
+
};
|
|
105
|
+
direction: {
|
|
106
|
+
col: string;
|
|
107
|
+
row: string;
|
|
108
|
+
};
|
|
109
|
+
padding: {
|
|
110
|
+
none: string;
|
|
111
|
+
small: string;
|
|
112
|
+
medium: string;
|
|
113
|
+
big: string;
|
|
114
|
+
};
|
|
115
|
+
}>, unknown, unknown, undefined>>;
|
|
116
|
+
export type CardProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren & VariantProps<typeof cardVariants>;
|
|
117
|
+
declare const Card: {
|
|
118
|
+
({ className, variant, direction, padding, children, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
119
|
+
displayName: string;
|
|
120
|
+
};
|
|
121
|
+
export default Card;
|
|
122
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/ui/card.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwBhB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,cAAc,CAAC,GACpD,iBAAiB,GACjB,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAEpC,QAAA,MAAM,IAAI;qEAOP,SAAS;;CASX,CAAC;AAGF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
export default Checkbox;
|
|
4
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B,QAAA,MAAM,QAAQ,kLA4BZ,CAAC;AAIH,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
declare const chipsVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
small: {
|
|
7
|
+
container: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
};
|
|
10
|
+
medium: {
|
|
11
|
+
container: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
border: {
|
|
16
|
+
true: {
|
|
17
|
+
container: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
};
|
|
20
|
+
false: {
|
|
21
|
+
container: string;
|
|
22
|
+
icon: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
active: {
|
|
26
|
+
true: {
|
|
27
|
+
container: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
container: string;
|
|
33
|
+
icon: string;
|
|
34
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
35
|
+
size: {
|
|
36
|
+
small: {
|
|
37
|
+
container: string;
|
|
38
|
+
icon: string;
|
|
39
|
+
};
|
|
40
|
+
medium: {
|
|
41
|
+
container: string;
|
|
42
|
+
icon: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
border: {
|
|
46
|
+
true: {
|
|
47
|
+
container: string;
|
|
48
|
+
icon: string;
|
|
49
|
+
};
|
|
50
|
+
false: {
|
|
51
|
+
container: string;
|
|
52
|
+
icon: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
active: {
|
|
56
|
+
true: {
|
|
57
|
+
container: string;
|
|
58
|
+
icon: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
}, {
|
|
62
|
+
size: {
|
|
63
|
+
small: {
|
|
64
|
+
container: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
};
|
|
67
|
+
medium: {
|
|
68
|
+
container: string;
|
|
69
|
+
icon: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
border: {
|
|
73
|
+
true: {
|
|
74
|
+
container: string;
|
|
75
|
+
icon: string;
|
|
76
|
+
};
|
|
77
|
+
false: {
|
|
78
|
+
container: string;
|
|
79
|
+
icon: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
active: {
|
|
83
|
+
true: {
|
|
84
|
+
container: string;
|
|
85
|
+
icon: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}>, {
|
|
89
|
+
size: {
|
|
90
|
+
small: {
|
|
91
|
+
container: string;
|
|
92
|
+
icon: string;
|
|
93
|
+
};
|
|
94
|
+
medium: {
|
|
95
|
+
container: string;
|
|
96
|
+
icon: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
border: {
|
|
100
|
+
true: {
|
|
101
|
+
container: string;
|
|
102
|
+
icon: string;
|
|
103
|
+
};
|
|
104
|
+
false: {
|
|
105
|
+
container: string;
|
|
106
|
+
icon: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
active: {
|
|
110
|
+
true: {
|
|
111
|
+
container: string;
|
|
112
|
+
icon: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}, {
|
|
116
|
+
container: string;
|
|
117
|
+
icon: string;
|
|
118
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
119
|
+
size: {
|
|
120
|
+
small: {
|
|
121
|
+
container: string;
|
|
122
|
+
icon: string;
|
|
123
|
+
};
|
|
124
|
+
medium: {
|
|
125
|
+
container: string;
|
|
126
|
+
icon: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
border: {
|
|
130
|
+
true: {
|
|
131
|
+
container: string;
|
|
132
|
+
icon: string;
|
|
133
|
+
};
|
|
134
|
+
false: {
|
|
135
|
+
container: string;
|
|
136
|
+
icon: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
active: {
|
|
140
|
+
true: {
|
|
141
|
+
container: string;
|
|
142
|
+
icon: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
}, {
|
|
146
|
+
container: string;
|
|
147
|
+
icon: string;
|
|
148
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
149
|
+
size: {
|
|
150
|
+
small: {
|
|
151
|
+
container: string;
|
|
152
|
+
icon: string;
|
|
153
|
+
};
|
|
154
|
+
medium: {
|
|
155
|
+
container: string;
|
|
156
|
+
icon: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
border: {
|
|
160
|
+
true: {
|
|
161
|
+
container: string;
|
|
162
|
+
icon: string;
|
|
163
|
+
};
|
|
164
|
+
false: {
|
|
165
|
+
container: string;
|
|
166
|
+
icon: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
active: {
|
|
170
|
+
true: {
|
|
171
|
+
container: string;
|
|
172
|
+
icon: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
}, {
|
|
176
|
+
size: {
|
|
177
|
+
small: {
|
|
178
|
+
container: string;
|
|
179
|
+
icon: string;
|
|
180
|
+
};
|
|
181
|
+
medium: {
|
|
182
|
+
container: string;
|
|
183
|
+
icon: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
border: {
|
|
187
|
+
true: {
|
|
188
|
+
container: string;
|
|
189
|
+
icon: string;
|
|
190
|
+
};
|
|
191
|
+
false: {
|
|
192
|
+
container: string;
|
|
193
|
+
icon: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
active: {
|
|
197
|
+
true: {
|
|
198
|
+
container: string;
|
|
199
|
+
icon: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
}>, unknown, unknown, undefined>>;
|
|
203
|
+
export type ChipsProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof chipsVariants> & {
|
|
204
|
+
asChild?: boolean;
|
|
205
|
+
icon?: React.ElementType;
|
|
206
|
+
text: string;
|
|
207
|
+
value?: string;
|
|
208
|
+
onClose?: (value?: string) => void;
|
|
209
|
+
};
|
|
210
|
+
declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<import("tailwind-variants").TVReturnType<{
|
|
211
|
+
size: {
|
|
212
|
+
small: {
|
|
213
|
+
container: string;
|
|
214
|
+
icon: string;
|
|
215
|
+
};
|
|
216
|
+
medium: {
|
|
217
|
+
container: string;
|
|
218
|
+
icon: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
border: {
|
|
222
|
+
true: {
|
|
223
|
+
container: string;
|
|
224
|
+
icon: string;
|
|
225
|
+
};
|
|
226
|
+
false: {
|
|
227
|
+
container: string;
|
|
228
|
+
icon: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
active: {
|
|
232
|
+
true: {
|
|
233
|
+
container: string;
|
|
234
|
+
icon: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
}, {
|
|
238
|
+
container: string;
|
|
239
|
+
icon: string;
|
|
240
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
241
|
+
size: {
|
|
242
|
+
small: {
|
|
243
|
+
container: string;
|
|
244
|
+
icon: string;
|
|
245
|
+
};
|
|
246
|
+
medium: {
|
|
247
|
+
container: string;
|
|
248
|
+
icon: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
border: {
|
|
252
|
+
true: {
|
|
253
|
+
container: string;
|
|
254
|
+
icon: string;
|
|
255
|
+
};
|
|
256
|
+
false: {
|
|
257
|
+
container: string;
|
|
258
|
+
icon: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
active: {
|
|
262
|
+
true: {
|
|
263
|
+
container: string;
|
|
264
|
+
icon: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
size: {
|
|
269
|
+
small: {
|
|
270
|
+
container: string;
|
|
271
|
+
icon: string;
|
|
272
|
+
};
|
|
273
|
+
medium: {
|
|
274
|
+
container: string;
|
|
275
|
+
icon: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
border: {
|
|
279
|
+
true: {
|
|
280
|
+
container: string;
|
|
281
|
+
icon: string;
|
|
282
|
+
};
|
|
283
|
+
false: {
|
|
284
|
+
container: string;
|
|
285
|
+
icon: string;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
active: {
|
|
289
|
+
true: {
|
|
290
|
+
container: string;
|
|
291
|
+
icon: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
}>, {
|
|
295
|
+
size: {
|
|
296
|
+
small: {
|
|
297
|
+
container: string;
|
|
298
|
+
icon: string;
|
|
299
|
+
};
|
|
300
|
+
medium: {
|
|
301
|
+
container: string;
|
|
302
|
+
icon: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
border: {
|
|
306
|
+
true: {
|
|
307
|
+
container: string;
|
|
308
|
+
icon: string;
|
|
309
|
+
};
|
|
310
|
+
false: {
|
|
311
|
+
container: string;
|
|
312
|
+
icon: string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
active: {
|
|
316
|
+
true: {
|
|
317
|
+
container: string;
|
|
318
|
+
icon: string;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
container: string;
|
|
323
|
+
icon: string;
|
|
324
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
325
|
+
size: {
|
|
326
|
+
small: {
|
|
327
|
+
container: string;
|
|
328
|
+
icon: string;
|
|
329
|
+
};
|
|
330
|
+
medium: {
|
|
331
|
+
container: string;
|
|
332
|
+
icon: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
border: {
|
|
336
|
+
true: {
|
|
337
|
+
container: string;
|
|
338
|
+
icon: string;
|
|
339
|
+
};
|
|
340
|
+
false: {
|
|
341
|
+
container: string;
|
|
342
|
+
icon: string;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
active: {
|
|
346
|
+
true: {
|
|
347
|
+
container: string;
|
|
348
|
+
icon: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
}, {
|
|
352
|
+
container: string;
|
|
353
|
+
icon: string;
|
|
354
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
355
|
+
size: {
|
|
356
|
+
small: {
|
|
357
|
+
container: string;
|
|
358
|
+
icon: string;
|
|
359
|
+
};
|
|
360
|
+
medium: {
|
|
361
|
+
container: string;
|
|
362
|
+
icon: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
border: {
|
|
366
|
+
true: {
|
|
367
|
+
container: string;
|
|
368
|
+
icon: string;
|
|
369
|
+
};
|
|
370
|
+
false: {
|
|
371
|
+
container: string;
|
|
372
|
+
icon: string;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
active: {
|
|
376
|
+
true: {
|
|
377
|
+
container: string;
|
|
378
|
+
icon: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
}, {
|
|
382
|
+
size: {
|
|
383
|
+
small: {
|
|
384
|
+
container: string;
|
|
385
|
+
icon: string;
|
|
386
|
+
};
|
|
387
|
+
medium: {
|
|
388
|
+
container: string;
|
|
389
|
+
icon: string;
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
border: {
|
|
393
|
+
true: {
|
|
394
|
+
container: string;
|
|
395
|
+
icon: string;
|
|
396
|
+
};
|
|
397
|
+
false: {
|
|
398
|
+
container: string;
|
|
399
|
+
icon: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
active: {
|
|
403
|
+
true: {
|
|
404
|
+
container: string;
|
|
405
|
+
icon: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
}>, unknown, unknown, undefined>>> & {
|
|
409
|
+
asChild?: boolean;
|
|
410
|
+
icon?: React.ElementType;
|
|
411
|
+
text: string;
|
|
412
|
+
value?: string;
|
|
413
|
+
onClose?: (value?: string) => void;
|
|
414
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
415
|
+
export default Chips;
|
|
416
|
+
//# sourceMappingURL=chips.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chips.d.ts","sourceRoot":"","sources":["../../src/ui/chips.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMrD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAuCjB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GACrD,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEJ,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAPG,OAAO;WACV,KAAK,CAAC,WAAW;UAClB,MAAM;YACJ,MAAM;cACJ,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI;wCA4CrC,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
3
|
+
declare const Collapsible: {
|
|
4
|
+
Item: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Trigger: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
6
|
+
triggerClassName?: string;
|
|
7
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
Content: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
};
|
|
10
|
+
export default Collapsible;
|
|
11
|
+
//# sourceMappingURL=collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../src/ui/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AA+DpE,QAAA,MAAM,WAAW;;;2BA1BM,MAAM;;;CA8B5B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { LabelProps } from './label';
|
|
3
|
+
import { InputDescriptionProps } from './input-description';
|
|
4
|
+
export type FormItem = HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
label: LabelProps;
|
|
6
|
+
description: InputDescriptionProps;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
value?: string;
|
|
11
|
+
maxLength?: number;
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
declare const FormItem: ({ id, className, label, description, errorMessage, invalid, children, disabled, value, maxLength, ...props }: FormItem) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default FormItem;
|
|
16
|
+
//# sourceMappingURL=form-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["../../src/ui/form-item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAyB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAG9E,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACtD,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,qBAAqB,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,QAAA,MAAM,QAAQ,iHAYX,QAAQ,4CAqBV,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/ui/form.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const Indicator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<import("tailwind-variants").TVReturnType<{
|
|
4
|
+
status: {
|
|
5
|
+
positive: string;
|
|
6
|
+
negative: string;
|
|
7
|
+
neutral: string;
|
|
8
|
+
info: string;
|
|
9
|
+
};
|
|
10
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
11
|
+
status: {
|
|
12
|
+
positive: string;
|
|
13
|
+
negative: string;
|
|
14
|
+
neutral: string;
|
|
15
|
+
info: string;
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
status: {
|
|
19
|
+
positive: string;
|
|
20
|
+
negative: string;
|
|
21
|
+
neutral: string;
|
|
22
|
+
info: string;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
status: {
|
|
26
|
+
positive: string;
|
|
27
|
+
negative: string;
|
|
28
|
+
neutral: string;
|
|
29
|
+
info: string;
|
|
30
|
+
};
|
|
31
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
32
|
+
status: {
|
|
33
|
+
positive: string;
|
|
34
|
+
negative: string;
|
|
35
|
+
neutral: string;
|
|
36
|
+
info: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
39
|
+
status: {
|
|
40
|
+
positive: string;
|
|
41
|
+
negative: string;
|
|
42
|
+
neutral: string;
|
|
43
|
+
info: string;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
status: {
|
|
47
|
+
positive: string;
|
|
48
|
+
negative: string;
|
|
49
|
+
neutral: string;
|
|
50
|
+
info: string;
|
|
51
|
+
};
|
|
52
|
+
}>, unknown, unknown, undefined>>> & {
|
|
53
|
+
value: string;
|
|
54
|
+
icon?: "positive" | "neutral" | "negative";
|
|
55
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
export default Indicator;
|
|
57
|
+
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator.d.ts","sourceRoot":"","sources":["../../src/ui/indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAyBrD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAJJ,MAAM;WACN,UAAU,GAAG,SAAS,GAAG,UAAU;wCAwB7C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|