703051b1bc
* Migrate stories for `ProductName` to latest Storybook. Also add props documentation and add named export. * Migrate `TotalsFooterItem` to TypeScript and latest Storybook * Add a `LooselyMustHave` utility type. * Export `allSettings` so that they can be manipulated in stories and tests * Implement a way to easily define and reuse Storybook controls Implement a currency control for a common use-case of selecting currencies. It currently implements EUR and USD as they have different properties. * Migrate `TotalsDiscount` to TypeScript and implement stories * Migrate `TotalsCoupon` to TypeScript and fix stories * Change Coupon name within Storybook * Nicer handling of removal of a coupon from Storybook It now dynamically calculates the discount from the actual coupons. |
||
---|---|---|
.. | ||
block-title | ||
compatibility-notices | ||
edit-product-link | ||
error-placeholder | ||
expandable-search-list-item | ||
external-link-card | ||
feedback-prompt | ||
grid-content-control | ||
grid-layout-control | ||
heading-toolbar | ||
page-selector | ||
product-attribute-term-control | ||
product-category-control | ||
product-control | ||
product-orderby-control | ||
product-tag-control | ||
products-control | ||
search-list-control | ||
tag | ||
text-toolbar-button | ||
toggle-button-control | ||
utils | ||
view-switcher | ||
README.md |
README.md
WooCommerce Blocks - Editor Components
These are shared components used in WooCommerce blocks for the editor (Gutenberg) UI.
Many of our blocks need rich, smart components to provide an interface for selecting or configuring blocks with WooCommerce data. Often there are multiple blocks that need such components. Components in this collection are used in multiple blocks, and may include logic for working with Woo data specifically (e.g. products, shipping methods, product categories).
See Components & Storybook doc for more information.