@hilum/ui 3.2.8 → 3.2.10

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
@@ -910,20 +910,20 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
910
910
  caption_label: "body font-semibold text-foreground",
911
911
  nav: "flex items-center justify-between absolute inset-x-0 top-1",
912
912
  button_previous: cn(
913
- "absolute left-0 flex size-10 items-center justify-center rounded-md",
913
+ "absolute left-0 flex h-9 w-9 items-center justify-center rounded-md",
914
914
  "text-muted-foreground hover:bg-muted hover:text-muted-foreground transition-colors"
915
915
  ),
916
916
  button_next: cn(
917
- "absolute right-0 flex size-10 items-center justify-center rounded-md",
917
+ "absolute right-0 flex h-9 w-9 items-center justify-center rounded-md",
918
918
  "text-muted-foreground hover:bg-muted hover:text-muted-foreground transition-colors"
919
919
  ),
920
920
  month_grid: "w-full border-collapse mt-1",
921
921
  weekdays: "flex",
922
- weekday: "flex size-10 items-center justify-center label text-muted-foreground font-normal",
922
+ weekday: "flex h-9 w-9 items-center justify-center label text-muted-foreground font-normal",
923
923
  week: "flex w-full mt-1",
924
924
  day: "relative p-0 text-center",
925
925
  day_button: cn(
926
- "flex size-10 items-center justify-center rounded-full body font-normal",
926
+ "flex h-9 w-9 items-center justify-center rounded-full body font-normal",
927
927
  "text-foreground hover:bg-muted transition-colors",
928
928
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/30"
929
929
  ),
@@ -1277,7 +1277,7 @@ function CarouselPrevious({
1277
1277
  variant,
1278
1278
  size,
1279
1279
  className: cn(
1280
- "absolute size-10 rounded-full",
1280
+ "absolute h-9 w-9 rounded-full",
1281
1281
  orientation === "vertical" ? "-top-12 left-1/2 -translate-x-1/2 rotate-90" : "-left-12 top-1/2 -translate-y-1/2",
1282
1282
  className
1283
1283
  ),
@@ -1304,7 +1304,7 @@ function CarouselNext({
1304
1304
  variant,
1305
1305
  size,
1306
1306
  className: cn(
1307
- "absolute size-10 rounded-full",
1307
+ "absolute h-9 w-9 rounded-full",
1308
1308
  orientation === "vertical" ? "-bottom-12 left-1/2 -translate-x-1/2 rotate-90" : "-right-12 top-1/2 -translate-y-1/2",
1309
1309
  className
1310
1310
  ),
@@ -1664,7 +1664,7 @@ function ColorPicker({
1664
1664
  disabled,
1665
1665
  "aria-label": ariaLabel,
1666
1666
  className: cn(
1667
- "inline-flex size-10 items-center justify-center rounded-md border border-border bg-card",
1667
+ "inline-flex size-9 items-center justify-center rounded-md border border-border bg-card",
1668
1668
  "transition-colors hover:border-border",
1669
1669
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/20 focus-visible:border-brand-primary",
1670
1670
  "disabled:cursor-not-allowed disabled:opacity-50",
@@ -1674,7 +1674,7 @@ function ColorPicker({
1674
1674
  "span",
1675
1675
  {
1676
1676
  "aria-hidden": true,
1677
- className: "h-5 w-5 rounded-sm border border-black/5",
1677
+ className: "size-4 rounded-sm border border-black/5",
1678
1678
  style: { backgroundColor: value }
1679
1679
  }
1680
1680
  )
@@ -1690,7 +1690,7 @@ function ColorPicker({
1690
1690
  setHex(e.target.value);
1691
1691
  onChange(e.target.value);
1692
1692
  },
1693
- className: "h-10 w-full cursor-pointer rounded-md border border-border bg-card p-0.5"
1693
+ className: "h-9 w-full cursor-pointer rounded-md border border-border bg-card p-0.5"
1694
1694
  }
1695
1695
  ),
1696
1696
  /* @__PURE__ */ jsxs("div", { className: "mt-2 flex items-center gap-2", children: [
@@ -1705,7 +1705,7 @@ function ColorPicker({
1705
1705
  onKeyDown: (e) => {
1706
1706
  if (e.key === "Enter") commit(e.target.value);
1707
1707
  },
1708
- className: "h-10 flex-1 rounded-md border border-border bg-card px-2 caption text-foreground focus:outline-none focus:border-brand-primary"
1708
+ className: "h-9 flex-1 rounded-md border border-border bg-card px-2 caption text-foreground focus:outline-none focus:border-brand-primary"
1709
1709
  }
1710
1710
  )
1711
1711
  ] }),
@@ -1715,7 +1715,7 @@ function ColorPicker({
1715
1715
  type: "button",
1716
1716
  onClick: () => onChange(p),
1717
1717
  "aria-label": p,
1718
- className: "size-10 rounded-md border border-black/10 transition-transform hover:scale-105 active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/30",
1718
+ className: "size-9 rounded-md border border-black/10 transition-transform hover:scale-105 active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/30",
1719
1719
  style: { backgroundColor: p }
1720
1720
  },
1721
1721
  p
@@ -6086,7 +6086,7 @@ function CirclesSteps({ steps, className }) {
6086
6086
  return /* @__PURE__ */ jsx("nav", { "aria-label": "Progress", className, children: /* @__PURE__ */ jsx("ol", { role: "list", className: "flex items-center", children: steps.map((step, i) => {
6087
6087
  const isLast = i === steps.length - 1;
6088
6088
  return /* @__PURE__ */ jsxs("li", { className: cn("relative", !isLast && "flex-1"), children: [
6089
- !isLast && /* @__PURE__ */ jsx("div", { className: "absolute left-10 right-0 top-5 h-0.5", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
6089
+ !isLast && /* @__PURE__ */ jsx("div", { className: "absolute left-9 right-0 top-[18px] h-0.5", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
6090
6090
  "div",
6091
6091
  {
6092
6092
  className: cn(
@@ -6106,7 +6106,7 @@ function CirclesSteps({ steps, className }) {
6106
6106
  "span",
6107
6107
  {
6108
6108
  className: cn(
6109
- "relative z-10 flex size-10 items-center justify-center rounded-full transition-colors",
6109
+ "relative z-10 flex h-9 w-9 items-center justify-center rounded-full transition-colors",
6110
6110
  step.status === "complete" && "bg-brand-primary group-hover:bg-brand-primary/80",
6111
6111
  step.status === "current" && "border-2 border-brand-primary bg-card",
6112
6112
  step.status === "upcoming" && "border-2 border-border bg-card group-hover:border-border"
@@ -6147,7 +6147,7 @@ function BulletsSteps({ steps, className }) {
6147
6147
  {
6148
6148
  href: step.href ?? "#",
6149
6149
  onClick: !step.href ? (e) => e.preventDefault() : void 0,
6150
- className: "relative flex size-10 items-center justify-center",
6150
+ className: "relative flex h-9 w-9 items-center justify-center",
6151
6151
  children: step.status === "complete" ? /* @__PURE__ */ jsx(
6152
6152
  "span",
6153
6153
  {