@propeller-commerce/propeller-v2-react-ui 0.4.20 → 0.4.21

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,15 @@ 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.4.21] - 2026-07-16
12
+
13
+ ### Fixed
14
+
15
+ - `ActionCode`: the panel title now resolves through the `labels` map
16
+ (`labels.title`) instead of only the `title` prop, so the "Action code"
17
+ heading is translatable like every other label. Falls back to `props.title`,
18
+ then `labels.title`, then `'Action code'`. Same fix as `CartSummary` in 0.4.20.
19
+
11
20
  ## [0.4.20] - 2026-07-16
12
21
 
13
22
  ### Fixed
package/dist/index.cjs CHANGED
@@ -3770,7 +3770,7 @@ function ActionCode(rawProps) {
3770
3770
  );
3771
3771
  }
3772
3772
  function title() {
3773
- return props.title || "Action code";
3773
+ return props.title || propellerV2CoreUi.getLabel(props.labels, "title", "Action code");
3774
3774
  }
3775
3775
  function showRemoveCode() {
3776
3776
  return props.showRemoveCode !== void 0 ? props.showRemoveCode : true;