@rijkshuisstijl-community/web-components 1.0.1-alpha.5 → 1.0.1-alpha.51
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 +169 -8
- package/dist/index.mjs +5679 -48503
- package/dist/types/global.d.ts +49 -5
- package/package.json +13 -13
- package/dist/index.css +0 -22
- package/dist/index.mjs.map +0 -1
package/dist/types/global.d.ts
CHANGED
|
@@ -1,13 +1,57 @@
|
|
|
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
|
+
} from '../src';
|
|
4
26
|
|
|
5
27
|
declare global {
|
|
6
28
|
namespace JSX {
|
|
7
29
|
interface IntrinsicElements {
|
|
8
|
-
'rhc-
|
|
9
|
-
'rhc-
|
|
10
|
-
|
|
30
|
+
'rhc-accordion': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & AccordionWebComponentAttributes;
|
|
31
|
+
'rhc-action-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
32
|
+
ActionGroupWebComponentAttributes;
|
|
33
|
+
'rhc-alert': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & AlertWebComponentAttributes;
|
|
34
|
+
'rhc-article': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & ArticleWebComponentAttributes;
|
|
35
|
+
'rhc-blockquote': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & BlockquoteWebComponentAttributes;
|
|
36
|
+
'rhc-breadcrumb-nav': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
37
|
+
BreadcrumbNavWebComponentAttributes;
|
|
38
|
+
'rhc-button': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & ButtonWebComponentAttributes;
|
|
39
|
+
'rhc-card': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & CardWebComponentAttributes;
|
|
40
|
+
'rhc-checkbox-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
41
|
+
CheckboxGroupWebComponentAttributes;
|
|
42
|
+
'rhc-checkbox': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & CheckboxWebComponentAttributes;
|
|
43
|
+
'rhc-form-checkbox-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
44
|
+
FormFieldCheckboxGroupAttributes;
|
|
45
|
+
'rhc-form-checkbox': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
46
|
+
FormFieldCheckboxOptionAttributes;
|
|
47
|
+
'rhc-form-radio': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldRadioAttributes;
|
|
48
|
+
'rhc-form-radio-group': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> &
|
|
49
|
+
FormFieldRadioGroupAttributes;
|
|
50
|
+
'rhc-form-select': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldSelectAttributes;
|
|
51
|
+
'rhc-form-textinput': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldTextInputAttributes;
|
|
52
|
+
'rhc-form-textarea': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & FormFieldTextareaAttributes;
|
|
53
|
+
'rhc-hero': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & HeroWebComponentAttributes;
|
|
54
|
+
'rhc-icon': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & IconWebComponentAttributes;
|
|
11
55
|
}
|
|
12
56
|
}
|
|
13
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/web-components",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.51",
|
|
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",
|
|
@@ -27,27 +27,27 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"prebuild": "npm run clean",
|
|
29
29
|
"build": "vite build",
|
|
30
|
+
"postbuild": "cpy 'types/*.d.ts' dist/types/",
|
|
30
31
|
"clean": "rimraf dist/",
|
|
31
32
|
"start": "vite"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@rijkshuisstijl-community/components-
|
|
36
|
-
"@rijkshuisstijl-community/
|
|
37
|
-
"@
|
|
38
|
-
"@types/react
|
|
39
|
-
"@utrecht/component-library-css": "7.0.0",
|
|
35
|
+
"@preact/preset-vite": "2.10.1",
|
|
36
|
+
"@rijkshuisstijl-community/components-css": "1.0.0-alpha.166",
|
|
37
|
+
"@rijkshuisstijl-community/components-react": "1.0.0-alpha.142",
|
|
38
|
+
"@rijkshuisstijl-community/design-tokens": "1.0.0-alpha.167",
|
|
39
|
+
"@types/react": "19.0.8",
|
|
40
40
|
"@vitejs/plugin-react": "4.3.4",
|
|
41
|
+
"cpy-cli": "5.0.0",
|
|
42
|
+
"html-react-parser": "5.2.2",
|
|
41
43
|
"rimraf": "6.0.1",
|
|
42
44
|
"tslib": "2.8.1",
|
|
43
45
|
"typescript": "5.7.3",
|
|
44
|
-
"vite": "6.0
|
|
45
|
-
"vite-plugin-dts": "4.5.0"
|
|
46
|
-
"vite-plugin-static-copy": "2.2.0"
|
|
46
|
+
"vite": "6.1.0",
|
|
47
|
+
"vite-plugin-dts": "4.5.0"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"
|
|
50
|
-
"react-dom": "19.0.0"
|
|
50
|
+
"preact": "10.25.4"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "74afde73002994f77e854f8dc4415e30890ba665"
|
|
53
53
|
}
|