@embedreach/components 0.2.46 → 0.2.48
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/chunks/index.js +13 -3
- package/dist/index.umd.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -77627,7 +77627,7 @@ function Calendar({
|
|
|
77627
77627
|
showOutsideDays = true,
|
|
77628
77628
|
...props2
|
|
77629
77629
|
}) {
|
|
77630
|
-
return /* @__PURE__ */ jsx(
|
|
77630
|
+
return /* @__PURE__ */ jsx("div", { "data-reach-root": true, children: /* @__PURE__ */ jsx(
|
|
77631
77631
|
DayPicker,
|
|
77632
77632
|
{
|
|
77633
77633
|
showOutsideDays,
|
|
@@ -77672,7 +77672,7 @@ function Calendar({
|
|
|
77672
77672
|
},
|
|
77673
77673
|
...props2
|
|
77674
77674
|
}
|
|
77675
|
-
);
|
|
77675
|
+
) });
|
|
77676
77676
|
}
|
|
77677
77677
|
Calendar.displayName = "Calendar";
|
|
77678
77678
|
const ComboboxDemo = ({
|
|
@@ -77816,7 +77816,17 @@ const SetScheduleTime = ({ setScheduleTime, setTimezone, timezone, scheduleTime,
|
|
|
77816
77816
|
today.setHours(0, 0, 0, 0);
|
|
77817
77817
|
return date2 < today;
|
|
77818
77818
|
},
|
|
77819
|
-
initialFocus: true
|
|
77819
|
+
initialFocus: true,
|
|
77820
|
+
classNames: {
|
|
77821
|
+
cell: "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-[#f1f5f9] [&:has([aria-selected].day-outside)]:bg-[#f1f5f9]/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",
|
|
77822
|
+
day_range_start: "day-range-start",
|
|
77823
|
+
day_range_end: "day-range-end",
|
|
77824
|
+
day_selected: "!bg-black !text-gray-200 hover:!bg-black hover:!text-gray-200 focus:!bg-black focus:!text-black",
|
|
77825
|
+
day_today: "bg-gray-200 text-black",
|
|
77826
|
+
day_outside: "day-outside text-[#94a3b8] aria-selected:bg-[#f1f5f9]/50 aria-selected:text-[#94a3b8]",
|
|
77827
|
+
day_disabled: "text-[#94a3b8] opacity-50",
|
|
77828
|
+
day_range_middle: "aria-selected:bg-[#f1f5f9] aria-selected:text-black"
|
|
77829
|
+
}
|
|
77820
77830
|
}
|
|
77821
77831
|
) })
|
|
77822
77832
|
] }),
|