@hilum/ui 3.1.0 → 3.1.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.1.0",
3
+ "version": "3.1.2",
4
4
  "private": false,
5
5
  "description": "Hilum UI — design system primitives (Button, Input, Dialog, Combobox, …) + tokens + fonts + icons",
6
6
  "license": "MIT",
@@ -49,6 +49,7 @@
49
49
  "llms.txt"
50
50
  ],
51
51
  "peerDependencies": {
52
+ "lucide-react": ">=0.511.0 <1.0.0",
52
53
  "react": "^19.0.0",
53
54
  "react-dom": "^19.0.0"
54
55
  },
@@ -60,7 +61,6 @@
60
61
  "clsx": "^2.1.1",
61
62
  "embla-carousel-react": "^8.6.0",
62
63
  "input-otp": "^1.4.2",
63
- "lucide-react": "^0.511.0",
64
64
  "radix-ui": "^1.1.3",
65
65
  "react-day-picker": "^9.14.0",
66
66
  "react-resizable-panels": "^4.10.0",
@@ -74,6 +74,7 @@
74
74
  "@fontsource/gabarito": "^5.2.8",
75
75
  "@types/react": "^19.0.0",
76
76
  "@types/react-dom": "^19.0.0",
77
+ "lucide-react": "^0.542.0",
77
78
  "tailwindcss": "^4.2.0",
78
79
  "tsup": "^8.3.0",
79
80
  "typescript": "^5.7.0"
@@ -99,7 +99,7 @@ const InputGroup = React.forwardRef<HTMLInputElement, InputGroupProps>(
99
99
  : hasInsetTrailing
100
100
  ? cn(radius, "pl-3 pr-9")
101
101
  : cn(radius, "px-3"),
102
- trailingAction && "pr-14",
102
+ trailingAction && "pr-16",
103
103
  className,
104
104
  )}
105
105
  {...props}
@@ -118,7 +118,7 @@ const InputGroup = React.forwardRef<HTMLInputElement, InputGroupProps>(
118
118
  {trailingAction && (
119
119
  <div
120
120
  className={cn(
121
- "absolute inset-y-0 right-2 flex items-center",
121
+ "absolute right-2 top-1/2 flex -translate-y-1/2 items-center",
122
122
  trailingActionClassName,
123
123
  )}
124
124
  >