woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/full-cart
Thomas Roberts bc750438c2 Convert Cart Table to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/4088)
* Convert CartLineItemsTitle to TypeScript

* Add type guards

* Change CartLineItemRow extension to .tsx

* Remove parseInt from price precision

This is because the API sends it as a number, so it will never be a string, so no need to parse it.

* Add dinero.js types

* Type QuantitySelector and add types for @wordpress/keycodes

* Make __experimentalApplyCheckoutFilter use generic types

* Add catalog_visibility type & change types of CartItem

* Add isNumber and isString to type guards

* Type ProductLowStockBadge

* Ensure type returned by a filter function is the same it received

* Include type guards and hooks in tsconfig

* Add more type safety to useStoreCartItemQuantity

* Make className optional on QuantitySelector

* Type CartLineItemRow

* Type CartLineItemsTable

* Type Cart

* Add extra keys to CartResponseItem

* Clean aria-hidden logic

* Export type-guards from module

* Use aliases to import types in CartLineItemRow

* Remove unused prop types and specify return type of function

* Specify return type of component

* Use JSX.Element instead of ReactNode

* Remove unused variables & set return type of components

* Remove PropTypes
2021-04-23 10:15:17 +01:00
..
cart-line-item-row.tsx Convert Cart Table to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/4088) 2021-04-23 10:15:17 +01:00
cart-line-items-table.tsx Convert Cart Table to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/4088) 2021-04-23 10:15:17 +01:00
cart-line-items-title.tsx Convert Cart Table to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/4088) 2021-04-23 10:15:17 +01:00
index.tsx Convert Cart Table to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/4088) 2021-04-23 10:15:17 +01:00
style.scss Inherit line height in Cart item total (https://github.com/woocommerce/woocommerce-blocks/pull/3897) 2021-03-05 14:02:11 +00:00