@opengovsg/oui-theme 0.0.12 → 0.0.13
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/{chunk-OXGFRESN.js → chunk-33K2SFQM.js} +4 -4
- package/dist/chunk-33K2SFQM.js.map +1 -0
- package/dist/{chunk-YES4V53K.mjs → chunk-FTUBU2ZU.mjs} +4 -4
- package/dist/chunk-FTUBU2ZU.mjs.map +1 -0
- 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-field.js +2 -2
- package/dist/components/date-field.mjs +1 -1
- 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/index.js +2 -2
- package/dist/components/index.mjs +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/index.js +2 -2
- package/dist/index.mjs +1 -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 +7 -6
- package/dist/chunk-OXGFRESN.js.map +0 -1
- package/dist/chunk-YES4V53K.mjs.map +0 -1
|
@@ -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/index.js
CHANGED
|
@@ -96,7 +96,7 @@ var _chunkQGEGS5ROjs = require('./chunk-QGEGS5RO.js');
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
var
|
|
99
|
+
var _chunk33K2SFQMjs = require('./chunk-33K2SFQM.js');
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
var _chunkDB7X5OUPjs = require('./chunk-DB7X5OUP.js');
|
|
@@ -155,5 +155,5 @@ var _chunkHEB3T2LLjs = require('./chunk-HEB3T2LL.js');
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
exports.badgeCloseButtonStyles = _chunk4TOCRU3Ijs.badgeCloseButtonStyles; exports.badgeStyles = _chunk4TOCRU3Ijs.badgeStyles; exports.bannerStyles = _chunkGCZQ5SEKjs.bannerStyles; exports.buttonStyles = _chunkD6ME6X3Fjs.buttonStyles; exports.calendarStyles = _chunk2K77M7UDjs.calendarStyles; exports.cn = _chunkZIQLHX3Ujs.cn; exports.comboBoxClearButtonStyles = _chunkQGEGS5ROjs.comboBoxClearButtonStyles; exports.comboBoxFuzzyHighlightedTextStyles = _chunkJ2CD7KKZjs.comboBoxFuzzyHighlightedTextStyles; exports.comboBoxStyles = _chunkQGEGS5ROjs.comboBoxStyles; exports.composeRenderProps = _chunkZXZSQRVCjs.composeRenderProps; exports.composeTailwindRenderProps = _chunkZXZSQRVCjs.composeTailwindRenderProps; exports.customTwMergeConfig = _chunkHEB3T2LLjs.customTwMergeConfig; exports.dataAttr = _chunkO3I4FUFDjs.dataAttr; exports.dateFieldStyles =
|
|
158
|
+
exports.badgeCloseButtonStyles = _chunk4TOCRU3Ijs.badgeCloseButtonStyles; exports.badgeStyles = _chunk4TOCRU3Ijs.badgeStyles; exports.bannerStyles = _chunkGCZQ5SEKjs.bannerStyles; exports.buttonStyles = _chunkD6ME6X3Fjs.buttonStyles; exports.calendarStyles = _chunk2K77M7UDjs.calendarStyles; exports.cn = _chunkZIQLHX3Ujs.cn; exports.comboBoxClearButtonStyles = _chunkQGEGS5ROjs.comboBoxClearButtonStyles; exports.comboBoxFuzzyHighlightedTextStyles = _chunkJ2CD7KKZjs.comboBoxFuzzyHighlightedTextStyles; exports.comboBoxStyles = _chunkQGEGS5ROjs.comboBoxStyles; exports.composeRenderProps = _chunkZXZSQRVCjs.composeRenderProps; exports.composeTailwindRenderProps = _chunkZXZSQRVCjs.composeTailwindRenderProps; exports.customTwMergeConfig = _chunkHEB3T2LLjs.customTwMergeConfig; exports.dataAttr = _chunkO3I4FUFDjs.dataAttr; exports.dateFieldStyles = _chunk33K2SFQMjs.dateFieldStyles; exports.dateInputStyles = _chunk33K2SFQMjs.dateInputStyles; exports.datePickerStyles = _chunk7K66Q24Qjs.datePickerStyles; exports.dateRangePickerStyles = _chunkRYFMG27Cjs.dateRangePickerStyles; exports.descriptionStyles = _chunkLQDQQV7Xjs.descriptionStyles; exports.fieldBorderStyles = _chunkTPVZYXBGjs.fieldBorderStyles; exports.fieldErrorStyles = _chunkLQDQQV7Xjs.fieldErrorStyles; exports.fieldGroupStyles = _chunkTPVZYXBGjs.fieldGroupStyles; exports.focusClasses = _chunkX2UCVIR5js.focusClasses; exports.focusVisibleClasses = _chunkX2UCVIR5js.focusVisibleClasses; exports.govtBannerStyles = _chunkTQ3MGBT6js.govtBannerStyles; exports.inputStyles = _chunkDB7X5OUPjs.inputStyles; exports.labelStyles = _chunkLQDQQV7Xjs.labelStyles; exports.listBoxItemStyles = _chunkBIXVP43Cjs.listBoxItemStyles; exports.menuDividerStyles = _chunk4YH455F5js.menuDividerStyles; exports.menuItemStyles = _chunk4YH455F5js.menuItemStyles; exports.menuSectionStyles = _chunk4YH455F5js.menuSectionStyles; exports.menuStyles = _chunk4YH455F5js.menuStyles; exports.popoverArrowStyles = _chunkGNNN3RQTjs.popoverArrowStyles; exports.popoverStyles = _chunkGNNN3RQTjs.popoverStyles; exports.selectItemStyles = _chunk5FOX35BGjs.selectItemStyles; exports.selectSearchStyles = _chunk5FOX35BGjs.selectSearchStyles; exports.selectStyles = _chunk5FOX35BGjs.selectStyles; exports.skipNavLinkStyles = _chunkAVNHKMODjs.skipNavLinkStyles; exports.spinnerStyles = _chunkFLV5K4DIjs.spinnerStyles; exports.tabListStyles = _chunkXJNNSVHSjs.tabListStyles; exports.tabPanelStyles = _chunkXJNNSVHSjs.tabPanelStyles; exports.tabStyles = _chunkXJNNSVHSjs.tabStyles; exports.tabsStyles = _chunkXJNNSVHSjs.tabsStyles; exports.tagFieldStyles = _chunkNPNMMEUTjs.tagFieldStyles; exports.textAreaStyles = _chunk4HJADAKBjs.textAreaStyles; exports.toggleStyles = _chunk5ZLWLG6Rjs.toggleStyles; exports.tv = _chunkUZONBJUXjs.tv; exports.twMerge = _chunkHEB3T2LLjs.twMerge;
|
|
159
159
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
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 };
|