builder-settings-types 0.0.458 → 0.0.459

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.
@@ -1,5 +1,5 @@
1
1
  import { IChangable, IDrawable } from '../drawable';
2
- import { SettingsMap, SettingChild, ExtractSettingValues, ExtractSettingValuesOptional, SettingChangeCallback, SettingBlurCallback, MobileSettingValues, SettingIteratorCallback } from '../../types/index';
2
+ import { SettingsMap, SettingChild, SettingsProps, ExtractSettingValues, ExtractSettingValuesOptional, SettingChangeCallback, SettingBlurCallback, MobileSettingValues, SettingIteratorCallback } from '../../types/index';
3
3
  import { ParsedRule } from '../../services/ExcelRulesService';
4
4
  export type ExcelImportConfig = {
5
5
  enabled: boolean;
@@ -102,7 +102,7 @@ export declare class SettingGroup<TSettings extends SettingsMap> implements IDra
102
102
  cleanup(): void;
103
103
  setValue(values: ExtractSettingValuesOptional<TSettings>): void;
104
104
  private wireChild;
105
- addSetting(key: string, setting: SettingChild): void;
105
+ addSetting<T extends SettingsProps>(key: string, setting: SettingChild<T>): void;
106
106
  private addDeleteButtonToElement;
107
107
  private showDeleteConfirmation;
108
108
  private showImportError;
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.458",
4
+ "version": "0.0.459",
5
5
  "type": "module",
6
6
  "main": "dist/builder-settings-types.cjs.js",
7
7
  "module": "dist/builder-settings-types.es.js",