@gearbox-protocol/permissionless-ui 1.2.3 → 1.2.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.
- package/dist/cjs/components/auth/signin-required.js +5 -1
- package/dist/cjs/components/markdown-viewer.js +6 -5
- package/dist/esm/components/auth/signin-required.js +1 -1
- package/dist/esm/components/markdown-viewer.js +2 -5
- package/dist/types/components/auth/signin-required.d.ts +1 -1
- package/dist/types/components/markdown-viewer.d.ts +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var signin_required_exports = {};
|
|
21
21
|
__export(signin_required_exports, {
|
|
22
|
-
|
|
22
|
+
SignInRequired: () => SignInRequired
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(signin_required_exports);
|
|
25
25
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -67,3 +67,7 @@ function SignInRequired({
|
|
|
67
67
|
}
|
|
68
68
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ButtonComponent, { ...customProps, onClick: () => setOpen(true), children: "Connect Wallet" });
|
|
69
69
|
}
|
|
70
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
+
0 && (module.exports = {
|
|
72
|
+
SignInRequired
|
|
73
|
+
});
|
|
@@ -29,7 +29,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
var markdown_viewer_exports = {};
|
|
31
31
|
__export(markdown_viewer_exports, {
|
|
32
|
-
|
|
32
|
+
MarkdownViewer: () => MarkdownViewer
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(markdown_viewer_exports);
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -69,10 +69,7 @@ function extractCustomId(children) {
|
|
|
69
69
|
}
|
|
70
70
|
return { id: slugify(text), displayText: children };
|
|
71
71
|
}
|
|
72
|
-
function MarkdownViewer({
|
|
73
|
-
content,
|
|
74
|
-
title
|
|
75
|
-
}) {
|
|
72
|
+
function MarkdownViewer({ content, title }) {
|
|
76
73
|
const router = (0, import_navigation.useRouter)();
|
|
77
74
|
(0, import_react.useEffect)(() => {
|
|
78
75
|
const hash = window.location.hash;
|
|
@@ -232,3 +229,7 @@ function MarkdownViewer({
|
|
|
232
229
|
}
|
|
233
230
|
);
|
|
234
231
|
}
|
|
232
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
233
|
+
0 && (module.exports = {
|
|
234
|
+
MarkdownViewer
|
|
235
|
+
});
|
|
@@ -36,10 +36,7 @@ function extractCustomId(children) {
|
|
|
36
36
|
}
|
|
37
37
|
return { id: slugify(text), displayText: children };
|
|
38
38
|
}
|
|
39
|
-
function MarkdownViewer({
|
|
40
|
-
content,
|
|
41
|
-
title
|
|
42
|
-
}) {
|
|
39
|
+
function MarkdownViewer({ content, title }) {
|
|
43
40
|
const router = useRouter();
|
|
44
41
|
useEffect(() => {
|
|
45
42
|
const hash = window.location.hash;
|
|
@@ -200,5 +197,5 @@ function MarkdownViewer({
|
|
|
200
197
|
);
|
|
201
198
|
}
|
|
202
199
|
export {
|
|
203
|
-
MarkdownViewer
|
|
200
|
+
MarkdownViewer
|
|
204
201
|
};
|
|
@@ -6,4 +6,4 @@ export interface SignInRequiredProps extends TabButtonProps {
|
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
skipSignIn?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export declare function SignInRequired({ children, owner, skipSignIn, ...customProps }: SignInRequiredProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<import("react").AwaitedReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -2,4 +2,4 @@ export interface MarkdownViewerProps {
|
|
|
2
2
|
content: string;
|
|
3
3
|
title?: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export declare function MarkdownViewer({ content, title }: MarkdownViewerProps): import("react/jsx-runtime").JSX.Element;
|