@nypl/design-system-react-components 4.0.0-rc → 4.0.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
CHANGED
|
@@ -257,7 +257,7 @@ After writing new tests, run `npm run test:generate-output` to create a new JSON
|
|
|
257
257
|
|
|
258
258
|
_Make sure not to commit the directory created from the following process_.
|
|
259
259
|
|
|
260
|
-
There should be no need to run the static Storybook instance while actively developing -- it's used exclusively for building out the `gh-pages` environment and deploying it to [Github Pages](https://nypl.github.io/nypl-design-system/reservoir/
|
|
260
|
+
There should be no need to run the static Storybook instance while actively developing -- it's used exclusively for building out the `gh-pages` environment and deploying it to [Github Pages](https://nypl.github.io/nypl-design-system/reservoir/v4/?path=/docs/welcome--docs). In the event that you do want to run the static Storybook npm script, run:
|
|
261
261
|
|
|
262
262
|
```sh
|
|
263
263
|
$ npm run build-storybook:v4
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Colors } from "@chakra-ui/react";
|
|
2
2
|
/**
|
|
3
3
|
* All colors can be found in Storybook:
|
|
4
|
-
* https://nypl.github.io/nypl-design-system/reservoir/
|
|
4
|
+
* https://nypl.github.io/nypl-design-system/reservoir/v4/?path=/docs/style-guide-colors--docs
|
|
5
5
|
*
|
|
6
6
|
* All UI Fills colors can be found in Figma:
|
|
7
7
|
* https://www.figma.com/file/qShodlfNCJHb8n03IFyApM/Main?node-id=47083%3A27674
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nypl/design-system-react-components",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "NYPL Reservoir Design System React Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"lint": "eslint src --ext=ts,tsx --cache",
|
|
36
36
|
"prepare": "npm run build && husky install",
|
|
37
37
|
"storybook": "storybook dev -p 6006",
|
|
38
|
-
"build-storybook:
|
|
38
|
+
"build-storybook:v4": "storybook build -c .storybook -o ./reservoir/v4",
|
|
39
39
|
"prebuild:storybook": "npm run test:generate-output",
|
|
40
40
|
"build-storybook": "storybook build"
|
|
41
41
|
},
|