@matchain/matchid-sdk-react 0.1.55-alpha.12 → 0.1.55-alpha.13
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/api.js +20 -20
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +2 -2
- package/dist/{chunk-LEFO352N.mjs → chunk-25VAJMUX.mjs} +2 -2
- package/dist/{chunk-BZ2PI27T.mjs → chunk-BB4OTBUS.mjs} +157 -152
- package/dist/chunk-BB4OTBUS.mjs.map +1 -0
- package/dist/components.js +164 -159
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.js +109 -104
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/{index-B4lczvhL.d.mts → index-Dx4OFZhG.d.mts} +3 -4
- package/dist/{index-UJfUO0uH.d.ts → index-hiCo96Vc.d.ts} +3 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +113 -108
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui.d.mts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +14 -9
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-BZ2PI27T.mjs.map +0 -1
- /package/dist/{chunk-LEFO352N.mjs.map → chunk-25VAJMUX.mjs.map} +0 -0
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-
|
|
10
|
+
} from "./chunk-25VAJMUX.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-
|
|
20
|
+
} from "./chunk-BB4OTBUS.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-
|
|
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';
|
|
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-
|
|
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';
|
|
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: () =>
|
|
41
|
+
Lottie: () => Lottie_default,
|
|
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)(
|
|
1441
|
+
statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie_default, { 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,14 +1564,19 @@ function Tabs(props) {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
1566
1566
|
// src/ui/Lottie/index.tsx
|
|
1567
|
-
var
|
|
1567
|
+
var import_react43 = require("react");
|
|
1568
1568
|
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
}
|
|
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;
|
|
1575
1580
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1576
1581
|
0 && (module.exports = {
|
|
1577
1582
|
AlphaAvatar,
|