@chaibuilder/sdk 2.2.34 → 2.2.36
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/{code-editor-r_v4m0s7.js → code-editor-DCGe1BPZ.js} +1 -1
- package/dist/{code-editor-DydX0A0c.cjs → code-editor-ZNSGKU5A.cjs} +1 -1
- package/dist/core.cjs +4 -4
- package/dist/core.d.ts +13 -0
- package/dist/core.js +438 -392
- package/dist/toggle-BFR6fqvM.js +1083 -0
- package/dist/toggle-BO_bUdZF.cjs +1 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +128 -358
- package/package.json +1 -1
- package/dist/sooner-CPeN3CGR.cjs +0 -1
- package/dist/sooner-H65duPYc.js +0 -831
package/dist/core.d.ts
CHANGED
|
@@ -665,6 +665,19 @@ export declare const useRemoveBlocks: () => (blockIds: Array<string>) => void;
|
|
|
665
665
|
|
|
666
666
|
export declare const useRemoveClassesFromBlocks: () => Function;
|
|
667
667
|
|
|
668
|
+
/**
|
|
669
|
+
* useResetBlockStyles
|
|
670
|
+
*
|
|
671
|
+
* Provides helper functions to reset style props of the currently selected block.
|
|
672
|
+
*
|
|
673
|
+
* resetAll(): resets every style prop of the current block back to its default value.
|
|
674
|
+
* reset(styleId): resets a single style prop back to its default value.
|
|
675
|
+
*/
|
|
676
|
+
export declare const useResetBlockStyles: () => {
|
|
677
|
+
readonly resetAll: () => void;
|
|
678
|
+
readonly reset: (styleId: string) => void;
|
|
679
|
+
};
|
|
680
|
+
|
|
668
681
|
export declare const useRightPanel: () => ["block" | "theme" | "ai" | "settings", (args_0: "block" | "theme" | "ai" | "settings" | ((prev: "block" | "theme" | "ai" | "settings") => "block" | "theme" | "ai" | "settings")) => void];
|
|
669
682
|
|
|
670
683
|
export declare const useSavePage: () => {
|