woocommerce/plugins/woocommerce-admin/packages/components
Rua Haszard 8eda9cbd59 Add Storybook for documenting and testing components in isolation (https://github.com/woocommerce/woocommerce-admin/pull/3679)
* basic empty storybook setup

* borrow (copy paste) config (module.rules & aliases) from main webpack

* story for rating (styling not working)

* correctly style rating stars in storybook

* import webpack config for storybook instead of paste

* tweak rating story to show partial stars

* stylelint fixes

* pin storybook addons versions

* add knobs for rating & totalStars

* add knob for size + use defaultProps for knob defaults

* import all component styles into storybook preview:
- stories shouldn't import component styles directly, consistent with
how they are used
2020-02-24 15:25:25 +13:00
..
src Add Storybook for documenting and testing components in isolation (https://github.com/woocommerce/woocommerce-admin/pull/3679) 2020-02-24 15:25:25 +13:00
.npmrc Build: Move components to packages dir (https://github.com/woocommerce/woocommerce-admin/pull/804) 2018-11-15 13:16:23 -05:00
CHANGELOG.md Onboarding: Fix shipping rates overlapping currency prefix (https://github.com/woocommerce/woocommerce-admin/pull/3623) 2020-01-28 08:54:39 -08:00
README.md Components: fix README url 2019-04-30 07:55:32 +12:00
package.json Update dependency react-dates to v21 (https://github.com/woocommerce/woocommerce-admin/pull/3736) 2020-02-20 10:47:09 -08:00

README.md

Components

This packages includes a library of components that can be used to create pages in the WooCommerce dashboard and reports pages.

Installation

Install the module

npm install @woocommerce/components --save

View the full Component documentation for usage information.