@rijkshuisstijl-community/web-components 1.0.1-alpha.4 → 1.0.1-alpha.40

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,21 +1,57 @@
1
1
  import { AccordionProviderProps } from '@rijkshuisstijl-community/components-react';
2
- import { default as default_2 } from 'react-dom/client';
2
+ import { ActionGroupProps } from '@rijkshuisstijl-community/components-react';
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';
3
10
  import { HeroProps } from '@rijkshuisstijl-community/components-react';
11
+ import { IconProps } from '@rijkshuisstijl-community/components-react';
12
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
4
13
 
5
14
  export declare class AccordionWebComponent extends BaseWebComponent {
6
- static tagName: string;
7
- static observedAttributes: string[];
15
+ static readonly tagName: string;
8
16
  constructor();
9
17
  render(): void;
10
18
  }
11
19
 
12
20
  export declare type AccordionWebComponentAttributes = AccordionProviderProps;
13
21
 
22
+ export declare class ActionGroupWebComponent extends BaseWebComponent {
23
+ static tagName: string;
24
+ constructor();
25
+ render(): void;
26
+ }
27
+
28
+ export declare type ActionGroupWebComponentAttributes = ActionGroupProps;
29
+
30
+ export declare class AlertWebComponent extends BaseWebComponent {
31
+ static readonly tagName: string;
32
+ constructor();
33
+ render(): void;
34
+ }
35
+
36
+ export declare type AlertWebComponentAttributes = AlertProps;
37
+
38
+ export declare class ArticleWebComponent extends BaseWebComponent {
39
+ static readonly tagName: string;
40
+ constructor();
41
+ render(): void;
42
+ }
43
+
44
+ export declare type ArticleWebComponentAttributes = ArticleProps;
45
+
14
46
  declare abstract class BaseWebComponent extends HTMLElement {
15
- protected root: default_2.Root;
47
+ shadowRoot: ShadowRoot;
48
+ protected props: {
49
+ [key: string]: any;
50
+ };
51
+ private readonly _observer;
16
52
  static get tagName(): string;
17
- static observedAttributes: string[];
18
53
  constructor(stylesheet: string);
54
+ setupProps(): void;
19
55
  connectedCallback(): void;
20
56
  attributeChangedCallback(): void;
21
57
  disconnectedCallback(): void;
@@ -23,13 +59,55 @@ declare abstract class BaseWebComponent extends HTMLElement {
23
59
  static define(): void;
24
60
  }
25
61
 
62
+ export declare class BlockquoteWebComponent extends BaseWebComponent {
63
+ static readonly tagName: string;
64
+ constructor();
65
+ render(): void;
66
+ }
67
+
68
+ export declare type BlockquoteWebComponentAttributes = BlockquoteProps;
69
+
70
+ declare interface BreadCrumbNavElement {
71
+ [key: string]: string;
72
+ }
73
+
74
+ export declare type BreadcrumbNavLinkWebComponentAttributes = BreadcrumbNavLinkProps;
75
+
76
+ export declare type BreadcrumbNavSeparatorWebComponentAttributes = BreadcrumbNavSeparatorProps;
77
+
78
+ export declare class BreadcrumbNavWebComponent extends BaseWebComponent {
79
+ static readonly tagName: string;
80
+ private readonly allowedTypes;
81
+ constructor();
82
+ BreadcrumbNavLink({ active, classname, current, href, text, ...restProps }: BreadCrumbNavElement): JSX_2.Element;
83
+ BreadcrumbNavSeparator({ icon, ...restProps }: BreadCrumbNavElement): JSX_2.Element;
84
+ render(): void;
85
+ }
86
+
87
+ export declare type BreadcrumbNavWebComponentAttributes = BreadcrumbNavProps;
88
+
89
+ export declare class ButtonWebComponent extends BaseWebComponent {
90
+ static readonly tagName: string;
91
+ constructor();
92
+ render(): void;
93
+ }
94
+
95
+ export declare type ButtonWebComponentAttributes = ButtonProps;
96
+
26
97
  export declare class HeroWebComponent extends BaseWebComponent {
27
- static tagName: string;
28
- static observedAttributes: string[];
98
+ static readonly tagName: string;
29
99
  constructor();
30
100
  render(): void;
31
101
  }
32
102
 
33
103
  export declare type HeroWebComponentAttributes = HeroProps;
34
104
 
105
+ export declare class IconWebComponent extends BaseWebComponent {
106
+ static readonly tagName: string;
107
+ constructor();
108
+ render(): void;
109
+ }
110
+
111
+ export declare type IconWebComponentAttributes = IconProps;
112
+
35
113
  export { }