@dito-uai/components 5.1.0-alpha.42 → 5.1.0-alpha.44
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 +69 -68
- package/dist/index.d.cts +165 -63
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -14
- package/dist/ui/chips.d.ts +0 -60
- package/dist/ui/chips.d.ts.map +1 -1
- package/dist/ui/radio.d.ts +96 -2
- package/dist/ui/radio.d.ts.map +1 -1
- package/dist/ui/tip-card.d.ts +78 -0
- package/dist/ui/tip-card.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/ui/chips.d.ts
CHANGED
|
@@ -14,16 +14,6 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
|
|
|
14
14
|
text: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
border: {
|
|
18
|
-
true: {
|
|
19
|
-
container: string;
|
|
20
|
-
icon: string;
|
|
21
|
-
};
|
|
22
|
-
false: {
|
|
23
|
-
container: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
17
|
active: {
|
|
28
18
|
true: {
|
|
29
19
|
container: string;
|
|
@@ -47,16 +37,6 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
|
|
|
47
37
|
text: string;
|
|
48
38
|
};
|
|
49
39
|
};
|
|
50
|
-
border: {
|
|
51
|
-
true: {
|
|
52
|
-
container: string;
|
|
53
|
-
icon: string;
|
|
54
|
-
};
|
|
55
|
-
false: {
|
|
56
|
-
container: string;
|
|
57
|
-
icon: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
40
|
active: {
|
|
61
41
|
true: {
|
|
62
42
|
container: string;
|
|
@@ -80,16 +60,6 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
|
|
|
80
60
|
text: string;
|
|
81
61
|
};
|
|
82
62
|
};
|
|
83
|
-
border: {
|
|
84
|
-
true: {
|
|
85
|
-
container: string;
|
|
86
|
-
icon: string;
|
|
87
|
-
};
|
|
88
|
-
false: {
|
|
89
|
-
container: string;
|
|
90
|
-
icon: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
63
|
active: {
|
|
94
64
|
true: {
|
|
95
65
|
container: string;
|
|
@@ -122,16 +92,6 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
|
|
|
122
92
|
text: string;
|
|
123
93
|
};
|
|
124
94
|
};
|
|
125
|
-
border: {
|
|
126
|
-
true: {
|
|
127
|
-
container: string;
|
|
128
|
-
icon: string;
|
|
129
|
-
};
|
|
130
|
-
false: {
|
|
131
|
-
container: string;
|
|
132
|
-
icon: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
95
|
active: {
|
|
136
96
|
true: {
|
|
137
97
|
container: string;
|
|
@@ -155,16 +115,6 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
|
|
|
155
115
|
text: string;
|
|
156
116
|
};
|
|
157
117
|
};
|
|
158
|
-
border: {
|
|
159
|
-
true: {
|
|
160
|
-
container: string;
|
|
161
|
-
icon: string;
|
|
162
|
-
};
|
|
163
|
-
false: {
|
|
164
|
-
container: string;
|
|
165
|
-
icon: string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
118
|
active: {
|
|
169
119
|
true: {
|
|
170
120
|
container: string;
|
|
@@ -188,16 +138,6 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
|
|
|
188
138
|
text: string;
|
|
189
139
|
};
|
|
190
140
|
};
|
|
191
|
-
border: {
|
|
192
|
-
true: {
|
|
193
|
-
container: string;
|
|
194
|
-
icon: string;
|
|
195
|
-
};
|
|
196
|
-
false: {
|
|
197
|
-
container: string;
|
|
198
|
-
icon: string;
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
141
|
active: {
|
|
202
142
|
true: {
|
|
203
143
|
container: string;
|
package/dist/ui/chips.d.ts.map
CHANGED
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAyCjB,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;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cARG,OAAO;WACV,KAAK,CAAC,WAAW;UAClB,MAAM;YACJ,MAAM;cACJ,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI;oBAClB,MAAM;wCA+CzB,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
package/dist/ui/radio.d.ts
CHANGED
|
@@ -1,10 +1,104 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
import { ChipsProps } from './chips';
|
|
3
5
|
export type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
|
|
4
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 = RadioItemProps & RadioCardVariants & {
|
|
88
|
+
title: string;
|
|
89
|
+
description?: string;
|
|
90
|
+
icon: React.ElementType;
|
|
91
|
+
chipsProps?: Omit<ChipsProps, 'size'>;
|
|
92
|
+
};
|
|
5
93
|
declare const Radio: {
|
|
6
|
-
Group: React.ForwardRefExoticComponent<RadioGroupProps
|
|
7
|
-
Item: React.ForwardRefExoticComponent<
|
|
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<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & RadioCardVariants & {
|
|
97
|
+
title: string;
|
|
98
|
+
description?: string;
|
|
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
|
package/dist/ui/radio.d.ts.map
CHANGED
|
@@ -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;
|
|
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;AAEnE,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGrD,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,wBAAwB,CAC1D,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAiBF,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,wBAAwB,CACzD,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAqBF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqDb,CAAC;AAEH,KAAK,iBAAiB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,GACzC,iBAAiB,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;CACvC,CAAC;AAyEJ,QAAA,MAAM,KAAK;;;;eA7EA,MAAM;sBACC,MAAM;cACd,KAAK,CAAC,WAAW;qBACV,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;;CA8ExC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const tipCardVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
[key: string]: {
|
|
5
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
6
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
7
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
13
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
14
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {}, {
|
|
18
|
+
container: string;
|
|
19
|
+
message: string;
|
|
20
|
+
}, undefined, {
|
|
21
|
+
[key: string]: {
|
|
22
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
23
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
24
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
} | {}, {
|
|
28
|
+
container: string;
|
|
29
|
+
message: string;
|
|
30
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
31
|
+
container: string;
|
|
32
|
+
message: string;
|
|
33
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
34
|
+
type HelpCenterTitle = 'CENTRAL DE AJUDA' | 'HELP CENTER' | 'CENTRO DE AYUDA';
|
|
35
|
+
export type TipCardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof tipCardVariants> & {
|
|
36
|
+
message: string;
|
|
37
|
+
helpLink: string;
|
|
38
|
+
helpCenterTitle: HelpCenterTitle;
|
|
39
|
+
date?: string;
|
|
40
|
+
};
|
|
41
|
+
declare const TipCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<import("tailwind-variants").TVReturnType<{
|
|
42
|
+
[key: string]: {
|
|
43
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
44
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
45
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
} | {
|
|
49
|
+
[x: string]: {
|
|
50
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
51
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
52
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
} | {}, {
|
|
56
|
+
container: string;
|
|
57
|
+
message: string;
|
|
58
|
+
}, undefined, {
|
|
59
|
+
[key: string]: {
|
|
60
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
61
|
+
container?: import("tailwind-merge").ClassNameValue;
|
|
62
|
+
message?: import("tailwind-merge").ClassNameValue;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
} | {}, {
|
|
66
|
+
container: string;
|
|
67
|
+
message: string;
|
|
68
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
69
|
+
container: string;
|
|
70
|
+
message: string;
|
|
71
|
+
}, undefined, unknown, unknown, undefined>>> & {
|
|
72
|
+
message: string;
|
|
73
|
+
helpLink: string;
|
|
74
|
+
helpCenterTitle: HelpCenterTitle;
|
|
75
|
+
date?: string;
|
|
76
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
export default TipCard;
|
|
78
|
+
//# sourceMappingURL=tip-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tip-card.d.ts","sourceRoot":"","sources":["../../src/ui/tip-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGrD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAMnB,CAAC;AAEH,KAAK,eAAe,GAAG,kBAAkB,GAAG,aAAa,GAAG,iBAAiB,CAAC;AAE9E,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAC7D,YAAY,CAAC,OAAO,eAAe,CAAC,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEJ,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aANA,MAAM;cACL,MAAM;qBACC,eAAe;WACzB,MAAM;wCAuBhB,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED