@liquidcommercedev/rmn-sdk 1.5.0-beta.36 → 1.5.0-beta.38

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 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';
@@ -17401,6 +17412,7 @@ class ProximityObserver {
17401
17412
  this.mutationObserver = new MutationObserver((mutations) => {
17402
17413
  mutations.forEach((mutation) => {
17403
17414
  if (mutation.type === 'childList') {
17415
+ // Handle added nodes
17404
17416
  mutation.addedNodes.forEach((node) => {
17405
17417
  if (node instanceof HTMLElement) {
17406
17418
  this.checkElement(node);
@@ -17411,14 +17423,33 @@ class ProximityObserver {
17411
17423
  });
17412
17424
  }
17413
17425
  });
17426
+ // Handle removed nodes
17427
+ mutation.removedNodes.forEach((node) => {
17428
+ if (node instanceof HTMLElement) {
17429
+ this.handleRemovedElement(node);
17430
+ node.querySelectorAll('*').forEach((el) => {
17431
+ if (el instanceof HTMLElement) {
17432
+ this.handleRemovedElement(el);
17433
+ }
17434
+ });
17435
+ }
17436
+ });
17414
17437
  }
17415
17438
  });
17416
17439
  });
17417
17440
  // Start observing DOM changes
17418
- this.mutationObserver.observe(document.body, {
17419
- childList: true,
17420
- subtree: true,
17421
- });
17441
+ if (document.body) {
17442
+ this.mutationObserver.observe(document.body, {
17443
+ childList: true,
17444
+ subtree: true,
17445
+ });
17446
+ }
17447
+ }
17448
+ handleRemovedElement(element) {
17449
+ if (element.id && this.processedIds.has(element.id)) {
17450
+ this.processedIds.delete(element.id);
17451
+ this.intersectionObserver.unobserve(element);
17452
+ }
17422
17453
  }
17423
17454
  checkElement(element) {
17424
17455
  if (element.id && this.targetIds.has(element.id) && !this.processedIds.has(element.id)) {
@@ -17472,10 +17503,6 @@ class ProximityObserver {
17472
17503
  });
17473
17504
  // Trigger callback with the group
17474
17505
  this.callback(groupIdsToProcess);
17475
- // Cleanup if all elements have been processed
17476
- if (this.targetIds.size === this.processedIds.size) {
17477
- this.cleanup();
17478
- }
17479
17506
  });
17480
17507
  }
