@raspberrypifoundation/design-system-react 2.2.0-beta.5 → 2.2.0-beta.7
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/CHANGELOG.md +0 -6
- package/dist/{rpf-design-system-react.css → design-system-react.css} +1 -1
- package/dist/rpf-design-system-react.cjs +24 -0
- package/dist/rpf-design-system-react.esm.js +1360 -0
- package/package.json +37 -37
- package/dist/rpf-design-system-react.js +0 -2740
- package/dist/rpf-design-system-react.umd.cjs +0 -35
- package/dist/types/components/Accordion/index.d.ts +0 -16
- package/dist/types/components/Alert/index.d.ts +0 -24
- package/dist/types/components/Button/index.d.ts +0 -36
- package/dist/types/components/Form/CheckboxInput/index.d.ts +0 -26
- package/dist/types/components/Form/Fieldset/index.d.ts +0 -20
- package/dist/types/components/Form/InputField/index.d.ts +0 -20
- package/dist/types/components/Form/InputLabel/index.d.ts +0 -16
- package/dist/types/components/Form/RadioInput/index.d.ts +0 -24
- package/dist/types/components/Form/SearchInput/index.d.ts +0 -26
- package/dist/types/components/Form/SelectInput/index.d.ts +0 -30
- package/dist/types/components/Form/TextInput/index.d.ts +0 -26
- package/dist/types/components/Form/TextareaInput/index.d.ts +0 -28
- package/dist/types/components/ProgressBar/index.d.ts +0 -12
- package/dist/types/components/Table/BodyCell/index.d.ts +0 -10
- package/dist/types/components/Table/HeaderCell/index.d.ts +0 -12
- package/dist/types/components/Table/Table/index.d.ts +0 -14
- package/dist/types/components/Tag/index.d.ts +0 -18
- package/dist/types/index.d.ts +0 -17
package/package.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raspberrypifoundation/design-system-react",
|
|
3
|
-
"version": "2.2.0-beta.
|
|
3
|
+
"version": "2.2.0-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./dist/rpf-design-system-react.
|
|
6
|
-
"module": "./dist/rpf-design-system-react.js",
|
|
5
|
+
"main": "./dist/rpf-design-system-react.cjs",
|
|
6
|
+
"module": "./dist/rpf-design-system-react.esm.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
|
-
"
|
|
10
|
+
"sideEffects": false,
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"require": "./dist/rpf-design-system-react.cjs",
|
|
14
|
+
"import": "./dist/rpf-design-system-react.esm.js"
|
|
15
15
|
},
|
|
16
|
-
"./scss/*":
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
"./scss/*": "./dist/scss/*.scss",
|
|
17
|
+
"./scss": "./dist/scss/design-system-core.scss",
|
|
18
|
+
"./package.json": "./package.json",
|
|
19
|
+
"./*": "./dist/*"
|
|
19
20
|
},
|
|
20
21
|
"scripts": {
|
|
21
22
|
"dev": "vite",
|
|
22
|
-
"build": "yarn run build-core-scss && vite build
|
|
23
|
+
"build": "yarn run build-core-scss && vite build",
|
|
23
24
|
"lint": "eslint .",
|
|
24
25
|
"format": "prettier . --write",
|
|
25
26
|
"preview": "vite preview",
|
|
@@ -27,8 +28,7 @@
|
|
|
27
28
|
"build-core-scss": "rm -r public/scss/* && cp -R node_modules/@raspberrypifoundation/design-system-core/scss/* public/scss",
|
|
28
29
|
"build-storybook": "storybook build",
|
|
29
30
|
"test": "vitest run",
|
|
30
|
-
"test:watch": "vitest"
|
|
31
|
-
"generate-types": "tsc && node scripts/generate-types-index.cjs"
|
|
31
|
+
"test:watch": "vitest"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@raspberrypifoundation/design-system-core": "^2.0.0",
|
|
@@ -36,38 +36,38 @@
|
|
|
36
36
|
"material-symbols": "^0.27.2",
|
|
37
37
|
"react": "^18.3.1",
|
|
38
38
|
"react-dom": "^18.3.1",
|
|
39
|
-
"react-router-dom": "^7.2
|
|
39
|
+
"react-router-dom": "^7.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@eslint/js": "^9.
|
|
43
|
-
"@storybook/addon-essentials": "^8.6.
|
|
44
|
-
"@storybook/addon-interactions": "^8.6.
|
|
45
|
-
"@storybook/
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/react
|
|
49
|
-
"@storybook/
|
|
42
|
+
"@eslint/js": "^9.15.0",
|
|
43
|
+
"@storybook/addon-essentials": "^8.6.11",
|
|
44
|
+
"@storybook/addon-interactions": "^8.6.11",
|
|
45
|
+
"@storybook/addon-onboarding": "^8.6.11",
|
|
46
|
+
"@storybook/blocks": "^8.6.11",
|
|
47
|
+
"@storybook/preview-api": "^8.6.11",
|
|
48
|
+
"@storybook/react": "^8.6.11",
|
|
49
|
+
"@storybook/react-vite": "^8.6.11",
|
|
50
|
+
"@storybook/test": "^8.6.11",
|
|
50
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
51
|
-
"@testing-library/react": "^16.
|
|
52
|
-
"@types/react": "^18.3.
|
|
53
|
-
"@types/react-dom": "^18.3.
|
|
52
|
+
"@testing-library/react": "^16.1.0",
|
|
53
|
+
"@types/react": "^18.3.12",
|
|
54
|
+
"@types/react-dom": "^18.3.1",
|
|
54
55
|
"@vitejs/plugin-react": "^4.3.4",
|
|
55
|
-
"@vitest/coverage-v8": "^3.
|
|
56
|
-
"eslint": "^9.
|
|
57
|
-
"eslint-plugin-react": "^7.37.
|
|
58
|
-
"eslint-plugin-react-hooks": "^5.
|
|
59
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
60
|
-
"eslint-plugin-storybook": "^0.
|
|
56
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
57
|
+
"eslint": "^9.15.0",
|
|
58
|
+
"eslint-plugin-react": "^7.37.2",
|
|
59
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
60
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
61
|
+
"eslint-plugin-storybook": "^0.12.0",
|
|
61
62
|
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
62
|
-
"globals": "^15.
|
|
63
|
+
"globals": "^15.12.0",
|
|
63
64
|
"jsdom": "^25.0.1",
|
|
64
|
-
"prettier": "^3.
|
|
65
|
+
"prettier": "^3.4.2",
|
|
65
66
|
"prop-types": "^15.8.1",
|
|
66
|
-
"sass-embedded": "^1.
|
|
67
|
-
"storybook": "^8.6.
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"vitest": "^3.0.7"
|
|
67
|
+
"sass-embedded": "^1.83.1",
|
|
68
|
+
"storybook": "^8.6.11",
|
|
69
|
+
"vite": "^6.2.4",
|
|
70
|
+
"vitest": "^3.1.1"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react-router-dom": "^6.24.0"
|