woocommerce/plugins/woocommerce-blocks/assets/js/blocks/mini-cart
Alba Rincón d4fe2a5b5d Mini-cart: add setting to not render the block on the cart & checkout pages (https://github.com/woocommerce/woocommerce-blocks/pull/8700)
* Add `renderInCartAndCheckout` attribute and toggle

* Show setting only when inserted in a template

* Don't render the mini-cart if the setting is disabled

* Stop rendering the mini-cart if the setting is false

* method to snakecase

* Make the attribute a string

In the future we may want to add more rendering styles, so a boolean wasn't the
best option, a string will allowed us more than two options

* Change toggle copy
2023-03-14 15:59:46 +01:00
..
mini-cart-contents Add border support to mini cart contents (https://github.com/woocommerce/woocommerce-blocks/pull/8654) 2023-03-10 09:25:24 +01:00
quantity-badge Remove colorClassName and style from QuantityBadge (https://github.com/woocommerce/woocommerce-blocks/pull/8557) 2023-03-02 15:08:09 +01:00
test Feature: Data Store Migration - Payments (https://github.com/woocommerce/woocommerce-blocks/pull/6619) 2022-09-28 13:45:42 +01:00
block.tsx Fix Mini Cart Block global styles woocommerce/woocommerce-blocks#7379 (https://github.com/woocommerce/woocommerce-blocks/pull/7515) 2022-10-31 11:47:01 +01:00
component-frontend.tsx Add option to hide/show price in Mini Cart block (https://github.com/woocommerce/woocommerce-blocks/pull/6796) 2022-08-02 10:28:52 -04:00
edit.tsx Mini-cart: add setting to not render the block on the cart & checkout pages (https://github.com/woocommerce/woocommerce-blocks/pull/8700) 2023-03-14 15:59:46 +01:00
frontend.ts Remove wc-settings from Mini Cart block dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/8703) 2023-03-10 13:36:20 +01:00
index.tsx Mini-cart: add setting to not render the block on the cart & checkout pages (https://github.com/woocommerce/woocommerce-blocks/pull/8700) 2023-03-14 15:59:46 +01:00
style.scss Mini-cart: add setting to not render the block on the cart & checkout pages (https://github.com/woocommerce/woocommerce-blocks/pull/8700) 2023-03-14 15:59:46 +01:00