Darren Ethier
9115160c2f
Enable and fix all jsdoc rule violations ( https://github.com/woocommerce/woocommerce-blocks/pull/3168 )
...
* add param jsdocs to satisfy jsdoc require-param rule
* Fix jsdoc-checktypes rule violations
* fix jsdoc/require-param-type rule violations
* fix jsdoc/check-param-names violations
* fix jsdoc/require-property-description rule violations
* fix rule violations for jsdoc/valid-types rule
* fix rule violations for jsdoc/require-property rule
* fix jsdoc/no-undefined-types rule violations
* fix jsdoc/check-types rule violations
* fix jsdoc/require-returns-description rule violation
* enable jsdoc/require-returns-type rule
* fix jsdoc/newline-after-description rule violations
2020-09-20 19:54:08 -04:00
Albert Juhé Lluveras
610e082f9c
Update base/components classnames ( https://github.com/woocommerce/woocommerce-blocks/pull/2711 )
...
* Update base/components classnames
* Fix class name conflict
* Fix some class names mismatch
* Fix review loading placeholder styles
* Fix docs format
* Update old class name
* Fix price slider regression
* Fix load more button component missing legacy class
* Fix wrong loading mask styles classname
* Remove 'checkout' from 'wc-block-components-checkout-payment-methods__save-card-info' classname
* Make it explicit legacy classes will be removed in the next major version
* Make product variation data styles belong to product metadata
* Improve docs sentence
2020-06-17 11:53:42 +02:00
Mike Jolley
24035a1508
Update Stripe Method to display generic icon and text in label, with cards below ( https://github.com/woocommerce/woocommerce-blocks/pull/2466 )
...
* Support card alignment as a prop
* Add generic card icon to stripe
* Add icons to stripe content
* Update styles
* Label element with icon whitelist
* Update assets/js/base/components/payment-methods/payment-methods.js
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
* Remove activePaymentMethod
* Remove spread operator
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2020-05-13 16:48:03 +01:00
Mike Jolley
95809b30bb
Update payment method config to include icons ( https://github.com/woocommerce/woocommerce-blocks/pull/2267 )
...
* Remove strong and cleanup existing configs
* Fix TS validation for blocks-registry
* Allow label to be string
* Split up button and icons for cart
* Make icons and payment methods available on cart page
* Fix payment method enqueuing
* Icon normalization and Stripe implementation
* PayPal Icon
* adjust spacing
* Fix string handling
* Remove paypal icon config
* Check for an object before creating icon
* Add payment icons to Stripe label
* Update common-icons.js
* Update Cart.php
* Update jest.config.json
2020-04-29 11:57:58 +01:00