@liquidcommercedev/rmn-sdk 1.5.0-beta.36 → 1.5.0-beta.37
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/index.cjs +198 -65
- package/dist/index.esm.js +199 -66
- package/dist/types/enums.d.ts +10 -0
- package/dist/types/modules/selection/selection.interface.d.ts +2 -1
- package/dist/types/modules/spot-template/rb-template.interface.d.ts +6 -0
- package/dist/types/modules/spot-template/reservebar/homepage-hero-full-image.template.d.ts +1 -0
- package/dist/types/modules/spot-template/reservebar/long-tout-tall.template.d.ts +1 -0
- package/package.json +1 -1
- package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
package/dist/index.cjs
CHANGED
@@ -83,6 +83,17 @@ exports.RMN_ENV = void 0;
|
|
83
83
|
RMN_ENV["STAGING"] = "staging";
|
84
84
|
RMN_ENV["PRODUCTION"] = "production";
|
85
85
|
})(exports.RMN_ENV || (exports.RMN_ENV = {}));
|
86
|
+
exports.ENUM_TEXT_BLOCK_POSITION = void 0;
|
87
|
+
(function (ENUM_TEXT_BLOCK_POSITION) {
|
88
|
+
ENUM_TEXT_BLOCK_POSITION["LEFT"] = "left";
|
89
|
+
ENUM_TEXT_BLOCK_POSITION["RIGHT"] = "right";
|
90
|
+
ENUM_TEXT_BLOCK_POSITION["TOP_LEFT"] = "top-left";
|
91
|
+
ENUM_TEXT_BLOCK_POSITION["TOP_RIGHT"] = "top-right";
|
92
|
+
ENUM_TEXT_BLOCK_POSITION["BOTTOM_LEFT"] = "bottom-left";
|
93
|
+
ENUM_TEXT_BLOCK_POSITION["BOTTOM_RIGHT"] = "bottom-right";
|
94
|
+
ENUM_TEXT_BLOCK_POSITION["MIDDLE_LEFT"] = "middle-left";
|
95
|
+
ENUM_TEXT_BLOCK_POSITION["MIDDLE_RIGHT"] = "middle-right";
|
96
|
+
})(exports.ENUM_TEXT_BLOCK_POSITION || (exports.ENUM_TEXT_BLOCK_POSITION = {}));
|
86
97
|
|
87
98
|
const REQUEST_CLOUD_PARTNER_SITE = 'X-Liquid-Partner-Site';
|
88
99
|
const REQUEST_CLOUD_PROTECTED_KEY = 'X-Liquid-Protected';
|
@@ -17949,36 +17960,51 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
|
|
17949
17960
|
constructor() {
|
17950
17961
|
super();
|
17951
17962
|
}
|
17963
|
+
getGradientDirection(position) {
|
17964
|
+
switch (position) {
|
17965
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT:
|
17966
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT:
|
17967
|
+
return 'to bottom';
|
17968
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT:
|
17969
|
+
return 'to right';
|
17970
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT:
|
17971
|
+
return 'to left';
|
17972
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT:
|
17973
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT:
|
17974
|
+
return 'to top';
|
17975
|
+
default:
|
17976
|
+
return 'to top';
|
17977
|
+
}
|
17978
|
+
}
|
17952
17979
|
template() {
|
17953
17980
|
const prefix = this._config.prefix;
|
17954
|
-
const { preHeader, header, description, ctaText } = this._data;
|
17981
|
+
const { preHeader, header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT, } = this._data;
|
17955
17982
|
return `
|
17956
|
-
|
17957
|
-
|
17958
|
-
|
17959
|
-
|
17960
|
-
|
17961
|
-
|
17962
|
-
|
17963
|
-
|
17964
|
-
|
17983
|
+
${GFONT_PRECONNECT}
|
17984
|
+
${GFONT_SOURCE_SANS_3}
|
17985
|
+
${GFONT_CORMORANT}
|
17986
|
+
<div class="${prefix}">
|
17987
|
+
<div class="${prefix}__text ${prefix}__text-block--${textBlockPosition}">
|
17988
|
+
${preHeader ? `<h2 class="${prefix}__pre-header">${preHeader}</h2>` : ''}
|
17989
|
+
${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
|
17990
|
+
${description ? `<p class="${prefix}__description">${description}</p>` : ''}
|
17991
|
+
${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
|
17992
|
+
</div>
|
17965
17993
|
</div>
|
17966
|
-
|
17967
|
-
`;
|
17994
|
+
`;
|
17968
17995
|
}
|
17969
17996
|
styles() {
|
17997
|
+
const { textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT } = this._data;
|
17998
|
+
const gradientDirection = this.getGradientDirection(textBlockPosition);
|
17970
17999
|
const linearGradient = generateGradientColor(this._config.overlay, 'rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%');
|
17971
18000
|
const { textColor = '#ffffff', ctaTextColor = textColor, ctaBorderColor = ctaTextColor, primaryImage, mobilePrimaryImage = primaryImage, } = this._data;
|
17972
18001
|
const prefix = this._config.prefix;
|
17973
18002
|
return `
|
17974
18003
|
.${prefix} {
|
17975
18004
|
display: flex;
|
17976
|
-
flex-direction: column;
|
17977
|
-
justify-content: flex-end;
|
17978
|
-
align-items: flex-start;
|
17979
18005
|
width: 100%;
|
17980
18006
|
height: 100%;
|
17981
|
-
background-image: linear-gradient(
|
18007
|
+
background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${mobilePrimaryImage}");
|
17982
18008
|
background-size: cover;
|
17983
18009
|
background-repeat: no-repeat;
|
17984
18010
|
background-position: center;
|
@@ -17986,6 +18012,7 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
|
|
17986
18012
|
box-sizing: border-box;
|
17987
18013
|
color: ${textColor};
|
17988
18014
|
cursor: pointer;
|
18015
|
+
position: relative;
|
17989
18016
|
}
|
17990
18017
|
|
17991
18018
|
.${prefix}__text {
|
@@ -17996,6 +18023,45 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
|
|
17996
18023
|
width: 100%;
|
17997
18024
|
height: fit-content;
|
17998
18025
|
gap: 8px;
|
18026
|
+
position: absolute;
|
18027
|
+
}
|
18028
|
+
|
18029
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT} {
|
18030
|
+
top: 3%;
|
18031
|
+
left: 3%;
|
18032
|
+
}
|
18033
|
+
|
18034
|
+
.${prefix}text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT} {
|
18035
|
+
top: 3%;
|
18036
|
+
right: 3%;
|
18037
|
+
align-items: flex-end;
|
18038
|
+
text-align: right;
|
18039
|
+
}
|
18040
|
+
|
18041
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT} {
|
18042
|
+
top: 50%;
|
18043
|
+
left: 3%;
|
18044
|
+
transform: translateY(-50%);
|
18045
|
+
}
|
18046
|
+
|
18047
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT} {
|
18048
|
+
top: 50%;
|
18049
|
+
right: 3%;
|
18050
|
+
transform: translateY(-50%);
|
18051
|
+
align-items: flex-end;
|
18052
|
+
text-align: right;
|
18053
|
+
}
|
18054
|
+
|
18055
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT} {
|
18056
|
+
bottom: 3%;
|
18057
|
+
left: 3%;
|
18058
|
+
}
|
18059
|
+
|
18060
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT} {
|
18061
|
+
bottom: 3%;
|
18062
|
+
right: 3%;
|
18063
|
+
align-items: flex-end;
|
18064
|
+
text-align: right;
|
17999
18065
|
}
|
18000
18066
|
|
18001
18067
|
.${prefix}__pre-header {
|
@@ -18045,7 +18111,7 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
|
|
18045
18111
|
|
18046
18112
|
@container (min-width: 640px) {
|
18047
18113
|
.${prefix} {
|
18048
|
-
background-image: linear-gradient(
|
18114
|
+
background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${primaryImage}");
|
18049
18115
|
}
|
18050
18116
|
|
18051
18117
|
.${prefix}__text {
|
@@ -18054,22 +18120,6 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
|
|
18054
18120
|
}
|
18055
18121
|
|
18056
18122
|
@container (min-width: 768px) {
|
18057
|
-
.${prefix}__primary-image {
|
18058
|
-
width: 66.66666%;
|
18059
|
-
height: 100%;
|
18060
|
-
}
|
18061
|
-
|
18062
|
-
.${prefix}__main {
|
18063
|
-
flex-direction: column;
|
18064
|
-
height: 100%;
|
18065
|
-
width: 33.33333%;
|
18066
|
-
}
|
18067
|
-
|
18068
|
-
.${prefix}__secondary-image {
|
18069
|
-
width: 100%;
|
18070
|
-
height: 50%;
|
18071
|
-
}
|
18072
|
-
|
18073
18123
|
.${prefix}__description {
|
18074
18124
|
font-size: 12px;
|
18075
18125
|
}
|
@@ -18116,14 +18166,13 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
|
|
18116
18166
|
}
|
18117
18167
|
template() {
|
18118
18168
|
const prefix = this._config.prefix;
|
18119
|
-
const { header, description, ctaText } = this._data;
|
18169
|
+
const { header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.LEFT, } = this._data;
|
18120
18170
|
return `
|
18121
18171
|
${GFONT_PRECONNECT}
|
18122
18172
|
${GFONT_SOURCE_SANS_3}
|
18123
18173
|
${GFONT_CORMORANT}
|
18124
18174
|
<div class="${prefix}">
|
18125
|
-
<div class="${prefix}__content">
|
18126
|
-
<div class="${prefix}__primary-image"></div>
|
18175
|
+
<div class="${prefix}__content ${prefix}__text-block--${textBlockPosition}">
|
18127
18176
|
<div class="${prefix}__main">
|
18128
18177
|
<div class="${prefix}__secondary-image"></div>
|
18129
18178
|
<div class="${prefix}__text">
|
@@ -18132,6 +18181,7 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
|
|
18132
18181
|
${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
|
18133
18182
|
</div>
|
18134
18183
|
</div>
|
18184
|
+
<div class="${prefix}__primary-image"></div>
|
18135
18185
|
</div>
|
18136
18186
|
</div>
|
18137
18187
|
`;
|
@@ -18172,7 +18222,7 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
|
|
18172
18222
|
height: 40%;
|
18173
18223
|
display: flex;
|
18174
18224
|
flex-direction: row;
|
18175
|
-
|
18225
|
+
gap: 6px;
|
18176
18226
|
}
|
18177
18227
|
|
18178
18228
|
.${prefix}__secondary-image {
|
@@ -18253,6 +18303,10 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
|
|
18253
18303
|
flex-direction: row;
|
18254
18304
|
}
|
18255
18305
|
|
18306
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} {
|
18307
|
+
flex-direction: row-reverse;
|
18308
|
+
}
|
18309
|
+
|
18256
18310
|
.${prefix}__primary-image {
|
18257
18311
|
width: 66.66666%;
|
18258
18312
|
height: 100%;
|
@@ -18264,6 +18318,10 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
|
|
18264
18318
|
width: 33.33333%;
|
18265
18319
|
}
|
18266
18320
|
|
18321
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} .${prefix}__main {
|
18322
|
+
flex-direction: column;
|
18323
|
+
}
|
18324
|
+
|
18267
18325
|
.${prefix}__secondary-image {
|
18268
18326
|
width: 100%;
|
18269
18327
|
height: 50%;
|
@@ -18273,12 +18331,15 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
|
|
18273
18331
|
width: 100%;
|
18274
18332
|
height: 50%;
|
18275
18333
|
}
|
18334
|
+
|
18276
18335
|
.${prefix}__header {
|
18277
18336
|
font-size: 22px;
|
18278
18337
|
}
|
18338
|
+
|
18279
18339
|
.${prefix}__description {
|
18280
18340
|
font-size: 12px;
|
18281
18341
|
}
|
18342
|
+
|
18282
18343
|
.${prefix}__cta-button {
|
18283
18344
|
font-size: 12px;
|
18284
18345
|
}
|
@@ -18317,13 +18378,13 @@ class RbHomepageHeroTwoTileSE extends BaseSpotComponent {
|
|
18317
18378
|
}
|
18318
18379
|
template() {
|
18319
18380
|
const prefix = this._config.prefix;
|
18320
|
-
const { header, description, ctaText } = this._data;
|
18381
|
+
const { header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.LEFT, } = this._data;
|
18321
18382
|
return `
|
18322
18383
|
${GFONT_PRECONNECT}
|
18323
18384
|
${GFONT_SOURCE_SANS_3}
|
18324
18385
|
${GFONT_CORMORANT}
|
18325
18386
|
<div class="${prefix}">
|
18326
|
-
<div class="${prefix}__content">
|
18387
|
+
<div class="${prefix}__content ${prefix}__text-block--${textBlockPosition}">
|
18327
18388
|
<div class="${prefix}__text">
|
18328
18389
|
${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
|
18329
18390
|
${description ? `<p class="${prefix}__description">${description}</p>` : ''}
|
@@ -18428,20 +18489,29 @@ class RbHomepageHeroTwoTileSE extends BaseSpotComponent {
|
|
18428
18489
|
.${prefix}__content {
|
18429
18490
|
flex-direction: row;
|
18430
18491
|
}
|
18492
|
+
|
18493
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} {
|
18494
|
+
flex-direction: row-reverse;
|
18495
|
+
}
|
18496
|
+
|
18431
18497
|
.${prefix}__image {
|
18432
18498
|
width: 66.66666%;
|
18433
18499
|
height: 100%;
|
18434
18500
|
}
|
18501
|
+
|
18435
18502
|
.${prefix}__text {
|
18436
18503
|
width: 33.33333%;
|
18437
18504
|
height: 100%;
|
18438
18505
|
}
|
18506
|
+
|
18439
18507
|
.${prefix}__header {
|
18440
18508
|
font-size: 22px;
|
18441
18509
|
}
|
18510
|
+
|
18442
18511
|
.${prefix}__description {
|
18443
18512
|
font-size: 12px;
|
18444
18513
|
}
|
18514
|
+
|
18445
18515
|
.${prefix}__cta-button {
|
18446
18516
|
font-size: 12px;
|
18447
18517
|
}
|
@@ -18455,7 +18525,7 @@ class RbHomepageHeroTwoTileSE extends BaseSpotComponent {
|
|
18455
18525
|
font-size: 13px;
|
18456
18526
|
}
|
18457
18527
|
.${prefix}__cta-button {
|
18458
|
-
|
18528
|
+
font-size: 13px;
|
18459
18529
|
}
|
18460
18530
|
}
|
18461
18531
|
|
@@ -18519,13 +18589,13 @@ class RbLargeCategoryImageToutSE extends BaseSpotComponent {
|
|
18519
18589
|
}
|
18520
18590
|
template() {
|
18521
18591
|
const prefix = this._config.prefix;
|
18522
|
-
const { header, description, ctaText } = this._data;
|
18592
|
+
const { header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.LEFT, } = this._data;
|
18523
18593
|
return `
|
18524
18594
|
${GFONT_PRECONNECT}
|
18525
18595
|
${GFONT_SOURCE_SANS_3}
|
18526
18596
|
${GFONT_CORMORANT}
|
18527
18597
|
<div class="${prefix}">
|
18528
|
-
<div class="${prefix}__text">
|
18598
|
+
<div class="${prefix}__text ${prefix}__text-block--${textBlockPosition}">
|
18529
18599
|
${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
|
18530
18600
|
${description ? `<p class="${prefix}__description">${description}</p>` : ''}
|
18531
18601
|
${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
|
@@ -18552,6 +18622,7 @@ class RbLargeCategoryImageToutSE extends BaseSpotComponent {
|
|
18552
18622
|
overflow: hidden;
|
18553
18623
|
cursor: pointer;
|
18554
18624
|
color: ${textColor};
|
18625
|
+
position: relative;
|
18555
18626
|
}
|
18556
18627
|
|
18557
18628
|
.${prefix}__text {
|
@@ -18561,6 +18632,22 @@ class RbLargeCategoryImageToutSE extends BaseSpotComponent {
|
|
18561
18632
|
justify-content: center;
|
18562
18633
|
align-items: flex-start;
|
18563
18634
|
gap: 10px;
|
18635
|
+
position: absolute;
|
18636
|
+
bottom: 0;
|
18637
|
+
width: 100%;
|
18638
|
+
max-width: 50%;
|
18639
|
+
}
|
18640
|
+
|
18641
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.LEFT} {
|
18642
|
+
left: 0;
|
18643
|
+
text-align: left;
|
18644
|
+
align-items: flex-start;
|
18645
|
+
}
|
18646
|
+
|
18647
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} {
|
18648
|
+
right: 0;
|
18649
|
+
text-align: right;
|
18650
|
+
align-items: flex-end;
|
18564
18651
|
}
|
18565
18652
|
|
18566
18653
|
.${prefix}__header {
|
@@ -18821,15 +18908,31 @@ class RbLongToutTallSE extends BaseSpotComponent {
|
|
18821
18908
|
constructor() {
|
18822
18909
|
super();
|
18823
18910
|
}
|
18911
|
+
getGradientDirection(position) {
|
18912
|
+
switch (position) {
|
18913
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT:
|
18914
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT:
|
18915
|
+
return 'to bottom';
|
18916
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT:
|
18917
|
+
return 'to right';
|
18918
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT:
|
18919
|
+
return 'to left';
|
18920
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT:
|
18921
|
+
case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT:
|
18922
|
+
return 'to top';
|
18923
|
+
default:
|
18924
|
+
return 'to top';
|
18925
|
+
}
|
18926
|
+
}
|
18824
18927
|
template() {
|
18825
18928
|
const prefix = this._config.prefix;
|
18826
|
-
const { preHeader, header, description, ctaText } = this._data;
|
18929
|
+
const { preHeader, header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT, } = this._data;
|
18827
18930
|
return `
|
18828
18931
|
${GFONT_PRECONNECT}
|
18829
18932
|
${GFONT_SOURCE_SANS_3}
|
18830
18933
|
${GFONT_CORMORANT}
|
18831
18934
|
<div class="${prefix}">
|
18832
|
-
<div class="${prefix}__text">
|
18935
|
+
<div class="${prefix}__text ${prefix}__text-block--${textBlockPosition.toLowerCase().replace('_', '-')}">
|
18833
18936
|
${preHeader ? `<h2 class="${prefix}__pre-header">${preHeader}</h2>` : ''}
|
18834
18937
|
${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
|
18835
18938
|
${description ? `<p class="${prefix}__description">${description}</p>` : ''}
|
@@ -18839,17 +18942,17 @@ class RbLongToutTallSE extends BaseSpotComponent {
|
|
18839
18942
|
`;
|
18840
18943
|
}
|
18841
18944
|
styles() {
|
18945
|
+
const { textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT } = this._data;
|
18946
|
+
const gradientDirection = this.getGradientDirection(textBlockPosition);
|
18947
|
+
const linearGradient = generateGradientColor(this._config.overlay, 'rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%');
|
18842
18948
|
const { textColor = '#ffffff', ctaTextColor = textColor, ctaBorderColor = ctaTextColor, primaryImage, mobilePrimaryImage = primaryImage, } = this._data;
|
18843
18949
|
const prefix = this._config.prefix;
|
18844
18950
|
return `
|
18845
18951
|
.${prefix} {
|
18846
18952
|
display: flex;
|
18847
|
-
flex-direction: column;
|
18848
|
-
justify-content: space-around;
|
18849
|
-
align-items: flex-start;
|
18850
18953
|
width: 100%;
|
18851
18954
|
height: 100%;
|
18852
|
-
background-image: url("${mobilePrimaryImage}");
|
18955
|
+
background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${mobilePrimaryImage}");
|
18853
18956
|
background-size: cover;
|
18854
18957
|
background-repeat: no-repeat;
|
18855
18958
|
background-position: center;
|
@@ -18857,6 +18960,7 @@ class RbLongToutTallSE extends BaseSpotComponent {
|
|
18857
18960
|
box-sizing: border-box;
|
18858
18961
|
color: ${textColor};
|
18859
18962
|
cursor: pointer;
|
18963
|
+
position: relative;
|
18860
18964
|
}
|
18861
18965
|
|
18862
18966
|
.${prefix}__text {
|
@@ -18867,6 +18971,51 @@ class RbLongToutTallSE extends BaseSpotComponent {
|
|
18867
18971
|
width: 100%;
|
18868
18972
|
height: fit-content;
|
18869
18973
|
gap: 8px;
|
18974
|
+
position: absolute;
|
18975
|
+
}
|
18976
|
+
|
18977
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT} {
|
18978
|
+
top: 3%;
|
18979
|
+
left: 3%;
|
18980
|
+
align-items: flex-start;
|
18981
|
+
text-align: left;
|
18982
|
+
}
|
18983
|
+
|
18984
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT} {
|
18985
|
+
top: 3%;
|
18986
|
+
right: 3%;
|
18987
|
+
align-items: flex-end;
|
18988
|
+
text-align: right;
|
18989
|
+
}
|
18990
|
+
|
18991
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT} {
|
18992
|
+
top: 50%;
|
18993
|
+
left: 3%;
|
18994
|
+
transform: translateY(-50%);
|
18995
|
+
align-items: flex-start;
|
18996
|
+
text-align: left;
|
18997
|
+
}
|
18998
|
+
|
18999
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT} {
|
19000
|
+
top: 50%;
|
19001
|
+
right: 3%;
|
19002
|
+
transform: translateY(-50%);
|
19003
|
+
align-items: flex-end;
|
19004
|
+
text-align: right;
|
19005
|
+
}
|
19006
|
+
|
19007
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT} {
|
19008
|
+
bottom: 3%;
|
19009
|
+
left: 3%;
|
19010
|
+
align-items: flex-start;
|
19011
|
+
text-align: left;
|
19012
|
+
}
|
19013
|
+
|
19014
|
+
.${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT} {
|
19015
|
+
bottom: 3%;
|
19016
|
+
right: 3%;
|
19017
|
+
align-items: flex-end;
|
19018
|
+
text-align: right;
|
18870
19019
|
}
|
18871
19020
|
|
18872
19021
|
.${prefix}__pre-header {
|
@@ -18916,7 +19065,7 @@ class RbLongToutTallSE extends BaseSpotComponent {
|
|
18916
19065
|
|
18917
19066
|
@container (min-width: 640px) {
|
18918
19067
|
.${prefix} {
|
18919
|
-
background-image: url("${primaryImage}");
|
19068
|
+
background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${primaryImage}");
|
18920
19069
|
}
|
18921
19070
|
|
18922
19071
|
.${prefix}__text {
|
@@ -18925,22 +19074,6 @@ class RbLongToutTallSE extends BaseSpotComponent {
|
|
18925
19074
|
}
|
18926
19075
|
|
18927
19076
|
@container (min-width: 768px) {
|
18928
|
-
.${prefix}__primary-image {
|
18929
|
-
width: 66.66666%;
|
18930
|
-
height: 100%;
|
18931
|
-
}
|
18932
|
-
|
18933
|
-
.${prefix}__main {
|
18934
|
-
flex-direction: column;
|
18935
|
-
height: 100%;
|
18936
|
-
width: 33.33333%;
|
18937
|
-
}
|
18938
|
-
|
18939
|
-
.${prefix}__secondary-image {
|
18940
|
-
width: 100%;
|
18941
|
-
height: 50%;
|
18942
|
-
}
|
18943
|
-
|
18944
19077
|
.${prefix}__description {
|
18945
19078
|
font-size: 12px;
|
18946
19079
|
}
|