@builder.io/sdk-qwik 0.14.13 → 0.14.14

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.
Files changed (113) hide show
  1. package/lib/browser/index.qwik.cjs +3 -3
  2. package/lib/browser/index.qwik.mjs +3 -3
  3. package/lib/edge/index.qwik.cjs +3 -3
  4. package/lib/edge/index.qwik.mjs +3 -3
  5. package/lib/node/index.qwik.cjs +3 -3
  6. package/lib/node/index.qwik.mjs +3 -3
  7. package/package.json +1 -1
  8. package/types/src/blocks/button/button.d.ts +1 -1
  9. package/types/src/blocks/button/button.types.d.ts +1 -1
  10. package/types/src/blocks/button/component-info.d.ts +1 -1
  11. package/types/src/blocks/columns/columns.d.ts +3 -3
  12. package/types/src/blocks/columns/columns.types.d.ts +2 -2
  13. package/types/src/blocks/columns/component-info.d.ts +1 -1
  14. package/types/src/blocks/custom-code/component-info.d.ts +1 -1
  15. package/types/src/blocks/embed/component-info.d.ts +1 -1
  16. package/types/src/blocks/form/form/component-info.d.ts +1 -1
  17. package/types/src/blocks/form/form/form.d.ts +3 -3
  18. package/types/src/blocks/form/input/component-info.d.ts +1 -1
  19. package/types/src/blocks/form/select/component-info.d.ts +1 -1
  20. package/types/src/blocks/form/submit-button/component-info.d.ts +1 -1
  21. package/types/src/blocks/fragment/component-info.d.ts +1 -1
  22. package/types/src/blocks/fragment/fragment.d.ts +1 -1
  23. package/types/src/blocks/image/component-info.d.ts +1 -1
  24. package/types/src/blocks/image/image.d.ts +1 -1
  25. package/types/src/blocks/image/image.types.d.ts +1 -1
  26. package/types/src/blocks/img/component-info.d.ts +1 -1
  27. package/types/src/blocks/raw-text/component-info.d.ts +1 -1
  28. package/types/src/blocks/section/component-info.d.ts +1 -1
  29. package/types/src/blocks/section/section.d.ts +1 -1
  30. package/types/src/blocks/slot/component-info.d.ts +1 -1
  31. package/types/src/blocks/slot/slot.d.ts +1 -1
  32. package/types/src/blocks/symbol/component-info.d.ts +1 -1
  33. package/types/src/blocks/symbol/symbol.d.ts +1 -1
  34. package/types/src/blocks/symbol/symbol.helpers.d.ts +2 -2
  35. package/types/src/blocks/symbol/symbol.types.d.ts +2 -2
  36. package/types/src/blocks/text/component-info.d.ts +1 -1
  37. package/types/src/blocks/text/text.d.ts +1 -1
  38. package/types/src/blocks/textarea/component-info.d.ts +1 -1
  39. package/types/src/blocks/video/component-info.d.ts +1 -1
  40. package/types/src/blocks/video/video.d.ts +1 -1
  41. package/types/src/blocks/video/video.types.d.ts +1 -1
  42. package/types/src/components/block/animator.d.ts +1 -1
  43. package/types/src/components/block/block.d.ts +2 -2
  44. package/types/src/components/block/block.helpers.d.ts +4 -4
  45. package/types/src/components/block/components/block-styles.d.ts +2 -2
  46. package/types/src/components/block/components/block-wrapper.d.ts +2 -2
  47. package/types/src/components/block/components/component-ref/component-ref.d.ts +1 -1
  48. package/types/src/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  49. package/types/src/components/block/components/interactive-element.d.ts +3 -3
  50. package/types/src/components/block/components/repeated-block.d.ts +1 -1
  51. package/types/src/components/block/types.d.ts +2 -2
  52. package/types/src/components/blocks/blocks-wrapper.d.ts +1 -1
  53. package/types/src/components/blocks/blocks.d.ts +1 -1
  54. package/types/src/components/blocks/blocks.types.d.ts +1 -1
  55. package/types/src/components/content/components/enable-editor.d.ts +4 -4
  56. package/types/src/components/content/components/styles.d.ts +1 -1
  57. package/types/src/components/content/content.d.ts +2 -2
  58. package/types/src/components/content/content.helpers.d.ts +3 -3
  59. package/types/src/components/content/content.types.d.ts +2 -2
  60. package/types/src/components/content/contentProps.types.d.ts +2 -2
  61. package/types/src/components/content-variants/content-variants.d.ts +1 -1
  62. package/types/src/components/content-variants/content-variants.types.d.ts +4 -4
  63. package/types/src/components/content-variants/helpers.d.ts +5 -5
  64. package/types/src/constants/builder-registered-components.d.ts +1 -1
  65. package/types/src/constants/extra-components.d.ts +1 -1
  66. package/types/src/constants/sdk-version.d.ts +1 -1
  67. package/types/src/constants/target.d.ts +1 -1
  68. package/types/src/context/index.d.ts +1 -1
  69. package/types/src/context/types.d.ts +4 -4
  70. package/types/src/functions/evaluate/browser-runtime/browser.d.ts +2 -2
  71. package/types/src/functions/evaluate/browser-runtime/index.d.ts +1 -1
  72. package/types/src/functions/evaluate/choose-eval.d.ts +1 -1
  73. package/types/src/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
  74. package/types/src/functions/evaluate/edge-runtime/index.d.ts +1 -1
  75. package/types/src/functions/evaluate/evaluate.d.ts +1 -1
  76. package/types/src/functions/evaluate/helpers.d.ts +3 -3
  77. package/types/src/functions/evaluate/index.d.ts +1 -1
  78. package/types/src/functions/evaluate/node-runtime/index.d.ts +1 -1
  79. package/types/src/functions/evaluate/node-runtime/node-runtime.d.ts +1 -1
  80. package/types/src/functions/evaluate/placeholder-runtime.d.ts +1 -1
  81. package/types/src/functions/fetch-builder-props.d.ts +3 -3
  82. package/types/src/functions/get-block-actions-handler.d.ts +2 -2
  83. package/types/src/functions/get-block-actions.d.ts +2 -2
  84. package/types/src/functions/get-block-component-options.d.ts +1 -1
  85. package/types/src/functions/get-block-properties.d.ts +2 -2
  86. package/types/src/functions/get-builder-search-params/index.d.ts +1 -1
  87. package/types/src/functions/get-content/generate-content-url.d.ts +1 -1
  88. package/types/src/functions/get-content/index.d.ts +2 -2
  89. package/types/src/functions/get-processed-block.d.ts +2 -2
  90. package/types/src/functions/get-style.d.ts +2 -2
  91. package/types/src/functions/is-editing.d.ts +1 -1
  92. package/types/src/functions/is-previewing.d.ts +1 -1
  93. package/types/src/functions/register-component.d.ts +1 -1
  94. package/types/src/functions/register.d.ts +2 -2
  95. package/types/src/functions/track/index.d.ts +2 -2
  96. package/types/src/functions/transform-block-properties.d.ts +2 -2
  97. package/types/src/functions/transform-block.d.ts +1 -1
  98. package/types/src/functions/transform-style-property.d.ts +2 -2
  99. package/types/src/helpers/ab-tests.d.ts +3 -3
  100. package/types/src/helpers/cookie.d.ts +1 -1
  101. package/types/src/helpers/localStorage.d.ts +2 -2
  102. package/types/src/helpers/preview-lru-cache/get.d.ts +1 -1
  103. package/types/src/helpers/preview-lru-cache/set.d.ts +1 -1
  104. package/types/src/helpers/sessionId.d.ts +1 -1
  105. package/types/src/helpers/subscribe-to-editor.d.ts +3 -3
  106. package/types/src/helpers/visitorId.d.ts +1 -1
  107. package/types/src/index-helpers/blocks-exports.d.ts +11 -11
  108. package/types/src/index.d.ts +3 -3
  109. package/types/src/server-index.d.ts +27 -27
  110. package/types/src/types/builder-content.d.ts +3 -3
  111. package/types/src/types/builder-props.d.ts +2 -2
  112. package/types/src/types/components.d.ts +2 -2
  113. package/types/src/types/enforced-partials.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import type { RegisteredComponent } from '../context/types.js';
