woocommerce/plugins/woocommerce-blocks/assets/js/editor-components
Tarun Vijwani 2b0da27fd0
Update generic incompatibility notice (#42751)
* 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>
2024-01-05 10:47:34 +07:00
..
block-title update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
color-panel Add Color Panel (https://github.com/woocommerce/woocommerce-blocks/pull/10062) 2023-07-21 10:35:32 +01:00
default-notice Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
edit-product-link Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
editable-button Remove work-around code in EditableButton component to fix typing Space (https://github.com/woocommerce/woocommerce-blocks/pull/10248) 2023-07-18 18:04:50 +02:00
error-placeholder Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
expandable-search-list-item Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909) 2023-12-08 11:39:31 +00:00
external-link-card [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00
feedback-prompt Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
grid-content-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
grid-layout-control update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
heading-toolbar Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
incompatible-extension-notice Update generic incompatibility notice (#42751) 2024-01-05 10:47:34 +07:00
no-payment-methods-notice Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
page-selector Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
product-attribute-term-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
product-category-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
product-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
product-orderby-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
product-stock-control update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
product-tag-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
products-control Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
search-list-control [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00
sidebar-compatibility-notice Update generic incompatibility notice (#42751) 2024-01-05 10:47:34 +07:00
switch-to-classic-shortcode-button Update generic incompatibility notice (#42751) 2024-01-05 10:47:34 +07:00
tag [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00
text-toolbar-button [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00
utils Fix/you do not need lodash (https://github.com/woocommerce/woocommerce-blocks/pull/9161) 2023-04-28 11:29:45 +01:00
README.md [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00

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.