acai-ui-library 0.1.19 → 0.1.21
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/components/calendar.cjs +12 -10
- package/dist/components/calendar.cjs.map +1 -1
- package/dist/components/calendar.js +12 -10
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/date-picker.cjs +12 -10
- package/dist/components/date-picker.cjs.map +1 -1
- package/dist/components/date-picker.js +12 -10
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date-time-picker.cjs +12 -10
- package/dist/components/date-time-picker.cjs.map +1 -1
- package/dist/components/date-time-picker.js +12 -10
- package/dist/components/date-time-picker.js.map +1 -1
- package/dist/index.cjs +12 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3710,10 +3710,10 @@ function Calendar({
|
|
|
3710
3710
|
caption_label: "text-sm font-medium hidden",
|
|
3711
3711
|
nav: "flex items-center",
|
|
3712
3712
|
button_previous: cn(
|
|
3713
|
-
"absolute start-0 inline-flex size-7 items-center justify-center rounded-md bg-transparent p-0 text-muted-foreground hover:bg-
|
|
3713
|
+
"absolute start-0 inline-flex size-7 items-center justify-center rounded-md bg-transparent p-0 text-muted-foreground hover:bg-muted hover:text-foreground transition-colors cursor-pointer border-none"
|
|
3714
3714
|
),
|
|
3715
3715
|
button_next: cn(
|
|
3716
|
-
"absolute end-0 inline-flex size-7 items-center justify-center rounded-md bg-transparent p-0 text-muted-foreground hover:bg-
|
|
3716
|
+
"absolute end-0 inline-flex size-7 items-center justify-center rounded-md bg-transparent p-0 text-muted-foreground hover:bg-muted hover:text-foreground transition-colors cursor-pointer border-none"
|
|
3717
3717
|
),
|
|
3718
3718
|
month_grid: "w-full border-collapse",
|
|
3719
3719
|
weekdays: "flex w-full",
|
|
@@ -3721,17 +3721,19 @@ function Calendar({
|
|
|
3721
3721
|
week: "flex w-full mt-1",
|
|
3722
3722
|
day: "flex-1 h-8 p-0 relative focus-within:z-20 flex items-center justify-center text-sm",
|
|
3723
3723
|
day_button: cn(
|
|
3724
|
-
"inline-flex size-8 items-center justify-center rounded-md bg-transparent text-sm font-normal cursor-pointer border-none hover:bg-
|
|
3724
|
+
"inline-flex size-8 items-center justify-center rounded-md bg-transparent text-sm font-normal cursor-pointer border-none hover:bg-muted transition-colors"
|
|
3725
3725
|
),
|
|
3726
3726
|
range_end: "day-range-end",
|
|
3727
|
-
selected: "[&>button]:bg-
|
|
3728
|
-
today: "[&>button]:font-semibold [&>button]:text-
|
|
3729
|
-
outside: "day-outside [&>button]:bg-transparent [&>button]:text-[
|
|
3730
|
-
disabled: "[&>button]:text-
|
|
3731
|
-
range_middle: "[&>button]:bg-
|
|
3727
|
+
selected: "[&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground [&>button]:font-medium",
|
|
3728
|
+
today: "[&>button]:font-semibold [&>button]:text-primary",
|
|
3729
|
+
outside: "day-outside [&>button]:bg-transparent [&>button]:text-muted-foreground [&>button]:opacity-50",
|
|
3730
|
+
disabled: "[&>button]:text-muted-foreground [&>button]:opacity-40 [&>button]:cursor-default",
|
|
3731
|
+
range_middle: "[&>button]:bg-accent [&>button]:text-accent-foreground [&>button]:rounded-none",
|
|
3732
3732
|
range_start: "[&>button]:rounded-e-none",
|
|
3733
|
-
dropdowns: "flex items-center gap-1.5 justify-center
|
|
3734
|
-
dropdown: "h-7
|
|
3733
|
+
dropdowns: "flex items-center gap-1.5 justify-center",
|
|
3734
|
+
dropdown: "h-7 rounded-md border border-input bg-background px-2 text-xs font-medium text-foreground cursor-pointer outline-none accent-primary focus:border-ring focus:ring-[2px] focus:ring-ring/20 [&>option:checked]:bg-primary [&>option:checked]:text-primary-foreground [&>option]:py-1",
|
|
3735
|
+
months_dropdown: "w-[104px]",
|
|
3736
|
+
years_dropdown: "w-[72px]",
|
|
3735
3737
|
hidden: "invisible",
|
|
3736
3738
|
...classNames
|
|
3737
3739
|
},
|