1
+ import type { RegisteredComponent } from '../context/types';
2
2
  /**
3
3
  * Returns a list of all registered components.
4
4
  * NOTE: This needs to be a function to work around ESM circular dependencies.
@@ -3,5 +3,5 @@
3
3
  * Having them in a separate file allows us to override it to be empty in the
4
4
  * React Native SDK.
5
5
  */
6
- import type { RegisteredComponent } from '../context/types.js';
6
+ import type { RegisteredComponent } from '../context/types';
7
7
  export declare const getExtraComponents: () => RegisteredComponent[];
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.13";
1
+ export declare const SDK_VERSION = "0.14.14";
@@ -1,2 +1,2 @@
1
1
  /** This file should be overriden for each framework. Ideally this would be implemented in Mitosis. */
2
- export declare const TARGET: import("../types/targets.js").Target;
2
+ export declare const TARGET: import("../types/targets").Target;
@@ -1 +1 @@
1
- export { default as BuilderContext } from './builder.context.js';
1
+ export { default as BuilderContext } from './builder.context';
@@ -1,8 +1,8 @@
1
1
  import type { BlocksWrapperProps } from '../components/blocks/blocks-wrapper.jsx';
2
- import type { ApiVersion } from '../types/api-version.js';
3
- import type { BuilderContent } from '../types/builder-content.js';
4
- import type { ComponentInfo } from '../types/components.js';
5
- import type { Dictionary, Nullable } from '../types/typescript.js';
2
+ import type { ApiVersion } from '../types/api-version';
3
+ import type { BuilderContent } from '../types/builder-content';
4
+ import type { ComponentInfo } from '../types/components';
5
+ import type { Dictionary, Nullable } from '../types/typescript';
6
6
  export type RegisteredComponent = ComponentInfo & {
7
7
  component: any;
8
8
  };
