@propeller-commerce/propeller-v2-vue-ui 0.3.16 → 0.3.18

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,41 @@ 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.18] - 2026-06-19
12
+
13
+ ### Added
14
+
15
+ - **`GridFiltersPanel`** — a responsive wrapper around `GridFilters`. At `lg`
16
+ (1024px) and up it renders the filters as the inline sidebar; below `lg` it
17
+ collapses them behind a "Filters" button that opens a left slide-in drawer
18
+ (dimmed backdrop, close button, "Show results" to dismiss). A single
19
+ `GridFilters` instance backs both layouts — no duplicate fetch or state.
20
+ Replaces the host's `<aside><GridFilters/></aside>`. New label keys:
21
+ `filtersButton`, `applyFilters`, `closeFilters`. Optional `activeFilterCount`
22
+ shows a badge on the button.
23
+
24
+ ## [0.3.17] - 2026-06-19
25
+
26
+ ### Fixed
27
+
28
+ - **Product card list view broke on desktop after the 0.3.16 mobile
29
+ redesign.** The mobile-first footer (`flex-col`, full-width `AddToCart`
30
+ controls) leaked into the desktop row layout because the `md:` overrides
31
+ lost the cross-Tailwind cascade. The desktop (≥768px) row intent is now
32
+ restated on the BEM hook classes in `styles.css` — footer back to a row,
33
+ `__footer-meta` to `display: contents`, and the `AddToCart` controls back to
34
+ a single nowrap row with a fixed-width quantity input.
35
+ - **Price clipped in the mobile grid card.** The stock + price meta row could
36
+ overflow a narrow (~190px) grid card. The row now wraps and the price is
37
+ allowed to shrink (`min-w-0`, right-aligned) instead of being cut off.
38
+
39
+ ### Changed
40
+
41
+ - **`ClusterCard` gets the same responsive footer as `ProductCard`.** Below
42
+ 768px the list view uses a 2-row footer (stock/price, then full-width "View
43
+ cluster" button) and the grid view pairs stock/price in a wrapping meta row;
44
+ desktop (≥768px) is unchanged.
45
+
11
46
  ## [0.3.16] - 2026-06-19
12
47
 
13
48
  ### Changed
@@ -198,6 +198,19 @@ declare function __VLS_template(): {
198
198
  showAvailability: boolean;
199
199
  labels: Record<string, string> | undefined;
200
200
  }): any;
201
+ stock?(_: {
202
+ cluster: Cluster;
203
+ inventory: import('@propeller-commerce/propeller-sdk-v2').ProductInventory;
204
+ showAvailability: boolean;
205
+ labels: Record<string, string> | undefined;
206
+ }): any;
207
+ price?(_: {
208
+ cluster: Cluster;
209
+ price: import('@propeller-commerce/propeller-sdk-v2').ProductPrice | undefined;
210
+ includeTax: boolean;
211
+ currency: string | undefined;
212
+ labels: Record<string, string> | undefined;
213
+ }): any;
201
214
  price?(_: {
202
215
  cluster: Cluster;
203
216
  price: import('@propeller-commerce/propeller-sdk-v2').ProductPrice | undefined;
@@ -0,0 +1,13 @@
1
+ import { GridFiltersProps } from './GridFilters.vue';
2
+ export interface GridFiltersPanelProps extends GridFiltersProps {
3
+ /**
4
+ * Number of active filters, shown as a badge on the mobile trigger button.
5
+ * The host computes this from its active filter state. Omit or 0 to hide
6
+ * the badge.
7
+ */
8
+ activeFilterCount?: number;
9
+ /** Extra CSS class on the outer panel root. */
10
+ wrapperClassName?: string;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<GridFiltersPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GridFiltersPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ export default _default;