woocommerce/plugins/woocommerce-blocks/assets/js
Seghir Nadir 8ecfcfb9a0
Add Checkbox support for Additional Fields in Checkout Block (#42780)
* 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>
2023-12-18 13:21:36 +01:00
..
atomic Product gallery/legacy/transform (#42719) 2023-12-14 05:47:48 -08:00
base Add Checkbox support for Additional Fields in Checkout Block (#42780) 2023-12-18 13:21:36 +01:00
blocks Add Checkbox support for Additional Fields in Checkout Block (#42780) 2023-12-18 13:21:36 +01:00
blocks-registry Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
data Introduce Additional Fields extensibility API (#42695) 2023-12-15 13:45:38 +01:00
editor-components Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
extensions Allow HTML in built in payment method descriptions 2023-12-13 14:37:21 +00:00
filters Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
hocs Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909) 2023-12-08 11:39:31 +00:00
icons Bump @wordpress/icons from 6.1.1 to 9.36.0 (https://github.com/woocommerce/woocommerce-blocks/pull/11611) 2023-11-16 17:40:53 +00:00
interactivity Migrate interactivity stock filter to new store API, add improvements and bugfixes (https://github.com/woocommerce/woocommerce-blocks/pull/11827) 2023-11-27 17:26:01 +13:00
middleware Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
previews Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
settings Add Checkbox support for Additional Fields in Checkout Block (#42780) 2023-12-18 13:21:36 +01:00
shared Convert inner-block-layout-context to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/9799) 2023-06-14 06:36:39 -07:00
templates/revert-button update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
types Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909) 2023-12-08 11:39:31 +00:00
utils Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909) 2023-12-08 11:39:31 +00:00
global.d.ts WIP - Checkout i2 Feature Branch Tracking (https://github.com/woocommerce/woocommerce-blocks/pull/4268) 2021-07-22 12:03:00 +01:00
index.js Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00