17481
17508
  /**
@@ -17502,12 +17529,6 @@ class ProximityObserver {
17502
17529
  }
17503
17530
  });
17504
17531
  }
17505
- cleanup() {
17506
- this.intersectionObserver.disconnect();
17507
- this.mutationObserver.disconnect();
17508
- this.processedIds.clear();
17509
- this.targetIds.clear();
17510
- }
17511
17532
  }
17512
17533
 
17513
17534
  /**
@@ -17949,36 +17970,51 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
17949
17970
  constructor() {
17950
17971
  super();
17951
17972
  }
17973
+ getGradientDirection(position) {
17974
+ switch (position) {
17975
+ case exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT:
17976
+ case exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT:
17977
+ return 'to bottom';
17978
+ case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT:
17979
+ return 'to right';
17980
+ case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT:
17981
+ return 'to left';
17982
+ case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT:
17983
+ case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT:
17984
+ return 'to top';
17985
+ default:
17986
+ return 'to top';
17987
+ }
17988
+ }
17952
17989
  template() {
17953
17990
  const prefix = this._config.prefix;
17954
- const { preHeader, header, description, ctaText } = this._data;
17991
+ const { preHeader, header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT, } = this._data;
17955
17992
  return `
17956
- ${GFONT_PRECONNECT}
17957
- ${GFONT_SOURCE_SANS_3}
17958
- ${GFONT_CORMORANT}
17959
- <div class="${prefix}">
17960
- <div class="${prefix}__text">
17961
- ${preHeader ? `<h2 class="${prefix}__pre-header">${preHeader}</h2>` : ''}
17962
- ${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
17963
- ${description ? `<p class="${prefix}__description">${description}</p>` : ''}
17964
- ${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
17993
+ ${GFONT_PRECONNECT}
17994
+ ${GFONT_SOURCE_SANS_3}
17995
+ ${GFONT_CORMORANT}
17996
+ <div class="${prefix}">
17997
+ <div class="${prefix}__text ${prefix}__text-block--${textBlockPosition}">
17998
+ ${preHeader ? `<h2 class="${prefix}__pre-header">${preHeader}</h2>` : ''}
17999
+ ${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
18000
+ ${description ? `<p class="${prefix}__description">${description}</p>` : ''}
18001
+ ${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
18002
+ </div>
17965
18003
  </div>
17966
- </div>
17967
- `;
18004
+ `;
17968
18005
  }
17969
18006
  styles() {
18007
+ const { textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT } = this._data;
18008
+ const gradientDirection = this.getGradientDirection(textBlockPosition);
17970
18009
  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
18010
  const { textColor = '#ffffff', ctaTextColor = textColor, ctaBorderColor = ctaTextColor, primaryImage, mobilePrimaryImage = primaryImage, } = this._data;
17972
18011
  const prefix = this._config.prefix;
17973
18012
  return `
17974
18013
  .${prefix} {
17975
18014
  display: flex;
17976
- flex-direction: column;
17977
- justify-content: flex-end;
17978
- align-items: flex-start;
17979
18015
  width: 100%;
17980
18016
  height: 100%;
17981
- background-image: linear-gradient(to top, ${linearGradient}), url("${mobilePrimaryImage}");
18017
+ background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${mobilePrimaryImage}");
17982
18018
  background-size: cover;
17983
18019
  background-repeat: no-repeat;
17984
18020
  background-position: center;
@@ -17986,6 +18022,7 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
17986
18022
  box-sizing: border-box;
17987
18023
  color: ${textColor};
17988
18024
  cursor: pointer;
18025
+ position: relative;
17989
18026
  }
17990
18027
 
17991
18028
  .${prefix}__text {
@@ -17996,6 +18033,45 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
17996
18033
  width: 100%;
17997
18034
  height: fit-content;
17998
18035
  gap: 8px;
18036
+ position: absolute;
18037
+ }
18038
+
18039
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT} {
18040
+ top: 3%;
18041
+ left: 3%;
18042
+ }
18043
+
18044
+ .${prefix}text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT} {
18045
+ top: 3%;
18046
+ right: 3%;
18047
+ align-items: flex-end;
18048
+ text-align: right;
18049
+ }
18050
+
18051
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT} {
18052
+ top: 50%;
18053
+ left: 3%;
18054
+ transform: translateY(-50%);
18055
+ }
18056
+
18057
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT} {
18058
+ top: 50%;
18059
+ right: 3%;
18060
+ transform: translateY(-50%);
18061
+ align-items: flex-end;
18062
+ text-align: right;
18063
+ }
18064
+
18065
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT} {
18066
+ bottom: 3%;
18067
+ left: 3%;
18068
+ }
18069
+
18070
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT} {
18071
+ bottom: 3%;
18072
+ right: 3%;
18073
+ align-items: flex-end;
18074
+ text-align: right;
17999
18075
  }
18000
18076
 
18001
18077
  .${prefix}__pre-header {
@@ -18045,7 +18121,7 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
18045
18121
 
18046
18122
  @container (min-width: 640px) {
18047
18123
  .${prefix} {
18048
- background-image: linear-gradient(to top, ${linearGradient}), url("${primaryImage}");
18124
+ background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${primaryImage}");
18049
18125
  }
18050
18126
 
18051
18127
  .${prefix}__text {
@@ -18054,22 +18130,6 @@ class RbHomepageHeroFullImageSE extends BaseSpotComponent {
18054
18130
  }
18055
18131
 
18056
18132
  @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
18133
  .${prefix}__description {
18074
18134
  font-size: 12px;
18075
18135
  }
@@ -18116,14 +18176,13 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
18116
18176
  }
18117
18177
  template() {
18118
18178
  const prefix = this._config.prefix;
18119
- const { header, description, ctaText } = this._data;
18179
+ const { header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.LEFT, } = this._data;
18120
18180
  return `
18121
18181
  ${GFONT_PRECONNECT}
18122
18182
  ${GFONT_SOURCE_SANS_3}
18123
18183
  ${GFONT_CORMORANT}
18124
18184
  <div class="${prefix}">
18125
- <div class="${prefix}__content">
18126
- <div class="${prefix}__primary-image"></div>
18185
+ <div class="${prefix}__content ${prefix}__text-block--${textBlockPosition}">
18127
18186
  <div class="${prefix}__main">
18128
18187
  <div class="${prefix}__secondary-image"></div>
18129
18188
  <div class="${prefix}__text">
@@ -18132,6 +18191,7 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
18132
18191
  ${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
18133
18192
  </div>
18134
18193
  </div>
18194
+ <div class="${prefix}__primary-image"></div>
18135
18195
  </div>
18136
18196
  </div>
18137
18197
  `;
@@ -18172,7 +18232,7 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
18172
18232
  height: 40%;
18173
18233
  display: flex;
18174
18234
  flex-direction: row;
18175
- gap: 6px;
18235
+ gap: 6px;
18176
18236
  }
18177
18237
 
18178
18238
  .${prefix}__secondary-image {
@@ -18253,6 +18313,10 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
18253
18313
  flex-direction: row;
18254
18314
  }
18255
18315
 
18316
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} {
18317
+ flex-direction: row-reverse;
18318
+ }
18319
+
18256
18320
  .${prefix}__primary-image {
18257
18321
  width: 66.66666%;
18258
18322
  height: 100%;
@@ -18264,6 +18328,10 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
18264
18328
  width: 33.33333%;
18265
18329
  }
18266
18330
 
18331
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} .${prefix}__main {
18332
+ flex-direction: column;
18333
+ }
18334
+
18267
18335
  .${prefix}__secondary-image {
18268
18336
  width: 100%;
18269
18337
  height: 50%;
@@ -18273,12 +18341,15 @@ class RbHomepageHeroThreeTileSE extends BaseSpotComponent {
18273
18341
  width: 100%;
18274
18342
  height: 50%;
18275
18343
  }
18344
+
18276
18345
  .${prefix}__header {
18277
18346
  font-size: 22px;
18278
18347
  }
18348
+
18279
18349
  .${prefix}__description {
18280
18350
  font-size: 12px;
18281
18351
  }
18352
+
18282
18353
  .${prefix}__cta-button {
18283
18354
  font-size: 12px;
18284
18355
  }
@@ -18317,13 +18388,13 @@ class RbHomepageHeroTwoTileSE extends BaseSpotComponent {
18317
18388
  }
18318
18389
  template() {
18319
18390
  const prefix = this._config.prefix;
18320
- const { header, description, ctaText } = this._data;
18391
+ const { header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.LEFT, } = this._data;
18321
18392
  return `
18322
18393
  ${GFONT_PRECONNECT}
18323
18394
  ${GFONT_SOURCE_SANS_3}
18324
18395
  ${GFONT_CORMORANT}
18325
18396
  <div class="${prefix}">
18326
- <div class="${prefix}__content">
18397
+ <div class="${prefix}__content ${prefix}__text-block--${textBlockPosition}">
18327
18398
  <div class="${prefix}__text">
18328
18399
  ${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
18329
18400
  ${description ? `<p class="${prefix}__description">${description}</p>` : ''}
@@ -18428,20 +18499,29 @@ class RbHomepageHeroTwoTileSE extends BaseSpotComponent {
18428
18499
  .${prefix}__content {
18429
18500
  flex-direction: row;
18430
18501
  }
18502
+
18503
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} {
18504
+ flex-direction: row-reverse;
18505
+ }
18506
+
18431
18507
  .${prefix}__image {
18432
18508
  width: 66.66666%;
18433
18509
  height: 100%;
18434
18510
  }
18511
+
18435
18512
  .${prefix}__text {
18436
18513
  width: 33.33333%;
18437
18514
  height: 100%;
18438
18515
  }
18516
+
18439
18517
  .${prefix}__header {
18440
18518
  font-size: 22px;
18441
18519
  }
18520
+
18442
18521
  .${prefix}__description {
18443
18522
  font-size: 12px;
18444
18523
  }
18524
+
18445
18525
  .${prefix}__cta-button {
18446
18526
  font-size: 12px;
18447
18527
  }
@@ -18455,7 +18535,7 @@ class RbHomepageHeroTwoTileSE extends BaseSpotComponent {
18455
18535
  font-size: 13px;
18456
18536
  }
18457
18537
  .${prefix}__cta-button {
18458
- font-size: 13px;
18538
+ font-size: 13px;
18459
18539
  }
18460
18540
  }
18461
18541
 
@@ -18519,13 +18599,13 @@ class RbLargeCategoryImageToutSE extends BaseSpotComponent {
18519
18599
  }
18520
18600
  template() {
18521
18601
  const prefix = this._config.prefix;
18522
- const { header, description, ctaText } = this._data;
18602
+ const { header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.LEFT, } = this._data;
18523
18603
  return `
18524
18604
  ${GFONT_PRECONNECT}
18525
18605
  ${GFONT_SOURCE_SANS_3}
18526
18606
  ${GFONT_CORMORANT}
18527
18607
  <div class="${prefix}">
18528
- <div class="${prefix}__text">
18608
+ <div class="${prefix}__text ${prefix}__text-block--${textBlockPosition}">
18529
18609
  ${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
18530
18610
  ${description ? `<p class="${prefix}__description">${description}</p>` : ''}
18531
18611
  ${ctaText ? `<span class="${prefix}__cta-button">${ctaText}</span>` : ''}
@@ -18552,6 +18632,7 @@ class RbLargeCategoryImageToutSE extends BaseSpotComponent {
18552
18632
  overflow: hidden;
18553
18633
  cursor: pointer;
18554
18634
  color: ${textColor};
18635
+ position: relative;
18555
18636
  }
18556
18637
 
18557
18638
  .${prefix}__text {
@@ -18561,6 +18642,22 @@ class RbLargeCategoryImageToutSE extends BaseSpotComponent {
18561
18642
  justify-content: center;
18562
18643
  align-items: flex-start;
18563
18644
  gap: 10px;
18645
+ position: absolute;
18646
+ bottom: 0;
18647
+ width: 100%;
18648
+ max-width: 50%;
18649
+ }
18650
+
18651
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.LEFT} {
18652
+ left: 0;
18653
+ text-align: left;
18654
+ align-items: flex-start;
18655
+ }
18656
+
18657
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.RIGHT} {
18658
+ right: 0;
18659
+ text-align: right;
18660
+ align-items: flex-end;
18564
18661
  }
18565
18662
 
18566
18663
  .${prefix}__header {
@@ -18821,15 +18918,31 @@ class RbLongToutTallSE extends BaseSpotComponent {
18821
18918
  constructor() {
18822
18919
  super();
18823
18920
  }
18921
+ getGradientDirection(position) {
18922
+ switch (position) {
18923
+ case exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT:
18924
+ case exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT:
18925
+ return 'to bottom';
18926
+ case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT:
18927
+ return 'to right';
18928
+ case exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT:
18929
+ return 'to left';
18930
+ case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT:
18931
+ case exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT:
18932
+ return 'to top';
18933
+ default:
18934
+ return 'to top';
18935
+ }
18936
+ }
18824
18937
  template() {
18825
18938
  const prefix = this._config.prefix;
18826
- const { preHeader, header, description, ctaText } = this._data;
18939
+ const { preHeader, header, description, ctaText, textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT, } = this._data;
18827
18940
  return `
18828
18941
  ${GFONT_PRECONNECT}
18829
18942
  ${GFONT_SOURCE_SANS_3}
18830
18943
  ${GFONT_CORMORANT}
18831
18944
  <div class="${prefix}">
18832
- <div class="${prefix}__text">
18945
+ <div class="${prefix}__text ${prefix}__text-block--${textBlockPosition.toLowerCase().replace('_', '-')}">
18833
18946
  ${preHeader ? `<h2 class="${prefix}__pre-header">${preHeader}</h2>` : ''}
18834
18947
  ${header ? `<h2 class="${prefix}__header">${header}</h2>` : ''}
18835
18948
  ${description ? `<p class="${prefix}__description">${description}</p>` : ''}
@@ -18839,17 +18952,17 @@ class RbLongToutTallSE extends BaseSpotComponent {
18839
18952
  `;
18840
18953
  }
18841
18954
  styles() {
18955
+ const { textBlockPosition = exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT } = this._data;
18956
+ const gradientDirection = this.getGradientDirection(textBlockPosition);
18957
+ 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
18958
  const { textColor = '#ffffff', ctaTextColor = textColor, ctaBorderColor = ctaTextColor, primaryImage, mobilePrimaryImage = primaryImage, } = this._data;
18843
18959
  const prefix = this._config.prefix;
18844
18960
  return `
18845
18961
  .${prefix} {
18846
18962
  display: flex;
18847
- flex-direction: column;
18848
- justify-content: space-around;
18849
- align-items: flex-start;
18850
18963
  width: 100%;
18851
18964
  height: 100%;
18852
- background-image: url("${mobilePrimaryImage}");
18965
+ background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${mobilePrimaryImage}");
18853
18966
  background-size: cover;
18854
18967
  background-repeat: no-repeat;
18855
18968
  background-position: center;
@@ -18857,6 +18970,7 @@ class RbLongToutTallSE extends BaseSpotComponent {
18857
18970
  box-sizing: border-box;
18858
18971
  color: ${textColor};
18859
18972
  cursor: pointer;
18973
+ position: relative;
18860
18974
  }
18861
18975
 
18862
18976
  .${prefix}__text {
@@ -18867,6 +18981,51 @@ class RbLongToutTallSE extends BaseSpotComponent {
18867
18981
  width: 100%;
18868
18982
  height: fit-content;
18869
18983
  gap: 8px;
18984
+ position: absolute;
18985
+ }
18986
+
18987
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_LEFT} {
18988
+ top: 3%;
18989
+ left: 3%;
18990
+ align-items: flex-start;
18991
+ text-align: left;
18992
+ }
18993
+
18994
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.TOP_RIGHT} {
18995
+ top: 3%;
18996
+ right: 3%;
18997
+ align-items: flex-end;
18998
+ text-align: right;
18999
+ }
19000
+
19001
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_LEFT} {
19002
+ top: 50%;
19003
+ left: 3%;
19004
+ transform: translateY(-50%);
19005
+ align-items: flex-start;
19006
+ text-align: left;
19007
+ }
19008
+
19009
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.MIDDLE_RIGHT} {
19010
+ top: 50%;
19011
+ right: 3%;
19012
+ transform: translateY(-50%);
19013
+ align-items: flex-end;
19014
+ text-align: right;
19015
+ }
19016
+
19017
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_LEFT} {
19018
+ bottom: 3%;
19019
+ left: 3%;
19020
+ align-items: flex-start;
19021
+ text-align: left;
19022
+ }
19023
+
19024
+ .${prefix}__text-block--${exports.ENUM_TEXT_BLOCK_POSITION.BOTTOM_RIGHT} {
19025
+ bottom: 3%;
19026
+ right: 3%;
19027
+ align-items: flex-end;
19028
+ text-align: right;
18870
19029
  }
18871
19030
 
18872
19031
  .${prefix}__pre-header {
@@ -18916,7 +19075,7 @@ class RbLongToutTallSE extends BaseSpotComponent {
18916
19075
 
18917
19076
  @container (min-width: 640px) {
18918
19077
  .${prefix} {
18919
- background-image: url("${primaryImage}");
19078
+ background-image: linear-gradient(${gradientDirection}, ${linearGradient}), url("${primaryImage}");
18920
19079
  }
18921
19080
 
18922
19081
  .${prefix}__text {
@@ -18925,22 +19084,6 @@ class RbLongToutTallSE extends BaseSpotComponent {
18925
19084
  }
18926
19085
 
18927
19086
  @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
19087
  .${prefix}__description {
18945
19088
  font-size: 12px;
18946
19089
  }