@proximus/lavender-tile 2.0.0-alpha.228 → 2.0.0-alpha.229

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 CHANGED
@@ -4,6 +4,7 @@ export declare const tileBackgroundColorValues: string[];
4
4
  export declare class Tile extends VerticallyExtendedElement<HTMLDivElement> {
5
5
  protected static readonly template: HTMLTemplateElement;
6
6
  static nativeName: string;
7
+ static nativeAttributes: {};
7
8
  constructor();
8
9
  connectedCallback(): void;
9
10
  static get observedAttributes(): string[];
@@ -1,10 +1,42 @@
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> {
5
10
  protected static readonly template: HTMLTemplateElement;
6
11
  static nativeName: string;
7
- static accessorExclusions: string[];
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[];
@@ -20,8 +52,43 @@ export declare class TileButton extends PxElement<HTMLButtonElement> {
20
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);
25
58
  get visual(): string | null;
26
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'];
27
94
  }
@@ -2,9 +2,30 @@ 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<HTMLLinkElement> {
5
+ export declare class TileLink 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[];
@@ -23,4 +44,44 @@ export declare class TileLink extends PxElement<HTMLLinkElement> {
23
44
  set disabled(value: boolean);
24
45
  get targetBlankAriaLabel(): string | null;
25
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
  }