@chaibuilder/sdk 2.2.34 → 2.2.35

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
@@ -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: () => {