hafhaf10
4d0ba20d6d
Fix correct branding color ( https://github.com/woocommerce/woocommerce-blocks/pull/4911 )
...
* Correct WooCommerce branding color
* Correct WooCommerce branding color
* Fixed lowercase colors
* Changed color in more files
2021-10-15 15:27:59 +01:00
Albert Juhé Lluveras
c5bf549d9f
Add Mini Cart block tests ( https://github.com/woocommerce/woocommerce-blocks/pull/4938 )
2021-10-15 12:53:44 +02:00
Mike Jolley
901a78979e
Fix positioning of default locked blocks in the editor and frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/4937 )
...
* Update default empty template on server side
* template->registeredBlocks wording
* useForcedLayout: insert in correct place
* Remove test div
* Clarify inline docs
* Apply changes to cart block
2021-10-15 10:48:57 +01:00
Raluca Stan
05dc130d21
Register as experimental the Cart i2 blocks and update the feature flag documentation ( https://github.com/woocommerce/woocommerce-blocks/pull/4936 )
...
* Use registerExperimentalBlockType for registering Cart i2 related blocks
* Update feature flags and experimental interfaces doc
2021-10-14 13:44:46 +01:00
Mike Jolley
749c0d2dfc
Remove duplicate data attributes ( https://github.com/woocommerce/woocommerce-blocks/pull/4941 )
...
* Remove inject_html_data_attributes
* Exclude class/align attributes from injection
2021-10-14 13:36:03 +01:00
Ovidiu Liuta
eb0ddbe29a
Add a label to the textarea from the editor view of the Product search block ( https://github.com/woocommerce/woocommerce-blocks/pull/4905 )
...
* woocommerce/woocommerce-blocks#1682 fixing product search accesibility label
* fix duplicate text annoncement
* removing aria-hidden from label
2021-10-14 11:27:05 +01:00
Niels Lange
63b7766586
Increase error message spacing ( https://github.com/woocommerce/woocommerce-blocks/pull/4896 )
2021-10-14 12:05:13 +07:00
Thomas Roberts
db34f28c4f
Version bump following release
2021-10-13 15:41:47 +01:00
Mike Jolley
cf7d5d8d53
Add hook documentation and build script ( https://github.com/woocommerce/woocommerce-blocks/pull/4927 )
...
* Script to generate hook docs
* Inline docs for action and filter hooks
* __experimental_woocommerce_blocks_checkout_order_processed example
* Update doc generation
* Document exceptions
* examples
* Fix a typo
* Remove unused dependency
* add platform override for phpunit tests
2021-10-13 10:45:59 +01:00
renovate[bot]
ecaa232a2d
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/4930 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 03:58:17 +00:00
renovate[bot]
b68825c71b
Update Node.js to v12.22.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/4931 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 02:16:47 +00:00
Mike Jolley
61e5a4c55e
Add Checkout Package and Checkout i2 Documentation ( https://github.com/woocommerce/woocommerce-blocks/pull/4892 )
...
* Move components
* Main index for docs
* Block registry documentation
* filter registry docs
* Utility docs
* Doc for components
* Link to package docs
* fix import
2021-10-12 15:23:52 +01:00
github-actions[bot]
a6607cd94f
Release: 6.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/4924 )
...
* Empty commit for release pull request
* Update readme.txt with release changelog
* Add testing instructions for 6.1.0 release
* Update readme.txt with release changelog
* woocommerce/woocommerce-blocks#4625 product categories list block hierarchy display fix (https://github.com/woocommerce/woocommerce-blocks/pull/4920 )
* Update link to testing zip
* Remove mini cart testing from instructions
This is because mini-cart is only in experimental builds.
* Update changelog and testing notes
* Correct typo in testing instructions
* Update testing instructions
* Bumping version strings to new version.
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
Co-authored-by: Ovidiu Liuta <ovidiu.liuta@automattic.com>
2021-10-12 15:09:46 +01:00
Ovidiu Liuta
d6e0729c79
woocommerce/woocommerce-blocks#4625 product categories list block hierarchy display fix ( https://github.com/woocommerce/woocommerce-blocks/pull/4920 )
2021-10-12 11:36:35 +01:00
Tom Cafferkey
0f4161aff9
Convert CategoryList to TypeScript ( https://github.com/woocommerce/woocommerce-blocks/pull/4909 )
...
* Converted config files
* Converted constants file
* Converted attributes file
* Coverted edit file
* Convert block file
* Remove space from config
2021-10-12 09:21:00 +01:00
Niels Lange
8475bc7bad
Add e2e tests for Top Rated Products ( https://github.com/woocommerce/woocommerce-blocks/pull/4786 )
2021-10-11 17:05:50 +01:00
Seghir Nadir
eb9b8ab233
Revert "Display the notices registered by the payment gateway's process_payment() method ( https://github.com/woocommerce/woocommerce-blocks/pull/4871 )" ( https://github.com/woocommerce/woocommerce-blocks/pull/4923 )
...
This reverts commit 494df12859
.
2021-10-11 17:00:47 +01:00
Mike Jolley
caaa4f5ac4
Handle translations in lazy loaded files by injecting them into the page ( https://github.com/woocommerce/woocommerce-blocks/pull/4897 )
...
* Formalise chunk names
* register_chunk_translations()
* Rename handle
* Include fileSuffix
* Remove .chunk prefix- it broke the vendors chunk
2021-10-11 16:32:29 +01:00
Thomas Roberts
9fbfb5a594
Update percent of users who will see inbox notification ( https://github.com/woocommerce/woocommerce-blocks/pull/4922 )
2021-10-11 15:22:18 +01:00
Ovidiu Liuta
ae603f3e82
WordPress Coding Standards fix for .scss files ( https://github.com/woocommerce/woocommerce-blocks/pull/4918 )
...
* adding timerange limit
* woocommerce/woocommerce-blocks#3739 fixing scss coding standard and removing spaces from parantheses values
* removing unrelated changes
* fixing further instances for parantheses
2021-10-11 14:18:32 +01:00
Niels Lange
ff78f58556
Add e2e tests for Product Categories List ( https://github.com/woocommerce/woocommerce-blocks/pull/4915 )
2021-10-11 18:59:45 +07:00
Niels Lange
6286f7fbd6
Add e2e tests for Newest Products ( https://github.com/woocommerce/woocommerce-blocks/pull/4789 )
2021-10-11 18:55:38 +07:00
Danae Millan
494df12859
Display the notices registered by the payment gateway's process_payment() method ( https://github.com/woocommerce/woocommerce-blocks/pull/4871 )
...
We were displaying a generic error and clearing the notices before. Now we convert them to exceptions so they're actually displayed.
2021-10-09 11:46:35 -03:00
Niels Lange
ad50a0e7d2
Add file and folder structure documentation ( https://github.com/woocommerce/woocommerce-blocks/pull/4754 )
...
* Add file and folder structure documentation
* Update docs/contributors/folder-structure.md
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update docs/contributors/folder-structure.md
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update docs/contributors/folder-structure.md
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update description for atomic blocks in folder documentation
* Update description for base blocks in folder documentation
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2021-10-08 22:10:05 +07:00
Thomas Roberts
255a74b328
Add screenshots on E2E test failures ( https://github.com/woocommerce/woocommerce-blocks/pull/4898 )
...
* Add test environment to catch errors
* Add jest-circus and jest-html-reporters
This is so we can log the screenshots and errors that happen during E2E tests.
* Use the jest reporters and jest-circus to run the E2E tests
* Force cart test to break
Revert this!
* Upload jest report artifact when tests fail
* Run artifact upload on failure
* Upload entire report directory to artifact
* Revert "Force cart test to break"
This reverts commit c57f2c5ab1d7b60d8824d854c1cb9a8281a71c4b.
* Update .gitignore and jest.config
* Force cart test to break
* Force cart test to break
* Remove <rootDir> from jest-html-reporter path
This was causing the artefact not to upload.
* Revert "Force cart test to break"
Co-authored-by: Niels Lange <info@nielslange.de>
2021-10-08 11:58:44 +01:00
Chouby
ea4fecaa31
Prefix the input id with wc- instead of wp- ( https://github.com/woocommerce/woocommerce-blocks/pull/4882 )
2021-10-08 10:27:03 +01:00
Niels Lange
ce371a0af7
Add documentation guidelines ( https://github.com/woocommerce/woocommerce-blocks/pull/4893 )
...
* Add documentation guidelines
* Link to Automattic Writing Style Guide
* Adjust section for heading usage
* Update docs/contributors/documentation-guidelines.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2021-10-08 11:54:52 +07:00
Michael P. Pfeiffer
e39f175a0f
Convert product elements shared config to TypeScript ( https://github.com/woocommerce/woocommerce-blocks/pull/4908 )
...
* Convert product elements shared config to TypeScript
* Limit import to type
* Convert deprecated empty save function
* Add comment explaining omitted attributes and title properties
Co-authored-by: Tom Cafferkey <tjcafferkey@gmail.com>
2021-10-07 15:42:49 +02:00
renovate[bot]
158e677e91
Update storybook monorepo to v6.3.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/4903 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 19:08:42 +00:00
Mike Jolley
6661549fb7
Update wordpress-components patch file to 11.1.6
2021-10-06 12:05:44 +01:00
Darren Ethier
da9cc8fcf2
Improve the engines support in package.json ( https://github.com/woocommerce/woocommerce-blocks/pull/4899 )
...
This is a better representation of the node and npm version support for Woo Blocks (more notably the NPM 7 exclusion) which can help new contributors coming into the repository.
2021-10-06 05:21:05 -04:00
Albert Juhé Lluveras
f8bf71c164
Document DOM events used in WC Blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/4876 )
...
* Document DOM events used in WC Blocks
* Update docs/extensibility/dom-events.md
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
2021-10-06 10:52:53 +02:00
Tom Cafferkey
c7e966fd28
Fix/price slider aria values ( https://github.com/woocommerce/woocommerce-blocks/pull/4839 )
...
* Calculate human readable price values for the purpose of screen readers and set them as the aria values
* Calculate human readable price values for the purpose of screen readers and set them as the aria values
2021-10-06 09:48:17 +01:00
Tom Cafferkey
ee84901ab8
AttributePicker: Set default values if they exist ( https://github.com/woocommerce/woocommerce-blocks/pull/4815 )
...
* Update API to add default boolean to attribute values and use this within the component to set the default attributes.
* Modify and add unit tests for isObject and getDefaultAttributes
* Sanitize attribute name to accommodate for custom attributes being default values.
* Comments for sanitized_attribute_name variable
* Remove second argument from getAttributes
2021-10-06 09:48:13 +01:00
renovate[bot]
97c8b7dee5
Update dependency autoprefixer to v10.3.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/4902 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 02:45:44 +00:00
renovate[bot]
2b2f96778d
Update dependency @types/react to v16.14.16 ( https://github.com/woocommerce/woocommerce-blocks/pull/4901 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 02:32:41 +00:00
Niels Lange
1557d347a5
Update js-build-system.md
2021-10-04 11:35:01 +07:00
Tung Du
edce72e2fb
Mini Cart block: improve button accessibility ( https://github.com/woocommerce/woocommerce-blocks/pull/4852 )
2021-10-04 10:54:28 +07:00
Tung Du
0f2c035423
Fix: remove IntersectionObserver shim ( https://github.com/woocommerce/woocommerce-blocks/pull/4808 )
2021-09-30 22:58:32 +07:00
Seghir Nadir
1bdb9b51c8
Don't fire woocommerce_blocks_loaded if WC version is not met ( https://github.com/woocommerce/woocommerce-blocks/pull/4873 )
2021-09-30 12:42:07 +01:00
Tung Du
c1dc6dbc39
Fix: Filter button is not aligned with the input field ( https://github.com/woocommerce/woocommerce-blocks/pull/4814 )
...
* fix: filter button alignment
* fix: add dipsplay style class to .wc-block-attribute-filter for easier styling
* fix: overflow inside colum
2021-09-30 11:09:15 +02:00
Nadir Seghir
db66734fd4
update versions and fix changelog date, closes woocommerce/woocommerce-blocks#4869
2021-09-29 14:57:32 +01:00
Seghir Nadir
77e3da81b2
Checkout i2: support odd classes when transforming from Checkout i1 to Checkout i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4866 )
...
* support odd classes for Checkout
* support classNames at start of string
* keep classNames and aligment on frontend
2021-09-29 11:54:50 +01:00
github-actions[bot]
cd5e31d9ba
Release: 6.0.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/4850 )
...
* Empty commit for release pull request
* add changelog
* change minimum_supported_wp_version to 5.6
* add testing instructions
* update testing steps with new code
* add terms and condition block testing steps
* Checkout i2: Show a notice if terms and conditions page (https://github.com/woocommerce/woocommerce-blocks/pull/4859 )
* Make Terms block insertable
* add a notice to setup pages
* push updated error design in editor
* fix default text
* remove outline from checkbox-control in error
* update testing docs
* Update readme.txt
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update readme.txt
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update docs/testing/releases/600.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update docs/testing/releases/600.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2021-09-29 11:23:49 +01:00
renovate[bot]
ead4dbe393
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/4848 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:17:41 +01:00
renovate[bot]
80eaa08d14
Update dependency wordpress-components to v11.1.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/4863 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 04:12:36 +00:00
renovate[bot]
7c2fd6fe52
Update dependency @types/lodash to v4.14.175 ( https://github.com/woocommerce/woocommerce-blocks/pull/4861 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 04:03:55 +00:00
renovate[bot]
3f76488f91
Update dependency autoprefixer to v10.3.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/4862 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 02:05:31 +00:00
Ricardo Metring
60f82537f1
Fix free orders missing payment method ( https://github.com/woocommerce/woocommerce-blocks/pull/4854 )
2021-09-28 12:30:48 -03:00
Seghir Nadir
f01072fda1
Checkout i2: Show a notice if terms and conditions page ( https://github.com/woocommerce/woocommerce-blocks/pull/4859 )
...
* Make Terms block insertable
* add a notice to setup pages
* push updated error design in editor
* fix default text
2021-09-28 16:01:48 +01:00