Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): migrate react-chrome to storybook #883

Merged
merged 2 commits into from
Sep 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
},
{
"files": ["packages/*/src/index.ts"],
"files": ["packages/*/src/index.ts", "packages/**/styled/index.ts"],
"rules": {
"no-duplicate-imports": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h1 class="c-main__title">React Components</h1>
<a class="u-fg-inherit" href="buttons">Buttons</a>
</div>
<div class="u-mb-sm">
<a class="u-fg-inherit" href="chrome">Chrome</a>
<a class="u-fg-inherit" href="storybook/?path=/story/components-chrome-readme--page">Chrome</a>
</div>
<div class="u-mb-sm">
<a class="u-fg-inherit" href="datepickers">Datepickers</a>
Expand Down
18 changes: 9 additions & 9 deletions packages/chrome/.size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
}
},
"index.cjs.js": {
"bundled": 53927,
"minified": 40760,
"gzipped": 7529
"bundled": 53833,
"minified": 40685,
"gzipped": 7514
},
"index.esm.js": {
"bundled": 49632,
"minified": 36908,
"gzipped": 7310,
"bundled": 49544,
"minified": 36839,
"gzipped": 7291,
"treeshaked": {
"rollup": {
"code": 28097,
"import_statements": 547
"code": 28057,
"import_statements": 550
},
"webpack": {
"code": 31512
"code": 31469
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm install react react-dom prop-types styled-components @zendeskgarden/react-th

## Usages

```jsx static
```jsx
import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Chrome, Nav, NavItem, ... } from '@zendeskgarden/react-chrome';
import ConnectIcon from '@zendeskgarden/icons/src/26/relationshape-connect.svg';
Expand Down
Loading