Daniel W. Robert
207354fb4e
Move experimental item under Feature Plugin group
...
The addition of the font-weight controls is an experimental feature and should be added under the Feature Plugin section so it does not get rolled into Core.
2022-09-07 12:49:57 -04:00
Paulo Arromba
0631b04dbe
Suppress unnecessary warnings for old namespace aliasing ( https://github.com/woocommerce/woocommerce-blocks/pull/7046 )
...
* Aliasing classes in deprecated.php now checks for prior alias declaration to suppress unnecessary warnings.
2022-09-07 13:55:15 +01:00
Luigi Teschio
2dcd9a954a
Replace 'gutenberg_build_query_vars_from_query_block' filter with 'query_loop_block_query_vars' filter ( https://github.com/woocommerce/woocommerce-blocks/pull/7078 )
2022-09-07 14:05:01 +02:00
Tarun Vijwani
6294b0c227
Add steps to retrieve products variations in Store API docs ( https://github.com/woocommerce/woocommerce-blocks/pull/7076 )
2022-09-07 15:49:10 +05:30
Luigi Teschio
26327264c0
Add default value to parameter woocommerce/woocommerce-blocks#7060 ( https://github.com/woocommerce/woocommerce-blocks/pull/7074 )
...
add default value to parameter
2022-09-06 16:23:15 +02:00
Alba Rincón
a15ffff043
Update `filter by attribute` skeleton design ( https://github.com/woocommerce/woocommerce-blocks/pull/6990 )
...
* Update filter by attribute skeleton design
* Update filter by attribute skeleton design
* Start using the FilterTitlePlaceholder
* Fix title animation
* Show two placeholder lines on checkboxes
* Fix dropdown border
* Fix gap
* Fix border radius for dropdown
* Don't show placeholder when changing other filters
* Improve filter title margins
2022-09-06 15:17:11 +02:00
Tom Cafferkey
cf9325fc07
Fix corrupt Classic Template placeholders for specific products. ( https://github.com/woocommerce/woocommerce-blocks/pull/7033 )
...
* If user has created a template for a specific product, find the closest matching template details
* Move Classic Template functions into Utils file and refactor function for specific template names
* Classic Template utils refactor and unit tests
2022-09-06 10:52:33 +01:00
dependabot[bot]
820a22af0f
Bump @wordpress/deprecated from 3.12.0 to 3.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7065 )
...
Bumps [@wordpress/deprecated](https://github.com/WordPress/gutenberg/tree/HEAD/packages/deprecated ) from 3.12.0 to 3.16.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/deprecated/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/deprecated@3.16.0/packages/deprecated )
---
updated-dependencies:
- dependency-name: "@wordpress/deprecated"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:44:10 +02:00
dependabot[bot]
575f4a4903
Bump wp-phpunit/wp-phpunit from 6.0.1 to 6.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/7067 )
...
Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/wp-phpunit/wp-phpunit/releases )
- [Commits](https://github.com/wp-phpunit/wp-phpunit/compare/6.0.1...6.0.2 )
---
updated-dependencies:
- dependency-name: wp-phpunit/wp-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:28:46 +02:00
Niels Lange
25eb9f4950
Update checkout-flow-and-events.md
2022-09-06 16:23:58 +07:00
dependabot[bot]
e3771fcf41
Bump @wordpress/autop from 3.12.0 to 3.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7063 )
...
Bumps [@wordpress/autop](https://github.com/WordPress/gutenberg/tree/HEAD/packages/autop ) from 3.12.0 to 3.16.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/autop/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/autop@3.16.0/packages/autop )
---
updated-dependencies:
- dependency-name: "@wordpress/autop"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:23:05 +02:00
dependabot[bot]
b1aadf8c7c
Bump @wordpress/dom from 3.2.7 to 3.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7053 )
...
Bumps [@wordpress/dom](https://github.com/WordPress/gutenberg/tree/HEAD/packages/dom ) from 3.2.7 to 3.16.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/dom/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/dom@3.16.0/packages/dom )
---
updated-dependencies:
- dependency-name: "@wordpress/dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 15:37:17 +02:00
dependabot[bot]
6695359883
Bump moment-timezone from 0.5.34 to 0.5.37 ( https://github.com/woocommerce/woocommerce-blocks/pull/7022 )
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.34 to 0.5.37.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.34...0.5.37 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
2022-09-05 12:51:25 +02:00
dependabot[bot]
7bd1464c9e
Bump commander from 9.3.0 to 9.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6831 )
...
Bumps [commander](https://github.com/tj/commander.js ) from 9.3.0 to 9.4.0.
- [Release notes](https://github.com/tj/commander.js/releases )
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tj/commander.js/compare/v9.3.0...v9.4.0 )
---
updated-dependencies:
- dependency-name: commander
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
2022-09-05 12:34:07 +02:00
dependabot[bot]
846666deda
Bump core-js from 3.23.3 to 3.25.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7051 )
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.23.3 to 3.25.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.23.3...v3.25.0 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 12:17:12 +02:00
dependabot[bot]
58838d025f
Bump automattic/jetpack-autoloader from 2.11.6 to 2.11.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/6810 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.6 to 2.11.7.
- [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.6...v2.11.7 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 12:05:06 +02:00
Alba Rincón
5e96759159
Fix php format ( https://github.com/woocommerce/woocommerce-blocks/pull/7050 )
2022-09-05 11:35:10 +02:00
dependabot[bot]
2c9e9e9dc6
Bump @actions/core from 1.9.0 to 1.9.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/6938 )
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 11:05:06 +02:00
dependabot[bot]
83b5a482af
Bump @wordpress/browserslist-config from 4.1.2 to 5.0.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7003 )
...
Bumps [@wordpress/browserslist-config](https://github.com/WordPress/gutenberg/tree/HEAD/packages/browserslist-config ) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/browserslist-config/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/browserslist-config@5.0.0/packages/browserslist-config )
---
updated-dependencies:
- dependency-name: "@wordpress/browserslist-config"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Cafferkey <tjcafferkey@gmail.com>
2022-09-05 10:59:13 +02:00
dependabot[bot]
e4d0f1d0af
Bump @typescript-eslint/parser from 5.31.0 to 5.35.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/7004 )
2022-09-05 08:49:33 +00:00
Tarun Vijwani
ec1da6a68c
Fix experimental interface document link in release initial checklist ( https://github.com/woocommerce/woocommerce-blocks/pull/6992 )
2022-09-05 10:45:03 +05:30
github-actions[bot]
db69fd92fc
Release: 8.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7001 )
...
* Empty commit for release pull request
* Add the changelog to `readme.txt`
* Add testing instructions & release zip
* Fix video tags
* Update feedback document path
* Bumping version strings to new version.
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2022-09-02 18:20:01 +01:00
Alba Rincón
f141a75acc
Update `filter by price` skeleton design ( https://github.com/woocommerce/woocommerce-blocks/pull/6997 )
...
* Update filter by price skeleton design
* Improve skeleton colors
* Update skeleton when no apply button
* Update skeleton with apply button
* Avoid showing a very wide placeholder when the filter title is very long
* Start using the FilterTitlePlaceholder component for the placeholder
* Add comment to isUpdating
* Remove unneeded styles
* Fix title animation
2022-09-02 15:52:52 +02:00
Alba Rincón
70cbc31332
Fix pills in the `Filter by Attribute` block dropdown overlapping with the chevron ( https://github.com/woocommerce/woocommerce-blocks/pull/7039 )
...
* Avoid chevron overlap
* Improve input width calculation
2022-09-02 12:57:58 +02:00
Luigi Teschio
3ea46e426a
Add to the Product Image block the support for the Product Query block ( https://github.com/woocommerce/woocommerce-blocks/pull/6911 )
...
* Adds to the Product Image Block the support for the Product Query Block
Adds to the Product Image Block the support for the Product Query Block woocommerce/woocommerce-blocks#6911
* Add to the Product Image Block the support for the Product Query Block
* address feedback
* set grid view and font-size L as default
2022-09-01 15:13:19 +02:00
Tung Du
a80426917f
Product Search E2E tests ( https://github.com/woocommerce/woocommerce-blocks/pull/7005 )
2022-09-01 18:20:20 +07:00
Daniel W. Robert
6b251cc222
Remove __experimentalDuotone from block.json. ( https://github.com/woocommerce/woocommerce-blocks/pull/7000 )
...
The __experimentalDuotone Supports property in the block.json files were
preventing the Global Styles from being applied in the Editor.
Removing them remedies the issue.
This also adds a Schema property to improve development in supported
editors. See
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#benefits-using-the-metadata-file .
2022-08-31 13:03:21 -04:00
Tom Cafferkey
89cdf7897a
Set default orderby to popularity ( https://github.com/woocommerce/woocommerce-blocks/pull/7025 )
2022-08-31 12:38:48 +01:00
Alba Rincón
3421857599
Fix stock filter placeholder ( https://github.com/woocommerce/woocommerce-blocks/pull/7009 )
...
* Set max-height to avoid showing a big placeholder on longer titles
* Avoid showing placeholder when no there are no products
* Extract the placeholder to a separate component
* Adjust width
* Adjust border radius
* Pass the title to adjust the placeholder width/height
* Rename component
2022-08-31 10:43:26 +02:00
Saad Tarhi
ff48e7d45a
Update version to 8.5.0-dev
2022-08-30 12:37:33 +01:00
Alba Rincón
1e488287ed
Update `filter by stock` skeleton design ( https://github.com/woocommerce/woocommerce-blocks/pull/6996 )
...
* Update filter by stock skeleton design
* Show skeleton only when is loading, otherwise it will show the loading state also after clicking on an option
2022-08-30 09:32:30 +02:00
Alex Florisca
d6d94ae622
Add static class name for product-details ( https://github.com/woocommerce/woocommerce-blocks/pull/6914 )
...
* Add a static class name for the product details item instead of the translatable string
* Update Jest snapshot
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2022-08-29 11:46:33 +01:00
Alba Rincón
aa214f4d28
Remove the price filter setting label style ( https://github.com/woocommerce/woocommerce-blocks/pull/6994 )
2022-08-29 10:41:25 +02:00
Seghir Nadir
42f3ffefc9
Turn current page into the default Cart/Checkout page ( https://github.com/woocommerce/woocommerce-blocks/pull/6867 )
...
* Add default page notice
* show notice all inner blocks
* support flow when page isnt saved
* switch from where we get the current post id
* update lock
* fix types
* update logic to support cart as well
* fix package.json
* update design and move away from wc.data
* restore notice
* handle older versions of WooCommerce
* fix package lock
* fix typo
2022-08-29 09:35:05 +01:00
Seghir Nadir
241350c0c9
only load shipping countries when shipping is needed ( https://github.com/woocommerce/woocommerce-blocks/pull/6901 )
2022-08-29 09:05:19 +01:00
Tarun Vijwani
c0f6aec882
Change Type for shipping_address and billing_address to object ( https://github.com/woocommerce/woocommerce-blocks/pull/6974 )
...
* Change Type for shipping_address and billing_address to object
* Fix description
2022-08-29 07:29:50 +01:00
Saad Tarhi
d64cb9f4b2
Fix a broken link in "available-filters.md" ( https://github.com/woocommerce/woocommerce-blocks/pull/6971 )
2022-08-26 18:21:50 +01:00
Daniel W. Robert
b2f98c2f51
Layout Updates to Active Filters Block ( https://github.com/woocommerce/woocommerce-blocks/pull/6905 )
...
* Reverse ordter of filter item name and close btn.
* Update layout & typography styles for block items
* Update chip ui view styles.
Additionally, add editor styles to have the editor match the rendered
frontend.
* Update additional remove button styles.
- Add hover state to remove button on chip layout.
- Update disabled styles to remove button in both layouts (mainly relevant
to the editor view).
* Adjust remove button colors.
Set hover states to shades of grey. Also set chip color and text to
match selected text color of the block.
* Update e2e test to account for new element order.
Since we're moving the remove button in the list view from the last
child node to the first child node, we need to adjust the expected order
of the active filter item text.
* Design and copy updates on the block settings
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
Co-authored-by: Alba Rincón <alba.rincon@automattic.com>
2022-08-26 09:11:23 -04:00
dependabot[bot]
a9bcc9a8fc
Bump terser from 4.8.0 to 4.8.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/6727 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-25 15:25:56 -04:00
dependabot[bot]
aa34dfc321
Bump @storybook/react from 6.5.9 to 6.5.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/6858 )
...
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react ) from 6.5.9 to 6.5.10.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.10/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.10/app/react )
---
updated-dependencies:
- dependency-name: "@storybook/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-25 09:10:38 -04:00
Niels Lange
6ca73386f6
Update folder-structure.md
2022-08-25 14:39:34 +02:00
Albert Juhé Lluveras
2c1dacdd93
Fix z-index issue in Filter by Attribute dropdowns ( https://github.com/woocommerce/woocommerce-blocks/pull/6981 )
...
* Fix z-index issue in Filter by Attribute dropdowns
* Remove unnecessary z-index property
2022-08-25 13:55:33 +02:00
Alba Rincón
90562ae3e0
Remove pattern file added by mistake ( https://github.com/woocommerce/woocommerce-blocks/pull/6980 )
2022-08-25 13:03:10 +02:00
Alba Rincón
2060f11474
`Filter by Attribute` block design updates ( https://github.com/woocommerce/woocommerce-blocks/pull/6920 )
...
* Add and style Reset and Apply buttons
* Style the dropdown option
* Fix class and label
* Fix checkbox margin in editor
* Fix alignment
* Fix the reset button
* Disable Apply button when no changes have been made to the filter to improve UX
* Reduce vertical spacing between list items
* Style chips
* Don't reload on reset if filters have not been applied
* Fix heading styles on the front end
* Add chevron down to filter by attribute dropdown ui component
* Force FormTokenField to remount on reset
* Fix dropdown z-index
* Reduce apply button margin
* Fix styles for single token selection
Co-authored-by: tjcafferkey <tjcafferkey@gmail.com>
2022-08-25 12:01:41 +02:00
Lucio Giannotta
95963a7bab
Fix Product Query block hijacking all Query blocks queries ( https://github.com/woocommerce/woocommerce-blocks/pull/6952 )
...
* Fix Product Query block hijacking all Query blocks queries
The Product Query block was adding a filter to Gutenberg's core
Query Loop block. When this filter was added once, it would from
then on apply to all other Query Loop blocks (or variations thereof)
on a page.
This change makes sure that:
1. No filters are added in the first place if our custom `__woocommerceVariationProps`
are not set.
2. The filter only gets run once.
2022-08-25 02:48:36 +02:00
Seghir Nadir
58e3b33439
support mdlint in husky ( https://github.com/woocommerce/woocommerce-blocks/pull/6968 )
2022-08-24 14:26:14 +01:00
Tung Du
6327094a49
Style the Filter by Price block based on the wrapper width ( https://github.com/woocommerce/woocommerce-blocks/pull/6943 )
2022-08-24 16:10:21 +07:00
Tomasz Tunik
b295689571
Product search block as core/search variation ( https://github.com/woocommerce/woocommerce-blocks/pull/6191 )
...
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
2022-08-23 23:06:17 +07:00
Alba Rincón
aae8c5d357
Update filter button styles ( https://github.com/woocommerce/woocommerce-blocks/pull/6958 )
...
* Update filter button styles
* Address feedback: use mixings
* Improve the editor selector for stock apply button
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Reduce vertical margin and input width
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2022-08-23 12:38:39 +02:00
Alba Rincón
d8a1dfc456
Make the inlineInput default to false to avoid changing existing block behaviour ( https://github.com/woocommerce/woocommerce-blocks/pull/6957 )
2022-08-23 12:10:46 +02:00