Commit Graph

61949 Commits

Author SHA1 Message Date
Sebastian Buchwald 5ff41e577f Fix empty ClassicTemplate on product_cat site templates (https://github.com/woocommerce/woocommerce-blocks/pull/11164)
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
2023-12-08 13:30:31 +01:00
Mike Jolley 1535caac84 Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909)
* ProductControl is now defined in typescript. Remove todo

* Update components to typescript

* Update lifecycle test
2023-12-08 11:39:31 +00:00
Karol Manijak 31905b97f2 Make Featured Category centred horizontally (https://github.com/woocommerce/woocommerce-blocks/pull/12063) 2023-12-08 10:11:34 +01:00
Karol Manijak e7a53dcf06 Update Features Flags and Experimental Interfaces doc with Collection Filters and its inner blocks (https://github.com/woocommerce/woocommerce-blocks/pull/12047)
* Update Features Flags and Experimental Interfaces doc with Collection Filters and its inner blocks

* Replace feature flag references with links to specific commit, not trunk
2023-12-08 10:10:58 +01:00
Roy Ho 4992b77e49 Remove styling from sale badge (https://github.com/woocommerce/woocommerce-blocks/pull/12077)
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2023-12-07 18:24:18 -08:00
Damián Suárez cf33d1a31c
[Product Block Editor]: re implement product description field (#41862) 2023-12-07 20:51:39 -03:00
Damián Suárez 4508f8764c fix tests 2023-12-07 20:22:49 -03:00
Damián Suárez a459f1eb7e fix eslint error 2023-12-07 19:55:18 -03:00
Barry Hughes 030bc4004f
Add customer address change action to user profile (#39254) 2023-12-07 14:52:36 -08:00
Daniel Dudzic ca3234b4be Product Gallery: Replace the frontend custom placeholder with the core Woo placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/12086) 2023-12-07 23:51:32 +01:00
Damián Suárez a31f09bb06 fix e2e failing tests 2023-12-07 19:35:06 -03:00
Damián Suárez c99c04b160 fix lint issues 2023-12-07 19:35:06 -03:00
Damián Suárez a5f889a87f changelog 2023-12-07 19:35:06 -03:00
Damián Suárez 1cc78c7ce1 changelog 2023-12-07 19:35:06 -03:00
Damián Suárez d602d928e5 allow focusing to description block 2023-12-07 19:35:06 -03:00
Damián Suárez 74e2e166c0 don't allow focusing to Preview component 2023-12-07 19:35:06 -03:00
Damián Suárez 69914eea34 set initial blocks from the store 2023-12-07 19:35:06 -03:00
Damián Suárez c296776121 parse and set iframe blocks when clicking on toolbar button 2023-12-07 19:35:06 -03:00
Damián Suárez 52c95d242c fix checking description is defined 2023-12-07 19:35:06 -03:00
Damián Suárez b7aeaecb3b load description styles 2023-12-07 19:35:06 -03:00
Damián Suárez b24ddef6c0 tweak description preview 2023-12-07 19:35:06 -03:00
Damián Suárez d336a1c508 show full editor toolbar button when blocks 2023-12-07 19:35:05 -03:00
Damián Suárez beca44c12b react -> extract full editor toolbar button cpm 2023-12-07 19:35:05 -03:00
Damián Suárez f573a0a4b4 use kebab-case to file names 2023-12-07 19:35:05 -03:00
Damián Suárez 25626b8df0 fix TS issues 2023-12-07 19:35:05 -03:00
Damián Suárez ba52220f39 introduce _templateBlockId attr to Product block 2023-12-07 19:35:05 -03:00
Damián Suárez 23c8d67821 remove Add/Update button 2023-12-07 19:35:05 -03:00
Damián Suárez b3c606d249 extend Description block with toolbar button 2023-12-07 19:35:05 -03:00
Damián Suárez 100263a64b introduce wooBlockwithFullEditorToolbarButton HOC 2023-12-07 19:35:05 -03:00
Damián Suárez 0a513661c1 update deps 2023-12-07 19:35:05 -03:00
Damián Suárez bcd6669721 add hooks dependency 2023-12-07 19:35:05 -03:00
Damián Suárez 5f91f74a93 silent useInnerBlocksProps TS issue 2023-12-07 19:35:05 -03:00
Damián Suárez 356ac0bdb5 insert Summary block into the Description one 2023-12-07 19:35:05 -03:00
Damián Suárez 5f9c5fc4d6 description block uses inner blocks 2023-12-07 19:35:05 -03:00
Leif Singer 7838adc1b9
Logging: Enable viewing log entry context data in the DB logger list table (#41936) 2023-12-07 22:58:05 +01:00
Matt Sherman 6bec52cfe8 Changelog 2023-12-07 15:59:52 -05:00
Matt Sherman c93c3e3fcd Assert that template attributes and usesContext are augmented 2023-12-07 15:50:47 -05:00
Matt Sherman 23fa0fedf8 Additional unit tests 2023-12-07 15:30:52 -05:00
Matt Sherman 4dc0ac6432 Extract is_registered and unregister 2023-12-07 15:17:25 -05:00
Nathan Silveira 7d8bb9be3f
Add @woocommerce/product-editor as an npm devDependency to create-product-editor-block (#41886)
* Add legacy-peer-deps flag

* Add @woocommerce/product-editor as an npm devDependency

* Use wooBlockProps hook
2023-12-07 16:12:18 -03:00
Maikel David Pérez Gómez 37c965735d
Create section description block (#41929)
* Create section description block

* Add changelog files

* Change section description block to receive its content from the attributes instead of innerBlocks
2023-12-07 14:11:23 -05:00
Corey McKrill 286fb53418
Only render context row when an entry has context data 2023-12-07 11:00:56 -08:00
Corey McKrill 0d286a19f8
Update unit tests to use JSON instead of serialize 2023-12-07 10:58:23 -08:00
Matt Sherman 7206f2b3b9 Add unit test for register_block_type_from_metadata 2023-12-07 13:45:28 -05:00
Ron Rennick 488a970b82
Fix category title and add post_title to docs manifest (#41715) 2023-12-07 13:50:44 -04:00
Tarun Vijwani 29b4217f15 Update the border colors in the Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/11474)
* Change border color to Gutenberg 100 for Cart and Checkout blocks

* Change form input color to Gutenberg 900 for Cart and Checkout blocks

* Fix additional border colors of Checkout block

* Update borders and form field colors in Cart Block

* Change border color to $universal-border-light

* Change border color for cart line items to $universal-border-light

* Change  form input fields border color to $universal-border-dark

- Add $universal-border-dark color variable for woocommerce/woocommerce-blocks#1e1e1e on white.

* Fix colors of text area border and form steps

* Change  form input fields border color to $universal-border-dark

- Add $universal-border-dark color variable for woocommerce/woocommerce-blocks#1e1e1e on white.

* Fix form steps

* Update universal dark border rgba value

- Update universal dark border rgba value from rgba(0, 0, 0, 0.882) to rgba(17, 17, 17, .80) to keep it consistent with universal-border colors

* Update $universal-border-light color

* Update the opacity of the borders

* Update the border color to rgba (17, 17, 17, 0.12)

* Roll back $universal-border-light value to the original value: 0.115

* Remove Opacity and pass it as argument in with-translucent-border

- We have with-translucent-border option that accepts border and opacity for pseudo elements.

* Remove additional spaces

* Replace with-translucent-border with normal border

- Since we're are not mixing the opacity to the border color so we don't need to use mixin with-translucent-border.

* Fix applied css and add low contrast Color usage details

-  Fix minor CSS as per the standards.
- Add comments for universal border colors that they're low contrast colors and should be used for decorative elements only

* Fix border gap and double border for multiple shipping packages

* Fix payment method borders and Cart line items borders

- Change border bottom to border-top for cart line items.
- Fix payment method radio control borders.

* Fix local pickup border

- Local pickup was using  with-translucent-borders so it has some opacity, changed it to border-bottom.

* Add border-bottom to cart items

* Remove additional border from Cart items

* Fix radio and checkbox borders as per the design

* Fix shipping method borders and background color as per the design.

* Force align left on the description for the local pickup options.

* Update border color in quantity selector component

* Fix Shipping options radio selection alignment

- Add left padding to wc-block-components-shipping-rates-control__package element.

* Update colors and variables

* Change checkbox and radio button colors

- Change checkbox and radio button colors from  rgba(25, 23, 17, 0.3) to  rgba(25, 23, 17, 0.48).

* Remove bottom property from express payment style
2023-12-07 21:37:48 +04:00
Thomas Roberts 906961be3b Move merchant-side Checkout E2E tests to Playwright (https://github.com/woocommerce/woocommerce-blocks/pull/11853) 2023-12-07 17:32:18 +00:00
Alefe Souza 4b58adde04 Fix casting error on Utils::wp_version_compare (https://github.com/woocommerce/woocommerce-blocks/pull/11802)
* Fix casting on Utils::wp_version_compare

* Fix linting issue

* Apply version number fix on current wp version

* Fix linter errors

* Fix linter errors
2023-12-07 18:18:34 +01:00
Niels Lange 7a0835e354 Migrate translation tests to Playwright (https://github.com/woocommerce/woocommerce-blocks/pull/12070)
* Migrate translation tests to Playwright

* Optimise tests

* Migrate translation tests to Playwright

* Optimise tests

* Run test as side effects
2023-12-07 16:50:00 +00:00
Luigi Teschio 88562d1106 Products By Attribute: E2E tests - skip test (https://github.com/woocommerce/woocommerce-blocks/pull/12085) 2023-12-07 17:19:50 +01:00