@okam/stack-ui 1.9.5 → 1.10.1
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/components/fields/Checkbox/Checkbox.interface.d.ts +1 -2
- package/index.js +5 -5
- package/index.mjs +448 -404
- package/package.json +3 -1
- package/theme/Checkbox/index.d.ts +1 -1
- package/theme/Radio/index.d.ts +63 -0
- package/theme/RadioGroup/index.d.ts +22 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okam/stack-ui",
|
|
3
3
|
"main": "./index.js",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.1",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
"@react-stately/calendar": "3.4.0",
|
|
29
29
|
"@react-stately/datepicker": "3.7.0",
|
|
30
30
|
"@react-stately/overlays": "3.6.2",
|
|
31
|
+
"@react-stately/radio": "3.9.0",
|
|
31
32
|
"@react-stately/toggle": "3.6.2",
|
|
32
33
|
"@react-types/dialog": "3.5.5",
|
|
34
|
+
"@react-types/radio": "3.5.1",
|
|
33
35
|
"@react-types/shared": "3.19.0",
|
|
34
36
|
"@tsed/exceptions": "^6.100.3",
|
|
35
37
|
"dequal": "^2.0.0",
|
|
@@ -46,7 +46,7 @@ export declare const checkBox: import("tailwind-variants").TVReturnType<{
|
|
|
46
46
|
isError: {
|
|
47
47
|
true: "border-red-500";
|
|
48
48
|
};
|
|
49
|
-
}, undefined, "w-
|
|
49
|
+
}, undefined, "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center", import("tailwind-variants/dist/config").TVConfig<{
|
|
50
50
|
isDisabled: {
|
|
51
51
|
true: "border-gray-6";
|
|
52
52
|
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const radioLabel: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
isDisabled: {
|
|
3
|
+
true: "text-gray-6";
|
|
4
|
+
};
|
|
5
|
+
}, undefined, "text-black flex flex-row items-center hover:cursor-pointer focus-ring-black", import("tailwind-variants/dist/config").TVConfig<{
|
|
6
|
+
isDisabled: {
|
|
7
|
+
true: "text-gray-6";
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
isDisabled: {
|
|
11
|
+
true: "text-gray-6";
|
|
12
|
+
};
|
|
13
|
+
}>, {
|
|
14
|
+
isDisabled: {
|
|
15
|
+
true: "text-gray-6";
|
|
16
|
+
};
|
|
17
|
+
}, undefined>;
|
|
18
|
+
export declare const radio: import("tailwind-variants").TVReturnType<{
|
|
19
|
+
isDisabled: {
|
|
20
|
+
true: "border-gray-6";
|
|
21
|
+
};
|
|
22
|
+
isFocused: {
|
|
23
|
+
true: "outline-black [outline-offset: 2px]";
|
|
24
|
+
};
|
|
25
|
+
}, undefined, "w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center", import("tailwind-variants/dist/config").TVConfig<{
|
|
26
|
+
isDisabled: {
|
|
27
|
+
true: "border-gray-6";
|
|
28
|
+
};
|
|
29
|
+
isFocused: {
|
|
30
|
+
true: "outline-black [outline-offset: 2px]";
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
isDisabled: {
|
|
34
|
+
true: "border-gray-6";
|
|
35
|
+
};
|
|
36
|
+
isFocused: {
|
|
37
|
+
true: "outline-black [outline-offset: 2px]";
|
|
38
|
+
};
|
|
39
|
+
}>, {
|
|
40
|
+
isDisabled: {
|
|
41
|
+
true: "border-gray-6";
|
|
42
|
+
};
|
|
43
|
+
isFocused: {
|
|
44
|
+
true: "outline-black [outline-offset: 2px]";
|
|
45
|
+
};
|
|
46
|
+
}, undefined>;
|
|
47
|
+
export declare const selectedMark: import("tailwind-variants").TVReturnType<{
|
|
48
|
+
selected: {
|
|
49
|
+
true: "block text-white";
|
|
50
|
+
};
|
|
51
|
+
}, undefined, "hidden w-4 h-4 bg-gray-300 rounded-full", import("tailwind-variants/dist/config").TVConfig<{
|
|
52
|
+
selected: {
|
|
53
|
+
true: "block text-white";
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
selected: {
|
|
57
|
+
true: "block text-white";
|
|
58
|
+
};
|
|
59
|
+
}>, {
|
|
60
|
+
selected: {
|
|
61
|
+
true: "block text-white";
|
|
62
|
+
};
|
|
63
|
+
}, undefined>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const radioGroup: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
isDisabled: {
|
|
3
|
+
true: "opacity-60 pointer-events-none";
|
|
4
|
+
};
|
|
5
|
+
}, undefined, "block", import("tailwind-variants/dist/config").TVConfig<{
|
|
6
|
+
isDisabled: {
|
|
7
|
+
true: "opacity-60 pointer-events-none";
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
isDisabled: {
|
|
11
|
+
true: "opacity-60 pointer-events-none";
|
|
12
|
+
};
|
|
13
|
+
}>, {
|
|
14
|
+
isDisabled: {
|
|
15
|
+
true: "opacity-60 pointer-events-none";
|
|
16
|
+
};
|
|
17
|
+
}, undefined>;
|
|
18
|
+
export declare const radioGroupItemsGroup: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "flex flex-col gap-4 py-8"> | {
|
|
19
|
+
[x: string]: {
|
|
20
|
+
[x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "flex flex-col gap-4 py-8">;
|
|
21
|
+
} | undefined;
|
|
22
|
+
} | {}, undefined, "flex flex-col gap-4 py-8", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "flex flex-col gap-4 py-8"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "flex flex-col gap-4 py-8"> | {}, undefined>;
|