@colisweb/rescript-toolkit 5.6.7 → 5.6.8
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
|
@@ -185,13 +185,13 @@ let make = (
|
|
|
185
185
|
className={cx([
|
|
186
186
|
"flex flex-col items-stretch w-14 sm:w-16 font-display",
|
|
187
187
|
isDisabled ? "opacity-50 cursor-not-allowed" : "",
|
|
188
|
+
isSelected ? selectedDateClassName : "",
|
|
189
|
+
dateClassName,
|
|
188
190
|
])}>
|
|
189
191
|
<p
|
|
190
192
|
className={cx([
|
|
191
193
|
"flex flex-col items-center justify-center uppercase text-xs w-full rounded-sm leading-tight py-1",
|
|
192
|
-
isSelected
|
|
193
|
-
? "text-white bg-primary-700 " ++ selectedDateClassName
|
|
194
|
-
: "text-primary-700 bg-primary-50 " ++ dateClassName,
|
|
194
|
+
isSelected ? "text-white bg-primary-700 " : "text-primary-700 bg-primary-50 ",
|
|
195
195
|
])}>
|
|
196
196
|
<span>
|
|
197
197
|
{formattedDay
|