2b0da27fd0
* Move the switch to classic shortcode block button to separate component - Move modal component file from incompatible-extension-notice component folder to switch-to-classic-shortcode-button folder. - Rename modal component file to model-content component file. - Move the switch to classic shortcode block button to separate component folder * Update generic incompatibility notice - Update the notice description. - Add switch to classic shortcode block button to the notice. * Fix margin in editor.scss * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Update class names in switch-to-classic-shortcode-button component * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Update plugins/woocommerce-blocks/assets/js/editor-components/switch-to-classic-shortcode-button/editor.scss Co-authored-by: Niels Lange <info@nielslange.de> * Refactor SwitchToClassicShortcodeButton component * Fix css lint erros * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Add type property to notice events * Refactor switch to classic shortcode button logic * Use isCart for switchButtonLabel and snackbarLabel * Remove empty div in sidebar compatibility notice component * Refactor switch to classic shortcode button event handling * Adjust wording * Adjust marging and readability * Introduce union for SwitchToClassicShortcodeButtonProps type prop * Simplify logic * Use proposed text --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Niels Lange <info@nielslange.de> Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> |
||
---|---|---|
.. | ||
block-title | ||
color-panel | ||
default-notice | ||
edit-product-link | ||
editable-button | ||
error-placeholder | ||
expandable-search-list-item | ||
external-link-card | ||
feedback-prompt | ||
grid-content-control | ||
grid-layout-control | ||
heading-toolbar | ||
incompatible-extension-notice | ||
no-payment-methods-notice | ||
page-selector | ||
product-attribute-term-control | ||
product-category-control | ||
product-control | ||
product-orderby-control | ||
product-stock-control | ||
product-tag-control | ||
products-control | ||
search-list-control | ||
sidebar-compatibility-notice | ||
switch-to-classic-shortcode-button | ||
tag | ||
text-toolbar-button | ||
utils | ||
README.md |
README.md
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 Storybook & Components doc for more information.
We're hiring! Come work with us!
🐞 Found a mistake, or have a suggestion? Leave feedback about this document here.