@alto-avios/alto-ui 3.4.0-alpha.5 → 3.4.0-alpha.6
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 +8 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -73,6 +73,14 @@ We need to create static storybook files for our public domain site to use. Run
|
|
|
73
73
|
|
|
74
74
|
`npm run build:storybook`
|
|
75
75
|
|
|
76
|
+
## Run Chromatic (Dev)
|
|
77
|
+
|
|
78
|
+
Run the following command to analyze our code and send to chromatic
|
|
79
|
+
|
|
80
|
+
`npx chromatic --project-token <YOUR_PROJECT_TOKEN>`
|
|
81
|
+
|
|
82
|
+
Project Token can be found in the chromatic dashboard
|
|
83
|
+
|
|
76
84
|
## For Application using our package
|
|
77
85
|
|
|
78
86
|
### Install Package in Applications
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alto-avios/alto-ui",
|
|
3
|
-
"version": "3.4.0-alpha.
|
|
3
|
+
"version": "3.4.0-alpha.6",
|
|
4
4
|
"description": "A react component library for Alto Design System",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ian Caldwell IAGL",
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"react-aria-carousel": "^0.2.0",
|
|
42
42
|
"react-aria-components": "^1.5.0",
|
|
43
43
|
"react-number-format": "^5.4.3",
|
|
44
|
-
"ts-node": "^10.9.2"
|
|
44
|
+
"ts-node": "^10.9.2",
|
|
45
|
+
"use-breakpoint": "^4.0.6"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@chromatic-com/storybook": "^1.4.0",
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"@vitejs/plugin-react": "^4.3.1",
|
|
73
74
|
"autoprefixer": "^10.4.19",
|
|
74
75
|
"axe-playwright": "^2.0.3",
|
|
76
|
+
"chromatic": "^11.28.2",
|
|
75
77
|
"commitizen": "^4.3.1",
|
|
76
78
|
"cssnano": "^7.0.4",
|
|
77
79
|
"eslint": "^9.14.0",
|
|
@@ -107,7 +109,7 @@
|
|
|
107
109
|
"wait-on": "^8.0.1"
|
|
108
110
|
},
|
|
109
111
|
"peerDependencies": {
|
|
110
|
-
"@alto-avios/alto-tokens": "^3.0
|
|
112
|
+
"@alto-avios/alto-tokens": "^3.1.0",
|
|
111
113
|
"react": "^18.0.0"
|
|
112
114
|
},
|
|
113
115
|
"main": "dist/index.js",
|