@namiml/web-sdk 3.4.0-rc.202605261346 → 3.4.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.
- package/dist/components/NamiElement.d.ts +1 -0
- package/dist/components/Paywall.d.ts +2 -0
- package/dist/components/PaywallScreen.d.ts +3 -0
- package/dist/components/elements/Button.d.ts +3 -11
- package/dist/components/elements/PlayPauseButton.d.ts +0 -1
- package/dist/components/elements/SegmentPickerItem.d.ts +0 -1
- package/dist/components/elements/ToggleButton.d.ts +0 -1
- package/dist/components/elements/VolumeButton.d.ts +0 -1
- package/dist/legacy-support.cjs +441 -231
- package/dist/legacy-support.mjs +441 -231
- package/dist/nami-web.cjs +27 -27
- package/dist/nami-web.d.ts +7 -15
- package/dist/nami-web.mjs +27 -27
- package/dist/nami-web.umd.js +27 -27
- package/dist/utils/tts.d.ts +52 -103
- package/package.json +2 -2
|
@@ -25,6 +25,7 @@ export declare abstract class NamiElement<C extends TBaseComponent = TBaseCompon
|
|
|
25
25
|
abstract component: C;
|
|
26
26
|
protected willUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
27
27
|
private applyTestId;
|
|
28
|
+
private applySpeechLabel;
|
|
28
29
|
protected animationStyles(): CSSResult;
|
|
29
30
|
protected getInstanceStyles(): CSSResult[];
|
|
30
31
|
}
|
|
@@ -22,6 +22,8 @@ declare class PaywallComponent extends LitElement {
|
|
|
22
22
|
private _sheetDragStartY;
|
|
23
23
|
private _sheetIsDragging;
|
|
24
24
|
private _dismissThreshold;
|
|
25
|
+
private _detachFocusSpeechListeners?;
|
|
26
|
+
private _boundHandleKeyDownEvent;
|
|
25
27
|
constructor(type: string | undefined, value: string, context: NamiPaywallLaunchContext);
|
|
26
28
|
private applyPresentationHostClasses;
|
|
27
29
|
setPaywallData(): void;
|
|
@@ -10,11 +10,14 @@ export declare class NamiPaywallScreen extends LitElement {
|
|
|
10
10
|
timeSpentOnPaywall: number;
|
|
11
11
|
flow?: NamiFlow;
|
|
12
12
|
private teardownEvent;
|
|
13
|
+
private activeTemplate;
|
|
13
14
|
static styles: import("lit").CSSResult;
|
|
14
15
|
connectedCallback(): void;
|
|
15
16
|
disconnectedCallback(): void;
|
|
16
17
|
private userInteractionListener;
|
|
17
18
|
firstUpdated(): void;
|
|
19
|
+
protected updated(): void;
|
|
20
|
+
private updateActiveRenderRoot;
|
|
18
21
|
private postImpression;
|
|
19
22
|
private postPaywallScreenData;
|
|
20
23
|
private getTemplate;
|
|
@@ -6,23 +6,15 @@ export declare class NamiButton extends NamiElement {
|
|
|
6
6
|
inFocusedState: boolean;
|
|
7
7
|
scaleFactor: number;
|
|
8
8
|
minSDKVersion: TSemverObj;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* during re-renders (e.g. product buttons after SKU data resolves). */
|
|
13
|
-
private static _lastFocusedButton;
|
|
14
|
-
/** Saved aria-label for this button while we've temporarily expanded it
|
|
15
|
-
* to include the page-level composite. `undefined` means no override is
|
|
16
|
-
* active; `null` means there was no aria-label originally (so restore
|
|
17
|
-
* by removing the attribute). See `_announceButtonLabel`. */
|
|
18
|
-
private _ariaLabelBeforeComposite;
|
|
9
|
+
private defaultFocused;
|
|
10
|
+
private readonly _boundHandleFocus;
|
|
11
|
+
private readonly _boundHandleBlur;
|
|
19
12
|
constructor();
|
|
20
13
|
firstTextValue(): string | undefined;
|
|
21
14
|
connectedCallback(): void;
|
|
22
15
|
disconnectedCallback(): void;
|
|
23
16
|
protected updated(changedProperties: PropertyValueMap<this>): void;
|
|
24
17
|
private _handleFocus;
|
|
25
|
-
private _announceButtonLabel;
|
|
26
18
|
private _handleBlur;
|
|
27
19
|
private _dispatchFocusChange;
|
|
28
20
|
private _dispatchPageChange;
|
|
@@ -9,7 +9,6 @@ export declare class NamiSegmentPickerItem extends NamiElement {
|
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
disconnectedCallback(): void;
|
|
11
11
|
private _handleFocus;
|
|
12
|
-
private _announceButtonLabel;
|
|
13
12
|
private _handleKeyDown;
|
|
14
13
|
private _getParentPicker;
|
|
15
14
|
private _getParentFormId;
|