@codapet/design-system 0.5.5 → 0.5.6

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.mjs CHANGED
@@ -712,7 +712,7 @@ function Calendar({
712
712
  classNames?.weekdays
713
713
  ),
714
714
  weekday: cn(
715
- "text-muted-foreground rounded-full md:flex-1 size-6 mx-1 font-normal text-[0.8rem] select-none ",
715
+ "text-slate-700 font-medium rounded-full md:flex-1 size-6 mx-[6px] font-normal text-[0.8rem] select-none ",
716
716
  classNames?.weekday
717
717
  ),
718
718
  week: cn(
@@ -729,7 +729,7 @@ function Calendar({
729
729
  classNames?.week_number
730
730
  ),
731
731
  day: cn(
732
- "relative flex items-center justify-center md:w-full md:h-full p-0 text-center group/day aspect-square select-none size-7 md:mx-0 mx-1 rounded-full",
732
+ "relative flex items-center justify-center md:w-full md:h-full p-0 text-center group/day aspect-square select-none size-7 md:mx-0 mx-[6px] rounded-full",
733
733
  classNames?.day
734
734
  ),
735
735
  range_start: cn(" bg-accent", classNames?.range_start),
@@ -760,18 +760,18 @@ function Calendar({
760
760
  },
761
761
  Chevron: ({ className: className2, orientation, ...props2 }) => {
762
762
  if (orientation === "left") {
763
- return /* @__PURE__ */ jsx11(ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
763
+ return /* @__PURE__ */ jsx11(ChevronLeftIcon, { className: cn("size-6", className2), ...props2 });
764
764
  }
765
765
  if (orientation === "right") {
766
766
  return /* @__PURE__ */ jsx11(
767
767
  ChevronRightIcon,
768
768
  {
769
- className: cn("size-4", className2),
769
+ className: cn("size-6", className2),
770
770
  ...props2
771
771
  }
772
772
  );
773
773
  }
774
- return /* @__PURE__ */ jsx11(ChevronDownIcon2, { className: cn("size-4", className2), ...props2 });
774
+ return /* @__PURE__ */ jsx11(ChevronDownIcon2, { className: cn("size-6", className2), ...props2 });
775
775
  },
776
776
  DayButton: CalendarDayButton,
777
777
  WeekNumber: ({ children, ...props2 }) => {
@@ -805,7 +805,7 @@ function CalendarDayButton({
805
805
  "data-range-end": modifiers.range_end,
806
806
  "data-range-middle": modifiers.range_middle,
807
807
  className: cn(
808
- "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none md:font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70 md:p-0 rounded-full md:text-base text-sm font-medium",
808
+ "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-slate-200 data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none md:font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70 md:p-0 rounded-full md:text-base text-sm font-medium text-black data-[range-middle=true]:rounded-md",
809
809
  className
810
810
  ),
811
811
  ...props