@vectoriox/iox-builder 1.6.7 → 1.6.8

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.
@@ -5523,11 +5523,16 @@ class SliderContainerComponent {
5523
5523
  if (v === this._style)
5524
5524
  return;
5525
5525
  this._style = v;
5526
- // Rebuild cached value so ngStyle only re-applies when input actually changed.
5527
- // Avoids DOM style-attribute mutations on every CD tick → prevents MutationObserver spam.
5528
- this._editShellStyle = { ...v, position: 'relative' };
5526
+ // `direction` is driven by the `dir` (Language direction) trait via [style.direction].
5527
+ // Strip it from the ngStyle map: NgStyle writes the inline style last and would otherwise
5528
+ // override the dir-driven direction with the generic Layout default → RTL wouldn't apply.
5529
+ // Rebuild cached objects so ngStyle only re-applies on real input changes (avoids MO spam).
5530
+ const { direction: _dropDirection, ...rest } = v || {};
5531
+ this._previewStyle = rest;
5532
+ this._editShellStyle = { ...rest, position: 'relative' };
5529
5533
  }
5530
5534
  get style() { return this._style; }
5535
+ get previewStyle() { return this._previewStyle; }
5531
5536
  get editShellStyle() { return this._editShellStyle; }
5532
5537
  get source() { return this._source; }
5533
5538
  set source(value) {
@@ -5564,6 +5569,7 @@ class SliderContainerComponent {
5564
5569
  this.activatedRoute = activatedRoute;
5565
5570
  this.children = [];
5566
5571
  this._style = {};
5572
+ this._previewStyle = {};
5567
5573
  this._editShellStyle = { position: 'relative' };
5568
5574
  this.nodeId = '';
5569
5575
  this.dropListId = '';
@@ -6014,7 +6020,7 @@ class SliderContainerComponent {
6014
6020
  #swiperEl
6015
6021
  class="swiper"
6016
6022
  [ngClass]="['iox-node-' + nodeId]"
6017
- [ngStyle]="style"
6023
+ [ngStyle]="previewStyle"
6018
6024
  [attr.dir]="dir"
6019
6025
  [style.direction]="dir"
6020
6026
  [style.--swiper-navigation-color]="navigationColor || null"
@@ -6165,7 +6171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
6165
6171
  #swiperEl
6166
6172
  class="swiper"
6167
6173
  [ngClass]="['iox-node-' + nodeId]"
6168
- [ngStyle]="style"
6174
+ [ngStyle]="previewStyle"
6169
6175
  [attr.dir]="dir"
6170
6176
  [style.direction]="dir"
6171
6177
  [style.--swiper-navigation-color]="navigationColor || null"