@butternutbox/pawprint-native 1.1.0 → 1.1.1

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.
package/dist/index.d.cts CHANGED
@@ -2351,16 +2351,14 @@ type ProductDisplayCardProps = ViewProps & {
2351
2351
  * wins. This prop will be removed in a future major release.
2352
2352
  *
2353
2353
  * Show a quantity badge overlaid on the top-right of the image (rendering the
2354
- * current `quantity`) instead of the quantity picker. Defaults to `false`.
2355
- * The badge and the quantity picker are mutually exclusive — only one shows
2356
- * at a time; when `quantityBadge` is true the picker is never rendered.
2354
+ * current `quantity`). Defaults to `false`. Independent of the quantity
2355
+ * picker — use `showQuantityPicker` to control that separately.
2357
2356
  */
2358
2357
  quantityBadge?: boolean;
2359
2358
  /**
2360
2359
  * Render a `Badge` overlaid on the top-right of the image. Accepts any
2361
2360
  * `BadgeProps` (variant, size, icon, children, etc.) — pass them as an object.
2362
- * Mutually exclusive with the quantity picker: when set, the picker is never
2363
- * rendered.
2361
+ * Independent of the quantity picker: both can be shown at the same time.
2364
2362
  *
2365
2363
  * @example
2366
2364
  * thumbnailBadge={{ variant: "primary", size: "large", children: "New" }}
@@ -2429,16 +2427,14 @@ declare const ProductDisplayCard: React.ForwardRefExoticComponent<ViewProps & {
2429
2427
  * wins. This prop will be removed in a future major release.
2430
2428
  *
2431
2429
  * Show a quantity badge overlaid on the top-right of the image (rendering the
2432
- * current `quantity`) instead of the quantity picker. Defaults to `false`.
2433
- * The badge and the quantity picker are mutually exclusive — only one shows
2434
- * at a time; when `quantityBadge` is true the picker is never rendered.
2430
+ * current `quantity`). Defaults to `false`. Independent of the quantity
2431
+ * picker — use `showQuantityPicker` to control that separately.
2435
2432
  */
2436
2433
  quantityBadge?: boolean;
2437
2434
  /**
2438
2435
  * Render a `Badge` overlaid on the top-right of the image. Accepts any
2439
2436
  * `BadgeProps` (variant, size, icon, children, etc.) — pass them as an object.
2440
- * Mutually exclusive with the quantity picker: when set, the picker is never
2441
- * rendered.
2437
+ * Independent of the quantity picker: both can be shown at the same time.
2442
2438
  *
2443
2439
  * @example
2444
2440
  * thumbnailBadge={{ variant: "primary", size: "large", children: "New" }}
package/dist/index.d.ts CHANGED
@@ -2351,16 +2351,14 @@ type ProductDisplayCardProps = ViewProps & {
2351
2351
  * wins. This prop will be removed in a future major release.
2352
2352
  *
2353
2353
  * Show a quantity badge overlaid on the top-right of the image (rendering the
2354
- * current `quantity`) instead of the quantity picker. Defaults to `false`.
2355
- * The badge and the quantity picker are mutually exclusive — only one shows
2356
- * at a time; when `quantityBadge` is true the picker is never rendered.
2354
+ * current `quantity`). Defaults to `false`. Independent of the quantity
2355
+ * picker — use `showQuantityPicker` to control that separately.
2357
2356
  */
2358
2357
  quantityBadge?: boolean;
2359
2358
  /**
2360
2359
  * Render a `Badge` overlaid on the top-right of the image. Accepts any
2361
2360
  * `BadgeProps` (variant, size, icon, children, etc.) — pass them as an object.
2362
- * Mutually exclusive with the quantity picker: when set, the picker is never
2363
- * rendered.
2361
+ * Independent of the quantity picker: both can be shown at the same time.
2364
2362
  *
2365
2363
  * @example
2366
2364
  * thumbnailBadge={{ variant: "primary", size: "large", children: "New" }}
@@ -2429,16 +2427,14 @@ declare const ProductDisplayCard: React.ForwardRefExoticComponent<ViewProps & {
2429
2427
  * wins. This prop will be removed in a future major release.
2430
2428
  *
2431
2429
  * Show a quantity badge overlaid on the top-right of the image (rendering the
2432
- * current `quantity`) instead of the quantity picker. Defaults to `false`.
2433
- * The badge and the quantity picker are mutually exclusive — only one shows
2434
- * at a time; when `quantityBadge` is true the picker is never rendered.
2430
+ * current `quantity`). Defaults to `false`. Independent of the quantity
2431
+ * picker — use `showQuantityPicker` to control that separately.
2435
2432
  */
2436
2433
  quantityBadge?: boolean;
2437
2434
  /**
2438
2435
  * Render a `Badge` overlaid on the top-right of the image. Accepts any
2439
2436
  * `BadgeProps` (variant, size, icon, children, etc.) — pass them as an object.
2440
- * Mutually exclusive with the quantity picker: when set, the picker is never
2441
- * rendered.
2437
+ * Independent of the quantity picker: both can be shown at the same time.
2442
2438
  *
2443
2439
  * @example
2444
2440
  * thumbnailBadge={{ variant: "primary", size: "large", children: "New" }}
package/dist/index.js CHANGED
@@ -12306,7 +12306,7 @@ var ProductDisplayCard = React66.forwardRef(
12306
12306
  /* @__PURE__ */ jsx(Typography, { variant: "heading", size: "2xs", color: "primary", children: title }),
12307
12307
  showSubtext && subtext && /* @__PURE__ */ jsx(Typography, { variant: "body", size: "sm", color: "secondary", children: subtext })
12308
12308
  ] }),
12309
- showQuantityPicker && !resolvedBadgeProps && /* @__PURE__ */ jsx(View, { style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsx(
12309
+ showQuantityPicker && /* @__PURE__ */ jsx(View, { style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsx(
12310
12310
  NumberField,
12311
12311
  {
12312
12312
  size: "sm",