@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.
- package/dist/CodeEditor-B7r9YjDC.cjs +1 -0
- package/dist/CodeEditor-HKrlrH8b.js +71 -0
- package/dist/core.cjs +5 -5
- package/dist/core.d.ts +3 -4
- package/dist/core.js +4355 -4390
- package/dist/get-chai-builder-theme-ByeXCyGx.js +12 -0
- package/dist/get-chai-builder-theme-CeaKvOZ8.cjs +1 -0
- package/dist/mockServiceWorker.js +1 -1
- package/dist/plugin-C01tjI6V.cjs +22 -0
- package/dist/{chai-theme-helpers-CfZwxV6S.js → plugin-fnBB3TCm.js} +111 -99
- package/dist/render-chai-blocks-6SVNwoLW.js +201 -0
- package/dist/render-chai-blocks-Bvl2_fRE.cjs +1 -0
- package/dist/render.cjs +2 -2
- package/dist/render.js +38 -188
- package/dist/sooner-AJ7QkeLS.cjs +1 -0
- package/dist/sooner-DGhT8-JI.js +831 -0
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +3 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +37 -29
- package/dist/ui.js +232 -196
- package/dist/web-blocks.cjs +2 -2
- package/dist/web-blocks.js +1210 -1069
- package/package.json +3 -2
- package/dist/CodeEditor-CPR3N3wa.cjs +0 -1
- package/dist/CodeEditor-CuhsobXe.js +0 -65
- package/dist/chai-theme-helpers-utzv3TbX.cjs +0 -22
- package/dist/getSplitClasses-DodqA_KW.cjs +0 -1
- package/dist/getSplitClasses-DphwgQiE.js +0 -48
- package/dist/plugin-DW1HhfzA.js +0 -24
- package/dist/plugin-kqWzHDpF.cjs +0 -1
- package/dist/tooltip-BF2E5xPf.cjs +0 -1
- package/dist/tooltip-DGVZAvLU.js +0 -755
- /package/dist/{Functions-BGzDsf1z.js → common-functions-BGzDsf1z.js} +0 -0
- /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
|
|
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: () => ["
|
|
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: () =>
|
|
736
|
+
export declare const useWrapperBlock: () => ChaiBlock;
|
|
738
737
|
|
|
739
738
|
declare type VariableKey = string;
|
|
740
739
|
|