@ynput/ayon-react-components 0.2.1 → 0.3.0
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 +31 -0
- package/package.json +61 -14
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# AYON Component Library
|
|
2
|
+
|
|
3
|
+
This is a collection of components for the AYON project. It is a work in progress.
|
|
4
|
+
|
|
5
|
+
It can be used to create consistent and accessible AYON addons.
|
|
6
|
+
|
|
7
|
+
For full documentation, see the [storybook](https://ayon.ynput.io/storybook).
|
|
8
|
+
|
|
9
|
+
## Need a component or found a bug?
|
|
10
|
+
|
|
11
|
+
Please open an github issue.
|
|
12
|
+
|
|
13
|
+
## Contributing
|
|
14
|
+
|
|
15
|
+
This is an open source project. We welcome contributions.
|
|
16
|
+
|
|
17
|
+
## Community
|
|
18
|
+
|
|
19
|
+
👪 Check out our community discussions forum.
|
|
20
|
+
|
|
21
|
+
☎️ Want to know even more about AYON? Get in contact.
|
|
22
|
+
|
|
23
|
+
🙋 Need some support or want something custom? Take a look at our services.
|
|
24
|
+
|
|
25
|
+
## Get Started with Storybook
|
|
26
|
+
|
|
27
|
+
Run locally: `yarn storybook`
|
|
28
|
+
|
|
29
|
+
build: `yarn build-storybook`
|
|
30
|
+
|
|
31
|
+
build-package: `yarn build`
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ynput/ayon-react-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/ynput/ayon-react-components.git"
|
|
9
|
+
},
|
|
6
10
|
"scripts": {
|
|
7
11
|
"dev": "vite",
|
|
8
12
|
"build": "vite build",
|
|
@@ -10,18 +14,37 @@
|
|
|
10
14
|
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
|
11
15
|
"lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'",
|
|
12
16
|
"format": "prettier --write src/**/*.{js,jsx} --config ./.prettierrc",
|
|
13
|
-
"prepare": "husky install"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"react-dom": "^18.2.0",
|
|
18
|
-
"sass": "^1.56.0",
|
|
19
|
-
"styled-components": "^5.3.6"
|
|
17
|
+
"prepare": "husky install",
|
|
18
|
+
"storybook": "storybook dev -p 6006",
|
|
19
|
+
"build-storybook": "NODE_OPTIONS=--max_old_space_size=4096 storybook build",
|
|
20
|
+
"serve-storybook": "npx http-server ./storybook-static"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
|
-
"@
|
|
23
|
-
"@
|
|
23
|
+
"@storybook/addon-actions": "^7.0.5",
|
|
24
|
+
"@storybook/addon-essentials": "^7.0.5",
|
|
25
|
+
"@storybook/addon-interactions": "^7.0.5",
|
|
26
|
+
"@storybook/addon-links": "^7.0.5",
|
|
27
|
+
"@storybook/addon-storysource": "^7.0.5",
|
|
28
|
+
"@storybook/addon-styling": "^1.0.1",
|
|
29
|
+
"@storybook/blocks": "^7.0.5",
|
|
30
|
+
"@storybook/manager-api": "^7.0.5",
|
|
31
|
+
"@storybook/node-logger": "^7.0.5",
|
|
32
|
+
"@storybook/react": "^7.0.5",
|
|
33
|
+
"@storybook/react-vite": "^7.0.5",
|
|
34
|
+
"@storybook/testing-library": "^0.1.0",
|
|
35
|
+
"@storybook/theming": "^7.0.5",
|
|
36
|
+
"@testing-library/jest-dom": "^5.16.4",
|
|
37
|
+
"@testing-library/react": "^13.3.0",
|
|
38
|
+
"@testing-library/user-event": "^13.5.0",
|
|
39
|
+
"@types/jest": "^27.5.2",
|
|
40
|
+
"@types/leaflet": "^1.7.11",
|
|
41
|
+
"@types/node": "^16.11.43",
|
|
42
|
+
"@types/react": "^18.0.34",
|
|
43
|
+
"@types/react-dom": "^18.0.11",
|
|
44
|
+
"@types/react-leaflet": "^2.8.2",
|
|
45
|
+
"@types/styled-components": "^5.1.25",
|
|
24
46
|
"@vitejs/plugin-react": "^2.2.0",
|
|
47
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
25
48
|
"babel-plugin-styled-components": "^2.0.7",
|
|
26
49
|
"eslint": "^8.26.0",
|
|
27
50
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -29,14 +52,37 @@
|
|
|
29
52
|
"eslint-plugin-react": "^7.31.10",
|
|
30
53
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
31
54
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
55
|
+
"eslint-plugin-storybook": "^0.6.11",
|
|
32
56
|
"husky": "^8.0.1",
|
|
57
|
+
"leaflet": "^1.8.0",
|
|
33
58
|
"lint-staged": "^13.0.3",
|
|
59
|
+
"node-sass": "^8.0.0",
|
|
60
|
+
"postcss": "^8.4.21",
|
|
34
61
|
"prettier": "^2.7.1",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
62
|
+
"prop-types": "^15.8.1",
|
|
63
|
+
"react": "^18.2.0",
|
|
64
|
+
"react-dom": "^18.2.0",
|
|
37
65
|
"react-hooks": "^1.0.1",
|
|
66
|
+
"react-leaflet": "^4.2.1",
|
|
67
|
+
"react-scripts": "5.0.1",
|
|
68
|
+
"sass": "^1.61.0",
|
|
69
|
+
"sass-loader": "^13.2.2",
|
|
70
|
+
"storybook": "^7.0.5",
|
|
71
|
+
"styled-components": "^5.3.6",
|
|
72
|
+
"typescript": "^5.0.4",
|
|
38
73
|
"vite": "^3.2.0",
|
|
39
|
-
"vite-plugin-
|
|
74
|
+
"vite-plugin-dts": "^2.2.0",
|
|
75
|
+
"vite-plugin-linter": "^1.2.0",
|
|
76
|
+
"web-vitals": "^2.1.4"
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"@types/react": "^18.0.15",
|
|
80
|
+
"@types/react-dom": "^18.0.6",
|
|
81
|
+
"@types/styled-components": "^5.1.25",
|
|
82
|
+
"react": "^18.2.0",
|
|
83
|
+
"react-dom": "^18.2.0",
|
|
84
|
+
"sass": "^1.61.0",
|
|
85
|
+
"styled-components": "^5.3.6"
|
|
40
86
|
},
|
|
41
87
|
"husky": {
|
|
42
88
|
"hooks": {
|
|
@@ -65,5 +111,6 @@
|
|
|
65
111
|
"module": "dist/ayon-react-components.es.js",
|
|
66
112
|
"publishConfig": {
|
|
67
113
|
"access": "public"
|
|
68
|
-
}
|
|
114
|
+
},
|
|
115
|
+
"types": "dist/index.d.ts"
|
|
69
116
|
}
|