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