@dito-uai/components 5.1.0-alpha.7 → 5.1.0-alpha.70

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 (84) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +42 -1
  3. package/dist/global.css +1 -1
  4. package/dist/index.cjs +81 -40
  5. package/dist/index.d.cts +1537 -843
  6. package/dist/index.d.ts +64 -2240
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +24 -15
  9. package/dist/ui/alert.d.ts +23 -33
  10. package/dist/ui/alert.d.ts.map +1 -1
  11. package/dist/ui/avatar.d.ts +4 -124
  12. package/dist/ui/avatar.d.ts.map +1 -1
  13. package/dist/ui/badge.d.ts +4 -148
  14. package/dist/ui/badge.d.ts.map +1 -1
  15. package/dist/ui/button.d.ts +166 -316
  16. package/dist/ui/button.d.ts.map +1 -1
  17. package/dist/ui/card.d.ts +2 -66
  18. package/dist/ui/card.d.ts.map +1 -1
  19. package/dist/ui/checkbox.d.ts +2 -0
  20. package/dist/ui/checkbox.d.ts.map +1 -1
  21. package/dist/ui/chips.d.ts +24 -280
  22. package/dist/ui/chips.d.ts.map +1 -1
  23. package/dist/ui/collapsible.d.ts +5 -0
  24. package/dist/ui/collapsible.d.ts.map +1 -1
  25. package/dist/ui/dropdown-menu.d.ts +131 -0
  26. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  27. package/dist/ui/go-to-card.d.ts +203 -0
  28. package/dist/ui/go-to-card.d.ts.map +1 -0
  29. package/dist/ui/indicator.d.ts +15 -15
  30. package/dist/ui/indicator.d.ts.map +1 -1
  31. package/dist/ui/input-description.d.ts +2 -26
  32. package/dist/ui/input-description.d.ts.map +1 -1
  33. package/dist/ui/input.d.ts +129 -255
  34. package/dist/ui/input.d.ts.map +1 -1
  35. package/dist/ui/internal/dropdown-content.d.ts.map +1 -1
  36. package/dist/ui/label.d.ts +2 -18
  37. package/dist/ui/label.d.ts.map +1 -1
  38. package/dist/ui/loading.d.ts +9 -0
  39. package/dist/ui/loading.d.ts.map +1 -0
  40. package/dist/ui/message.d.ts +57 -0
  41. package/dist/ui/message.d.ts.map +1 -0
  42. package/dist/ui/popover.d.ts +7 -0
  43. package/dist/ui/popover.d.ts.map +1 -0
  44. package/dist/ui/progress-bar.d.ts +1 -1
  45. package/dist/ui/progress-bar.d.ts.map +1 -1
  46. package/dist/ui/progress.d.ts +9 -27
  47. package/dist/ui/progress.d.ts.map +1 -1
  48. package/dist/ui/radio.d.ts +98 -4
  49. package/dist/ui/radio.d.ts.map +1 -1
  50. package/dist/ui/scope.d.ts +4 -108
  51. package/dist/ui/scope.d.ts.map +1 -1
  52. package/dist/ui/search.d.ts +60 -124
  53. package/dist/ui/search.d.ts.map +1 -1
  54. package/dist/ui/select-card.d.ts +104 -0
  55. package/dist/ui/select-card.d.ts.map +1 -0
  56. package/dist/ui/sheets.d.ts +129 -9
  57. package/dist/ui/sheets.d.ts.map +1 -1
  58. package/dist/ui/skeleton.d.ts +42 -0
  59. package/dist/ui/skeleton.d.ts.map +1 -0
  60. package/dist/ui/status.d.ts +7 -38
  61. package/dist/ui/status.d.ts.map +1 -1
  62. package/dist/ui/switch.d.ts +15 -0
  63. package/dist/ui/switch.d.ts.map +1 -0
  64. package/dist/ui/tabs.d.ts +5 -6
  65. package/dist/ui/tabs.d.ts.map +1 -1
  66. package/dist/ui/text.d.ts +3 -63
  67. package/dist/ui/text.d.ts.map +1 -1
  68. package/dist/ui/textarea.d.ts.map +1 -1
  69. package/dist/ui/tip-card.d.ts +77 -0
  70. package/dist/ui/tip-card.d.ts.map +1 -0
  71. package/dist/ui/toggle-group.d.ts +11 -0
  72. package/dist/ui/toggle-group.d.ts.map +1 -0
  73. package/dist/ui/toggle.d.ts +48 -12
  74. package/dist/ui/toggle.d.ts.map +1 -1
  75. package/dist/ui/tooltip.d.ts +10 -0
  76. package/dist/ui/tooltip.d.ts.map +1 -0
  77. package/llms.md +646 -0
  78. package/package.json +104 -40
  79. package/tailwind-preset.ts +281 -0
  80. package/tailwind.config.ts +12 -262
  81. package/dist/ui/form-item.d.ts +0 -16
  82. package/dist/ui/form-item.d.ts.map +0 -1
  83. package/dist/ui/form.d.ts +0 -1
  84. package/dist/ui/form.d.ts.map +0 -1
