@chaibuilder/sdk 2.0.0-beta.54 → 2.0.0-beta.56

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/core.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ChaiBlock as ChaiBlock_2 } from '@chaibuilder/runtime';
2
2
  import { ClassValue } from 'clsx';
3
3
  import { default as default_2 } from 'react';
4
4
  import { default as i18n } from 'i18next';
5
- import { JSX } from 'react/jsx-runtime';
5
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
6
6
  import * as React_2 from 'react';
7
7
  import { ReactNode } from 'react';
8
8
  import { registerChaiBlock } from '@chaibuilder/runtime';
@@ -15,20 +15,20 @@ declare type AddBlocks = {
15
15
  addPredefinedBlock: any;
16
16
  };
17
17
 
18
- export declare const AddBlocksDialog: () => JSX.Element;
18
+ export declare const AddBlocksDialog: () => JSX_2.Element;
19
19
 
20
20
  export declare const AddBlocksPanel: ({ className, showHeading, parentId, position, }: {
21
21
  parentId?: string;
22
22
  showHeading?: boolean;
23
23
  className?: string;
24
24
  position?: number;
25
- }) => JSX.Element;
25
+ }) => JSX_2.Element;
26
26
 
27
- export declare const AISetContext: () => JSX.Element;
27
+ export declare const AISetContext: () => JSX_2.Element;
28
28
 
29
29
  export declare const AIUserPrompt: ({ blockId }: {
30
30
  blockId: string | undefined;
31
- }) => JSX.Element;
31
+ }) => JSX_2.Element;
32
32
 
33
33
  declare type AskAiResponse = {
34
34
  blocks?: Array<{
@@ -38,15 +38,15 @@ declare type AskAiResponse = {
38
38
  error?: any;
39
39
  };
40
40
 
41
- export declare const BlockAttributesEditor: React_2.MemoExoticComponent<() => JSX.Element>;
41
+ export declare const BlockAttributesEditor: React_2.MemoExoticComponent<() => JSX_2.Element>;
42
42
 
43
43
  /**
44
44
  *
45
45
  * @returns Block Setting
46
46
  */
47
- export declare function BlockPropsEditor(): JSX.Element;
47
+ export declare function BlockPropsEditor(): JSX_2.Element;
48
48
 
49
- export declare function BlockStyleEditor(): JSX.Element;
49
+ export declare function BlockStyleEditor(): JSX_2.Element;
50
50
 
51
51
  declare type BorderRadiusValue = false | string;
52
52
 
@@ -285,13 +285,13 @@ declare type CopiedValue = string | null;
285
285
 
286
286
  declare type CopyFn = (text: string) => Promise<boolean>;
287
287
 
288
- export declare function DarkModeSwitcher(): JSX.Element;
288
+ export declare function DarkModeSwitcher(): JSX_2.Element;
289
289
 
290
290
  export declare const DefaultChaiBlocks: ({ parentId, position, gridCols, }: {
291
291
  parentId?: string;
292
292
  position?: number;
293
293
  gridCols?: string;
294
- }) => JSX.Element;
294
+ }) => JSX_2.Element;
295
295
 
296
296
  declare type ExcludedBuilderProps = "blocks" | "subPages" | "brandingOptions" | "dataProviders";
297
297
 
@@ -328,13 +328,13 @@ export { i18n }
328
328
  export declare const ImportHTML: ({ parentId, position }: {
329
329
  parentId?: string;
330
330
  position?: number;
331
- }) => JSX.Element;
331
+ }) => JSX_2.Element;
332
332
 
333
333
  declare type LayoutVariant = "SINGLE_SIDE_PANEL" | "DUAL_SIDE_PANEL" | "DUAL_SIDE_PANEL_ADVANCED";
334
334
 
335
335
  export declare const mergeClasses: (...inputs: ClassValue[]) => string;
336
336
 
337
- export declare const Outline: () => JSX.Element;
337
+ export declare const Outline: () => JSX_2.Element;
338
338
 
339
339
  declare type OutlineMenuItem = {
340
340
  item: default_2.ComponentType<{
@@ -368,7 +368,7 @@ declare type SavePageData = {
368
368
  theme?: Record<string, any>;
369
369
  };
370
370
 
371
- export declare const ScreenSizes: () => JSX.Element;
371
+ export declare const ScreenSizes: () => JSX_2.Element;
372
372
 
373
373
  declare interface ThemeConfigProps {
374
374
  className?: string;
@@ -387,7 +387,7 @@ declare type TStyleBlock = {
387
387
  export declare const UILibraries: ({ parentId, position }: {
388
388
  parentId?: string;
389
389
  position?: number;
390
- }) => JSX.Element;
390
+ }) => JSX_2.Element;
391
391
 
392
392
  declare interface UILibrary {
393
393
  uuid: string;
@@ -408,7 +408,7 @@ declare type UiLibraryBlock = {
408
408
  description?: string;
409
409
  };
410
410
 
411
- export declare const UndoRedo: () => JSX.Element;
411
+ export declare const UndoRedo: () => JSX_2.Element;
412
412
 
413
413
  export declare const useAddBlock: () => AddBlocks;
414
414