@hilum/ui 3.1.1 → 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/dist/index.js CHANGED
@@ -2498,7 +2498,7 @@ var InputGroup = React17.forwardRef(
2498
2498
  baseInput,
2499
2499
  // Border radius
2500
2500
  leadingAddon ? trailingAddon || trailingButton ? "rounded-none px-3" : pill ? "rounded-none rounded-r-full px-3" : "rounded-none rounded-r-lg px-3" : leadingIcon ? trailingAddon ? pill ? "rounded-l-full rounded-r-none pl-9 pr-3" : "rounded-l-lg rounded-r-none pl-9 pr-3" : hasInsetTrailing ? cn(radius, "pl-9 pr-9") : cn(radius, "pl-9 pr-3") : trailingAddon ? pill ? "rounded-l-full rounded-r-none px-3" : "rounded-l-lg rounded-r-none px-3" : hasInsetTrailing ? cn(radius, "pl-3 pr-9") : cn(radius, "px-3"),
2501
- trailingAction && "pr-14",
2501
+ trailingAction && "pr-16",
2502
2502
  className
2503
2503
  ),
2504
2504
  ...props
@@ -2509,7 +2509,7 @@ var InputGroup = React17.forwardRef(
2509
2509
  "div",
2510
2510
  {
2511
2511
  className: cn(
2512
- "absolute inset-y-0 right-2 flex items-center",
2512
+ "absolute right-2 top-1/2 flex -translate-y-1/2 items-center",
2513
2513
  trailingActionClassName
2514
2514
  ),
2515
2515
  children: trailingAction