woocommerce/plugins/woocommerce-blocks/assets/js/base/components
Albert Juhé Lluveras d641d2e1a4 Don't throw an error when registering a payment method fails (https://github.com/woocommerce/woocommerce-blocks/pull/3134)
* Show all payment methods when it's an admin and let the error boundary handle errors

* Use StoreNoticesContainer in Payment method error boundary so notices have styling

* Filter out saved payment methods for admin users if they don't accept payments

* Simplify update options logic

* For admins, only show payment methods that errored but canPay was not false

* Simplify how new payment method option is appended

* Wrap canMakePayment in a try catch block to handle payment methods that throw an error

* Add an id to payment method error boundary errors

* Add an error boundary to express payment methods

* Hardcode failing content and savePaymentInfo to false if the payment method failed

* Add some new comments

* Add a notice instead of registering the payment method if it fails and user is admin

* Throw error early if stripe failed to load

* Split express and standard payment method error notices

* Don't add payment methods in the editor and instead add a notice

* Fix error id

* Use noticeContext constant

* Add missing JSdoc param

* Remove unnecessary removeNotice
2020-09-18 12:27:54 +02:00
..
block-error-boundary Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
button Replace usage of `cart-checkout/button` with `@woocommerce/base-components/button` (https://github.com/woocommerce/woocommerce-blocks/pull/2781) 2020-06-25 16:50:48 +01:00
cart-checkout Fix State label for Spain (https://github.com/woocommerce/woocommerce-blocks/pull/3147) 2020-09-16 10:50:24 +02:00
checkbox-control Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
checkbox-list Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
chip Remove classes from dashicons (https://github.com/woocommerce/woocommerce-blocks/pull/2848) 2020-07-10 14:20:57 -04:00
country-input useMemo for complex computations in Country/State inputs (https://github.com/woocommerce/woocommerce-blocks/pull/3107) 2020-09-03 10:02:26 +02:00
dropdown-selector Remove classes from dashicons (https://github.com/woocommerce/woocommerce-blocks/pull/2848) 2020-07-10 14:20:57 -04:00
filter-submit-button Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
form Split Checkout form component into smaller files (II) (https://github.com/woocommerce/woocommerce-blocks/pull/3106) 2020-09-07 17:43:05 +02:00
formatted-monetary-amount Add theming docs (https://github.com/woocommerce/woocommerce-blocks/pull/2691) 2020-06-11 19:38:31 +02:00
label Add 'Go' button to Attribute Filter (https://github.com/woocommerce/woocommerce-blocks/pull/1332) 2019-12-06 16:36:55 +01:00
load-more-button Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
loading-mask Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
pagination Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
panel Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
payment-methods Don't throw an error when registering a payment method fails (https://github.com/woocommerce/woocommerce-blocks/pull/3134) 2020-09-18 12:27:54 +02:00
price-slider Add @woocommerce/eslint-plugin dependency (https://github.com/woocommerce/woocommerce-blocks/pull/3115) 2020-09-07 13:31:10 -04:00
product-list Add Inner Block Rendering and Atomic Block Styles (https://github.com/woocommerce/woocommerce-blocks/pull/2607) 2020-06-05 13:18:16 +01:00
product-list-item ⚛️ Introduce Product Element Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2871) 2020-07-22 13:20:54 +01:00
product-price Merge ProductPrice atomic block and component (https://github.com/woocommerce/woocommerce-blocks/pull/3065) 2020-09-14 12:56:10 +02:00
product-sort-select Add theming docs (https://github.com/woocommerce/woocommerce-blocks/pull/2691) 2020-06-11 19:38:31 +02:00
quantity-selector Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
radio-control Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
read-more Basic storybook implementation (https://github.com/woocommerce/woocommerce-blocks/pull/1636) 2020-01-31 09:59:14 +13:00
reviews Use WooCommerce thumbnail images in Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2755) 2020-06-23 13:25:28 +01:00
select Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
sidebar-layout Fix Cart&Checkout layout broken in some themes (https://github.com/woocommerce/woocommerce-blocks/pull/3111) 2020-09-07 17:39:53 +02:00
sort-select Add theming docs (https://github.com/woocommerce/woocommerce-blocks/pull/2691) 2020-06-11 19:38:31 +02:00
state-input Create DebouncedValidatedTextInput component (https://github.com/woocommerce/woocommerce-blocks/pull/3108) 2020-09-07 19:03:04 +02:00
store-notices-container Add to cart context provider (https://github.com/woocommerce/woocommerce-blocks/pull/2903) 2020-07-30 11:57:22 +01:00
summary Remove API summaries in favour of client side code (https://github.com/woocommerce/woocommerce-blocks/pull/2387) 2020-05-06 11:30:15 +01:00
tabs Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
text-input Create DebouncedValidatedTextInput component (https://github.com/woocommerce/woocommerce-blocks/pull/3108) 2020-09-07 19:03:04 +02:00
textarea Add dark colors support to Cart & Checkout controls (https://github.com/woocommerce/woocommerce-blocks/pull/2981) 2020-08-14 12:08:16 +01:00
title Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
validation Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
README.md clarify intentions / purpose of different component folders in docs (https://github.com/woocommerce/woocommerce-blocks/pull/3025) 2020-08-27 08:15:16 +12:00

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.