@namiml/web-sdk 3.4.0-dev.202605201800 → 3.4.0-dev.202605261547

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.
@@ -127,6 +127,7 @@ declare abstract class NamiElement<C extends TBaseComponent = TBaseComponent> ex
127
127
  abstract component: C;
128
128
  protected willUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
129
129
  private applyTestId;
130
+ private applySpeechLabel;
130
131
  protected animationStyles(): CSSResult;
131
132
  protected getInstanceStyles(): CSSResult[];
132
133
  }
@@ -145,18 +146,15 @@ declare class NamiButton extends NamiElement {
145
146
  inFocusedState: boolean;
146
147
  scaleFactor: number;
147
148
  minSDKVersion: TSemverObj;
148
- /** Tracks which nami-button most recently received focus so `_handleFocus`
149
- * can dedupe `cancelSpeech()` calls — only cancelling when focus actually
150
- * moves to a different button, not when the same button re-fires focus
151
- * during re-renders (e.g. product buttons after SKU data resolves). */
152
- private static _lastFocusedButton;
149
+ private defaultFocused;
150
+ private readonly _boundHandleFocus;
151
+ private readonly _boundHandleBlur;
153
152
  constructor();
154
153
  firstTextValue(): string | undefined;
155
154
  connectedCallback(): void;
156
155
  disconnectedCallback(): void;
157
156
  protected updated(changedProperties: PropertyValueMap<this>): void;
158
157
  private _handleFocus;
159
- private _announceButtonLabel;
160
158
  private _handleBlur;
161
159
  private _dispatchFocusChange;
162
160
  private _dispatchPageChange;
@@ -285,7 +283,6 @@ declare class NamiSegmentPickerItem extends NamiElement {
285
283
  connectedCallback(): void;
286
284
  disconnectedCallback(): void;
287
285
  private _handleFocus;
288
- private _announceButtonLabel;
289
286
  private _handleKeyDown;
290
287
  private _getParentPicker;
291
288
  private _getParentFormId;
@@ -373,7 +370,6 @@ declare class NamiVolumeButton extends NamiElement {
373
370
  private muted;
374
371
  constructor();
375
372
  private _handleFocus;
376
- private _announceButtonLabel;
377
373
  private _handleBlur;
378
374
  private _handleKeyDown;
379
375
  private _handleClick;
@@ -390,7 +386,6 @@ declare class NamiPlayPauseButton extends NamiElement {
390
386
  private playing;
391
387
  constructor();
392
388
  private _handleFocus;
393
- private _announceButtonLabel;
394
389
  private _handleBlur;
395
390
  private _handleKeyDown;
396
391
  private _handleClick;
@@ -418,11 +413,14 @@ declare class NamiPaywallScreen extends LitElement {
418
413
  timeSpentOnPaywall: number;
419
414
  flow?: NamiFlow;
420
415
  private teardownEvent;
416
+ private activeTemplate;
421
417
  static styles: lit.CSSResult;
422
418
  connectedCallback(): void;
423
419
  disconnectedCallback(): void;
424
420
  private userInteractionListener;
425
421
  firstUpdated(): void;
422
+ protected updated(): void;
423
+ private updateActiveRenderRoot;
426
424
  private postImpression;
427
425
  private postPaywallScreenData;
428
426
  private getTemplate;
@@ -491,7 +489,6 @@ declare class NamiToggleButton extends NamiElement {
491
489
  connectedCallback(): void;
492
490
  disconnectedCallback(): void;
493
491
  private _handleFocus;
494
- private _announceButtonLabel;
495
492
  private _handleKeyDown;
496
493
  private _handleClick;
497
494
  updated(): void;