builder-settings-types 0.0.431 → 0.0.433
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.
|
@@ -16,6 +16,7 @@ export declare class GradientSetting extends Setting<GradientValue, SettingProps
|
|
|
16
16
|
private isEditing;
|
|
17
17
|
private popoverPosition;
|
|
18
18
|
detectChange?: (value: GradientValue | undefined) => void;
|
|
19
|
+
onColorChange?: (value: string) => void;
|
|
19
20
|
private previewUpdateTimeout;
|
|
20
21
|
private changeDebounceTimeout;
|
|
21
22
|
private static CHANGE_DEBOUNCE_DELAY;
|
|
@@ -15,6 +15,7 @@ export interface RecentColorsSection {
|
|
|
15
15
|
refresh: () => void;
|
|
16
16
|
}
|
|
17
17
|
export interface GradientSettingProps {
|
|
18
|
+
onColorChange?: ((value: string) => void) | undefined;
|
|
18
19
|
detectChange?: (value: GradientValue | undefined) => void;
|
|
19
20
|
default?: GradientValue | string;
|
|
20
21
|
title?: string;
|
package/package.json
CHANGED