@namiml/web-sdk 3.4.0-dev.202605141714 → 3.4.0-dev.202605182046
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 +8 -0
- package/dist/components/Paywall.d.ts +5 -0
- package/dist/components/elements/Button.d.ts +5 -0
- package/dist/components/styles/modal.d.ts +2 -0
- package/dist/nami-web.cjs +144 -30
- package/dist/nami-web.d.ts +5 -0
- package/dist/nami-web.mjs +144 -30
- package/dist/nami-web.umd.js +144 -30
- package/dist/utils/tts.d.ts +83 -0
- package/package.json +2 -2
- package/dist/utils/vizio-tts.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog - Web SDK
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- Recognize Xbox controller B button (`BrowserBack`, `XF86Back`, keyCode 166) as the paywall Back key, so onboarding flows no longer reload the host SPA on Xbox UWP / Edge WebView. When no `__remoteback__` action is configured on the current flow step, Back now falls back to popping the previous screen, and dismisses the placement if no previous screen exists. (NAM-79)
|
|
7
|
+
|
|
8
|
+
### New Features
|
|
9
|
+
- Support `modal` page presentation style: centered overlay with dim backdrop, internal scrolling capped at 85vh, 90vw on phone and 50vw on tablet/desktop/TV. Backdrop click and Escape dismiss the modal. (NAM-62)
|
|
10
|
+
|
|
3
11
|
## 1.7.8
|
|
4
12
|
**Release Date:** February 17, 2026
|
|
5
13
|
|
|
@@ -23,11 +23,14 @@ declare class PaywallComponent extends LitElement {
|
|
|
23
23
|
private _sheetIsDragging;
|
|
24
24
|
private _dismissThreshold;
|
|
25
25
|
constructor(type: string | undefined, value: string, context: NamiPaywallLaunchContext);
|
|
26
|
+
private applyPresentationHostClasses;
|
|
26
27
|
setPaywallData(): void;
|
|
27
28
|
private getPresentationStyle;
|
|
28
29
|
private get isHalfSheet();
|
|
29
30
|
private get isSheet();
|
|
30
31
|
private get isOverlaySheet();
|
|
32
|
+
private get isModal();
|
|
33
|
+
private get isOverlay();
|
|
31
34
|
connectedCallback(): void;
|
|
32
35
|
disconnectedCallback(): void;
|
|
33
36
|
private _stylesAlreadySaved;
|
|
@@ -50,7 +53,9 @@ declare class PaywallComponent extends LitElement {
|
|
|
50
53
|
flowNavigateToScreen(next: IPaywall, animation: NamiFlowAnimation): Promise<void>;
|
|
51
54
|
getSelectedSlideIndexForCurrentCarousel(): number | undefined;
|
|
52
55
|
private renderFlow;
|
|
56
|
+
private renderFlowContainer;
|
|
53
57
|
private renderHalfSheet;
|
|
58
|
+
private renderModal;
|
|
54
59
|
private renderPaywall;
|
|
55
60
|
render(): TemplateResult;
|
|
56
61
|
}
|
|
@@ -6,6 +6,11 @@ export declare class NamiButton extends NamiElement {
|
|
|
6
6
|
inFocusedState: boolean;
|
|
7
7
|
scaleFactor: number;
|
|
8
8
|
minSDKVersion: TSemverObj;
|
|
9
|
+
/** Tracks which nami-button most recently received focus so `_handleFocus`
|
|
10
|
+
* can dedupe `cancelSpeech()` calls — only cancelling when focus actually
|
|
11
|
+
* moves to a different button, not when the same button re-fires focus
|
|
12
|
+
* during re-renders (e.g. product buttons after SKU data resolves). */
|
|
13
|
+
private static _lastFocusedButton;
|
|
9
14
|
constructor();
|
|
10
15
|
firstTextValue(): string | undefined;
|
|
11
16
|
connectedCallback(): void;
|