@redsift/design-system-legacy 8.0.0-alpha.1 → 8.0.0-alpha.3
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/CONTRIBUTING.md +3 -3
- package/package.json +2 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -355,9 +355,9 @@ yarn dev:website
|
|
|
355
355
|
|
|
356
356
|
Then, open [http://localhost:3000](http://localhost:3000) in your browser.
|
|
357
357
|
|
|
358
|
-
To add documentation for a component, a MDX file should be created in the `
|
|
358
|
+
To add documentation for a component, a MDX file should be created in the `apps/website/pages/` folder and more precisely inside the subfolder corresponding to the section the page belongs to (i.e. `apps/website/pages/forms/checkbox.mdx` for the `Checkbox` component inside the `Forms` section).
|
|
359
359
|
|
|
360
|
-
To appear in the website's Side Panel, the page should be listed in `
|
|
360
|
+
To appear in the website's Side Panel, the page should be listed in `apps/website/components/CustomAppSidePanel/CustomAppSidePanel.tsx`) under the corresponding section.
|
|
361
361
|
|
|
362
362
|
A component page should be structured as following:
|
|
363
363
|
|
|
@@ -380,7 +380,7 @@ To display a prop table, use the `PropsTable` component as following:
|
|
|
380
380
|
<PropsTable component="Button" />
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
To display a demo, first create a demo (a simple `tsx` file) in the demo folder (`
|
|
383
|
+
To display a demo, first create a demo (a simple `tsx` file) in the demo folder (`apps/website/demo/`) inside a subfolder with the name of the component (i.e. `apps/website/demo/button/coloring` for a coloring demo of the `Button` component). Then use the `DemoBlock` as following:
|
|
384
384
|
|
|
385
385
|
```ts
|
|
386
386
|
<DemoBlock path="button/coloring" />
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"prepare": "install-peers || exit 0",
|
|
12
12
|
"prepublishOnly": "yarn build"
|
|
13
13
|
},
|
|
14
|
-
"version": "8.0.0-alpha.
|
|
14
|
+
"version": "8.0.0-alpha.3",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"classnames": "^2.3.1",
|
|
17
17
|
"match-sorter": "^6.3.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-dom": "17 || 18",
|
|
63
63
|
"styled-components": "^5.3.5"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "b56ba7f18e7aa4eb518ef321f49a6c562d55d386"
|
|
66
66
|
}
|