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/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-[var(--hc-color-border-subtle)] hover:text-foreground transition-colors cursor-pointer border-none"
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-[var(--hc-color-border-subtle)] hover:text-foreground transition-colors cursor-pointer border-none"
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-[var(--hc-color-border-subtle)] transition-colors"
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-[var(--hc-primary-600)] [&>button]:text-white [&>button]:hover:bg-[var(--hc-primary-600)] [&>button]:hover:text-white [&>button]:font-medium",
3728
- today: "[&>button]:font-semibold [&>button]:text-[var(--hc-primary-600)]",
3729
- outside: "day-outside [&>button]:bg-transparent [&>button]:text-[var(--hc-grey-200)]",
3730
- disabled: "[&>button]:text-[var(--hc-grey-200)] [&>button]:opacity-50 [&>button]:cursor-default",
3731
- range_middle: "[&>button]:bg-[var(--hc-primary-100)] [&>button]:text-foreground [&>button]:rounded-none",
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 [&>select]:flex-1",
3734
- dropdown: "h-7 w-[88px] rounded-md border border-[var(--hc-color-border-subtle)] bg-background px-2 text-xs font-medium text-foreground cursor-pointer outline-none accent-[var(--hc-primary-600)] focus:border-[var(--hc-primary-500)] focus:ring-[2px] focus:ring-[var(--hc-primary-500)]/20 [&>option:checked]:bg-[var(--hc-primary-600)] [&>option:checked]:text-white [&>option]:py-1",
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
  },