8ecfcfb9a0
* Introduce Additional Fields API for Checkout Block https://github.com/woocommerce/woocommerce-blocks/pull/12073 * revert test to what it was * Default to text, if the type supplied is not supported throw an error * Add type for options * Return null if somehow the select made it through without options * Make select fields type enum and add options to schema * Lint fixes * Update plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/address-form/address-form.tsx Co-authored-by: Niels Lange <info@nielslange.de> * Update plugins/woocommerce/src/Blocks/Domain/Services/CheckoutFields.php Co-authored-by: Niels Lange <info@nielslange.de> * Update checks to log errors and fail gracefully * Add field id to class names * Fix lint error * Fix short array use * Introduce Additional Fields API for Checkout Block https://github.com/woocommerce/woocommerce-blocks/pull/12073 * Default to text, if the type supplied is not supported throw an error * Lint fixes * Introduce Additional Fields API for Checkout Block https://github.com/woocommerce/woocommerce-blocks/pull/12073 * add support for registering checkboxes * remove extra error log * add styling * fix rebase conflit * fix rebase conflit 2 * fix linter errors * address review comments * add warning for checkbox * fix changes --------- Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com> Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> Co-authored-by: Niels Lange <info@nielslange.de> |
||
---|---|---|
.. | ||
block-error-boundary | ||
button | ||
cart-checkout | ||
combobox | ||
country-input | ||
drawer | ||
filter-element-label | ||
filter-placeholder | ||
filter-reset-button | ||
filter-submit-button | ||
form | ||
form-token-field | ||
load-more-button | ||
loading-mask | ||
noninteractive | ||
notice-banner | ||
pagination | ||
price-slider | ||
product-list | ||
product-name | ||
product-price | ||
product-rating | ||
quantity-selector | ||
read-more | ||
reviews | ||
sidebar-layout | ||
skeleton | ||
snackbar-list | ||
state-input | ||
summary | ||
tabs | ||
README.md | ||
index.ts |
README.md
WooCommerce Blocks - General Purpose Components
These are shared components used in WooCommerce blocks, and may be used in the store front end (shopper experience) as well as the editor or admin dashboard.
See Components & Storybook doc for more information.