@makeswift/runtime 0.26.2 → 0.26.3
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/api-handler/handlers/manifest.js +1 -1
- package/dist/cjs/client/index.js +3 -3
- package/dist/cjs/components/builtin/Button/Button.js.map +1 -1
- package/dist/cjs/components/builtin/Carousel/Carousel.js.map +1 -1
- package/dist/cjs/components/builtin/Embed/Embed.js +3 -1
- package/dist/cjs/components/builtin/Embed/Embed.js.map +1 -1
- package/dist/cjs/components/builtin/Form/components/Field/components/Label/index.js.map +1 -1
- package/dist/cjs/components/builtin/Form/components/Field/components/PlaceholderTableField/index.js.map +1 -1
- package/dist/cjs/components/builtin/Form/components/Field/index.js.map +1 -1
- package/dist/cjs/components/builtin/Form/components/Placeholder/index.js.map +1 -1
- package/dist/cjs/components/builtin/Form/components/Spinner/index.js.map +1 -1
- package/dist/cjs/components/builtin/Navigation/Navigation.js.map +1 -1
- package/dist/cjs/components/builtin/Navigation/components/DropDownButton/index.js.map +1 -1
- package/dist/cjs/components/builtin/Navigation/components/LinksPlaceholder/index.js.map +1 -1
- package/dist/cjs/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.js.map +1 -1
- package/dist/cjs/components/builtin/Navigation/components/MobileMenu/index.js.map +1 -1
- package/dist/cjs/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.js.map +1 -1
- package/dist/cjs/components/shared/BackgroundsContainer/components/BackgroundVideo/index.js.map +1 -1
- package/dist/cjs/components/shared/BackgroundsContainer/components/Backgrounds/index.js.map +1 -1
- package/dist/cjs/components/shared/BackgroundsContainer/components/Parallax/index.js.map +1 -1
- package/dist/cjs/controls/rich-text-v2/plugin.js.map +1 -1
- package/dist/cjs/next/components/framework-provider/pages-router/HeadSnippet.js.map +1 -1
- package/dist/cjs/next/components/tests/controls/page-control-prop-rendering.js +2 -3
- package/dist/cjs/next/components/tests/controls/page-control-prop-rendering.js.map +1 -1
- package/dist/cjs/next/components/tests/makeswift-component/fixtures.js +102 -0
- package/dist/cjs/next/components/tests/makeswift-component/fixtures.js.map +1 -0
- package/dist/cjs/next/components/tests/prop-controllers/page-prop-controller.js +6 -6
- package/dist/cjs/next/components/tests/prop-controllers/page-prop-controller.js.map +1 -1
- package/dist/cjs/next/testing/page-rendering.js +3 -3
- package/dist/cjs/next/testing/page-rendering.js.map +1 -1
- package/dist/cjs/runtimes/react/components/Document.js.map +1 -1
- package/dist/cjs/runtimes/react/components/DocumentRoot.js.map +1 -1
- package/dist/cjs/runtimes/react/components/Element.js.map +1 -1
- package/dist/cjs/runtimes/react/components/ElementData.js +2 -2
- package/dist/cjs/runtimes/react/components/ElementData.js.map +1 -1
- package/dist/cjs/runtimes/react/components/ElementReference.js.map +1 -1
- package/dist/cjs/runtimes/react/components/ElementRegistration.js.map +1 -1
- package/dist/cjs/runtimes/react/components/LiveProvider.js.map +1 -1
- package/dist/cjs/runtimes/react/components/MakeswiftComponent.js +2 -2
- package/dist/cjs/runtimes/react/components/MakeswiftComponent.js.map +1 -1
- package/dist/cjs/runtimes/react/components/PreviewProvider.js.map +1 -1
- package/dist/cjs/runtimes/react/components/activity-with-fallback.js +54 -0
- package/dist/cjs/runtimes/react/components/activity-with-fallback.js.map +1 -0
- package/dist/cjs/runtimes/react/components/page/HeadSnippet.js.map +1 -1
- package/dist/cjs/runtimes/react/components/page/Page.js.map +1 -1
- package/dist/cjs/runtimes/react/components/page/PageHead.js.map +1 -1
- package/dist/cjs/runtimes/react/components/page/head-tags.js.map +1 -1
- package/dist/cjs/runtimes/react/components/page/index.js +2 -1
- package/dist/cjs/runtimes/react/components/page/index.js.map +1 -1
- package/dist/cjs/runtimes/react/components/render-hook.js.map +1 -1
- package/dist/cjs/runtimes/react/controls/control.js.map +1 -1
- package/dist/cjs/runtimes/react/controls/group.js.map +1 -1
- package/dist/cjs/runtimes/react/controls/rich-text-v2/EditableTextV2/render-leaf.js.map +1 -1
- package/dist/cjs/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.js.map +1 -1
- package/dist/cjs/runtimes/react/controls/slot.js.map +1 -1
- package/dist/cjs/runtimes/react/controls.js.map +1 -1
- package/dist/cjs/runtimes/react/find-dom-node.js +2 -0
- package/dist/cjs/runtimes/react/find-dom-node.js.map +1 -1
- package/dist/cjs/runtimes/react/hooks/makeswift-api.js +2 -2
- package/dist/cjs/runtimes/react/hooks/makeswift-api.js.map +1 -1
- package/dist/cjs/runtimes/react/legacy-controls.js.map +1 -1
- package/dist/cjs/runtimes/react/lib/react-dom.js +2 -1
- package/dist/cjs/runtimes/react/lib/react-dom.js.map +1 -1
- package/dist/cjs/runtimes/react/react-runtime-core.js +6 -0
- package/dist/cjs/runtimes/react/react-runtime-core.js.map +1 -1
- package/dist/cjs/runtimes/react/use-global-style.js +1 -1
- package/dist/cjs/runtimes/react/use-global-style.js.map +1 -1
- package/dist/esm/api-handler/handlers/manifest.js +1 -1
- package/dist/esm/client/index.js +3 -3
- package/dist/esm/components/builtin/Button/Button.js.map +1 -1
- package/dist/esm/components/builtin/Carousel/Carousel.js.map +1 -1
- package/dist/esm/components/builtin/Embed/Embed.js +3 -1
- package/dist/esm/components/builtin/Embed/Embed.js.map +1 -1
- package/dist/esm/components/builtin/Form/components/Field/components/Label/index.js.map +1 -1
- package/dist/esm/components/builtin/Form/components/Field/components/PlaceholderTableField/index.js.map +1 -1
- package/dist/esm/components/builtin/Form/components/Field/index.js.map +1 -1
- package/dist/esm/components/builtin/Form/components/Placeholder/index.js.map +1 -1
- package/dist/esm/components/builtin/Form/components/Spinner/index.js.map +1 -1
- package/dist/esm/components/builtin/Navigation/Navigation.js.map +1 -1
- package/dist/esm/components/builtin/Navigation/components/DropDownButton/index.js.map +1 -1
- package/dist/esm/components/builtin/Navigation/components/LinksPlaceholder/index.js.map +1 -1
- package/dist/esm/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.js.map +1 -1
- package/dist/esm/components/builtin/Navigation/components/MobileMenu/index.js.map +1 -1
- package/dist/esm/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.js.map +1 -1
- package/dist/esm/components/shared/BackgroundsContainer/components/BackgroundVideo/index.js.map +1 -1
- package/dist/esm/components/shared/BackgroundsContainer/components/Backgrounds/index.js.map +1 -1
- package/dist/esm/components/shared/BackgroundsContainer/components/Parallax/index.js.map +1 -1
- package/dist/esm/controls/rich-text-v2/plugin.js.map +1 -1
- package/dist/esm/next/components/framework-provider/pages-router/HeadSnippet.js.map +1 -1
- package/dist/esm/next/components/tests/controls/page-control-prop-rendering.js +1 -2
- package/dist/esm/next/components/tests/controls/page-control-prop-rendering.js.map +1 -1
- package/dist/esm/next/components/tests/makeswift-component/fixtures.js +61 -0
- package/dist/esm/next/components/tests/makeswift-component/fixtures.js.map +1 -0
- package/dist/esm/next/components/tests/prop-controllers/page-prop-controller.js +1 -1
- package/dist/esm/next/components/tests/prop-controllers/page-prop-controller.js.map +1 -1
- package/dist/esm/next/testing/page-rendering.js +1 -1
- package/dist/esm/next/testing/page-rendering.js.map +1 -1
- package/dist/esm/runtimes/react/components/Document.js.map +1 -1
- package/dist/esm/runtimes/react/components/DocumentRoot.js.map +1 -1
- package/dist/esm/runtimes/react/components/Element.js.map +1 -1
- package/dist/esm/runtimes/react/components/ElementData.js +3 -3
- package/dist/esm/runtimes/react/components/ElementData.js.map +1 -1
- package/dist/esm/runtimes/react/components/ElementReference.js.map +1 -1
- package/dist/esm/runtimes/react/components/ElementRegistration.js.map +1 -1
- package/dist/esm/runtimes/react/components/LiveProvider.js.map +1 -1
- package/dist/esm/runtimes/react/components/MakeswiftComponent.js +3 -3
- package/dist/esm/runtimes/react/components/MakeswiftComponent.js.map +1 -1
- package/dist/esm/runtimes/react/components/PreviewProvider.js.map +1 -1
- package/dist/esm/runtimes/react/components/activity-with-fallback.js +19 -0
- package/dist/esm/runtimes/react/components/activity-with-fallback.js.map +1 -0
- package/dist/esm/runtimes/react/components/page/HeadSnippet.js.map +1 -1
- package/dist/esm/runtimes/react/components/page/Page.js.map +1 -1
- package/dist/esm/runtimes/react/components/page/PageHead.js.map +1 -1
- package/dist/esm/runtimes/react/components/page/head-tags.js.map +1 -1
- package/dist/esm/runtimes/react/components/page/index.js +3 -2
- package/dist/esm/runtimes/react/components/page/index.js.map +1 -1
- package/dist/esm/runtimes/react/components/render-hook.js.map +1 -1
- package/dist/esm/runtimes/react/controls/control.js.map +1 -1
- package/dist/esm/runtimes/react/controls/group.js.map +1 -1
- package/dist/esm/runtimes/react/controls/rich-text-v2/EditableTextV2/render-leaf.js.map +1 -1
- package/dist/esm/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.js.map +1 -1
- package/dist/esm/runtimes/react/controls/slot.js.map +1 -1
- package/dist/esm/runtimes/react/controls.js.map +1 -1
- package/dist/esm/runtimes/react/find-dom-node.js +2 -0
- package/dist/esm/runtimes/react/find-dom-node.js.map +1 -1
- package/dist/esm/runtimes/react/hooks/makeswift-api.js +2 -2
- package/dist/esm/runtimes/react/hooks/makeswift-api.js.map +1 -1
- package/dist/esm/runtimes/react/legacy-controls.js.map +1 -1
- package/dist/esm/runtimes/react/lib/react-dom.js +2 -1
- package/dist/esm/runtimes/react/lib/react-dom.js.map +1 -1
- package/dist/esm/runtimes/react/react-runtime-core.js +6 -0
- package/dist/esm/runtimes/react/react-runtime-core.js.map +1 -1
- package/dist/esm/runtimes/react/use-global-style.js +1 -1
- package/dist/esm/runtimes/react/use-global-style.js.map +1 -1
- package/dist/types/components/builtin/Button/Button.d.ts +2 -2
- package/dist/types/components/builtin/Button/Button.d.ts.map +1 -1
- package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -1
- package/dist/types/components/builtin/Embed/Embed.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts +2 -2
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts +2 -1
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/components/Field/index.d.ts +2 -1
- package/dist/types/components/builtin/Form/components/Field/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts +2 -1
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts +2 -2
- package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +2 -1
- package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +2 -2
- package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts +2 -1
- package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -1
- package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +2 -1
- package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -1
- package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +2 -1
- package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -1
- package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +2 -1
- package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -1
- package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +1 -1
- package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -1
- package/dist/types/components/shared/ErrorBoundary.d.ts +1 -1
- package/dist/types/controls/rich-text-v2/plugin.d.ts +7 -7
- package/dist/types/controls/rich-text-v2/plugin.d.ts.map +1 -1
- package/dist/types/next/components/tests/controls/page-control-prop-rendering.d.ts.map +1 -1
- package/dist/types/next/components/tests/global-element-rendering.test.d.ts +1 -1
- package/dist/types/next/components/tests/global-element-rendering.test.d.ts.map +1 -1
- package/dist/types/next/components/tests/makeswift-component/fixtures.d.ts +27 -0
- package/dist/types/next/components/tests/makeswift-component/fixtures.d.ts.map +1 -0
- package/dist/types/next/components/tests/{makeswift-component-rendering.test.d.ts → makeswift-component/rendering.react18.test.d.ts} +1 -1
- package/dist/types/next/components/tests/makeswift-component/rendering.react18.test.d.ts.map +1 -0
- package/dist/types/next/components/tests/makeswift-component/rendering.test.d.ts +3 -0
- package/dist/types/next/components/tests/makeswift-component/rendering.test.d.ts.map +1 -0
- package/dist/types/next/testing/page-rendering.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/Document.d.ts +1 -1
- package/dist/types/runtimes/react/components/Document.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/DocumentRoot.d.ts +1 -1
- package/dist/types/runtimes/react/components/DocumentRoot.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/Element.d.ts +1 -1
- package/dist/types/runtimes/react/components/Element.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/ElementData.d.ts +1 -1
- package/dist/types/runtimes/react/components/ElementData.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/ElementReference.d.ts +1 -1
- package/dist/types/runtimes/react/components/ElementReference.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/LiveProvider.d.ts +2 -2
- package/dist/types/runtimes/react/components/LiveProvider.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/MakeswiftComponent.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/PreviewProvider.d.ts +2 -2
- package/dist/types/runtimes/react/components/PreviewProvider.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/activity-with-fallback.d.ts +13 -0
- package/dist/types/runtimes/react/components/activity-with-fallback.d.ts.map +1 -0
- package/dist/types/runtimes/react/components/page/HeadSnippet.d.ts +2 -1
- package/dist/types/runtimes/react/components/page/HeadSnippet.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/page/Page.d.ts +2 -1
- package/dist/types/runtimes/react/components/page/Page.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/page/PageHead.d.ts +2 -1
- package/dist/types/runtimes/react/components/page/PageHead.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/page/head-tags.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/page/index.d.ts.map +1 -1
- package/dist/types/runtimes/react/components/render-hook.d.ts +3 -2
- package/dist/types/runtimes/react/components/render-hook.d.ts.map +1 -1
- package/dist/types/runtimes/react/controls/control.d.ts +3 -2
- package/dist/types/runtimes/react/controls/control.d.ts.map +1 -1
- package/dist/types/runtimes/react/controls/group.d.ts +3 -2
- package/dist/types/runtimes/react/controls/group.d.ts.map +1 -1
- package/dist/types/runtimes/react/controls/rich-text-v2/EditableTextV2/render-leaf.d.ts +2 -1
- package/dist/types/runtimes/react/controls/rich-text-v2/EditableTextV2/render-leaf.d.ts.map +1 -1
- package/dist/types/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.d.ts +2 -1
- package/dist/types/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.d.ts.map +1 -1
- package/dist/types/runtimes/react/controls/slot.d.ts +2 -2
- package/dist/types/runtimes/react/controls/slot.d.ts.map +1 -1
- package/dist/types/runtimes/react/controls.d.ts +3 -2
- package/dist/types/runtimes/react/controls.d.ts.map +1 -1
- package/dist/types/runtimes/react/find-dom-node.d.ts.map +1 -1
- package/dist/types/runtimes/react/legacy-controls.d.ts +2 -1
- package/dist/types/runtimes/react/legacy-controls.d.ts.map +1 -1
- package/dist/types/runtimes/react/lib/react-dom.d.ts.map +1 -1
- package/dist/types/runtimes/react/react-runtime-core.d.ts +5 -0
- package/dist/types/runtimes/react/react-runtime-core.d.ts.map +1 -1
- package/dist/types/slate/BlockPlugin/index.d.ts +2 -2
- package/dist/types/slate/InlineModePlugin/index.d.ts +2 -2
- package/dist/types/slate/InlinePlugin/index.d.ts +2 -2
- package/dist/types/slate/LinkPlugin/index.d.ts +2 -2
- package/dist/types/slate/TextAlignPlugin/index.d.ts +2 -2
- package/dist/types/slate/TypographyPlugin/index.d.ts +2 -2
- package/dist/types/slate/test-helpers/editor-v1.d.ts +1 -0
- package/dist/types/slate/test-helpers/editor-v1.d.ts.map +1 -1
- package/dist/types/slate/test-helpers/editor-v2-inline.d.ts +1 -0
- package/dist/types/slate/test-helpers/editor-v2-inline.d.ts.map +1 -1
- package/dist/types/slate/test-helpers/editor-v2.d.ts +1 -0
- package/dist/types/slate/test-helpers/editor-v2.d.ts.map +1 -1
- package/dist/types/slate/test-helpers/test-elements.d.ts +1 -1
- package/dist/types/slate/test-helpers/test-elements.d.ts.map +1 -1
- package/package.json +9 -6
- package/dist/types/next/components/tests/makeswift-component-rendering.test.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-element-rendering.test.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/tests/global-element-rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B
|
|
1
|
+
{"version":3,"file":"global-element-rendering.test.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/tests/global-element-rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type MakeswiftComponentSnapshot } from '../../../../client';
|
|
2
|
+
import { ComponentType } from '../../../../state/react-page';
|
|
3
|
+
export declare const CustomComponentType = "CustomComponent";
|
|
4
|
+
export declare const componentId = "component-id";
|
|
5
|
+
export declare const containerId = "container-id";
|
|
6
|
+
export declare const fallbackId = "fallback-id";
|
|
7
|
+
export type ComponentProps = {
|
|
8
|
+
text: string;
|
|
9
|
+
suspend: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare function CustomComponent({ text, suspend }: ComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function CustomComponentWithFallback(props: ComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const elementData: (props: {
|
|
14
|
+
text: string;
|
|
15
|
+
suspend?: boolean;
|
|
16
|
+
}) => {
|
|
17
|
+
type: string;
|
|
18
|
+
key: string;
|
|
19
|
+
props: {
|
|
20
|
+
text: string;
|
|
21
|
+
suspend?: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare function renderComponentSnapshot(snapshot: MakeswiftComponentSnapshot, component?: ComponentType<ComponentProps>, { builtinSuspense }?: {
|
|
25
|
+
builtinSuspense?: boolean;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/makeswift-component/fixtures.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oBAAoB,CAAA;AAGpE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAE5D,eAAO,MAAM,mBAAmB,oBAAoB,CAAA;AACpD,eAAO,MAAM,WAAW,iBAAiB,CAAA;AACzC,eAAO,MAAM,WAAW,iBAAiB,CAAA;AACzC,eAAO,MAAM,UAAU,gBAAgB,CAAA;AAEvC,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,cAAc,2CAMhE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,cAAc,2CAMhE;AAED,eAAO,MAAM,WAAW,GAAI,OAAO;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE;;;;cAA3B,MAAM;kBAAY,OAAO;;CAIlE,CAAA;AAEF,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,0BAA0B,EACpC,SAAS,GAAE,aAAa,CAAC,cAAc,CAAmB,EAC1D,EAAE,eAAe,EAAE,GAAE;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,iBA2BxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rendering.react18.test.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/makeswift-component/rendering.react18.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,OAAO,2BAA2B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rendering.test.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/makeswift-component/rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,OAAO,2BAA2B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-rendering.d.ts","sourceRoot":"","sources":["../../../../src/next/testing/page-rendering.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,
|
|
1
|
+
{"version":3,"file":"page-rendering.d.ts","sourceRoot":"","sources":["../../../../src/next/testing/page-rendering.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAO,MAAM,OAAO,CAAC;AAE3D,OAAO,2BAA2B,CAAA;AAMlC,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAI1D,wBAAsB,8BAA8B,CAClD,KAAK,EAAE,wBAAwB,CAAC,OAAO,aAAa,CAAC,EACrD,EAAE,gBAAwB,EAAE,GAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAO,sIAoBlE;AAED,wBAAsB,0BAA0B,CAC9C,KAAK,EAAE,wBAAwB,CAAC,OAAO,aAAa,CAAC,EACrD,EAAE,gBAAwB,EAAE,GAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAO,oIAclE"}
|
|
@@ -3,6 +3,6 @@ import { ElementImperativeHandle } from '../element-imperative-handle';
|
|
|
3
3
|
type DocumentProps = {
|
|
4
4
|
document: ReactPageDocument;
|
|
5
5
|
};
|
|
6
|
-
export declare const Document: import("react").
|
|
6
|
+
export declare const Document: import("react").NamedExoticComponent<DocumentProps & import("react").RefAttributes<ElementImperativeHandle<Record<string, import("../../../builder").PropControllerDescriptor>>>>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Document.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/Document.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,IAAI,iBAAiB,EAAkB,MAAM,2BAA2B,CAAA;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAItE,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/Document.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,IAAI,iBAAiB,EAAkB,MAAM,2BAA2B,CAAA;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAItE,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,QAAQ,mLAapB,CAAA"}
|
|
@@ -3,6 +3,6 @@ import { ElementImperativeHandle } from '../element-imperative-handle';
|
|
|
3
3
|
type Props = {
|
|
4
4
|
rootDocument: Document;
|
|
5
5
|
};
|
|
6
|
-
export declare const DocumentRoot: import("react").
|
|
6
|
+
export declare const DocumentRoot: import("react").NamedExoticComponent<Props & import("react").RefAttributes<ElementImperativeHandle<Record<string, import("../../../builder").PropControllerDescriptor>>>>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=DocumentRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentRoot.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/DocumentRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAKtE,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,QAAQ,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"DocumentRoot.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/DocumentRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAKtE,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,QAAQ,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,YAAY,2KAaxB,CAAA"}
|
|
@@ -3,6 +3,6 @@ import { ElementImperativeHandle } from '../element-imperative-handle';
|
|
|
3
3
|
type Props = {
|
|
4
4
|
element: ElementDataOrRef;
|
|
5
5
|
};
|
|
6
|
-
export declare const Element: import("react").
|
|
6
|
+
export declare const Element: import("react").NamedExoticComponent<Props & import("react").RefAttributes<ElementImperativeHandle<Record<string, import("../../../builder").PropControllerDescriptor>>>>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Element.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/Element.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAsB,KAAK,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAIhG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAKtE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Element.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/Element.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAsB,KAAK,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAIhG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAKtE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,OAAO,2KAwCnB,CAAA"}
|
|
@@ -2,6 +2,6 @@ import { ElementData as ReactPageElementData } from '../../../state/react-page';
|
|
|
2
2
|
type ElementDataProps = {
|
|
3
3
|
elementData: ReactPageElementData;
|
|
4
4
|
};
|
|
5
|
-
export declare const ElementData: import("react").
|
|
5
|
+
export declare const ElementData: import("react").NamedExoticComponent<ElementDataProps & import("react").RefAttributes<unknown>>;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=ElementData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementData.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/ElementData.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"ElementData.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/ElementData.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAQ/E,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,oBAAoB,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,WAAW,iGA0BvB,CAAA"}
|
|
@@ -3,6 +3,6 @@ import { ElementReference as ReactPageElementReference } from '../../../state/re
|
|
|
3
3
|
type ElementRefereceProps = {
|
|
4
4
|
elementReference: ReactPageElementReference;
|
|
5
5
|
};
|
|
6
|
-
export declare const ElementReference: import("react").
|
|
6
|
+
export declare const ElementReference: import("react").NamedExoticComponent<ElementRefereceProps & import("react").RefAttributes<ElementImperativeHandle<Record<string, import("../../../builder").PropControllerDescriptor>>>>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=ElementReference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementReference.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/ElementReference.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAItE,OAAO,EAEL,gBAAgB,IAAI,yBAAyB,EAC9C,MAAM,2BAA2B,CAAA;AAOlC,KAAK,oBAAoB,GAAG;IAC1B,gBAAgB,EAAE,yBAAyB,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ElementReference.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/ElementReference.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAItE,OAAO,EAEL,gBAAgB,IAAI,yBAAyB,EAC9C,MAAM,2BAA2B,CAAA;AAOlC,KAAK,oBAAoB,GAAG;IAC1B,gBAAgB,EAAE,yBAAyB,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,gBAAgB,0LAmD5B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
export default function LiveProvider({ children }: PropsWithChildren):
|
|
1
|
+
import { type PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
export default function LiveProvider({ children }: PropsWithChildren): ReactNode;
|
|
3
3
|
//# sourceMappingURL=LiveProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveProvider.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/LiveProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAW,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"LiveProvider.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/LiveProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAW,SAAS,EAAE,MAAM,OAAO,CAAA;AAOlE,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAY/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MakeswiftComponent.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/MakeswiftComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,0BAA0B,EAC3B,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"MakeswiftComponent.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/MakeswiftComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,0BAA0B,EAC3B,MAAM,iBAAiB,CAAA;AAUxB,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,0BAA0B,CAAA;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,kBAAkB,+EAAiD,KAAK,6CAyBnF,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import { type PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
export default function PreviewProvider({ appOrigin, children, }: PropsWithChildren<{
|
|
3
3
|
appOrigin: string;
|
|
4
|
-
}>):
|
|
4
|
+
}>): ReactNode;
|
|
5
5
|
//# sourceMappingURL=PreviewProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewProvider.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/PreviewProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAsB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"PreviewProvider.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/PreviewProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAsB,SAAS,EAAE,MAAM,OAAO,CAAA;AAS7E,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,SAAS,EACT,QAAQ,GACT,EAAE,iBAAiB,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAqBtD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
suspenseFallback?: boolean;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare function supportsActivity(): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Uses React.Activity if available, otherwise falls back to
|
|
9
|
+
* Suspense (when suspenseFallback is true) or Fragment (when false).
|
|
10
|
+
*/
|
|
11
|
+
export declare function ActivityOrFallback({ suspenseFallback, children }: Props): ReactNode;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=activity-with-fallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity-with-fallback.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/activity-with-fallback.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhD,KAAK,KAAK,GAAG;IACX,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAOD,wBAAgB,gBAAgB,IAAI,OAAO,CAE1C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,gBAAuB,EAAE,QAAQ,EAAE,EAAE,KAAK,GAAG,SAAS,CAM1F"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { type Snippet } from '../../../../client';
|
|
2
3
|
export declare function BaseHeadSnippet({ snippet }: {
|
|
3
4
|
snippet: Snippet;
|
|
4
5
|
}): null;
|
|
5
|
-
export declare function snippetToElements(snippet: Pick<Snippet, 'id' | 'code'>): (string |
|
|
6
|
+
export declare function snippetToElements(snippet: Pick<Snippet, 'id' | 'code'>): (string | ReactNode)[];
|
|
6
7
|
export declare function renderSnippetAndExecuteScripts(snippet: Snippet, container: HTMLElement): () => void;
|
|
7
8
|
export declare function cleanUpSnippet(snippet: Snippet): void;
|
|
8
9
|
export declare function getSnippetElementsFromDOM(snippet: Snippet): NodeListOf<Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadSnippet.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/HeadSnippet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeadSnippet.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/HeadSnippet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,QAWhE;AAeD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAc/F;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,WAAW,GACrB,MAAM,IAAI,CA6BZ;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAQrD;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,OAAO,uBAEzD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { type Document } from '../../../../state/react-page';
|
|
2
3
|
import { MakeswiftPageDocument } from '../../../../client';
|
|
3
4
|
import { type PageMetadataSettings } from './page-seo-settings';
|
|
@@ -6,6 +7,6 @@ type Props = {
|
|
|
6
7
|
rootDocument: Document;
|
|
7
8
|
metadata?: boolean | PageMetadataSettings;
|
|
8
9
|
};
|
|
9
|
-
export declare function Page({ page, rootDocument, metadata }: Props):
|
|
10
|
+
export declare function Page({ page, rootDocument, metadata }: Props): ReactNode;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=Page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/Page.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,SAAS,EAAE,MAAM,OAAO,CAAA;AAG1C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAK1D,OAAO,EAA2B,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAExF,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,qBAAqB,CAAA;IAC3B,YAAY,EAAE,QAAQ,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAA;CAC1C,CAAA;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,QAAe,EAAE,EAAE,KAAK,GAAG,SAAS,CAe9E"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { type MakeswiftPageDocument } from '../../../../client';
|
|
2
3
|
import { type PageMetadataSettings } from './page-seo-settings';
|
|
3
4
|
type Props = {
|
|
4
5
|
document: MakeswiftPageDocument;
|
|
5
6
|
metadata?: PageMetadataSettings;
|
|
6
7
|
};
|
|
7
|
-
export declare function PageHead({ document: page, metadata }: Props):
|
|
8
|
+
export declare function PageHead({ document: page, metadata }: Props): ReactNode;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=PageHead.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHead.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/PageHead.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageHead.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/PageHead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAU/D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAS/D,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC,CAAA;AAED,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAa,EAAE,EAAE,KAAK,GAAG,SAAS,CAuG5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"head-tags.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/head-tags.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAIrD,KAAK,cAAc,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAO/D;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAC,MAAM,CAAC,2CAO/D;AAED,KAAK,oBAAoB,GAAG;IAC1B,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAA;CACjD,CAAA;AACD,KAAK,aAAa,GAAG,wBAAwB,CAAC,MAAM,CAAC,GAAG,oBAAoB,CAAA;AAE5E,wBAAgB,QAAQ,CAAC,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"head-tags.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/head-tags.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAIrD,KAAK,cAAc,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAO/D;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAC,MAAM,CAAC,2CAO/D;AAED,KAAK,oBAAoB,GAAG;IAC1B,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAA;CACjD,CAAA;AACD,KAAK,aAAa,GAAG,wBAAwB,CAAC,MAAM,CAAC,GAAG,oBAAoB,CAAA;AAE5E,wBAAgB,QAAQ,CAAC,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAO/D;AAED,KAAK,qBAAqB,GAAG;IAC3B,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AACD,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,CAAC,GAAG,qBAAqB,CAAA;AAE/E,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CASjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/components/page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAI1D,OAAO,EAAE,KAAK,qBAAqB,EAAsB,MAAM,oBAAoB,CAAA;AAEnF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAK/D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE/D;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,IAAI,gEAIZ;IACD,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAA;CAC1C,6CAkBF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
type Props<H extends (...args: any[]) => any> = {
|
|
2
3
|
/**
|
|
3
4
|
* `<RenderHook>` requires key that changes whenever the `hook` prop changes to ensure the rules of
|
|
@@ -6,8 +7,8 @@ type Props<H extends (...args: any[]) => any> = {
|
|
|
6
7
|
key: string;
|
|
7
8
|
hook: H;
|
|
8
9
|
parameters: Parameters<H>;
|
|
9
|
-
children(result: ReturnType<H>):
|
|
10
|
+
children(result: ReturnType<H>): ReactNode;
|
|
10
11
|
};
|
|
11
|
-
export declare function RenderHook<H extends (...args: any[]) => any>({ hook: useHook, parameters, children, }: Props<H>):
|
|
12
|
+
export declare function RenderHook<H extends (...args: any[]) => any>({ hook: useHook, parameters, children, }: Props<H>): ReactNode;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=render-hook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-hook.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/render-hook.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI;IAC9C;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAA;IACzB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"render-hook.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/components/render-hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,KAAK,KAAK,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI;IAC9C;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX,IAAI,EAAE,CAAC,CAAA;IACP,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAA;IACzB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;CAC3C,CAAA;AAED,wBAAgB,UAAU,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,EAC5D,IAAI,EAAE,OAAO,EACb,UAAU,EACV,QAAQ,GACT,EAAE,KAAK,CAAC,CAAC,CAAC,aAEV"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ControlDefinition, type InstanceType, type DataType, type ResolvedValueType } from '@makeswift/controls';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
type ControlValueProps = {
|
|
3
4
|
definition: ControlDefinition;
|
|
4
5
|
data: DataType<ControlDefinition> | undefined;
|
|
5
|
-
children(value: ResolvedValueType<ControlDefinition>):
|
|
6
|
+
children(value: ResolvedValueType<ControlDefinition>): ReactNode;
|
|
6
7
|
control?: InstanceType<ControlDefinition>;
|
|
7
8
|
};
|
|
8
|
-
export declare function ControlValue({ data, definition, children, control, }: ControlValueProps):
|
|
9
|
+
export declare function ControlValue({ data, definition, children, control, }: ControlValueProps): ReactNode;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/controls/control.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/controls/control.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,iBAAiB,CAAA;IAC7B,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAA;IAC7C,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAA;IAChE,OAAO,CAAC,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAA;CAC1C,CAAA;AAED,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,OAAO,GACR,EAAE,iBAAiB,GAAG,SAAS,CAc/B"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { GroupControl, GroupDefinition, type DataType, type ResolvedValueType } from '@makeswift/controls';
|
|
2
3
|
type GroupControlValueProps = {
|
|
3
4
|
definition: GroupDefinition;
|
|
4
5
|
data: DataType<GroupDefinition> | undefined;
|
|
5
|
-
children(value: ResolvedValueType<GroupDefinition>):
|
|
6
|
+
children(value: ResolvedValueType<GroupDefinition>): ReactNode;
|
|
6
7
|
control: GroupControl;
|
|
7
8
|
};
|
|
8
|
-
export declare function GroupControlValue({ definition, data, children, control }: GroupControlValueProps):
|
|
9
|
+
export declare function GroupControlValue({ definition, data, children, control }: GroupControlValueProps): ReactNode;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/controls/group.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAA;AAI5B,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,eAAe,CAAA;IAC3B,IAAI,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IAC3C,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/controls/group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EACL,YAAY,EACZ,eAAe,EACf,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAA;AAI5B,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,eAAe,CAAA;IAC3B,IAAI,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IAC3C,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IAC9D,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,sBAAsB,aAchG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { RenderLeafProps } from 'slate-react';
|
|
2
3
|
import { RichTextV2Definition } from '../../../../../controls/rich-text-v2';
|
|
3
4
|
import { RichTextV2Plugin } from '../../../../../controls/rich-text-v2/plugin';
|
|
@@ -5,6 +6,6 @@ type RichTextV2LeafProps = RenderLeafProps & {
|
|
|
5
6
|
definition: RichTextV2Definition;
|
|
6
7
|
plugins: RichTextV2Plugin[];
|
|
7
8
|
};
|
|
8
|
-
export declare function RichTextV2Leaf({ definition, plugins, ...props }: RichTextV2LeafProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function RichTextV2Leaf({ definition, plugins, ...props }: RichTextV2LeafProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=render-leaf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-leaf.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtimes/react/controls/rich-text-v2/EditableTextV2/render-leaf.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAA;AAG9E,KAAK,mBAAmB,GAAG,eAAe,GAAG;IAC3C,UAAU,EAAE,oBAAoB,CAAA;IAChC,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAC5B,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"render-leaf.d.ts","sourceRoot":"","sources":["../../../../../../../src/runtimes/react/controls/rich-text-v2/EditableTextV2/render-leaf.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAA;AAG9E,KAAK,mBAAmB,GAAG,eAAe,GAAG;IAC3C,UAAU,EAAE,oBAAoB,CAAA;IAChC,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAC5B,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2UA2BpF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { Text } from 'slate';
|
|
2
3
|
import { RichTextV2Definition } from '../../../../controls/rich-text-v2';
|
|
3
4
|
import { RichTextV2Plugin } from '../../../../controls/rich-text-v2/plugin';
|
|
@@ -12,5 +13,5 @@ type LeafProps = {
|
|
|
12
13
|
leaf: Text;
|
|
13
14
|
plugins: RichTextV2Plugin[];
|
|
14
15
|
};
|
|
15
|
-
export declare function LeafComponent({ plugins, ...props }: LeafProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function LeafComponent({ plugins, ...props }: LeafProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
16
17
|
//# sourceMappingURL=ReadOnlyTextV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadOnlyTextV2.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReadOnlyTextV2.d.ts","sourceRoot":"","sources":["../../../../../../src/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAA;AAC3D,OAAO,EAAuB,IAAI,EAAE,MAAM,OAAO,CAAA;AAGjD,OAAO,EAAE,oBAAoB,EAAY,MAAM,mCAAmC,CAAA;AAGlF,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAIlE,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,cAAc,GAAG,SAAS,CAAA;IAChC,UAAU,EAAE,oBAAoB,GAAG,SAAS,CAAA;CAC7C,CAAA;AAED,QAAA,MAAM,cAAc,kGAiClB,CAAA;AAEF,eAAe,cAAc,CAAA;AAmB7B,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAC5B,CAAA;AAED,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2UAuB7D"}
|
|
@@ -23,10 +23,10 @@ type SlotItemProps<T extends ElementType> = {
|
|
|
23
23
|
children?: ReactNode;
|
|
24
24
|
className?: string;
|
|
25
25
|
};
|
|
26
|
-
declare function SlotItem<T extends ElementType = 'div'>({ as, control, grid, index, children, className, ...restOfProps }: SlotItemProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof SlotItemProps<T>>):
|
|
26
|
+
declare function SlotItem<T extends ElementType = 'div'>({ as, control, grid, index, children, className, ...restOfProps }: SlotItemProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof SlotItemProps<T>>): ReactNode;
|
|
27
27
|
type SlotPlaceholderProps = {
|
|
28
28
|
control: SlotControl | null;
|
|
29
29
|
};
|
|
30
|
-
declare function SlotPlaceholder({ control }: SlotPlaceholderProps):
|
|
30
|
+
declare function SlotPlaceholder({ control }: SlotPlaceholderProps): ReactNode;
|
|
31
31
|
export {};
|
|
32
32
|
//# sourceMappingURL=slot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/controls/slot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAA;AAGnG,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAQhF,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAA;IACrD,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;CAC5B,GAAG,SAAS,CAEZ;AA4BD,KAAK,SAAS,CAAC,CAAC,SAAS,WAAW,IAAI;IACtC,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EAClD,EAAE,EACF,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,WAAW,EACf,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,2CAuBtE;yBA7Be,IAAI;;;;AAmCpB,KAAK,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI;IAC1C,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAE3B,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,SAAS,SAAS,GACvD,SAAS,GACT,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,iBAAS,QAAQ,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EAC/C,EAAE,EACF,OAAO,EACP,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,GAAG,WAAW,EACf,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/controls/slot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAA;AAGnG,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAQhF,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAA;IACrD,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;CAC5B,GAAG,SAAS,CAEZ;AA4BD,KAAK,SAAS,CAAC,CAAC,SAAS,WAAW,IAAI;IACtC,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EAClD,EAAE,EACF,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,WAAW,EACf,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,2CAuBtE;yBA7Be,IAAI;;;;AAmCpB,KAAK,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI;IAC1C,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAE3B,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,SAAS,SAAS,GACvD,SAAS,GACT,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,iBAAS,QAAQ,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EAC/C,EAAE,EACF,OAAO,EACP,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,GAAG,WAAW,EACf,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CA4B1F;AAED,KAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;CAC5B,CAAA;AAED,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,EAAE,oBAAoB,GAAG,SAAS,CA0CrE"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import * as ReactPage from '../../state/react-page';
|
|
2
3
|
type PropsValueProps = {
|
|
3
4
|
element: ReactPage.ElementData;
|
|
4
|
-
children(props: Record<string, unknown>):
|
|
5
|
+
children(props: Record<string, unknown>): ReactNode;
|
|
5
6
|
};
|
|
6
|
-
export declare function ResolveProps({ element, children: renderComponent }: PropsValueProps):
|
|
7
|
+
export declare function ResolveProps({ element, children: renderComponent }: PropsValueProps): ReactNode;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/controls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,SAAS,EAAE,MAAM,OAAO,CAAA;AAMzC,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAA;AAQnD,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,SAAS,CAAC,WAAW,CAAA;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;CACpD,CAAA;AAUD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,eAAe,GAAG,SAAS,CAa/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-dom-node.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/find-dom-node.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAIV,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"find-dom-node.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/find-dom-node.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAIV,MAAM,OAAO,CAAA;AA4Cd,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,WAAW,mGAAoB,OAAO,GAAG,IAAI,GAAG,IAAI,EAQhE,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import type { ColorValue } from '../../components/utils/types';
|
|
2
3
|
import { ResponsiveValue } from '@makeswift/prop-controllers';
|
|
3
4
|
import { LegacyDescriptor } from '../../prop-controllers/descriptors';
|
|
4
5
|
export type ResponsiveColor = ResponsiveValue<ColorValue>;
|
|
5
|
-
export declare function resolveLegacyDescriptorProp(descriptor: LegacyDescriptor, propName: string, propData: any, props: Record<string, any>, renderFn: (props: Record<string, unknown>) =>
|
|
6
|
+
export declare function resolveLegacyDescriptorProp(descriptor: LegacyDescriptor, propName: string, propData: any, props: Record<string, any>, renderFn: (props: Record<string, unknown>) => ReactNode): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
6
7
|
//# sourceMappingURL=legacy-controls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacy-controls.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/legacy-controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"legacy-controls.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/legacy-controls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAa9D,OAAO,EAKL,eAAe,EAwBhB,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAiBrE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,UAAU,CAAC,CAAA;AA0CzD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,gBAAgB,EAC5B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,GAAG,EACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,SAAS,2UAyWxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-dom.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/lib/react-dom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"react-dom.d.ts","sourceRoot":"","sources":["../../../../../src/runtimes/react/lib/react-dom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAiBtC,wBAAgB,WAAW,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,CAIzF"}
|
|
@@ -13,6 +13,11 @@ export declare class ReactRuntimeCore extends RuntimeCore {
|
|
|
13
13
|
icon?: ComponentIcon;
|
|
14
14
|
hidden?: boolean;
|
|
15
15
|
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* In React <= 19.1, controls the default `<Suspense>` boundary.
|
|
18
|
+
* Ignored in React >= 19.2; components are always wrapped in `<Activity>`.
|
|
19
|
+
* Defaults to `true`.
|
|
20
|
+
*/
|
|
16
21
|
builtinSuspense?: boolean;
|
|
17
22
|
props?: P;
|
|
18
23
|
}): () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-runtime-core.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/react-runtime-core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAEnF,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,oCAAoC,CAAA;
|
|
1
|
+
{"version":3,"file":"react-runtime-core.d.ts","sourceRoot":"","sources":["../../../../src/runtimes/react/react-runtime-core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAEnF,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,oCAAoC,CAAA;AAMpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAW5C,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,iBAAiB,CACf,UAAU,SAAS,wBAAwB,EAC3C,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU,CAAC,EACvD,CAAC,SAAS,aAAa,CAAC;SAAG,CAAC,IAAI,MAAM,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAAE,CAAC,EAEtE,SAAS,EAAE,CAAC,EACZ,EACE,IAAI,EACJ,KAAK,EACL,IAAyB,EACzB,MAAc,EACd,WAAW,EACX,eAAe,EACf,KAAK,GACN,EAAE;QACD,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,aAAa,CAAA;QACpB,MAAM,CAAC,EAAE,OAAO,CAAA;QAChB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB;;;;WAIG;QACH,eAAe,CAAC,EAAE,OAAO,CAAA;QACzB,KAAK,CAAC,EAAE,CAAC,CAAA;KACV,GACA,MAAM,IAAI;gBA2BD,EAAE,WAAW,EAAE,GAAE;QAAE,WAAW,CAAC,EAAE,gBAAgB,CAAA;KAAO;CAGrE"}
|
|
@@ -32,7 +32,7 @@ export declare function BlockPlugin(): {
|
|
|
32
32
|
}>, "blockquote" | "paragraph" | "heading-one" | "heading-two" | "heading-three" | "heading-four" | "heading-five" | "heading-six" | "ordered-list" | "unordered-list"> | undefined;
|
|
33
33
|
withPlugin: ((editor: Editor) => Editor) | undefined;
|
|
34
34
|
onKeyDown: ((event: KeyboardEvent, editor: Editor) => void) | undefined;
|
|
35
|
-
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) =>
|
|
36
|
-
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) =>
|
|
35
|
+
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) => import("react").ReactNode) | undefined;
|
|
36
|
+
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -79,7 +79,7 @@ export declare function InlineModePlugin(): {
|
|
|
79
79
|
} | null | undefined> | undefined;
|
|
80
80
|
withPlugin: ((editor: Editor) => Editor) | undefined;
|
|
81
81
|
onKeyDown: ((event: KeyboardEvent, editor: Editor) => void) | undefined;
|
|
82
|
-
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) =>
|
|
83
|
-
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) =>
|
|
82
|
+
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) => import("react").ReactNode) | undefined;
|
|
83
|
+
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
|
|
84
84
|
};
|
|
85
85
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ export declare function InlinePlugin(): {
|
|
|
8
8
|
}>, import("./types").SupportedInlineType | null> | undefined;
|
|
9
9
|
withPlugin: ((editor: Editor) => Editor) | undefined;
|
|
10
10
|
onKeyDown: ((event: import("react").KeyboardEvent, editor: Editor) => void) | undefined;
|
|
11
|
-
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) =>
|
|
12
|
-
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) =>
|
|
11
|
+
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) => import("react").ReactNode) | undefined;
|
|
12
|
+
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -39,7 +39,7 @@ export declare function LinkPlugin(): {
|
|
|
39
39
|
} | null> | undefined;
|
|
40
40
|
withPlugin: ((editor: Editor) => Editor) | undefined;
|
|
41
41
|
onKeyDown: ((event: import("react").KeyboardEvent, editor: Editor) => void) | undefined;
|
|
42
|
-
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) =>
|
|
43
|
-
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) =>
|
|
42
|
+
renderElement: ((renderElement: RenderElement, value: any) => (props: RenderElementProps) => import("react").ReactNode) | undefined;
|
|
43
|
+
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
|
|
44
44
|
};
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ export declare function TextAlignPlugin(): {
|
|
|
7
7
|
}>>, Slate.ResponsiveBlockTextAlignment> | undefined;
|
|
8
8
|
withPlugin: ((editor: Editor) => Editor) | undefined;
|
|
9
9
|
onKeyDown: ((event: import("react").KeyboardEvent, editor: Editor) => void) | undefined;
|
|
10
|
-
renderElement: ((renderElement: import("../../controls/rich-text-v2/plugin").RenderElement, value: any) => (props: import("slate-react").RenderElementProps) =>
|
|
11
|
-
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) =>
|
|
10
|
+
renderElement: ((renderElement: import("../../controls/rich-text-v2/plugin").RenderElement, value: any) => (props: import("slate-react").RenderElementProps) => import("react").ReactNode) | undefined;
|
|
11
|
+
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -44,7 +44,7 @@ export declare function TypographyPlugin(): {
|
|
|
44
44
|
} | undefined)[]> | undefined;
|
|
45
45
|
withPlugin: ((editor: Editor) => Editor) | undefined;
|
|
46
46
|
onKeyDown: ((event: import("react").KeyboardEvent, editor: Editor) => void) | undefined;
|
|
47
|
-
renderElement: ((renderElement: import("../../controls/rich-text-v2/plugin").RenderElement, value: any) => (props: import("slate-react").RenderElementProps) =>
|
|
48
|
-
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) =>
|
|
47
|
+
renderElement: ((renderElement: import("../../controls/rich-text-v2/plugin").RenderElement, value: any) => (props: import("slate-react").RenderElementProps) => import("react").ReactNode) | undefined;
|
|
48
|
+
renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined;
|
|
49
49
|
};
|
|
50
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-v1.d.ts","sourceRoot":"","sources":["../../../../src/slate/test-helpers/editor-v1.tsx"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B,eAAe;
|
|
1
|
+
{"version":3,"file":"editor-v1.d.ts","sourceRoot":"","sources":["../../../../src/slate/test-helpers/editor-v1.tsx"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B,eAAe;AAEf,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,OAAO,CAAA;AAO7C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,MAAM,GAAI,OAAO,GAAG,CAAC,OAAO,KAAG,WAE3C,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
2
|
/** @jsx jsxWithV2InlineEditor */
|
|
3
|
+
import { type JSX } from 'react';
|
|
3
4
|
import { Editor as SlateEditor } from 'slate';
|
|
4
5
|
export declare const InlineEditor: (input: JSX.Element) => SlateEditor;
|
|
5
6
|
//# sourceMappingURL=editor-v2-inline.d.ts.map
|