@propeller-commerce/propeller-v2-react-ui 0.4.19 → 0.4.20
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 +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.20] - 2026-07-16
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `CartSummary`: the panel title now resolves through the `labels` map
|
|
16
|
+
(`labels.title`) instead of only the `title` prop, so the "Order summary"
|
|
17
|
+
heading is translatable like every other label. Falls back to `props.title`,
|
|
18
|
+
then `labels.title`, then `'Order summary'`.
|
|
19
|
+
|
|
11
20
|
## [0.4.19] - 2026-07-10
|
|
12
21
|
|
|
13
22
|
### Fixed
|
package/dist/index.cjs
CHANGED
|
@@ -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;
|