unframer 2.27.2 → 3.0.0
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/babel-jsx.js +2 -2
- package/dist/babel-jsx.js.map +1 -1
- package/dist/babel-typedoc.d.ts +39 -0
- package/dist/babel-typedoc.d.ts.map +1 -0
- package/dist/babel-typedoc.js +77 -0
- package/dist/babel-typedoc.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +7 -2
- package/dist/cli.js.map +1 -1
- package/dist/esbuild.d.ts +2 -1
- package/dist/esbuild.d.ts.map +1 -1
- package/dist/esbuild.js +16 -9
- package/dist/esbuild.js.map +1 -1
- package/dist/exporter.d.ts +25 -8
- package/dist/exporter.d.ts.map +1 -1
- package/dist/exporter.js +381 -195
- package/dist/exporter.js.map +1 -1
- package/dist/exporter.test.js +0 -4
- package/dist/exporter.test.js.map +1 -1
- package/dist/framer.js +229 -102
- package/dist/generated/api-client.d.ts +3 -3
- package/dist/generated/api-client.d.ts.map +1 -1
- package/dist/package-manager.d.ts +10 -0
- package/dist/package-manager.d.ts.map +1 -0
- package/dist/package-manager.js +145 -0
- package/dist/package-manager.js.map +1 -0
- package/dist/react.d.ts +32 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +1 -3
- package/dist/react.js.map +1 -1
- package/dist/undici-dispatcher.js +1 -2
- package/dist/undici-dispatcher.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/esm/babel-jsx.js +2 -2
- package/esm/babel-jsx.js.map +1 -1
- package/esm/babel-typedoc.d.ts +39 -0
- package/esm/babel-typedoc.d.ts.map +1 -0
- package/esm/babel-typedoc.js +74 -0
- package/esm/babel-typedoc.js.map +1 -0
- package/esm/cli.d.ts.map +1 -1
- package/esm/cli.js +7 -2
- package/esm/cli.js.map +1 -1
- package/esm/esbuild.d.ts +2 -1
- package/esm/esbuild.d.ts.map +1 -1
- package/esm/esbuild.js +16 -9
- package/esm/esbuild.js.map +1 -1
- package/esm/exporter.d.ts +25 -8
- package/esm/exporter.d.ts.map +1 -1
- package/esm/exporter.js +378 -194
- package/esm/exporter.js.map +1 -1
- package/esm/exporter.test.js +0 -4
- package/esm/exporter.test.js.map +1 -1
- package/esm/framer.js +229 -102
- package/esm/package-manager.d.ts +10 -0
- package/esm/package-manager.d.ts.map +1 -0
- package/esm/package-manager.js +141 -0
- package/esm/package-manager.js.map +1 -0
- package/esm/react.d.ts +32 -0
- package/esm/react.d.ts.map +1 -1
- package/esm/react.js +1 -3
- package/esm/react.js.map +1 -1
- package/esm/undici-dispatcher.js +1 -2
- package/esm/undici-dispatcher.js.map +1 -1
- package/esm/version.d.ts +1 -1
- package/esm/version.d.ts.map +1 -1
- package/esm/version.js +1 -1
- package/esm/version.js.map +1 -1
- package/package.json +5 -4
- package/src/babel-jsx.ts +2 -2
- package/src/babel-typedoc.ts +132 -0
- package/src/cli.ts +7 -2
- package/src/esbuild.ts +17 -12
- package/src/exporter.test.ts +0 -5
- package/src/exporter.ts +448 -237
- package/src/framer.js +237 -103
- package/src/package-manager.ts +164 -0
- package/src/react.tsx +33 -0
- package/src/undici-dispatcher.ts +1 -1
- package/src/version.ts +1 -1
- package/dist/framer.d.ts.map +0 -1
- package/dist/framer.js.map +0 -1
- package/esm/framer-chunks/chunk-22NYTOTD.d.ts +0 -14
- package/esm/framer-chunks/chunk-22NYTOTD.d.ts.map +0 -1
- package/esm/framer-chunks/chunk-22NYTOTD.js +0 -99
- package/esm/framer-chunks/chunk-22NYTOTD.js.map +0 -1
- package/esm/framer-chunks/fontshare-GSJIWLGZ-7BHTUG6K.d.ts +0 -115
- package/esm/framer-chunks/fontshare-GSJIWLGZ-7BHTUG6K.d.ts.map +0 -1
- package/esm/framer-chunks/fontshare-GSJIWLGZ-7BHTUG6K.js +0 -5
- package/esm/framer-chunks/fontshare-GSJIWLGZ-7BHTUG6K.js.map +0 -1
- package/esm/framer-chunks/fontshare-SSHBFVID-ZX5Y6FJ4.d.ts +0 -781
- package/esm/framer-chunks/fontshare-SSHBFVID-ZX5Y6FJ4.d.ts.map +0 -1
- package/esm/framer-chunks/fontshare-SSHBFVID-ZX5Y6FJ4.js +0 -5
- package/esm/framer-chunks/fontshare-SSHBFVID-ZX5Y6FJ4.js.map +0 -1
- package/esm/framer-chunks/fontshare-X6MCIXW5-FUMOBUA2.d.ts +0 -634
- package/esm/framer-chunks/fontshare-X6MCIXW5-FUMOBUA2.d.ts.map +0 -1
- package/esm/framer-chunks/fontshare-X6MCIXW5-FUMOBUA2.js +0 -5
- package/esm/framer-chunks/fontshare-X6MCIXW5-FUMOBUA2.js.map +0 -1
- package/esm/framer-chunks/framer-font-TNC5DMGA-XVG7BST3.d.ts +0 -18
- package/esm/framer-chunks/framer-font-TNC5DMGA-XVG7BST3.d.ts.map +0 -1
- package/esm/framer-chunks/framer-font-TNC5DMGA-XVG7BST3.js +0 -5
- package/esm/framer-chunks/framer-font-TNC5DMGA-XVG7BST3.js.map +0 -1
- package/esm/framer-chunks/google-3GQMHAEU-KEOTHDV6.d.ts +0 -9827
- package/esm/framer-chunks/google-3GQMHAEU-KEOTHDV6.d.ts.map +0 -1
- package/esm/framer-chunks/google-3GQMHAEU-KEOTHDV6.js +0 -5
- package/esm/framer-chunks/google-3GQMHAEU-KEOTHDV6.js.map +0 -1
- package/esm/framer-chunks/google-42BCYVR5-PDCHFNPY.d.ts +0 -3231
- package/esm/framer-chunks/google-42BCYVR5-PDCHFNPY.d.ts.map +0 -1
- package/esm/framer-chunks/google-42BCYVR5-PDCHFNPY.js +0 -5
- package/esm/framer-chunks/google-42BCYVR5-PDCHFNPY.js.map +0 -1
- package/esm/framer-chunks/google-LHIHIYDX-FZZ6UXE7.d.ts +0 -1499
- package/esm/framer-chunks/google-LHIHIYDX-FZZ6UXE7.d.ts.map +0 -1
- package/esm/framer-chunks/google-LHIHIYDX-FZZ6UXE7.js +0 -5
- package/esm/framer-chunks/google-LHIHIYDX-FZZ6UXE7.js.map +0 -1
- package/esm/framer.d.ts.map +0 -1
- package/esm/framer.js.map +0 -1
package/dist/framer.js
CHANGED
|
@@ -10958,7 +10958,7 @@ function stagger(duration = 0.1, { startDelay = 0, from = 0, ease: ease2, } = {}
|
|
|
10958
10958
|
return startDelay + delay2;
|
|
10959
10959
|
};
|
|
10960
10960
|
}
|
|
10961
|
-
// /:https://app.framerstatic.com/framer.
|
|
10961
|
+
// /:https://app.framerstatic.com/framer.6HDYDFRL.mjs
|
|
10962
10962
|
const react_10 = require("react");
|
|
10963
10963
|
const react_11 = __importDefault(require("react"));
|
|
10964
10964
|
const react_12 = require("react");
|
|
@@ -13706,7 +13706,8 @@ function turnOffReactEventHandling() {
|
|
|
13706
13706
|
const options = {
|
|
13707
13707
|
capture: true,
|
|
13708
13708
|
};
|
|
13709
|
-
|
|
13709
|
+
const body = document.body;
|
|
13710
|
+
eventsToStop.forEach((event) => body.addEventListener(event, stopFn, options));
|
|
13710
13711
|
}
|
|
13711
13712
|
function TurnOnReactEventHandling() {
|
|
13712
13713
|
(0, react_2.useEffect)(() => {
|
|
@@ -13715,7 +13716,8 @@ function TurnOnReactEventHandling() {
|
|
|
13715
13716
|
const options = {
|
|
13716
13717
|
capture: true,
|
|
13717
13718
|
};
|
|
13718
|
-
|
|
13719
|
+
const body = document.body;
|
|
13720
|
+
eventsToStop.forEach((event) => body.removeEventListener(event, stopFn, options));
|
|
13719
13721
|
eventsToStop = void 0;
|
|
13720
13722
|
performance.mark('framer-react-event-handling-end');
|
|
13721
13723
|
}, []);
|
|
@@ -14312,7 +14314,10 @@ async function insertHTML(html, referenceNode, position = 'beforeend') {
|
|
|
14312
14314
|
async function pump(sourceNode, targetParent, beforeNode) {
|
|
14313
14315
|
for (let node = sourceNode.firstChild; node; node = node.nextSibling) {
|
|
14314
14316
|
if (node instanceof HTMLScriptElement) {
|
|
14315
|
-
|
|
14317
|
+
const needsWait = handleScript(node, targetParent, beforeNode);
|
|
14318
|
+
if (needsWait !== void 0) {
|
|
14319
|
+
await needsWait;
|
|
14320
|
+
}
|
|
14316
14321
|
continue;
|
|
14317
14322
|
}
|
|
14318
14323
|
const clone = node.cloneNode(false);
|
|
@@ -14322,24 +14327,25 @@ async function pump(sourceNode, targetParent, beforeNode) {
|
|
|
14322
14327
|
}
|
|
14323
14328
|
}
|
|
14324
14329
|
}
|
|
14325
|
-
|
|
14330
|
+
function handleScript(node, parent, beforeNode) {
|
|
14326
14331
|
var _a;
|
|
14327
14332
|
const script = node.cloneNode(true);
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
+
if (!node.hasAttribute('src') ||
|
|
14334
|
+
// external
|
|
14335
|
+
node.hasAttribute('async') ||
|
|
14336
|
+
// async
|
|
14337
|
+
node.hasAttribute('defer') ||
|
|
14338
|
+
// defer
|
|
14339
|
+
((_a = node.getAttribute('type')) == null ? void 0 : _a.toLowerCase()) === 'module') {
|
|
14333
14340
|
parent.insertBefore(script, beforeNode);
|
|
14334
14341
|
}
|
|
14335
14342
|
else {
|
|
14336
|
-
|
|
14343
|
+
return execExternalBlockingScript(script, parent, beforeNode);
|
|
14337
14344
|
}
|
|
14338
14345
|
}
|
|
14339
14346
|
function execExternalBlockingScript(script, parent, beforeNode) {
|
|
14340
14347
|
return new Promise((resolve) => {
|
|
14341
|
-
script.onload =
|
|
14342
|
-
script.onerror = () => resolve();
|
|
14348
|
+
script.onload = script.onerror = resolve;
|
|
14343
14349
|
parent.insertBefore(script, beforeNode);
|
|
14344
14350
|
});
|
|
14345
14351
|
}
|
|
@@ -19881,7 +19887,12 @@ var richTextCSSRules = /* @__PURE__ */ (() => [
|
|
|
19881
19887
|
font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
|
|
19882
19888
|
letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
|
|
19883
19889
|
text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none));
|
|
19884
|
-
text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration,
|
|
19890
|
+
text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, initial));
|
|
19891
|
+
text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-text-decoration-style, initial));
|
|
19892
|
+
text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-text-decoration-color, initial));
|
|
19893
|
+
text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-text-decoration-thickness, initial));
|
|
19894
|
+
text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial));
|
|
19895
|
+
text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-text-decoration-offset, initial));
|
|
19885
19896
|
line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
|
|
19886
19897
|
text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start));
|
|
19887
19898
|
-webkit-text-stroke-width: var(--framer-text-stroke-width, initial);
|
|
@@ -20030,10 +20041,22 @@ var richTextCSSRules = /* @__PURE__ */ (() => [
|
|
|
20030
20041
|
color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
|
|
20031
20042
|
font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
|
|
20032
20043
|
text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
|
|
20033
|
-
text-decoration: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
|
|
20034
20044
|
/* Cursor inherit to overwrite the user agent stylesheet on rich text links. */
|
|
20035
20045
|
cursor: var(--framer-custom-cursors, pointer);
|
|
20036
20046
|
}
|
|
20047
|
+
`,
|
|
20048
|
+
// Text decoration can't be applied to the nested spans of links because it breaks animations
|
|
20049
|
+
/* css */
|
|
20050
|
+
`
|
|
20051
|
+
a.framer-text,
|
|
20052
|
+
span.framer-text[data-nested-link] {
|
|
20053
|
+
text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial)));
|
|
20054
|
+
text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial)));
|
|
20055
|
+
text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial)));
|
|
20056
|
+
text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)));
|
|
20057
|
+
text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)));
|
|
20058
|
+
text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial)));
|
|
20059
|
+
}
|
|
20037
20060
|
`, /* css */
|
|
20038
20061
|
`
|
|
20039
20062
|
@supports not (color: color(display-p3 1 1 1)) {
|
|
@@ -20083,7 +20106,17 @@ var richTextCSSRules = /* @__PURE__ */ (() => [
|
|
|
20083
20106
|
color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
|
|
20084
20107
|
font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
|
|
20085
20108
|
text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
|
|
20086
|
-
|
|
20109
|
+
}
|
|
20110
|
+
`, /* css */
|
|
20111
|
+
`
|
|
20112
|
+
a.framer-text:hover,
|
|
20113
|
+
span.framer-text[data-nested-link]:hover {
|
|
20114
|
+
text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))));
|
|
20115
|
+
text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-blockquote-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))));
|
|
20116
|
+
text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-blockquote-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))));
|
|
20117
|
+
text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-blockquote-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))));
|
|
20118
|
+
text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-blockquote-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))));
|
|
20119
|
+
text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-blockquote-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))));
|
|
20087
20120
|
}
|
|
20088
20121
|
`, /* css */
|
|
20089
20122
|
`
|
|
@@ -20139,7 +20172,17 @@ var richTextCSSRules = /* @__PURE__ */ (() => [
|
|
|
20139
20172
|
color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
|
|
20140
20173
|
font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
|
|
20141
20174
|
text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
|
|
20142
|
-
|
|
20175
|
+
}
|
|
20176
|
+
`, /* css */
|
|
20177
|
+
`
|
|
20178
|
+
a.framer-text[data-framer-page-link-current],
|
|
20179
|
+
span.framer-text[data-framer-page-link-current] {
|
|
20180
|
+
text-decoration-line: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial)));
|
|
20181
|
+
text-decoration-style: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial)));
|
|
20182
|
+
text-decoration-color: var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial)));
|
|
20183
|
+
text-decoration-thickness: var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)));
|
|
20184
|
+
text-decoration-skip-ink: var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)));
|
|
20185
|
+
text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial)));
|
|
20143
20186
|
}
|
|
20144
20187
|
`, /* css */
|
|
20145
20188
|
`
|
|
@@ -20190,7 +20233,17 @@ var richTextCSSRules = /* @__PURE__ */ (() => [
|
|
|
20190
20233
|
color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
|
|
20191
20234
|
font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1));
|
|
20192
20235
|
text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
|
|
20193
|
-
|
|
20236
|
+
}
|
|
20237
|
+
`, /* css */
|
|
20238
|
+
`
|
|
20239
|
+
a.framer-text[data-framer-page-link-current]:hover,
|
|
20240
|
+
span.framer-text[data-framer-page-link-current]:hover {
|
|
20241
|
+
text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))));
|
|
20242
|
+
text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))));
|
|
20243
|
+
text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))));
|
|
20244
|
+
text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))));
|
|
20245
|
+
text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))));
|
|
20246
|
+
text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))));
|
|
20194
20247
|
}
|
|
20195
20248
|
`, /* css */
|
|
20196
20249
|
`
|
|
@@ -20254,6 +20307,11 @@ var richTextCSSRules = /* @__PURE__ */ (() => [
|
|
|
20254
20307
|
--framer-letter-spacing: 0;
|
|
20255
20308
|
--framer-text-transform: none;
|
|
20256
20309
|
--framer-text-decoration: none;
|
|
20310
|
+
--framer-text-decoration-style: none;
|
|
20311
|
+
--framer-text-decoration-color: none;
|
|
20312
|
+
--framer-text-decoration-thickness: none;
|
|
20313
|
+
--framer-text-decoration-skip-ink: none;
|
|
20314
|
+
--framer-text-decoration-offset: none;
|
|
20257
20315
|
--framer-line-height: 1.2em;
|
|
20258
20316
|
--framer-text-alignment: start;
|
|
20259
20317
|
--framer-font-open-type-features: normal;
|
|
@@ -20466,7 +20524,9 @@ var renderTextStylesRule = `
|
|
|
20466
20524
|
letter-spacing: var(--letter-spacing);
|
|
20467
20525
|
font-size: var(--font-size);
|
|
20468
20526
|
text-transform: var(--text-transform);
|
|
20469
|
-
text-decoration: var(--text-decoration);
|
|
20527
|
+
--text-decoration: var(--framer-text-decoration-style, solid) var(--framer-text-decoration, none) var(--framer-text-decoration-color, currentcolor) var(--framer-text-decoration-thickness, auto);
|
|
20528
|
+
--text-decoration-skip-ink: var(--framer-text-decoration-skip-ink);
|
|
20529
|
+
--text-underline-offset: var(--framer-text-decoration-offset);
|
|
20470
20530
|
line-height: var(--line-height);
|
|
20471
20531
|
}`;
|
|
20472
20532
|
var textStylesRule = `
|
|
@@ -20488,7 +20548,9 @@ var textStylesRule = `
|
|
|
20488
20548
|
--letter-spacing: var(--framer-letter-spacing);
|
|
20489
20549
|
--font-size: var(--framer-font-size);
|
|
20490
20550
|
--text-transform: var(--framer-text-transform);
|
|
20491
|
-
--text-decoration: var(--framer-text-decoration);
|
|
20551
|
+
--text-decoration: var(--framer-text-decoration-style, solid) var(--framer-text-decoration, none) var(--framer-text-decoration-color, currentcolor) var(--framer-text-decoration-thickness, auto);
|
|
20552
|
+
--text-decoration-skip-ink: var(--framer-text-decoration-skip-ink);
|
|
20553
|
+
--text-underline-offset: var(--framer-text-decoration-offset);
|
|
20492
20554
|
--line-height: var(--framer-line-height);
|
|
20493
20555
|
}`;
|
|
20494
20556
|
var linkStylesRule = `
|
|
@@ -20508,7 +20570,9 @@ var linkStylesRule = `
|
|
|
20508
20570
|
--text-color: var(--framer-link-text-color, var(--framer-text-color));
|
|
20509
20571
|
--font-size: var(--framer-link-font-size, var(--framer-font-size));
|
|
20510
20572
|
--text-transform: var(--framer-link-text-transform, var(--framer-text-transform));
|
|
20511
|
-
--text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration));
|
|
20573
|
+
--text-decoration: var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid)) var(--framer-link-text-decoration, var(--framer-text-decoration, none)) var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor)) var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto));
|
|
20574
|
+
--text-decoration-skip-ink: var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink));
|
|
20575
|
+
--text-underline-offset: var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset));
|
|
20512
20576
|
}`;
|
|
20513
20577
|
var linkHoverStylesRule = `
|
|
20514
20578
|
[data-framer-component-type="Text"] a:hover,
|
|
@@ -20527,7 +20591,9 @@ var linkHoverStylesRule = `
|
|
|
20527
20591
|
--text-color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color)));
|
|
20528
20592
|
--font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size)));
|
|
20529
20593
|
--text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
|
|
20530
|
-
--text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration)));
|
|
20594
|
+
--text-decoration: var(--framer-link-hover-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid))) var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))) var(--framer-link-hover-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor))) var(--framer-link-hover-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto)));
|
|
20595
|
+
--text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)));
|
|
20596
|
+
--text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)));
|
|
20531
20597
|
}`;
|
|
20532
20598
|
var linkCurrentStylesRule = `
|
|
20533
20599
|
[data-framer-component-type="Text"].isCurrent a,
|
|
@@ -20546,7 +20612,9 @@ var linkCurrentStylesRule = `
|
|
|
20546
20612
|
--text-color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color)));
|
|
20547
20613
|
--font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size)));
|
|
20548
20614
|
--text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
|
|
20549
|
-
--text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration)));
|
|
20615
|
+
--text-decoration: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid))) var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))) var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor))) var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto)));
|
|
20616
|
+
--text-decoration-skip-ink: var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)));
|
|
20617
|
+
--text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)));
|
|
20550
20618
|
}`;
|
|
20551
20619
|
var textCSSRules = [
|
|
20552
20620
|
`[data-framer-component-type="Text"] { cursor: inherit; }`,
|
|
@@ -20642,9 +20710,9 @@ var scrollCSSRules = [
|
|
|
20642
20710
|
var nativeScrollCSSRules = [
|
|
20643
20711
|
`[data-framer-component-type="NativeScroll"] { -webkit-overflow-scrolling: touch; }`,
|
|
20644
20712
|
`[data-framer-component-type="NativeScroll"] > * { position: relative; }`,
|
|
20645
|
-
`[data-framer-component-type="NativeScroll"].direction-both { overflow-x:
|
|
20646
|
-
`[data-framer-component-type="NativeScroll"].direction-vertical { overflow-x: hidden; overflow-y:
|
|
20647
|
-
`[data-framer-component-type="NativeScroll"].direction-horizontal { overflow-x:
|
|
20713
|
+
`[data-framer-component-type="NativeScroll"].direction-both { overflow-x: auto; overflow-y: auto; }`,
|
|
20714
|
+
`[data-framer-component-type="NativeScroll"].direction-vertical { overflow-x: hidden; overflow-y: auto; }`,
|
|
20715
|
+
`[data-framer-component-type="NativeScroll"].direction-horizontal { overflow-x: auto; overflow-y: hidden; }`,
|
|
20648
20716
|
`[data-framer-component-type="NativeScroll"].direction-vertical > * { width: 100% !important; }`,
|
|
20649
20717
|
`[data-framer-component-type="NativeScroll"].direction-horizontal > * { height: 100% !important; }`,
|
|
20650
20718
|
`[data-framer-component-type="NativeScroll"].scrollbar-hidden::-webkit-scrollbar { display: none; }`,
|
|
@@ -27874,33 +27942,34 @@ var Frame = /* @__PURE__ */ (() => {
|
|
|
27874
27942
|
exports.Frame = Frame;
|
|
27875
27943
|
var Draggable = /* @__PURE__ */ WithDragging(DeprecatedFrameWithEvents);
|
|
27876
27944
|
exports.Draggable = Draggable;
|
|
27877
|
-
function useInfiniteScroll({ ref:
|
|
27878
|
-
const
|
|
27879
|
-
|
|
27880
|
-
|
|
27881
|
-
|
|
27882
|
-
|
|
27883
|
-
return;
|
|
27884
|
-
}
|
|
27945
|
+
function useInfiniteScroll({ ref: observerRef, loadMore, rootMargin = '0px', paginationInfo, }) {
|
|
27946
|
+
const isVisibleRef = (0, react_4.useRef)(false);
|
|
27947
|
+
const callback = react_11.default.useCallback((entry) => {
|
|
27948
|
+
if (!entry.isIntersecting) {
|
|
27949
|
+
isVisibleRef.current = false;
|
|
27950
|
+
return;
|
|
27885
27951
|
}
|
|
27952
|
+
isVisibleRef.current = true;
|
|
27953
|
+
loadMore();
|
|
27954
|
+
return;
|
|
27886
27955
|
}, [loadMore,]);
|
|
27887
|
-
|
|
27888
|
-
|
|
27889
|
-
|
|
27890
|
-
|
|
27891
|
-
|
|
27892
|
-
|
|
27956
|
+
(0, react_2.useEffect)(() => {
|
|
27957
|
+
frame.postRender(() => {
|
|
27958
|
+
frame.render(() => {
|
|
27959
|
+
if (isVisibleRef.current) {
|
|
27960
|
+
loadMore();
|
|
27961
|
+
}
|
|
27962
|
+
});
|
|
27893
27963
|
});
|
|
27894
|
-
|
|
27895
|
-
|
|
27896
|
-
|
|
27897
|
-
|
|
27898
|
-
}
|
|
27964
|
+
}, [paginationInfo.currentPage, loadMore,]);
|
|
27965
|
+
useSharedIntersectionObserver(observerRef, callback, {
|
|
27966
|
+
rootMargin,
|
|
27967
|
+
enabled: paginationInfo.currentPage < paginationInfo.totalPages,
|
|
27968
|
+
});
|
|
27899
27969
|
}
|
|
27900
27970
|
function withInfiniteScroll(Component17) {
|
|
27901
27971
|
return react_11.default.forwardRef(({ __paginationInfo, __loadMore, ...props }, ref) => {
|
|
27902
|
-
const
|
|
27903
|
-
const infiniteScrollRef = ref ?? backupRef;
|
|
27972
|
+
const infiniteScrollRef = useObserverRef(ref);
|
|
27904
27973
|
useInfiniteScroll({
|
|
27905
27974
|
rootMargin: '500px',
|
|
27906
27975
|
loadMore: __loadMore,
|
|
@@ -31389,19 +31458,21 @@ function useParallax(options, ref, visibilityStyle) {
|
|
|
31389
31458
|
const parallaxY = useTransform(scrollY, transform2);
|
|
31390
31459
|
const visibility = useMotionValue(adjustPosition && originalPosition.current === null ? 'hidden' : visibilityStyle);
|
|
31391
31460
|
const defaultValue = useMotionValue(0);
|
|
31461
|
+
const observers2 = (0, react_3.useContext)(SharedIntersectionObserverContext);
|
|
31392
31462
|
useRefEffect(ref, (element) => {
|
|
31393
31463
|
if (element === null || !parallaxTransformEnabled)
|
|
31394
31464
|
return;
|
|
31395
|
-
|
|
31396
|
-
|
|
31397
|
-
|
|
31398
|
-
|
|
31399
|
-
|
|
31400
|
-
|
|
31401
|
-
|
|
31402
|
-
|
|
31403
|
-
|
|
31465
|
+
const unobserve = observeElement(observers2, 'undefined', element, null, (entry) => {
|
|
31466
|
+
originalPosition.current = entry.boundingClientRect.top;
|
|
31467
|
+
frame.update(() => {
|
|
31468
|
+
parallaxY.set(transform2(scrollY.get()));
|
|
31469
|
+
if (adjustPosition) {
|
|
31470
|
+
visibility.set(visibilityStyle ?? 'initial');
|
|
31471
|
+
}
|
|
31472
|
+
});
|
|
31473
|
+
unobserve();
|
|
31404
31474
|
});
|
|
31475
|
+
return unobserve;
|
|
31405
31476
|
}, [adjustPosition, parallaxTransformEnabled,]);
|
|
31406
31477
|
useOnRouteChange(() => {
|
|
31407
31478
|
if (!parallaxTransformEnabled)
|
|
@@ -31612,7 +31683,7 @@ function useScrollDirectionChange(scrollDirection, cb, options = {}) {
|
|
|
31612
31683
|
let directionChangeOffset = 0;
|
|
31613
31684
|
let lastDirection = void 0;
|
|
31614
31685
|
let currentTarget = void 0;
|
|
31615
|
-
return
|
|
31686
|
+
return scroll((_2, { y: scrollY, }) => {
|
|
31616
31687
|
if (!repeat && currentTarget === target)
|
|
31617
31688
|
return;
|
|
31618
31689
|
if (scrollY.current > scrollY.scrollLength)
|
|
@@ -31770,7 +31841,7 @@ function useStyleAppearEffect(options, ref) {
|
|
|
31770
31841
|
playState.current.lastAppearState = appears;
|
|
31771
31842
|
if (lastAppearState === appears)
|
|
31772
31843
|
return;
|
|
31773
|
-
runAnimation(appears ? variants.animate : variants.exit, appears);
|
|
31844
|
+
void runAnimation(appears ? variants.animate : variants.exit, appears);
|
|
31774
31845
|
}, {
|
|
31775
31846
|
enabled: animateWithIntersectionObserver,
|
|
31776
31847
|
animateOnce: !!options.animateOnce,
|
|
@@ -31787,7 +31858,7 @@ function useStyleAppearEffect(options, ref) {
|
|
|
31787
31858
|
};
|
|
31788
31859
|
const _ = currentRouteKey;
|
|
31789
31860
|
let lastVariant = 'initial';
|
|
31790
|
-
return
|
|
31861
|
+
return scroll((_2, { y: scrollY, }) => {
|
|
31791
31862
|
const { targets, } = options;
|
|
31792
31863
|
if (!targets)
|
|
31793
31864
|
return;
|
|
@@ -31806,10 +31877,10 @@ function useStyleAppearEffect(options, ref) {
|
|
|
31806
31877
|
const variantAnimation = asRecord(variants)[variant];
|
|
31807
31878
|
if (!variantAnimation)
|
|
31808
31879
|
return;
|
|
31809
|
-
runAnimation(variantAnimation);
|
|
31880
|
+
void runAnimation(variantAnimation);
|
|
31810
31881
|
});
|
|
31811
31882
|
}, [currentRouteKey, animateWithScrollInfo,]);
|
|
31812
|
-
useScrollDirectionChange(options.scrollDirection, (target) => runAnimation(target ?? variants.animate), {
|
|
31883
|
+
useScrollDirectionChange(options.scrollDirection, (target) => void runAnimation(target ?? variants.animate), {
|
|
31813
31884
|
enabled,
|
|
31814
31885
|
repeat: !options.animateOnce,
|
|
31815
31886
|
});
|
|
@@ -31925,7 +31996,7 @@ function useStyleTransform({ transformTrigger, styleTransformEffectEnabled, tran
|
|
|
31925
31996
|
(0, react_2.useLayoutEffect)(() => {
|
|
31926
31997
|
if (effectDisabled || !triggerOnScroll)
|
|
31927
31998
|
return;
|
|
31928
|
-
return
|
|
31999
|
+
return scroll((_, { y: scrollY, }) => {
|
|
31929
32000
|
if (!transformTargets[0] || transformTargets[0].ref && !transformTargets[0].ref.current) {
|
|
31930
32001
|
return;
|
|
31931
32002
|
}
|
|
@@ -31949,7 +32020,7 @@ function useStyleTransform({ transformTrigger, styleTransformEffectEnabled, tran
|
|
|
31949
32020
|
}
|
|
31950
32021
|
const _ = currentRouteKey;
|
|
31951
32022
|
const outputRange = createPageOutputRange(transformTargets);
|
|
31952
|
-
return
|
|
32023
|
+
return scroll((_2, { y: scrollY, }) => {
|
|
31953
32024
|
for (const key7 of effectValuesKeys) {
|
|
31954
32025
|
if (shouldReduceMotion && key7 !== 'opacity')
|
|
31955
32026
|
continue;
|
|
@@ -32259,7 +32330,15 @@ function Suspend() {
|
|
|
32259
32330
|
throw suspendPromise;
|
|
32260
32331
|
}
|
|
32261
32332
|
var suspend = /* @__PURE__ */ (0, jsx_runtime_1.jsx)(Suspend, {});
|
|
32333
|
+
var DisableSuspenseSuspenseThatPreservesDomContext = (0, react_1.createContext)(false);
|
|
32334
|
+
DisableSuspenseSuspenseThatPreservesDomContext.displayName = 'DisableSuspenseSuspenseThatPreservesDomContext';
|
|
32262
32335
|
function SuspenseThatPreservesDom({ children, }) {
|
|
32336
|
+
const isSuspenseBoundaryDisabled = (0, react_3.useContext)(DisableSuspenseSuspenseThatPreservesDomContext);
|
|
32337
|
+
if (isSuspenseBoundaryDisabled) {
|
|
32338
|
+
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {
|
|
32339
|
+
children,
|
|
32340
|
+
});
|
|
32341
|
+
}
|
|
32263
32342
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(react_13.Suspense, {
|
|
32264
32343
|
fallback: suspend,
|
|
32265
32344
|
children,
|
|
@@ -34603,41 +34682,82 @@ var salt = 'framer';
|
|
|
34603
34682
|
var difficulty = 3;
|
|
34604
34683
|
var tokenLength = 30;
|
|
34605
34684
|
var maxTime = 1e4;
|
|
34606
|
-
|
|
34607
|
-
|
|
34608
|
-
|
|
34609
|
-
|
|
34610
|
-
|
|
34611
|
-
|
|
34612
|
-
|
|
34613
|
-
|
|
34614
|
-
|
|
34615
|
-
|
|
34616
|
-
|
|
34617
|
-
|
|
34618
|
-
|
|
34619
|
-
|
|
34620
|
-
return
|
|
34621
|
-
secret,
|
|
34622
|
-
hash: hash2,
|
|
34623
|
-
};
|
|
34685
|
+
function createWorkerTask() {
|
|
34686
|
+
return function () {
|
|
34687
|
+
async function sha256(text) {
|
|
34688
|
+
const buffer = new TextEncoder().encode(text);
|
|
34689
|
+
const hashBuffer = await crypto.subtle.digest('SHA-256', buffer);
|
|
34690
|
+
return Array.from(new Uint8Array(hashBuffer)).map((b) => b.toString(16).padStart(2, '0')).join('');
|
|
34691
|
+
}
|
|
34692
|
+
function randomCharacters(count) {
|
|
34693
|
+
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
34694
|
+
let result = '';
|
|
34695
|
+
const charactersLength = characters.length;
|
|
34696
|
+
for (let i = 0; i < count; i++) {
|
|
34697
|
+
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
34698
|
+
}
|
|
34699
|
+
return result;
|
|
34624
34700
|
}
|
|
34625
|
-
|
|
34626
|
-
|
|
34627
|
-
|
|
34628
|
-
|
|
34629
|
-
|
|
34630
|
-
|
|
34631
|
-
|
|
34701
|
+
addEventListener('message', async (event) => {
|
|
34702
|
+
const { salt: salt2, difficulty: difficulty2, tokenLength: tokenLength2, maxTime: maxTime2, } = event.data;
|
|
34703
|
+
const target = '0'.repeat(difficulty2);
|
|
34704
|
+
const startTime = performance.now();
|
|
34705
|
+
let processing = true;
|
|
34706
|
+
while (processing) {
|
|
34707
|
+
const timestamp = performance.now();
|
|
34708
|
+
if (timestamp - startTime > maxTime2) {
|
|
34709
|
+
processing = false;
|
|
34710
|
+
postMessage({
|
|
34711
|
+
success: false,
|
|
34712
|
+
});
|
|
34713
|
+
return;
|
|
34714
|
+
}
|
|
34715
|
+
const nonce = randomCharacters(tokenLength2);
|
|
34716
|
+
const secret = `${Date.now()}:${nonce}`;
|
|
34717
|
+
const hash2 = await sha256(salt2 + secret);
|
|
34718
|
+
if (hash2.startsWith(target)) {
|
|
34719
|
+
postMessage({
|
|
34720
|
+
success: true,
|
|
34721
|
+
secret,
|
|
34722
|
+
hash: hash2,
|
|
34723
|
+
});
|
|
34724
|
+
return;
|
|
34725
|
+
}
|
|
34726
|
+
}
|
|
34727
|
+
});
|
|
34728
|
+
}.toString();
|
|
34632
34729
|
}
|
|
34633
|
-
function
|
|
34634
|
-
|
|
34635
|
-
|
|
34636
|
-
|
|
34637
|
-
|
|
34638
|
-
|
|
34639
|
-
|
|
34640
|
-
|
|
34730
|
+
async function calculateProofOfWork() {
|
|
34731
|
+
return new Promise((resolve, reject) => {
|
|
34732
|
+
const webWorkerURL = URL.createObjectURL(new Blob(['(', createWorkerTask(), ')()',], {
|
|
34733
|
+
type: 'application/javascript',
|
|
34734
|
+
}));
|
|
34735
|
+
const worker = new Worker(webWorkerURL);
|
|
34736
|
+
worker.onmessage = (event) => {
|
|
34737
|
+
worker.terminate();
|
|
34738
|
+
URL.revokeObjectURL(webWorkerURL);
|
|
34739
|
+
if (event.data.success) {
|
|
34740
|
+
resolve({
|
|
34741
|
+
secret: event.data.secret,
|
|
34742
|
+
hash: event.data.hash,
|
|
34743
|
+
});
|
|
34744
|
+
}
|
|
34745
|
+
else {
|
|
34746
|
+
resolve(void 0);
|
|
34747
|
+
}
|
|
34748
|
+
};
|
|
34749
|
+
worker.onerror = (event) => {
|
|
34750
|
+
worker.terminate();
|
|
34751
|
+
URL.revokeObjectURL(webWorkerURL);
|
|
34752
|
+
reject(event);
|
|
34753
|
+
};
|
|
34754
|
+
worker.postMessage({
|
|
34755
|
+
salt,
|
|
34756
|
+
difficulty,
|
|
34757
|
+
tokenLength,
|
|
34758
|
+
maxTime,
|
|
34759
|
+
});
|
|
34760
|
+
});
|
|
34641
34761
|
}
|
|
34642
34762
|
function getEncodedFormFieldsHeader(data2) {
|
|
34643
34763
|
return Array.from(data2.keys()).map(encodeURIComponent).join(',');
|
|
@@ -41199,6 +41319,7 @@ function useLoadMorePagination(totalSize, pageSize, hash2, paginateWithSuspended
|
|
|
41199
41319
|
: _c[hash2]) == null
|
|
41200
41320
|
? void 0
|
|
41201
41321
|
: _d.currentPage) ?? 1);
|
|
41322
|
+
const currentPageRef = (0, react_4.useRef)(currentPage);
|
|
41202
41323
|
const paginationInfo = (0, react_4.useMemo)(() => {
|
|
41203
41324
|
return {
|
|
41204
41325
|
currentPage,
|
|
@@ -41213,21 +41334,27 @@ function useLoadMorePagination(totalSize, pageSize, hash2, paginateWithSuspended
|
|
|
41213
41334
|
const loadMore = (0, react_3.useCallback)(async () => {
|
|
41214
41335
|
if (onCanvas)
|
|
41215
41336
|
return;
|
|
41216
|
-
if (
|
|
41337
|
+
if (currentPageRef.current >= totalPages)
|
|
41217
41338
|
return;
|
|
41218
41339
|
await yieldToMain({
|
|
41219
41340
|
priority: 'user-blocking',
|
|
41220
41341
|
continueAfter: 'paint',
|
|
41221
41342
|
});
|
|
41343
|
+
if (currentPageRef.current >= totalPages)
|
|
41344
|
+
return;
|
|
41222
41345
|
const renderNextPage = (startTransition14) => {
|
|
41223
41346
|
startTransition14(() => {
|
|
41224
|
-
setCurrentPage((_currentPage) =>
|
|
41347
|
+
setCurrentPage((_currentPage) => {
|
|
41348
|
+
const nextPage = Math.min(_currentPage + 1, totalPages);
|
|
41349
|
+
currentPageRef.current = nextPage;
|
|
41350
|
+
return nextPage;
|
|
41351
|
+
});
|
|
41225
41352
|
});
|
|
41226
41353
|
};
|
|
41227
41354
|
if (!paginateWithSuspendedLoadingState)
|
|
41228
41355
|
return renderNextPage(react_12.startTransition);
|
|
41229
41356
|
return renderNextPage(startLoadingTransition);
|
|
41230
|
-
}, [
|
|
41357
|
+
}, [totalPages, paginateWithSuspendedLoadingState,]);
|
|
41231
41358
|
return {
|
|
41232
41359
|
paginationInfo,
|
|
41233
41360
|
loadMore,
|
|
@@ -41825,7 +41952,7 @@ var withVariantAppearEffect = (Component17) => react_11.default.forwardRef((prop
|
|
|
41825
41952
|
return;
|
|
41826
41953
|
const playedState = {};
|
|
41827
41954
|
let currentVariant = void 0;
|
|
41828
|
-
return
|
|
41955
|
+
return scroll((_, { y: scrollY, }) => {
|
|
41829
41956
|
var _a;
|
|
41830
41957
|
if (!targets[0] || targets[0].ref && !targets[0].ref.current)
|
|
41831
41958
|
return;
|
|
@@ -47905,8 +48032,8 @@ var package_default = {
|
|
|
47905
48032
|
'@types/react': '^18.2.67',
|
|
47906
48033
|
'@types/react-dom': '^18.2.22',
|
|
47907
48034
|
'@types/yargs': '^17.0.33',
|
|
47908
|
-
'@typescript-eslint/eslint-plugin': '^8.
|
|
47909
|
-
'@typescript-eslint/parser': '^8.
|
|
48035
|
+
'@typescript-eslint/eslint-plugin': '^8.35.0',
|
|
48036
|
+
'@typescript-eslint/parser': '^8.35.0',
|
|
47910
48037
|
chalk: '^4.1.2',
|
|
47911
48038
|
eslint: '^8.57.1',
|
|
47912
48039
|
'eslint-plugin-framer-studio': 'workspace:*',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export function createClient({ url }: {
|
|
2
2
|
url: any;
|
|
3
3
|
}): Promise<{
|
|
4
|
-
[x: string]: ((
|
|
4
|
+
[x: string]: ((request?: unknown, options?: {
|
|
5
5
|
headers?: Record<string, unknown> | undefined;
|
|
6
6
|
query?: Record<string, unknown> | undefined;
|
|
7
7
|
fetch?: RequestInit | undefined;
|
|
8
8
|
} | undefined) => Promise<import("spiceflow/client", { with: { "resolution-mode": "import" } }).SpiceflowClient.ClientResponse<{
|
|
9
9
|
[x: number]: unknown;
|
|
10
10
|
}>>) | {
|
|
11
|
-
[x: string]: ((
|
|
11
|
+
[x: string]: ((request?: unknown, options?: {
|
|
12
12
|
headers?: Record<string, unknown> | undefined;
|
|
13
13
|
query?: Record<string, unknown> | undefined;
|
|
14
14
|
fetch?: RequestInit | undefined;
|
|
@@ -16,5 +16,5 @@ export function createClient({ url }: {
|
|
|
16
16
|
[x: number]: unknown;
|
|
17
17
|
}>>) | /*elided*/ any;
|
|
18
18
|
};
|
|
19
|
-
} | "Please install Spiceflow before using the client">;
|
|
19
|
+
} | "Please install latest Spiceflow before using the client, also make sure both client and server use the same version">;
|
|
20
20
|
//# sourceMappingURL=api-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../src/generated/api-client.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../src/generated/api-client.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;2HAuBC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getPackageManager(targetDir: string): Promise<"" | "npm" | "yarn" | "pnpm" | "bun" | "deno">;
|
|
2
|
+
export declare function installPackagesBatch({ packageNames, cwd, isDev, }: {
|
|
3
|
+
packageNames: string[];
|
|
4
|
+
cwd: string;
|
|
5
|
+
isDev?: boolean;
|
|
6
|
+
}): Promise<{
|
|
7
|
+
success: boolean;
|
|
8
|
+
error?: string;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=package-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-manager.d.ts","sourceRoot":"","sources":["../src/package-manager.ts"],"names":[],"mappings":"AAMA,wBAAsB,iBAAiB,CAAC,SAAS,EAAE,MAAM,0DA+BxD;AAED,wBAAsB,oBAAoB,CAAC,EACvC,YAAY,EACZ,GAAG,EACH,KAAa,GAChB,EAAE;IACC,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,OAAO,CAAA;CAClB,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAoHhD"}
|