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