@hilum/ui 3.2.9 → 3.2.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hilum/ui",
3
- "version": "3.2.9",
3
+ "version": "3.2.11",
4
4
  "private": false,
5
5
  "description": "Hilum UI — design system primitives (Button, Input, Dialog, Combobox, …) + tokens + fonts + icons",
6
6
  "license": "MIT",
@@ -19,20 +19,20 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
19
19
  caption_label: "body font-semibold text-foreground",
20
20
  nav: "flex items-center justify-between absolute inset-x-0 top-1",
21
21
  button_previous: cn(
22
- "absolute left-0 flex size-10 items-center justify-center rounded-md",
22
+ "absolute left-0 flex h-9 w-9 items-center justify-center rounded-md",
23
23
  "text-muted-foreground hover:bg-muted hover:text-muted-foreground transition-colors",
24
24
  ),
25
25
  button_next: cn(
26
- "absolute right-0 flex size-10 items-center justify-center rounded-md",
26
+ "absolute right-0 flex h-9 w-9 items-center justify-center rounded-md",
27
27
  "text-muted-foreground hover:bg-muted hover:text-muted-foreground transition-colors",
28
28
  ),
29
29
  month_grid: "w-full border-collapse mt-1",
30
30
  weekdays: "flex",
31
- weekday: "flex size-10 items-center justify-center label text-muted-foreground font-normal",
31
+ weekday: "flex h-9 w-9 items-center justify-center label text-muted-foreground font-normal",
32
32
  week: "flex w-full mt-1",
33
33
  day: "relative p-0 text-center",
34
34
  day_button: cn(
35
- "flex size-10 items-center justify-center rounded-full body font-normal",
35
+ "flex h-9 w-9 items-center justify-center rounded-full body font-normal",
36
36
  "text-foreground hover:bg-muted transition-colors",
37
37
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/30",
38
38
  ),
@@ -167,7 +167,7 @@ function CarouselPrevious({
167
167
  variant={variant}
168
168
  size={size}
169
169
  className={cn(
170
- "absolute size-10 rounded-full",
170
+ "absolute h-9 w-9 rounded-full",
171
171
  orientation === "vertical"
172
172
  ? "-top-12 left-1/2 -translate-x-1/2 rotate-90"
173
173
  : "-left-12 top-1/2 -translate-y-1/2",
@@ -196,7 +196,7 @@ function CarouselNext({
196
196
  variant={variant}
197
197
  size={size}
198
198
  className={cn(
199
- "absolute size-10 rounded-full",
199
+ "absolute h-9 w-9 rounded-full",
200
200
  orientation === "vertical"
201
201
  ? "-bottom-12 left-1/2 -translate-x-1/2 rotate-90"
202
202
  : "-right-12 top-1/2 -translate-y-1/2",
@@ -18,7 +18,7 @@ function EmptyState({ icon, title, description, action, className }: EmptyStateP
18
18
  return (
19
19
  <div className={cn("flex flex-col items-center gap-4 px-6 py-14 text-center", className)}>
20
20
  {icon && (
21
- <div className="flex size-12 items-center justify-center rounded-xl bg-brand-secondary/20 text-muted-foreground">
21
+ <div className="flex size-9 items-center justify-center rounded-md bg-brand-secondary/20 text-muted-foreground">
22
22
  {icon}
23
23
  </div>
24
24
  )}
@@ -29,7 +29,7 @@ function CirclesSteps({ steps, className }: { steps: Step[]; className?: string
29
29
  <li key={step.id ?? i} className={cn("relative", !isLast && "flex-1")}>
30
30
  {/* Connector line */}
31
31
  {!isLast && (
32
- <div className="absolute left-10 right-0 top-5 h-0.5" aria-hidden="true">
32
+ <div className="absolute left-9 right-0 top-[18px] h-0.5" aria-hidden="true">
33
33
  <div
34
34
  className={cn(
35
35
  "h-full",
@@ -47,7 +47,7 @@ function CirclesSteps({ steps, className }: { steps: Step[]; className?: string
47
47
  {/* Circle */}
48
48
  <span
49
49
  className={cn(
50
- "relative z-10 flex size-10 items-center justify-center rounded-full transition-colors",
50
+ "relative z-10 flex h-9 w-9 items-center justify-center rounded-full transition-colors",
51
51
  step.status === "complete" &&
52
52
  "bg-brand-primary group-hover:bg-brand-primary/80",
53
53
  step.status === "current" && "border-2 border-brand-primary bg-card",
@@ -104,7 +104,7 @@ function BulletsSteps({ steps, className }: { steps: Step[]; className?: string
104
104
  <a
105
105
  href={step.href ?? "#"}
106
106
  onClick={!step.href ? (e) => e.preventDefault() : undefined}
107
- className="relative flex size-10 items-center justify-center"
107
+ className="relative flex h-9 w-9 items-center justify-center"
108
108
  >
109
109
  {step.status === "complete" ? (
110
110
  <span