React components using ittsu styles.
The interactive storybook can be found here: https://drawbotics.github.io/react-ittsu/
This package is published to the GitHub Package Registry under the @drawbotics scope.
Create or update your project's .npmrc file:
@drawbotics:registry=https://npm.pkg.github.com
You need a GitHub personal access token with read:packages scope. Then log in:
npm login --scope=@drawbotics --registry=https://npm.pkg.github.comnpm install @drawbotics/react-ittsureact>= 16.0.0react-dom>= 16.0.0
import { Button, Card, CardContent } from '@drawbotics/react-ittsu/components';
import { Input, Select, Form } from '@drawbotics/react-ittsu/forms';
import { Grid, Cell, Container } from '@drawbotics/react-ittsu/layout';Button, Card, CardContent, CardFooter, Code, Dropdown, DropdownTrigger, DropdownContent, DropdownOption, Icon, Link, Navbar, NavbarIcon, NavbarContainer, NavbarControls, NavbarLink, NavbarText, NavbarDropdown, NavbarDivisor, Panel, PanelHeader, PanelTitle, PanelBody, Paragraph, Popover, showPopover, hidePopover, T1, T2, T3, SectionTitle, Table, THead, TBody, TFoot, TRow, TCell, Tag, Tooltip, showTooltip, hideTooltip
Form, Input, TextArea, Checkbox, Radio, Select, FormGroup, Label, ErrorLabel, Slider, Handle, CountBox, InputGroup, withForms
Main, Header, Footer, Container, Grid, Cell, Offset
npm install
npm run build-watch
npm run storybookbuild-watch continuously compiles the source, while Storybook displays the components in the browser at http://localhost:9001.
npm run build-storybookPush to dev. After merging into master, the GitHub Pages site will update.
- Bump the version in
package.json - Commit and push to
dev - Publish to GitHub Packages:
npm publish