@namiml/web-sdk 3.4.0-dev.202603262050 → 3.4.0-dev.202604010118
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/containers/RepeatingGrid.d.ts +12 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/utils/helpers.d.ts +2 -2
- package/dist/nami-web.cjs +26 -26
- package/dist/nami-web.mjs +26 -26
- package/dist/nami-web.umd.js +25 -25
- package/dist/types/components/containers.d.ts +11 -0
- package/dist/types/components/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSResult } from 'lit';
|
|
2
|
+
import { NamiElement } from '../NamiElement';
|
|
3
|
+
import { TRepeatingGrid } from '../../types/components/containers';
|
|
4
|
+
import type { TSemverObj } from '../../utils/parsers';
|
|
5
|
+
export declare class NamiRepeatingGrid extends NamiElement {
|
|
6
|
+
component: TRepeatingGrid;
|
|
7
|
+
inFocusedState: boolean;
|
|
8
|
+
scaleFactor: number;
|
|
9
|
+
minSDKVersion: TSemverObj;
|
|
10
|
+
protected styles(): CSSResult;
|
|
11
|
+
render(): any[][];
|
|
12
|
+
}
|
|
@@ -13,6 +13,7 @@ import { NamiSegmentPickerItem } from "./elements/SegmentPickerItem";
|
|
|
13
13
|
import { NamiVideo } from "./elements/Video";
|
|
14
14
|
import { NamiCollapseContainer } from "./containers/CollapseContainer";
|
|
15
15
|
import { NamiResponsiveGrid } from "./containers/ResponsiveGrid";
|
|
16
|
+
import { NamiRepeatingGrid } from "./containers/RepeatingGrid";
|
|
16
17
|
import { NamiCarouselContainer } from "./containers/CarouselContainer";
|
|
17
18
|
import { NamiVolumeButton } from "./elements/VolumeButton";
|
|
18
19
|
import { NamiPlayPauseButton } from "./elements/PlayPauseButton";
|
|
@@ -43,6 +44,7 @@ declare global {
|
|
|
43
44
|
"nami-video": NamiVideo;
|
|
44
45
|
"nami-collapse-container": NamiCollapseContainer;
|
|
45
46
|
"nami-responsive-grid": NamiResponsiveGrid;
|
|
47
|
+
"nami-repeating-grid": NamiRepeatingGrid;
|
|
46
48
|
"nami-carousel-container": NamiCarouselContainer;
|
|
47
49
|
"nami-volume-button": NamiVolumeButton;
|
|
48
50
|
"nami-play-pause-button": NamiPlayPauseButton;
|
|
@@ -57,4 +59,4 @@ declare global {
|
|
|
57
59
|
"nami-progress-bar": NamiProgressBar;
|
|
58
60
|
}
|
|
59
61
|
}
|
|
60
|
-
export { NamiSpacer, NamiButton, NamiHeader, NamiFooter, NamiText, NamiSegmentPicker, NamiSegmentPickerItem, NamiContainer, NamiProductContainer, NamiImage, NamiBackgroundContainer, NamiContentContainer, NamiSymbol, NamiVideo, NamiCollapseContainer, NamiResponsiveGrid, NamiCarouselContainer, NamiPlayPauseButton, NamiVolumeButton, NamiStack, NamiPaywallScreen, NamiQRCode, NamiToggleSwitch, NamiRadioButton, NamiProgressIndicator, NamiProgressBar, NamiToggleButton, NamiCountdownTimerText, };
|
|
62
|
+
export { NamiSpacer, NamiButton, NamiHeader, NamiFooter, NamiText, NamiSegmentPicker, NamiSegmentPickerItem, NamiContainer, NamiProductContainer, NamiImage, NamiBackgroundContainer, NamiContentContainer, NamiSymbol, NamiVideo, NamiCollapseContainer, NamiResponsiveGrid, NamiRepeatingGrid, NamiCarouselContainer, NamiPlayPauseButton, NamiVolumeButton, NamiStack, NamiPaywallScreen, NamiQRCode, NamiToggleSwitch, NamiRadioButton, NamiProgressIndicator, NamiProgressBar, NamiToggleButton, NamiCountdownTimerText, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TBaseComponent, TComponent } from "../../types/components";
|
|
2
|
-
import { TButtonContainer, TProductContainer, TResponsiveGrid } from "../../types/components/containers";
|
|
2
|
+
import { TButtonContainer, TProductContainer, TResponsiveGrid, TRepeatingGrid } from "../../types/components/containers";
|
|
3
3
|
import { TConditionalComponent } from "../../types/components/elements";
|
|
4
4
|
import { TPaywallMedia } from "../../types/paywall";
|
|
5
5
|
import { PaywallSKU } from "../../types/sku";
|
|
@@ -12,7 +12,7 @@ export declare function getInterpolatedButtonComponents(contextProvider: Paywall
|
|
|
12
12
|
export declare function getSkuButtonComponents(contextProvider: PaywallContextProvider, items: PaywallSKU[], component: TProductContainer, mediaList?: {
|
|
13
13
|
[mediaName: string]: Pick<TPaywallMedia, 'content'>;
|
|
14
14
|
}): [boolean, TComponent[]][];
|
|
15
|
-
export declare function getRepeatingListBlocks(contextProvider: PaywallContextProvider, component: TResponsiveGrid): TComponent[][];
|
|
15
|
+
export declare function getRepeatingListBlocks(contextProvider: PaywallContextProvider, component: TResponsiveGrid | TRepeatingGrid): TComponent[][];
|
|
16
16
|
export declare function conditionComponentMatches(contextProvider: PaywallContextProvider, condition: TConditionalComponent): boolean;
|
|
17
17
|
export declare function withOverrides<T extends TBaseComponent>(contextProvider: PaywallContextProvider, { conditionAttributes, ...component }: T): T;
|
|
18
18
|
export declare function valueFromSmartText<T>(contextProvider: PaywallContextProvider, value: T, sku?: PaywallSKU, block?: any): T;
|