woocommerce/plugins/woocommerce-blocks/assets/js/base/components
Darren Ethier fb3cae67e6 Implement Stripe CC and Stripe ApplePay payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/1983)
* Server side changes for payment method integrations

Including adding a stripe class temporarily

* update needed npm packages (and add some types)

* updates to contexts

* remove stepContent from payment config for payment methods

* update payment method interface and typedefs

Exposing a components property to pass along components that payment methods can use (so we keep styles consistent for them)

* add apple pay and stripe cc integration and remove paypal

* remove save payment checkbox from checkout block

It is handled by payment methods.

* Include an id prop for tabs

* fix activePaymentMethod pass through on rendered payment method element

also adds an id for the rendered tab

* add styles for payment method fields

If payment methods use these classes for their fields then the styles will get applied. It _could_ allow for consistent styling, we may have to provide design documentation for this?

These are styles in cases where payment methods have to use elements provided by the gateway (eg. Stripe elements). In future iterations we could look at providing components to payment methods to use (if they aren’t restricted by the gateway).

* fix rebase conflict

* do a test payment request for applePay to determine if the current browser supports it

* don’t console.error for stripe loading.

* Fix placeholder errors in the editor

* improve styling and add missing validation for inline card element

* update pacakge-lock

* rename payment-methods-demo folder to payment-methods-extension

* expose checkbox control on payment method interface

* export payment-methods-extension to it’s own asset build

This allows us to more accurately demonstrate how payment extensions would hook in to the blocks.

* don’t enqueue a style that doesn’t exist

* add full stop to comments and remove obsolete comment blcok

* fix spacing

* switch `activeContent` to `content` for payment method registration config
2020-03-30 08:07:49 -04:00
..
address-form Decode address entities in shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/2009) 2020-03-24 11:28:19 +01:00
block-error-boundary Cart and checkout error boundaries (https://github.com/woocommerce/woocommerce-blocks/pull/1853) 2020-03-06 11:43:40 +00:00
cart-checkout Add Checkout form validation (https://github.com/woocommerce/woocommerce-blocks/pull/1993) 2020-03-23 12:22:00 +01:00
checkbox-control Add styling to checkboxes (https://github.com/woocommerce/woocommerce-blocks/pull/1880) 2020-03-06 11:26:03 +01:00
checkbox-list fix translation quantities (https://github.com/woocommerce/woocommerce-blocks/pull/1415) 2019-12-19 10:22:53 +01:00
checkout Add no payment methods placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/1998) 2020-03-20 12:48:11 -04:00
chip Update snapshot to fix broken tests 2020-02-27 11:53:12 +00:00
country-input Add Checkout form validation (https://github.com/woocommerce/woocommerce-blocks/pull/1993) 2020-03-23 12:22:00 +01:00
dropdown-selector All Products & filters accessibility improvements (https://github.com/woocommerce/woocommerce-blocks/pull/1656) 2020-01-30 11:04:39 +01:00
filter-submit-button All Products & filters accessibility improvements (https://github.com/woocommerce/woocommerce-blocks/pull/1656) 2020-01-30 11:04:39 +01:00
formatted-monetary-amount show discount on cart line items & price styling (https://github.com/woocommerce/woocommerce-blocks/pull/1548) 2020-01-15 09:52:42 +13: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 dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
loading-mask Add isLoading property (https://github.com/woocommerce/woocommerce-blocks/pull/1788) 2020-02-21 14:08:57 +00:00
pagination All Products & filters accessibility improvements (https://github.com/woocommerce/woocommerce-blocks/pull/1656) 2020-01-30 11:04:39 +01:00
payment-methods Implement Stripe CC and Stripe ApplePay payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/1983) 2020-03-30 08:07:49 -04:00
price-slider Basic storybook implementation (https://github.com/woocommerce/woocommerce-blocks/pull/1636) 2020-01-31 09:59:14 +13:00
product-list Update empty states (https://github.com/woocommerce/woocommerce-blocks/pull/1996) 2020-03-19 15:50:36 +00:00
product-list-item Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
product-sort-select Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
quantity-selector Support updating quantity of cart items & sold_individually product option (https://github.com/woocommerce/woocommerce-blocks/pull/1824) 2020-03-03 14:08:19 +13:00
radio-control Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
read-more Basic storybook implementation (https://github.com/woocommerce/woocommerce-blocks/pull/1636) 2020-01-31 09:59:14 +13:00
review-list Use wc_review_ratings_enabled() API function to check if review ratings are enabled (https://github.com/woocommerce/woocommerce-blocks/pull/1374) 2019-12-13 18:13:11 +01:00
review-list-item Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
review-sort-select Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
select Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
shipping-calculator Add Checkout form validation (https://github.com/woocommerce/woocommerce-blocks/pull/1993) 2020-03-23 12:22:00 +01:00
shipping-location Update and select shipping rates dynamically (https://github.com/woocommerce/woocommerce-blocks/pull/1794) 2020-03-05 20:54:05 +01:00
shipping-rates-control fix rates not updating if you change coupon (https://github.com/woocommerce/woocommerce-blocks/pull/2026) 2020-03-26 13:43:11 +01:00
sidebar-layout Fix build issues for production builds (https://github.com/woocommerce/woocommerce-blocks/pull/2042) 2020-03-27 16:56:48 -04:00
sort-select Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
state-input Add Checkout form validation (https://github.com/woocommerce/woocommerce-blocks/pull/1993) 2020-03-23 12:22:00 +01:00
store-notices-container Add snackbar notices to notices system and implement for coupon ui/ux (https://github.com/woocommerce/woocommerce-blocks/pull/1973) 2020-03-16 16:57:12 -04:00
tabs Implement Stripe CC and Stripe ApplePay payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/1983) 2020-03-30 08:07:49 -04:00
text-input Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
totals Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
validation Add Checkout form validation (https://github.com/woocommerce/woocommerce-blocks/pull/1993) 2020-03-23 12:22:00 +01:00