woocommerce/plugins/woocommerce-blocks/assets/js/blocks/single-product
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
..
edit Convert product-elements/rating to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/7540) 2022-12-22 14:23:11 +07:00
attributes.js Refactor View Switcher to use Block Attributes (https://github.com/woocommerce/woocommerce-blocks/pull/8006) 2022-12-22 14:35:24 +00:00
block.tsx Convert product-elements/rating to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/7540) 2022-12-22 14:23:11 +07:00
constants.js Remove custom `Icon` component in favour of `@wordpress/icons` where possible (https://github.com/woocommerce/woocommerce-blocks/pull/5599) 2022-02-01 16:54:38 +00:00
frontend.js Refactor Render Parent Block (https://github.com/woocommerce/woocommerce-blocks/pull/4325) 2021-06-11 09:54:18 +01:00
index.js Limit CSS styles to WooCommerce Block icons only (https://github.com/woocommerce/woocommerce-blocks/pull/5363) 2021-12-10 21:32:44 +07:00
save.js Create single product block placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/2569) 2020-05-27 15:45:18 +01:00