@rijkshuisstijl-community/web-components 1.0.1-alpha.34 → 1.0.1-alpha.35

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +3 -13
  2. package/dist/index.mjs +1835 -1856
  3. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -6,9 +6,7 @@ import { HeroProps } from '@rijkshuisstijl-community/components-react';
6
6
 
7
7
  export declare class AccordionWebComponent extends BaseWebComponent {
8
8
  static readonly tagName: string;
9
- static readonly observedAttributes: string[];
10
9
  constructor();
11
- setupRestProps(): void;
12
10
  render(): void;
13
11
  }
14
12
 
@@ -16,9 +14,7 @@ export declare type AccordionWebComponentAttributes = AccordionProviderProps;
16
14
 
17
15
  export declare class ActionGroupWebComponent extends BaseWebComponent {
18
16
  static tagName: string;
19
- static observedAttributes: string[];
20
17
  constructor();
21
- setupRestProps(): void;
22
18
  render(): void;
23
19
  }
24
20
 
@@ -26,9 +22,7 @@ export declare type ActionGroupWebComponentAttributes = ActionGroupProps;
26
22
 
27
23
  export declare class AlertWebComponent extends BaseWebComponent {
28
24
  static readonly tagName: string;
29
- static readonly observedAttributes: string[];
30
25
  constructor();
31
- setupRestProps(): void;
32
26
  render(): void;
33
27
  }
34
28
 
@@ -37,13 +31,13 @@ export declare type AlertWebComponentAttributes = AlertProps;
37
31
  declare abstract class BaseWebComponent extends HTMLElement {
38
32
  protected root: HTMLElement | undefined;
39
33
  shadowRoot: ShadowRoot;
40
- protected restProps: {
34
+ protected props: {
41
35
  [key: string]: any;
42
36
  };
37
+ private readonly _observer;
43
38
  static get tagName(): string;
44
- static observedAttributes: string[];
45
39
  constructor(stylesheet: string);
46
- setupRestProps(): void;
40
+ setupProps(): void;
47
41
  connectedCallback(): void;
48
42
  attributeChangedCallback(): void;
49
43
  disconnectedCallback(): void;
@@ -53,9 +47,7 @@ declare abstract class BaseWebComponent extends HTMLElement {
53
47
 
54
48
  export declare class ButtonWebComponent extends BaseWebComponent {
55
49
  static readonly tagName: string;
56
- static readonly observedAttributes: string[];
57
50
  constructor();
58
- setupRestProps(): void;
59
51
  render(): void;
60
52
  }
61
53
 
@@ -63,9 +55,7 @@ export declare type ButtonWebComponentAttributes = ButtonProps;
63
55
 
64
56
  export declare class HeroWebComponent extends BaseWebComponent {
65
57
  static readonly tagName: string;
66
- static readonly observedAttributes: string[];
67
58
  constructor();
68
- setupRestProps(): void;
69
59
  render(): void;
70
60
  }
71
61