@chaibuilder/sdk 2.2.3 → 2.2.4

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 (35) hide show
  1. package/dist/CodeEditor-B7r9YjDC.cjs +1 -0
  2. package/dist/CodeEditor-HKrlrH8b.js +71 -0
  3. package/dist/core.cjs +5 -5
  4. package/dist/core.d.ts +3 -4
  5. package/dist/core.js +4355 -4390
  6. package/dist/get-chai-builder-theme-ByeXCyGx.js +12 -0
  7. package/dist/get-chai-builder-theme-CeaKvOZ8.cjs +1 -0
  8. package/dist/mockServiceWorker.js +1 -1
  9. package/dist/plugin-C01tjI6V.cjs +22 -0
  10. package/dist/{chai-theme-helpers-CfZwxV6S.js → plugin-fnBB3TCm.js} +111 -99
  11. package/dist/render-chai-blocks-6SVNwoLW.js +201 -0
  12. package/dist/render-chai-blocks-Bvl2_fRE.cjs +1 -0
  13. package/dist/render.cjs +2 -2
  14. package/dist/render.js +38 -188
  15. package/dist/sooner-AJ7QkeLS.cjs +1 -0
  16. package/dist/sooner-DGhT8-JI.js +831 -0
  17. package/dist/tailwind.cjs +1 -1
  18. package/dist/tailwind.js +3 -2
  19. package/dist/ui.cjs +1 -1
  20. package/dist/ui.d.ts +37 -29
  21. package/dist/ui.js +232 -196
  22. package/dist/web-blocks.cjs +2 -2
  23. package/dist/web-blocks.js +1210 -1069
  24. package/package.json +3 -2
  25. package/dist/CodeEditor-CPR3N3wa.cjs +0 -1
  26. package/dist/CodeEditor-CuhsobXe.js +0 -65
  27. package/dist/chai-theme-helpers-utzv3TbX.cjs +0 -22
  28. package/dist/getSplitClasses-DodqA_KW.cjs +0 -1
  29. package/dist/getSplitClasses-DphwgQiE.js +0 -48
  30. package/dist/plugin-DW1HhfzA.js +0 -24
  31. package/dist/plugin-kqWzHDpF.cjs +0 -1
  32. package/dist/tooltip-BF2E5xPf.cjs +0 -1
  33. package/dist/tooltip-DGVZAvLU.js +0 -755
  34. /package/dist/{Functions-BGzDsf1z.js → common-functions-BGzDsf1z.js} +0 -0
  35. /package/dist/{Functions-BZmyleS1.cjs → common-functions-BZmyleS1.cjs} +0 -0
package/dist/core.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { ChaiBlock as ChaiBlock_2 } from '@chaibuilder/runtime';
2
1
  import { ClassValue } from 'clsx';
3
2
  import { ComponentType } from 'react';
4
3
  import { default as default_2 } from 'react';
@@ -453,7 +452,7 @@ declare type SavePageData = {
453
452
 
454
453
  declare type SaveToLibraryProps = {
455
454
  blockId: string;
456
- blocks?: ChaiBlock[];
455
+ blocks: ChaiBlock[];
457
456
  close: () => void;
458
457
  };
459
458
 
@@ -596,7 +595,7 @@ export declare const useRemoveBlocks: () => (blockIds: Array<string>) => void;
596
595
 
597
596
  export declare const useRemoveClassesFromBlocks: () => Function;
598
597
 
599
- export declare const useRightPanel: () => ["theme" | "block" | "ai" | "settings", (args_0: "theme" | "block" | "ai" | "settings" | ((prev: "theme" | "block" | "ai" | "settings") => "theme" | "block" | "ai" | "settings")) => void];
598
+ export declare const useRightPanel: () => ["block" | "theme" | "ai" | "settings", (args_0: "block" | "theme" | "ai" | "settings" | ((prev: "block" | "theme" | "ai" | "settings") => "block" | "theme" | "ai" | "settings")) => void];
600
599
 
601
600
  export declare const useSavePage: () => {
602
601
  savePage: ThrottledFunction<(autoSave?: boolean) => Promise<boolean>>;
@@ -734,7 +733,7 @@ export declare const useUpdateBlocksProps: () => (blockIds: Array<string>, props
734
733
 
735
734
  export declare const useUpdateBlocksPropsRealtime: () => (blockIds: Array<string>, props: Record<string, any>) => void;
736
735
 
737
- export declare const useWrapperBlock: () => ChaiBlock_2;
736
+ export declare const useWrapperBlock: () => ChaiBlock;
738
737
 
739
738
  declare type VariableKey = string;
740
739