renovate[bot]
371544a255
Update babel monorepo to v7.9.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/2409 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-06 10:59:23 +01:00
renovate[bot]
539236ff6e
Update dependency jest to v25.5.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/2412 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-06 10:58:56 +01:00
renovate[bot]
bad073d34e
Update dependency node-sass to v4.14.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/2413 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-06 10:20:07 +01:00
Rua Haszard
44346274d2
clarify various checkout block editor sidebar wording ( https://github.com/woocommerce/woocommerce-blocks/pull/2401 )
...
* tweak various checkout block editor sidebar wording
* fix accidental sentence-casing of Return to cart label
2020-05-06 09:25:41 +12:00
Rua Haszard
440ee2e3b1
move checkout submit & related elements into "main" element ( https://github.com/woocommerce/woocommerce-blocks/pull/2400 )
2020-05-05 14:19:47 +01:00
Albert Juhé Lluveras
30c281c524
Use container queries to load Cart and Checkout responsive styles ( https://github.com/woocommerce/woocommerce-blocks/pull/2370 )
...
* Use container queries to load Cart and Checkout responsive styles
* Update package-lock.json
* Make form-step react to container queries instead of media queries
* Make sidebar layout inner padding relative to the full-width
* Make container queries breakpoints smaller
2020-05-05 10:10:02 +02:00
Rua Haszard
b7d4b48b57
remove radius from Checkout submit, consistent with theme buttons ( https://github.com/woocommerce/woocommerce-blocks/pull/2390 )
2020-05-05 08:13:13 +12:00
Rua Haszard
9d0217419c
decode html entities in ProductName component ( https://github.com/woocommerce/woocommerce-blocks/pull/2389 )
2020-05-04 15:44:23 -04:00
Rua Haszard
da8fa3b870
Don't show checkout block for logged out users unless store is configured to allow guest checkout ( https://github.com/woocommerce/woocommerce-blocks/pull/2375 )
...
* expose guest checkout related options to blocks
* don't show checkout if user is not logged in and guest checkout is disabled
* checkout block doesn't yet support signup:
- if logged out / guest, don't show checkout
- even if store allows sign up at checkout
* only show login prompt if user is not logged in
* link to login page (as needed) if checkout requires login
* rejig hide login link when necessary:
- use customerId from checkout context
- revert currentUserLoggedIn setting - not needed
* add redirect param to checkout login links (so checkout can continue)
2020-05-04 15:40:09 -04:00
Albert Juhé Lluveras
b5497147d5
Fix long product names regression ( https://github.com/woocommerce/woocommerce-blocks/pull/2391 )
2020-05-04 17:15:32 +02:00
Darren Ethier
88e397154d
Add Todo Probot config ( https://github.com/woocommerce/woocommerce-blocks/pull/2384 )
...
* Add todo bot config
* tweak todo comment to test
2020-05-02 15:56:33 -04:00
Darren Ethier
76d0b9bb2e
Update release notes to reflect changes in release process.
2020-05-01 17:29:20 -04:00
Darren Ethier
1e917f5a54
Ensure stripe payment request "canMakePayment" configuration uses site country. ( https://github.com/woocommerce/woocommerce-blocks/pull/2372 )
...
* export baseLocation for `@woocommerce/settings`
* implement country code from site base location instead of cart shipping country
2020-05-01 07:24:28 -04:00
Mike Jolley
a640a230ca
Assets/Block settings: Only lookup page if ID > 0 ( https://github.com/woocommerce/woocommerce-blocks/pull/2369 )
...
* Only lookup page if ID > 0
* Check for valid post
* Maybe fix test path
2020-05-01 11:02:20 +01:00
Mike Jolley
bf8cff6f50
Rename the discount section when discount total is zero ( https://github.com/woocommerce/woocommerce-blocks/pull/2367 )
...
* Rename the discount section when discount total is zero
* Cleanup variable naming
2020-05-01 10:59:27 +01:00
Mike Jolley
a3ca37bade
Change when innerblocks are rendered ( https://github.com/woocommerce/woocommerce-blocks/pull/2366 )
2020-05-01 10:33:55 +01:00
Mike Jolley
5a39df880f
Fix summary styles and margins/padding woocommerce/woocommerce-blocks#2340 ( https://github.com/woocommerce/woocommerce-blocks/pull/2368 )
2020-05-01 10:31:09 +01:00
Rua Haszard
be968c9103
only show checkout login prompt if store allows it ( https://github.com/woocommerce/woocommerce-blocks/pull/2364 )
2020-04-30 13:54:43 +01:00
Albert Juhé Lluveras
9e7623567e
Make all font sizes accessible + add docs about font-size() mixin ( https://github.com/woocommerce/woocommerce-blocks/pull/2291 )
...
* Switch all font-sizes to use the mixin
* Add notice in coding-guidelines to use accessible font sizes
* Fix label alignment in forms with big font-sizes
* Fix Stripe input boxes font-size not being responsive
* Fix select overflowing in small font sizes
* Add rem function from woocommerce/woocommerce-blocks#2320
* Make the font-size() mixin set relative line-height values
* Convert several magic numbers to use the new mixins
* Update docs
* Update input/select paddings to use the rem mixin
* Add lineHeight comment
* Interpolate rem() mixin inside calc
* Make input padding use only relative units
2020-04-30 12:18:12 +02:00
Mike Jolley
3122447ae4
Update payment-method-integration.md
2020-04-30 10:55:57 +01:00
Mike Jolley
4c16280977
Add placeOrderButtonLabel docs
2020-04-30 10:55:26 +01:00
Mike Jolley
1fd0fa79a9
Payment methods `placeOrderButtonLabel` config ( https://github.com/woocommerce/woocommerce-blocks/pull/2362 )
...
* Add payment method configs
* Remove submitLabel
* Enhance useCheckoutSubmit to handle button text
* copy paste error
2020-04-30 10:52:36 +01:00
Mike Jolley
6df5903e0f
Checkout Block Order Summary Styles ( https://github.com/woocommerce/woocommerce-blocks/pull/2355 )
...
* Update checkout styles
* remove item prices from summary
2020-04-30 10:51:08 +01:00
Albert Juhé Lluveras
2593c711ad
Fix payment method error notices issues ( https://github.com/woocommerce/woocommerce-blocks/pull/2352 )
...
* Prevent payment method errors appearing twice. Fixes woocommerce/woocommerce-blocks#2327
* Remove payment method errors on submit. Fixes woocommerce/woocommerce-blocks#2217
* Simplify useEffect dependencies
* Pass context name to removeNotice
2020-04-30 11:43:56 +02:00
Darren Ethier
06d84997e5
Update testing instructions cart stock error.
2020-04-29 16:01:52 -04:00
Albert Juhé Lluveras
fce0e2d71c
Fix Cart block interaction in the editor (mobile) ( https://github.com/woocommerce/woocommerce-blocks/pull/2354 )
...
* Prevent SnackbarList from loading in the editor
* Fix snackbar styles leaking into the editor
* Prevent 'Proceed to Checkout' button being fixed to the bottom in the editor
2020-04-29 17:45:29 +02:00
Mike Jolley
8424934149
Update API status codes ( https://github.com/woocommerce/woocommerce-blocks/pull/2353 )
...
* Update HTTP status codes
* Catch JSON parsing errors.
2020-04-29 15:47:05 +01:00
Rua Haszard
7abe9dffb3
align cart main heading and totals sidebar heading: ( https://github.com/woocommerce/woocommerce-blocks/pull/2346 )
...
- set appropriate padding for main cart container
- card padding is currently provided by Gutenberg component (?)
- overriding padding on totals card to match main container
2020-04-29 13:35:42 +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
Albert Juhé Lluveras
60cf16a334
Fix low stock badge not breaking in a new line ( https://github.com/woocommerce/woocommerce-blocks/pull/2348 )
2020-04-29 12:57:04 +02:00
Darren Ethier
58abb408c2
make sure we import from external not direct files ( https://github.com/woocommerce/woocommerce-blocks/pull/2330 )
2020-04-29 11:20:52 +01:00
Mike Jolley
8c88870d2d
Merge branch 'add/pin-woocommerce'
2020-04-29 11:07:02 +01:00
renovate[bot]
cb467c8696
Update dependency @types/wordpress__data to v4.6.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/2333 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 10:53:21 +01:00
Mike Jolley
afe5f4d706
Update shipping should extend the correct route ( https://github.com/woocommerce/woocommerce-blocks/pull/2328 )
2020-04-29 10:44:07 +01:00
renovate[bot]
4785151037
Update Node.js to v12.16.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/2331 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 10:25:12 +01:00
renovate[bot]
0a6c23ba8e
Update dependency @stripe/stripe-js to v1.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/2332 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 10:24:52 +01:00
renovate[bot]
9c41e1bfcc
Update dependency @types/wordpress__element to v2.4.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/2334 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 10:23:55 +01:00
renovate[bot]
808e40a089
Update dependency css-loader to v3.5.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/2336 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 10:23:29 +01:00
renovate[bot]
a9b14b2b4e
Update dependency jest to v25.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/2337 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 10:23:13 +01:00
Rua Haszard
1b596b94dc
Quantity badge white separator + center tweak ( https://github.com/woocommerce/woocommerce-blocks/pull/2347 )
...
* add extra white border to quantity badge
* nudge checkout quantity badge so it's roughly centered with image corner
2020-04-29 10:22:12 +01:00
Mike Jolley
a58420a60e
Table creation validation for install routine ( https://github.com/woocommerce/woocommerce-blocks/pull/2287 )
...
* Bump package version for testing
* New install routine and db version
* Revert "Bump package version for testing"
This reverts commit c3fee55a34e75429b731cd7a2cc07e841010df6d.
* Update bootstrap to ensure blocks is installed properly before tests are ran
* Restore errors after install
* Use enabled method instead of comparing db version
* Moved installer code to admin_init
* Tweak test bootstrap
2020-04-28 16:36:37 +01:00
Mike Jolley
ad93ddd891
Add PayPal Standard ( https://github.com/woocommerce/woocommerce-blocks/pull/2288 )
...
* Add paypal files
* Add PayPal Icon/resolve feedback
2020-04-28 11:13:48 +01:00
Seghir Nadir
476ae5dcd5
remove order note ( https://github.com/woocommerce/woocommerce-blocks/pull/2318 )
2020-04-28 11:07:05 +01:00
renovate[bot]
0a9ce1206b
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/2290 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 17:26:29 +01:00
Seghir Nadir
797ded1efc
Add notice errors to add to cart button and All products ( https://github.com/woocommerce/woocommerce-blocks/pull/2278 )
...
* expose errors when adding to cart
* clear notices
* make notice dismissible
* decode entities
2020-04-27 17:24:54 +01:00
Mike Jolley
e85b6fe9a9
Inject block attributes rather than save them ( https://github.com/woocommerce/woocommerce-blocks/pull/2273 )
...
* Inject attributes rather than saving them
* Update snaps
2020-04-27 12:06:58 -04:00
Mike Jolley
30ecea188f
Avoid loading Assets API during REST requests ( https://github.com/woocommerce/woocommerce-blocks/pull/2286 )
...
* Move is built to method
* Moved payment related logic into single controller class for better organization
* Only load assets on non-rest requests
2020-04-27 16:51:50 +01:00
Seghir Nadir
d70174aa57
Pin WooCommerce version
2020-04-26 14:30:31 +01:00
Mike Jolley
e5589727fc
Support itemized taxes ( https://github.com/woocommerce/woocommerce-blocks/pull/2276 )
2020-04-24 14:44:44 +01:00
Mike Jolley
8bf58b4596
Trigger fragment refresh after editing cart item quantities ( https://github.com/woocommerce/woocommerce-blocks/pull/2266 )
...
* Make util to fire legacy events
* Update button to use util
* Trigger event when quantity changes
* Trigger event on removal
* Move comments to util
2020-04-24 14:41:32 +01:00