@proximus/lavender-tile 2.0.0-alpha.23 → 2.0.0-alpha.230
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/Tile.d.ts +8 -5
- package/dist/TileButton.d.ts +74 -5
- package/dist/TileCheckbox.d.ts +13 -13
- package/dist/TileLink.d.ts +70 -9
- package/dist/TileRadio.d.ts +11 -11
- package/dist/TileSwitch.d.ts +11 -11
- package/dist/custom-elements.json +1849 -0
- package/dist/index.es.js +814 -914
- package/dist/vscode.css-custom-data.json +6 -0
- package/dist/vscode.html-custom-data.json +236 -0
- package/dist/web-types.json +406 -0
- package/package.json +2 -2
package/dist/Tile.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import { VerticallyExtendedElement } from '@proximus/lavender-common';
|
|
|
2
2
|
import '@proximus/lavender-layout';
|
|
3
3
|
export declare const tileBackgroundColorValues: string[];
|
|
4
4
|
export declare class Tile extends VerticallyExtendedElement<HTMLDivElement> {
|
|
5
|
+
protected static readonly template: HTMLTemplateElement;
|
|
5
6
|
static nativeName: string;
|
|
6
|
-
|
|
7
|
+
static nativeAttributes: {};
|
|
7
8
|
constructor();
|
|
8
9
|
connectedCallback(): void;
|
|
9
10
|
static get observedAttributes(): string[];
|
|
@@ -14,16 +15,18 @@ export declare class Tile extends VerticallyExtendedElement<HTMLDivElement> {
|
|
|
14
15
|
get $tileHeader(): HTMLElement;
|
|
15
16
|
get $tileContent(): HTMLElement;
|
|
16
17
|
get $children(): NodeListOf<Element>;
|
|
17
|
-
get $slotPrefix(): Element;
|
|
18
|
-
get $slotSuffix(): Element;
|
|
18
|
+
get $slotPrefix(): Element | null;
|
|
19
|
+
get $slotSuffix(): Element | null;
|
|
19
20
|
get centerPrefix(): boolean;
|
|
20
21
|
set centerPrefix(value: boolean);
|
|
21
22
|
get centerContent(): boolean;
|
|
22
23
|
set centerContent(value: boolean);
|
|
23
|
-
get backgroundColor(): string;
|
|
24
|
-
set backgroundColor(value: string);
|
|
24
|
+
get backgroundColor(): string | null;
|
|
25
|
+
set backgroundColor(value: string | null);
|
|
25
26
|
get inverted(): boolean;
|
|
26
27
|
set inverted(value: boolean);
|
|
27
28
|
get disabled(): boolean;
|
|
28
29
|
set disabled(value: boolean);
|
|
30
|
+
get visual(): string | null;
|
|
31
|
+
set visual(value: string | null);
|
|
29
32
|
}
|
package/dist/TileButton.d.ts
CHANGED
|
@@ -1,25 +1,94 @@
|
|
|
1
1
|
import { PxElement } from '@proximus/lavender-common';
|
|
2
2
|
import '@proximus/lavender-layout';
|
|
3
3
|
import { Tile } from './Tile';
|
|
4
|
+
/**
|
|
5
|
+
* @attr {string} form - The ID of the associated form; the form property is the native form reference.
|
|
6
|
+
* @attr {string} popovertarget - The ID of the target popover.
|
|
7
|
+
* @attr {string} commandfor - The ID of the command target.
|
|
8
|
+
*/
|
|
4
9
|
export declare class TileButton extends PxElement<HTMLButtonElement> {
|
|
10
|
+
protected static readonly template: HTMLTemplateElement;
|
|
5
11
|
static nativeName: string;
|
|
6
|
-
static
|
|
7
|
-
|
|
12
|
+
static nativeProperties: {
|
|
13
|
+
form: "readonly";
|
|
14
|
+
labels: "readonly";
|
|
15
|
+
popoverTargetElement: "writable";
|
|
16
|
+
commandForElement: "writable";
|
|
17
|
+
validity: "readonly";
|
|
18
|
+
validationMessage: "readonly";
|
|
19
|
+
willValidate: "readonly";
|
|
20
|
+
};
|
|
21
|
+
static nativeMethods: ("checkValidity" | "reportValidity" | "setCustomValidity")[];
|
|
22
|
+
static nativeAttributes: {
|
|
23
|
+
disabled: never[];
|
|
24
|
+
name: "name"[];
|
|
25
|
+
value: "value"[];
|
|
26
|
+
type: "type"[];
|
|
27
|
+
formaction: "formAction"[];
|
|
28
|
+
formenctype: "formEnctype"[];
|
|
29
|
+
formmethod: "formMethod"[];
|
|
30
|
+
formnovalidate: "formNoValidate"[];
|
|
31
|
+
formtarget: "formTarget"[];
|
|
32
|
+
form: never[];
|
|
33
|
+
autofocus: "autofocus"[];
|
|
34
|
+
title: "title"[];
|
|
35
|
+
popovertarget: never[];
|
|
36
|
+
popovertargetaction: "popoverTargetAction"[];
|
|
37
|
+
command: "command"[];
|
|
38
|
+
commandfor: never[];
|
|
39
|
+
};
|
|
8
40
|
constructor();
|
|
9
41
|
connectedCallback(): void;
|
|
10
42
|
static get observedAttributes(): string[];
|
|
11
43
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
12
44
|
get $tile(): Tile;
|
|
13
|
-
get $slotPrefix(): Element;
|
|
45
|
+
get $slotPrefix(): Element | null;
|
|
14
46
|
get $children(): NodeListOf<Element>;
|
|
15
47
|
get centerPrefix(): boolean;
|
|
16
48
|
set centerPrefix(value: boolean);
|
|
17
49
|
get centerContent(): boolean;
|
|
18
50
|
set centerContent(value: boolean);
|
|
19
|
-
get backgroundColor(): string;
|
|
20
|
-
set backgroundColor(value: string);
|
|
51
|
+
get backgroundColor(): string | null;
|
|
52
|
+
set backgroundColor(value: string | null);
|
|
21
53
|
get inverted(): boolean;
|
|
22
54
|
set inverted(value: boolean);
|
|
55
|
+
/** @attr {boolean} disabled - Whether the native control is disabled. */
|
|
23
56
|
get disabled(): boolean;
|
|
24
57
|
set disabled(value: boolean);
|
|
58
|
+
get visual(): string | null;
|
|
59
|
+
set visual(value: string | null);
|
|
60
|
+
/** @attr {string} name - The native element name. */
|
|
61
|
+
name: string;
|
|
62
|
+
/** @attr {string} value - The initial native value; use value for live state. */
|
|
63
|
+
value: string;
|
|
64
|
+
/** @attr {"submit" | "reset" | "button"} type - The native element type. */
|
|
65
|
+
type: 'submit' | 'reset' | 'button';
|
|
66
|
+
/** @attr {string} formaction - The submission URL override. */
|
|
67
|
+
formAction: string;
|
|
68
|
+
/** @attr {string} formenctype - The submission encoding override. */
|
|
69
|
+
formEnctype: string;
|
|
70
|
+
/** @attr {string} formmethod - The submission method override. */
|
|
71
|
+
formMethod: string;
|
|
72
|
+
/** @attr {boolean} formnovalidate - Whether submission bypasses validation. */
|
|
73
|
+
formNoValidate: boolean;
|
|
74
|
+
/** @attr {string} formtarget - The submission target override. */
|
|
75
|
+
formTarget: string;
|
|
76
|
+
/** @attr {boolean} autofocus - Whether the native element requests autofocus. */
|
|
77
|
+
autofocus: boolean;
|
|
78
|
+
/** @attr {string} title - The native element tooltip. */
|
|
79
|
+
title: string;
|
|
80
|
+
/** @attr {string} popovertargetaction - The action for the target popover. */
|
|
81
|
+
popoverTargetAction: string;
|
|
82
|
+
/** @attr {string} command - The command for the target element, where supported. */
|
|
83
|
+
command: string;
|
|
84
|
+
readonly form: HTMLFormElement | null;
|
|
85
|
+
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
86
|
+
popoverTargetElement: Element | null;
|
|
87
|
+
commandForElement: Element | null;
|
|
88
|
+
readonly validity: ValidityState;
|
|
89
|
+
readonly validationMessage: string;
|
|
90
|
+
readonly willValidate: boolean;
|
|
91
|
+
readonly checkValidity: HTMLButtonElement['checkValidity'];
|
|
92
|
+
readonly reportValidity: HTMLButtonElement['reportValidity'];
|
|
93
|
+
readonly setCustomValidity: HTMLButtonElement['setCustomValidity'];
|
|
25
94
|
}
|
package/dist/TileCheckbox.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import '@proximus/lavender-layout';
|
|
|
3
3
|
import { Tile } from './Tile';
|
|
4
4
|
import { type Checkbox } from '@proximus/lavender-checkbox';
|
|
5
5
|
export declare class TileCheckbox extends WithExtraAttributes {
|
|
6
|
+
protected static readonly template: HTMLTemplateElement;
|
|
6
7
|
protected internals: ElementInternals;
|
|
7
|
-
protected template(): string;
|
|
8
8
|
constructor();
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
static get observedAttributes(): string[];
|
|
@@ -13,27 +13,27 @@ export declare class TileCheckbox extends WithExtraAttributes {
|
|
|
13
13
|
handleCheckedAttributeChange(newValue: string): void;
|
|
14
14
|
static get formAssociated(): boolean;
|
|
15
15
|
formResetCallback(): void;
|
|
16
|
-
formStateRestoreCallback(state:
|
|
16
|
+
formStateRestoreCallback(state: boolean): void;
|
|
17
17
|
formData(): FormData;
|
|
18
18
|
get $tile(): Tile;
|
|
19
19
|
get $el(): HTMLElement;
|
|
20
20
|
get $checkbox(): Checkbox;
|
|
21
|
-
get $slotPrefix(): Element;
|
|
21
|
+
get $slotPrefix(): Element | null;
|
|
22
22
|
get $children(): NodeListOf<Element>;
|
|
23
|
-
get
|
|
24
|
-
set
|
|
25
|
-
get
|
|
26
|
-
set
|
|
23
|
+
get backgroundColor(): string | null;
|
|
24
|
+
set backgroundColor(value: string | null);
|
|
25
|
+
get visual(): string | null;
|
|
26
|
+
set visual(value: string | null);
|
|
27
27
|
get inverted(): boolean;
|
|
28
28
|
set inverted(value: boolean);
|
|
29
29
|
get checked(): boolean;
|
|
30
30
|
set checked(value: boolean);
|
|
31
|
-
get name(): string;
|
|
32
|
-
set name(value: string);
|
|
33
|
-
get state(): string;
|
|
34
|
-
set state(value: string);
|
|
31
|
+
get name(): string | null;
|
|
32
|
+
set name(value: string | null);
|
|
33
|
+
get state(): string | null;
|
|
34
|
+
set state(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
39
|
}
|
package/dist/TileLink.d.ts
CHANGED
|
@@ -2,25 +2,86 @@ import { PxElement } from '@proximus/lavender-common';
|
|
|
2
2
|
import '@proximus/lavender-layout';
|
|
3
3
|
import { Tile } from './Tile';
|
|
4
4
|
import { Icon } from '@proximus/lavender-icon';
|
|
5
|
-
export declare class TileLink extends PxElement<
|
|
5
|
+
export declare class TileLink extends PxElement<HTMLAnchorElement> {
|
|
6
|
+
protected static readonly template: HTMLTemplateElement;
|
|
6
7
|
static nativeName: string;
|
|
7
|
-
|
|
8
|
+
static nativeProperties: {
|
|
9
|
+
text: "writable";
|
|
10
|
+
shape: "writable";
|
|
11
|
+
origin: "readonly";
|
|
12
|
+
};
|
|
13
|
+
static nativeMethods: "toString"[];
|
|
14
|
+
static nativeAttributes: {
|
|
15
|
+
href: ("search" | "href" | "hash" | "host" | "hostname" | "password" | "pathname" | "port" | "protocol" | "username")[];
|
|
16
|
+
target: "target"[];
|
|
17
|
+
rel: ("rel" | "relList")[];
|
|
18
|
+
download: "download"[];
|
|
19
|
+
hreflang: "hreflang"[];
|
|
20
|
+
type: "type"[];
|
|
21
|
+
ping: "ping"[];
|
|
22
|
+
referrerpolicy: "referrerPolicy"[];
|
|
23
|
+
title: "title"[];
|
|
24
|
+
charset: "charset"[];
|
|
25
|
+
coords: "coords"[];
|
|
26
|
+
name: "name"[];
|
|
27
|
+
rev: "rev"[];
|
|
28
|
+
};
|
|
8
29
|
constructor();
|
|
9
30
|
connectedCallback(): void;
|
|
10
31
|
static get observedAttributes(): string[];
|
|
11
32
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
12
33
|
get $tile(): Tile;
|
|
13
|
-
get $slotPrefix(): Element;
|
|
34
|
+
get $slotPrefix(): Element | null;
|
|
14
35
|
get $children(): NodeListOf<Element>;
|
|
15
36
|
get $pxIcon(): Icon;
|
|
16
|
-
get
|
|
17
|
-
set
|
|
18
|
-
get
|
|
19
|
-
set
|
|
37
|
+
get backgroundColor(): string | null;
|
|
38
|
+
set backgroundColor(value: string | null);
|
|
39
|
+
get visual(): string | null;
|
|
40
|
+
set visual(value: string | null);
|
|
20
41
|
get inverted(): boolean;
|
|
21
42
|
set inverted(value: boolean);
|
|
22
43
|
get disabled(): boolean;
|
|
23
44
|
set disabled(value: boolean);
|
|
24
|
-
get targetBlankAriaLabel(): string;
|
|
25
|
-
set targetBlankAriaLabel(value: string);
|
|
45
|
+
get targetBlankAriaLabel(): string | null;
|
|
46
|
+
set targetBlankAriaLabel(value: string | null);
|
|
47
|
+
/** @attr {string} href - The destination URL; relative URLs remain relative in attributes. */
|
|
48
|
+
href: string;
|
|
49
|
+
protocol: string;
|
|
50
|
+
username: string;
|
|
51
|
+
password: string;
|
|
52
|
+
host: string;
|
|
53
|
+
hostname: string;
|
|
54
|
+
port: string;
|
|
55
|
+
pathname: string;
|
|
56
|
+
search: string;
|
|
57
|
+
hash: string;
|
|
58
|
+
/** @attr {string} target - Where to open the destination. */
|
|
59
|
+
target: string;
|
|
60
|
+
/** @attr {string} rel - The relationship to the destination. */
|
|
61
|
+
rel: string;
|
|
62
|
+
readonly relList: DOMTokenList;
|
|
63
|
+
/** @attr {string} download - The suggested download filename; an empty value is valid. */
|
|
64
|
+
download: string;
|
|
65
|
+
/** @attr {string} hreflang - The language of the destination. */
|
|
66
|
+
hreflang: string;
|
|
67
|
+
/** @attr {string} type - The native element type. */
|
|
68
|
+
type: string;
|
|
69
|
+
/** @attr {string} ping - Space-separated tracking URLs. */
|
|
70
|
+
ping: string;
|
|
71
|
+
/** @attr {string} referrerpolicy - The referrer policy. */
|
|
72
|
+
referrerPolicy: string;
|
|
73
|
+
/** @attr {string} title - The native element tooltip. */
|
|
74
|
+
title: string;
|
|
75
|
+
/** @attr {string} charset - The legacy character encoding hint. */
|
|
76
|
+
charset: string;
|
|
77
|
+
/** @attr {string} coords - The legacy image-map coordinates. */
|
|
78
|
+
coords: string;
|
|
79
|
+
/** @attr {string} name - The native element name. */
|
|
80
|
+
name: string;
|
|
81
|
+
/** @attr {string} rev - The legacy reverse link relationship. */
|
|
82
|
+
rev: string;
|
|
83
|
+
text: string;
|
|
84
|
+
shape: string;
|
|
85
|
+
readonly origin: string;
|
|
86
|
+
readonly toString: HTMLAnchorElement['toString'];
|
|
26
87
|
}
|
package/dist/TileRadio.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { Tile } from './Tile';
|
|
|
4
4
|
import { type IRadio } from '@proximus/lavender-radio-group';
|
|
5
5
|
import { type Radio } from '@proximus/lavender-radio-group';
|
|
6
6
|
export declare class TileRadio extends WithExtraAttributes implements IRadio {
|
|
7
|
+
protected static readonly template: HTMLTemplateElement;
|
|
7
8
|
protected internals: ElementInternals;
|
|
8
|
-
protected template(): string;
|
|
9
9
|
constructor();
|
|
10
10
|
connectedCallback(): void;
|
|
11
11
|
static get observedAttributes(): string[];
|
|
@@ -14,27 +14,27 @@ export declare class TileRadio extends WithExtraAttributes implements IRadio {
|
|
|
14
14
|
handleCheckedAttributeChange(newValue: string): void;
|
|
15
15
|
static get formAssociated(): boolean;
|
|
16
16
|
formResetCallback(): void;
|
|
17
|
-
formStateRestoreCallback(state:
|
|
17
|
+
formStateRestoreCallback(state: boolean): void;
|
|
18
18
|
formData(): FormData;
|
|
19
19
|
get $tile(): Tile;
|
|
20
20
|
get $el(): HTMLElement;
|
|
21
21
|
get $radio(): Radio;
|
|
22
|
-
get $slotPrefix(): Element;
|
|
22
|
+
get $slotPrefix(): Element | null;
|
|
23
23
|
get $children(): NodeListOf<Element>;
|
|
24
|
-
get
|
|
25
|
-
set
|
|
26
|
-
get
|
|
27
|
-
set
|
|
24
|
+
get backgroundColor(): string | null;
|
|
25
|
+
set backgroundColor(value: string | null);
|
|
26
|
+
get visual(): string | null;
|
|
27
|
+
set visual(value: string | null);
|
|
28
28
|
get inverted(): boolean;
|
|
29
29
|
set inverted(value: boolean);
|
|
30
30
|
get checked(): boolean;
|
|
31
31
|
set checked(value: boolean);
|
|
32
|
-
get name(): string;
|
|
33
|
-
set name(value: string);
|
|
32
|
+
get name(): string | null;
|
|
33
|
+
set name(value: string | null);
|
|
34
34
|
get state(): string;
|
|
35
35
|
set state(value: string);
|
|
36
36
|
get disabled(): boolean;
|
|
37
37
|
set disabled(value: boolean);
|
|
38
|
-
get value(): string;
|
|
39
|
-
set value(value: string);
|
|
38
|
+
get value(): string | null;
|
|
39
|
+
set value(value: string | null);
|
|
40
40
|
}
|
package/dist/TileSwitch.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import '@proximus/lavender-layout';
|
|
|
3
3
|
import { Tile } from './Tile';
|
|
4
4
|
import { type Switch } from '@proximus/lavender-switch';
|
|
5
5
|
export declare class TileSwitch extends WithExtraAttributes {
|
|
6
|
+
protected static readonly template: HTMLTemplateElement;
|
|
6
7
|
protected internals: ElementInternals;
|
|
7
|
-
protected template(): string;
|
|
8
8
|
constructor();
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
static get observedAttributes(): string[];
|
|
@@ -13,25 +13,25 @@ export declare class TileSwitch extends WithExtraAttributes {
|
|
|
13
13
|
handleCheckedAttributeChange(newValue: string): void;
|
|
14
14
|
static get formAssociated(): boolean;
|
|
15
15
|
formResetCallback(): void;
|
|
16
|
-
formStateRestoreCallback(state:
|
|
16
|
+
formStateRestoreCallback(state: boolean): void;
|
|
17
17
|
formData(): FormData;
|
|
18
18
|
get $tile(): Tile;
|
|
19
19
|
get $el(): HTMLElement;
|
|
20
20
|
get $switch(): Switch;
|
|
21
|
-
get $slotPrefix(): Element;
|
|
21
|
+
get $slotPrefix(): Element | null;
|
|
22
22
|
get $children(): NodeListOf<Element>;
|
|
23
|
-
get
|
|
24
|
-
set
|
|
25
|
-
get
|
|
26
|
-
set
|
|
23
|
+
get backgroundColor(): string | null;
|
|
24
|
+
set backgroundColor(value: string | null);
|
|
25
|
+
get visual(): string | null;
|
|
26
|
+
set visual(value: string | null);
|
|
27
27
|
get inverted(): boolean;
|
|
28
28
|
set inverted(value: boolean);
|
|
29
29
|
get checked(): boolean;
|
|
30
30
|
set checked(value: boolean);
|
|
31
|
-
get name(): string;
|
|
32
|
-
set name(value: string);
|
|
31
|
+
get name(): string | null;
|
|
32
|
+
set name(value: string | null);
|
|
33
33
|
get disabled(): boolean;
|
|
34
34
|
set disabled(value: boolean);
|
|
35
|
-
get value(): string;
|
|
36
|
-
set value(value: string);
|
|
35
|
+
get value(): string | null;
|
|
36
|
+
set value(value: string | null);
|
|
37
37
|
}
|