@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.
- package/dist/components/elements/Button.d.ts +6 -5
- package/dist/nami-web.cjs +2 -2
- package/dist/nami-web.d.ts +6 -5
- package/dist/nami-web.mjs +2 -2
- package/dist/nami-web.umd.js +34 -34
- package/package.json +2 -2
package/dist/nami-web.d.ts
CHANGED
|
@@ -113,11 +113,12 @@ declare class NamiButton extends NamiElement {
|
|
|
113
113
|
* attached per card by `appendSkuToComponents`) and are ignored, as is every non-television
|
|
114
114
|
* form factor, where tap already drives selection.
|
|
115
115
|
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
116
|
+
* This button path only ever sets a selection, never clears one: a blur/non-product
|
|
117
|
+
* clear here would fight the template's `initialState` selection on incidental focus
|
|
118
|
+
* churn. The clear lives on the positive signal instead — focusing the group toggle
|
|
119
|
+
* clears the current group's selection (`NamiSegmentPicker._handleFocusIn` →
|
|
120
|
+
* `clearSelectedProduct`, NAM-3606), matching Apple's `setFocusedSku(nil)`. `selectSKU`
|
|
121
|
+
* is idempotent, so repeat focus events on the same card do not trigger a re-render.
|
|
121
122
|
*/
|
|
122
123
|
private _selectFocusedProductOnTelevision;
|
|
123
124
|
private _handleBlur;
|