- Added better Babel configs for cross-environment modules (browser, Node, ES6)
- Updated README with instructions on build + npm release
- Tried out Rollup (see branch
feat/rollup
). Possibility for builds, but Babel works fine for now.
- Dropdown upgraded. Now uses React state and JS mouse event like
onFocus
to allow for mouse and keyboard access to nested Dropdowns in Menu components. Accomplished by addingactive
state to the<Menu>
class and passing it down to any nested<Dropdown>
components using the newaddPropsToComponent
function. - Factored out
<Menu.Item>
into separate file. - Upgraded all Babel dev dependencies.
- Dropdown displays by default, removed hoverable props
- Changed main script to
src/index.js
- Updated Getting Started with Unpkg CDN
src
folder now part of NPM bundle
- Added base export with
index.js
- Moved Markdown docs to
src
, Styleguidist now exports to root level docs folder (to allow GHPages)
- Cloned project from design-system-jss. Replaced JSS with Styled Components.
- Added all Pure CSS components as React Styled Components.
- Converted Pure CSS docs to compatible React version.
- Added stories for testing each component.
- Styled docs to look like Pure CSS + added extra pages