@@ -5,17 +5,7 @@ declare const progressVariants: import("tailwind-variants").TVReturnType<{
5
5
  indigo: string;
6
6
  white: string;
7
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
- }>, {
8
+ }, undefined, "text-midnight-blue-600", {
19
9
  bg: {
20
10
  indigo: string;
21
11
  white: string;
@@ -25,31 +15,23 @@ declare const progressVariants: import("tailwind-variants").TVReturnType<{
25
15
  indigo: string;
26
16
  white: string;
27
17
  };
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>>;
18
+ }, undefined, "text-midnight-blue-600", unknown, unknown, undefined>>;
39
19
  type CommonProps = {
40
20
  value: number;
41
21
  };
42
- type IndicatorProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
43
- withBar?: boolean;
22
+ export type ProgressIndicatorProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & Omit<CommonProps, 'value'> & {
23
+ progressBar?: number;
24
+ value: string | number;
25
+ usePercentageSymbol?: boolean;
44
26
  };
45
- type CircleProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
27
+ export type CircleProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
46
28
  Icon?: React.ElementType;
47
29
  };
48
- type ExpandedProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
30
+ export type ExpandedProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressVariants> & CommonProps & {
49
31
  text: React.ReactNode | string;
50
32
  };
51
33
  declare const Progress: {
52
- Indicator: React.ForwardRefExoticComponent<IndicatorProps>;
34
+ Indicator: React.ForwardRefExoticComponent<ProgressIndicatorProps>;
53
35
  Circle: React.ForwardRefExoticComponent<CircleProps>;
54
36
  Expanded: React.ForwardRefExoticComponent<ExpandedProps>;
55
37
  };
@@ -1 +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,EA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C,yBAAyB,CAAC,sBAAsB,CAAC,CAAC;IACnE,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"}
@@ -1,10 +1,104 @@
1
1
  import React from 'react';
2
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>;
3
+ import { VariantProps } from 'tailwind-variants';
4
+ import { ChipsProps } from './chips';
5
+ export type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
6
+ export type RadioItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
7
+ declare const radioCard: import("tailwind-variants").TVReturnType<{
8
+ size: {
9
+ md: {
10
+ root: string;
11
+ prefix: string;
12
+ };
13
+ sm: {
14
+ root: string;
15
+ prefix: string;
16
+ description: string;
17
+ };
18
+ };
19
+ disabled: {
20
+ true: {
21
+ root: string;
22
+ title: string;
23
+ description: string;
24
+ icon: string;
25
+ };
26
+ };
27
+ }, {
28
+ root: string;
29
+ prefix: string;
30
+ icon: string;
31
+ title: string;
32
+ description: string;
33
+ }, undefined, {
34
+ size: {
35
+ md: {
36
+ root: string;
37
+ prefix: string;
38
+ };
39
+ sm: {
40
+ root: string;
41
+ prefix: string;
42
+ description: string;
43
+ };
44
+ };
45
+ disabled: {
46
+ true: {
47
+ root: string;
48
+ title: string;
49
+ description: string;
50
+ icon: string;
51
+ };
52
+ };
53
+ }, {
54
+ root: string;
55
+ prefix: string;
56
+ icon: string;
57
+ title: string;
58
+ description: string;
59
+ }, import("tailwind-variants").TVReturnType<{
60
+ size: {
61
+ md: {
62
+ root: string;
63
+ prefix: string;
64
+ };
65
+ sm: {
66
+ root: string;
67
+ prefix: string;
68
+ description: string;
69
+ };
70
+ };
71
+ disabled: {
72
+ true: {
73
+ root: string;
74
+ title: string;
75
+ description: string;
76
+ icon: string;
77
+ };
78
+ };
79
+ }, {
80
+ root: string;
81
+ prefix: string;
82
+ icon: string;
83
+ title: string;
84
+ description: string;
85
+ }, undefined, unknown, unknown, undefined>>;
86
+ type RadioCardVariants = VariantProps<typeof radioCard>;
87
+ export type RadioCardProps = Omit<RadioItemProps, 'title'> & RadioCardVariants & {
88
+ title: React.ReactNode;
89
+ description?: React.ReactNode;
90
+ icon?: React.ElementType;
91
+ chipsProps?: Omit<ChipsProps, 'size'>;
92
+ };
5
93
  declare const Radio: {
6
- Group: React.ForwardRefExoticComponent<GroupProps>;
7
- Item: React.ForwardRefExoticComponent<ItemProps>;
94
+ Group: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
95
+ Item: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
96
+ Card: React.ForwardRefExoticComponent<Omit<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref">, "title"> & RadioCardVariants & {
97
+ title: React.ReactNode;
98
+ description?: React.ReactNode;
99
+ icon?: React.ElementType;
100
+ chipsProps?: Omit<ChipsProps, "size">;
101
+ } & React.RefAttributes<HTMLButtonElement>>;
8
102
  };
