@gearbox-protocol/permissionless-ui 1.1.2 → 1.1.4

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.
@@ -37,7 +37,7 @@ var React = __toESM(require("react"));
37
37
  var import_utils = __toESM(require('../../utils/index.js'));
38
38
  var import_button = require('./button.js');
39
39
  const CopyButton = React.forwardRef(
40
- ({ text, name, className, size = "3", ...props }, ref) => {
40
+ ({ text, name, className, size = "3.5", ...props }, ref) => {
41
41
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
42
42
  import_button.Button,
43
43
  {
@@ -50,7 +50,7 @@ const CopyButton = React.forwardRef(
50
50
  ),
51
51
  onClick: () => (0, import_utils.copyToClipboard)({ text, name }),
52
52
  ...props,
53
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Copy, { className: `h-${size} w-${size}` })
53
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Copy, { className: `!h-${size} !w-${size}` })
54
54
  }
55
55
  );
56
56
  }
@@ -37,7 +37,7 @@ var React = __toESM(require("react"));
37
37
  var import_utils = __toESM(require('../../utils/index.js'));
38
38
  var import_button = require('./button.js');
39
39
  const ExternalButton = React.forwardRef(
40
- ({ url, className, size = "3", ...props }, ref) => {
40
+ ({ url, className, size = "3.5", ...props }, ref) => {
41
41
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
42
42
  import_button.Button,
43
43
  {
@@ -50,7 +50,7 @@ const ExternalButton = React.forwardRef(
50
50
  ),
51
51
  onClick: () => window.open(url, "_blank"),
52
52
  ...props,
53
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ExternalLink, { className: `h-${size} w-${size}` })
53
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ExternalLink, { className: `!h-${size} !w-${size}` })
54
54
  }
55
55
  );
56
56
  }
@@ -4,7 +4,7 @@ import * as React from "react";
4
4
  import cn, { copyToClipboard } from "../../utils/index.js";
5
5
  import { Button } from "./button.js";
6
6
  const CopyButton = React.forwardRef(
7
- ({ text, name, className, size = "3", ...props }, ref) => {
7
+ ({ text, name, className, size = "3.5", ...props }, ref) => {
8
8
  return /* @__PURE__ */ jsx(
9
9
  Button,
10
10
  {
@@ -17,7 +17,7 @@ const CopyButton = React.forwardRef(
17
17
  ),
18
18
  onClick: () => copyToClipboard({ text, name }),
19
19
  ...props,
20
- children: /* @__PURE__ */ jsx(Copy, { className: `h-${size} w-${size}` })
20
+ children: /* @__PURE__ */ jsx(Copy, { className: `!h-${size} !w-${size}` })
21
21
  }
22
22
  );
23
23
  }
@@ -4,7 +4,7 @@ import * as React from "react";
4
4
  import cn from "../../utils/index.js";
5
5
  import { Button } from "./button.js";
6
6
  const ExternalButton = React.forwardRef(
7
- ({ url, className, size = "3", ...props }, ref) => {
7
+ ({ url, className, size = "3.5", ...props }, ref) => {
8
8
  return /* @__PURE__ */ jsx(
9
9
  Button,
10
10
  {
@@ -17,7 +17,7 @@ const ExternalButton = React.forwardRef(
17
17
  ),
18
18
  onClick: () => window.open(url, "_blank"),
19
19
  ...props,
20
- children: /* @__PURE__ */ jsx(ExternalLink, { className: `h-${size} w-${size}` })
20
+ children: /* @__PURE__ */ jsx(ExternalLink, { className: `!h-${size} !w-${size}` })
21
21
  }
22
22
  );
23
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",