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
8bb217cec6
Show express payment methods in the Cart block ( https://github.com/woocommerce/woocommerce-blocks/pull/3004 )
...
* Shown express payment methods in Cart block
* Fixes
* Create usePositionRelativeToViewport hook
* Typo
* Style fixes
* Remove footer push div
* Styling fixes
* Improve code clarity
* Split ExpressCheckoutFormControl into two components
* Rename visibilityObserver to referenceElement
* Replace 'useEffect' with 'useLayoutEffect'
* Add tests for usePositionRelativeToViewport
* Self-closing div
* Add explanatory comment
* Create a shim for IntersectionObserver
* Update express payment components class names
* Add todo comment to remove IntersectionObserver shim when we drop IE11 support
2020-08-20 16:14:12 +02:00
Mike Jolley
d25d233f27
Replace usage of `cart-checkout/button` with `@woocommerce/base-components/button` ( https://github.com/woocommerce/woocommerce-blocks/pull/2781 )
...
* Change to base component
* Remove todo
2020-06-25 16:50:48 +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