@opengovsg/oui-theme 0.0.0-snapshot-20250619075023 → 0.0.0-snapshot-20250808095255
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/components/badge.d.mts +2 -182
- package/dist/components/badge.d.ts +2 -182
- package/dist/components/banner.d.mts +1 -78
- package/dist/components/banner.d.ts +1 -78
- package/dist/components/button.d.mts +1 -123
- package/dist/components/button.d.ts +1 -123
- package/dist/components/calendar.d.mts +1 -107
- package/dist/components/calendar.d.ts +1 -107
- package/dist/components/combo-box-fuzzy.d.mts +1 -32
- package/dist/components/combo-box-fuzzy.d.ts +1 -32
- package/dist/components/combo-box.d.mts +2 -146
- package/dist/components/combo-box.d.ts +2 -146
- package/dist/components/date-field.d.mts +9 -150
- package/dist/components/date-field.d.ts +9 -150
- package/dist/components/date-picker.d.mts +1 -50
- package/dist/components/date-picker.d.ts +1 -50
- package/dist/components/date-range-picker.d.mts +1 -68
- package/dist/components/date-range-picker.d.ts +1 -68
- package/dist/components/field-group.d.mts +2 -109
- package/dist/components/field-group.d.ts +2 -109
- package/dist/components/field.d.mts +3 -103
- package/dist/components/field.d.ts +3 -103
- package/dist/components/govt-banner.d.mts +44 -75
- package/dist/components/govt-banner.d.ts +44 -75
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/input.d.mts +1 -45
- package/dist/components/input.d.ts +1 -45
- package/dist/components/list-box.d.mts +1 -87
- package/dist/components/list-box.d.ts +1 -87
- package/dist/components/menu.d.mts +4 -198
- package/dist/components/menu.d.ts +4 -198
- package/dist/components/popover.d.mts +2 -46
- package/dist/components/popover.d.ts +2 -46
- package/dist/components/select.d.mts +19 -197
- package/dist/components/select.d.ts +19 -197
- package/dist/components/skip-nav-link.d.mts +1 -15
- package/dist/components/skip-nav-link.d.ts +1 -15
- package/dist/components/spinner.d.mts +1 -74
- package/dist/components/spinner.d.ts +1 -74
- package/dist/components/tabs.d.mts +9 -198
- package/dist/components/tabs.d.ts +9 -198
- package/dist/components/tag-field.d.mts +1 -79
- package/dist/components/tag-field.d.ts +1 -79
- package/dist/components/text-area.d.mts +1 -62
- package/dist/components/text-area.d.ts +1 -62
- package/dist/components/toggle.d.mts +1 -68
- package/dist/components/toggle.d.ts +1 -68
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/utils/classes.d.mts +1 -27
- package/dist/utils/classes.d.ts +1 -27
- package/dist/utils/index.d.mts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/tv.d.mts +1 -12
- package/dist/utils/tv.d.ts +1 -12
- package/package.json +6 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
3
|
|
|
5
4
|
declare const tagFieldStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
isDisabled: {
|
|
@@ -46,23 +45,6 @@ declare const tagFieldStyles: tailwind_variants.TVReturnType<{
|
|
|
46
45
|
popover: string;
|
|
47
46
|
list: string;
|
|
48
47
|
}, undefined, {
|
|
49
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
50
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
51
|
-
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
52
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
55
|
-
twMergeConfig: {
|
|
56
|
-
extend: {
|
|
57
|
-
theme: {};
|
|
58
|
-
classGroups: {
|
|
59
|
-
prose: {
|
|
60
|
-
prose: (() => boolean)[];
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}, {
|
|
66
48
|
isDisabled: {
|
|
67
49
|
true: {
|
|
68
50
|
group: string;
|
|
@@ -148,67 +130,7 @@ declare const tagFieldStyles: tailwind_variants.TVReturnType<{
|
|
|
148
130
|
error: string;
|
|
149
131
|
popover: string;
|
|
150
132
|
list: string;
|
|
151
|
-
}, undefined,
|
|
152
|
-
isDisabled: {
|
|
153
|
-
true: {
|
|
154
|
-
group: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
variant: {};
|
|
158
|
-
size: {
|
|
159
|
-
xs: {
|
|
160
|
-
group: string;
|
|
161
|
-
field: string;
|
|
162
|
-
tag: string;
|
|
163
|
-
tagIcon: string;
|
|
164
|
-
trigger: string;
|
|
165
|
-
};
|
|
166
|
-
sm: {
|
|
167
|
-
group: string;
|
|
168
|
-
field: string;
|
|
169
|
-
tag: string;
|
|
170
|
-
tagIcon: string;
|
|
171
|
-
trigger: string;
|
|
172
|
-
};
|
|
173
|
-
md: {
|
|
174
|
-
group: string;
|
|
175
|
-
field: string;
|
|
176
|
-
tag: string;
|
|
177
|
-
tagIcon: string;
|
|
178
|
-
trigger: string;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
}, {
|
|
182
|
-
isDisabled: {
|
|
183
|
-
true: {
|
|
184
|
-
group: string;
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
variant: {};
|
|
188
|
-
size: {
|
|
189
|
-
xs: {
|
|
190
|
-
group: string;
|
|
191
|
-
field: string;
|
|
192
|
-
tag: string;
|
|
193
|
-
tagIcon: string;
|
|
194
|
-
trigger: string;
|
|
195
|
-
};
|
|
196
|
-
sm: {
|
|
197
|
-
group: string;
|
|
198
|
-
field: string;
|
|
199
|
-
tag: string;
|
|
200
|
-
tagIcon: string;
|
|
201
|
-
trigger: string;
|
|
202
|
-
};
|
|
203
|
-
md: {
|
|
204
|
-
group: string;
|
|
205
|
-
field: string;
|
|
206
|
-
tag: string;
|
|
207
|
-
tagIcon: string;
|
|
208
|
-
trigger: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
}>, unknown, unknown, undefined>>;
|
|
133
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
212
134
|
type TagFieldVariantProps = VariantProps<typeof tagFieldStyles>;
|
|
213
135
|
type TagFieldSlots = keyof ReturnType<typeof tagFieldStyles>;
|
|
214
136
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
3
|
|
|
5
4
|
declare const tagFieldStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
isDisabled: {
|
|
@@ -46,23 +45,6 @@ declare const tagFieldStyles: tailwind_variants.TVReturnType<{
|
|
|
46
45
|
popover: string;
|
|
47
46
|
list: string;
|
|
48
47
|
}, undefined, {
|
|
49
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
50
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
51
|
-
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
52
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
55
|
-
twMergeConfig: {
|
|
56
|
-
extend: {
|
|
57
|
-
theme: {};
|
|
58
|
-
classGroups: {
|
|
59
|
-
prose: {
|
|
60
|
-
prose: (() => boolean)[];
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}, {
|
|
66
48
|
isDisabled: {
|
|
67
49
|
true: {
|
|
68
50
|
group: string;
|
|
@@ -148,67 +130,7 @@ declare const tagFieldStyles: tailwind_variants.TVReturnType<{
|
|
|
148
130
|
error: string;
|
|
149
131
|
popover: string;
|
|
150
132
|
list: string;
|
|
151
|
-
}, undefined,
|
|
152
|
-
isDisabled: {
|
|
153
|
-
true: {
|
|
154
|
-
group: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
variant: {};
|
|
158
|
-
size: {
|
|
159
|
-
xs: {
|
|
160
|
-
group: string;
|
|
161
|
-
field: string;
|
|
162
|
-
tag: string;
|
|
163
|
-
tagIcon: string;
|
|
164
|
-
trigger: string;
|
|
165
|
-
};
|
|
166
|
-
sm: {
|
|
167
|
-
group: string;
|
|
168
|
-
field: string;
|
|
169
|
-
tag: string;
|
|
170
|
-
tagIcon: string;
|
|
171
|
-
trigger: string;
|
|
172
|
-
};
|
|
173
|
-
md: {
|
|
174
|
-
group: string;
|
|
175
|
-
field: string;
|
|
176
|
-
tag: string;
|
|
177
|
-
tagIcon: string;
|
|
178
|
-
trigger: string;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
}, {
|
|
182
|
-
isDisabled: {
|
|
183
|
-
true: {
|
|
184
|
-
group: string;
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
variant: {};
|
|
188
|
-
size: {
|
|
189
|
-
xs: {
|
|
190
|
-
group: string;
|
|
191
|
-
field: string;
|
|
192
|
-
tag: string;
|
|
193
|
-
tagIcon: string;
|
|
194
|
-
trigger: string;
|
|
195
|
-
};
|
|
196
|
-
sm: {
|
|
197
|
-
group: string;
|
|
198
|
-
field: string;
|
|
199
|
-
tag: string;
|
|
200
|
-
tagIcon: string;
|
|
201
|
-
trigger: string;
|
|
202
|
-
};
|
|
203
|
-
md: {
|
|
204
|
-
group: string;
|
|
205
|
-
field: string;
|
|
206
|
-
tag: string;
|
|
207
|
-
tagIcon: string;
|
|
208
|
-
trigger: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
}>, unknown, unknown, undefined>>;
|
|
133
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
212
134
|
type TagFieldVariantProps = VariantProps<typeof tagFieldStyles>;
|
|
213
135
|
type TagFieldSlots = keyof ReturnType<typeof tagFieldStyles>;
|
|
214
136
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
3
|
|
|
5
4
|
declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
variant: {};
|
|
@@ -10,23 +9,6 @@ declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
|
10
9
|
md: string;
|
|
11
10
|
};
|
|
12
11
|
}, undefined, never[], {
|
|
13
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
14
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
15
|
-
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
16
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
19
|
-
twMergeConfig: {
|
|
20
|
-
extend: {
|
|
21
|
-
theme: {};
|
|
22
|
-
classGroups: {
|
|
23
|
-
prose: {
|
|
24
|
-
prose: (() => boolean)[];
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
12
|
size: {
|
|
31
13
|
xs: string;
|
|
32
14
|
sm: string;
|
|
@@ -53,23 +35,6 @@ declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
|
53
35
|
true: string;
|
|
54
36
|
};
|
|
55
37
|
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden", {
|
|
56
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
57
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
58
|
-
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
59
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
62
|
-
twMergeConfig: {
|
|
63
|
-
extend: {
|
|
64
|
-
theme: {};
|
|
65
|
-
classGroups: {
|
|
66
|
-
prose: {
|
|
67
|
-
prose: (() => boolean)[];
|
|
68
|
-
}[];
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
}, {
|
|
73
38
|
size: {
|
|
74
39
|
xs: string;
|
|
75
40
|
sm: string;
|
|
@@ -95,33 +60,7 @@ declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
|
95
60
|
isDisabled: {
|
|
96
61
|
true: string;
|
|
97
62
|
};
|
|
98
|
-
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden",
|
|
99
|
-
size: {
|
|
100
|
-
xs: string;
|
|
101
|
-
sm: string;
|
|
102
|
-
md: string;
|
|
103
|
-
};
|
|
104
|
-
variant: {
|
|
105
|
-
outline: string;
|
|
106
|
-
unstyled: string;
|
|
107
|
-
};
|
|
108
|
-
isDisabled: {
|
|
109
|
-
true: string;
|
|
110
|
-
};
|
|
111
|
-
}, {
|
|
112
|
-
size: {
|
|
113
|
-
xs: string;
|
|
114
|
-
sm: string;
|
|
115
|
-
md: string;
|
|
116
|
-
};
|
|
117
|
-
variant: {
|
|
118
|
-
outline: string;
|
|
119
|
-
unstyled: string;
|
|
120
|
-
};
|
|
121
|
-
isDisabled: {
|
|
122
|
-
true: string;
|
|
123
|
-
};
|
|
124
|
-
}>, unknown, unknown, undefined>>>;
|
|
63
|
+
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden", unknown, unknown, undefined>>>;
|
|
125
64
|
type TextAreaVariantProps = VariantProps<typeof textAreaStyles>;
|
|
126
65
|
|
|
127
66
|
export { type TextAreaVariantProps, textAreaStyles };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
3
|
|
|
5
4
|
declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
variant: {};
|
|
@@ -10,23 +9,6 @@ declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
|
10
9
|
md: string;
|
|
11
10
|
};
|
|
12
11
|
}, undefined, never[], {
|
|
13
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
14
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
15
|
-
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
16
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
19
|
-
twMergeConfig: {
|
|
20
|
-
extend: {
|
|
21
|
-
theme: {};
|
|
22
|
-
classGroups: {
|
|
23
|
-
prose: {
|
|
24
|
-
prose: (() => boolean)[];
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
12
|
size: {
|
|
31
13
|
xs: string;
|
|
32
14
|
sm: string;
|
|
@@ -53,23 +35,6 @@ declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
|
53
35
|
true: string;
|
|
54
36
|
};
|
|
55
37
|
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden", {
|
|
56
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
57
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
58
|
-
variant?: boolean | (string | number | symbol)[] | undefined;
|
|
59
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
62
|
-
twMergeConfig: {
|
|
63
|
-
extend: {
|
|
64
|
-
theme: {};
|
|
65
|
-
classGroups: {
|
|
66
|
-
prose: {
|
|
67
|
-
prose: (() => boolean)[];
|
|
68
|
-
}[];
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
}, {
|
|
73
38
|
size: {
|
|
74
39
|
xs: string;
|
|
75
40
|
sm: string;
|
|
@@ -95,33 +60,7 @@ declare const textAreaStyles: tailwind_variants.TVReturnType<{
|
|
|
95
60
|
isDisabled: {
|
|
96
61
|
true: string;
|
|
97
62
|
};
|
|
98
|
-
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden",
|
|
99
|
-
size: {
|
|
100
|
-
xs: string;
|
|
101
|
-
sm: string;
|
|
102
|
-
md: string;
|
|
103
|
-
};
|
|
104
|
-
variant: {
|
|
105
|
-
outline: string;
|
|
106
|
-
unstyled: string;
|
|
107
|
-
};
|
|
108
|
-
isDisabled: {
|
|
109
|
-
true: string;
|
|
110
|
-
};
|
|
111
|
-
}, {
|
|
112
|
-
size: {
|
|
113
|
-
xs: string;
|
|
114
|
-
sm: string;
|
|
115
|
-
md: string;
|
|
116
|
-
};
|
|
117
|
-
variant: {
|
|
118
|
-
outline: string;
|
|
119
|
-
unstyled: string;
|
|
120
|
-
};
|
|
121
|
-
isDisabled: {
|
|
122
|
-
true: string;
|
|
123
|
-
};
|
|
124
|
-
}>, unknown, unknown, undefined>>>;
|
|
63
|
+
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden", unknown, unknown, undefined>>>;
|
|
125
64
|
type TextAreaVariantProps = VariantProps<typeof textAreaStyles>;
|
|
126
65
|
|
|
127
66
|
export { type TextAreaVariantProps, textAreaStyles };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
3
|
|
|
5
4
|
declare const toggleStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
colorScheme: {
|
|
@@ -33,22 +32,6 @@ declare const toggleStyles: tailwind_variants.TVReturnType<{
|
|
|
33
32
|
thumb: string;
|
|
34
33
|
thumbIcon: string;
|
|
35
34
|
}, undefined, {
|
|
36
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
37
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
38
|
-
colorScheme?: boolean | (string | number | symbol)[] | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
41
|
-
twMergeConfig: {
|
|
42
|
-
extend: {
|
|
43
|
-
theme: {};
|
|
44
|
-
classGroups: {
|
|
45
|
-
prose: {
|
|
46
|
-
prose: (() => boolean)[];
|
|
47
|
-
}[];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}, {
|
|
52
35
|
colorScheme: {
|
|
53
36
|
success: {
|
|
54
37
|
track: string;
|
|
@@ -108,57 +91,7 @@ declare const toggleStyles: tailwind_variants.TVReturnType<{
|
|
|
108
91
|
track: string;
|
|
109
92
|
thumb: string;
|
|
110
93
|
thumbIcon: string;
|
|
111
|
-
}, undefined,
|
|
112
|
-
colorScheme: {
|
|
113
|
-
success: {
|
|
114
|
-
track: string;
|
|
115
|
-
thumb: string;
|
|
116
|
-
thumbIcon: string;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
size: {
|
|
120
|
-
xs: {
|
|
121
|
-
track: string;
|
|
122
|
-
thumb: string;
|
|
123
|
-
thumbIcon: string;
|
|
124
|
-
};
|
|
125
|
-
sm: {
|
|
126
|
-
track: string;
|
|
127
|
-
thumb: string;
|
|
128
|
-
thumbIcon: string;
|
|
129
|
-
};
|
|
130
|
-
md: {
|
|
131
|
-
track: string;
|
|
132
|
-
thumb: string;
|
|
133
|
-
thumbIcon: string;
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
}, {
|
|
137
|
-
colorScheme: {
|
|
138
|
-
success: {
|
|
139
|
-
track: string;
|
|
140
|
-
thumb: string;
|
|
141
|
-
thumbIcon: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
size: {
|
|
145
|
-
xs: {
|
|
146
|
-
track: string;
|
|
147
|
-
thumb: string;
|
|
148
|
-
thumbIcon: string;
|
|
149
|
-
};
|
|
150
|
-
sm: {
|
|
151
|
-
track: string;
|
|
152
|
-
thumb: string;
|
|
153
|
-
thumbIcon: string;
|
|
154
|
-
};
|
|
155
|
-
md: {
|
|
156
|
-
track: string;
|
|
157
|
-
thumb: string;
|
|
158
|
-
thumbIcon: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
}>, unknown, unknown, undefined>>;
|
|
94
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
162
95
|
type ToggleVariantProps = VariantProps<typeof toggleStyles>;
|
|
163
96
|
type ToggleSlots = keyof ReturnType<typeof toggleStyles>;
|
|
164
97
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
3
|
|
|
5
4
|
declare const toggleStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
colorScheme: {
|
|
@@ -33,22 +32,6 @@ declare const toggleStyles: tailwind_variants.TVReturnType<{
|
|
|
33
32
|
thumb: string;
|
|
34
33
|
thumbIcon: string;
|
|
35
34
|
}, undefined, {
|
|
36
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
37
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
38
|
-
colorScheme?: boolean | (string | number | symbol)[] | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
41
|
-
twMergeConfig: {
|
|
42
|
-
extend: {
|
|
43
|
-
theme: {};
|
|
44
|
-
classGroups: {
|
|
45
|
-
prose: {
|
|
46
|
-
prose: (() => boolean)[];
|
|
47
|
-
}[];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}, {
|
|
52
35
|
colorScheme: {
|
|
53
36
|
success: {
|
|
54
37
|
track: string;
|
|
@@ -108,57 +91,7 @@ declare const toggleStyles: tailwind_variants.TVReturnType<{
|
|
|
108
91
|
track: string;
|
|
109
92
|
thumb: string;
|
|
110
93
|
thumbIcon: string;
|
|
111
|
-
}, undefined,
|
|
112
|
-
colorScheme: {
|
|
113
|
-
success: {
|
|
114
|
-
track: string;
|
|
115
|
-
thumb: string;
|
|
116
|
-
thumbIcon: string;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
size: {
|
|
120
|
-
xs: {
|
|
121
|
-
track: string;
|
|
122
|
-
thumb: string;
|
|
123
|
-
thumbIcon: string;
|
|
124
|
-
};
|
|
125
|
-
sm: {
|
|
126
|
-
track: string;
|
|
127
|
-
thumb: string;
|
|
128
|
-
thumbIcon: string;
|
|
129
|
-
};
|
|
130
|
-
md: {
|
|
131
|
-
track: string;
|
|
132
|
-
thumb: string;
|
|
133
|
-
thumbIcon: string;
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
}, {
|
|
137
|
-
colorScheme: {
|
|
138
|
-
success: {
|
|
139
|
-
track: string;
|
|
140
|
-
thumb: string;
|
|
141
|
-
thumbIcon: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
size: {
|
|
145
|
-
xs: {
|
|
146
|
-
track: string;
|
|
147
|
-
thumb: string;
|
|
148
|
-
thumbIcon: string;
|
|
149
|
-
};
|
|
150
|
-
sm: {
|
|
151
|
-
track: string;
|
|
152
|
-
thumb: string;
|
|
153
|
-
thumbIcon: string;
|
|
154
|
-
};
|
|
155
|
-
md: {
|
|
156
|
-
track: string;
|
|
157
|
-
thumb: string;
|
|
158
|
-
thumbIcon: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
}>, unknown, unknown, undefined>>;
|
|
94
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
162
95
|
type ToggleVariantProps = VariantProps<typeof toggleStyles>;
|
|
163
96
|
type ToggleSlots = keyof ReturnType<typeof toggleStyles>;
|
|
164
97
|
|
package/dist/index.d.mts
CHANGED
|
@@ -29,6 +29,5 @@ export { cn } from './utils/cn.mjs';
|
|
|
29
29
|
export { dataAttr } from './utils/data-attr.mjs';
|
|
30
30
|
export { composeRenderProps, composeTailwindRenderProps } from './utils/rac.mjs';
|
|
31
31
|
export { TV, VariantProps } from 'tailwind-variants';
|
|
32
|
-
import 'tailwind-variants/dist/config.js';
|
|
33
32
|
import 'tailwind-merge';
|
|
34
33
|
import 'clsx';
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,5 @@ export { cn } from './utils/cn.js';
|
|
|
29
29
|
export { dataAttr } from './utils/data-attr.js';
|
|
30
30
|
export { composeRenderProps, composeTailwindRenderProps } from './utils/rac.js';
|
|
31
31
|
export { TV, VariantProps } from 'tailwind-variants';
|
|
32
|
-
import 'tailwind-variants/dist/config.js';
|
|
33
32
|
import 'tailwind-merge';
|
|
34
33
|
import 'clsx';
|
package/dist/utils/classes.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
3
2
|
|
|
4
3
|
declare const focusVisibleClasses: readonly ["outline-none", "outline-transparent", "outline-offset-2", "focus-visible:outline-focus-ring", "focus-visible:outline-solid", "focus-visible:outline-2"];
|
|
5
4
|
declare const focusClasses: readonly ["outline-none", "outline-transparent", "outline-offset-2", "focus:outline-focus-ring", "focus:outline-solid", "focus:outline-2"];
|
|
@@ -10,21 +9,6 @@ declare const racFocusRing: tailwind_variants.TVReturnType<{
|
|
|
10
9
|
true: string;
|
|
11
10
|
};
|
|
12
11
|
}, undefined, "outline-offset-2 outline-none", {
|
|
13
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
14
|
-
isFocusVisible?: boolean | (string | number | symbol)[] | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
17
|
-
twMergeConfig: {
|
|
18
|
-
extend: {
|
|
19
|
-
theme: {};
|
|
20
|
-
classGroups: {
|
|
21
|
-
prose: {
|
|
22
|
-
prose: (() => boolean)[];
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
12
|
isFocusVisible: {
|
|
29
13
|
false: string;
|
|
30
14
|
true: string;
|
|
@@ -34,16 +18,6 @@ declare const racFocusRing: tailwind_variants.TVReturnType<{
|
|
|
34
18
|
false: string;
|
|
35
19
|
true: string;
|
|
36
20
|
};
|
|
37
|
-
}, undefined, "outline-offset-2 outline-none",
|
|
38
|
-
isFocusVisible: {
|
|
39
|
-
false: string;
|
|
40
|
-
true: string;
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
isFocusVisible: {
|
|
44
|
-
false: string;
|
|
45
|
-
true: string;
|
|
46
|
-
};
|
|
47
|
-
}>, unknown, unknown, undefined>>;
|
|
21
|
+
}, undefined, "outline-offset-2 outline-none", unknown, unknown, undefined>>;
|
|
48
22
|
|
|
49
23
|
export { focusClasses, focusVisibleClasses, groupFocusVisibleClasses, racFocusRing };
|
package/dist/utils/classes.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
3
2
|
|
|
4
3
|
declare const focusVisibleClasses: readonly ["outline-none", "outline-transparent", "outline-offset-2", "focus-visible:outline-focus-ring", "focus-visible:outline-solid", "focus-visible:outline-2"];
|
|
5
4
|
declare const focusClasses: readonly ["outline-none", "outline-transparent", "outline-offset-2", "focus:outline-focus-ring", "focus:outline-solid", "focus:outline-2"];
|
|
@@ -10,21 +9,6 @@ declare const racFocusRing: tailwind_variants.TVReturnType<{
|
|
|
10
9
|
true: string;
|
|
11
10
|
};
|
|
12
11
|
}, undefined, "outline-offset-2 outline-none", {
|
|
13
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
14
|
-
isFocusVisible?: boolean | (string | number | symbol)[] | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
17
|
-
twMergeConfig: {
|
|
18
|
-
extend: {
|
|
19
|
-
theme: {};
|
|
20
|
-
classGroups: {
|
|
21
|
-
prose: {
|
|
22
|
-
prose: (() => boolean)[];
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
12
|
isFocusVisible: {
|
|
29
13
|
false: string;
|
|
30
14
|
true: string;
|
|
@@ -34,16 +18,6 @@ declare const racFocusRing: tailwind_variants.TVReturnType<{
|
|
|
34
18
|
false: string;
|
|
35
19
|
true: string;
|
|
36
20
|
};
|
|
37
|
-
}, undefined, "outline-offset-2 outline-none",
|
|
38
|
-
isFocusVisible: {
|
|
39
|
-
false: string;
|
|
40
|
-
true: string;
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
isFocusVisible: {
|
|
44
|
-
false: string;
|
|
45
|
-
true: string;
|
|
46
|
-
};
|
|
47
|
-
}>, unknown, unknown, undefined>>;
|
|
21
|
+
}, undefined, "outline-offset-2 outline-none", unknown, unknown, undefined>>;
|
|
48
22
|
|
|
49
23
|
export { focusClasses, focusVisibleClasses, groupFocusVisibleClasses, racFocusRing };
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -6,6 +6,5 @@ export { cn } from './cn.mjs';
|
|
|
6
6
|
export { dataAttr } from './data-attr.mjs';
|
|
7
7
|
export { composeRenderProps, composeTailwindRenderProps } from './rac.mjs';
|
|
8
8
|
import 'tailwind-variants';
|
|
9
|
-
import 'tailwind-variants/dist/config.js';
|
|
10
9
|
import 'tailwind-merge';
|
|
11
10
|
import 'clsx';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -6,6 +6,5 @@ export { cn } from './cn.js';
|
|
|
6
6
|
export { dataAttr } from './data-attr.js';
|
|
7
7
|
export { composeRenderProps, composeTailwindRenderProps } from './rac.js';
|
|
8
8
|
import 'tailwind-variants';
|
|
9
|
-
import 'tailwind-variants/dist/config.js';
|
|
10
9
|
import 'tailwind-merge';
|
|
11
10
|
import 'clsx';
|
package/dist/utils/tv.d.mts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
|
|
3
|
-
declare const tv: tailwind_variants.CreateTV
|
|
4
|
-
twMergeConfig: {
|
|
5
|
-
extend: {
|
|
6
|
-
theme: {};
|
|
7
|
-
classGroups: {
|
|
8
|
-
prose: {
|
|
9
|
-
prose: (() => boolean)[];
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}>;
|
|
3
|
+
declare const tv: tailwind_variants.CreateTV;
|
|
15
4
|
|
|
16
5
|
export { tv };
|