builder-settings-types 0.0.279 → 0.0.280
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/builder-settings-types.cjs.js +26 -18
- package/dist/builder-settings-types.es.js +131 -118
- package/dist/groups/borderSettingsSet.d.ts +7 -5
- package/dist/groups/headerTypographySettingsSet.d.ts +3 -2
- package/dist/settings/select-settings/selectSettings.d.ts +0 -6
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SettingGroup } from '../base/settings-group/settingsGroup';
|
|
2
|
-
import {
|
|
2
|
+
import { GradientSetting } from '../settings/gradient-settings/GradientSetting';
|
|
3
3
|
import { NumberSetting } from '../settings/number-settings/numberSettings';
|
|
4
4
|
/**
|
|
5
5
|
* A SettingGroup for configuring "Border" settings.
|
|
@@ -7,7 +7,7 @@ import { NumberSetting } from '../settings/number-settings/numberSettings';
|
|
|
7
7
|
* You can pass default values to override the internal defaults.
|
|
8
8
|
*/
|
|
9
9
|
export declare class BorderSettingSet extends SettingGroup<{
|
|
10
|
-
color:
|
|
10
|
+
color: GradientSetting;
|
|
11
11
|
radius: NumberSetting;
|
|
12
12
|
size: NumberSetting;
|
|
13
13
|
}> {
|
|
@@ -17,8 +17,10 @@ export declare class BorderSettingSet extends SettingGroup<{
|
|
|
17
17
|
size?: number;
|
|
18
18
|
collapsed?: boolean;
|
|
19
19
|
});
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
getValues(): {
|
|
21
|
+
color: unknown;
|
|
22
|
+
radius: unknown;
|
|
23
|
+
size: unknown;
|
|
24
|
+
};
|
|
23
25
|
getCssCode(): string;
|
|
24
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SettingGroup } from '../base/settings-group/settingsGroup';
|
|
2
2
|
import { AlignSetting, AlignValue } from '../settings/align-settings/alignSettings';
|
|
3
|
-
import {
|
|
3
|
+
import { GradientSetting } from '../settings/gradient-settings/GradientSetting';
|
|
4
4
|
import { NumberSetting } from '../settings/number-settings/numberSettings';
|
|
5
5
|
import { SelectOption, SelectSetting } from '../settings/select-settings/selectSettings';
|
|
6
6
|
export interface HeaderTypographySettings {
|
|
@@ -23,7 +23,7 @@ export interface HeaderTypographySettings {
|
|
|
23
23
|
fontSizeMobileDefault?: number;
|
|
24
24
|
}
|
|
25
25
|
export declare class HeaderTypographySettingSet extends SettingGroup<{
|
|
26
|
-
color:
|
|
26
|
+
color: GradientSetting;
|
|
27
27
|
fontFamily: SelectSetting<string>;
|
|
28
28
|
fontWeight: SelectSetting<string>;
|
|
29
29
|
fontSize: NumberSetting;
|
|
@@ -31,4 +31,5 @@ export declare class HeaderTypographySettingSet extends SettingGroup<{
|
|
|
31
31
|
}> {
|
|
32
32
|
constructor(props?: HeaderTypographySettings);
|
|
33
33
|
getCssCode(): string;
|
|
34
|
+
getTextGradientCss(): string;
|
|
34
35
|
}
|
|
@@ -27,14 +27,8 @@ export declare class SelectSetting<T = SettingsMap> extends Setting<T, SelectSet
|
|
|
27
27
|
setValue(newValue: T): void;
|
|
28
28
|
private createOption;
|
|
29
29
|
draw(): HTMLElement;
|
|
30
|
-
/**
|
|
31
|
-
* Check if dropdown should be positioned above the button
|
|
32
|
-
*/
|
|
33
30
|
private checkDropdownPosition;
|
|
34
31
|
private selectOption;
|
|
35
|
-
/**
|
|
36
|
-
* Clean up dropdown positioning when closed
|
|
37
|
-
*/
|
|
38
32
|
private cleanupDropdownPosition;
|
|
39
33
|
private updateOptionsList;
|
|
40
34
|
private updateButtonText;
|
package/package.json
CHANGED