@propeller-commerce/propeller-v2-vue-ui 0.3.26 → 0.3.27

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,21 @@ 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.27] - 2026-07-10
12
+
13
+ ### Added
14
+
15
+ - `ProductSpecifications`: new `#beforeSpecs` / `#afterSpecs` scoped slots. Each
16
+ receives `{ layout: 'table' | 'list' }` and renders arbitrary content at the
17
+ start / end of the specifications — inside `<tbody>` for the table layout
18
+ (return a `<tr>`, e.g. a labelled "Unit of measure" row) or in the list stack
19
+ for the list layout (return a block). In grouped mode they render once, above
20
+ the first group / below the last. General replacement for hardcoding extra
21
+ rows; the existing `packageDescription` prop is unchanged. Mirrors the React
22
+ `beforeSpecs` / `afterSpecs` render props.
23
+ - `ProductTabs`: `#specificationsBefore` / `#specificationsAfter` scoped slots
24
+ that forward to the specifications section's new slots.
25
+
11
26
  ## [0.3.26] - 2026-07-09
12
27
 
13
28
  ### 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 const _default: import('vue').DefineComponent<ProductSpecificationsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductSpecificationsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
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 const _default: import('vue').DefineComponent<ProductTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductTabsProps> & Readonly<{}>, {
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
+ };