builder-settings-types 0.0.464 → 0.0.465

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.
@@ -9,7 +9,7 @@ export interface PopupOptions {
9
9
  title?: string;
10
10
  content: PopupContent;
11
11
  /** Show a dim overlay behind the popup. Default: 'transparent' */
12
- overlay?: 'transparent' | 'solid';
12
+ overlay?: "transparent" | "solid";
13
13
  /** Close on overlay click. Default: true */
14
14
  closeOnOverlayClick?: boolean;
15
15
  /** Close on Escape. Default: true */
@@ -14,21 +14,20 @@ export interface SelectProps {
14
14
  leftColumn?: HTMLElement;
15
15
  button?: HTMLButtonElement;
16
16
  onChange?: (value: string | object, option: SelectOption) => void;
17
+ containerStyle?: Partial<CSSStyleDeclaration>;
17
18
  }
18
19
  export declare class Select {
19
20
  private props;
20
21
  private container;
21
22
  private buttonEl;
23
+ private buttonTextEl;
22
24
  private optionsListEl;
23
25
  private svgContainer;
24
26
  private options;
25
27
  private isOpen;
26
28
  private isLoading;
27
29
  private selectedIndex;
28
- private clickOutsideListener;
29
- private resizeListener;
30
- private scrollListener;
31
- private mutationObserver;
30
+ private openAbortController;
32
31
  constructor(props?: SelectProps);
33
32
  draw(): HTMLElement;
34
33
  open(): void;
@@ -44,7 +43,6 @@ export declare class Select {
44
43
  private updateDropdownPosition;
45
44
  private refreshOptionsList;
46
45
  private updateButtonText;
46
+ private setButtonText;
47
47
  private fetchAsyncOptions;
48
- private attachGlobalListeners;
49
- private setupMutationObserver;
50
48
  }
@@ -0,0 +1,16 @@
1
+ import { SettingGroup } from '../base/settings-group/settingsGroup';
2
+ import { NumberSetting } from '../settings/number-settings/numberSettings';
3
+ export declare const blurIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 15 15\" fill=\"none\">\n<path d=\"M2.625 7.875C2.2125 7.875 1.875 8.2125 1.875 8.625C1.875 9.0375 2.2125 9.375 2.625 9.375C3.0375 9.375 3.375 9.0375 3.375 8.625C3.375 8.2125 3.0375 7.875 2.625 7.875ZM2.625 10.875C2.2125 10.875 1.875 11.2125 1.875 11.625C1.875 12.0375 2.2125 12.375 2.625 12.375C3.0375 12.375 3.375 12.0375 3.375 11.625C3.375 11.2125 3.0375 10.875 2.625 10.875ZM2.625 4.875C2.2125 4.875 1.875 5.2125 1.875 5.625C1.875 6.0375 2.2125 6.375 2.625 6.375C3.0375 6.375 3.375 6.0375 3.375 5.625C3.375 5.2125 3.0375 4.875 2.625 4.875ZM0.375 5.25C0.165 5.25 0 5.415 0 5.625C0 5.835 0.165 6 0.375 6C0.585 6 0.75 5.835 0.75 5.625C0.75 5.415 0.585 5.25 0.375 5.25ZM2.625 1.875C2.2125 1.875 1.875 2.2125 1.875 2.625C1.875 3.0375 2.2125 3.375 2.625 3.375C3.0375 3.375 3.375 3.0375 3.375 2.625C3.375 2.2125 3.0375 1.875 2.625 1.875ZM13.875 6C14.085 6 14.25 5.835 14.25 5.625C14.25 5.415 14.085 5.25 13.875 5.25C13.665 5.25 13.5 5.415 13.5 5.625C13.5 5.835 13.665 6 13.875 6ZM8.625 3.375C9.0375 3.375 9.375 3.0375 9.375 2.625C9.375 2.2125 9.0375 1.875 8.625 1.875C8.2125 1.875 7.875 2.2125 7.875 2.625C7.875 3.0375 8.2125 3.375 8.625 3.375ZM8.625 0.75C8.835 0.75 9 0.585 9 0.375C9 0.165 8.835 0 8.625 0C8.415 0 8.25 0.165 8.25 0.375C8.25 0.585 8.415 0.75 8.625 0.75ZM0.375 8.25C0.165 8.25 0 8.415 0 8.625C0 8.835 0.165 9 0.375 9C0.585 9 0.75 8.835 0.75 8.625C0.75 8.415 0.585 8.25 0.375 8.25ZM5.625 13.5C5.415 13.5 5.25 13.665 5.25 13.875C5.25 14.085 5.415 14.25 5.625 14.25C5.835 14.25 6 14.085 6 13.875C6 13.665 5.835 13.5 5.625 13.5ZM5.625 0.75C5.835 0.75 6 0.585 6 0.375C6 0.165 5.835 0 5.625 0C5.415 0 5.25 0.165 5.25 0.375C5.25 0.585 5.415 0.75 5.625 0.75ZM5.625 3.375C6.0375 3.375 6.375 3.0375 6.375 2.625C6.375 2.2125 6.0375 1.875 5.625 1.875C5.2125 1.875 4.875 2.2125 4.875 2.625C4.875 3.0375 5.2125 3.375 5.625 3.375ZM5.625 7.5C5.0025 7.5 4.5 8.0025 4.5 8.625C4.5 9.2475 5.0025 9.75 5.625 9.75C6.2475 9.75 6.75 9.2475 6.75 8.625C6.75 8.0025 6.2475 7.5 5.625 7.5ZM11.625 7.875C11.2125 7.875 10.875 8.2125 10.875 8.625C10.875 9.0375 11.2125 9.375 11.625 9.375C12.0375 9.375 12.375 9.0375 12.375 8.625C12.375 8.2125 12.0375 7.875 11.625 7.875ZM11.625 10.875C11.2125 10.875 10.875 11.2125 10.875 11.625C10.875 12.0375 11.2125 12.375 11.625 12.375C12.0375 12.375 12.375 12.0375 12.375 11.625C12.375 11.2125 12.0375 10.875 11.625 10.875ZM11.625 4.875C11.2125 4.875 10.875 5.2125 10.875 5.625C10.875 6.0375 11.2125 6.375 11.625 6.375C12.0375 6.375 12.375 6.0375 12.375 5.625C12.375 5.2125 12.0375 4.875 11.625 4.875ZM11.625 1.875C11.2125 1.875 10.875 2.2125 10.875 2.625C10.875 3.0375 11.2125 3.375 11.625 3.375C12.0375 3.375 12.375 3.0375 12.375 2.625C12.375 2.2125 12.0375 1.875 11.625 1.875ZM13.875 8.25C13.665 8.25 13.5 8.415 13.5 8.625C13.5 8.835 13.665 9 13.875 9C14.085 9 14.25 8.835 14.25 8.625C14.25 8.415 14.085 8.25 13.875 8.25ZM8.625 10.875C8.2125 10.875 7.875 11.2125 7.875 11.625C7.875 12.0375 8.2125 12.375 8.625 12.375C9.0375 12.375 9.375 12.0375 9.375 11.625C9.375 11.2125 9.0375 10.875 8.625 10.875ZM8.625 13.5C8.415 13.5 8.25 13.665 8.25 13.875C8.25 14.085 8.415 14.25 8.625 14.25C8.835 14.25 9 14.085 9 13.875C9 13.665 8.835 13.5 8.625 13.5ZM5.625 4.5C5.0025 4.5 4.5 5.0025 4.5 5.625C4.5 6.2475 5.0025 6.75 5.625 6.75C6.2475 6.75 6.75 6.2475 6.75 5.625C6.75 5.0025 6.2475 4.5 5.625 4.5ZM5.625 10.875C5.2125 10.875 4.875 11.2125 4.875 11.625C4.875 12.0375 5.2125 12.375 5.625 12.375C6.0375 12.375 6.375 12.0375 6.375 11.625C6.375 11.2125 6.0375 10.875 5.625 10.875ZM8.625 7.5C8.0025 7.5 7.5 8.0025 7.5 8.625C7.5 9.2475 8.0025 9.75 8.625 9.75C9.2475 9.75 9.75 9.2475 9.75 8.625C9.75 8.0025 9.2475 7.5 8.625 7.5ZM8.625 4.5C8.0025 4.5 7.5 5.0025 7.5 5.625C7.5 6.2475 8.0025 6.75 8.625 6.75C9.2475 6.75 9.75 6.2475 9.75 5.625C9.75 5.0025 9.2475 4.5 8.625 4.5Z\" fill=\"#637381\"/>\n</svg>";
4
+ interface BlurSettingProps {
5
+ title?: string;
6
+ icon?: string;
7
+ blur?: number;
8
+ start?: number;
9
+ end?: number;
10
+ }
11
+ export declare class BlurSetting extends SettingGroup<{
12
+ blur?: NumberSetting;
13
+ }> {
14
+ constructor(props?: BlurSettingProps);
15
+ }
16
+ export {};
@@ -11,6 +11,7 @@ export declare class EffectSettings extends SettingGroup<Record<string, SettingC
11
11
  private options;
12
12
  constructor(props: SettingGroupProps<{}>);
13
13
  private onChangeSetting;
14
+ private openPopup;
14
15
  private createTriggerButton;
15
16
  private getPopupPosition;
16
17
  private getSettingContentWithoutTitle;
@@ -23,4 +23,5 @@ export declare class ShadowSetting extends SettingGroup<{
23
23
  blur: unknown;
24
24
  spread: unknown;
25
25
  };
26
+ draw(): HTMLElement;
26
27
  }