@rijkshuisstijl-community/web-components 1.0.1 → 1.1.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 +28 -0
- package/dist/index.mjs +980 -976
- package/package.json +6 -8
- package/dist/types/css.d.ts +0 -4
- package/dist/types/global.d.ts +0 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/web-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.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",
|
|
@@ -26,26 +26,24 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@preact/preset-vite": "2.10.1",
|
|
29
|
-
"@types/react": "19.0.
|
|
29
|
+
"@types/react": "19.0.10",
|
|
30
30
|
"@vitejs/plugin-react": "4.3.4",
|
|
31
|
-
"cpy-cli": "5.0.0",
|
|
32
31
|
"html-react-parser": "5.2.2",
|
|
33
32
|
"rimraf": "6.0.1",
|
|
34
33
|
"tslib": "2.8.1",
|
|
35
34
|
"typescript": "5.7.3",
|
|
36
|
-
"vite": "6.
|
|
35
|
+
"vite": "6.2.0",
|
|
37
36
|
"vite-plugin-dts": "4.5.0",
|
|
38
|
-
"@rijkshuisstijl-community/components-css": "1.0.
|
|
39
|
-
"@rijkshuisstijl-community/components-react": "1.0.
|
|
37
|
+
"@rijkshuisstijl-community/components-css": "1.0.1",
|
|
38
|
+
"@rijkshuisstijl-community/components-react": "1.0.1",
|
|
40
39
|
"@rijkshuisstijl-community/design-tokens": "1.0.0"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"preact": "10.
|
|
42
|
+
"preact": "10.26.3"
|
|
44
43
|
},
|
|
45
44
|
"scripts": {
|
|
46
45
|
"prebuild": "npm run clean",
|
|
47
46
|
"build": "vite build",
|
|
48
|
-
"postbuild": "cpy 'types/*.d.ts' dist/types/",
|
|
49
47
|
"clean": "rimraf dist/",
|
|
50
48
|
"start": "vite"
|
|
51
49
|
}
|
package/dist/types/css.d.ts
DELETED
package/dist/types/global.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-unused-vars */
|
|
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';
|
|
27
|
-
|
|
28
|
-
declare global {
|
|
29
|
-
namespace JSX {
|
|
30
|
-
interface IntrinsicElements {
|
|
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;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|