@colisweb/rescript-toolkit 5.23.1 → 5.24.0
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/package.json
CHANGED
|
@@ -142,7 +142,7 @@ let make = (
|
|
|
142
142
|
| options =>
|
|
143
143
|
<>
|
|
144
144
|
<div
|
|
145
|
-
className="table table-fixed w-full"
|
|
145
|
+
className="table table-fixed w-full pr-8"
|
|
146
146
|
title={options->Array.map(({label}) => label)->Js.Array2.joinWith(", ")}>
|
|
147
147
|
<span className="table-cell truncate text-left">
|
|
148
148
|
{options->Array.map(({label}) => label)->Js.Array2.joinWith(", ")->React.string}
|
|
@@ -55,11 +55,11 @@ let make = (
|
|
|
55
55
|
"bg-white flex-shrink-0 cw-radio-circle",
|
|
56
56
|
{
|
|
57
57
|
switch variant {
|
|
58
|
-
| Default => "peer-checked:border-primary-700 peer-checked:text-primary-700"
|
|
59
|
-
| Filled => "peer-checked:border-primary-700 peer-checked:text-white"
|
|
58
|
+
| Default => "border peer-checked:border-4 peer-checked:border-primary-700 peer-checked:text-primary-700"
|
|
59
|
+
| Filled => "border-2 peer-checked:border-primary-700 peer-checked:text-white"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
"checkmark rounded-full
|
|
62
|
+
"checkmark rounded-full mr-2 border-neutral-700 transform transition-all ease-in-out flex items-center justify-center",
|
|
63
63
|
switch size {
|
|
64
64
|
| #xs => "w-4 h-4"
|
|
65
65
|
| #sm => "w-6 h-6"
|
|
@@ -67,17 +67,21 @@ let make = (
|
|
|
67
67
|
| #lg => "w-10 h-10"
|
|
68
68
|
},
|
|
69
69
|
])}>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
{switch variant {
|
|
71
|
+
| Default => React.null
|
|
72
|
+
| Filled =>
|
|
73
|
+
<span
|
|
74
|
+
className={cx([
|
|
75
|
+
"transform transition-all ease-in-out cw-radio-circle-content rounded-full",
|
|
76
|
+
switch size {
|
|
77
|
+
| #xs => "w-2 h-2"
|
|
78
|
+
| #sm => "w-3 h-3"
|
|
79
|
+
| #md => "w-4 h-4"
|
|
80
|
+
| #lg => "w-6 h-6"
|
|
81
|
+
},
|
|
82
|
+
])}
|
|
83
|
+
/>
|
|
84
|
+
}}
|
|
81
85
|
</span>
|
|
82
86
|
<span
|
|
83
87
|
className={cx([
|