@namiml/web-sdk 3.4.3-dev.202606092247 → 3.4.3-dev.202606110413
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/PaywallScreen.d.ts +2 -0
- package/dist/components/utils/helpers.d.ts +6 -4
- package/dist/components/utils/styles.d.ts +1 -0
- package/dist/nami-web.cjs +6 -6
- package/dist/nami-web.d.ts +2 -0
- package/dist/nami-web.mjs +18 -18
- package/dist/nami-web.umd.js +7 -7
- package/package.json +2 -2
|
@@ -12,6 +12,7 @@ export declare class NamiPaywallScreen extends LitElement {
|
|
|
12
12
|
flow?: NamiFlow;
|
|
13
13
|
private teardownEvent;
|
|
14
14
|
private activeTemplate;
|
|
15
|
+
private footerResizeObserver?;
|
|
15
16
|
static styles: import("lit").CSSResult;
|
|
16
17
|
connectedCallback(): void;
|
|
17
18
|
disconnectedCallback(): void;
|
|
@@ -19,6 +20,7 @@ export declare class NamiPaywallScreen extends LitElement {
|
|
|
19
20
|
firstUpdated(): void;
|
|
20
21
|
protected updated(): void;
|
|
21
22
|
private updateActiveRenderRoot;
|
|
23
|
+
private observeFooterHeight;
|
|
22
24
|
private postImpression;
|
|
23
25
|
private postPaywallScreenData;
|
|
24
26
|
private getTemplate;
|
|
@@ -21,10 +21,12 @@ export type TRepeatingListSection = {
|
|
|
21
21
|
items: TComponent[][];
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
|
-
* Partitions a repeating grid's loop source into sections.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
24
|
+
* Partitions a repeating grid's loop source into sections. Blocks failing any
|
|
25
|
+
* `loopSourceConditions` assertion are dropped first (evaluated per block, so
|
|
26
|
+
* `${block.*}` and `${launch.*}` smart text both resolve). With no
|
|
27
|
+
* `groupBy`/`groupHeaderTemplate` a single header-less section is returned; with grouping,
|
|
28
|
+
* one section per group key in first-appearance order. Consumed by `nami-repeating-grid`
|
|
29
|
+
* so headers can render as full-width rows above their group's items.
|
|
28
30
|
*/
|
|
29
31
|
export declare function getRepeatingListSections(contextProvider: PaywallContextProvider, component: TResponsiveGrid | TRepeatingGrid): TRepeatingListSection[];
|
|
30
32
|
/**
|
|
@@ -2,6 +2,7 @@ import type { TCarouselContainer } from "@namiml/sdk-core";
|
|
|
2
2
|
import { TComponent, type TBaseComponent, type TContainerPosition } from '@namiml/sdk-core';
|
|
3
3
|
import type { TSegmentPicker, TTextLikeComponent } from "@namiml/sdk-core";
|
|
4
4
|
import type { TSemverObj } from "@namiml/sdk-core";
|
|
5
|
+
export declare function toPixels(scaleFactor: number, value?: number | string): number;
|
|
5
6
|
export declare function parseSize(value: string | number, scaleFactor: number): string;
|
|
6
7
|
export declare function backgroundColor(value: string, fallback?: string): string;
|
|
7
8
|
export declare function filteredBorderColor(value: string, fallback?: string): string;
|