@dropins/storefront-pdp 3.3.0-beta.1 → 3.3.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @dropins/storefront-pdp
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3a3bfc1: Respect per-option `canEditQuantity` for bundle option quantities on the PDP.
8
+
9
+ - **Transform:** Read `canEditQuantity` from `ProductViewOptionValueProduct` values (now included in the GraphQL fragment) and expose it on each bundle option value in the model.
10
+ - **Swatches:** Render a quantity `Incrementer` for selected bundle option values; enabled when `canEditQuantity` is true, disabled when false or unset. Hide `ProductQuantity` (and the monolith quantity slot) when `isBundle` so shoppers do not see two quantity controls.
11
+ - **Configuration:** Sync `bundleOptionQuantities` and `enteredOptions` on bundle init and when selections change; keep both shapes aligned in `setProductConfigurationValues`.
12
+
13
+ ### Patch Changes
14
+
15
+ - a6f404d: Fix accessibility issue where the product name and "Details" section title were rendered as plain `<div>` text instead of headings, so screen reader users could not navigate to them by heading (WCAG 1.3.1 - Info and Relationships).
16
+ - 2413664: Make the ProductGallery main image keyboard-operable when it opens the image preview overlay (WCAG 2.1.1 Keyboard, Level A).
17
+
18
+ - **ProductGallery:** In the non-`zoom` (overlay) path, expose the clickable main image as a control with `role="button"`, `tabindex="0"`, and an `onKeyDown` handler so it can be activated with Enter and Space, not just clicked. The interactive attributes are only applied to the displayed layer; the `aria-hidden` crossfade layer stays non-interactive and unfocusable.
19
+ - **Tests:** Add coverage asserting the main image is focusable, exposed as a button, and opens the preview overlay via Enter and Space.
20
+
3
21
  ## 3.3.0-beta.1
4
22
 
5
23
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropins/storefront-pdp",
3
- "version": "3.3.0-beta.1",
3
+ "version": "3.3.0",
4
4
  "@dropins/tools": "~1.9.0",
5
5
  "license": "SEE LICENSE IN LICENSE.md"
6
6
  }