@pantheon-systems/pds-toolkit-react 1.0.0-dev.6 → 1.0.0-dev.61
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/README.md +27 -1
- package/_dist/cjs/index.js +45 -7
- package/_dist/cjs/index.js.map +1 -1
- package/_dist/css/pds-components.css +67 -38
- package/_dist/css/pds-core.css +4 -2
- package/_dist/css/pds-layouts.css +1 -0
- package/_dist/esm/index.js +45 -7
- package/_dist/esm/index.js.map +1 -1
- package/package.json +41 -25
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantheon-systems/pds-toolkit-react",
|
|
3
3
|
"technology": "React",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.61",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "rollup -c",
|
|
22
|
-
"postbuild": "npm run build:css && npm run build:css:components",
|
|
22
|
+
"postbuild": "npm run build:css && npm run build:css:components && npm run build:css:layouts",
|
|
23
23
|
"build:css": "postcss src/core.css -o _dist/css/pds-core.css",
|
|
24
24
|
"build:css:components": "postcss src/components/index.css -o _dist/css/pds-components.css",
|
|
25
|
+
"build:css:layouts": "postcss src/layouts/index.css -o _dist/css/pds-layouts.css",
|
|
25
26
|
"build:css:watch": "npm run build:css -- -w",
|
|
26
27
|
"prestorybook": "npm run build:css",
|
|
27
28
|
"storybook": "storybook dev -p 6006",
|
|
28
29
|
"prestorybook:build": "npm run build:css",
|
|
29
30
|
"storybook:build": "storybook build",
|
|
30
31
|
"develop": "concurrently --raw --kill-others \"npm run storybook\" \"npm run build:css:watch\"",
|
|
31
|
-
"eslint": "eslint
|
|
32
|
+
"eslint": "eslint --ext .jsx --ext .js",
|
|
33
|
+
"eslint:all": "eslint src --ext .jsx --ext .js --cache",
|
|
32
34
|
"pretest": "npm run build:css",
|
|
33
35
|
"test": "playwright test",
|
|
34
|
-
"pretest:e2e": "npm run build:css",
|
|
35
|
-
"test:e2e": "playwright test --project 'e2e:chromium' 'e2e:firefox' 'e2e:webkit'",
|
|
36
36
|
"pretest:vrt": "npm run build:css",
|
|
37
37
|
"test:vrt": "playwright test --project 'vrt:chromium' 'vrt:firefox' 'vrt:webkit' 'vrt:Mobile Chrome' 'vrt:Mobile Safari'",
|
|
38
|
-
"pretest:vrt:update
|
|
39
|
-
"test:vrt:update
|
|
38
|
+
"pretest:vrt:update": "npm run build:css",
|
|
39
|
+
"test:vrt:update": "npm run test:vrt -- --update-snapshots",
|
|
40
40
|
"pretest:a11y:generate": "npm run build:css",
|
|
41
41
|
"test:a11y:generate": "npm run storybook:build && npx sb extract && node __tests__/a11y/a11y.generate-tests.js",
|
|
42
42
|
"test:a11y": "playwright test --project 'a11y'",
|
|
@@ -44,45 +44,51 @@
|
|
|
44
44
|
"predeploy:pantheon": "npm run build:css",
|
|
45
45
|
"deploy:pantheon": "storybook build",
|
|
46
46
|
"generate:component": "plop component",
|
|
47
|
+
"generate:layout": "plop layout",
|
|
47
48
|
"generate:foundation": "plop foundation",
|
|
48
49
|
"generate:pattern": "plop pattern",
|
|
49
|
-
"generate:utility": "plop utility"
|
|
50
|
+
"generate:utility": "plop utility",
|
|
51
|
+
"prepare": "husky install"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
52
54
|
"@axe-core/playwright": "^4.7.0",
|
|
53
55
|
"@babel/preset-env": "^7.21.5",
|
|
54
56
|
"@babel/preset-react": "^7.18.6",
|
|
55
57
|
"@csstools/postcss-design-tokens": "^2.0.4",
|
|
58
|
+
"@csstools/postcss-global-data": "^1.0.3",
|
|
56
59
|
"@floating-ui/react-dom": "~1.3.0",
|
|
57
|
-
"@pantheon-systems/pds-design-tokens": "^1.0.0-dev.
|
|
58
|
-
"@playwright/test": "^1.
|
|
60
|
+
"@pantheon-systems/pds-design-tokens": "^1.0.0-dev.75",
|
|
61
|
+
"@playwright/test": "^1.36.2",
|
|
59
62
|
"@rollup/plugin-babel": "^6.0.3",
|
|
60
63
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
61
64
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
62
|
-
"@storybook/addon-a11y": "^7.
|
|
63
|
-
"@storybook/addon-essentials": "^7.
|
|
64
|
-
"@storybook/addon-interactions": "^7.
|
|
65
|
-
"@storybook/addon-links": "^7.
|
|
65
|
+
"@storybook/addon-a11y": "^7.5.1",
|
|
66
|
+
"@storybook/addon-essentials": "^7.5.1",
|
|
67
|
+
"@storybook/addon-interactions": "^7.5.1",
|
|
68
|
+
"@storybook/addon-links": "^7.5.1",
|
|
66
69
|
"@storybook/addon-postcss": "^2.0.0",
|
|
67
|
-
"@storybook/addon-styling": "^1.
|
|
68
|
-
"@storybook/blocks": "^7.
|
|
69
|
-
"@storybook/manager-api": "^7.
|
|
70
|
-
"@storybook/react": "^7.
|
|
71
|
-
"@storybook/react-webpack5": "^7.
|
|
72
|
-
"@storybook/testing-library": "^0.
|
|
73
|
-
"@storybook/theming": "^7.
|
|
70
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
71
|
+
"@storybook/blocks": "^7.5.1",
|
|
72
|
+
"@storybook/manager-api": "^7.5.1",
|
|
73
|
+
"@storybook/react": "^7.5.1",
|
|
74
|
+
"@storybook/react-webpack5": "^7.5.1",
|
|
75
|
+
"@storybook/testing-library": "^0.2.2",
|
|
76
|
+
"@storybook/theming": "^7.5.1",
|
|
74
77
|
"axe-html-reporter": "^2.2.3",
|
|
75
78
|
"concurrently": "^8.0.1",
|
|
76
79
|
"cssnano": "^6.0.1",
|
|
77
80
|
"eslint": "^8.40.0",
|
|
78
81
|
"eslint-config-prettier": "^8.8.0",
|
|
79
82
|
"eslint-plugin-react": "^7.32.2",
|
|
80
|
-
"eslint-plugin-storybook": "^0.6.
|
|
83
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
84
|
+
"husky": "^8.0.3",
|
|
85
|
+
"lint-staged": "^13.2.3",
|
|
81
86
|
"plop": "^3.1.2",
|
|
82
87
|
"postcss": "^8.4.23",
|
|
83
88
|
"postcss-cli": "^10.1.0",
|
|
84
89
|
"postcss-custom-media": "^9.1.3",
|
|
85
90
|
"postcss-import": "^15.1.0",
|
|
91
|
+
"postcss-insert": "^1.0.0",
|
|
86
92
|
"postcss-nested": "^6.0.1",
|
|
87
93
|
"prettier": "^2.8.8",
|
|
88
94
|
"prop-types": "^15.8.1",
|
|
@@ -92,10 +98,20 @@
|
|
|
92
98
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
93
99
|
"rollup-plugin-postcss": "^4.0.2",
|
|
94
100
|
"rollup-plugin-terser": "^7.0.2",
|
|
95
|
-
"storybook": "^7.
|
|
96
|
-
"storybook-dark-mode": "^3.0.
|
|
101
|
+
"storybook": "^7.5.1",
|
|
102
|
+
"storybook-dark-mode": "^3.0.1"
|
|
97
103
|
},
|
|
98
104
|
"peerDependencies": {
|
|
99
|
-
"react": "^18.
|
|
105
|
+
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
106
|
+
},
|
|
107
|
+
"dependencies": {
|
|
108
|
+
"@floating-ui/react": "^0.24.3",
|
|
109
|
+
"focus-trap-react": "^10.2.1",
|
|
110
|
+
"react-router-dom": "^6.13.0"
|
|
111
|
+
},
|
|
112
|
+
"lint-staged": {
|
|
113
|
+
"src/**/*.{js,jsx}": [
|
|
114
|
+
"npm run eslint"
|
|
115
|
+
]
|
|
100
116
|
}
|
|
101
117
|
}
|