@liquidcommercedev/rmn-sdk 1.5.0-beta.46 → 1.5.0-beta.48

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.
@@ -13,6 +13,9 @@ export declare enum RMN_SPOT_TYPE {
13
13
  RB_NAVIGATION_BANNER = "rbNavigationBanner",
14
14
  RB_VIDEO_PLAYER = "rbVideoPlayer",
15
15
  RB_IN_TEXT = "rbInText",
16
+ RB_CAROUSEL_HORIZONTAL_INFO_CARD = "rbCarouselHorizontalInfoCard",
17
+ RB_CAROUSEL_VERTICAL_SMALL_IMAGE_INFO_CARD = "rbCarouselVerticalSmallImageInfoCard",
18
+ RB_CAROUSEL_HORIZONTAL_SHORT_INFO_CARD = "rbCarouselHorizontalShortInfoCard",
16
19
  BILLBOARD = "billboard",
17
20
  LARGE_RECTANGLE = "largeRectangle",
18
21
  VERTICAL_RECTANGLE = "verticalRectangle",
@@ -81,6 +84,7 @@ export declare enum ENUM_TEXT_BLOCK_POSITION {
81
84
  TOP = "top",
82
85
  BOTTOM = "bottom",
83
86
  MIDDLE = "middle",
87
+ CENTER = "center",
84
88
  TOP_LEFT = "top-left",
85
89
  TOP_RIGHT = "top-right",
86
90
  BOTTOM_LEFT = "bottom-left",
@@ -58,6 +58,7 @@ export interface IInTextRbSpot extends ISpotTemplateBaseData {
58
58
  mobileHeader?: string;
59
59
  textColor?: string;
60
60
  backgroundColor?: string;
61
+ textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.LEFT | ENUM_TEXT_BLOCK_POSITION.CENTER | ENUM_TEXT_BLOCK_POSITION.RIGHT;
61
62
  }
62
63
  export interface ILargeCategoryImageToutRbSpot extends ISpotTemplateBaseData {
63
64
  header?: string;
@@ -152,3 +153,55 @@ export interface IVideoPlayerRbSpot extends ISpotTemplateBaseData {
152
153
  aspectRatio?: '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
153
154
  };
154
155
  }
156
+ export interface ICarouselHorizontalInfoCardRbSpot extends ISpotTemplateBaseData {
157
+ preHeader?: string;
158
+ header?: string;
159
+ description?: string;
160
+ ctaText?: string;
161
+ mobilePreHeader?: string;
162
+ mobileHeader?: string;
163
+ mobileDescription?: string;
164
+ mobileCtaText?: string;
165
+ headerColor?: string;
166
+ textColor?: string;
167
+ backgroundColor?: string;
168
+ ctaTextColor?: string;
169
+ primaryImage: string;
170
+ mobilePrimaryImage?: string;
171
+ textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT | ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT;
172
+ mobileTextBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP | ENUM_TEXT_BLOCK_POSITION.BOTTOM;
173
+ }
174
+ export interface ICarouselVerticalSmallImageInfoCardRbSpot extends ISpotTemplateBaseData {
175
+ preHeader?: string;
176
+ header?: string;
177
+ description?: string;
178
+ ctaText?: string;
179
+ mobilePreHeader?: string;
180
+ mobileHeader?: string;
181
+ mobileDescription?: string;
182
+ mobileCtaText?: string;
183
+ headerColor?: string;
184
+ textColor?: string;
185
+ backgroundColor?: string;
186
+ ctaTextColor?: string;
187
+ primaryImage: string;
188
+ mobilePrimaryImage?: string;
189
+ textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP | ENUM_TEXT_BLOCK_POSITION.BOTTOM;
190
+ }
191
+ export interface ICarouselHorizontalShortInfoCardRbSpot extends ISpotTemplateBaseData {
192
+ preHeader?: string;
193
+ header?: string;
194
+ description?: string;
195
+ ctaText?: string;
196
+ mobilePreHeader?: string;
197
+ mobileHeader?: string;
198
+ mobileDescription?: string;
199
+ mobileCtaText?: string;
200
+ headerColor?: string;
201
+ textColor?: string;
202
+ backgroundColor?: string;
203
+ ctaTextColor?: string;
204
+ primaryImage: string;
205
+ mobilePrimaryImage?: string;
206
+ textBlockPosition?: ENUM_TEXT_BLOCK_POSITION.TOP | ENUM_TEXT_BLOCK_POSITION.BOTTOM;
207
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseSpotComponent } from 'modules/element/component/spot';
2
+ import type { ICarouselHorizontalInfoCardRbSpot } from '../rb-template.interface';
3
+ export declare class RbCarouselHorizontalInfoCardSE extends BaseSpotComponent<ICarouselHorizontalInfoCardRbSpot> {
4
+ protected reRenderOnDeviceChange: boolean;
5
+ constructor();
6
+ protected template(): string;
7
+ protected styles(): string;
8
+ private get hasContent();
9
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseSpotComponent } from 'modules/element/component/spot';
2
+ import type { ICarouselHorizontalShortInfoCardRbSpot } from '../rb-template.interface';
3
+ export declare class RbCarouselHorizontalShortInfoCardSE extends BaseSpotComponent<ICarouselHorizontalShortInfoCardRbSpot> {
4
+ protected reRenderOnDeviceChange: boolean;
5
+ constructor();
6
+ protected template(): string;
7
+ protected styles(): string;
8
+ private get hasContent();
9
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseSpotComponent } from 'modules/element/component/spot';
2
+ import type { ICarouselVerticalSmallImageInfoCardRbSpot } from '../rb-template.interface';
3
+ export declare class RbCarouselVerticalSmallImageInfoCardSE extends BaseSpotComponent<ICarouselVerticalSmallImageInfoCardRbSpot> {
4
+ protected reRenderOnDeviceChange: boolean;
5
+ constructor();
6
+ protected template(): string;
7
+ protected styles(): string;
8
+ private get hasContent();
9
+ }
@@ -1,3 +1,6 @@
1
+ export * from './carousel-horizontal-info-card.template';
2
+ export * from './carousel-horizontal-short-info-card.template';
3
+ export * from './carousel-vertical-small-image-info-card.template';
1
4
  export * from './collection-banner-without-text-block.template';
2
5
  export * from './homepage-hero-full-image.template';
3
6
  export * from './homepage-hero-three-tile.template';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@liquidcommercedev/rmn-sdk",
3
3
  "description": "LiquidCommerce RMN SDK",
4
4
  "author": "LiquidCommerce Tech",
5
- "version": "1.5.0-beta.46",
5
+ "version": "1.5.0-beta.48",
6
6
  "homepage": "https://docs.liquidcommerce.co/rmn-sdk",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.esm.js",