@dito-uai/components 5.0.0-alpha1

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.
Files changed (57) hide show
  1. package/README.md +1 -0
  2. package/dist/global.css +1 -0
  3. package/dist/index.cjs +62 -0
  4. package/dist/index.d.ts +19 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +22 -0
  7. package/dist/lib/colors-utils.d.ts +88 -0
  8. package/dist/lib/colors-utils.d.ts.map +1 -0
  9. package/dist/lib/css-util.d.ts +3 -0
  10. package/dist/lib/css-util.d.ts.map +1 -0
  11. package/dist/ui/avatar.d.ts +221 -0
  12. package/dist/ui/avatar.d.ts.map +1 -0
  13. package/dist/ui/badge.d.ts +264 -0
  14. package/dist/ui/badge.d.ts.map +1 -0
  15. package/dist/ui/button.d.ts +765 -0
  16. package/dist/ui/button.d.ts.map +1 -0
  17. package/dist/ui/card.d.ts +122 -0
  18. package/dist/ui/card.d.ts.map +1 -0
  19. package/dist/ui/checkbox.d.ts +4 -0
  20. package/dist/ui/checkbox.d.ts.map +1 -0
  21. package/dist/ui/chips.d.ts +416 -0
  22. package/dist/ui/chips.d.ts.map +1 -0
  23. package/dist/ui/form-item.d.ts +16 -0
  24. package/dist/ui/form-item.d.ts.map +1 -0
  25. package/dist/ui/form.d.ts +1 -0
  26. package/dist/ui/form.d.ts.map +1 -0
  27. package/dist/ui/indicator.d.ts +57 -0
  28. package/dist/ui/indicator.d.ts.map +1 -0
  29. package/dist/ui/input-description.d.ts +66 -0
  30. package/dist/ui/input-description.d.ts.map +1 -0
  31. package/dist/ui/input.d.ts +209 -0
  32. package/dist/ui/input.d.ts.map +1 -0
  33. package/dist/ui/internal/dropdown-content.d.ts +12 -0
  34. package/dist/ui/internal/dropdown-content.d.ts.map +1 -0
  35. package/dist/ui/label.d.ts +43 -0
  36. package/dist/ui/label.d.ts.map +1 -0
  37. package/dist/ui/progress-bar.d.ts +9 -0
  38. package/dist/ui/progress-bar.d.ts.map +1 -0
  39. package/dist/ui/progress.d.ts +57 -0
  40. package/dist/ui/progress.d.ts.map +1 -0
  41. package/dist/ui/radio.d.ts +10 -0
  42. package/dist/ui/radio.d.ts.map +1 -0
  43. package/dist/ui/scope.d.ts +209 -0
  44. package/dist/ui/scope.d.ts.map +1 -0
  45. package/dist/ui/search.d.ts +199 -0
  46. package/dist/ui/search.d.ts.map +1 -0
  47. package/dist/ui/sheets.d.ts +15 -0
  48. package/dist/ui/sheets.d.ts.map +1 -0
  49. package/dist/ui/status.d.ts +76 -0
  50. package/dist/ui/status.d.ts.map +1 -0
  51. package/dist/ui/text.d.ts +115 -0
  52. package/dist/ui/text.d.ts.map +1 -0
  53. package/dist/ui/textarea.d.ts +9 -0
  54. package/dist/ui/textarea.d.ts.map +1 -0
  55. package/dist/ui/toggle.d.ts +13 -0
  56. package/dist/ui/toggle.d.ts.map +1 -0
  57. package/package.json +89 -0
