tosijs-ui 1.4.7 → 1.4.8

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/dialog.d.ts CHANGED
@@ -48,10 +48,8 @@ export declare class TosiDialog extends Component<DialogParts> {
48
48
  static alert(message: string, title?: string): Promise<void>;
49
49
  static confirm(message: string, title?: string): Promise<boolean>;
50
50
  static prompt(message: string, title?: string, currentValue?: string): Promise<string | null>;
51
- static initAttributes: {
52
- removeOnClose: boolean;
53
- closeOnBackgroundClick: boolean;
54
- };
51
+ removeOnClose: boolean;
52
+ closeOnBackgroundClick: boolean;
55
53
  constructor();
56
54
  dialogWillClose: (reason?: string) => void;
57
55
  initialFocus(): void;
package/dist/dialog.js CHANGED
@@ -221,10 +221,8 @@ export class TosiDialog extends Component {
221
221
  promptDialog.showModal();
222
222
  });
223
223
  }
224
- static initAttributes = {
225
- removeOnClose: false,
226
- closeOnBackgroundClick: false,
227
- };
224
+ removeOnClose = false;
225
+ closeOnBackgroundClick = false;
228
226
  constructor() {
229
227
  super();
230
228
  on(this, 'click', () => {