@proximus/lavender-cell 1.4.20-alpha.3 → 1.4.20-alpha.5
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/Cell.d.ts +1 -0
- package/dist/CellButton.d.ts +66 -1
- package/dist/CellLink.d.ts +62 -1
- package/dist/custom-elements.json +633 -10
- package/dist/index.es.js +157 -130
- package/dist/vscode.html-custom-data.json +126 -1
- package/dist/web-types.json +188 -5
- package/package.json +1 -1
package/dist/Cell.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare const radiusValues: string[];
|
|
|
6
6
|
export declare class Cell extends PxElement<HTMLDivElement> {
|
|
7
7
|
protected static readonly template: HTMLTemplateElement;
|
|
8
8
|
static nativeName: string;
|
|
9
|
+
static nativeAttributes: {};
|
|
9
10
|
constructor();
|
|
10
11
|
connectedCallback(): void;
|
|
11
12
|
static get observedAttributes(): string[];
|
package/dist/CellButton.d.ts
CHANGED
|
@@ -7,11 +7,41 @@ import { Cell } from '@proximus/lavender-cell';
|
|
|
7
7
|
* @attr {string} value - The value associated with the button's name when it's submitted with a form.
|
|
8
8
|
* @attr {string} type - The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.
|
|
9
9
|
* @attr {boolean} disabled - Whether the button is disabled.
|
|
10
|
+
* @attr {string} commandfor - The ID of the command target.
|
|
11
|
+
* @attr {string} popovertarget - The ID of the target popover.
|
|
12
|
+
* @attr {string} form - The ID of the associated form; the form property is the native form reference.
|
|
10
13
|
*/
|
|
11
14
|
export declare class CellButton extends PxElement<HTMLButtonElement> {
|
|
12
15
|
protected static readonly template: HTMLTemplateElement;
|
|
13
16
|
static nativeName: string;
|
|
14
|
-
static
|
|
17
|
+
static nativeProperties: {
|
|
18
|
+
form: "readonly";
|
|
19
|
+
labels: "readonly";
|
|
20
|
+
popoverTargetElement: "writable";
|
|
21
|
+
commandForElement: "writable";
|
|
22
|
+
validity: "readonly";
|
|
23
|
+
validationMessage: "readonly";
|
|
24
|
+
willValidate: "readonly";
|
|
25
|
+
};
|
|
26
|
+
static nativeMethods: ("checkValidity" | "reportValidity" | "setCustomValidity")[];
|
|
27
|
+
static nativeAttributes: {
|
|
28
|
+
disabled: never[];
|
|
29
|
+
name: "name"[];
|
|
30
|
+
value: "value"[];
|
|
31
|
+
type: "type"[];
|
|
32
|
+
formaction: "formAction"[];
|
|
33
|
+
formenctype: "formEnctype"[];
|
|
34
|
+
formmethod: "formMethod"[];
|
|
35
|
+
formnovalidate: "formNoValidate"[];
|
|
36
|
+
formtarget: "formTarget"[];
|
|
37
|
+
form: never[];
|
|
38
|
+
autofocus: "autofocus"[];
|
|
39
|
+
title: "title"[];
|
|
40
|
+
popovertarget: never[];
|
|
41
|
+
popovertargetaction: "popoverTargetAction"[];
|
|
42
|
+
command: "command"[];
|
|
43
|
+
commandfor: never[];
|
|
44
|
+
};
|
|
15
45
|
constructor();
|
|
16
46
|
connectedCallback(): void;
|
|
17
47
|
static get observedAttributes(): string[];
|
|
@@ -23,6 +53,7 @@ export declare class CellButton extends PxElement<HTMLButtonElement> {
|
|
|
23
53
|
set inverted(value: boolean);
|
|
24
54
|
get variant(): string | null;
|
|
25
55
|
set variant(value: string | null);
|
|
56
|
+
/** @attr {boolean} disabled - Whether the native control is disabled. */
|
|
26
57
|
get disabled(): boolean;
|
|
27
58
|
set disabled(value: boolean);
|
|
28
59
|
get separator(): string | null;
|
|
@@ -49,4 +80,38 @@ export declare class CellButton extends PxElement<HTMLButtonElement> {
|
|
|
49
80
|
set backgroundColor(value: string | null);
|
|
50
81
|
get compact(): boolean;
|
|
51
82
|
set compact(value: boolean);
|
|
83
|
+
/** @attr {string} name - The native element name. */
|
|
84
|
+
name: string;
|
|
85
|
+
/** @attr {string} value - The initial native value; use value for live state. */
|
|
86
|
+
value: string;
|
|
87
|
+
/** @attr {"submit" | "reset" | "button"} type - The native element type. */
|
|
88
|
+
type: 'submit' | 'reset' | 'button';
|
|
89
|
+
/** @attr {string} formaction - The submission URL override. */
|
|
90
|
+
formAction: string;
|
|
91
|
+
/** @attr {string} formenctype - The submission encoding override. */
|
|
92
|
+
formEnctype: string;
|
|
93
|
+
/** @attr {string} formmethod - The submission method override. */
|
|
94
|
+
formMethod: string;
|
|
95
|
+
/** @attr {boolean} formnovalidate - Whether submission bypasses validation. */
|
|
96
|
+
formNoValidate: boolean;
|
|
97
|
+
/** @attr {string} formtarget - The submission target override. */
|
|
98
|
+
formTarget: string;
|
|
99
|
+
/** @attr {boolean} autofocus - Whether the native element requests autofocus. */
|
|
100
|
+
autofocus: boolean;
|
|
101
|
+
/** @attr {string} title - The native element tooltip. */
|
|
102
|
+
title: string;
|
|
103
|
+
/** @attr {string} popovertargetaction - The action for the target popover. */
|
|
104
|
+
popoverTargetAction: string;
|
|
105
|
+
/** @attr {string} command - The command for the target element, where supported. */
|
|
106
|
+
command: string;
|
|
107
|
+
readonly form: HTMLFormElement | null;
|
|
108
|
+
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
109
|
+
popoverTargetElement: Element | null;
|
|
110
|
+
commandForElement: Element | null;
|
|
111
|
+
readonly validity: ValidityState;
|
|
112
|
+
readonly validationMessage: string;
|
|
113
|
+
readonly willValidate: boolean;
|
|
114
|
+
readonly checkValidity: HTMLButtonElement['checkValidity'];
|
|
115
|
+
readonly reportValidity: HTMLButtonElement['reportValidity'];
|
|
116
|
+
readonly setCustomValidity: HTMLButtonElement['setCustomValidity'];
|
|
52
117
|
}
|
package/dist/CellLink.d.ts
CHANGED
|
@@ -2,9 +2,30 @@ import { PxElement } from '@proximus/lavender-common';
|
|
|
2
2
|
import '@proximus/lavender-layout';
|
|
3
3
|
import { Cell } from '@proximus/lavender-cell';
|
|
4
4
|
import { Icon } from '@proximus/lavender-icon';
|
|
5
|
-
export declare class CellLink extends PxElement<
|
|
5
|
+
export declare class CellLink extends PxElement<HTMLAnchorElement> {
|
|
6
6
|
protected static readonly template: HTMLTemplateElement;
|
|
7
7
|
static nativeName: string;
|
|
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[];
|
|
@@ -45,4 +66,44 @@ export declare class CellLink extends PxElement<HTMLLinkElement> {
|
|
|
45
66
|
set backgroundColor(value: string | null);
|
|
46
67
|
get compact(): boolean;
|
|
47
68
|
set compact(value: boolean);
|
|
69
|
+
/** @attr {string} href - The destination URL; relative URLs remain relative in attributes. */
|
|
70
|
+
href: string;
|
|
71
|
+
protocol: string;
|
|
72
|
+
username: string;
|
|
73
|
+
password: string;
|
|
74
|
+
host: string;
|
|
75
|
+
hostname: string;
|
|
76
|
+
port: string;
|
|
77
|
+
pathname: string;
|
|
78
|
+
search: string;
|
|
79
|
+
hash: string;
|
|
80
|
+
/** @attr {string} target - Where to open the destination. */
|
|
81
|
+
target: string;
|
|
82
|
+
/** @attr {string} rel - The relationship to the destination. */
|
|
83
|
+
rel: string;
|
|
84
|
+
readonly relList: DOMTokenList;
|
|
85
|
+
/** @attr {string} download - The suggested download filename; an empty value is valid. */
|
|
86
|
+
download: string;
|
|
87
|
+
/** @attr {string} hreflang - The language of the destination. */
|
|
88
|
+
hreflang: string;
|
|
89
|
+
/** @attr {string} type - The native element type. */
|
|
90
|
+
type: string;
|
|
91
|
+
/** @attr {string} ping - Space-separated tracking URLs. */
|
|
92
|
+
ping: string;
|
|
93
|
+
/** @attr {string} referrerpolicy - The referrer policy. */
|
|
94
|
+
referrerPolicy: string;
|
|
95
|
+
/** @attr {string} title - The native element tooltip. */
|
|
96
|
+
title: string;
|
|
97
|
+
/** @attr {string} charset - The legacy character encoding hint. */
|
|
98
|
+
charset: string;
|
|
99
|
+
/** @attr {string} coords - The legacy image-map coordinates. */
|
|
100
|
+
coords: string;
|
|
101
|
+
/** @attr {string} name - The native element name. */
|
|
102
|
+
name: string;
|
|
103
|
+
/** @attr {string} rev - The legacy reverse link relationship. */
|
|
104
|
+
rev: string;
|
|
105
|
+
text: string;
|
|
106
|
+
shape: string;
|
|
107
|
+
readonly origin: string;
|
|
108
|
+
readonly toString: HTMLAnchorElement['toString'];
|
|
48
109
|
}
|