@propeller-commerce/propeller-v2-react-ui 0.15.9 → 0.15.10

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/CHANGELOG.md CHANGED
@@ -8,6 +8,23 @@ once it reaches 1.0. Until then (the `0.x` line) the public API may change
8
8
  between minor versions; breaking changes are called out below and in
9
9
  [MIGRATION.md](./MIGRATION.md).
10
10
 
11
+ ## [0.15.10] - 2026-08-11
12
+
13
+ ### Fixed
14
+
15
+ - **The cart sidebar's "Bonus items" heading stayed English on a localized
16
+ page.** `CartIconAndSidebar` renders `CartBonusItems` itself but passed it no
17
+ `labels`, so the block always fell back to its English defaults — while the
18
+ same component on the cart and checkout pages, where the host passes `labels`
19
+ directly, translated correctly. Same shape as the `cartItemLabels` gap fixed
20
+ in 0.4.24.
21
+
22
+ ### Added
23
+
24
+ - `CartIconAndSidebar` accepts `cartBonusItemsLabels` (keys: `title`, `sku`),
25
+ forwarded to the embedded bonus-items block. Hosts already translating
26
+ `CartBonusItems` on the cart page can pass the same map.
27
+
11
28
  ## [0.15.9] - 2026-08-11
12
29
 
13
30
  ### Fixed
package/dist/index.cjs CHANGED
@@ -7497,7 +7497,15 @@ function CartIconAndSidebar(rawProps) {
7497
7497
  },
7498
7498
  item.itemId
7499
7499
  )) }),
7500
- /* @__PURE__ */ jsxRuntime.jsx(CartBonusItemsImpl, { cart: props.cart, includeTax: useTax, className: "mt-4" })
7500
+ /* @__PURE__ */ jsxRuntime.jsx(
7501
+ CartBonusItemsImpl,
7502
+ {
7503
+ cart: props.cart,
7504
+ includeTax: useTax,
7505
+ className: "mt-4",
7506
+ labels: props.cartBonusItemsLabels
7507
+ }
7508
+ )
7501
7509
  ] }),
7502
7510
  " ",
7503
7511
  items.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "propeller-cart-icon__sidebar-footer px-5 py-4 border-t border-border space-y-3 bg-surface-hover", children: [