@redsift/design-system-legacy 9.6.0 → 10.0.0-alpha.1
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 +2 -2
- package/package.json +2 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -311,7 +311,7 @@ export const StyledBadge = styled.div<StyledBadgeProps>`
|
|
|
311
311
|
$color
|
|
312
312
|
? css`
|
|
313
313
|
color: var(--redsift-color-neutral-white);
|
|
314
|
-
background-color: var(--redsift-color-${$color}-
|
|
314
|
+
background-color: var(--redsift-color-presentation-color-${$color}-standard);
|
|
315
315
|
`
|
|
316
316
|
: ''}
|
|
317
317
|
`;
|
|
@@ -381,7 +381,7 @@ To display a prop table, use the `PropsTable` component as following:
|
|
|
381
381
|
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:
|
|
382
382
|
|
|
383
383
|
```ts
|
|
384
|
-
<DemoBlock path="button/coloring" />
|
|
384
|
+
<DemoBlock withThemeSwitcher path="button/coloring" />
|
|
385
385
|
```
|
|
386
386
|
|
|
387
387
|
To display simple code, use the `CodeBlock` as following:
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"prepare": "install-peers || exit 0",
|
|
12
12
|
"prepublishOnly": "yarn build"
|
|
13
13
|
},
|
|
14
|
-
"version": "
|
|
14
|
+
"version": "10.0.0-alpha.1",
|
|
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",
|
|
63
63
|
"styled-components": "^5.3.5"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "2de3115fe5a7f9f23c2bf881bdc225eb8c2c0bc5"
|
|
66
66
|
}
|