@builder.io/sdk-react-nextjs 0.14.21 → 0.14.24
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/lib/browser/{USE_CLIENT_BUNDLE-421209ac.cjs → USE_CLIENT_BUNDLE-4f10369a.cjs} +2 -2
- package/lib/{node/USE_CLIENT_BUNDLE-14685e18.js → browser/USE_CLIENT_BUNDLE-f9d01f92.js} +21 -21
- package/lib/{edge/USE_SERVER_BUNDLE-81678d13.js → browser/USE_SERVER_BUNDLE-4e9478d4.js} +1 -1
- package/lib/{edge/USE_SERVER_BUNDLE-53f11a34.cjs → browser/USE_SERVER_BUNDLE-76397f77.cjs} +1 -1
- package/lib/browser/{bundle-1e8b30d0.cjs → bundle-35974522.cjs} +20 -20
- package/lib/browser/{bundle-8e752d91.js → bundle-ca09c73c.js} +333 -333
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +3 -3
- package/lib/{node/USE_CLIENT_BUNDLE-80d049f9.cjs → edge/USE_CLIENT_BUNDLE-d7a952fe.cjs} +2 -2
- package/lib/{browser/USE_CLIENT_BUNDLE-85cd491c.js → edge/USE_CLIENT_BUNDLE-edb4fc98.js} +21 -21
- package/lib/{node/USE_SERVER_BUNDLE-c93447b3.js → edge/USE_SERVER_BUNDLE-8a6ee05a.js} +1 -1
- package/lib/{node/USE_SERVER_BUNDLE-c11df0b0.cjs → edge/USE_SERVER_BUNDLE-e3d2232b.cjs} +1 -1
- package/lib/edge/{bundle-4d349481.cjs → bundle-2bd976c9.cjs} +27 -27
- package/lib/edge/{bundle-ad170624.js → bundle-bdc1f5be.js} +421 -421
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +3 -3
- package/lib/{edge/USE_CLIENT_BUNDLE-1d5cd7a9.cjs → node/USE_CLIENT_BUNDLE-2a3a1484.cjs} +2 -2
- package/lib/{edge/USE_CLIENT_BUNDLE-e965200b.js → node/USE_CLIENT_BUNDLE-af2f5052.js} +21 -21
- package/lib/{browser/USE_SERVER_BUNDLE-7f959896.cjs → node/USE_SERVER_BUNDLE-290676c5.cjs} +1 -1
- package/lib/{browser/USE_SERVER_BUNDLE-c44b1000.js → node/USE_SERVER_BUNDLE-55adca17.js} +1 -1
- package/lib/node/{bundle-8a453488.cjs → bundle-10b57ad3.cjs} +5 -5
- package/lib/node/{bundle-5c7927a4.js → bundle-9b0c3f03.js} +49 -49
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/package.json +3 -3
- package/types/cjs/blocks/accordion/accordion.d.ts +4 -0
- package/types/cjs/blocks/accordion/accordion.types.d.ts +12 -0
- package/types/cjs/blocks/accordion/component-info.d.ts +2 -0
- package/types/cjs/blocks/accordion/helpers.d.ts +1 -0
- package/types/cjs/blocks/accordion/index.d.ts +1 -0
- package/types/cjs/components/block/animator.d.ts +0 -1
- package/types/cjs/components/content-variants/content-variants.types.d.ts +1 -1
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/cjs/functions/camel-to-kebab-case.d.ts +1 -1
- package/types/esm/blocks/accordion/accordion.d.ts +4 -0
- package/types/esm/blocks/accordion/accordion.types.d.ts +12 -0
- package/types/esm/blocks/accordion/component-info.d.ts +2 -0
- package/types/esm/blocks/accordion/helpers.d.ts +1 -0
- package/types/esm/blocks/accordion/index.d.ts +1 -0
- package/types/esm/components/block/animator.d.ts +0 -1
- package/types/esm/components/content-variants/content-variants.types.d.ts +1 -1
- package/types/esm/constants/sdk-version.d.ts +1 -1
- package/types/esm/functions/camel-to-kebab-case.d.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { LRUCache } from "lru-cache";
|
|
4
|
-
import { I as InteractiveElement, B as BlockWrapper, a as BlocksWrapper, D as DynamicRenderer, C as CustomCode, E as Embed, b as ImgComponent, V as Video, c as Button, F as FragmentComponent, d as Image, S as SectionComponent, e as EnableEditor } from "./USE_CLIENT_BUNDLE-
|
|
4
|
+
import { I as InteractiveElement, B as BlockWrapper, a as BlocksWrapper, D as DynamicRenderer, C as CustomCode, E as Embed, b as ImgComponent, V as Video, c as Button, F as FragmentComponent, d as Image, S as SectionComponent, e as EnableEditor } from "./USE_CLIENT_BUNDLE-af2f5052.js";
|
|
5
5
|
import "next/navigation";
|
|
6
6
|
const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), isEmptyElement = (e) => typeof e == "string" && EMPTY_HTML_ELEMENTS.has(e.toLowerCase()), TARGET = "rsc", getClassPropName = () => {
|
|
7
7
|
switch (TARGET) {
|
|
@@ -396,7 +396,7 @@ function getProcessedBlock({
|
|
|
396
396
|
context: t
|
|
397
397
|
}) : a;
|
|
398
398
|
}
|
|
399
|
-
const camelToKebabCase = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), convertStyleMapToCSSArray = (e) => Object.entries(e).map(([n, o]) => {
|
|
399
|
+
const camelToKebabCase = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "", convertStyleMapToCSSArray = (e) => Object.entries(e).map(([n, o]) => {
|
|
400
400
|
if (typeof o == "string")
|
|
401
401
|
return `${camelToKebabCase(n)}: ${o};`;
|
|
402
402
|
}).filter(checkIsDefined), convertStyleMapToCSS = (e) => convertStyleMapToCSSArray(e).join(`
|
|
@@ -495,7 +495,7 @@ const getComponent = ({
|
|
|
495
495
|
},
|
|
496
496
|
block: o
|
|
497
497
|
}));
|
|
498
|
-
}, shouldPassLinkComponent = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs"].includes(e.name)), shouldPassRegisteredComponents = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs"].includes(e.name)), SIZES = {
|
|
498
|
+
}, shouldPassLinkComponent = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), shouldPassRegisteredComponents = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), SIZES = {
|
|
499
499
|
small: {
|
|
500
500
|
min: 320,
|
|
501
501
|
default: 321,
|
|
@@ -547,47 +547,6 @@ function InlinedStyles(e) {
|
|
|
547
547
|
}
|
|
548
548
|
);
|
|
549
549
|
}
|
|
550
|
-
function assign(e, ...t) {
|
|
551
|
-
const n = Object(e);
|
|
552
|
-
for (let o = 1; o < arguments.length; o++) {
|
|
553
|
-
const r = arguments[o];
|
|
554
|
-
if (r != null)
|
|
555
|
-
for (const i in r)
|
|
556
|
-
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
557
|
-
}
|
|
558
|
-
return n;
|
|
559
|
-
}
|
|
560
|
-
const camelCaseToKebabCase = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
|
|
561
|
-
function warnElementNotPresent(e) {
|
|
562
|
-
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
563
|
-
}
|
|
564
|
-
function augmentAnimation(e, t) {
|
|
565
|
-
const n = getAllStylesUsed(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, a = [r, i];
|
|
566
|
-
for (const s of a)
|
|
567
|
-
for (const c of n)
|
|
568
|
-
c in s || (s[c] = o[c]);
|
|
569
|
-
}
|
|
570
|
-
function getAllStylesUsed(e) {
|
|
571
|
-
const t = [];
|
|
572
|
-
for (const n of e.steps)
|
|
573
|
-
for (const o in n.styles)
|
|
574
|
-
t.indexOf(o) === -1 && t.push(o);
|
|
575
|
-
return t;
|
|
576
|
-
}
|
|
577
|
-
function triggerAnimation(e) {
|
|
578
|
-
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
579
|
-
if (!t.length) {
|
|
580
|
-
warnElementNotPresent(e.elementId || e.id || "");
|
|
581
|
-
return;
|
|
582
|
-
}
|
|
583
|
-
Array.from(t).forEach((n) => {
|
|
584
|
-
augmentAnimation(e, n), n.style.transition = "none", n.style.transitionDelay = "0", assign(n.style, e.steps[0].styles), setTimeout(() => {
|
|
585
|
-
n.style.transition = `all ${e.duration}s ${camelCaseToKebabCase(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), assign(n.style, e.steps[1].styles), setTimeout(() => {
|
|
586
|
-
n.style.transition = "", n.style.transitionDelay = "";
|
|
587
|
-
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
588
|
-
});
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
550
|
function BlockStyles(e) {
|
|
592
551
|
const t = function() {
|
|
593
552
|
const r = getProcessedBlock({
|
|
@@ -638,7 +597,7 @@ function BlockStyles(e) {
|
|
|
638
597
|
className: `${l}:hover`,
|
|
639
598
|
styles: {
|
|
640
599
|
...S,
|
|
641
|
-
transition: `all ${p.duration}s ${
|
|
600
|
+
transition: `all ${p.duration}s ${camelToKebabCase(
|
|
642
601
|
p.easing
|
|
643
602
|
)}`,
|
|
644
603
|
transitionDelay: p.delay ? `${p.delay}s` : "0s"
|
|
@@ -1030,7 +989,7 @@ function Columns(e) {
|
|
|
1030
989
|
/* @__PURE__ */ jsxs(
|
|
1031
990
|
"div",
|
|
1032
991
|
{
|
|
1033
|
-
className: getColumnsClass((p = e.builderBlock) == null ? void 0 : p.id) + " div-
|
|
992
|
+
className: getColumnsClass((p = e.builderBlock) == null ? void 0 : p.id) + " div-eeca3604",
|
|
1034
993
|
style: f(),
|
|
1035
994
|
children: [
|
|
1036
995
|
/* @__PURE__ */ jsx(InlinedStyles, { id: "builderio-columns", styles: g() }),
|
|
@@ -1060,7 +1019,7 @@ function Columns(e) {
|
|
|
1060
1019
|
]
|
|
1061
1020
|
}
|
|
1062
1021
|
),
|
|
1063
|
-
/* @__PURE__ */ jsx("style", { children: `.div-
|
|
1022
|
+
/* @__PURE__ */ jsx("style", { children: `.div-eeca3604 {
|
|
1064
1023
|
display: flex;
|
|
1065
1024
|
line-height: normal;
|
|
1066
1025
|
}` })
|
|
@@ -2369,7 +2328,7 @@ function isFromTrustedHost(e, t) {
|
|
|
2369
2328
|
const n = new URL(t.origin), o = n.hostname;
|
|
2370
2329
|
return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
|
|
2371
2330
|
}
|
|
2372
|
-
const SDK_VERSION = "0.14.
|
|
2331
|
+
const SDK_VERSION = "0.14.24", registry = {};
|
|
2373
2332
|
function register(e, t) {
|
|
2374
2333
|
let n = registry[e];
|
|
2375
2334
|
if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
|
|
@@ -2517,7 +2476,48 @@ const setupBrowserForEditing = (e = {}) => {
|
|
|
2517
2476
|
return window.addEventListener("message", o), () => {
|
|
2518
2477
|
window.removeEventListener("message", o);
|
|
2519
2478
|
};
|
|
2520
|
-
}
|
|
2479
|
+
};
|
|
2480
|
+
function assign(e, ...t) {
|
|
2481
|
+
const n = Object(e);
|
|
2482
|
+
for (let o = 1; o < arguments.length; o++) {
|
|
2483
|
+
const r = arguments[o];
|
|
2484
|
+
if (r != null)
|
|
2485
|
+
for (const i in r)
|
|
2486
|
+
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
2487
|
+
}
|
|
2488
|
+
return n;
|
|
2489
|
+
}
|
|
2490
|
+
function warnElementNotPresent(e) {
|
|
2491
|
+
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2492
|
+
}
|
|
2493
|
+
function augmentAnimation(e, t) {
|
|
2494
|
+
const n = getAllStylesUsed(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, a = [r, i];
|
|
2495
|
+
for (const s of a)
|
|
2496
|
+
for (const c of n)
|
|
2497
|
+
c in s || (s[c] = o[c]);
|
|
2498
|
+
}
|
|
2499
|
+
function getAllStylesUsed(e) {
|
|
2500
|
+
const t = [];
|
|
2501
|
+
for (const n of e.steps)
|
|
2502
|
+
for (const o in n.styles)
|
|
2503
|
+
t.indexOf(o) === -1 && t.push(o);
|
|
2504
|
+
return t;
|
|
2505
|
+
}
|
|
2506
|
+
function triggerAnimation(e) {
|
|
2507
|
+
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2508
|
+
if (!t.length) {
|
|
2509
|
+
warnElementNotPresent(e.elementId || e.id || "");
|
|
2510
|
+
return;
|
|
2511
|
+
}
|
|
2512
|
+
Array.from(t).forEach((n) => {
|
|
2513
|
+
augmentAnimation(e, n), n.style.transition = "none", n.style.transitionDelay = "0", assign(n.style, e.steps[0].styles), setTimeout(() => {
|
|
2514
|
+
n.style.transition = `all ${e.duration}s ${camelToKebabCase(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), assign(n.style, e.steps[1].styles), setTimeout(() => {
|
|
2515
|
+
n.style.transition = "", n.style.transitionDelay = "";
|
|
2516
|
+
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2517
|
+
});
|
|
2518
|
+
});
|
|
2519
|
+
}
|
|
2520
|
+
const getCssFromFont = (e) => {
|
|
2521
2521
|
var i;
|
|
2522
2522
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
2523
2523
|
let r = "";
|
package/lib/node/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./USE_CLIENT_BUNDLE-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./USE_CLIENT_BUNDLE-2a3a1484.cjs"),e=require("./bundle-10b57ad3.cjs");require("react/jsx-runtime");require("react");require("./USE_SERVER_BUNDLE-290676c5.cjs");require("next/navigation");require("lru-cache");exports.BuilderContext=t.builderContext;exports.Button=t.Button;exports.Fragment=t.FragmentComponent;exports.Image=t.Image;exports.Section=t.SectionComponent;exports.Video=t.Video;exports.Blocks=e.Blocks;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Symbol=e.Symbol;exports.Text=e.Text;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/node/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as n, c as m, F as c, d as p, S as g, V as d } from "./USE_CLIENT_BUNDLE-
|
|
2
|
-
import { B as l, C as f, x as B, S as C, T as E, G as S, u as x, F as h, H as b, v as y, A as F, c as P, j as T, y as k, z as v, E as R, D as V } from "./bundle-
|
|
1
|
+
import { f as n, c as m, F as c, d as p, S as g, V as d } from "./USE_CLIENT_BUNDLE-af2f5052.js";
|
|
2
|
+
import { B as l, C as f, x as B, S as C, T as E, G as S, u as x, F as h, H as b, v as y, A as F, c as P, j as T, y as k, z as v, E as R, D as V } from "./bundle-9b0c3f03.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./USE_SERVER_BUNDLE-
|
|
5
|
+
import "./USE_SERVER_BUNDLE-55adca17.js";
|
|
6
6
|
import "next/navigation";
|
|
7
7
|
import "lru-cache";
|
|
8
8
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/sdk-react-nextjs",
|
|
3
3
|
"description": "Builder.io RSC SDK for NextJS App Directory",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.24",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/nextjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"@builder.io/sdks": "workspace:*",
|
|
99
99
|
"@vitejs/plugin-react": "^4.0.4",
|
|
100
100
|
"next": ">=13.4.20",
|
|
101
|
-
"nx": "
|
|
102
|
-
"nx-cloud": "
|
|
101
|
+
"nx": "16.10.0",
|
|
102
|
+
"nx-cloud": "16.5.2",
|
|
103
103
|
"react": "^18.2.0",
|
|
104
104
|
"rimraf": "^3.0.2",
|
|
105
105
|
"typescript": "^5.1.6",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BuilderBlock } from '../../types/builder-block.js';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
3
|
+
export interface AccordionProps extends BuilderComponentsProp, BuilderLinkComponentProp, BuilderDataProps {
|
|
4
|
+
items: {
|
|
5
|
+
title: BuilderBlock[];
|
|
6
|
+
detail: BuilderBlock[];
|
|
7
|
+
}[];
|
|
8
|
+
oneAtATime?: boolean;
|
|
9
|
+
grid?: boolean;
|
|
10
|
+
gridRowWidth?: string;
|
|
11
|
+
useChildrenForItems?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertOrderNumberToString: (order: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './accordion.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { BuilderAnimation } from '../../types/builder-block.js';
|
|
2
|
-
export declare const camelCaseToKebabCase: (str?: string) => string;
|
|
3
2
|
export declare function bindAnimations(animations: BuilderAnimation[]): void;
|
|
4
3
|
export declare function triggerAnimation(animation: BuilderAnimation): void;
|
|
5
4
|
export declare function bindScrollInViewAnimation(animation: BuilderAnimation): void;
|
|
@@ -22,7 +22,7 @@ export interface ContentVariantsPrps {
|
|
|
22
22
|
*/
|
|
23
23
|
context?: BuilderRenderContext;
|
|
24
24
|
/**
|
|
25
|
-
* Your API Key: needed to dynamically fetch symbols (required).
|
|
25
|
+
* Your API Key: needed to enable visual editing, and to dynamically fetch symbols (required).
|
|
26
26
|
*/
|
|
27
27
|
apiKey: string;
|
|
28
28
|
apiVersion?: ApiVersion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.24";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const camelToKebabCase: (
|
|
1
|
+
export declare const camelToKebabCase: (str?: string) => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BuilderBlock } from '../../types/builder-block.js';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
3
|
+
export interface AccordionProps extends BuilderComponentsProp, BuilderLinkComponentProp, BuilderDataProps {
|
|
4
|
+
items: {
|
|
5
|
+
title: BuilderBlock[];
|
|
6
|
+
detail: BuilderBlock[];
|
|
7
|
+
}[];
|
|
8
|
+
oneAtATime?: boolean;
|
|
9
|
+
grid?: boolean;
|
|
10
|
+
gridRowWidth?: string;
|
|
11
|
+
useChildrenForItems?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertOrderNumberToString: (order: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './accordion.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { BuilderAnimation } from '../../types/builder-block.js';
|
|
2
|
-
export declare const camelCaseToKebabCase: (str?: string) => string;
|
|
3
2
|
export declare function bindAnimations(animations: BuilderAnimation[]): void;
|
|
4
3
|
export declare function triggerAnimation(animation: BuilderAnimation): void;
|
|
5
4
|
export declare function bindScrollInViewAnimation(animation: BuilderAnimation): void;
|
|
@@ -22,7 +22,7 @@ export interface ContentVariantsPrps {
|
|
|
22
22
|
*/
|
|
23
23
|
context?: BuilderRenderContext;
|
|
24
24
|
/**
|
|
25
|
-
* Your API Key: needed to dynamically fetch symbols (required).
|
|
25
|
+
* Your API Key: needed to enable visual editing, and to dynamically fetch symbols (required).
|
|
26
26
|
*/
|
|
27
27
|
apiKey: string;
|
|
28
28
|
apiVersion?: ApiVersion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.24";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const camelToKebabCase: (
|
|
1
|
+
export declare const camelToKebabCase: (str?: string) => string;
|