@propeller-commerce/propeller-v2-react-ui 0.15.0 → 0.15.1

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,19 @@ 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.15.1] - 2026-08-10
12
+
13
+ ### Fixed
14
+
15
+ - `<GridFilters>` shows an unticked option its **own** result total instead of
16
+ the intersection with the group's active selection. Once a group held a
17
+ selection the backend's `count` for a sibling became "products carrying both
18
+ values" — a season facet read "(1)" and added 2 products when ticked. The
19
+ count now comes from `countActive` (the option with its own group's filters
20
+ lifted, other groups still applied), which is what the field is documented
21
+ for. With no selection in the group the backend returns `count ===
22
+ countActive`, so unfiltered listings are unchanged.
23
+
11
24
  ## [0.15.0] - 2026-08-06
12
25
 
13
26
  ### Changed
package/dist/index.cjs CHANGED
@@ -9487,7 +9487,7 @@ function GridFilters(rawProps) {
9487
9487
  function getCount(option) {
9488
9488
  const c = option?.count || 0;
9489
9489
  const ca = option?.countActive || 0;
9490
- return c === 0 && ca > 0 ? ca : c;
9490
+ return ca > 0 ? ca : c;
9491
9491
  }
9492
9492
  function getMinBound() {
9493
9493
  return props.priceMin || 0;