@proximus/lavender-selectablebox 2.0.0-alpha.19 → 2.0.0-alpha.190

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,6 +1,8 @@
1
1
  import { WithExtraAttributes } from '@proximus/lavender-common';
2
2
  import '@proximus/lavender-layout';
3
+ export declare const selectableBoxFooterPosition: string[];
3
4
  export declare class SelectableBox extends WithExtraAttributes {
5
+ #private;
4
6
  protected template(): string;
5
7
  constructor();
6
8
  static get observedAttributes(): string[];
@@ -10,4 +12,6 @@ export declare class SelectableBox extends WithExtraAttributes {
10
12
  set inverted(value: boolean);
11
13
  get hideFooter(): boolean;
12
14
  set hideFooter(value: boolean);
15
+ get footerPosition(): string;
16
+ set footerPosition(value: string);
13
17
  }
@@ -19,21 +19,23 @@ export declare class SelectableBoxCheckbox extends WithExtraAttributes {
19
19
  handleCheckedAttributeChange(newValue: string): void;
20
20
  static get formAssociated(): boolean;
21
21
  formResetCallback(): void;
22
- formStateRestoreCallback(state: any): void;
22
+ formStateRestoreCallback(state: boolean): void;
23
23
  formData(): FormData;
24
24
  get $el(): HTMLElement;
25
25
  get $selectableBox(): SelectableBox;
26
26
  get $checkbox(): Checkbox;
27
27
  get $slotFooter(): HTMLSlotElement;
28
- get $slottedFooter(): HTMLElement;
28
+ get $slottedFooter(): HTMLElement | null;
29
29
  get inverted(): boolean;
30
30
  set inverted(value: boolean);
31
31
  get checked(): boolean;
32
32
  set checked(value: boolean);
33
- get name(): string;
34
- set name(value: string);
33
+ get name(): string | null;
34
+ set name(value: string | null);
35
35
  get disabled(): boolean;
36
36
  set disabled(value: boolean);
37
- get value(): string;
38
- set value(value: string);
37
+ get value(): string | null;
38
+ set value(value: string | null);
39
+ get footerPosition(): string;
40
+ set footerPosition(value: string);
39
41
  }
@@ -2,6 +2,8 @@ import { WithExtraAttributes } from '@proximus/lavender-common';
2
2
  import '@proximus/lavender-layout';
3
3
  import { SelectableBox } from './SelectableBox';
4
4
  import { type Radio } from '@proximus/lavender-radio-group';
5
+ export declare const SELECTABLE_BOX_RADIO_CONNECTED_EVENT = "px-selectable-box-radio-connected";
6
+ export declare const SELECTABLE_BOX_RADIO_DISCONNECTED_EVENT = "px-selectable-box-radio-disconnected";
5
7
  export declare class SelectableBoxRadio extends WithExtraAttributes {
6
8
  protected internals: ElementInternals;
7
9
  protected template(): string;
@@ -11,6 +13,7 @@ export declare class SelectableBoxRadio extends WithExtraAttributes {
11
13
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
12
14
  disconnectedCallback(): void;
13
15
  private removeHoverAttribute;
16
+ private stopInternalRadioChange;
14
17
  private setHoverAttribute;
15
18
  private setKeypressEvent;
16
19
  private setClickEvent;
@@ -19,21 +22,23 @@ export declare class SelectableBoxRadio extends WithExtraAttributes {
19
22
  handleCheckedAttributeChange(newValue: string): void;
20
23
  static get formAssociated(): boolean;
21
24
  formResetCallback(): void;
22
- formStateRestoreCallback(state: any): void;
25
+ formStateRestoreCallback(state: boolean): void;
23
26
  formData(): FormData;
24
27
  get $el(): HTMLElement;
25
28
  get $selectableBox(): SelectableBox;
26
29
  get $radio(): Radio;
27
30
  get $slotFooter(): HTMLSlotElement;
28
- get $slottedFooter(): HTMLElement;
31
+ get $slottedFooter(): HTMLElement | null;
29
32
  get inverted(): boolean;
30
33
  set inverted(value: boolean);
31
34
  get checked(): boolean;
32
35
  set checked(value: boolean);
33
- get name(): string;
34
- set name(value: string);
36
+ get name(): string | null;
37
+ set name(value: string | null);
35
38
  get disabled(): boolean;
36
39
  set disabled(value: boolean);
37
- get value(): string;
38
- set value(value: string);
40
+ get value(): string | null;
41
+ set value(value: string | null);
42
+ get footerPosition(): string;
43
+ set footerPosition(value: string);
39
44
  }
@@ -0,0 +1 @@
1
+ export declare function shouldIgnoreSelectableBoxClick(event: MouseEvent, host: HTMLElement, ignoredTags?: string[]): boolean;