woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout
Thomas Roberts ee9b2d20e0 Move `TextInput` to checkout package and allow it to be used for input type=number (https://github.com/woocommerce/woocommerce-blocks/pull/4238)
* Move text-input to checkout package

* Pass validation props directly to ValidatedTextInput

* Import label relatively instead of from package

* Pass validation functions to ValidatedTextInput

This is so it doesn't need to get them from useValidationContext.

* Add InputProps to ValidatedTextInput

This will be used to control additional props on the input element of TextInput

* Spread inputProps onto <input> element of TextInput

* Export TextInput from @woocommerce/blocks-checkout

* Add @woocommerce/blocks-checkout package to tsconfig

* Allow styling to be applied to number inputs and when value is 0

* Make style order consistent

* Remove inputProps to rely on rest in TextInput

* Add specific prop for the inputErrorComponent

* Only disallow active state if value is 0 AND type is number

* Change all uses of ValidatedTextInput to also pass inputErrorComponent

* Revert "Change all uses of ValidatedTextInput to also pass inputErrorComponent"

This reverts commit ec734b99c20c4d29fcf778714246fc406ee37eaf.

* Revert "Remove inputProps to rely on rest in TextInput"

This reverts commit 1fc64cca4002206423d1fa443ff2d60130ba1ea0.

* Revert "Revert "Change all uses of ValidatedTextInput to also pass inputErrorComponent""

This reverts commit 110e3606a996668be5a32698b634b7706d16cddc.

* Revert "Revert "Remove inputProps to rely on rest in TextInput""

This reverts commit aeb03526c44b3fcc97a719a18930d08157a80baf.

* Don't pass errorMessage to ValidatedTextInput
2021-05-20 17:56:56 +01:00
..
checkout-order-error Switch to `rest_preload_api_request` for API hydration in cart and checkout blocks. (https://github.com/woocommerce/woocommerce-blocks/pull/4090) 2021-04-27 11:16:23 +01:00
empty-cart Only use SHOP_URL if set (https://github.com/woocommerce/woocommerce-blocks/pull/3845) 2021-02-17 15:17:54 +00:00
form Move `TextInput` to checkout package and allow it to be used for input type=number (https://github.com/woocommerce/woocommerce-blocks/pull/4238) 2021-05-20 17:56:56 +01:00
sidebar Update design of cart and checkout sidebars (https://github.com/woocommerce/woocommerce-blocks/pull/4180) 2021-05-17 15:00:57 +01:00
attributes.js Update design of cart and checkout sidebars (https://github.com/woocommerce/woocommerce-blocks/pull/4180) 2021-05-17 15:00:57 +01:00
block.js Update design of cart and checkout sidebars (https://github.com/woocommerce/woocommerce-blocks/pull/4180) 2021-05-17 15:00:57 +01:00
edit.js Update design of cart and checkout sidebars (https://github.com/woocommerce/woocommerce-blocks/pull/4180) 2021-05-17 15:00:57 +01:00
editor.scss Use real previews for the Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2992) 2020-08-13 14:24:51 +01:00
frontend.js Move Block Type Settings into Block Type Classes (https://github.com/woocommerce/woocommerce-blocks/pull/4059) 2021-04-22 12:37:27 +01:00
index.js Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
style.scss Update design of cart and checkout sidebars (https://github.com/woocommerce/woocommerce-blocks/pull/4180) 2021-05-17 15:00:57 +01:00
utils.js Use wp_login_url instead of hardcoding login path (https://github.com/woocommerce/woocommerce-blocks/pull/3090) 2020-09-01 10:56:11 +01:00