@ukic/canary-react 3.0.0-canary.4 → 3.0.0-canary.41
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 -4
- package/dist/components.d.ts +5 -2
- package/dist/components.js +5 -2
- package/dist/core/core.css +1460 -188
- package/package.json +45 -53
package/package.json
CHANGED
|
@@ -1,38 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ukic/canary-react",
|
|
3
|
+
"version": "3.0.0-canary.41",
|
|
4
|
+
"description": "React-wrapped web components compiled using StencilJS",
|
|
5
|
+
"bugs": {
|
|
6
|
+
"url": "https://github.com/mi6/ic-ui-kit/issues",
|
|
7
|
+
"email": "icds@gchq.gov.uk"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"url": "git+https://github.com/mi6/ic-ui-kit.git",
|
|
11
|
+
"directory": "packages/canary-react"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
3
14
|
"sideEffects": [
|
|
4
15
|
"*.css"
|
|
5
16
|
],
|
|
6
|
-
"
|
|
7
|
-
"
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"module": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist/"
|
|
22
|
+
],
|
|
8
23
|
"scripts": {
|
|
24
|
+
"audit": "echo 'Audit for: @ukic/canary-react' && audit-ci -m --config ../../audit-ci.json",
|
|
9
25
|
"build": "npm run clean && npm run compile && npm run copy:core-css && npm run copy:normalize-css",
|
|
10
|
-
"
|
|
11
|
-
"cypress:open": "cypress open",
|
|
12
|
-
"cypress:component": "cypress run --component --headless",
|
|
13
|
-
"cypress:ci": "cross-env CYPRESS_CI=true npm run cypress:component",
|
|
26
|
+
"build-storybook": "rimraf ./storybook-static && storybook build",
|
|
14
27
|
"clean": "rimraf dist",
|
|
15
28
|
"compile": "npm run tsc",
|
|
16
|
-
"tsc": "tsc -p .",
|
|
17
|
-
"rollup": "rollup -c",
|
|
18
|
-
"storybook": "storybook dev -p 6009",
|
|
19
|
-
"build-storybook": "rimraf ./storybook-static && storybook build",
|
|
20
|
-
"audit": "echo 'Audit for: @ukic/canary-react' && audit-ci -m --config ../../audit-ci.json",
|
|
21
29
|
"copy:core-css": "echo 'Copy core.css from: @ukic/canary-web-components' && mkdirp -p ./dist/core && ncp ../canary-web-components/dist/core/core.css ./dist/core/core.css",
|
|
22
30
|
"copy:normalize-css": "echo 'Copy normalize.css from: @ukic/canary-web-components' && ncp ../canary-web-components/dist/core/normalize.css ./dist/core/normalize.css",
|
|
31
|
+
"cypress": "cypress run --component --headed",
|
|
32
|
+
"cypress:ci": "cross-env CYPRESS_CI=true npm run cypress:component",
|
|
33
|
+
"cypress:component": "cypress run --component --headless",
|
|
34
|
+
"cypress:open": "cypress open",
|
|
23
35
|
"prettier": "prettier --config ../../.prettierrc.json --ignore-path ../../.prettierignore src --check",
|
|
24
|
-
"prettier:fix": "prettier --config ../../.prettierrc.json --ignore-path ../../.prettierignore src --write"
|
|
36
|
+
"prettier:fix": "prettier --config ../../.prettierrc.json --ignore-path ../../.prettierignore src --write",
|
|
37
|
+
"rollup": "rollup -c",
|
|
38
|
+
"storybook": "storybook dev -p 6009",
|
|
39
|
+
"tsc": "tsc -p ."
|
|
25
40
|
},
|
|
26
|
-
"main": "./dist/index.js",
|
|
27
|
-
"module": "./dist/index.js",
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
|
-
"files": [
|
|
30
|
-
"dist/"
|
|
31
|
-
],
|
|
32
41
|
"dependencies": {
|
|
33
|
-
"@ukic/canary-web-components": "^3.0.0-canary.
|
|
34
|
-
"@ukic/react": "^3.
|
|
35
|
-
"@ukic/web-components": "^3.
|
|
42
|
+
"@ukic/canary-web-components": "^3.0.0-canary.41",
|
|
43
|
+
"@ukic/react": "^3.25.0",
|
|
44
|
+
"@ukic/web-components": "^3.25.0"
|
|
36
45
|
},
|
|
37
46
|
"devDependencies": {
|
|
38
47
|
"@babel/core": "^7.16.0",
|
|
@@ -43,56 +52,39 @@
|
|
|
43
52
|
"@cypress/webpack-preprocessor": "^6.0.0",
|
|
44
53
|
"@mdi/js": "^7.2.96",
|
|
45
54
|
"@stencil/react-output-target": "^0.5.3",
|
|
46
|
-
"@storybook/addon-a11y": "
|
|
47
|
-
"@storybook/addon-
|
|
48
|
-
"@storybook/addon-
|
|
49
|
-
"@storybook/
|
|
50
|
-
"@
|
|
51
|
-
"@storybook/addon-mdx-gfm": "^7.6.10",
|
|
52
|
-
"@storybook/addon-postcss": "^2.0.0",
|
|
53
|
-
"@storybook/react": "^7.6.10",
|
|
54
|
-
"@storybook/react-webpack5": "^7.6.10",
|
|
55
|
-
"@types/jest": "27.0.3",
|
|
56
|
-
"@types/node": "^16.11.11",
|
|
55
|
+
"@storybook/addon-a11y": "10.1.11",
|
|
56
|
+
"@storybook/addon-docs": "10.1.11",
|
|
57
|
+
"@storybook/addon-links": "10.1.11",
|
|
58
|
+
"@storybook/react-vite": "10.1.11",
|
|
59
|
+
"@types/node": "^20.11.20",
|
|
57
60
|
"@types/react": "^17.0.37",
|
|
58
61
|
"@types/react-dom": "^17.0.11",
|
|
59
62
|
"babel-loader": "^8.2.3",
|
|
60
63
|
"cross-env": "^7.0.3",
|
|
61
64
|
"cypress": "^13.3.1",
|
|
62
65
|
"cypress-axe": "^1.5.0",
|
|
63
|
-
"cypress-image-diff-
|
|
66
|
+
"cypress-image-diff-html-report": "^2.2.0",
|
|
67
|
+
"cypress-image-diff-js": "^2.1.3",
|
|
64
68
|
"eslint-plugin-cypress": "^2.15.1",
|
|
65
69
|
"github-markdown-css": "^5.5.0",
|
|
66
|
-
"jest": "^27.4.1",
|
|
67
|
-
"jest-dom": "^4.0.0",
|
|
68
70
|
"mkdirp": "^1.0.4",
|
|
69
71
|
"np": "^7.6.0",
|
|
70
72
|
"react": "^16.7.0",
|
|
71
73
|
"react-dom": "^16.7.0",
|
|
72
74
|
"react-hook-form": "^7.38.0",
|
|
73
75
|
"react-markdown": "^8.0.7",
|
|
74
|
-
"react-router-dom": "^6.3
|
|
76
|
+
"react-router-dom": "^6.30.3",
|
|
75
77
|
"remark-gfm": "^3.0.1",
|
|
76
|
-
"storybook": "
|
|
77
|
-
"storybook-addon-performance": "^0.17.3",
|
|
78
|
+
"storybook": "10.1.11",
|
|
78
79
|
"ts-loader": "^9.5.0",
|
|
79
80
|
"typescript": "^4.5.2",
|
|
80
|
-
"url-loader": "^4.1.1"
|
|
81
|
-
"webpack": "^5.76.0"
|
|
81
|
+
"url-loader": "^4.1.1"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@ukic/fonts": "^
|
|
85
|
-
"react": "^16.7.0 || ^17.0.2 || ^18.2.0",
|
|
86
|
-
"react-dom": "^16.7.0 || ^17.0.2 || ^18.2.0"
|
|
84
|
+
"@ukic/fonts": "^3.1.0",
|
|
85
|
+
"react": "^16.7.0 || ^17.0.2 || ^18.2.0 || ^19.0.0",
|
|
86
|
+
"react-dom": "^16.7.0 || ^17.0.2 || ^18.2.0 || ^19.0.0"
|
|
87
87
|
},
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
"setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js",
|
|
91
|
-
"testPathIgnorePatterns": [
|
|
92
|
-
"node_modules",
|
|
93
|
-
"dist"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
"license": "MIT",
|
|
97
|
-
"gitHead": "c83a1397b30a5eb7cb844ac6c1bf037de3b7a94a"
|
|
88
|
+
"packageManager": "^npm@10.9.2",
|
|
89
|
+
"gitHead": "14a2f9ee56ef57b93e9a746eb0b1f120573ae9f9"
|
|
98
90
|
}
|