@opengovsg/oui-theme 0.0.48 → 0.0.50
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-4HJADAKB.js → chunk-37W3BXDA.js} +2 -2
- package/dist/chunk-37W3BXDA.js.map +1 -0
- package/dist/chunk-4J4LHS6J.js +51 -0
- package/dist/chunk-4J4LHS6J.js.map +1 -0
- package/dist/chunk-5XVPIVF4.js +1 -0
- package/dist/{chunk-QK6ESBKY.js.map → chunk-5XVPIVF4.js.map} +1 -1
- package/dist/chunk-BOLUJXH7.js +95 -0
- package/dist/chunk-BOLUJXH7.js.map +1 -0
- package/dist/chunk-IWZEGTNE.mjs +95 -0
- package/dist/chunk-IWZEGTNE.mjs.map +1 -0
- package/dist/{chunk-RKCURSL5.mjs → chunk-JAIEGQHU.mjs} +2 -2
- package/dist/chunk-JAIEGQHU.mjs.map +1 -0
- package/dist/chunk-MNCTFCLT.mjs +1 -0
- package/dist/chunk-N6C5OD7R.mjs +51 -0
- package/dist/chunk-N6C5OD7R.mjs.map +1 -0
- package/dist/components/breadcrumbs.d.mts +3 -3
- package/dist/components/breadcrumbs.d.ts +3 -3
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +26 -16
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +28 -18
- package/dist/components/infobox.d.mts +107 -0
- package/dist/components/infobox.d.ts +107 -0
- package/dist/components/infobox.js +9 -0
- package/dist/components/infobox.js.map +1 -0
- package/dist/components/infobox.mjs +9 -0
- package/dist/components/infobox.mjs.map +1 -0
- package/dist/components/radio-group.d.mts +166 -0
- package/dist/components/radio-group.d.ts +166 -0
- package/dist/components/radio-group.js +12 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/radio-group.mjs +12 -0
- package/dist/components/radio-group.mjs.map +1 -0
- package/dist/components/select.d.mts +6 -6
- package/dist/components/select.d.ts +6 -6
- package/dist/components/text-area.d.mts +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +2 -2
- package/dist/components/text-area.mjs +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +26 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -18
- package/package.json +2 -2
- package/dist/chunk-3QGSS6EK.mjs +0 -1
- package/dist/chunk-4HJADAKB.js.map +0 -1
- package/dist/chunk-QK6ESBKY.js +0 -1
- package/dist/chunk-RKCURSL5.mjs.map +0 -1
- /package/dist/{chunk-3QGSS6EK.mjs.map → chunk-MNCTFCLT.mjs.map} +0 -0
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-MNCTFCLT.mjs";
|
|
2
|
+
import {
|
|
3
|
+
toastStyles
|
|
4
|
+
} from "../chunk-2A6ND2I5.mjs";
|
|
5
|
+
import {
|
|
6
|
+
toggleStyles
|
|
7
|
+
} from "../chunk-LVP2IYQL.mjs";
|
|
2
8
|
import {
|
|
3
9
|
tooltipStyles
|
|
4
10
|
} from "../chunk-IGJAM4OC.mjs";
|
|
11
|
+
import {
|
|
12
|
+
selectItemStyles,
|
|
13
|
+
selectSearchStyles,
|
|
14
|
+
selectStyles
|
|
15
|
+
} from "../chunk-KGEWUCYS.mjs";
|
|
16
|
+
import {
|
|
17
|
+
sidebarStyles
|
|
18
|
+
} from "../chunk-AP5AVQWY.mjs";
|
|
5
19
|
import {
|
|
6
20
|
skipNavLinkStyles
|
|
7
21
|
} from "../chunk-W2D3UCG4.mjs";
|
|
@@ -19,16 +33,13 @@ import {
|
|
|
19
33
|
} from "../chunk-AGQVCSOT.mjs";
|
|
20
34
|
import {
|
|
21
35
|
textAreaStyles
|
|
22
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-JAIEGQHU.mjs";
|
|
23
37
|
import {
|
|
24
38
|
timeFieldStyles
|
|
25
39
|
} from "../chunk-YR6EFJLA.mjs";
|
|
26
40
|
import {
|
|
27
|
-
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import {
|
|
30
|
-
toggleStyles
|
|
31
|
-
} from "../chunk-LVP2IYQL.mjs";
|
|
41
|
+
modalStyles
|
|
42
|
+
} from "../chunk-AY2DNDLA.mjs";
|
|
32
43
|
import {
|
|
33
44
|
navbarMenuItemStyles,
|
|
34
45
|
navbarStyles,
|
|
@@ -47,17 +58,13 @@ import {
|
|
|
47
58
|
popoverArrowStyles,
|
|
48
59
|
popoverStyles
|
|
49
60
|
} from "../chunk-GPTGOTBN.mjs";
|
|
61
|
+
import {
|
|
62
|
+
radioGroupStyles,
|
|
63
|
+
radioStyles
|
|
64
|
+
} from "../chunk-IWZEGTNE.mjs";
|
|
50
65
|
import {
|
|
51
66
|
searchFieldStyles
|
|
52
67
|
} from "../chunk-QAKXFIF2.mjs";
|
|
53
|
-
import {
|
|
54
|
-
selectItemStyles,
|
|
55
|
-
selectSearchStyles,
|
|
56
|
-
selectStyles
|
|
57
|
-
} from "../chunk-KGEWUCYS.mjs";
|
|
58
|
-
import {
|
|
59
|
-
sidebarStyles
|
|
60
|
-
} from "../chunk-AP5AVQWY.mjs";
|
|
61
68
|
import {
|
|
62
69
|
fileDropzoneStyles,
|
|
63
70
|
fileInfoDropzoneStyles
|
|
@@ -65,6 +72,9 @@ import {
|
|
|
65
72
|
import {
|
|
66
73
|
govtBannerStyles
|
|
67
74
|
} from "../chunk-4EBHRWLK.mjs";
|
|
75
|
+
import {
|
|
76
|
+
infoboxStyles
|
|
77
|
+
} from "../chunk-N6C5OD7R.mjs";
|
|
68
78
|
import {
|
|
69
79
|
linkStyles
|
|
70
80
|
} from "../chunk-SL6SGTUK.mjs";
|
|
@@ -77,9 +87,6 @@ import {
|
|
|
77
87
|
import {
|
|
78
88
|
listBoxItemStyles
|
|
79
89
|
} from "../chunk-UTOQXAFU.mjs";
|
|
80
|
-
import {
|
|
81
|
-
modalStyles
|
|
82
|
-
} from "../chunk-AY2DNDLA.mjs";
|
|
83
90
|
import {
|
|
84
91
|
checkboxGroupStyles,
|
|
85
92
|
checkboxStyles
|
|
@@ -171,6 +178,7 @@ export {
|
|
|
171
178
|
fileDropzoneStyles,
|
|
172
179
|
fileInfoDropzoneStyles,
|
|
173
180
|
govtBannerStyles,
|
|
181
|
+
infoboxStyles,
|
|
174
182
|
inputStyles,
|
|
175
183
|
labelStyles,
|
|
176
184
|
linkStyles,
|
|
@@ -188,6 +196,8 @@ export {
|
|
|
188
196
|
phoneNumberFieldStyles,
|
|
189
197
|
popoverArrowStyles,
|
|
190
198
|
popoverStyles,
|
|
199
|
+
radioGroupStyles,
|
|
200
|
+
radioStyles,
|
|
191
201
|
searchFieldStyles,
|
|
192
202
|
selectItemStyles,
|
|
193
203
|
selectSearchStyles,
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const infoboxStyles: tailwind_variants.TVReturnType<{
|
|
5
|
+
variant: {
|
|
6
|
+
info: {
|
|
7
|
+
base: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
};
|
|
10
|
+
warning: {
|
|
11
|
+
base: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
};
|
|
14
|
+
error: {
|
|
15
|
+
base: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
};
|
|
18
|
+
success: {
|
|
19
|
+
base: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
sm: {
|
|
25
|
+
base: string;
|
|
26
|
+
icon: string;
|
|
27
|
+
};
|
|
28
|
+
md: {
|
|
29
|
+
base: string;
|
|
30
|
+
icon: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
base: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
wrapper: string;
|
|
37
|
+
}, undefined, {
|
|
38
|
+
variant: {
|
|
39
|
+
info: {
|
|
40
|
+
base: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
};
|
|
43
|
+
warning: {
|
|
44
|
+
base: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
};
|
|
47
|
+
error: {
|
|
48
|
+
base: string;
|
|
49
|
+
icon: string;
|
|
50
|
+
};
|
|
51
|
+
success: {
|
|
52
|
+
base: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
base: string;
|
|
59
|
+
icon: string;
|
|
60
|
+
};
|
|
61
|
+
md: {
|
|
62
|
+
base: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
base: string;
|
|
68
|
+
icon: string;
|
|
69
|
+
wrapper: string;
|
|
70
|
+
}, tailwind_variants.TVReturnType<{
|
|
71
|
+
variant: {
|
|
72
|
+
info: {
|
|
73
|
+
base: string;
|
|
74
|
+
icon: string;
|
|
75
|
+
};
|
|
76
|
+
warning: {
|
|
77
|
+
base: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
};
|
|
80
|
+
error: {
|
|
81
|
+
base: string;
|
|
82
|
+
icon: string;
|
|
83
|
+
};
|
|
84
|
+
success: {
|
|
85
|
+
base: string;
|
|
86
|
+
icon: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
size: {
|
|
90
|
+
sm: {
|
|
91
|
+
base: string;
|
|
92
|
+
icon: string;
|
|
93
|
+
};
|
|
94
|
+
md: {
|
|
95
|
+
base: string;
|
|
96
|
+
icon: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
base: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
wrapper: string;
|
|
103
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
104
|
+
type InfoboxVariantProps = VariantProps<typeof infoboxStyles>;
|
|
105
|
+
type InfoboxSlots = keyof typeof infoboxStyles.slots;
|
|
106
|
+
|
|
107
|
+
export { type InfoboxSlots, type InfoboxVariantProps, infoboxStyles };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const infoboxStyles: tailwind_variants.TVReturnType<{
|
|
5
|
+
variant: {
|
|
6
|
+
info: {
|
|
7
|
+
base: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
};
|
|
10
|
+
warning: {
|
|
11
|
+
base: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
};
|
|
14
|
+
error: {
|
|
15
|
+
base: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
};
|
|
18
|
+
success: {
|
|
19
|
+
base: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
sm: {
|
|
25
|
+
base: string;
|
|
26
|
+
icon: string;
|
|
27
|
+
};
|
|
28
|
+
md: {
|
|
29
|
+
base: string;
|
|
30
|
+
icon: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
base: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
wrapper: string;
|
|
37
|
+
}, undefined, {
|
|
38
|
+
variant: {
|
|
39
|
+
info: {
|
|
40
|
+
base: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
};
|
|
43
|
+
warning: {
|
|
44
|
+
base: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
};
|
|
47
|
+
error: {
|
|
48
|
+
base: string;
|
|
49
|
+
icon: string;
|
|
50
|
+
};
|
|
51
|
+
success: {
|
|
52
|
+
base: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
base: string;
|
|
59
|
+
icon: string;
|
|
60
|
+
};
|
|
61
|
+
md: {
|
|
62
|
+
base: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
base: string;
|
|
68
|
+
icon: string;
|
|
69
|
+
wrapper: string;
|
|
70
|
+
}, tailwind_variants.TVReturnType<{
|
|
71
|
+
variant: {
|
|
72
|
+
info: {
|
|
73
|
+
base: string;
|
|
74
|
+
icon: string;
|
|
75
|
+
};
|
|
76
|
+
warning: {
|
|
77
|
+
base: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
};
|
|
80
|
+
error: {
|
|
81
|
+
base: string;
|
|
82
|
+
icon: string;
|
|
83
|
+
};
|
|
84
|
+
success: {
|
|
85
|
+
base: string;
|
|
86
|
+
icon: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
size: {
|
|
90
|
+
sm: {
|
|
91
|
+
base: string;
|
|
92
|
+
icon: string;
|
|
93
|
+
};
|
|
94
|
+
md: {
|
|
95
|
+
base: string;
|
|
96
|
+
icon: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
base: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
wrapper: string;
|
|
103
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
104
|
+
type InfoboxVariantProps = VariantProps<typeof infoboxStyles>;
|
|
105
|
+
type InfoboxSlots = keyof typeof infoboxStyles.slots;
|
|
106
|
+
|
|
107
|
+
export { type InfoboxSlots, type InfoboxVariantProps, infoboxStyles };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk4J4LHS6Jjs = require('../chunk-4J4LHS6J.js');
|
|
4
|
+
require('../chunk-UZONBJUX.js');
|
|
5
|
+
require('../chunk-HEB3T2LL.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.infoboxStyles = _chunk4J4LHS6Jjs.infoboxStyles;
|
|
9
|
+
//# sourceMappingURL=infobox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/infobox.js"],"names":[],"mappings":"AAAA;AACE;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACF,uDAAC","file":"/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/infobox.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const radioStyles: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
xs: {
|
|
7
|
+
circle: string;
|
|
8
|
+
base: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
};
|
|
11
|
+
sm: {
|
|
12
|
+
circle: string;
|
|
13
|
+
base: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
};
|
|
16
|
+
md: {
|
|
17
|
+
circle: string;
|
|
18
|
+
base: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
isFocusVisible: {
|
|
23
|
+
true: {
|
|
24
|
+
base: string;
|
|
25
|
+
};
|
|
26
|
+
false: {
|
|
27
|
+
base: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
isDisabled: {
|
|
31
|
+
true: {
|
|
32
|
+
base: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
isSelected: {
|
|
36
|
+
true: {
|
|
37
|
+
circle: string;
|
|
38
|
+
icon: string;
|
|
39
|
+
};
|
|
40
|
+
false: {
|
|
41
|
+
icon: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
circle: string;
|
|
46
|
+
base: string[];
|
|
47
|
+
icon: string;
|
|
48
|
+
label: string;
|
|
49
|
+
description: string;
|
|
50
|
+
}, undefined, {
|
|
51
|
+
size: {
|
|
52
|
+
xs: {
|
|
53
|
+
circle: string;
|
|
54
|
+
base: string;
|
|
55
|
+
icon: string;
|
|
56
|
+
};
|
|
57
|
+
sm: {
|
|
58
|
+
circle: string;
|
|
59
|
+
base: string;
|
|
60
|
+
icon: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
circle: string;
|
|
64
|
+
base: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
isFocusVisible: {
|
|
69
|
+
true: {
|
|
70
|
+
base: string;
|
|
71
|
+
};
|
|
72
|
+
false: {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
isDisabled: {
|
|
77
|
+
true: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
isSelected: {
|
|
82
|
+
true: {
|
|
83
|
+
circle: string;
|
|
84
|
+
icon: string;
|
|
85
|
+
};
|
|
86
|
+
false: {
|
|
87
|
+
icon: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}, {
|
|
91
|
+
circle: string;
|
|
92
|
+
base: string[];
|
|
93
|
+
icon: string;
|
|
94
|
+
label: string;
|
|
95
|
+
description: string;
|
|
96
|
+
}, tailwind_variants.TVReturnType<{
|
|
97
|
+
size: {
|
|
98
|
+
xs: {
|
|
99
|
+
circle: string;
|
|
100
|
+
base: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
};
|
|
103
|
+
sm: {
|
|
104
|
+
circle: string;
|
|
105
|
+
base: string;
|
|
106
|
+
icon: string;
|
|
107
|
+
};
|
|
108
|
+
md: {
|
|
109
|
+
circle: string;
|
|
110
|
+
base: string;
|
|
111
|
+
icon: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
isFocusVisible: {
|
|
115
|
+
true: {
|
|
116
|
+
base: string;
|
|
117
|
+
};
|
|
118
|
+
false: {
|
|
119
|
+
base: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
isDisabled: {
|
|
123
|
+
true: {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
isSelected: {
|
|
128
|
+
true: {
|
|
129
|
+
circle: string;
|
|
130
|
+
icon: string;
|
|
131
|
+
};
|
|
132
|
+
false: {
|
|
133
|
+
icon: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
circle: string;
|
|
138
|
+
base: string[];
|
|
139
|
+
icon: string;
|
|
140
|
+
label: string;
|
|
141
|
+
description: string;
|
|
142
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
143
|
+
type RadioVariantProps = VariantProps<typeof radioStyles>;
|
|
144
|
+
type RadioSlots = keyof ReturnType<typeof radioStyles>;
|
|
145
|
+
declare const radioGroupStyles: tailwind_variants.TVReturnType<{
|
|
146
|
+
size: {
|
|
147
|
+
xs: string;
|
|
148
|
+
sm: string;
|
|
149
|
+
md: string;
|
|
150
|
+
};
|
|
151
|
+
}, undefined, "flex w-full flex-col", {
|
|
152
|
+
size: {
|
|
153
|
+
xs: string;
|
|
154
|
+
sm: string;
|
|
155
|
+
md: string;
|
|
156
|
+
};
|
|
157
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
158
|
+
size: {
|
|
159
|
+
xs: string;
|
|
160
|
+
sm: string;
|
|
161
|
+
md: string;
|
|
162
|
+
};
|
|
163
|
+
}, undefined, "flex w-full flex-col", unknown, unknown, undefined>>;
|
|
164
|
+
type RadioGroupVariantProps = VariantProps<typeof radioGroupStyles>;
|
|
165
|
+
|
|
166
|
+
export { type RadioGroupVariantProps, type RadioSlots, type RadioVariantProps, radioGroupStyles, radioStyles };
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const radioStyles: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
xs: {
|
|
7
|
+
circle: string;
|
|
8
|
+
base: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
};
|
|
11
|
+
sm: {
|
|
12
|
+
circle: string;
|
|
13
|
+
base: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
};
|
|
16
|
+
md: {
|
|
17
|
+
circle: string;
|
|
18
|
+
base: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
isFocusVisible: {
|
|
23
|
+
true: {
|
|
24
|
+
base: string;
|
|
25
|
+
};
|
|
26
|
+
false: {
|
|
27
|
+
base: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
isDisabled: {
|
|
31
|
+
true: {
|
|
32
|
+
base: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
isSelected: {
|
|
36
|
+
true: {
|
|
37
|
+
circle: string;
|
|
38
|
+
icon: string;
|
|
39
|
+
};
|
|
40
|
+
false: {
|
|
41
|
+
icon: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
circle: string;
|
|
46
|
+
base: string[];
|
|
47
|
+
icon: string;
|
|
48
|
+
label: string;
|
|
49
|
+
description: string;
|
|
50
|
+
}, undefined, {
|
|
51
|
+
size: {
|
|
52
|
+
xs: {
|
|
53
|
+
circle: string;
|
|
54
|
+
base: string;
|
|
55
|
+
icon: string;
|
|
56
|
+
};
|
|
57
|
+
sm: {
|
|
58
|
+
circle: string;
|
|
59
|
+
base: string;
|
|
60
|
+
icon: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
circle: string;
|
|
64
|
+
base: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
isFocusVisible: {
|
|
69
|
+
true: {
|
|
70
|
+
base: string;
|
|
71
|
+
};
|
|
72
|
+
false: {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
isDisabled: {
|
|
77
|
+
true: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
isSelected: {
|
|
82
|
+
true: {
|
|
83
|
+
circle: string;
|
|
84
|
+
icon: string;
|
|
85
|
+
};
|
|
86
|
+
false: {
|
|
87
|
+
icon: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}, {
|
|
91
|
+
circle: string;
|
|
92
|
+
base: string[];
|
|
93
|
+
icon: string;
|
|
94
|
+
label: string;
|
|
95
|
+
description: string;
|
|
96
|
+
}, tailwind_variants.TVReturnType<{
|
|
97
|
+
size: {
|
|
98
|
+
xs: {
|
|
99
|
+
circle: string;
|
|
100
|
+
base: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
};
|
|
103
|
+
sm: {
|
|
104
|
+
circle: string;
|
|
105
|
+
base: string;
|
|
106
|
+
icon: string;
|
|
107
|
+
};
|
|
108
|
+
md: {
|
|
109
|
+
circle: string;
|
|
110
|
+
base: string;
|
|
111
|
+
icon: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
isFocusVisible: {
|
|
115
|
+
true: {
|
|
116
|
+
base: string;
|
|
117
|
+
};
|
|
118
|
+
false: {
|
|
119
|
+
base: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
isDisabled: {
|
|
123
|
+
true: {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
isSelected: {
|
|
128
|
+
true: {
|
|
129
|
+
circle: string;
|
|
130
|
+
icon: string;
|
|
131
|
+
};
|
|
132
|
+
false: {
|
|
133
|
+
icon: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
circle: string;
|
|
138
|
+
base: string[];
|
|
139
|
+
icon: string;
|
|
140
|
+
label: string;
|
|
141
|
+
description: string;
|
|
142
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
143
|
+
type RadioVariantProps = VariantProps<typeof radioStyles>;
|
|
144
|
+
type RadioSlots = keyof ReturnType<typeof radioStyles>;
|
|
145
|
+
declare const radioGroupStyles: tailwind_variants.TVReturnType<{
|
|
146
|
+
size: {
|
|
147
|
+
xs: string;
|
|
148
|
+
sm: string;
|
|
149
|
+
md: string;
|
|
150
|
+
};
|
|
151
|
+
}, undefined, "flex w-full flex-col", {
|
|
152
|
+
size: {
|
|
153
|
+
xs: string;
|
|
154
|
+
sm: string;
|
|
155
|
+
md: string;
|
|
156
|
+
};
|
|
157
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
158
|
+
size: {
|
|
159
|
+
xs: string;
|
|
160
|
+
sm: string;
|
|
161
|
+
md: string;
|
|
162
|
+
};
|
|
163
|
+
}, undefined, "flex w-full flex-col", unknown, unknown, undefined>>;
|
|
164
|
+
type RadioGroupVariantProps = VariantProps<typeof radioGroupStyles>;
|
|
165
|
+
|
|
166
|
+
export { type RadioGroupVariantProps, type RadioSlots, type RadioVariantProps, radioGroupStyles, radioStyles };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkBOLUJXH7js = require('../chunk-BOLUJXH7.js');
|
|
5
|
+
require('../chunk-Q2IC5MPB.js');
|
|
6
|
+
require('../chunk-UZONBJUX.js');
|
|
7
|
+
require('../chunk-HEB3T2LL.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.radioGroupStyles = _chunkBOLUJXH7js.radioGroupStyles; exports.radioStyles = _chunkBOLUJXH7js.radioStyles;
|
|
12
|
+
//# sourceMappingURL=radio-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/radio-group.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,iHAAC","file":"/home/runner/work/oui-design-system/oui-design-system/packages/theme/dist/components/radio-group.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
radioGroupStyles,
|
|
3
|
+
radioStyles
|
|
4
|
+
} from "../chunk-IWZEGTNE.mjs";
|
|
5
|
+
import "../chunk-5T7MRJOK.mjs";
|
|
6
|
+
import "../chunk-4JENAMGV.mjs";
|
|
7
|
+
import "../chunk-R6W5A7PF.mjs";
|
|
8
|
+
export {
|
|
9
|
+
radioGroupStyles,
|
|
10
|
+
radioStyles
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=radio-group.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|