@rijkshuisstijl-community/web-components 1.0.1-alpha.5 → 1.0.1-alpha.50

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 CHANGED
@@ -1,11 +1,22 @@
1
1
  import { AccordionProviderProps } from '@rijkshuisstijl-community/components-react';
2
2
  import { ActionGroupProps } from '@rijkshuisstijl-community/components-react';
3
- import { default as default_2 } from 'react-dom/client';
3
+ import { AlertProps } from '@rijkshuisstijl-community/components-react';
4
+ import { ArticleProps } from '@rijkshuisstijl-community/components-react';
5
+ import { BlockquoteProps } from '@rijkshuisstijl-community/components-react';
6
+ import { BreadcrumbNavLinkProps } from '@rijkshuisstijl-community/components-react';
7
+ import { BreadcrumbNavProps } from '@rijkshuisstijl-community/components-react';
8
+ import { BreadcrumbNavSeparatorProps } from '@rijkshuisstijl-community/components-react';
9
+ import { ButtonProps } from '@rijkshuisstijl-community/components-react';
10
+ import { CardProps } from '@rijkshuisstijl-community/components-react';
11
+ import { CheckboxGroupProps } from '@rijkshuisstijl-community/components-react';
12
+ import { CheckboxProps } from '@rijkshuisstijl-community/components-react';
13
+ import { FormFieldCheckboxOptionProps } from '@rijkshuisstijl-community/components-react';
4
14
  import { HeroProps } from '@rijkshuisstijl-community/components-react';
15
+ import { IconProps } from '@rijkshuisstijl-community/components-react';
16
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
5
17
 
6
18
  export declare class AccordionWebComponent extends BaseWebComponent {
7
- static tagName: string;
8
- static observedAttributes: string[];
19
+ static readonly tagName: string;
9
20
  constructor();
10
21
  render(): void;
11
22
  }
@@ -14,18 +25,37 @@ export declare type AccordionWebComponentAttributes = AccordionProviderProps;
14
25
 
15
26
  export declare class ActionGroupWebComponent extends BaseWebComponent {
16
27
  static tagName: string;
17
- static observedAttributes: string[];
18
28
  constructor();
19
29
  render(): void;
20
30
  }
21
31
 
22
32
  export declare type ActionGroupWebComponentAttributes = ActionGroupProps;
23
33
 
34
+ export declare class AlertWebComponent extends BaseWebComponent {
35
+ static readonly tagName: string;
36
+ constructor();
37
+ render(): void;
38
+ }
39
+
40
+ export declare type AlertWebComponentAttributes = AlertProps;
41
+
42
+ export declare class ArticleWebComponent extends BaseWebComponent {
43
+ static readonly tagName: string;
44
+ constructor();
45
+ render(): void;
46
+ }
47
+
48
+ export declare type ArticleWebComponentAttributes = ArticleProps;
49
+
24
50
  declare abstract class BaseWebComponent extends HTMLElement {
25
- protected root: default_2.Root;
51
+ shadowRoot: ShadowRoot;
52
+ protected props: {
53
+ [key: string]: any;
54
+ };
55
+ private readonly _observer;
26
56
  static get tagName(): string;
27
- static observedAttributes: string[];
28
57
  constructor(stylesheet: string);
58
+ setupProps(): void;
29
59
  connectedCallback(): void;
30
60
  attributeChangedCallback(): void;
31
61
  disconnectedCallback(): void;
@@ -33,13 +63,90 @@ declare abstract class BaseWebComponent extends HTMLElement {
33
63
  static define(): void;
34
64
  }
35
65
 
66
+ export declare class BlockquoteWebComponent extends BaseWebComponent {
67
+ static readonly tagName: string;
68
+ constructor();
69
+ render(): void;
70
+ }
71
+
72
+ export declare type BlockquoteWebComponentAttributes = BlockquoteProps;
73
+
74
+ declare interface BreadCrumbNavElement {
75
+ [key: string]: string;
76
+ }
77
+
78
+ export declare type BreadcrumbNavLinkWebComponentAttributes = BreadcrumbNavLinkProps;
79
+
80
+ export declare type BreadcrumbNavSeparatorWebComponentAttributes = BreadcrumbNavSeparatorProps;
81
+
82
+ export declare class BreadcrumbNavWebComponent extends BaseWebComponent {
83
+ static readonly tagName: string;
84
+ private readonly allowedTypes;
85
+ constructor();
86
+ BreadcrumbNavLink({ active, classname, current, href, text, ...restProps }: BreadCrumbNavElement): JSX_2.Element;
87
+ BreadcrumbNavSeparator({ icon, ...restProps }: BreadCrumbNavElement): JSX_2.Element;
88
+ render(): void;
89
+ }
90
+
91
+ export declare type BreadcrumbNavWebComponentAttributes = BreadcrumbNavProps;
92
+
93
+ export declare class ButtonWebComponent extends BaseWebComponent {
94
+ static readonly tagName: string;
95
+ constructor();
96
+ render(): void;
97
+ }
98
+
99
+ export declare type ButtonWebComponentAttributes = ButtonProps;
100
+
101
+ export declare class CardWebComponent extends BaseWebComponent {
102
+ static readonly tagName: string;
103
+ constructor();
104
+ Button({ appearance, disabled, text, ...restProps }: {
105
+ [key: string]: string;
106
+ }): JSX_2.Element;
107
+ render(): void;
108
+ }
109
+
110
+ export declare type CardWebComponentAttributes = CardProps;
111
+
112
+ export declare class CheckboxGroupWebComponent extends BaseWebComponent {
113
+ static readonly tagName: string;
114
+ constructor();
115
+ render(): void;
116
+ }
117
+
118
+ export declare type CheckboxGroupWebComponentAttributes = CheckboxGroupProps;
119
+
120
+ export declare class CheckboxWebComponent extends BaseWebComponent {
121
+ static readonly tagName: string;
122
+ constructor();
123
+ render(): void;
124
+ }
125
+
126
+ export declare type CheckboxWebComponentAttributes = CheckboxProps;
127
+
128
+ export declare type FormFieldCheckboxOptionAttributes = FormFieldCheckboxOptionProps;
129
+
130
+ export declare class FormFieldCheckboxOptionWebComponent extends BaseWebComponent {
131
+ static readonly tagName: string;
132
+ constructor();
133
+ render(): void;
134
+ }
135
+
36
136
  export declare class HeroWebComponent extends BaseWebComponent {
37
- static tagName: string;
38
- static observedAttributes: string[];
137
+ static readonly tagName: string;
39
138
  constructor();
40
139
  render(): void;
41
140
  }
42
141
 
43
142
  export declare type HeroWebComponentAttributes = HeroProps;
44
143
 
144
+ export declare class IconWebComponent extends BaseWebComponent {
145
+ static readonly tagName: string;
146
+ constructor();
147
+ render(): void;
148
+ }
149
+
150
+ export declare type IconWebComponentAttributes = IconProps;
151
+
45
152
  export { }