@raspberrypifoundation/design-system-react 1.1.2 → 1.1.4
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/cjs/bundle.js +3225 -3239
- package/dist/esm/bundle.js +3225 -3239
- package/package.json +69 -71
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"name": "@raspberrypifoundation/design-system-react",
|
|
3
|
+
"version": "1.1.4",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/cjs/bundle.js",
|
|
6
|
+
"module": "dist/esm/bundle.js",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build-css": "sass --load-path=./ --load-path=./node_modules/@raspberrypifoundation/design-system-core --quiet src:src",
|
|
13
|
+
"build-storybook": "npm install && npm run build-css && storybook build",
|
|
14
|
+
"prepublishOnly": "npm run rollup",
|
|
15
15
|
"lint": "eslint \"src/**/*.{js,jsx,json}\"",
|
|
16
16
|
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,json}\"",
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
"rollup": "npm run build-css && rollup -c",
|
|
18
|
+
"storybook": "npm run watch-css & storybook dev -p 6006",
|
|
19
|
+
"test": "jest",
|
|
20
|
+
"watch-css": "npm run build-css && sass --load-path=./ --load-path=./node_modules/@raspberrypifoundation/design-system-core -q --watch src:src"
|
|
21
|
+
},
|
|
22
|
+
"jest": {
|
|
23
|
+
"setupFilesAfterEnv": [
|
|
24
24
|
"<rootDir>/node_modules/@testing-library/jest-dom"
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
],
|
|
26
|
+
"testEnvironment": "jsdom",
|
|
27
27
|
"moduleNameMapper": {
|
|
28
28
|
"material-symbols": "<rootDir>/mocks/material-symbols.js",
|
|
29
29
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/RaspberryPiFoundation/design-system-react.git"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [],
|
|
37
|
+
"author": "",
|
|
38
|
+
"license": "",
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@babel/preset-env": "^7.22.20",
|
|
41
|
+
"@babel/preset-react": "^7.18.6",
|
|
42
|
+
"@newhighsco/storybook-addon-svgr": "^1.0.1",
|
|
43
|
+
"@raspberrypifoundation/design-system-core": "^0.3.4",
|
|
44
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
45
|
+
"@rollup/plugin-commonjs": "^25.0.2",
|
|
46
|
+
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
47
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
48
|
+
"@storybook/addon-essentials": "^7.4.0",
|
|
49
|
+
"@storybook/addon-interactions": "^7.4.0",
|
|
50
|
+
"@storybook/addon-links": "^7.4.0",
|
|
51
|
+
"@storybook/addon-mdx-gfm": "^7.4.0",
|
|
52
|
+
"@storybook/blocks": "^7.4.0",
|
|
53
|
+
"@storybook/react": "^7.4.0",
|
|
54
|
+
"@storybook/react-webpack5": "^7.4.0",
|
|
55
|
+
"@storybook/testing-library": "^0.1.0",
|
|
56
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
57
|
+
"@testing-library/react": "^15.0.2",
|
|
58
|
+
"css-loader": "^6.8.1",
|
|
59
59
|
"eslint": "^7.11.0",
|
|
60
60
|
"eslint-config-prettier": "^8.8.0",
|
|
61
61
|
"eslint-config-react-app": "^6.0.0",
|
|
@@ -68,28 +68,26 @@
|
|
|
68
68
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
69
69
|
"eslint-plugin-testing-library": "^3.9.2",
|
|
70
70
|
"eslint-webpack-plugin": "^2.5.2",
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
"identity-obj-proxy": "^3.0.0",
|
|
72
|
+
"jest": "^29.7.0",
|
|
73
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
74
74
|
"jest-github-actions-reporter": "^1.0.3",
|
|
75
75
|
"jest-junit": "^14.0.1",
|
|
76
|
-
|
|
76
|
+
"jsdom": "^24.0.0",
|
|
77
77
|
"prettier": "^2.8.8",
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"prop-types": "^15.8.1"
|
|
94
|
-
}
|
|
78
|
+
"rollup": "^3.26.1",
|
|
79
|
+
"rollup-plugin-postcss": "^4.0.0",
|
|
80
|
+
"sass": "^1.69.5",
|
|
81
|
+
"sass-loader": "^13.3.2",
|
|
82
|
+
"storybook": "^7.4.0",
|
|
83
|
+
"storybook-addon-pseudo-states": "^2.1.2",
|
|
84
|
+
"storybook-addon-sass-postcss": "^0.1.3"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"classnames": "^2.3.2",
|
|
88
|
+
"material-symbols": "^0.14.5",
|
|
89
|
+
"prop-types": "^15.8.1",
|
|
90
|
+
"react": "^18.2.0",
|
|
91
|
+
"react-dom": "^18.2.0"
|
|
92
|
+
}
|
|
95
93
|
}
|