@gearbox-protocol/permissionless-ui 1.1.1 → 1.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.
@@ -37,8 +37,10 @@ function ConfirmationItem({
37
37
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_identicon.Identicon, { address: confirmation, size: 32 }),
38
38
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-white whitespace-nowrap", children: (0, import_utils.shortenHash)(confirmation) }),
39
39
  note && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-gray-500 text-xs whitespace-nowrap", children: note }),
40
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_copy_button.CopyButton, { text: confirmation }),
41
- explorerUrl && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_buttons.ExternalButton, { url: explorerUrl })
40
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex gap-2 opacity-0 transition-opacity group-hover:opacity-100", children: [
41
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_copy_button.CopyButton, { text: confirmation }),
42
+ explorerUrl && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_buttons.ExternalButton, { url: explorerUrl })
43
+ ] })
42
44
  ] })
43
45
  ] });
44
46
  }
@@ -14,8 +14,10 @@ function ConfirmationItem({
14
14
  /* @__PURE__ */ jsx(Identicon, { address: confirmation, size: 32 }),
15
15
  /* @__PURE__ */ jsx("span", { className: "text-white whitespace-nowrap", children: shortenHash(confirmation) }),
16
16
  note && /* @__PURE__ */ jsx("span", { className: "text-gray-500 text-xs whitespace-nowrap", children: note }),
17
- /* @__PURE__ */ jsx(CopyButton, { text: confirmation }),
18
- explorerUrl && /* @__PURE__ */ jsx(ExternalButton, { url: explorerUrl })
17
+ /* @__PURE__ */ jsxs("div", { className: "flex gap-2 opacity-0 transition-opacity group-hover:opacity-100", children: [
18
+ /* @__PURE__ */ jsx(CopyButton, { text: confirmation }),
19
+ explorerUrl && /* @__PURE__ */ jsx(ExternalButton, { url: explorerUrl })
20
+ ] })
19
21
  ] })
20
22
  ] });
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",