Christopher Allford
ec9b7852f9
Fixed Blocks Linting Errors ( #42727 )
2023-12-12 15:05:20 -08:00
Ron Rennick
4fddface47
update text domain in plugins/woocommerce-blocks ( #42717 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 14:12:36 -08:00
Christopher Allford
1d056b3b37
Update Blocks Text Domain
2023-12-09 05:44:54 -08:00
Thomas Roberts
cc84383730
Move all totals components into components package ( https://github.com/woocommerce/woocommerce-blocks/pull/11773 )
...
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2023-11-20 12:53:41 +00:00
Albert Juhé Lluveras
2b6eef516b
Update Mini-Cart block editor sidebar ( https://github.com/woocommerce/woocommerce-blocks/pull/9420 )
...
* Update Mini-Cart block editor sidebar
* Rename Mini Cart block to Mini-Cart
* Update Mini-Cart block editor sidebar (II)
* Update two instances of mini-cart to uppercase
2023-05-11 14:52:03 +02:00
Albert Juhé Lluveras
779e13af15
Fix JS error visible in the editor caused by Mini Cart Contents buttons ( https://github.com/woocommerce/woocommerce-blocks/pull/9039 )
2023-04-14 16:53:39 +02:00
Alba Rincón
709a7a9add
[Mini cart] Make the title customizable ( https://github.com/woocommerce/woocommerce-blocks/pull/8905 )
...
* Create the counter block and the header pattern
* Change the pattern to an inner block
* Allow customizing item counter block
* Rename block
* Allow removing the items counter block
* Add padding controls
* Preload new blocks
* Add title block back from the inserter
* Move h2 tag to the parent title
* Align items at the bottom
* Unify styles
* Add title class in the editor
* Prevent removing title blocks
* Disallow unlocking and inserter
* Disallowing moving blocks
2023-04-14 09:21:21 +02:00
Alexandre Lara
0ad16b2686
Add $schema property to block.json files ( https://github.com/woocommerce/woocommerce-blocks/pull/8877 )
...
This adds the $schema property to all block.json files. This is required for the block.json files to be valid according to the JSON schema. I noticed that this property was not set for some of the block.json files.
2023-03-27 17:26:46 -03:00
Alba Rincón
91eb482e17
Mini-cart buttons: add explanation regarding why we need to check for children ( https://github.com/woocommerce/woocommerce-blocks/pull/8847 )
...
* Add comment explanation regarding the children buttons
* Update comment
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
---------
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2023-03-24 16:25:09 +01:00
Alba Rincón
2d9519b3ba
Add style to the `Mini Cart` buttons ( https://github.com/woocommerce/woocommerce-blocks/pull/8776 )
...
* Create new car button inner block
* Create new checkout button inner block
* Render inner buttons on the frontend
* Fix buttons size
* Add outline to the cart button
* Add color props
* Add urls
* Fix button classes
* Add classes to edit
* Start using editable button
* Add buttons to mini cart tempalte
* Reorder buttons in template
* Add cart & checkout buttons scripts
* Remove unnecessary divs
* Change checkout button block name
* Change cart button block name
* Add deprecation to the buttons
* Fix lint and inline save
* Remove commented out code and fix condition
* Render buttons if no children
* Change migrate condition
* Simplify condition
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Make props optional
* Add missing import
---------
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2023-03-23 16:55:53 +01:00
Albert Juhé Lluveras
ec19838355
Fix issue that prevented spaces being added to Mini Cart, Cart and Checkout buttons ( https://github.com/woocommerce/woocommerce-blocks/pull/8777 )
...
* Fix issue that prevented spaces being added to Mini Cart, Cart and Checkout buttons
* Fix a couple of comments
2023-03-17 13:26:34 +01:00
Albert Juhé Lluveras
4b82793b33
Fix Mini Cart missing translations ( https://github.com/woocommerce/woocommerce-blocks/pull/8591 )
2023-03-02 11:16:32 +01:00
Niels Lange
6c40524dfe
Make mini cart buttons editable ( https://github.com/woocommerce/woocommerce-blocks/pull/7817 )
...
* Make Cart and Checkout buttons editable
* Make shopping button editable
* Remove obsolete dot from the “Empty Mini Cart view” title
* Ensure to keep the existing styles
* Improve name of start shopping button label
* Prevent potential TS error
2022-12-14 13:51:16 +07:00
Alex Florisca
7bf79f33d9
Rename payment-method-data-context to payment-events-context and PAYMENT_METHOD_DATA_STORE_KEY to PAYMENT_STORE_KEY ( https://github.com/woocommerce/woocommerce-blocks/pull/7304 )
...
* Rename payment-method-data-context to payment-event-context and tidy up types and things
* Rename uses of PAYMENT_METHOD_DATA_STORE_KEY to PAYMENT_STORE_KEY
* Rename __internalInitializePaymentMethodDataStore and unsubscribeInitializePaymentMethodDataStore
* Rename unsubscribeInitializePaymentMethodDataStore
2022-10-06 13:46:46 +01:00
Tung Du
a22c93f00b
Disable lock menu item for Mini Carts Contents and its inner blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/6374 )
2022-05-05 17:31:57 +07:00
Tung Du
5415c22251
Prepare the Mini Cart block for WC Core release ( https://github.com/woocommerce/woocommerce-blocks/pull/6209 )
2022-04-08 15:51:21 +07:00
Alex Florisca
e37b787e50
Move mini cart outside cart-checkout folder ( https://github.com/woocommerce/woocommerce-blocks/pull/6192 )
...
* Move shared folder to /blocks
* Moved mini-cart block in blocks dir:
* Rename shared folder to cart-checkout-shared
* Remove customDir from mini-cart webpack entry
* Update assets/js/base/context/tsconfig.json
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
* Feedback changes
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
2022-04-07 14:47:58 +01:00
Alex Florisca
e15d516163
Revert "Move cart and mini-cart blocks into their own folders ( https://github.com/woocommerce/woocommerce-blocks/pull/6126 )" ( https://github.com/woocommerce/woocommerce-blocks/pull/6190 )
...
This reverts commit d005dbd2cf
.
2022-04-05 11:14:32 +01:00
Alex Florisca
d005dbd2cf
Move cart and mini-cart blocks into their own folders ( https://github.com/woocommerce/woocommerce-blocks/pull/6126 )
...
* Move cart and mini-cart into their own folders
* Update other references of cart-checkout
2022-04-04 12:34:29 +01:00