@rijkshuisstijl-community/web-components 1.0.1-alpha.9 → 1.0.1
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 +170 -10
- package/dist/index.mjs +5694 -48519
- package/dist/types/global.d.ts +51 -5
- package/package.json +18 -19
- package/dist/index.css +0 -22
- package/dist/index.mjs.map +0 -1
package/dist/types/global.d.ts
CHANGED
|
@@ -1,13 +1,59 @@
|
|
|
1
1
|
/* eslint-disable no-unused-vars */
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
3
|
+
import {
|
|
4
|
+
AccordionWebComponentAttributes,
|
|
5
|
+
ActionGroupWebComponentAttributes,
|
|
6
|
+
AlertWebComponentAttributes,
|
|
7
|
+
ArticleWebComponentAttributes,
|
|
8
|
+
BlockquoteWebComponentAttributes,
|
|
9
|
+
BreadcrumbNavLinkWebComponentAttributes,
|
|
10
|
+
BreadcrumbNavSeparatorWebComponentAttributes,
|
|
11
|
+
BreadcrumbNavWebComponentAttributes,
|
|
12
|
+
ButtonWebComponentAttributes,
|
|
13
|
+
CardWebComponentAttributes,
|
|
14
|
+
CheckboxGroupWebComponentAttributes,
|
|
15
|
+
CheckboxWebComponentAttributes,
|
|
16
|
+
FormFieldCheckboxGroupAttributes,
|
|
17
|
+
FormFieldCheckboxOptionAttributes,
|
|
18
|
+
FormFieldRadioAttributes,
|
|
19
|
+
FormFieldRadioGroupAttributes,
|
|
20
|
+
FormFieldSelectAttributes,
|
|
21
|
+
FormFieldTextareaAttributes,
|
|
22
|
+
FormFieldTextInputAttributes,
|
|
23
|
+
HeroWebComponentAttributes,
|
|
24
|
+
IconWebComponentAttributes,
|
|
25
|
+
LinkWebComponentAttributes,
|
|
26
|
+
} from '../src';
|
|
4
27
|
|
|
5
28
|
declare global {
|
|
6
29
|
namespace JSX {
|
|
7
30
|
interface IntrinsicElements {
|
|
8
|
-
'rhc-
|
|
9
|
-
'rhc-
|
|
10
|
-
|
|
31
|
+
'rhc-accordion': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & AccordionWebComponentAttributes;
|
|
32
|
+
'rhc-action-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
33
|
+
ActionGroupWebComponentAttributes;
|
|
34
|
+
'rhc-alert': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & AlertWebComponentAttributes;
|
|
35
|
+
'rhc-article': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & ArticleWebComponentAttributes;
|
|
36
|
+
'rhc-blockquote': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & BlockquoteWebComponentAttributes;
|
|
37
|
+
'rhc-breadcrumb-nav': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
38
|
+
BreadcrumbNavWebComponentAttributes;
|
|
39
|
+
'rhc-button': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & ButtonWebComponentAttributes;
|
|
40
|
+
'rhc-card': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & CardWebComponentAttributes;
|
|
41
|
+
'rhc-checkbox-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
42
|
+
CheckboxGroupWebComponentAttributes;
|
|
43
|
+
'rhc-checkbox': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & CheckboxWebComponentAttributes;
|
|
44
|
+
'rhc-form-checkbox-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
45
|
+
FormFieldCheckboxGroupAttributes;
|
|
46
|
+
'rhc-form-checkbox': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
47
|
+
FormFieldCheckboxOptionAttributes;
|
|
48
|
+
'rhc-form-radio': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldRadioAttributes;
|
|
49
|
+
'rhc-form-radio-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
50
|
+
FormFieldRadioGroupAttributes;
|
|
51
|
+
'rhc-form-select': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldSelectAttributes;
|
|
52
|
+
'rhc-form-textinput': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldTextInputAttributes;
|
|
53
|
+
'rhc-form-textarea': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldTextareaAttributes;
|
|
54
|
+
'rhc-hero': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & HeroWebComponentAttributes;
|
|
55
|
+
'rhc-icon': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & IconWebComponentAttributes;
|
|
56
|
+
'rhc-link': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & LinkWebComponentAttributes;
|
|
11
57
|
}
|
|
12
58
|
}
|
|
13
59
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/web-components",
|
|
3
|
-
"version": "1.0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"author": "Community for NL Design System",
|
|
5
5
|
"description": "Generic web components bundle based on the NL Design System architecture",
|
|
6
6
|
"license": "EUPL-1.2",
|
|
@@ -24,30 +24,29 @@
|
|
|
24
24
|
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git",
|
|
25
25
|
"directory": "packages/web-components"
|
|
26
26
|
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"prebuild": "npm run clean",
|
|
29
|
-
"build": "vite build",
|
|
30
|
-
"clean": "rimraf dist/",
|
|
31
|
-
"start": "vite"
|
|
32
|
-
},
|
|
33
27
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@rijkshuisstijl-community/design-tokens": "1.0.0-alpha.125",
|
|
37
|
-
"@types/react": "19.0.7",
|
|
38
|
-
"@types/react-dom": "19.0.3",
|
|
39
|
-
"@utrecht/component-library-css": "7.0.0",
|
|
28
|
+
"@preact/preset-vite": "2.10.1",
|
|
29
|
+
"@types/react": "19.0.8",
|
|
40
30
|
"@vitejs/plugin-react": "4.3.4",
|
|
31
|
+
"cpy-cli": "5.0.0",
|
|
32
|
+
"html-react-parser": "5.2.2",
|
|
41
33
|
"rimraf": "6.0.1",
|
|
42
34
|
"tslib": "2.8.1",
|
|
43
35
|
"typescript": "5.7.3",
|
|
44
|
-
"vite": "6.0
|
|
36
|
+
"vite": "6.1.0",
|
|
45
37
|
"vite-plugin-dts": "4.5.0",
|
|
46
|
-
"
|
|
38
|
+
"@rijkshuisstijl-community/components-css": "1.0.0",
|
|
39
|
+
"@rijkshuisstijl-community/components-react": "1.0.0",
|
|
40
|
+
"@rijkshuisstijl-community/design-tokens": "1.0.0"
|
|
47
41
|
},
|
|
48
42
|
"dependencies": {
|
|
49
|
-
"
|
|
50
|
-
"react-dom": "19.0.0"
|
|
43
|
+
"preact": "10.25.4"
|
|
51
44
|
},
|
|
52
|
-
"
|
|
53
|
-
|
|
45
|
+
"scripts": {
|
|
46
|
+
"prebuild": "npm run clean",
|
|
47
|
+
"build": "vite build",
|
|
48
|
+
"postbuild": "cpy 'types/*.d.ts' dist/types/",
|
|
49
|
+
"clean": "rimraf dist/",
|
|
50
|
+
"start": "vite"
|
|
51
|
+
}
|
|
52
|
+
}
|