Albert Juhé Lluveras
1e2bc1ee72
SearchListControl styles cleanup ( https://github.com/woocommerce/woocommerce-blocks/pull/3604 )
...
* Update comment about styles that have been upstreamed
* Remove code that has been upstreamed long time ago
* Fix wrong PR number in comment
2020-12-29 17:02:09 +01:00
Mike Jolley
8763965019
Add the "Fix package lock" script ( https://github.com/woocommerce/woocommerce-blocks/pull/3465 )
...
* Add package lock script
* remove -e
* tweak error handling
* more tweaks
* use fetch
* --no-keep-empty
* rebase test
* auto resolve rebase
* git add .
* try checking out
* rm
* remove problematic rebase
* Feedback/instructions
* dupe
2020-12-28 11:41:46 +01:00
github-actions[bot]
a8977ac8fd
Release: 4.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/3600 )
...
* update readme
* add testing notes
* fix typo
* update readme
* add zip
* fix title version
* Bumping version strings to new version.
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2020-12-24 15:40:58 +01:00
Mohammed Faragallah
35363c8595
fix: shipping_address/billing_address use properties instead on items ( https://github.com/woocommerce/woocommerce-blocks/pull/3599 )
2020-12-24 15:10:44 +01:00
Seghir Nadir
3d92a61102
Fix nonce issues when adding product to cart from All Products ( https://github.com/woocommerce/woocommerce-blocks/pull/3598 )
...
* Products extend cart route
* load cart in products
2020-12-24 12:00:51 +01:00
Thomas Roberts
84f83f840c
Get the latest stable version of WooCommerce for PHPUnit testing ( https://github.com/woocommerce/woocommerce-blocks/pull/3594 )
2020-12-23 16:10:25 +01:00
Seghir Nadir
863275bf6b
sync shipping with billing when shipping is disabled ( https://github.com/woocommerce/woocommerce-blocks/pull/3593 )
...
* sync shipping with billing when shipping is disabled
* default to billing data if shipping is disabled
2020-12-23 16:10:13 +01:00
Rua Haszard
34f364e708
respect merchant setting for Stripe CC `title`: ( https://github.com/woocommerce/woocommerce-blocks/pull/3568 )
...
- expose title setting to client and use in UI
2020-12-23 08:52:37 +13:00
Rua Haszard
0783108d19
use consistent product name `WooCommerce Blocks` ( https://github.com/woocommerce/woocommerce-blocks/pull/3567 )
...
* use consistent product name `WooCommerce Blocks:
- readme.md title
+ update product vision paragraph
- update references in readme.txt preamble
- update in tests bootstrap message
* add WCCOM/docs links front & centre in readme for convenience
2020-12-23 08:49:45 +13:00
Albert Juhé Lluveras
257c970726
Don't add the hidden class name to elements with the hidden attribute ( https://github.com/woocommerce/woocommerce-blocks/pull/3582 )
...
* Revert "Add 'hidden' class name when using the 'hidden' attribute"
This reverts commit 0332e33a60a516506718e8ed4659e45d32dc80a4.
* Add styles for hidden panel content
* Add docs about account for the hidden attribute in styles
* Update docs/theming/README.md
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
2020-12-22 10:26:59 +01:00
Seghir Nadir
a713e56c7a
use ReplaceMediaFlow in featured category and feature product ( https://github.com/woocommerce/woocommerce-blocks/pull/3579 )
...
* use ReplaceMediaFlow in featured category
* use ReplaceMediaFlow in featured product
* remove redudant prop
2020-12-21 17:09:10 +01:00
Seghir Nadir
94d8d580a2
Fix isDefault on Buttons and switch Toolbar with ToolbarGroup ( https://github.com/woocommerce/woocommerce-blocks/pull/3577 )
...
* Fix isDefault notice
* fix Toolbar to ToolbarGroup
2020-12-21 17:03:54 +01:00
Seghir Nadir
800f3c9624
Fix direct call to setState in EditProductSearch body ( https://github.com/woocommerce/woocommerce-blocks/pull/3578 )
2020-12-21 16:56:58 +01:00
Bartosz Budzanowski
9cfa54579d
Fix data type used for paymentData.paymentMethods handling. ( https://github.com/woocommerce/woocommerce-blocks/pull/3576 )
...
* Fix data type for used paymentData.paymentMethods.
* This check is no longer necessary.
2020-12-21 16:32:59 +01:00
Albert Juhé Lluveras
7ea0aa4fbc
Use em for coupon code button height ( https://github.com/woocommerce/woocommerce-blocks/pull/3575 )
2020-12-21 14:49:43 +01:00
Albert Juhé Lluveras
4197cfdb2d
Add 'hidden' class name when using the 'hidden' attribute ( https://github.com/woocommerce/woocommerce-blocks/pull/3569 )
2020-12-21 14:47:51 +01:00
Albert Juhé Lluveras
5d01c8d781
Merge markup from Product Title atomic block and ProductName component ( https://github.com/woocommerce/woocommerce-blocks/pull/3562 )
...
* Merge markup from ProductTitle atomic block and ProductName component
* Add test
* Remove duplicate decodeEntities call
* Minor improvements
2020-12-21 14:45:27 +01:00
Albert Juhé Lluveras
e169929c89
Fix product list images skewed in Widgets editor ( https://github.com/woocommerce/woocommerce-blocks/pull/3553 )
2020-12-21 14:40:39 +01:00
Albert Juhé Lluveras
e3d97d7387
Fix Fees not visible in Cart & Checkout blocks when order doesn't need shipping ( https://github.com/woocommerce/woocommerce-blocks/pull/3521 )
2020-12-21 14:15:27 +01:00
Albert Juhé Lluveras
28ffe1be49
Replace IconButton component with Button ( https://github.com/woocommerce/woocommerce-blocks/pull/3547 )
...
* Replace IconButton component with Button
* Fix All Products editor.scss file not included by Webpack
2020-12-21 14:11:13 +01:00
Bartosz Budzanowski
e2e934ec46
Remove customer saved payment methods from context if they are not enabled. ( https://github.com/woocommerce/woocommerce-blocks/pull/3551 )
...
* For gateways with disabled saved payment metods, don't show saved items in context.
* Fix style.
* Update name.
* Simplify and fix.
* Whitespace.
* Revert for another PR.
* Formatting fix.
2020-12-21 12:07:31 +01:00
Rua Haszard
ceff92b4b8
add fallback screen reader styles ( https://github.com/woocommerce/woocommerce-blocks/pull/3557 )
...
* add fallback screen reader styles
* use shared blocks screen-reader styles from mixin:
- tweak mixin to align with focus-reveal style
- add new mixin for focus-reveal style, since it is coupled to
visually-hidden mixin
2020-12-18 08:05:17 +13:00
Mike Jolley
55f0bc73a6
Fix Address Validation in the Store API and client ( https://github.com/woocommerce/woocommerce-blocks/pull/3552 )
...
* Trim input values before validation on Checkout
* Fixes required field checking at schema level
* Require country during checkout and ensure values are formatted
* Add handling for rest_invalid_param messages
* Remove prepare_address_fields - handled by schema
* Add address validation to OrderController
* Implement address validation
* Error errors from all endpoints more gracefully
* update non-true description
* required prop
* Update tests
* Fix equalityFn so updates are triggered when address changes
* Remove debounce so fields update if context changes
* Update src/StoreApi/Schemas/AbstractAddressSchema.php
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Add missing wp_unslash
* Validate allowed countries should block checkout if no countries are allowed
* Type in locale variable
* Update assets/js/base/utils/errors.js
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
* Fix validator calls
* Remove refererence
* Restore onChange order
* eslint fix
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2020-12-17 14:52:44 +00:00
Darren Ethier
e6a4354777
Update close-stale-issues.yml
...
Fix heading spacing
2020-12-17 06:04:56 -05:00
Darren Ethier
2443e9082f
Update close-stale-issues.yml
...
Fix quotes in yml
2020-12-16 16:12:40 -05:00
Darren Ethier
2369006de5
Update 390.md
2020-12-16 13:26:35 -05:00
Darren Ethier
796c101675
Update 390.md
...
clarify some testing notes.
2020-12-16 11:05:50 -05:00
Thomas Roberts
ef081ef8a2
Fix select inputs when dark mode is enabled in Twenty Twenty-One ( https://github.com/woocommerce/woocommerce-blocks/pull/3554 )
...
* Add CSS rules for dark mode theme setting in Twenty Twenty-One
This is required because the theme may be set to dark mode independently of the browser. The reason we need two rules for this is because the checkout block can be set to have dark mode inputs too, so this rule doesn't need to apply then.
* Add theme-specific class for Twenty Twenty-One
2020-12-16 16:01:46 +00:00
renovate[bot]
0e12c88bf2
chore(deps): update dependency commander to v6.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/3558 )
...
* chore(deps): update dependency commander to v6.2.1
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-16 15:09:11 +00:00
renovate[bot]
7fc6fcc5f4
chore(deps): update dependency @types/jest to v26.0.19 ( https://github.com/woocommerce/woocommerce-blocks/pull/3556 )
...
* chore(deps): update dependency @types/jest to v26.0.19
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-16 13:57:26 +00:00
renovate[bot]
0821550c5a
chore(deps): update babel monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/3555 )
...
* chore(deps): update babel monorepo
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-16 12:59:25 +00:00
renovate[bot]
553f8e6da6
chore(deps): update dependency postcss to v8.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/3559 )
...
* chore(deps): update dependency postcss to v8.2.1
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-16 11:00:58 +00:00
Albert Juhé Lluveras
56485d6da5
Rename version compare functions to isWpVersion and isWcVersion and add docblocks ( https://github.com/woocommerce/woocommerce-blocks/pull/3548 )
...
* Add docblocks to compareWithWpVersion and compareWithWooVersion
* Rename functions to isWpVersion and isWcVersion
2020-12-15 16:10:24 +01:00
Darren Ethier
9071cc3a80
GitHub Stale Action: Tweak message for stale activity and bump close boundary ( https://github.com/woocommerce/woocommerce-blocks/pull/3550 )
...
* Tweak message for stale activity and bump close boundary
Temporarily, bump the close boundary to 20 days to cover the holiday period.
* revert bump to 90 days
2020-12-15 06:01:44 -05:00
renovate[bot]
e1c5ec4020
fix(deps): pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/3526 )
...
* fix(deps): pin dependencies
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-14 16:33:41 +00:00
renovate[bot]
863c07d105
chore(deps): update dependency mini-css-extract-plugin to v1.3.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/3531 )
...
* chore(deps): update dependency mini-css-extract-plugin to v1.3.3
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-14 15:52:45 +00:00
renovate[bot]
7705a87f76
chore(deps): update dependency autoprefixer to v10.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/3528 )
...
* Update dependency autoprefixer to v10.1.0
* Lockfile maintenance
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-14 14:41:49 +00:00
dependabot[bot]
710343e6d2
Bump ini from 1.3.5 to 1.3.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/3545 )
...
* Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
* Lockfile maintenance
* Lockfile maintenance
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2020-12-14 13:40:16 +00:00
Mike Jolley
6e66799414
Update usage of legacy packages (inc. ServerSideRender) ( https://github.com/woocommerce/woocommerce-blocks/pull/3541 )
...
* Use the @wordpress/server-side-render package
* Add @wordpress/server-side-render dependency
* Update requiredPackagesInWPLegacy for 5.4 support
* Update package lock
2020-12-14 11:55:05 +00:00
Mike Jolley
f459ad664c
Switch to Fragment Short Syntax (`<>`) ( https://github.com/woocommerce/woocommerce-blocks/pull/3536 )
...
* Replace Fragment with shorthand
* Update eslint rules for short fragment syntax
2020-12-14 11:54:34 +00:00
Albert Juhé Lluveras
02174c5431
Add stories to Cart & Checkout totals components ( https://github.com/woocommerce/woocommerce-blocks/pull/3533 )
...
* Add stories to Cart & Checkout totals components
* Create @woocommerce/knobs alias
* Update TotalsFooterItem default values so they are in line with other stories
2020-12-14 09:15:50 +01:00
Albert Juhé Lluveras
baa97e528f
Update minimum required WP version to 5.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/3537 )
...
* Update minimum required WP version to 5.4
* Remove WP legacy version check in blocks registration
* Remove no longer needed version check
2020-12-10 15:39:04 +01:00
Mike Jolley
dc0220a98c
Add Close stale issues workflow ( https://github.com/woocommerce/woocommerce-blocks/pull/3540 )
2020-12-10 12:45:17 +00:00
Rua Haszard
87d9b01dfb
Add storybook demo for CheckboxControl ( https://github.com/woocommerce/woocommerce-blocks/pull/3030 )
...
* story for CheckboxControl aka Checkbox
* Rename exported story to Default and use correct component name
This keeps our stories more consistent
2020-12-10 10:38:26 +00:00
renovate[bot]
09009e4f8e
Update dependency core-js to v3.8.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/3529 )
...
* Update dependency core-js to v3.8.1
* manual refresh lock file
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
2020-12-10 16:10:57 +13:00
Rua Haszard
f8208f8c63
Revert "experiment: remove core-js dependency, suspect unused 🧐 "
...
This reverts commit f1794c334f
.
2020-12-10 15:21:19 +13:00
Rua Haszard
f1794c334f
experiment: remove core-js dependency, suspect unused 🧐
2020-12-10 15:19:34 +13:00
renovate[bot]
3109ce7483
Update dependency @types/jest to v26.0.18 ( https://github.com/woocommerce/woocommerce-blocks/pull/3527 )
...
* Update dependency @types/jest to v26.0.18
* manual refresh lock file
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
2020-12-10 15:08:11 +13:00
renovate[bot]
baa0fce79c
Update dependency eslint to v7.15.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/3530 )
...
* Update dependency eslint to v7.15.0
* manual refresh lock file
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rua Haszard <rua.haszard@automattic.com>
2020-12-10 14:18:19 +13:00
Albert Juhé Lluveras
01c1ce8ffb
Update WP versions used in Travis e2e tests ( https://github.com/woocommerce/woocommerce-blocks/pull/3535 )
...
* Update WP versions used in Travis e2e tests
* Remove WP 5.3 tests
* Remove legacy WP version checks in e2e tests
2020-12-09 17:09:45 +01:00