Roy Ho
a84cfd93d6
Update text ( https://github.com/woocommerce/woocommerce-blocks/pull/9423 )
...
* Update text
* Make shop now button black with white text to match design
* Update pattern image and text
2023-05-11 08:17:42 +02:00
Roy Ho
06cd02b88a
Update pattern with images and alignment ( https://github.com/woocommerce/woocommerce-blocks/pull/9414 )
2023-05-10 05:44:58 -07:00
Luigi Teschio
b15cb932fb
Improve transform classic product template UX ( https://github.com/woocommerce/woocommerce-blocks/pull/9386 )
...
* improve transform classic product template UX
* improve layout
* not update deps
* improve logic
* add bold
* fix height and width preview on hover
* fix label
* improve logic for revert button
* fix regression
2023-05-10 13:02:33 +02:00
Patricia Hillebrandt
b12cfd2d6a
Add to Cart Button > Update block registration to rely on metadata and enable usage for the Single Product Block ( https://github.com/woocommerce/woocommerce-blocks/pull/9404 )
...
* Adapt the Add to Cart Button block to be registered via block.json
* Remove the legacy supports.ts file
* Ditch all registration methods from the ProductButton class as it is now registered via metadata (a block.json file)
* Update get_block_type_uses_context and register_block_type_assets
2023-05-10 10:20:40 +00:00
Karol Manijak
8d6344a07d
Skip the failing test ( https://github.com/woocommerce/woocommerce-blocks/pull/9405 )
...
* Skip the failing test
* Add an explanation to the skipped test and eslint disable
2023-05-10 11:03:22 +02:00
Daniel W. Robert
b6cfe080d5
Remove br in pattern heading. ( https://github.com/woocommerce/woocommerce-blocks/pull/9409 )
...
This allows the text to flow more naturally, as opposed to having
unexpected line-breaks at certain screen widths.
2023-05-09 15:22:33 -04:00
Roy Ho
b05f78b66c
Update pattern alignments ( https://github.com/woocommerce/woocommerce-blocks/pull/9410 )
...
* Update pattern alignments
* Add explicit margin
* Try this
* Explicitly set margins
* Remove is-light class
2023-05-09 09:25:02 -07:00
Roy Ho
e6a58ab90c
Add product details pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9408 )
...
* Add product details pattern
* Replace stars image
2023-05-09 08:15:03 -07:00
Luigi Teschio
796f16880a
Related Products: Fix hardcoded limit product ( https://github.com/woocommerce/woocommerce-blocks/pull/9407 )
...
* fix hardcoded limit product
* improve readibility
2023-05-09 14:59:05 +02:00
Seghir Nadir
4c2f024418
Only validate postcode if its required or filled ( https://github.com/woocommerce/woocommerce-blocks/pull/9377 )
...
* Only validate postcode if its required
* Clear postcode validation error if postcode is not required
---------
Co-authored-by: Niels Lange <info@nielslange.de>
2023-05-09 16:54:28 +07:00
Roy Ho
b92bc3e7fd
Update patterns images paths ( https://github.com/woocommerce/woocommerce-blocks/pull/9390 )
2023-05-08 07:22:30 -07:00
Lucio Giannotta
41817ea2d6
Implement Hand-Picked Products block ( https://github.com/woocommerce/woocommerce-blocks/pull/7925 )
...
Implements the ProductSelector advanced filter within the “Products (Beta)” block.
The filter allows the merchant to narrow down the exact products to which all
subsequent filters will be applied, mirroring the functionality of the existing
“Hand-picked Products” plus all the other functionalities available
from the “Products (Beta)” block.
2023-05-08 14:50:10 +02:00
Danilo Parra Jr
4c204ab578
Add color and typography styles on the mini cart title block ( https://github.com/woocommerce/woocommerce-blocks/pull/9382 )
...
* feat: added color and typography supports on the mini cart title block
* refactor: remove background support for mini cart title block
2023-05-08 13:52:25 +02:00
Alba Rincón
d8c974f104
[Pattern] Add new `Hero product chessboard` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9180 )
...
* Add new `Hero product chessboard` pattern
* Add images
* Margins in px to avoid diff behaviour on diff theme styles
* Add shop link
2023-05-08 11:35:51 +02:00
dependabot[bot]
c54e60cac8
Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/9303 )
...
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata ) from 1.3.6 to 1.4.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases )
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.6...v1.4.0 )
---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-05-05 11:58:18 -03:00
dependabot[bot]
48f5dd6b72
Bump @wordpress/babel-preset-default from 7.8.0 to 7.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/9279 )
...
Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default ) from 7.8.0 to 7.16.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/babel-preset-default/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/babel-preset-default@7.16.0/packages/babel-preset-default )
---
updated-dependencies:
- dependency-name: "@wordpress/babel-preset-default"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-05-05 11:35:44 -03:00
Roy Ho
4f90c5fe85
Add shop by price pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9373 )
2023-05-05 06:33:20 -07:00
Luigi Teschio
739fa60fea
Improve the E2E testing process with Playwright ( https://github.com/woocommerce/woocommerce-blocks/pull/9148 )
...
* Add Playwright infrastucture
* improve documentation
* improve type
* remove puppeteer tests
* fix wp-env.json
* add link on how run E2E tests
* chore on playwright.yml
* remove unnecessary flush command
* improve stability E2E test
* remove build:e2e-test command
* Update .github/workflows/playwright.yml
Co-authored-by: Niels Lange <info@nielslange.de>
* Update .github/workflows/playwright.yml
Co-authored-by: Niels Lange <info@nielslange.de>
* Update docs/contributors/contributing/e2e-guidelines.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update docs/contributors/contributing/e2e-guidelines.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update docs/contributors/contributing/e2e-guidelines.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* remove emptyline and fix JSDoc warning
* add link about E2E guidelines
* fix theme name
* improve style
* improve markdown
---------
Co-authored-by: Niels Lange <info@nielslange.de>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2023-05-05 11:03:36 +00:00
Albert Juhé Lluveras
349ae658bb
Mini Cart drawer: print width in PHP ( https://github.com/woocommerce/woocommerce-blocks/pull/9329 )
...
* Mini Cart drawer: print width in PHP
* Remove unnecessary timeout
* Make sure classic themes have a Mini Cart contents width value set up
2023-05-05 11:44:41 +02:00
Luigi
c4d8e9114e
Merge branch 'release/10.0.0' of https://github.com/woocommerce/woocommerce-blocks into trunk
2023-05-05 11:37:54 +02:00
github-actions[bot]
18aed7f8ae
Release: 10.0.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/9357 )
...
* Empty commit for release pull request
* Add 10.0.3 changelog
* Update versions to 10.0.3
* Fix image editor in Featured Product/Category blocks on WP 6.2 (https://github.com/woocommerce/woocommerce-blocks/pull/9142 )
* Add 10.0.3 testing steps
* Empty commit for release pull request
* Check that the customized fallback template is archive-product before unsetting the source property (https://github.com/woocommerce/woocommerce-blocks/pull/9330 )
* use 'enqueue_block_assets' is available (https://github.com/woocommerce/woocommerce-blocks/pull/9332 )
* Remove esc_url() on self generated link to edit the Mini Cart template since it gets escaped in JS (https://github.com/woocommerce/woocommerce-blocks/pull/9348 )
* Add changelog entries to readme.txt
* Update version number in several files
* Add testing notes for the release
* Add woocommerce/woocommerce-blocks#9332 to testing notes
* Add testing on frontend for woocommerce/woocommerce-blocks#9332
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Tom Cafferkey <tjcafferkey@gmail.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-05-05 11:34:51 +02:00
Daniel W. Robert
18e4ffa741
Add permalink to plugin documentation in readme. ( https://github.com/woocommerce/woocommerce-blocks/pull/9343 )
...
The plugin's readme.txt file had a URL to the official documentation but
there was no hyperlink - only text.
This improves the page by removing the text link and hyperlinking the
"official documentation" text itself.
2023-05-04 23:15:12 -04:00
Roy Ho
e788db408c
Convert to use WP core blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/9340 )
2023-05-04 06:04:24 -07:00
Roy Ho
1efa47c076
Add product hero pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9181 )
...
* Add product hero wide pattern
* Convert to using WP core blocks
2023-05-04 06:00:15 -07:00
Luigi Teschio
145bc25100
use 'enqueue_block_assets' is available ( https://github.com/woocommerce/woocommerce-blocks/pull/9332 )
2023-05-04 12:32:23 +00:00
Luigi Teschio
fccdb92612
Single Product Template - Related Products: fix items per page option ( https://github.com/woocommerce/woocommerce-blocks/pull/9286 )
2023-05-04 12:21:20 +00:00
Tom Cafferkey
f11bdbe0b3
Remove esc_url() on self generated link to edit the Mini Cart template since it gets escaped in JS ( https://github.com/woocommerce/woocommerce-blocks/pull/9348 )
2023-05-04 10:02:46 +01:00
Albert Juhé Lluveras
4bccbb61d7
Remove duplicated code in BlockTypesController.php ( https://github.com/woocommerce/woocommerce-blocks/pull/9283 )
2023-05-04 10:36:35 +02:00
Albert Juhé Lluveras
19332e960d
Fix Product Price styles leaking into the Mini Cart, Cart and Checkout blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/9276 )
...
* Fix Product Price styles leaking into the Mini Cart
* Add support for All Products block
2023-05-04 09:32:45 +02:00
dependabot[bot]
2e4557bdb7
Bump automattic/jetpack-autoloader from 2.11.18 to 2.11.19 ( https://github.com/woocommerce/woocommerce-blocks/pull/9305 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.18 to 2.11.19.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.18...v2.11.19 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-05-03 17:21:04 -03:00
Daniel W. Robert
7567475a60
Implement new `Hero Product – Split` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9191 )
...
* Add pattern for split hero product banner.
This adds a new pattern for a hero product banner with a 50/50 split,
heading and CTA on left and product image on right.
Uses the Media + Text block.
* Update image to use Unsplash placeholder.
* Remove WooCommerce prefix in pattern title.
* Remove unneeded wrapper group block.
* Serve placeholder image from plugin directory.
2023-05-03 12:11:24 -04:00
Tom Cafferkey
150120774a
Check that the customized fallback template is archive-product before unsetting the source property ( https://github.com/woocommerce/woocommerce-blocks/pull/9330 )
2023-05-03 15:33:03 +01:00
Roy Ho
721257d32a
Add featured category cover image ( https://github.com/woocommerce/woocommerce-blocks/pull/9284 )
...
* Add featured category cover image
* Use WP core blocks
* Explicitly add meassurement type
2023-05-03 06:51:52 -07:00
Thomas Roberts
fdfb445a58
Prevent email address being removed when changing shipping method/entering shipping address ( https://github.com/woocommerce/woocommerce-blocks/pull/9328 )
...
* Preserve email when rendering shipping address form for the first time
* Ensure billing email does not reset when changing form values
* Add test to ensure email does not get overwritten
2023-05-03 06:45:57 -07:00
Alba Rincón
b813a98691
[Pattern] Add new `Hero product 3 split` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9319 )
...
* Add new `Hero product 3 split` pattern
* Improve colors and margins
2023-05-03 15:44:05 +02:00
Patricia Hillebrandt
6e76fba561
Single Product Block > Ensure the product title is correct when used in a post or page ( https://github.com/woocommerce/woocommerce-blocks/pull/9335 )
...
* Ensure the product title is correct when used outside of the scope of the single product template.
* Update docblock with the details about the temporary workaround.
2023-05-03 15:08:41 +02:00
Mike Jolley
3743b024b7
Refactor klona usage ( https://github.com/woocommerce/woocommerce-blocks/pull/9320 )
...
* cloneObject in tests
* Create custom updateNested function instead of deepCloning objects
* Update type based on feedback
2023-05-03 12:09:12 +01:00
Luigi Teschio
fed679cbeb
Rename Add to Cart ( https://github.com/woocommerce/woocommerce-blocks/pull/9315 )
...
* rename Add to Cart
* fix E2E test
2023-05-03 10:31:59 +00:00
Luigi Teschio
0ea4dab3c9
Product Image Gallery: fix resize width when the window resize ( https://github.com/woocommerce/woocommerce-blocks/pull/9299 )
2023-05-03 08:44:22 +00:00
Alba Rincón
0aa8c79790
[Pattern] Add new `Product Collections: Newest Arrivals` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9240 )
...
* Add new `Product Collections: Newest Arrivals` pattern
* Remove ID
* Improve paddings
* Use product image with thumbnail style
2023-05-03 10:03:45 +02:00
Albert Juhé Lluveras
4534beaa91
Fix Mini Cart block not respecting Add-to-Cart behaviour attribute when adding the first product ( https://github.com/woocommerce/woocommerce-blocks/pull/9257 )
2023-05-03 09:49:43 +02:00
Mike Jolley
1a0f209770
Fix shipping notices for multiple packages ( https://github.com/woocommerce/woocommerce-blocks/pull/9285 )
...
* Move notice to top and only show on cart page
* Missing setting on cart page prevents notice display
* Allow null in the select-shipping-rate endpoint to select all packages
* Only show the warning if different packages are selected
* Check if selected rates is an object before mapping it
---------
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2023-05-02 16:04:29 +01:00
Roy Ho
bcfc330f8a
Add/featured category focus pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9322 )
...
* Add category focus pattern
* Fix text
* Explicit add padding and make image smaller
2023-05-02 07:16:44 -07:00
Albert Juhé Lluveras
bad0222385
Related Products: make Product Title a link ( https://github.com/woocommerce/woocommerce-blocks/pull/9179 )
2023-05-02 11:36:23 +02:00
Luigi Teschio
114ba02135
Product Image Gallery: fix inline ( https://github.com/woocommerce/woocommerce-blocks/pull/9297 )
2023-05-02 09:11:58 +00:00
Alexandre Lara
448f8102d9
Product Rating block: Fix review count not displaying on frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/9129 )
...
* Fix review count not displaying on Product Rating
* Fix PHP CS errors
* Add Customer Reviews count to the Product Rating block on the Editor
* Remove unnecessary var_dump
2023-04-28 14:26:43 -03:00
Roy Ho
5297d93d37
Add featured category triple pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9269 )
2023-04-28 05:35:54 -07:00
Alba Rincón
9524c3607d
Add new `Product collections: Featured Collection` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9246 )
...
* Add new `Product collections: Featured Collection` pattern
* Improve padding
* Set text color to white
* Make string translatable
2023-04-28 13:58:46 +02:00
Mike Jolley
2d506f9f57
Fix/you do not need lodash ( https://github.com/woocommerce/woocommerce-blocks/pull/9161 )
...
* Remove lodash `without` usage
* isNumber
* Remove lodash `difference`
* Replace lodash isEmpty with type guard
* Replace isObject with type guard
* remove lodash noop
* Replace lodash clamp
* replace lodash uniqueId
* Remove uniqueId import
* Add eslint rule to restrict lodash import
* Replace lodash range
* Replace lodash has() function
Replace lodash has
* replace omitby
* Replace lodash isEqual with fastDeepEqual
* Replace kebabCase with change-case package
* Replace lodash camelCase
Replace lodash mapKeys with function
Move mapkeys to utility
Create camelCaseKeys which replaces usage of mapKeys
* Replace lodash debounce with custom utiity
* replace lodash keyby
* Replace lodash pick with native function
* Replace lodash cloneDeep with klona
* Replace snake case keys package with change case
* Replace sortBy with fast sort package
* replace isEmpty with type guard
* Replace pickBy usage in validation reducer
* Replace groupBy usage in search list control
* Replace flatten, uniqBy usage in getProducts()
* Remove setWith and clone from updateState
* Replace custom useThrottle with useThrottledCallback from use-debounce package
* onSelectRate can use-debounce
* Fix missing flatten
* Update assets/js/data/cart/test/push-changes.ts
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
---------
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2023-04-28 11:29:45 +01:00
Tom Cafferkey
a22ab08410
Remove min-height and padding for WP Button elements ( https://github.com/woocommerce/woocommerce-blocks/pull/9260 )
...
* Remove min-height and padding for WP Button elements
* Remove commented out code
* Add min-height style back in for .woocommerce-block-theme-has-button-styles themes
2023-04-28 10:49:12 +01:00
Andres
98222dda09
Fix store api documentation for min_price and max_price ( https://github.com/woocommerce/woocommerce-blocks/pull/9258 )
...
* Fixed store api documentation for min_price and max_price
* Update products.md
* Update products.md
* Update src/StoreApi/docs/products.md
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
---------
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
2023-04-28 10:56:22 +02:00
Manish Menaria
1e1b82ad63
Products block: Using nested selector to add margin between Product elements ( https://github.com/woocommerce/woocommerce-blocks/pull/8993 )
...
* Using nested selector to style Product elements in Products Block
This commit simplifies the INNER_BLOCKS_TEMPLATE array in the product-query constants.ts file by removing the style properties from the individual elements. Instead, the default styles are now managed in the style.scss file, providing a more consistent and centralized approach to styling.
In the style.scss file, a new section for default styling has been added to handle product elements inside the Products Block, adhering to the Gutenberg styling hierarchy. This ensures the lowest precedence in the hierarchy, allowing for easier overrides when needed.
* Decrease specificity of styles for product elements in Products Block
The commit changes the default styles for product elements inside the 'Products Block'. It changes the way the margin-bottom and margin-top properties are set by using the :where() selector instead of using the .products-block-post-template class selector. This is done to decrease the specificity of the CSS selector, ensuring that the styles have the lowest precedence in the hierarchy. It also removes the display: inline-block property from the a selector, and moves the styles to the .editor-styles-wrapper class selector.
* Decrease specificity of CSS selectors
In these changes, the product elements inside the Products Block have been restyled. The specificity of the CSS selector has been decreased using the :where() selector, to ensure that these styles have the lowest precedence in the hierarchy.
In constants.ts, a new class name, products-block-post-template, has been added to the inner block template for the post. This class is used to add default styles for inner blocks.
In style.scss, the CSS selector for the inner blocks has been updated to include the new class name. The :where() selector has also been used to ensure that these styles have the lowest precedence in the hierarchy.
* Update default margins and remove redundant entries
This commit updates the default margin values for the Product Title in the Products block, moving them from the style.scss file to the constants.ts file. It also removes unnecessary empty arrays in the INNER_BLOCKS_TEMPLATE and background-color property from the style.scss file.
2023-04-28 07:43:47 +00:00
Albert Juhé Lluveras
d7fa7a3310
10.1.0 testing steps: move Mini Cart width items under Feature plugin section ( https://github.com/woocommerce/woocommerce-blocks/pull/9263 )
2023-04-28 09:17:53 +02:00
Tarun Vijwani
4934d19b6a
Fix coupon code translation in e2e tests ( https://github.com/woocommerce/woocommerce-blocks/pull/9247 )
...
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2023-04-28 10:40:36 +04:00
Alexandre Lara
aacd82c8fb
Single Product block: Add wide and full-width alignments support ( https://github.com/woocommerce/woocommerce-blocks/pull/8981 )
...
* Add align support to single product block
* Fix block alignment that was not being set on the frontend
* Remove classname prop from the Single Product Edit component
2023-04-27 16:44:10 -03:00
Luigi Teschio
1d0ff02f8f
Rename Add To Cart Form to Add To Cart Options ( https://github.com/woocommerce/woocommerce-blocks/pull/9238 )
2023-04-27 17:05:50 +00:00
Albert Juhé Lluveras
1dc7c953eb
Rename docs which unnecessary mention the All Products block ( https://github.com/woocommerce/woocommerce-blocks/pull/9265 )
...
* Rename docs which unnecessary mention the All Products block
* Fix two more links
2023-04-27 18:26:18 +02:00
Alba Rincón
4cea6664a5
[Patterns]: Add new `Header Centered Search` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9081 )
...
* Add new `Header Centered Search` pattern
* Add margin support to the customer account block
* Add margin to the customer account to separate it from the search bar
* Update margin
* Add with, fix margins
* Remove unnecessary separator
* Updates after review
* Remove ref
* Remove separator
* Bring back separator and use product search
* Remove html block and fix search border
2023-04-27 10:23:24 +02:00
Alba Rincón
2b75d821fa
[Patterns] Add new `Footer with 3 menus` menu ( https://github.com/woocommerce/woocommerce-blocks/pull/9175 )
...
* Add new `Footer with 3 menus` menu
* Stack menus on mobile, remove refs
* Change the site title to a `p` tag
* Align menus to the top and add paddings
* Make the `powered by` string translatable and add padding
* Improve search
2023-04-27 10:22:43 +02:00
Paulo Arromba
7fd3063239
re added codeql-analysis.yml ( https://github.com/woocommerce/woocommerce-blocks/pull/9253 )
2023-04-26 21:09:55 +01:00
Paulo Arromba
a50e2a91a5
Update CodeQL/Analyse ( https://github.com/woocommerce/woocommerce-blocks/pull/9156 )
...
* yaml format, typescript test
* removed codeql-analysis.yml
* typo fix for CI trigger
* Revert "removed codeql-analysis.yml"
This reverts commit 0badabe02a006fd7b1cffa9aac1eb2bc138ff964.
* re-add codeql-analysis.yml
* removed codeql-analysis.yml
2023-04-26 19:50:19 +01:00
Alexandre Lara
27b3b47edd
Update plugin version
2023-04-26 14:25:17 -03:00
Alexandre Lara
cdb41422ca
Update changelog and testing notes with PRs woocommerce/woocommerce-blocks#9195 and woocommerce/woocommerce-blocks#9196
2023-04-26 14:22:07 -03:00
Alexandre Lara
43b58d41d6
Add PR woocommerce/woocommerce-blocks#9196 to the release notes
2023-04-26 14:21:51 -03:00
Alexandre Lara
b3f6bb7a61
Update woocommerce-gutenberg-products-block.zip link
2023-04-26 14:21:39 -03:00
Alexandre Lara
0dac78f781
Add some improvements to the testing notes
2023-04-26 14:21:27 -03:00
Alexandre Lara
54059baf00
Update testing notes
2023-04-26 14:21:02 -03:00
Alexandre Lara
3349140955
Add testing notes for the release
2023-04-26 14:20:49 -03:00
Alexandre Lara
7e1be7ab29
Increase WordPress and WooCommerce minimum versions
2023-04-26 14:20:32 -03:00
Alexandre Lara
59c6885476
Update version number in several files
2023-04-26 14:20:11 -03:00
Alexandre Lara
968337cc51
Add changelog entries to readme.txt
2023-04-26 14:18:54 -03:00
Mike Jolley
61bc923949
Add examples for adding variations to the cart ( https://github.com/woocommerce/woocommerce-blocks/pull/9086 )
...
Fixes woocommerce/woocommerce-blocks#8626
2023-04-26 16:24:33 +01:00
Albert Juhé Lluveras
0dae33e4b9
Use currentColor for Mini Cart footer border ( https://github.com/woocommerce/woocommerce-blocks/pull/9245 )
2023-04-26 16:59:35 +02:00
Luigi Teschio
8e0709eb9a
Update the icon and description for the Product Details block ( https://github.com/woocommerce/woocommerce-blocks/pull/9241 )
...
* Update icon and description for the Product Details block
* fix alt
2023-04-26 16:19:01 +02:00
Luigi Teschio
2ca2287cb8
Update icon and description for the Product Meta block ( https://github.com/woocommerce/woocommerce-blocks/pull/9243 )
...
* Update icon and description for the Product Meta block
* fix alt
2023-04-26 12:16:54 +00:00
Albert Juhé Lluveras
cb8040f7b0
Mini Cart Contents block: fix wide width not being applied in the editor ( https://github.com/woocommerce/woocommerce-blocks/pull/9201 )
2023-04-26 12:16:43 +02:00
Daniel W. Robert
aa219a1aa1
Fix Semgrep Security Scan Issues ( https://github.com/woocommerce/woocommerce-blocks/pull/9204 )
...
* Add late escaping to call in MiniCart.
* Add escaping to call in AssetsController.
* Add escaping to calls in StoreAPI pagination utils.
* Add ignore line to file require - OK.
* Minor update to grammar in code comment.
2023-04-25 21:41:26 -04:00
Albert Juhé Lluveras
96bd0432cd
Mini Cart Contents block: set minimum width ( https://github.com/woocommerce/woocommerce-blocks/pull/9196 )
...
* Mini Cart Contents block: set minimum width
* Mini Cart Contents block: allow changing the width only in the feature plugin
* Allow resetting the Mini Cart Contents width to the default
* Update assets/js/blocks/mini-cart/mini-cart-contents/edit.tsx
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
---------
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
2023-04-25 18:54:35 +02:00
Alba Rincón
1673fcb3c2
[Patterns]: Add new `Featured products: 5-item grid` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9006 )
...
* Add new pattern
* Style improvements after review
* Fix price on mobile and image thumbnail
* Remove columns for title and price
* Review improvements
* Use shop url
* Make the product title bold
2023-04-25 16:22:58 +02:00
Roy Ho
212a600477
Add testimonials single pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9184 )
...
* Add testimonials single pattern
* Fix invalid content
* Align message
2023-04-25 06:58:27 -07:00
Albert Juhé Lluveras
ce97f918ea
Mini Cart block: fix slide in animation ( https://github.com/woocommerce/woocommerce-blocks/pull/9195 )
2023-04-25 13:39:21 +02:00
Albert Juhé Lluveras
d0294f1abf
Patch release checklist: clarify whether the PR must have trunk or release/x.y as the base branch ( https://github.com/woocommerce/woocommerce-blocks/pull/9182 )
2023-04-25 10:36:30 +02:00
Karol Manijak
948db63e95
Temporarily disable Playwright tests until the conflict with PHP version is resolved ( https://github.com/woocommerce/woocommerce-blocks/pull/9183 )
...
* Temporarily disable Playwright tests until the conflict with PHP versions is resolved
* Use a correct syntax
* Remove unwanted change
2023-04-24 16:57:38 +02:00
Alba Rincón
98dc3d2eab
[Patterns]: Add new `Featured Products 2 columns` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9072 )
...
* Add new `Featured Products 2 columns` pattern
* Remove line separator
* Change title and add shop url
* Improve copy
2023-04-24 10:33:15 +02:00
Alba Rincón
f2c19e0ac2
Add new `Testimonials: 3 columns` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/9159 )
2023-04-24 10:15:55 +02:00
Thomas Roberts
30aecd2068
Reinstate "Hide shipping costs until an address is entered" but disable it when using local pickup ( https://github.com/woocommerce/woocommerce-blocks/pull/8964 )
...
* Add class property to track local pickup enabled
* Force shipping enabled only when local pickup is also enabled
Otherwise, skip filtering and leave it to the current value
* Disabled and add text to WC Core hide shipping option
* Skip forcing shipping to be enabled in all cases
* Remove WC Core setting changes for hidden shipping rates option
* Add warning to local pickup UI about hidden rates setting in core
* Add local_pickup_enabled util function
* Revert "Skip forcing shipping to be enabled in all cases"
This reverts commit 0bf1886e73d791f7828ac86988f681cdce808b12.
* Check if local pickup is enabled before force enabling shipping
* Show correct shipping placeholder if rates hidden until address entered
* Remove tests for removed functionality
* Remove shippingCostRequiresAddress prop
* Update tests for shipping settings
* Remove irrelevant tests and fix existing ones
* Fix typo in comment
* Disable local pickup after each test
* Get shipping data from useCustomerData hook
* Change div in help prop to span
This prevents a DOM Nesting error, div cannot appear as a descendant of p
* Prevent hide shipping notice showing if the setting was originally off
2023-04-22 02:10:11 -07:00
Daniel W. Robert
6903009af3
Add prepare script for Husky configuration. ( https://github.com/woocommerce/woocommerce-blocks/pull/9167 )
2023-04-21 16:51:56 -04:00
Roy Ho
bb28479db5
Update php installation link ( https://github.com/woocommerce/woocommerce-blocks/pull/9169 )
...
* Update php installation link
* Set temporary debugging
* Add an exception to ignore valid link check
2023-04-21 13:18:30 -07:00
Tarun Vijwani
e39a27bd74
Add theme-level global styles to Cart and Checkout block ( https://github.com/woocommerce/woocommerce-blocks/pull/8809 )
...
* Dummy commit to open a PR
* Revert the last change
* Ensure Checkout block supports the theme-level global styles for `Colors » Buttons` (https://github.com/woocommerce/woocommerce-blocks/pull/8844 )
* Add GS support for button colors in Checkout block
* Sync button hover effect with GB
* Fix link margin/padding (https://github.com/woocommerce/woocommerce-blocks/pull/8908 )
* Replace <AddToCartButton /> with <ProductButton /> (https://github.com/woocommerce/woocommerce-blocks/pull/8914 )
* Add GS support for button typography in Checkout block (https://github.com/woocommerce/woocommerce-blocks/pull/8918 )
* Ensure Checkout block supports the theme-level global styles for Typography » Buttons (https://github.com/woocommerce/woocommerce-blocks/pull/8892 )
* Remove classname from cart image to avoid conflicts (https://github.com/woocommerce/woocommerce-blocks/pull/8898 )
Co-authored-by: Niels Lange <info@nielslange.de>
* Use consistent and semantically correct HTML elements in the Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/9065 )
* Allow button height to adjust
* Ensure to display full width heading background
* Inherit font style and font weight for headings
* Inherit font style and font weight for textarea
* Inherit font family and font weight for buttons
---------
Co-authored-by: Niels Lange <info@nielslange.de>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2023-04-22 00:11:10 +04:00
Kirtan Gajjar
030a9ae267
Fix filter by stock status dropdown ordering ( https://github.com/woocommerce/woocommerce-blocks/pull/9127 )
...
* Fix filter by stock status dropdown ordering
* Update assets/js/blocks/stock-filter/utils.ts
Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
* Update assets/js/blocks/stock-filter/utils.ts
Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
---------
Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
2023-04-21 14:04:34 -03:00
Paulo Arromba
7c25db1c80
Add PHP 8.1/8.2 to unit testing matrix ( https://github.com/woocommerce/woocommerce-blocks/pull/8757 )
...
* Added PHP 8.1 to unit testing matrix
* Refactor unit testing to match Gutenberg repo 🤞
* Removed Gutenberg reference from debug information
* Updated image running phpunit binary
* Reverted image running phpunit binary
* Remove composer platform override
* Bump @wordpress/env and include phpunit
* Update phpunit and tests
* Change prefix
* Try admin context when install wc
* try wc install
* adjust phpunit config file
* Updated phpunit.xml.dist, composer.json and package.json
* Added PHP 8.1 to unit testing matrix
* Refactor unit testing to match Gutenberg repo 🤞
* Removed Gutenberg reference from debug information
* Updated image running phpunit binary
* Reverted image running phpunit binary
* Remove composer platform override
* Bump @wordpress/env and include phpunit
* Update phpunit and tests
* Change prefix
* Try admin context when install wc
* try wc install
* adjust phpunit config file
* Updated phpunit.xml.dist, composer.json and package.json
* Revert install changes
* updated npm packages
* updated composer lock
* updated check assets flow
* Updated check assets flow. Yaml file auto formatted.
* Updated check assets flow.
* Attempt at fixing E2E
* Reverted setup permissions step
* Add logging information to E2E
* Reverted E2E test flow
* test playwright perms fix
* test e2e perms fix
* test e2e perms fix
* test e2e perms fix
* test e2e perms fix
* languages update & debug
* languages update & debug
* revert
* force "@wordpress/env": "^4.9.0" on E2E
* update package lock
* update package lock
---------
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: Niels Lange <info@nielslange.de>
2023-04-21 12:07:37 +01:00
github-actions[bot]
a2ca41e367
Release: 10.0.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/9149 )
...
* Empty commit for release pull request
* Add 10.0.3 changelog
* Update versions to 10.0.3
* Fix image editor in Featured Product/Category blocks on WP 6.2 (https://github.com/woocommerce/woocommerce-blocks/pull/9142 )
* Add 10.0.3 testing steps
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2023-04-21 12:40:53 +02:00
Albert Juhé Lluveras
8de8fc917c
Add 10.0.3 testing steps
2023-04-21 10:44:43 +02:00
Albert Juhé Lluveras
fa8d88a7c3
Add 10.0.3 changelog
2023-04-21 10:44:28 +02:00
Albert Juhé Lluveras
467e9734a2
Add 9.8.5 testing steps
2023-04-21 10:20:11 +02:00
Albert Juhé Lluveras
701a7269b2
Add 9.8.5 changelog
2023-04-21 10:19:06 +02:00
Albert Juhé Lluveras
813646be06
Update Husky config to v8 ( https://github.com/woocommerce/woocommerce-blocks/pull/9150 )
2023-04-21 10:07:55 +02:00
dependabot[bot]
e745b44010
Bump @octokit/graphql from 4.8.0 to 5.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/8880 )
...
Bumps [@octokit/graphql](https://github.com/octokit/graphql.js ) from 4.8.0 to 5.0.5.
- [Release notes](https://github.com/octokit/graphql.js/releases )
- [Commits](https://github.com/octokit/graphql.js/compare/v4.8.0...v5.0.5 )
---
updated-dependencies:
- dependency-name: "@octokit/graphql"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 19:55:37 +02:00
Roy Ho
90f59de4f6
Update minimal header patterns ( https://github.com/woocommerce/woocommerce-blocks/pull/9126 )
...
* Update minimal header patterns
* Remove ref
* Remove dark pattern and indent code
2023-04-20 07:46:15 -07:00
Karol Manijak
d5ae033b54
Update @actions/core and @actions/github ( https://github.com/woocommerce/woocommerce-blocks/pull/9133 )
...
* Update @actions/core and @actions/github
* Add rimraf as a script to avoid actions failing
* Bump AbleLincoln/push-to-sftp which supports Node 16
2023-04-20 16:46:01 +02:00