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
Albert Juhé Lluveras
55a6e38598
Prevent Mini-Cart template part preview in Site Editor being too high ( https://github.com/woocommerce/woocommerce-blocks/pull/10204 )
...
* Prevent Mini-Cart template part preview in Site Editor being too high
* Remove Mini-Cart Contents styles related to Style Book
2023-07-14 16:12:40 +02: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
cb8040f7b0
Mini Cart Contents block: fix wide width not being applied in the editor ( https://github.com/woocommerce/woocommerce-blocks/pull/9201 )
2023-04-26 12:16:43 +02:00
Albert Juhé Lluveras
96bd0432cd
Mini Cart Contents block: set minimum width ( https://github.com/woocommerce/woocommerce-blocks/pull/9196 )
...
* Mini Cart Contents block: set minimum width
* Mini Cart Contents block: allow changing the width only in the feature plugin
* Allow resetting the Mini Cart Contents width to the default
* Update assets/js/blocks/mini-cart/mini-cart-contents/edit.tsx
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
---------
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
2023-04-25 18:54:35 +02:00
Albert Juhé Lluveras
c63923e2fb
Display Mini Cart overlay in template part editor ( https://github.com/woocommerce/woocommerce-blocks/pull/9014 )
2023-04-14 10:44:09 +02:00
Alba Rincón
b6039d1d74
Mini cart: allow changing the drawer width ( https://github.com/woocommerce/woocommerce-blocks/pull/8930 )
...
* WIP
* Add width control to the settings sidebar
* Fix linting errors
* Remove comments
* Inline function
* Fix issue with smaller viewports
* Remove unnecessary code
2023-04-14 09:48:55 +02:00
Albert Juhé Lluveras
1d0adeed28
Replace react imports with wordpress/element ( https://github.com/woocommerce/woocommerce-blocks/pull/8520 )
...
* Replace react imports with wordpress/element
* Fix TS errors
* Update a couple of React type imports
2023-03-02 15:26:00 +01:00
Mike Jolley
637f47cac7
Refactor View Switcher to use Block Attributes ( https://github.com/woocommerce/woocommerce-blocks/pull/8006 )
...
* Add cart view switcher
* Attribute based switched POC
* Tidy up view handling
* Mini cart
* Not sure who clint is. Typo - rename to clientId
* Avoid string casting in TS
* Add margin to title
* Set custom source to prevent currentView saving to post content.
Note this also removes `save` which does not exist in Gutenberg.
* Remove higher order component from withViewSwitcher
* Import view switcher in main file
* Add to side effects
* Move view switcher import
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2022-12-22 14:35:24 +00:00
Tung Du
6c42a30674
Use theme's body background color as the mini cart contents default background color ( https://github.com/woocommerce/woocommerce-blocks/pull/7510 )
...
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2022-10-28 22:30:51 +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