woocommerce/plugins/woocommerce-blocks/assets/js/previews
Rua Haszard c13bd7e641 hook up cart items to API data in front end (https://github.com/woocommerce/woocommerce-blocks/pull/1741)
* hook up cart items to API data in front end (first cut)

* correctly decode entities in product attributes in cart:
+ support unnamed attributes

* correctly render markup in cart line item descriptions:
- description api field is html, so use dangerouslySetInnerHTML

* fix PropTypes - cartItems, not items

* hook up cart totals area to API data +
+ move editor preview totals data to resource-previews (to match API)

* tweak/tidy todo comments for cart front end

* use shorter summary field for cart line item blurb

* render empty cart inner blocks on front end when shopper cart is empty

* ensure empty cart doesn't show while cart contents is loading

* decode entities in attribute names when rendering cart items

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* factor out cart data to a custom hook + exit earlier while loading

* wrap preview/sample cart variation data for translation

* use RawHTML component for rendering cart line item summary +
+ linter whitespace tweak

Co-authored-by: Albert Juhé Lluveras <aljullu@gmail.com>
2020-02-19 12:06:37 +13:00
..
cart.js hook up cart items to API data in front end (https://github.com/woocommerce/woocommerce-blocks/pull/1741) 2020-02-19 12:06:37 +13:00
categories.js Add featured category preview (https://github.com/woocommerce/woocommerce-blocks/pull/1122) 2019-11-05 10:33:07 +00:00
grid-block.js Add grid block previews using an SVG image (https://github.com/woocommerce/woocommerce-blocks/pull/1118) 2019-11-15 15:16:18 +00:00
index.js hook up cart items to API data in front end (https://github.com/woocommerce/woocommerce-blocks/pull/1741) 2020-02-19 12:06:37 +13:00
product-image.js Cart block: line-items front end initial work (https://github.com/woocommerce/woocommerce-blocks/pull/1333) 2020-01-10 11:50:14 +13:00
products.js Summary/description consistency update (https://github.com/woocommerce/woocommerce-blocks/pull/1639) 2020-01-29 10:59:33 +00:00
reviews.js Add previews for Reviews blocks (https://github.com/woocommerce/woocommerce-blocks/pull/1059) 2019-10-22 16:13:14 +02:00