@gearbox-protocol/permissionless-ui 1.1.4 → 1.1.5

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.
@@ -45,7 +45,7 @@ const CopyButton = React.forwardRef(
45
45
  variant: "ghost",
46
46
  size: "sm",
47
47
  className: (0, import_utils.default)(
48
- "text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto",
48
+ `text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto [&_svg]:!size-[${size}]`,
49
49
  className
50
50
  ),
51
51
  onClick: () => (0, import_utils.copyToClipboard)({ text, name }),
@@ -45,7 +45,7 @@ const ExternalButton = React.forwardRef(
45
45
  variant: "ghost",
46
46
  size: "sm",
47
47
  className: (0, import_utils.default)(
48
- "text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto",
48
+ `text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto [&_svg]:!size-[${size}]`,
49
49
  className
50
50
  ),
51
51
  onClick: () => window.open(url, "_blank"),
@@ -12,7 +12,7 @@ const CopyButton = React.forwardRef(
12
12
  variant: "ghost",
13
13
  size: "sm",
14
14
  className: cn(
15
- "text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto",
15
+ `text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto [&_svg]:!size-[${size}]`,
16
16
  className
17
17
  ),
18
18
  onClick: () => copyToClipboard({ text, name }),
@@ -12,7 +12,7 @@ const ExternalButton = React.forwardRef(
12
12
  variant: "ghost",
13
13
  size: "sm",
14
14
  className: cn(
15
- "text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto",
15
+ `text-muted-foreground hover:text-white hover:bg-accent/0 p-0 h-auto [&_svg]:!size-[${size}]`,
16
16
  className
17
17
  ),
18
18
  onClick: () => window.open(url, "_blank"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",