@namiml/web-sdk 3.4.10-dev.202608230430 → 3.4.10-dev.202608232056

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.
@@ -23,11 +23,12 @@ export declare class NamiButton extends NamiElement {
23
23
  * attached per card by `appendSkuToComponents`) and are ignored, as is every non-television
24
24
  * form factor, where tap already drives selection.
25
25
  *
26
- * Unlike Apple's `setFocusedSku`, this only ever sets a selection, never clears one:
27
- * clearing would blank product-scoped content whenever focus moved to the group toggle,
28
- * Restore, or a non-product column, and would fight the template's `initialState`
29
- * selection. `selectSKU` is idempotent, so repeat focus events on the same card do not
30
- * trigger a re-render.
26
+ * This button path only ever sets a selection, never clears one: a blur/non-product
27
+ * clear here would fight the template's `initialState` selection on incidental focus
28
+ * churn. The clear lives on the positive signal instead — focusing the group toggle
29
+ * clears the current group's selection (`NamiSegmentPicker._handleFocusIn`
30
+ * `clearSelectedProduct`, NAM-3606), matching Apple's `setFocusedSku(nil)`. `selectSKU`
31
+ * is idempotent, so repeat focus events on the same card do not trigger a re-render.
31
32
  */
32
33
  private _selectFocusedProductOnTelevision;
33
34
  private _handleBlur;