@opengovsg/oui-theme 0.0.11 → 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-2DNFT7QN.js +1 -0
- package/dist/{chunk-5KMOQ6KI.js.map → chunk-2DNFT7QN.js.map} +1 -1
- package/dist/{chunk-5ULZEGWX.js → chunk-2K77M7UD.js} +2 -2
- package/dist/chunk-2K77M7UD.js.map +1 -0
- package/dist/{chunk-U5G5CDX6.mjs → chunk-2NKETQ3I.mjs} +4 -4
- package/dist/chunk-33K2SFQM.js +55 -0
- package/dist/chunk-33K2SFQM.js.map +1 -0
- package/dist/{chunk-NL5XE6BW.js → chunk-4TOCRU3I.js} +3 -3
- package/dist/{chunk-NL5XE6BW.js.map → chunk-4TOCRU3I.js.map} +1 -1
- package/dist/{chunk-MXWQ4MHM.js → chunk-5ZLWLG6R.js} +3 -3
- package/dist/{chunk-MXWQ4MHM.js.map → chunk-5ZLWLG6R.js.map} +1 -1
- package/dist/chunk-6ZYRWZBW.mjs +1 -0
- package/dist/chunk-7K66Q24Q.js +40 -0
- package/dist/chunk-7K66Q24Q.js.map +1 -0
- package/dist/{chunk-OHMUYFGR.js → chunk-D6ME6X3F.js} +7 -3
- package/dist/chunk-D6ME6X3F.js.map +1 -0
- package/dist/{chunk-7S572BNQ.mjs → chunk-EY432TXM.mjs} +2 -2
- package/dist/chunk-EY432TXM.mjs.map +1 -0
- package/dist/chunk-FTUBU2ZU.mjs +55 -0
- package/dist/chunk-FTUBU2ZU.mjs.map +1 -0
- package/dist/{chunk-RZ7GZGD2.js → chunk-GNNN3RQT.js} +2 -2
- package/dist/chunk-GNNN3RQT.js.map +1 -0
- package/dist/{chunk-XRA3KMRB.mjs → chunk-GPTGOTBN.mjs} +2 -2
- package/dist/chunk-GPTGOTBN.mjs.map +1 -0
- package/dist/chunk-JVXQS55M.mjs +52 -0
- package/dist/chunk-JVXQS55M.mjs.map +1 -0
- package/dist/{chunk-LB4U4MBD.mjs → chunk-OZPPDCIJ.mjs} +8 -4
- package/dist/chunk-OZPPDCIJ.mjs.map +1 -0
- package/dist/chunk-RYFMG27C.js +52 -0
- package/dist/chunk-RYFMG27C.js.map +1 -0
- package/dist/{chunk-SETXC4VI.mjs → chunk-SUTSDQSC.mjs} +4 -4
- package/dist/{chunk-WWEFJ54B.js → chunk-TQ3MGBT6.js} +3 -3
- package/dist/{chunk-WWEFJ54B.js.map → chunk-TQ3MGBT6.js.map} +1 -1
- package/dist/chunk-WG2AEB3W.mjs +40 -0
- package/dist/chunk-WG2AEB3W.mjs.map +1 -0
- package/dist/{chunk-KHQ7EBS5.mjs → chunk-XBNY4LLV.mjs} +4 -4
- package/dist/components/badge.d.mts +2 -182
- package/dist/components/badge.d.ts +2 -182
- package/dist/components/badge.js +4 -4
- package/dist/components/badge.mjs +3 -3
- package/dist/components/banner.d.mts +1 -78
- package/dist/components/banner.d.ts +1 -78
- package/dist/components/button.d.mts +10 -111
- package/dist/components/button.d.ts +10 -111
- package/dist/components/button.js +4 -4
- package/dist/components/button.mjs +3 -3
- package/dist/components/calendar.d.mts +1 -107
- package/dist/components/calendar.d.ts +1 -107
- package/dist/components/calendar.js +4 -4
- package/dist/components/calendar.mjs +3 -3
- 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 +178 -0
- package/dist/components/date-field.d.ts +178 -0
- package/dist/components/date-field.js +12 -0
- package/dist/components/date-field.js.map +1 -0
- package/dist/components/date-field.mjs +12 -0
- package/dist/components/date-field.mjs.map +1 -0
- package/dist/components/date-picker.d.mts +77 -0
- package/dist/components/date-picker.d.ts +77 -0
- package/dist/components/date-picker.js +9 -0
- package/dist/components/date-picker.js.map +1 -0
- package/dist/components/date-picker.mjs +9 -0
- package/dist/components/date-picker.mjs.map +1 -0
- package/dist/components/date-range-picker.d.mts +113 -0
- package/dist/components/date-range-picker.d.ts +113 -0
- package/dist/components/date-range-picker.js +9 -0
- package/dist/components/date-range-picker.js.map +1 -0
- package/dist/components/date-range-picker.mjs +9 -0
- package/dist/components/date-range-picker.mjs.map +1 -0
- 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/govt-banner.js +4 -4
- package/dist/components/govt-banner.mjs +3 -3
- package/dist/components/index.d.mts +4 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +35 -21
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +42 -28
- 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/list-box.js +2 -2
- package/dist/components/list-box.mjs +2 -2
- package/dist/components/menu.d.mts +4 -198
- package/dist/components/menu.d.ts +4 -198
- package/dist/components/menu.js +2 -2
- package/dist/components/menu.mjs +2 -2
- package/dist/components/popover.d.mts +3 -47
- package/dist/components/popover.d.ts +3 -47
- package/dist/components/popover.js +2 -2
- package/dist/components/popover.mjs +1 -1
- 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/tag-field.js +2 -2
- package/dist/components/tag-field.mjs +2 -2
- 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/components/toggle.js +4 -4
- package/dist/components/toggle.mjs +3 -3
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +37 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -30
- 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/index.js +4 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +4 -4
- package/dist/utils/tv.d.mts +1 -12
- package/dist/utils/tv.d.ts +1 -12
- package/package.json +8 -7
- package/dist/chunk-5KMOQ6KI.js +0 -1
- package/dist/chunk-5ULZEGWX.js.map +0 -1
- package/dist/chunk-7S572BNQ.mjs.map +0 -1
- package/dist/chunk-EDFORKQ6.mjs +0 -1
- package/dist/chunk-LB4U4MBD.mjs.map +0 -1
- package/dist/chunk-OHMUYFGR.js.map +0 -1
- package/dist/chunk-RZ7GZGD2.js.map +0 -1
- package/dist/chunk-XRA3KMRB.mjs.map +0 -1
- /package/dist/{chunk-U5G5CDX6.mjs.map → chunk-2NKETQ3I.mjs.map} +0 -0
- /package/dist/{chunk-EDFORKQ6.mjs.map → chunk-6ZYRWZBW.mjs.map} +0 -0
- /package/dist/{chunk-SETXC4VI.mjs.map → chunk-SUTSDQSC.mjs.map} +0 -0
- /package/dist/{chunk-KHQ7EBS5.mjs.map → chunk-XBNY4LLV.mjs.map} +0 -0
|
@@ -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 comboBoxStyles: tailwind_variants.TVReturnType<{
|
|
6
5
|
isClearable: {
|
|
@@ -44,23 +43,6 @@ declare const comboBoxStyles: tailwind_variants.TVReturnType<{
|
|
|
44
43
|
popover: string;
|
|
45
44
|
list: string;
|
|
46
45
|
}, never[], {
|
|
47
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
48
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
49
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
50
|
-
isClearable?: boolean | (string | number | symbol)[] | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
53
|
-
twMergeConfig: {
|
|
54
|
-
extend: {
|
|
55
|
-
theme: {};
|
|
56
|
-
classGroups: {
|
|
57
|
-
prose: {
|
|
58
|
-
prose: (() => boolean)[];
|
|
59
|
-
}[];
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}, {
|
|
64
46
|
isClearable: {
|
|
65
47
|
true: {
|
|
66
48
|
group: string;
|
|
@@ -142,71 +124,7 @@ declare const comboBoxStyles: tailwind_variants.TVReturnType<{
|
|
|
142
124
|
field: string;
|
|
143
125
|
popover: string;
|
|
144
126
|
list: string;
|
|
145
|
-
}, never[],
|
|
146
|
-
isClearable: {
|
|
147
|
-
true: {
|
|
148
|
-
group: string;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
isDisabled: {
|
|
152
|
-
true: {
|
|
153
|
-
expandButton: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
size: {
|
|
157
|
-
xs: {
|
|
158
|
-
field: string;
|
|
159
|
-
group: string[];
|
|
160
|
-
expandButton: string;
|
|
161
|
-
icon: string;
|
|
162
|
-
};
|
|
163
|
-
sm: {
|
|
164
|
-
popover: string;
|
|
165
|
-
field: string;
|
|
166
|
-
group: string[];
|
|
167
|
-
expandButton: string;
|
|
168
|
-
icon: string;
|
|
169
|
-
};
|
|
170
|
-
md: {
|
|
171
|
-
group: string[];
|
|
172
|
-
field: string;
|
|
173
|
-
expandButton: string;
|
|
174
|
-
icon: string;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
}, {
|
|
178
|
-
isClearable: {
|
|
179
|
-
true: {
|
|
180
|
-
group: string;
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
isDisabled: {
|
|
184
|
-
true: {
|
|
185
|
-
expandButton: string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
size: {
|
|
189
|
-
xs: {
|
|
190
|
-
field: string;
|
|
191
|
-
group: string[];
|
|
192
|
-
expandButton: string;
|
|
193
|
-
icon: string;
|
|
194
|
-
};
|
|
195
|
-
sm: {
|
|
196
|
-
popover: string;
|
|
197
|
-
field: string;
|
|
198
|
-
group: string[];
|
|
199
|
-
expandButton: string;
|
|
200
|
-
icon: string;
|
|
201
|
-
};
|
|
202
|
-
md: {
|
|
203
|
-
group: string[];
|
|
204
|
-
field: string;
|
|
205
|
-
expandButton: string;
|
|
206
|
-
icon: string;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
}>, unknown, unknown, undefined>>;
|
|
127
|
+
}, never[], unknown, unknown, undefined>>;
|
|
210
128
|
type ComboBoxVariantProps = VariantProps<typeof comboBoxStyles>;
|
|
211
129
|
type ComboBoxSlots = keyof ReturnType<typeof comboBoxStyles>;
|
|
212
130
|
declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
@@ -231,26 +149,6 @@ declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
|
231
149
|
md: string;
|
|
232
150
|
};
|
|
233
151
|
}, undefined, "border-base-divider-strong text-base-content-strong z-0 -ml-px cursor-pointer rounded-sm rounded-l-none border outline-hidden transition", {
|
|
234
|
-
responsiveVariants?: boolean | (string | number | symbol)[] | {
|
|
235
|
-
size?: boolean | (string | number | symbol)[] | undefined;
|
|
236
|
-
isDisabled?: boolean | (string | number | symbol)[] | undefined;
|
|
237
|
-
isInactive?: boolean | (string | number | symbol)[] | undefined;
|
|
238
|
-
isHovered?: boolean | (string | number | symbol)[] | undefined;
|
|
239
|
-
isFocused?: boolean | (string | number | symbol)[] | undefined;
|
|
240
|
-
isPressed?: boolean | (string | number | symbol)[] | undefined;
|
|
241
|
-
} | undefined;
|
|
242
|
-
} & tailwind_variants_dist_config_js.TWMConfig & {
|
|
243
|
-
twMergeConfig: {
|
|
244
|
-
extend: {
|
|
245
|
-
theme: {};
|
|
246
|
-
classGroups: {
|
|
247
|
-
prose: {
|
|
248
|
-
prose: (() => boolean)[];
|
|
249
|
-
}[];
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
}, {
|
|
254
152
|
isDisabled: {
|
|
255
153
|
true: string;
|
|
256
154
|
};
|
|
@@ -292,48 +190,6 @@ declare const comboBoxClearButtonStyles: tailwind_variants.TVReturnType<{
|
|
|
292
190
|
sm: string;
|
|
293
191
|
md: string;
|
|
294
192
|
};
|
|
295
|
-
}, undefined, "border-base-divider-strong text-base-content-strong z-0 -ml-px cursor-pointer rounded-sm rounded-l-none border outline-hidden transition",
|
|
296
|
-
isDisabled: {
|
|
297
|
-
true: string;
|
|
298
|
-
};
|
|
299
|
-
isInactive: {
|
|
300
|
-
true: string;
|
|
301
|
-
};
|
|
302
|
-
isHovered: {
|
|
303
|
-
true: string;
|
|
304
|
-
};
|
|
305
|
-
isFocused: {
|
|
306
|
-
true: string;
|
|
307
|
-
};
|
|
308
|
-
isPressed: {
|
|
309
|
-
true: string;
|
|
310
|
-
};
|
|
311
|
-
size: {
|
|
312
|
-
xs: string;
|
|
313
|
-
sm: string;
|
|
314
|
-
md: string;
|
|
315
|
-
};
|
|
316
|
-
}, {
|
|
317
|
-
isDisabled: {
|
|
318
|
-
true: string;
|
|
319
|
-
};
|
|
320
|
-
isInactive: {
|
|
321
|
-
true: string;
|
|
322
|
-
};
|
|
323
|
-
isHovered: {
|
|
324
|
-
true: string;
|
|
325
|
-
};
|
|
326
|
-
isFocused: {
|
|
327
|
-
true: string;
|
|
328
|
-
};
|
|
329
|
-
isPressed: {
|
|
330
|
-
true: string;
|
|
331
|
-
};
|
|
332
|
-
size: {
|
|
333
|
-
xs: string;
|
|
334
|
-
sm: string;
|
|
335
|
-
md: string;
|
|
336
|
-
};
|
|
337
|
-
}>, unknown, unknown, undefined>>;
|
|
193
|
+
}, undefined, "border-base-divider-strong text-base-content-strong z-0 -ml-px cursor-pointer rounded-sm rounded-l-none border outline-hidden transition", unknown, unknown, undefined>>;
|
|
338
194
|
|
|
339
195
|
export { type ComboBoxSlots, type ComboBoxVariantProps, comboBoxClearButtonStyles, comboBoxStyles };
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
|
|
5
|
+
declare const dateInputStyles: tailwind_variants.TVReturnType<{
|
|
6
|
+
variant: {};
|
|
7
|
+
isPlaceholder: {
|
|
8
|
+
true: {
|
|
9
|
+
segment: string;
|
|
10
|
+
};
|
|
11
|
+
false: {
|
|
12
|
+
segment: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
isDisabled: {
|
|
16
|
+
true: {
|
|
17
|
+
segment: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
isFocused: {
|
|
21
|
+
true: {
|
|
22
|
+
segment: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
xs: {
|
|
27
|
+
base: string;
|
|
28
|
+
};
|
|
29
|
+
sm: {
|
|
30
|
+
base: string;
|
|
31
|
+
};
|
|
32
|
+
md: {
|
|
33
|
+
base: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
base: string;
|
|
38
|
+
segment: string;
|
|
39
|
+
}, undefined, {
|
|
40
|
+
variant: {};
|
|
41
|
+
isPlaceholder: {
|
|
42
|
+
true: {
|
|
43
|
+
segment: string;
|
|
44
|
+
};
|
|
45
|
+
false: {
|
|
46
|
+
segment: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isDisabled: {
|
|
50
|
+
true: {
|
|
51
|
+
segment: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
isFocused: {
|
|
55
|
+
true: {
|
|
56
|
+
segment: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
size: {
|
|
60
|
+
xs: {
|
|
61
|
+
base: string;
|
|
62
|
+
};
|
|
63
|
+
sm: {
|
|
64
|
+
base: string;
|
|
65
|
+
};
|
|
66
|
+
md: {
|
|
67
|
+
base: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
base: string;
|
|
72
|
+
segment: string;
|
|
73
|
+
}, tailwind_variants.TVReturnType<{
|
|
74
|
+
variant: {};
|
|
75
|
+
isPlaceholder: {
|
|
76
|
+
true: {
|
|
77
|
+
segment: string;
|
|
78
|
+
};
|
|
79
|
+
false: {
|
|
80
|
+
segment: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
isDisabled: {
|
|
84
|
+
true: {
|
|
85
|
+
segment: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
isFocused: {
|
|
89
|
+
true: {
|
|
90
|
+
segment: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
xs: {
|
|
95
|
+
base: string;
|
|
96
|
+
};
|
|
97
|
+
sm: {
|
|
98
|
+
base: string;
|
|
99
|
+
};
|
|
100
|
+
md: {
|
|
101
|
+
base: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
base: string;
|
|
106
|
+
segment: string;
|
|
107
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
108
|
+
type DateInputSlots = keyof ReturnType<typeof dateInputStyles>;
|
|
109
|
+
type DateInputVariantProps = VariantProps<typeof dateInputStyles>;
|
|
110
|
+
declare const dateFieldStyles: tailwind_variants.TVReturnType<{} | {
|
|
111
|
+
size: {
|
|
112
|
+
xs: tailwind_merge.ClassNameValue | {};
|
|
113
|
+
sm: tailwind_merge.ClassNameValue | {};
|
|
114
|
+
md: tailwind_merge.ClassNameValue | {};
|
|
115
|
+
};
|
|
116
|
+
variant: {
|
|
117
|
+
outline: tailwind_merge.ClassNameValue | {};
|
|
118
|
+
unstyled: tailwind_merge.ClassNameValue | {};
|
|
119
|
+
};
|
|
120
|
+
isDisabled: {
|
|
121
|
+
true: tailwind_merge.ClassNameValue | {};
|
|
122
|
+
};
|
|
123
|
+
}, undefined, undefined, {
|
|
124
|
+
size: {
|
|
125
|
+
xs: string;
|
|
126
|
+
sm: string;
|
|
127
|
+
md: string;
|
|
128
|
+
};
|
|
129
|
+
variant: {
|
|
130
|
+
outline: string;
|
|
131
|
+
unstyled: string;
|
|
132
|
+
};
|
|
133
|
+
isDisabled: {
|
|
134
|
+
true: string;
|
|
135
|
+
};
|
|
136
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
137
|
+
size: {
|
|
138
|
+
xs: string;
|
|
139
|
+
sm: string;
|
|
140
|
+
md: string;
|
|
141
|
+
};
|
|
142
|
+
variant: {
|
|
143
|
+
outline: string;
|
|
144
|
+
unstyled: string;
|
|
145
|
+
};
|
|
146
|
+
isDisabled: {
|
|
147
|
+
true: string;
|
|
148
|
+
};
|
|
149
|
+
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden", {
|
|
150
|
+
size: {
|
|
151
|
+
xs: string;
|
|
152
|
+
sm: string;
|
|
153
|
+
md: string;
|
|
154
|
+
};
|
|
155
|
+
variant: {
|
|
156
|
+
outline: string;
|
|
157
|
+
unstyled: string;
|
|
158
|
+
};
|
|
159
|
+
isDisabled: {
|
|
160
|
+
true: string;
|
|
161
|
+
};
|
|
162
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
163
|
+
size: {
|
|
164
|
+
xs: string;
|
|
165
|
+
sm: string;
|
|
166
|
+
md: string;
|
|
167
|
+
};
|
|
168
|
+
variant: {
|
|
169
|
+
outline: string;
|
|
170
|
+
unstyled: string;
|
|
171
|
+
};
|
|
172
|
+
isDisabled: {
|
|
173
|
+
true: string;
|
|
174
|
+
};
|
|
175
|
+
}, 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>>>;
|
|
176
|
+
type DateFieldVariantProps = VariantProps<typeof dateFieldStyles>;
|
|
177
|
+
|
|
178
|
+
export { type DateFieldVariantProps, type DateInputSlots, type DateInputVariantProps, dateFieldStyles, dateInputStyles };
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
|
|
5
|
+
declare const dateInputStyles: tailwind_variants.TVReturnType<{
|
|
6
|
+
variant: {};
|
|
7
|
+
isPlaceholder: {
|
|
8
|
+
true: {
|
|
9
|
+
segment: string;
|
|
10
|
+
};
|
|
11
|
+
false: {
|
|
12
|
+
segment: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
isDisabled: {
|
|
16
|
+
true: {
|
|
17
|
+
segment: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
isFocused: {
|
|
21
|
+
true: {
|
|
22
|
+
segment: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
xs: {
|
|
27
|
+
base: string;
|
|
28
|
+
};
|
|
29
|
+
sm: {
|
|
30
|
+
base: string;
|
|
31
|
+
};
|
|
32
|
+
md: {
|
|
33
|
+
base: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
base: string;
|
|
38
|
+
segment: string;
|
|
39
|
+
}, undefined, {
|
|
40
|
+
variant: {};
|
|
41
|
+
isPlaceholder: {
|
|
42
|
+
true: {
|
|
43
|
+
segment: string;
|
|
44
|
+
};
|
|
45
|
+
false: {
|
|
46
|
+
segment: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isDisabled: {
|
|
50
|
+
true: {
|
|
51
|
+
segment: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
isFocused: {
|
|
55
|
+
true: {
|
|
56
|
+
segment: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
size: {
|
|
60
|
+
xs: {
|
|
61
|
+
base: string;
|
|
62
|
+
};
|
|
63
|
+
sm: {
|
|
64
|
+
base: string;
|
|
65
|
+
};
|
|
66
|
+
md: {
|
|
67
|
+
base: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
base: string;
|
|
72
|
+
segment: string;
|
|
73
|
+
}, tailwind_variants.TVReturnType<{
|
|
74
|
+
variant: {};
|
|
75
|
+
isPlaceholder: {
|
|
76
|
+
true: {
|
|
77
|
+
segment: string;
|
|
78
|
+
};
|
|
79
|
+
false: {
|
|
80
|
+
segment: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
isDisabled: {
|
|
84
|
+
true: {
|
|
85
|
+
segment: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
isFocused: {
|
|
89
|
+
true: {
|
|
90
|
+
segment: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
xs: {
|
|
95
|
+
base: string;
|
|
96
|
+
};
|
|
97
|
+
sm: {
|
|
98
|
+
base: string;
|
|
99
|
+
};
|
|
100
|
+
md: {
|
|
101
|
+
base: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
base: string;
|
|
106
|
+
segment: string;
|
|
107
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
108
|
+
type DateInputSlots = keyof ReturnType<typeof dateInputStyles>;
|
|
109
|
+
type DateInputVariantProps = VariantProps<typeof dateInputStyles>;
|
|
110
|
+
declare const dateFieldStyles: tailwind_variants.TVReturnType<{} | {
|
|
111
|
+
size: {
|
|
112
|
+
xs: tailwind_merge.ClassNameValue | {};
|
|
113
|
+
sm: tailwind_merge.ClassNameValue | {};
|
|
114
|
+
md: tailwind_merge.ClassNameValue | {};
|
|
115
|
+
};
|
|
116
|
+
variant: {
|
|
117
|
+
outline: tailwind_merge.ClassNameValue | {};
|
|
118
|
+
unstyled: tailwind_merge.ClassNameValue | {};
|
|
119
|
+
};
|
|
120
|
+
isDisabled: {
|
|
121
|
+
true: tailwind_merge.ClassNameValue | {};
|
|
122
|
+
};
|
|
123
|
+
}, undefined, undefined, {
|
|
124
|
+
size: {
|
|
125
|
+
xs: string;
|
|
126
|
+
sm: string;
|
|
127
|
+
md: string;
|
|
128
|
+
};
|
|
129
|
+
variant: {
|
|
130
|
+
outline: string;
|
|
131
|
+
unstyled: string;
|
|
132
|
+
};
|
|
133
|
+
isDisabled: {
|
|
134
|
+
true: string;
|
|
135
|
+
};
|
|
136
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
137
|
+
size: {
|
|
138
|
+
xs: string;
|
|
139
|
+
sm: string;
|
|
140
|
+
md: string;
|
|
141
|
+
};
|
|
142
|
+
variant: {
|
|
143
|
+
outline: string;
|
|
144
|
+
unstyled: string;
|
|
145
|
+
};
|
|
146
|
+
isDisabled: {
|
|
147
|
+
true: string;
|
|
148
|
+
};
|
|
149
|
+
}, undefined, "text-base-content placeholder:text-interaction-support-placeholder w-full min-w-0 flex-1 rounded-sm bg-white outline-hidden", {
|
|
150
|
+
size: {
|
|
151
|
+
xs: string;
|
|
152
|
+
sm: string;
|
|
153
|
+
md: string;
|
|
154
|
+
};
|
|
155
|
+
variant: {
|
|
156
|
+
outline: string;
|
|
157
|
+
unstyled: string;
|
|
158
|
+
};
|
|
159
|
+
isDisabled: {
|
|
160
|
+
true: string;
|
|
161
|
+
};
|
|
162
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
163
|
+
size: {
|
|
164
|
+
xs: string;
|
|
165
|
+
sm: string;
|
|
166
|
+
md: string;
|
|
167
|
+
};
|
|
168
|
+
variant: {
|
|
169
|
+
outline: string;
|
|
170
|
+
unstyled: string;
|
|
171
|
+
};
|
|
172
|
+
isDisabled: {
|
|
173
|
+
true: string;
|
|
174
|
+
};
|
|
175
|
+
}, 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>>>;
|
|
176
|
+
type DateFieldVariantProps = VariantProps<typeof dateFieldStyles>;
|
|
177
|
+
|
|
178
|
+
export { type DateFieldVariantProps, type DateInputSlots, type DateInputVariantProps, dateFieldStyles, dateInputStyles };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk33K2SFQMjs = require('../chunk-33K2SFQM.js');
|
|
5
|
+
require('../chunk-DB7X5OUP.js');
|
|
6
|
+
require('../chunk-UZONBJUX.js');
|
|
7
|
+
require('../chunk-HEB3T2LL.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.dateFieldStyles = _chunk33K2SFQMjs.dateFieldStyles; exports.dateInputStyles = _chunk33K2SFQMjs.dateInputStyles;
|
|
12
|
+
//# sourceMappingURL=date-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/date-field.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,uHAAC","file":"/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/date-field.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dateFieldStyles,
|
|
3
|
+
dateInputStyles
|
|
4
|
+
} from "../chunk-FTUBU2ZU.mjs";
|
|
5
|
+
import "../chunk-43I4FEYX.mjs";
|
|
6
|
+
import "../chunk-4JENAMGV.mjs";
|
|
7
|
+
import "../chunk-R6W5A7PF.mjs";
|
|
8
|
+
export {
|
|
9
|
+
dateFieldStyles,
|
|
10
|
+
dateInputStyles
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=date-field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const datePickerStyles: tailwind_variants.TVReturnType<{
|
|
5
|
+
variant: {};
|
|
6
|
+
size: {
|
|
7
|
+
xs: {
|
|
8
|
+
group: string;
|
|
9
|
+
input: string;
|
|
10
|
+
};
|
|
11
|
+
sm: {
|
|
12
|
+
group: string;
|
|
13
|
+
input: string;
|
|
14
|
+
};
|
|
15
|
+
md: {
|
|
16
|
+
group: string;
|
|
17
|
+
input: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
base: string;
|
|
22
|
+
group: string;
|
|
23
|
+
input: string;
|
|
24
|
+
dialog: string;
|
|
25
|
+
selectorButton: string;
|
|
26
|
+
calendarButton: string;
|
|
27
|
+
}, undefined, {
|
|
28
|
+
variant: {};
|
|
29
|
+
size: {
|
|
30
|
+
xs: {
|
|
31
|
+
group: string;
|
|
32
|
+
input: string;
|
|
33
|
+
};
|
|
34
|
+
sm: {
|
|
35
|
+
group: string;
|
|
36
|
+
input: string;
|
|
37
|
+
};
|
|
38
|
+
md: {
|
|
39
|
+
group: string;
|
|
40
|
+
input: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
base: string;
|
|
45
|
+
group: string;
|
|
46
|
+
input: string;
|
|
47
|
+
dialog: string;
|
|
48
|
+
selectorButton: string;
|
|
49
|
+
calendarButton: string;
|
|
50
|
+
}, tailwind_variants.TVReturnType<{
|
|
51
|
+
variant: {};
|
|
52
|
+
size: {
|
|
53
|
+
xs: {
|
|
54
|
+
group: string;
|
|
55
|
+
input: string;
|
|
56
|
+
};
|
|
57
|
+
sm: {
|
|
58
|
+
group: string;
|
|
59
|
+
input: string;
|
|
60
|
+
};
|
|
61
|
+
md: {
|
|
62
|
+
group: string;
|
|
63
|
+
input: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
base: string;
|
|
68
|
+
group: string;
|
|
69
|
+
input: string;
|
|
70
|
+
dialog: string;
|
|
71
|
+
selectorButton: string;
|
|
72
|
+
calendarButton: string;
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
74
|
+
type DatePickerSlots = keyof ReturnType<typeof datePickerStyles>;
|
|
75
|
+
type DatePickerVariantProps = VariantProps<typeof datePickerStyles>;
|
|
76
|
+
|
|
77
|
+
export { type DatePickerSlots, type DatePickerVariantProps, datePickerStyles };
|