@propeller-commerce/propeller-v2-vue-ui 0.3.26 → 0.3.28
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 +25 -0
- package/dist/components/ProductSpecifications.vue.d.ts +39 -1
- package/dist/components/ProductTabs.vue.d.ts +19 -1
- package/dist/index.cjs +379 -298
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +381 -300
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,31 @@ 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.3.28] - 2026-07-10
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `CartItem` / `AddToCart`: product, bundle, cluster-option, and crossupsell
|
|
16
|
+
names now resolve for the active `language` (via `getLanguageString`) instead
|
|
17
|
+
of always taking `names[0]`. Cart lines, the add-to-cart modal, and the
|
|
18
|
+
"added to cart" toast previously showed the first localised name regardless of
|
|
19
|
+
the cart/page language. Mirrors the React fix.
|
|
20
|
+
|
|
21
|
+
## [0.3.27] - 2026-07-10
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- `ProductSpecifications`: new `#beforeSpecs` / `#afterSpecs` scoped slots. Each
|
|
26
|
+
receives `{ layout: 'table' | 'list' }` and renders arbitrary content at the
|
|
27
|
+
start / end of the specifications — inside `<tbody>` for the table layout
|
|
28
|
+
(return a `<tr>`, e.g. a labelled "Unit of measure" row) or in the list stack
|
|
29
|
+
for the list layout (return a block). In grouped mode they render once, above
|
|
30
|
+
the first group / below the last. General replacement for hardcoding extra
|
|
31
|
+
rows; the existing `packageDescription` prop is unchanged. Mirrors the React
|
|
32
|
+
`beforeSpecs` / `afterSpecs` render props.
|
|
33
|
+
- `ProductTabs`: `#specificationsBefore` / `#specificationsAfter` scoped slots
|
|
34
|
+
that forward to the specifications section's new slots.
|
|
35
|
+
|
|
11
36
|
## [0.3.26] - 2026-07-09
|
|
12
37
|
|
|
13
38
|
### Added
|
|
@@ -38,5 +38,43 @@ export interface ProductSpecificationsProps {
|
|
|
38
38
|
/** Extra CSS class applied to the root element. */
|
|
39
39
|
className?: string;
|
|
40
40
|
}
|
|
41
|
-
declare
|
|
41
|
+
declare function __VLS_template(): {
|
|
42
|
+
attrs: Partial<{}>;
|
|
43
|
+
slots: {
|
|
44
|
+
beforeSpecs?(_: {
|
|
45
|
+
layout: "table" | "list";
|
|
46
|
+
}): any;
|
|
47
|
+
beforeSpecs?(_: {
|
|
48
|
+
layout: "table" | "list";
|
|
49
|
+
}): any;
|
|
50
|
+
beforeSpecs?(_: {
|
|
51
|
+
layout: "table";
|
|
52
|
+
}): any;
|
|
53
|
+
beforeSpecs?(_: {
|
|
54
|
+
layout: "list";
|
|
55
|
+
}): any;
|
|
56
|
+
afterSpecs?(_: {
|
|
57
|
+
layout: "table" | "list";
|
|
58
|
+
}): any;
|
|
59
|
+
afterSpecs?(_: {
|
|
60
|
+
layout: "table" | "list";
|
|
61
|
+
}): any;
|
|
62
|
+
afterSpecs?(_: {
|
|
63
|
+
layout: "table";
|
|
64
|
+
}): any;
|
|
65
|
+
afterSpecs?(_: {
|
|
66
|
+
layout: "list";
|
|
67
|
+
}): any;
|
|
68
|
+
};
|
|
69
|
+
refs: {};
|
|
70
|
+
rootEl: any;
|
|
71
|
+
};
|
|
72
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
73
|
+
declare const __VLS_component: import('vue').DefineComponent<ProductSpecificationsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductSpecificationsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
75
|
export default _default;
|
|
76
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -80,10 +80,28 @@ export interface ProductTabsProps {
|
|
|
80
80
|
productDownloadsComponent?: Component;
|
|
81
81
|
productVideosComponent?: Component;
|
|
82
82
|
}
|
|
83
|
-
declare
|
|
83
|
+
declare function __VLS_template(): {
|
|
84
|
+
attrs: Partial<{}>;
|
|
85
|
+
slots: {
|
|
86
|
+
specificationsBefore?(_: any): any;
|
|
87
|
+
specificationsBefore?(_: any): any;
|
|
88
|
+
specificationsAfter?(_: any): any;
|
|
89
|
+
specificationsAfter?(_: any): any;
|
|
90
|
+
};
|
|
91
|
+
refs: {};
|
|
92
|
+
rootEl: any;
|
|
93
|
+
};
|
|
94
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
95
|
+
declare const __VLS_component: import('vue').DefineComponent<ProductTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductTabsProps> & Readonly<{}>, {
|
|
84
96
|
showDescription: boolean;
|
|
85
97
|
showSpecifications: boolean;
|
|
86
98
|
showDownloads: boolean;
|
|
87
99
|
showVideos: boolean;
|
|
88
100
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
101
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
89
102
|
export default _default;
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|