@@ -0,0 +1,66 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ declare const inputDescriptionVariants: import("tailwind-variants").TVReturnType<{
4
+ invalid: {
5
+ true: {
6
+ text: string;
7
+ };
8
+ };
9
+ }, {
10
+ text: string;
11
+ counter: string;
12
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
13
+ invalid: {
14
+ true: {
15
+ text: string;
16
+ };
17
+ };
18
+ }, {
19
+ invalid: {
20
+ true: {
21
+ text: string;
22
+ };
23
+ };
24
+ }>, {
25
+ invalid: {
26
+ true: {
27
+ text: string;
28
+ };
29
+ };
30
+ }, {
31
+ text: string;
32
+ counter: string;
33
+ }, import("tailwind-variants").TVReturnType<{
34
+ invalid: {
35
+ true: {
36
+ text: string;
37
+ };
38
+ };
39
+ }, {
40
+ text: string;
41
+ counter: string;
42
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
43
+ invalid: {
44
+ true: {
45
+ text: string;
46
+ };
47
+ };
48
+ }, {
49
+ invalid: {
50
+ true: {
51
+ text: string;
52
+ };
53
+ };
54
+ }>, unknown, unknown, undefined>>;
55
+ export type InputDescriptionProps = React.InputHTMLAttributes<HTMLInputElement> & VariantProps<typeof inputDescriptionVariants> & {
56
+ text?: string;
57
+ counter?: boolean;
58
+ invalid?: boolean;
59
+ valueLength?: number;
60
+ };
61
+ declare const InputDescription: {
62
+ ({ className, text, counter, maxLength, invalid, valueLength, ...props }: InputDescriptionProps): import("react/jsx-runtime").JSX.Element;
63
+ displayName: string;
64
+ };
65
+ export default InputDescription;
66
+ //# sourceMappingURL=input-description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-description.d.ts","sourceRoot":"","sources":["../../src/ui/input-description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAErD,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAa5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAC/B,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GACzC,YAAY,CAAC,OAAO,wBAAwB,CAAC,GAAG;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEN,QAAA,MAAM,gBAAgB;8EAQnB,qBAAqB;;CAevB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,209 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { LabelProps } from './label';
4
+ import { InputDescriptionProps } from './input-description';
5
+ import { SearchProps } from './search';
6
+ export declare const inputVariants: import("tailwind-variants").TVReturnType<{
7
+ disabled: {
8
+ true: {
9
+ input: string;
10
+ prefixIcon: string;
11
+ suffixIcon: string;
12
+ };
13
+ };
14
+ invalid: {
15
+ true: {
16
+ input: string;
17
+ };
18
+ };
19
+ size: {
20
+ medium: {
21
+ prefixIcon: string;
22
+ suffixIcon: string;
23
+ input: string;
24
+ };
25
+ small: {
26
+ prefixIcon: string;
27
+ suffixIcon: string;
28
+ input: string;
29
+ };
30
+ };
31
+ }, {
32
+ prefixIcon: string;
33
+ input: string;
34
+ suffixIcon: string;
35
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
36
+ disabled: {
37
+ true: {
38
+ input: string;
39
+ prefixIcon: string;
40
+ suffixIcon: string;
41
+ };
42
+ };
43
+ invalid: {
44
+ true: {
45
+ input: string;
46
+ };
47
+ };
48
+ size: {
49
+ medium: {
50
+ prefixIcon: string;
51
+ suffixIcon: string;
52
+ input: string;
53
+ };
54
+ small: {
55
+ prefixIcon: string;
56
+ suffixIcon: string;
57
+ input: string;
58
+ };
59
+ };
60
+ }, {
61
+ disabled: {
62
+ true: {
63
+ input: string;
64
+ prefixIcon: string;
65
+ suffixIcon: string;
66
+ };
67
+ };
68
+ invalid: {
69
+ true: {
70
+ input: string;
71
+ };
72
+ };
73
+ size: {
74
+ medium: {
75
+ prefixIcon: string;
76
+ suffixIcon: string;
77
+ input: string;
78
+ };
79
+ small: {
80
+ prefixIcon: string;
81
+ suffixIcon: string;
82
+ input: string;
83
+ };
84
+ };
85
+ }>, {
86
+ disabled: {
87
+ true: {
88
+ input: string;
89
+ prefixIcon: string;
90
+ suffixIcon: string;
91
+ };
92
+ };
93
+ invalid: {
94
+ true: {
95
+ input: string;
96
+ };
97
+ };
98
+ size: {
99
+ medium: {
100
+ prefixIcon: string;
101
+ suffixIcon: string;
102
+ input: string;
103
+ };
104
+ small: {
105
+ prefixIcon: string;
106
+ suffixIcon: string;
107
+ input: string;
108
+ };
109
+ };
110
+ }, {
111
+ prefixIcon: string;
112
+ input: string;
113
+ suffixIcon: string;
114
+ }, import("tailwind-variants").TVReturnType<{
115
+ disabled: {
116
+ true: {
117
+ input: string;
118
+ prefixIcon: string;
119
+ suffixIcon: string;
120
+ };
121
+ };
122
+ invalid: {
123
+ true: {
124
+ input: string;
125
+ };
126
+ };
127
+ size: {
128
+ medium: {
129
+ prefixIcon: string;
130
+ suffixIcon: string;
131
+ input: string;
132
+ };
133
+ small: {
134
+ prefixIcon: string;
135
+ suffixIcon: string;
136
+ input: string;
137
+ };
138
+ };
139
+ }, {
140
+ prefixIcon: string;
141
+ input: string;
142
+ suffixIcon: string;
143
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
144
+ disabled: {
145
+ true: {
146
+ input: string;
147
+ prefixIcon: string;
148
+ suffixIcon: string;
149
+ };
150
+ };
151
+ invalid: {
152
+ true: {
153
+ input: string;
154
+ };
155
+ };
156
+ size: {
157
+ medium: {
158
+ prefixIcon: string;
159
+ suffixIcon: string;
160
+ input: string;
161
+ };
162
+ small: {
163
+ prefixIcon: string;
164
+ suffixIcon: string;
165
+ input: string;
166
+ };
167
+ };
168
+ }, {
169
+ disabled: {
170
+ true: {
171
+ input: string;
172
+ prefixIcon: string;
173
+ suffixIcon: string;
174
+ };
175
+ };
176
+ invalid: {
177
+ true: {
178
+ input: string;
179
+ };
180
+ };
181
+ size: {
182
+ medium: {
183
+ prefixIcon: string;
184
+ suffixIcon: string;
185
+ input: string;
186
+ };
187
+ small: {
188
+ prefixIcon: string;
189
+ suffixIcon: string;
190
+ input: string;
191
+ };
192
+ };
193
+ }>, unknown, unknown, undefined>>;
194
+ export type InputProps = React.InputHTMLAttributes<HTMLInputElement> & VariantProps<typeof inputVariants> & {
195
+ id?: string;
196
+ value?: string;
197
+ defaultValue?: string;
198
+ prefixIcon?: React.ElementType;
199
+ suffixIcon?: React.ElementType;
200
+ invalid?: boolean;
201
+ };
202
+ declare const Input: {
203
+ Label: React.JSXElementConstructor<LabelProps>;
204
+ Text: React.JSXElementConstructor<InputProps>;
205
+ Description: React.JSXElementConstructor<InputDescriptionProps>;
206
+ Search: React.ForwardRefExoticComponent<SearchProps>;
207
+ };
208
+ export default Input;
209
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAyB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAqCxB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAClE,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC/B,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAuCJ,QAAA,MAAM,KAAK,EAAE;IACX,KAAK,EAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAC/C,IAAI,EAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAC9C,WAAW,EAAE,KAAK,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,CAAC;IAChE,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,WAAW,CAAC,CAAC;CAMtD,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,12 @@
1
+ export type DropdownProps = {
2
+ options: {
3
+ text: string;
4
+ value: string;
5
+ }[];
6
+ selected?: string;
7
+ onChange?: (value: string) => void;
8
+ className?: string;
9
+ };
10
+ declare const DropdownContent: ({ options, selected, onChange, className, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
11
+ export { DropdownContent };
12
+ //# sourceMappingURL=dropdown-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-content.d.ts","sourceRoot":"","sources":["../../../src/ui/internal/dropdown-content.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,eAAe,gDAKlB,aAAa,4CAuBf,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { HTMLAttributes } from 'react';
4
+ declare const labelVariants: import("tailwind-variants").TVReturnType<{
5
+ invalid: {
6
+ true: string;
7
+ };
8
+ }, undefined, "text-navy-600 text-base font-medium", import("tailwind-variants/dist/config.js").TVConfig<{
9
+ invalid: {
10
+ true: string;
11
+ };
12
+ }, {
13
+ invalid: {
14
+ true: string;
15
+ };
16
+ }>, {
17
+ invalid: {
18
+ true: string;
19
+ };
20
+ }, undefined, import("tailwind-variants").TVReturnType<{
21
+ invalid: {
22
+ true: string;
23
+ };
24
+ }, undefined, "text-navy-600 text-base font-medium", import("tailwind-variants/dist/config.js").TVConfig<{
25
+ invalid: {
26
+ true: string;
27
+ };
28
+ }, {
29
+ invalid: {
30
+ true: string;
31
+ };
32
+ }>, unknown, unknown, undefined>>;
33
+ export type LabelProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof labelVariants> & {
34
+ text?: string;
35
+ suffix?: React.ElementType;
36
+ htmlFor?: string;
37
+ };
38
+ declare const Label: {
39
+ ({ className, text, suffix: Suffix, invalid, htmlFor, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
40
+ displayName: string;
41
+ };
42
+ export default Label;
43
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAOjB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,eAAe,CAAC,GACtD,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEJ,QAAA,MAAM,KAAK;sEAOR,UAAU;;CAUZ,CAAC;AAIF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ type ProgressBarProps = React.HTMLAttributes<HTMLDivElement> & {
3
+ value: number;
4
+ barBg: string;
5
+ progressBg: string;
6
+ };
7
+ declare const ProgressBar: React.FC<ProgressBarProps>;
8
+ export default ProgressBar;
9
+ //# sourceMappingURL=progress-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-bar.d.ts","sourceRoot":"","sources":["../../src/ui/progress-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2B3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,57 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ declare const progressVariants: import("tailwind-variants").TVReturnType<{
4
+ bg: {
5
+ indigo: string;
6
+ white: string;
7
+ };
8
+ }, undefined, "text-midnight-blue-600", import("tailwind-variants/dist/config.js").TVConfig<{
9
+ bg: {
10
+ indigo: string;
11
+ white: string;
12
+ };
13
+ }, {
14
+ bg: {
15
+ indigo: string;
16
+ white: string;
17
+ };
18
+ }>, {
19
+ bg: {
20
+ indigo: string;
21
+ white: string;
22
+ };
23
+ }, undefined, import("tailwind-variants").TVReturnType<{
24
+ bg: {
25
+ indigo: string;
26
+ white: string;
27
+ };
28
+ }, undefined, "text-midnight-blue-600", import("tailwind-variants/dist/config.js").TVConfig<{
29
+ bg: {
30
+ indigo: string;
31
+ white: string;
32
+ };
33
+ }, {
34
+ bg: {
35
+ indigo: string;
36
+ white: string;
37
+ };
38
+ }>, unknown, unknown, undefined>>;
39
+ type CommonProps = {
40
+ value: number;
41
+ };
42
+ type IndicatorProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
43
+ withBar?: boolean;
44
+ };
45
+ type CircleProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
46
+ Icon?: React.ElementType;
47
+ };
48
+ type ExpandedProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
49
+ text: React.ReactNode | string;
50
+ };
51
+ declare const Progress: {
52
+ Indicator: React.ForwardRefExoticComponent<IndicatorProps>;
53
+ Circle: React.ForwardRefExoticComponent<CircleProps>;
54
+ Expanded: React.ForwardRefExoticComponent<ExpandedProps>;
55
+ };
56
+ export default Progress;
57
+ //# sourceMappingURL=progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAOrD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAQpB,CAAC;AAEH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACxD,YAAY,CAAC,OAAO,gBAAgB,CAAC,GACrC,WAAW,GAAG;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA0BJ,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACrD,YAAY,CAAC,OAAO,gBAAgB,CAAC,GACrC,WAAW,GAAG;IACZ,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC1B,CAAC;AAyCJ,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACvD,YAAY,CAAC,OAAO,gBAAgB,CAAC,GACrC,WAAW,GAAG;IACZ,IAAI,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;CAChC,CAAC;AA4BJ,QAAA,MAAM,QAAQ,EAAE;IACd,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,cAAc,CAAC,CAAC;IAC3D,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,yBAAyB,CAAC,aAAa,CAAC,CAAC;CAK1D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ type GroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
4
+ type ItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
5
+ declare const Radio: {
6
+ Group: React.ForwardRefExoticComponent<GroupProps>;
7
+ Item: React.ForwardRefExoticComponent<ItemProps>;
8
+ };
9
+ export default Radio;
10
+ //# sourceMappingURL=radio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../src/ui/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAKnE,KAAK,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAC9C,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAiBF,KAAK,SAAS,GAAG,KAAK,CAAC,wBAAwB,CAC7C,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAqBF,QAAA,MAAM,KAAK,EAAE;IACX,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC;IACnD,IAAI,EAAE,KAAK,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC;CAIlD,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAiFjB,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"}