@matchain/matchid-sdk-react 0.1.55-alpha.13 → 0.1.55-alpha.14

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.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-X4IQIC5B.mjs";
8
8
  import {
9
9
  api_exports
10
- } from "./chunk-25VAJMUX.mjs";
10
+ } from "./chunk-327CPPF5.mjs";
11
11
  import {
12
12
  MatchProvider,
13
13
  ModalProvider,
@@ -17,7 +17,7 @@ import {
17
17
  ui_exports,
18
18
  useMatch,
19
19
  wagmiConfig
20
- } from "./chunk-BB4OTBUS.mjs";
20
+ } from "./chunk-VIJ3M2NZ.mjs";
21
21
  import "./chunk-2E4Y2HA7.mjs";
22
22
  import "./chunk-K33FHUZM.mjs";
23
23
  import "./chunk-LA4YEM4O.mjs";
package/dist/ui.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-QPdWAVPk.mjs';
2
- export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-Dx4OFZhG.mjs';
2
+ export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-B4lczvhL.mjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import './types-DEsY_CPH.mjs';
package/dist/ui.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-B80rDuha.js';
2
- export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-hiCo96Vc.js';
2
+ export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-UJfUO0uH.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import './types-DEsY_CPH.js';
package/dist/ui.js CHANGED
@@ -38,7 +38,7 @@ __export(ui_exports, {
38
38
  Field: () => Field,
39
39
  HashPanel: () => HashPanel_default,
40
40
  Input: () => Input,
41
- Lottie: () => Lottie_default,
41
+ Lottie: () => Lottie,
42
42
  Modal: () => Modal,
43
43
  ModalDrawer: () => ModalDrawer,
44
44
  ModalWithHeader: () => ModalWithHeader,
@@ -1438,7 +1438,7 @@ function HashPanel({
1438
1438
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1439
1439
  color: statusValue.color
1440
1440
  }, children: statusValue.text }),
1441
- statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1441
+ statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie, { animationData: statusValue.lottie, style: {
1442
1442
  width: "96px",
1443
1443
  height: "96px"
1444
1444
  } }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
@@ -1564,19 +1564,12 @@ function Tabs(props) {
1564
1564
  }
1565
1565
 
1566
1566
  // src/ui/Lottie/index.tsx
1567
- var import_react43 = require("react");
1567
+ var LottieReact = __toESM(require("lottie-react"));
1568
1568
  var import_jsx_runtime99 = require("react/jsx-runtime");
1569
- var LazyLottie = (props) => {
1570
- const [LottieReact, setLottieReact] = (0, import_react43.useState)(null);
1571
- (0, import_react43.useEffect)(() => {
1572
- import("lottie-react").then((mod) => {
1573
- setLottieReact(mod.default || mod);
1574
- });
1575
- }, []);
1576
- if (!LottieReact) return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: "Loading..." });
1577
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(LottieReact, { loop: true, autoplay: true, ...props });
1578
- };
1579
- var Lottie_default = LazyLottie;
1569
+ var FixedLottie = LottieReact.default || LottieReact;
1570
+ function Lottie(props) {
1571
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(FixedLottie, { loop: true, autoplay: true, ...props });
1572
+ }
1580
1573
  // Annotate the CommonJS export names for ESM import in node:
1581
1574
  0 && (module.exports = {
1582
1575
  AlphaAvatar,