9
103
  export default Radio;
10
104
  //# sourceMappingURL=radio.d.ts.map
@@ -1 +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,C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AI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;CACvC,CAAC;AAsFJ,QAAA,MAAM,KAAK;;;;eA3FA,KAAK,CAAC,SAAS;sBACR,KAAK,CAAC,SAAS;eACtB,KAAK,CAAC,WAAW;qBAEX,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;;CA2FxC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -31,59 +31,7 @@ declare const scopeVariants: import("tailwind-variants").TVReturnType<{
31
31
  container: string;
32
32
  icon: string;
33
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
- }>, {
34
+ }, undefined, {
87
35
  variant: {
88
36
  default: string;
89
37
  light: string;
@@ -143,61 +91,9 @@ declare const scopeVariants: import("tailwind-variants").TVReturnType<{
143
91
  container: string;
144
92
  icon: string;
145
93
  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> & {
94
+ }, undefined, unknown, unknown, undefined>>;
95
+ export type ScopeGroupProps = Omit<React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>, 'type'> & VariantProps<typeof scopeVariants>;
96
+ export type ScopeItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof scopeVariants> & {
201
97
  text: string;
202
98
  icon?: React.ElementType;
203
99
  };
@@ -1 +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,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;AAuCJ,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"}
@@ -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
- prefixIcon: string;
13
- suffixIcon: string;
13
+ prefix: string;
14
+ suffix: string;
14
15
  };
15
16
  };
16
17
  invalid: {
17
18
  true: {
18
- input: string;
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
- 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: {
24
+ wrapper: string;
40
25
  input: string;
41
- prefixIcon: string;
42
- suffixIcon: string;
26
+ prefix: string;
27
+ suffix: string;
43
28
  };
44
- };
45
- invalid: {
46
- true: {
29
+ medium: {
30
+ wrapper: string;
47
31
  input: string;
32
+ prefix: string;
33
+ suffix: string;
48
34
  };
49
35
  };
50
- size: {
51
- medium: {
52
- prefixIcon: string;
53
- suffixIcon: string;
54
- input: string;
36
+ withAffix: {
37
+ false: {
38
+ wrapper: string;
55
39
  };
56
- small: {
57
- prefixIcon: string;
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
- prefixIcon: string;
67
- suffixIcon: string;
54
+ prefix: string;
55
+ suffix: string;
68
56
  };
69
57
  };
70
58
  invalid: {
71
59
  true: {
72
- input: string;
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
- prefixIcon: string;
83
- suffixIcon: string;
84
- input: string;
85
- };
86
- };
87
- }>, {
88
- disabled: {
89
- true: {
65
+ wrapper: string;
90
66
  input: string;
91
- prefixIcon: string;
92
- suffixIcon: string;
67
+ prefix: string;
68
+ suffix: string;
93
69
  };
94
- };
95
- invalid: {
96
- true: {
70
+ medium: {
71
+ wrapper: string;
97
72
  input: string;
73
+ prefix: string;
74
+ suffix: string;
98
75
  };
99
76
  };
100
- size: {
101
- medium: {
102
- prefixIcon: string;
103
- suffixIcon: string;
104
- input: string;
77
+ withAffix: {
78
+ false: {
79
+ wrapper: string;
105
80
  };
106
- small: {
107
- prefixIcon: string;
108
- suffixIcon: string;
109
- input: string;
81
+ true: {
82
+ wrapper: string;
110
83
  };
111
84
  };
112
85
  }, {
113
- prefixIcon: string;
86
+ wrapper: string;
87
+ prefix: string;
114
88
  input: string;
115
- suffixIcon: string;
89
+ suffix: string;
116
90
  }, import("tailwind-variants").TVReturnType<{
117
91
  disabled: {
118
92
  true: {
93
+ wrapper: string;
119
94
  input: string;
120
- prefixIcon: string;
121
- suffixIcon: string;
95
+ prefix: string;
96
+ suffix: string;
122
97
  };
123
98
  };
124
99
  invalid: {
125
100
  true: {
126
- input: string;
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
- 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: {
106
+ wrapper: string;
155
107
  input: string;
108
+ prefix: string;
109
+ suffix: string;
156
110
  };
157
- };
158
- size: {
159
111
  medium: {
160
- prefixIcon: string;
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
- disabled: {
172
- true: {
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
- input: string;
123
+ wrapper: string;
181
124
  };
182
125
  };
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>>> & {
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;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAHA,aAAa;0CAiDxB,CAAC;AAsCF,eAAe,MAAM,CAAC"}
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;IAEnC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AASJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAVA,aAAa;0CAwDxB,CAAC;AAsCF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,104 @@
1
+ import React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ import { VariantProps } from 'tailwind-variants';
4
+ export type SelectCardGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
5
+ declare const selectCard: import("tailwind-variants").TVReturnType<{
6
+ disabled: {
7
+ true: {
8
+ root: string;
9
+ title: string;
10
+ description: string;
11
+ iconWrapper: string;
12
+ };
13
+ };
14
+ size: {
15
+ md: {
16
+ root: string;
17
+ prefix: string;
18
+ };
19
+ sm: {
20
+ root: string;
21
+ prefix: string;
22
+ description: string;
23
+ };
24
+ };
25
+ }, {
26
+ root: string;
27
+ prefix: string;
28
+ iconWrapper: string;
29
+ content: string;
30
+ title: string;
31
+ description: string;
32
+ }, undefined, {
33
+ disabled: {
34
+ true: {
35
+ root: string;
36
+ title: string;
37
+ description: string;
38
+ iconWrapper: string;
39
+ };
40
+ };
41
+ size: {
42
+ md: {
43
+ root: string;
44
+ prefix: string;
45
+ };
46
+ sm: {
47
+ root: string;
48
+ prefix: string;
49
+ description: string;
50
+ };
51
+ };
52
+ }, {
53
+ root: string;
54
+ prefix: string;
55
+ iconWrapper: string;
56
+ content: string;
57
+ title: string;
58
+ description: string;
59
+ }, import("tailwind-variants").TVReturnType<{
60
+ disabled: {
61
+ true: {
62
+ root: string;
63
+ title: string;
64
+ description: string;
65
+ iconWrapper: string;
66
+ };
67
+ };
68
+ size: {
69
+ md: {
70
+ root: string;
71
+ prefix: string;
72
+ };
73
+ sm: {
74
+ root: string;
75
+ prefix: string;
76
+ description: string;
77
+ };
78
+ };
79
+ }, {
80
+ root: string;
81
+ prefix: string;
82
+ iconWrapper: string;
83
+ content: string;
84
+ title: string;
85
+ description: string;
86
+ }, undefined, unknown, unknown, undefined>>;
87
+ type SelectCardVariants = VariantProps<typeof selectCard>;
88
+ export type SelectCardItemProps = Omit<React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, 'title'> & SelectCardVariants & {
89
+ title: React.ReactNode;
90
+ description?: React.ReactNode;
91
+ icon?: React.ReactNode;
92
+ iconClassName?: string;
93
+ };
94
+ declare const SelectCard: {
95
+ Group: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
96
+ Card: React.ForwardRefExoticComponent<Omit<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref">, "title"> & SelectCardVariants & {
97
+ title: React.ReactNode;
98
+ description?: React.ReactNode;
99
+ icon?: React.ReactNode;
100
+ iconClassName?: string;
101
+ } & React.RefAttributes<HTMLButtonElement>>;
102
+ };
103
+ export default SelectCard;
104
+ //# sourceMappingURL=select-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-card.d.ts","sourceRoot":"","sources":["../../src/ui/select-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKrD,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,wBAAwB,CAC/D,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAiBF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAmGd,CAAC;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAG1D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAC/D,OAAO,CACR,GACC,kBAAkB,GAAG;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA8DJ,QAAA,MAAM,UAAU;;;eAlEL,KAAK,CAAC,SAAS;sBACR,KAAK,CAAC,SAAS;eACtB,KAAK,CAAC,SAAS;wBACN,MAAM;;CAkEzB,CAAC;AAEF,eAAe,UAAU,CAAC"}