builder-settings-types 0.0.86 → 0.0.88

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/index.d.ts CHANGED
@@ -309,6 +309,7 @@ export declare interface SelectApiSettingProps<T = any> extends SettingProps<T>
309
309
  getOptions?: () => SelectApiOption[];
310
310
  getOptionsAsync?: () => Promise<SelectApiOption[]>;
311
311
  loadingText?: string;
312
+ onChange?: (value: T) => void;
312
313
  }
313
314
 
314
315
  export declare class SelectApiSettings<T = any> extends Setting<T, SelectApiSettingProps<T>> {
@@ -393,8 +394,14 @@ export declare class SettingGroup<T extends Record<string, Setting<any, any> | S
393
394
  private isMain;
394
395
  private elementRef;
395
396
  private hideCondition?;
397
+ private static hiddenElements;
398
+ private isHidden;
396
399
  constructor(groupProps: SettingGroupProps<T>);
400
+ static hide(): void;
401
+ static show(): void;
397
402
  setOnChange(onChange: (value: T) => void): SettingGroup<T>;
403
+ hide(): void;
404
+ show(): void;
398
405
  getValues<K extends keyof T>(childKey?: K): any;
399
406
  draw(): HTMLElement;
400
407
  collapse(): void;
@@ -435,6 +442,7 @@ export declare interface StringSettingsProps extends SettingProps<string> {
435
442
  className?: string;
436
443
  inputClassName?: string;
437
444
  wrapperClassName?: string;
445
+ onChange?: (value: string) => void;
438
446
  }
439
447
 
440
448
  export declare class TabsContainerGroup extends SettingGroup<Record<string, TabSettingGroup>> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "builder-settings-types",
3
3
  "description": "builder settings",
4
- "version": "0.0.86",
4
+ "version": "0.0.88",
5
5
  "type": "module",
6
6
  "main": "dist/builder-settings-types.cjs.js",
7
7
  "module": "dist/builder-settings-types.es.js",