@@ -1,5 +1,5 @@
1
- import type { BuilderRenderState } from '../../../context/types.js';
2
- import type { ExecutorArgs } from '../helpers.js';
1
+ import type { BuilderRenderState } from '../../../context/types';
2
+ import type { ExecutorArgs } from '../helpers';
3
3
  export declare const runInBrowser: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
4
4
  export declare function flattenState({ rootState, localState, rootSetState }: {
5
5
  rootState: Record<string | symbol, any>;
@@ -1 +1 @@
1
- export { runInBrowser as evaluator } from './browser.js';
1
+ export { runInBrowser as evaluator } from './browser';
@@ -1,4 +1,4 @@
1
- import type { ExecutorArgs } from './helpers.js';
1
+ import type { ExecutorArgs } from './helpers';
2
2
  /**
3
3
  * Even though we have separate runtimes for browser/node/edge, sometimes frameworks will
4
4
  * end up sending the server runtime code to the browser (most notably in dev mode).
@@ -1,2 +1,2 @@
1
- import type { ExecutorArgs } from '../helpers.js';
1
+ import type { ExecutorArgs } from '../helpers';
2
2
  export declare const runInEdge: ({ builder, context, event, rootState, localState, rootSetState, code }: ExecutorArgs) => any;
@@ -1 +1 @@
1
- export { runInEdge as evaluator } from './edge-runtime.js';
1
+ export { runInEdge as evaluator } from './edge-runtime';
@@ -1,4 +1,4 @@
1
- import type { EvaluatorArgs } from './helpers.js';
1
+ import type { EvaluatorArgs } from './helpers';
2
2
  type EvalValue = unknown;
3
3
  export declare function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression, enableCache }: EvaluatorArgs): EvalValue;
4
4
  export {};
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface, BuilderRenderState } from '../../context/types.js';
2
- import { getUserAttributes } from '../track/helpers.js';
1
+ import type { BuilderContextInterface, BuilderRenderState } from '../../context/types';
2
+ import { getUserAttributes } from '../track/helpers';
3
3
  export type EvaluatorArgs = Omit<ExecutorArgs, 'builder' | 'event'> & {
4
4
  event?: Event;
5
5
  isExpression?: boolean;
@@ -20,6 +20,6 @@ export type Executor = (args: ExecutorArgs) => any;
20
20
  export type FunctionArguments = ReturnType<typeof getFunctionArguments>;
21
21
  export declare const getFunctionArguments: ({ builder, context, event, state }: Pick<ExecutorArgs, "context" | "builder" | "event"> & {
22
22
  state: BuilderRenderState;
23
- }) => [string, Event | BuilderRenderState | import("../../context/types.js").BuilderRenderContext | BuilderGlobals | undefined][];
23
+ }) => [string, Event | BuilderRenderState | import("../../context/types").BuilderRenderContext | BuilderGlobals | undefined][];
24
24
  export declare const getBuilderGlobals: () => BuilderGlobals;
25
25
  export declare const parseCode: (code: string, { isExpression }: Pick<EvaluatorArgs, 'isExpression'>) => string;
@@ -1 +1 @@
1
- export { evaluate } from './evaluate.js';
1
+ export { evaluate } from './evaluate';
@@ -1 +1 @@
1
- export { runInNode as evaluator } from './node-runtime.js';
1
+ export { runInNode as evaluator } from './node-runtime';
@@ -1,2 +1,2 @@
1
- import type { ExecutorArgs } from '../helpers.js';
1
+ import type { ExecutorArgs } from '../helpers';
2
2
  export declare const runInNode: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
@@ -1,2 +1,2 @@
1
- import type { ExecutorArgs } from './helpers.js';
1
+ import type { ExecutorArgs } from './helpers';
2
2
  export declare const evaluator: (_args: ExecutorArgs) => never;
@@ -1,6 +1,6 @@
1
- import type { ContentVariantsPrps } from '../components/content-variants/content-variants.types.js';
2
- import type { Dictionary } from '../types/typescript.js';
3
- import type { GetContentOptions } from './get-content/types.js';
1
+ import type { ContentVariantsPrps } from '../components/content-variants/content-variants.types';
2
+ import type { Dictionary } from '../types/typescript';
3
+ import type { GetContentOptions } from './get-content/types';
4
4
  type GetBuilderPropsOptions = (Omit<GetContentOptions, 'model'> & {
5
5
  model?: string;
6
6
  }) & ({
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  export declare function createEventHandler(value: string, options: {
4
4
  block: BuilderBlock;
5
5
  } & Pick<BuilderContextInterface, 'localState' | 'context' | 'rootState' | 'rootSetState'>): (event: Event) => any;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  type Actions = {
4
4
  [index: string]: (event: Event) => any;
5
5
  };
@@ -1,2 +1,2 @@
1
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderBlock } from '../types/builder-block';
2
2
  export declare function getBlockComponentOptions(block: BuilderBlock): any;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  export declare function getBlockProperties({ block, context }: {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -1,4 +1,4 @@
1
- import type { QueryObject } from '../../helpers/search/search.js';
1
+ import type { QueryObject } from '../../helpers/search/search';
2
2
  /**
3
3
  * Receives a `URLSearchParams` object or a regular query object, and returns the subset of query params that are
4
4
  * relevant to the Builder SDK.
@@ -1,2 +1,2 @@
1
- import type { GetContentOptions } from './types.js';
1
+ import type { GetContentOptions } from './types';
2
2
  export declare const generateContentUrl: (options: GetContentOptions) => URL;
@@ -1,5 +1,5 @@
1
- import type { BuilderContent } from '../../types/builder-content.js';
2
- import type { GetContentOptions } from './types.js';
1
+ import type { BuilderContent } from '../../types/builder-content';
2
+ import type { GetContentOptions } from './types';
3
3
  /**
4
4
  * Returns the first content entry that matches the given options.
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  export declare function getProcessedBlock({ block, context, shouldEvaluateBindings, localState, rootState, rootSetState }: {
4
4
  block: BuilderBlock;
5
5
  /**
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  export declare const getStyle: ({ block, context }: {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -1,2 +1,2 @@
1
- import { type Search } from '../helpers/search/search.js';
1
+ import { type Search } from '../helpers/search/search';
2
2
  export declare function isEditing(search?: Search): boolean;
@@ -1,2 +1,2 @@
1
- import type { Search } from '../helpers/search/search.js';
1
+ import type { Search } from '../helpers/search/search';
2
2
  export declare function isPreviewing(search?: Search): boolean;
@@ -1,4 +1,4 @@
1
- import type { ComponentInfo } from '../types/components.js';
1
+ import type { ComponentInfo } from '../types/components';
2
2
  export declare const createRegisterComponentMessage: (info: ComponentInfo) => {
3
3
  type: string;
4
4
  data: ComponentInfo;
@@ -1,5 +1,5 @@
1
- import type { BuilderBlock } from '../types/builder-block.js';
2
- import type { DeepPartial } from '../types/deep-partial.js';
1
+ import type { BuilderBlock } from '../types/builder-block';
2
+ import type { DeepPartial } from '../types/deep-partial';
3
3
  export interface InsertMenuItem {
4
4
  name: string;
5
5
  icon?: string;
@@ -1,5 +1,5 @@
1
- import type { CanTrack } from '../../types/can-track.js';
2
- import type { Dictionary } from '../../types/typescript.js';
1
+ import type { CanTrack } from '../../types/can-track';
2
+ import type { Dictionary } from '../../types/typescript';
3
3
  interface Event {
4
4
  /**
5
5
  * The type of your event.
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  export declare function transformBlockProperties<T>({ properties }: {
4
4
  properties: T;
5
5
  context: BuilderContextInterface;
@@ -1,2 +1,2 @@
1
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderBlock } from '../types/builder-block';
2
2
  export declare function transformBlock(block: BuilderBlock): BuilderBlock;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from '../context/types.js';
2
- import type { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../context/types';
2
+ import type { BuilderBlock } from '../types/builder-block';
3
3
  export declare function transformStyleProperty({ style }: {
4
4
  style: Partial<CSSStyleDeclaration>;
5
5
  context: BuilderContextInterface;
@@ -1,6 +1,6 @@
1
- import type { BuilderContent } from '../types/builder-content.js';
2
- import type { CanTrack } from '../types/can-track.js';
3
- import type { Nullable } from '../types/typescript.js';
1
+ import type { BuilderContent } from '../types/builder-content';
2
+ import type { CanTrack } from '../types/can-track';
3
+ import type { Nullable } from '../types/typescript';
4
4
  export declare const handleABTestingSync: ({ item, canTrack }: {
5
5
  item: Nullable<BuilderContent>;
6
6
  } & CanTrack) => Nullable<BuilderContent>;
@@ -1,4 +1,4 @@
1
- import type { CanTrack } from '../types/can-track.js';
1
+ import type { CanTrack } from '../types/can-track';
2
2
  type GetCookieArgs = {
3
3
  name: string;
4
4
  } & CanTrack;
@@ -1,5 +1,5 @@
1
- import type { CanTrack } from '../types/can-track.js';
2
- import type { Nullable } from './nullable.js';
1
+ import type { CanTrack } from '../types/can-track';
2
+ import type { Nullable } from './nullable';
3
3
  export declare const getLocalStorageItem: ({ key, canTrack }: {
4
4
  key: string;
5
5
  } & CanTrack) => Nullable<string>;
@@ -1,2 +1,2 @@
1
- import type { BuilderContent } from '../../types/builder-content.js';
1
+ import type { BuilderContent } from '../../types/builder-content';
2
2
  export declare function getPreviewContent(_searchParams: URLSearchParams): BuilderContent | undefined;
@@ -1,4 +1,4 @@
1
- import type { BuilderContent } from '../../types/builder-content.js';
1
+ import type { BuilderContent } from '../../types/builder-content';
2
2
  export declare function postPreviewContent({ key, value }: {
3
3
  key: string;
4
4
  value: BuilderContent;
@@ -1,4 +1,4 @@
1
- import type { CanTrack } from '../types/can-track.js';
1
+ import type { CanTrack } from '../types/can-track';
2
2
  export declare const getSessionId: ({ canTrack }: CanTrack) => Promise<string | undefined>;
3
3
  export declare const createSessionId: () => string;
4
4
  export declare const setSessionId: ({ id, canTrack }: {
@@ -1,6 +1,6 @@
1
- import type { ContentProps } from '../components/content/content.types.js';
2
- import type { BuilderAnimation } from '../types/builder-block.js';
3
- import type { BuilderContent } from '../types/builder-content.js';
1
+ import type { ContentProps } from '../components/content/content.types';
2
+ import type { BuilderAnimation } from '../types/builder-block';
3
+ import type { BuilderContent } from '../types/builder-content';
4
4
  type ContentListener = Required<Pick<ContentProps, 'model' | 'trustedHosts'>> & {
5
5
  callbacks: {
6
6
  contentUpdate: (updatedContent: BuilderContent) => void;
@@ -1,4 +1,4 @@
1
- import type { CanTrack } from '../types/can-track.js';
1
+ import type { CanTrack } from '../types/can-track';
2
2
  export declare const getVisitorId: ({ canTrack }: CanTrack) => string | undefined;
3
3
  export declare const createVisitorId: () => string;
4
4
  export declare const setVisitorId: ({ id, canTrack }: {
@@ -1,14 +1,14 @@
1
- export { default as Button } from '../blocks/button/index.js';
2
- export { default as Columns } from '../blocks/columns/index.js';
3
- export { default as Fragment } from '../blocks/fragment/index.js';
4
- export { default as Image } from '../blocks/image/index.js';
5
- export { default as Section } from '../blocks/section/index.js';
6
- export { default as Symbol } from '../blocks/symbol/index.js';
7
- export { default as Text } from '../blocks/text/index.js';
8
- export { default as Video } from '../blocks/video/index.js';
9
- export { default as Blocks } from '../components/blocks/index.js';
10
- export { default as Content } from '../components/content-variants/index.js';
1
+ export { default as Button } from '../blocks/button/index';
2
+ export { default as Columns } from '../blocks/columns/index';
3
+ export { default as Fragment } from '../blocks/fragment/index';
4
+ export { default as Image } from '../blocks/image/index';
5
+ export { default as Section } from '../blocks/section/index';
6
+ export { default as Symbol } from '../blocks/symbol/index';
7
+ export { default as Text } from '../blocks/text/index';
8
+ export { default as Video } from '../blocks/video/index';
9
+ export { default as Blocks } from '../components/blocks/index';
10
+ export { default as Content } from '../components/content-variants/index';
11
11
  /**
12
12
  * Builder Context
13
13
  */
14
- export { BuilderContext } from '../context/index.js';
14
+ export { BuilderContext } from '../context/index';
@@ -1,10 +1,10 @@
1
- export * from './index-helpers/top-of-file.js';
1
+ export * from './index-helpers/top-of-file';
2
2
  /**
3
3
  * In the React SDK, this file is marked with `use client`.
4
4
  */
5
- export * from './index-helpers/blocks-exports.js';
5
+ export * from './index-helpers/blocks-exports';
6
6
  /**
7
7
  * In the React SDK, this file is not marked with `use client`, to allow
8
8
  * NextJS App Directory to use the SDK helper functions without issues.
9
9
  */
10
- export * from './server-index.js';
10
+ export * from './server-index';
@@ -1,39 +1,39 @@
1
- export * from './index-helpers/top-of-file.js';
1
+ export * from './index-helpers/top-of-file';
2
2
  /**
3
3
  * Component Prop types
4
4
  */
5
- export type { ButtonProps } from './blocks/button/button.types.js';
6
- export type { ColumnProps } from './blocks/columns/columns.types.js';
7
- export type { FragmentProps } from './blocks/fragment/fragment.types.js';
8
- export type { ImageProps } from './blocks/image/image.types.js';
9
- export type { SectionProps } from './blocks/section/section.types.js';
10
- export type { SymbolProps } from './blocks/symbol/symbol.types.js';
11
- export type { TextProps } from './blocks/text/text.types.js';
12
- export type { VideoProps } from './blocks/video/video.types.js';
13
- export type { BlocksProps } from './components/blocks/blocks.types.js';
14
- export type { ContentVariantsPrps as ContentProps } from './components/content-variants/content-variants.types.js';
5
+ export type { ButtonProps } from './blocks/button/button.types';
6
+ export type { ColumnProps } from './blocks/columns/columns.types';
7
+ export type { FragmentProps } from './blocks/fragment/fragment.types';
8
+ export type { ImageProps } from './blocks/image/image.types';
9
+ export type { SectionProps } from './blocks/section/section.types';
10
+ export type { SymbolProps } from './blocks/symbol/symbol.types';
11
+ export type { TextProps } from './blocks/text/text.types';
12
+ export type { VideoProps } from './blocks/video/video.types';
13
+ export type { BlocksProps } from './components/blocks/blocks.types';
14
+ export type { ContentVariantsPrps as ContentProps } from './components/content-variants/content-variants.types';
15
15
  /**
16
16
  * General Builder types
17
17
  */
18
- export type { RegisteredComponent } from './context/types.js';
19
- export type { BuilderBlock } from './types/builder-block.js';
20
- export type { BuilderContent } from './types/builder-content.js';
21
- export type { ComponentInfo } from './types/components.js';
18
+ export type { RegisteredComponent } from './context/types';
19
+ export type { BuilderBlock } from './types/builder-block';
20
+ export type { BuilderContent } from './types/builder-content';
21
+ export type { ComponentInfo } from './types/components';
22
22
  /**
23
23
  * Helper functions
24
24
  */
25
- export { isEditing } from './functions/is-editing.js';
26
- export { isPreviewing } from './functions/is-previewing.js';
27
- export { createRegisterComponentMessage } from './functions/register-component.js';
28
- export { register } from './functions/register.js';
29
- export type { InsertMenuConfig, InsertMenuItem } from './functions/register.js';
30
- export { setEditorSettings } from './functions/set-editor-settings.js';
31
- export type { Settings } from './functions/set-editor-settings.js';
32
- export { getBuilderSearchParams } from './functions/get-builder-search-params/index.js';
33
- export { track } from './functions/track/index.js';
34
- export { subscribeToEditor } from './helpers/subscribe-to-editor.js';
25
+ export { isEditing } from './functions/is-editing';
26
+ export { isPreviewing } from './functions/is-previewing';
27
+ export { createRegisterComponentMessage } from './functions/register-component';
28
+ export { register } from './functions/register';
29
+ export type { InsertMenuConfig, InsertMenuItem } from './functions/register';
30
+ export { setEditorSettings } from './functions/set-editor-settings';
31
+ export type { Settings } from './functions/set-editor-settings';
32
+ export { getBuilderSearchParams } from './functions/get-builder-search-params/index';
33
+ export { track } from './functions/track/index';
34
+ export { subscribeToEditor } from './helpers/subscribe-to-editor';
35
35
  /**
36
36
  * Content fetching
37
37
  */
38
- export { fetchBuilderProps } from './functions/fetch-builder-props.js';
39
- export { _processContentResult, fetchEntries, fetchOneEntry } from './functions/get-content/index.js';
38
+ export { fetchBuilderProps } from './functions/fetch-builder-props';
39
+ export { _processContentResult, fetchEntries, fetchOneEntry } from './functions/get-content/index';
@@ -1,6 +1,6 @@
1
- import type { BuilderBlock } from './builder-block.js';
2
- import type { Input } from './input.js';
3
- import type { Nullable } from './typescript.js';
1
+ import type { BuilderBlock } from './builder-block';
2
+ import type { Input } from './input';
3
+ import type { Nullable } from './typescript';
4
4
  export interface Breakpoints {
5
5
  small: number;
6
6
  medium: number;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface, RegisteredComponents } from '../context/types.js';
2
- import type { BuilderBlock } from './builder-block.js';
1
+ import type { BuilderContextInterface, RegisteredComponents } from '../context/types';
2
+ import type { BuilderBlock } from './builder-block';
3
3
  export type BuilderDataProps = {
4
4
  builderBlock: BuilderBlock;
5
5
  builderContext: BuilderContextInterface;
@@ -1,5 +1,5 @@
1
- import type { BuilderElement } from './element.js';
2
- import type { Input } from './input.js';
1
+ import type { BuilderElement } from './element';
2
+ import type { Input } from './input';
3
3
  export interface ComponentInfo {
4
4
  /**
5
5
  * Name your component something unique, e.g. 'MyButton'. You can override built-in components
@@ -1,4 +1,4 @@
1
- import type { Prettify } from './typescript.js';
1
+ import type { Prettify } from './typescript';
2
2
  /**
3
3
  * Lol Typescript
4
4
  * https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360