@propeller-commerce/propeller-v2-react-ui 0.4.19 → 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 +18 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,24 @@ 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
|
+
|
|
20
|
+
## [0.4.20] - 2026-07-16
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- `CartSummary`: the panel title now resolves through the `labels` map
|
|
25
|
+
(`labels.title`) instead of only the `title` prop, so the "Order summary"
|
|
26
|
+
heading is translatable like every other label. Falls back to `props.title`,
|
|
27
|
+
then `labels.title`, then `'Order summary'`.
|
|
28
|
+
|
|
11
29
|
## [0.4.19] - 2026-07-10
|
|
12
30
|
|
|
13
31
|
### 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;
|
|
@@ -7254,7 +7254,7 @@ function CartSummary(rawProps) {
|
|
|
7254
7254
|
});
|
|
7255
7255
|
const [requestLoading, setRequestLoading] = React6.useState(() => false);
|
|
7256
7256
|
function title() {
|
|
7257
|
-
return props.title || "Order summary";
|
|
7257
|
+
return props.title || propellerV2CoreUi.getLabel(props.labels, "title", "Order summary");
|
|
7258
7258
|
}
|
|
7259
7259
|
function showSubtotal() {
|
|
7260
7260
|
return props.showSubtotal !== void 0 ? props.showSubtotal : true;
|