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.cjs CHANGED
@@ -4034,10 +4034,10 @@ function Calendar({
4034
4034
  caption_label: "text-sm font-medium hidden",
4035
4035
  nav: "flex items-center",
4036
4036
  button_previous: cn(
4037
- "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"
4037
+ "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"
4038
4038
  ),
4039
4039
  button_next: cn(
4040
- "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"
4040
+ "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"
4041
4041
  ),
4042
4042
  month_grid: "w-full border-collapse",
4043
4043
  weekdays: "flex w-full",
@@ -4045,17 +4045,19 @@ function Calendar({
4045
4045
  week: "flex w-full mt-1",
4046
4046
  day: "flex-1 h-8 p-0 relative focus-within:z-20 flex items-center justify-center text-sm",
4047
4047
  day_button: cn(
4048
- "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"
4048
+ "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"
4049
4049
  ),
4050
4050
  range_end: "day-range-end",
4051
- selected: "[&>button]:bg-[var(--hc-primary-600)] [&>button]:text-white [&>button]:hover:bg-[var(--hc-primary-600)] [&>button]:hover:text-white [&>button]:font-medium",
4052
- today: "[&>button]:font-semibold [&>button]:text-[var(--hc-primary-600)]",
4053
- outside: "day-outside [&>button]:bg-transparent [&>button]:text-[var(--hc-grey-200)]",
4054
- disabled: "[&>button]:text-[var(--hc-grey-200)] [&>button]:opacity-50 [&>button]:cursor-default",
4055
- range_middle: "[&>button]:bg-[var(--hc-primary-100)] [&>button]:text-foreground [&>button]:rounded-none",
4051
+ selected: "[&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground [&>button]:font-medium",
4052
+ today: "[&>button]:font-semibold [&>button]:text-primary",
4053
+ outside: "day-outside [&>button]:bg-transparent [&>button]:text-muted-foreground [&>button]:opacity-50",
4054
+ disabled: "[&>button]:text-muted-foreground [&>button]:opacity-40 [&>button]:cursor-default",
4055
+ range_middle: "[&>button]:bg-accent [&>button]:text-accent-foreground [&>button]:rounded-none",
4056
4056
  range_start: "[&>button]:rounded-e-none",
4057
- dropdowns: "flex items-center gap-1.5 justify-center [&>select]:flex-1",
4058
- 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",
4057
+ dropdowns: "flex items-center gap-1.5 justify-center",
4058
+ 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",
4059
+ months_dropdown: "w-[104px]",
4060
+ years_dropdown: "w-[72px]",
4059
4061
  hidden: "invisible",
4060
4062
  ...classNames
4061
4063
  },