Mike Jolley
9ba4f34d31
Cart and Checkout block transforms for classic shortcodes ( https://github.com/woocommerce/woocommerce-blocks/pull/11228 )
...
* Add transforms for checkout block
* Block to shortcode switcher in notice
* cart transforms
* Fix target block for switching
* Remove switcher UI for classic cart/checkout
* Set isPreview when generating block preview in switcher
* Onboarding task
* Action on click
* Focus on block after replacement
* Update notice styling and wording
* Undo functionality
* Look for woocommerce/classic-shortcode when determining if task list item should display
* Enable focus on the cart/checkout block when visiting from the task list
* Classic Cart/Checkout Updated Title
* Add missing translations
* Refactor modal content to avoid sprintf
* Improve pickBlockClientId
* Tracks events for switching to classic shortcode block
* TaskList support for non-block themes
* Updated placeholder to work on non-white page backgrounds
* Find blocks using findBlock utility
* Add TabbableContainer for buttons
* Add align to wrapper
* Update modal content
* Update modal usage
* Removed undo link when converting from classic shortcode
* Check if block was selected
* Revert "Removed undo link when converting from classic shortcode"
This reverts commit 2babbab4c1e69861a0371ff745e85d80ff6bbab1.
* update snackbar text
2023-10-19 16:43:43 +01:00
Alba Rincón
da8bd0d713
Change the structure to allow aligning left the icons on mobile ( https://github.com/woocommerce/woocommerce-blocks/pull/11355 )
2023-10-19 16:35:51 +02:00
Alba Rincón
55faf5222f
Decrease spacing between menu items ( https://github.com/woocommerce/woocommerce-blocks/pull/11356 )
2023-10-19 16:35:28 +02:00
Alba Rincón
499a7f2145
Re-enable the `Product Hero 2 Column 2 Row` pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/11346 )
2023-10-19 13:59:11 +02:00
Alba Rincón
70c3f56cd0
Fix white space on the right of the pattern by using groups instead of columns ( https://github.com/woocommerce/woocommerce-blocks/pull/11315 )
2023-10-19 13:44:59 +02:00
Alba Rincón
6c51ec61ac
Adjust margins and paddings for the Featured Category Triple ( https://github.com/woocommerce/woocommerce-blocks/pull/11319 )
2023-10-19 08:40:01 +02:00
Thomas Roberts
38759c4e84
Move `FormattedMonetaryAmount` to the components package ( https://github.com/woocommerce/woocommerce-blocks/pull/11230 )
2023-10-18 07:43:34 -07:00
Thomas Roberts
c9ae690a0b
Move `Chip` and `RemovableChip` to components package ( https://github.com/woocommerce/woocommerce-blocks/pull/11223 )
2023-10-18 05:08:18 -07:00
Karol Manijak
d548852380
Simplify Product Collection query attributes by removing attributes which are never used ( https://github.com/woocommerce/woocommerce-blocks/pull/11259 )
...
* Simply Product Collection query attribute by removing sticky and parents which are never used
* Remove parents attribute from migration logic
2023-10-18 12:47:55 +02:00
Karol Manijak
9a1e26057c
Remove hardcoded queryIds from patterns that include Product Collection ( https://github.com/woocommerce/woocommerce-blocks/pull/11290 )
2023-10-18 09:43:20 +02:00
Tung Du
a441329dc8
Fix: Mini-Cart block shows wrong total if theres multiple installs on the same domain ( https://github.com/woocommerce/woocommerce-blocks/pull/11257 )
2023-10-18 07:21:15 +00:00
roykho
3c7b291ea5
Add changelog and testing for 11.3.1 release
2023-10-17 07:40:21 -07:00
Paulo Arromba
9e9ebc5039
Use the <header> element for the checkout header ( https://github.com/woocommerce/woocommerce-blocks/pull/11222 )
...
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2023-10-17 14:02:10 +01:00
Alba Rincón
795242af1a
[Store Customization] Fix the "Testimonials 3 Columns" title alignment ( https://github.com/woocommerce/woocommerce-blocks/pull/11281 )
2023-10-17 13:50:19 +01:00
Paulo Arromba
08802e6bd3
Use the <main> tag in Cart and Checkout templates ( https://github.com/woocommerce/woocommerce-blocks/pull/11224 )
2023-10-17 13:10:33 +01:00
Mike Jolley
f5d5514dfe
Add examples and background to formatters doc ( https://github.com/woocommerce/woocommerce-blocks/pull/11242 )
2023-10-17 12:49:59 +01:00
Thomas Roberts
766fa1311d
Move `CheckboxList` and create new `blocksComponents` package ( https://github.com/woocommerce/woocommerce-blocks/pull/11214 )
2023-10-17 02:47:34 -07:00
Alba Rincón
7563bea081
[Store Customization] Fix pattern spacing in homepage template 3 ( https://github.com/woocommerce/woocommerce-blocks/pull/11279 )
...
* Fix pattern spacing
Removes the top/bottom paddings, adds margins to the bottom of each pattern
* Add margin between patterns to ensure consistency between themes
* Add margin to the bottom of patterns
2023-10-17 11:09:20 +02:00
Alba Rincón
2b4754ff2e
[Store Customization] Fix pattern spacing in homepage template 2 ( https://github.com/woocommerce/woocommerce-blocks/pull/11278 )
...
* Fix pattern spacing
Removes the top/bottom paddings, adds margins to the bottom of each pattern
* Add margin between patterns to ensure consistency between themes
2023-10-17 11:09:11 +02:00
Alba Rincón
a918602c71
Fix pattern spacing ( https://github.com/woocommerce/woocommerce-blocks/pull/11268 )
...
Removes the top/bottom paddings, adds margins to the bottom of each pattern
2023-10-17 10:56:02 +02:00
Tom Cafferkey
01c8d45efd
Store Customization > Remove placeholder text from the image on the Hero Product Chessboard pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/11250 )
2023-10-17 08:55:27 +01:00
Luigi Teschio
dfbef14b28
Archive Templates - Compatibility Layer: fix E2E tests ( https://github.com/woocommerce/woocommerce-blocks/pull/11273 )
...
* Archive Templates - Compatibility Layer: fix E2E tests
* remove unecessary step
2023-10-17 09:46:25 +02:00
Tung Du
9297d5ee9e
Add: `menu-order` orderby option for Product Attribute Terms route ( https://github.com/woocommerce/woocommerce-blocks/pull/11232 )
...
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2023-10-17 04:54:50 +00:00
Karol Manijak
276556a47c
Revert woocommerce/woocommerce-blocks#10032 so All Products renders in the frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/11263 )
2023-10-16 17:16:07 +02:00
Brian
ce6c7e460a
LocalPickup: fix learn more documentation link ( https://github.com/woocommerce/woocommerce-blocks/pull/11241 )
2023-10-16 06:26:23 -07:00
Mike Jolley
6f8d87c0af
Examples and use cases for ExtendSchema ( https://github.com/woocommerce/woocommerce-blocks/pull/11245 )
...
* Examples and use cases
* Address feedback
* Revert addition to main file
2023-10-16 13:32:26 +01:00
Alba Rincón
606308de6f
Remove empty pattern file ( https://github.com/woocommerce/woocommerce-blocks/pull/11256 )
2023-10-16 10:31:35 +02:00
Roy Ho
8bb98fd9d9
product gallery block: add preview ( https://github.com/woocommerce/woocommerce-blocks/pull/11247 )
2023-10-13 11:19:14 -07:00
Alba Rincón
0691226cd3
Temporarily disable the woocommerce-blocks/product-hero-2-col-2-row pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/11234 )
2023-10-13 14:05:10 +02:00
Mike Jolley
6571f3356e
Update examples ( https://github.com/woocommerce/woocommerce-blocks/pull/11211 )
2023-10-13 12:14:18 +01:00
Mike Jolley
c8b8b7232d
Checkout Field Padding and Spacing ( https://github.com/woocommerce/woocommerce-blocks/pull/11207 )
...
* Spacing values
* Unused opacity rule
2023-10-13 12:13:50 +01:00
Alba Rincón
494a50cb55
[Store Customization MVP] Add fallbacks to all the pattern titles, descriptions and buttons ( https://github.com/woocommerce/woocommerce-blocks/pull/11208 )
...
* Add fallbacks to all the pattern titles, descriptions and buttons
* Remove pagination in pattern
2023-10-13 10:08:35 +02:00
Alba Rincón
62ab092822
[Store Customization MVP] Add image alts to the ai prompt if available ( https://github.com/woocommerce/woocommerce-blocks/pull/11101 )
...
* Add image alts to the ai prompt if available
* Update images index and remove randomness
* Update pattern with missing content
* Add image alts to the pattern array
* Improve prompt
* Fix typo
* Use the correct business_description in both the scheduled action and the endpoint
2023-10-13 09:32:35 +02:00
Luigi Teschio
5f07baee8b
fix check blocks.ini ( https://github.com/woocommerce/woocommerce-blocks/pull/11227 )
2023-10-12 15:02:39 +02:00
Paulo Arromba
0223b0d156
Updated composer.lock ( https://github.com/woocommerce/woocommerce-blocks/pull/11213 )
2023-10-12 02:37:14 -07:00
Alba Rincón
c6de93a5d9
Make patterns full width and fix margin ( https://github.com/woocommerce/woocommerce-blocks/pull/11206 )
...
* Make patterns full width and fix margin
* Fix horizontal spacing
2023-10-12 09:06:33 +02:00
Tung Du
cd16c0f401
Price Filter powered by Interactivity API ( https://github.com/woocommerce/woocommerce-blocks/pull/10730 )
...
Co-authored-by: David Arenas <david.arenas@automattic.com>
Co-authored-by: Luis Herranz <luisherranz@gmail.com>
2023-10-12 04:30:27 +00:00
Niels Lange
113342fc89
Fix inconsistent border focus styles ( https://github.com/woocommerce/woocommerce-blocks/pull/11203 )
2023-10-12 09:31:55 +07:00
roykho
847d94b040
Fix linting errors in testing instructions for 1130
2023-10-11 09:12:57 -07:00
Mike Jolley
0c2f042886
Add universal border radius for form elements and components ( https://github.com/woocommerce/woocommerce-blocks/pull/11193 )
...
* Add universal border radius
* Apply radius to checkbox and dropdown
2023-10-11 17:04:45 +01:00
roykho
055e1a11ef
Update to next dev version
2023-10-11 08:40:37 -07:00
roykho
7e426acff3
Update changelogs and testing instructions for 11.3.0
2023-10-11 08:38:55 -07:00
Mike Jolley
2044798af6
Remove Shipping calculator settings and link to the WooCommerce admin settings ( https://github.com/woocommerce/woocommerce-blocks/pull/11184 )
...
* Remove block level options in favour of settings
* Remove calculator toggle test
* Update assets/js/blocks/cart/inner-blocks/cart-order-summary-shipping/block.tsx
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Remove unused attributes
---------
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2023-10-11 15:09:43 +01:00
Tom Cafferkey
cffea366a5
Product Collection 5 Columns pattern - Update title and price to be rows instead of columns ( https://github.com/woocommerce/woocommerce-blocks/pull/11205 )
2023-10-11 12:20:16 +01:00
Tom Cafferkey
a45e3699a2
Product Collection: Featured Products 5 Columns - Remove no results block. ( https://github.com/woocommerce/woocommerce-blocks/pull/11198 )
2023-10-11 08:11:57 +01:00
Hsing-yu Flowers
748ecb0963
Add order and checkout order endpoint documentation ( https://github.com/woocommerce/woocommerce-blocks/pull/11157 )
...
* Add order and checkout order endpoint documentation
* Update order and checkout order endpoint documentation
* Update cart endpoint doc
2023-10-11 06:37:42 +00:00
Manish Menaria
e88fa94026
Product Collection - Fix undefined layout attribute issue in migration ( https://github.com/woocommerce/woocommerce-blocks/pull/11196 )
...
This commit addresses an issue where layout attributes could become undefined during the block migration process. Alongside this fix, several updates were made to align the migration logic with the new `ProductCollectionDisplayLayout` types:
- Added logic to handle `undefined` layout attributes, defaulting to `DEFAULT_ATTRIBUTES.displayLayout`.
- Removed `ProductGridLayout` and `ProductGridLayoutTypes` from the types file.
- Imported `LayoutOptions` and `ProductCollectionDisplayLayout` from the product-collection module.
- Updated the `mapLayoutType` and `mapLayoutPropertiesFrom...` functions to use the new layout types.
- Updated transformation functions like `transformProductTemplate` and `transformPostSummary` to use the new types.
These changes not only resolve the issue with undefined layout attributes but also align the codebase with the new layout options, enhancing code maintainability.
2023-10-11 11:00:26 +05:30
Mike Jolley
75bac91787
Ensure validation of fields occurs when collapsing fields ( https://github.com/woocommerce/woocommerce-blocks/pull/11199 )
...
* Ensure validation of fields occurs when collapsing fields
* update click for edit button
* turn off pointer events when hidden
* Add visibility rule
2023-10-10 22:07:58 +01:00
Tom Cafferkey
41724e9400
Product Gallery pattern: Use the Product Collection block ( https://github.com/woocommerce/woocommerce-blocks/pull/11194 )
2023-10-10 17:17:17 +01:00
Luigi Teschio
645bd8d339
Add feature gate for the block templates controller refactor ( https://github.com/woocommerce/woocommerce-blocks/pull/11178 )
...
* add feature gating for the block templates controller refactor
* improve check
2023-10-10 16:50:18 +02:00