@shopify/hydrogen-react 0.0.0-next-b86bc7a → 0.0.0-next-90b71f0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ import { Money } from './Money.js';
2
+ import { CartLine } from './storefront-api-types.js';
3
+ import { PartialDeep } from 'type-fest';
4
+ interface CartLinePriceProps {
5
+ /** A [CartLine object](https://shopify.dev/api/storefront/reference/objects/CartLine). */
6
+ data: PartialDeep<CartLine, {
7
+ recurseIntoArrays: true;
8
+ }>;
9
+ /** The type of price. Valid values:`regular` (default) or `compareAt`. */
10
+ priceType?: 'regular' | 'compareAt';
11
+ }
12
+ /**
13
+ * The `CartLinePrice` component renders a `Money` component for the cart line merchandise's price or
14
+ * compare at price.
15
+ */
16
+ export declare function CartLinePrice(props: Omit<React.ComponentProps<typeof Money>, 'data'> & CartLinePriceProps): JSX.Element | null;
17
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/hydrogen-react",
3
- "version": "0.0.0-next-b86bc7a",
3
+ "version": "0.0.0-next-90b71f0",
4
4
  "description": "React components, hooks, and utilities for creating custom Shopify storefronts",
5
5
  "homepage": "https://github.com/Shopify/hydrogen-ui/tree/main/packages/react",
6
6
  "license": "MIT",