@hilum/ui 3.2.0 → 3.2.2

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.0",
3
+ "version": "3.2.2",
4
4
  "private": false,
5
5
  "description": "Hilum UI — design system primitives (Button, Input, Dialog, Combobox, …) + tokens + fonts + icons",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@ function ButtonGroup({ children, className }: ButtonGroupProps) {
10
10
  return (
11
11
  <div
12
12
  className={cn(
13
- "inline-flex divide-x divide-border overflow-hidden rounded-lg border border-border bg-card shadow-natural",
13
+ "inline-flex items-center gap-0.5 rounded-xl bg-muted p-0.5",
14
14
  className,
15
15
  )}
16
16
  >
@@ -28,11 +28,12 @@ function ButtonGroupItem({ active, className, children, ...props }: ButtonGroupI
28
28
  <button
29
29
  type="button"
30
30
  className={cn(
31
- "relative inline-flex min-h-10 items-center gap-1.5 px-3.5 py-2 body font-medium transition-colors",
32
- "focus:z-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/30 focus-visible:ring-inset",
31
+ "relative inline-flex min-h-8 items-center justify-center gap-1 rounded-[10px] px-3 py-1 body-sm font-medium",
32
+ "transition-[background-color,box-shadow,color,opacity,scale] active:scale-[0.96]",
33
+ "focus:z-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/30",
33
34
  active
34
- ? "bg-foreground text-background"
35
- : "text-muted-foreground hover:bg-muted hover:text-foreground",
35
+ ? "bg-card text-foreground shadow-natural"
36
+ : "text-muted-foreground hover:text-foreground",
36
37
  className,
37
38
  )}
38
39
  {...props}