verstak 0.24.400 → 0.24.401

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.
@@ -95,8 +95,8 @@ export declare class ElImpl<T extends Element = any, M = any> implements El<T, M
95
95
  private _vertical;
96
96
  private _contentHorizontal;
97
97
  private _contentVertical;
98
- private _stretchingStrengthH;
99
- private _stretchingStrengthV;
98
+ private _stretchingStrengthHorizontally;
99
+ private _stretchingStrengthVertically;
100
100
  private _contentWrapping;
101
101
  private _overlayVisible;
102
102
  private _sealed;
@@ -71,8 +71,8 @@ export class ElImpl {
71
71
  this._vertical = undefined;
72
72
  this._contentHorizontal = undefined;
73
73
  this._contentVertical = undefined;
74
- this._stretchingStrengthH = undefined;
75
- this._stretchingStrengthV = undefined;
74
+ this._stretchingStrengthHorizontally = undefined;
75
+ this._stretchingStrengthVertically = undefined;
76
76
  this._contentWrapping = true;
77
77
  this._overlayVisible = undefined;
78
78
  this._sealed = undefined;
@@ -83,7 +83,7 @@ export class ElImpl {
83
83
  this._place = undefined;
84
84
  this._hasStylingPresets = false;
85
85
  }
86
- get index() { return this.node.seat.index; }
86
+ get index() { return this.node.slot.index; }
87
87
  get isPanel() { return this.kind === ElKind.panel; }
88
88
  get isTable() { return this.kind === ElKind.table; }
89
89
  get isAuxiliary() { return this.kind > ElKind.note; }
@@ -103,7 +103,7 @@ export class ElImpl {
103
103
  if (!driver.isPartition) {
104
104
  const owner = node.owner;
105
105
  const ownerEl = owner.element;
106
- const prevEl = (_a = node.seat.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
106
+ const prevEl = (_a = node.slot.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
107
107
  const prevElLayoutInfo = (_b = prevEl === null || prevEl === void 0 ? void 0 : prevEl.layoutInfo) !== null && _b !== void 0 ? _b : InitialElLayoutInfo;
108
108
  const layoutInfo = this.layoutInfo = owner.children.isStrict ? new ElLayoutInfo(prevElLayoutInfo) : undefined;
109
109
  const isCursorElement = driver instanceof CursorCommandDriver;
@@ -154,7 +154,7 @@ export class ElImpl {
154
154
  set horizontally(value) {
155
155
  const existing = this._horizontal;
156
156
  if (value !== existing) {
157
- ElImpl.applyHorizontal(this, existing, value, this._contentHorizontal, this._contentHorizontal, this._stretchingStrengthH);
157
+ ElImpl.applyHorizontal(this, existing, value, this._contentHorizontal, this._contentHorizontal, this._stretchingStrengthHorizontally);
158
158
  this._horizontal = value;
159
159
  }
160
160
  }
@@ -162,7 +162,7 @@ export class ElImpl {
162
162
  set vertically(value) {
163
163
  const existing = this._vertical;
164
164
  if (value !== existing) {
165
- ElImpl.applyVertical(this, existing, value, this._contentVertical, this._contentVertical, this._stretchingStrengthV);
165
+ ElImpl.applyVertical(this, existing, value, this._contentVertical, this._contentVertical, this._stretchingStrengthVertically);
166
166
  this._vertical = value;
167
167
  }
168
168
  }
@@ -170,7 +170,7 @@ export class ElImpl {
170
170
  set contentHorizontally(value) {
171
171
  const existing = this._contentHorizontal;
172
172
  if (value !== existing) {
173
- ElImpl.applyHorizontal(this, this._horizontal, this._horizontal, existing, value, this._stretchingStrengthH);
173
+ ElImpl.applyHorizontal(this, this._horizontal, this._horizontal, existing, value, this._stretchingStrengthHorizontally);
174
174
  this._contentHorizontal = value;
175
175
  }
176
176
  }
@@ -178,24 +178,24 @@ export class ElImpl {
178
178
  set contentVertically(value) {
179
179
  const existing = this._contentVertical;
180
180
  if (value !== existing) {
181
- ElImpl.applyVertical(this, this._vertical, this._vertical, existing, value, this._stretchingStrengthV);
181
+ ElImpl.applyVertical(this, this._vertical, this._vertical, existing, value, this._stretchingStrengthVertically);
182
182
  this._contentVertical = value;
183
183
  }
184
184
  }
185
- get stretchingStrengthHorizontally() { return this._stretchingStrengthH; }
185
+ get stretchingStrengthHorizontally() { return this._stretchingStrengthHorizontally; }
186
186
  set stretchingStrengthHorizontally(value) {
187
- const existing = this._stretchingStrengthH;
187
+ const existing = this._stretchingStrengthHorizontally;
188
188
  if (value !== existing) {
189
189
  ElImpl.applyStretchingStrengthH(this, existing, value);
190
- this._stretchingStrengthH = value;
190
+ this._stretchingStrengthHorizontally = value;
191
191
  }
192
192
  }
193
- get stretchingStrengthVertically() { return this._stretchingStrengthV; }
193
+ get stretchingStrengthVertically() { return this._stretchingStrengthVertically; }
194
194
  set stretchingStrengthVertically(value) {
195
- const existing = this._stretchingStrengthV;
195
+ const existing = this._stretchingStrengthVertically;
196
196
  if (value !== existing) {
197
197
  ElImpl.applyStretchingStrengthV(this, existing, value);
198
- this._stretchingStrengthV = value;
198
+ this._stretchingStrengthVertically = value;
199
199
  }
200
200
  }
201
201
  get contentWrapping() { return this._contentWrapping; }
@@ -238,7 +238,7 @@ export class ElImpl {
238
238
  this._hasStylingPresets = true;
239
239
  }
240
240
  *children(onlyAfter) {
241
- const after = onlyAfter === null || onlyAfter === void 0 ? void 0 : onlyAfter.node.seat;
241
+ const after = onlyAfter === null || onlyAfter === void 0 ? void 0 : onlyAfter.node.slot;
242
242
  for (const child of this.node.children.items(after))
243
243
  yield child.instance.element;
244
244
  }
@@ -248,7 +248,7 @@ export class ElImpl {
248
248
  rowBreak() {
249
249
  var _a, _b;
250
250
  const node = this.node;
251
- const prevEl = (_a = node.seat.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
251
+ const prevEl = (_a = node.slot.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
252
252
  const prevElLayoutInfo = (_b = prevEl === null || prevEl === void 0 ? void 0 : prevEl.layoutInfo) !== null && _b !== void 0 ? _b : InitialElLayoutInfo;
253
253
  const layoutInfo = this.layoutInfo = new ElLayoutInfo(prevElLayoutInfo);
254
254
  layoutInfo.x = 1;
@@ -463,7 +463,7 @@ export class ElImpl {
463
463
  const host = element.node.host;
464
464
  if (host.driver.isPartition) {
465
465
  const hostEl = host.element;
466
- hostEl._stretchingStrengthH = value;
466
+ hostEl._stretchingStrengthHorizontally = value;
467
467
  existing !== null && existing !== void 0 ? existing : (existing = 0);
468
468
  value !== null && value !== void 0 ? value : (value = 0);
469
469
  }
@@ -482,7 +482,7 @@ export class ElImpl {
482
482
  const host = element.node.host;
483
483
  if (host.driver.isPartition) {
484
484
  const hostElement = host.element;
485
- hostElement._stretchingStrengthV = value;
485
+ hostElement._stretchingStrengthVertically = value;
486
486
  let delta = 0;
487
487
  existing !== null && existing !== void 0 ? existing : (existing = 0);
488
488
  value !== null && value !== void 0 ? value : (value = 0);
@@ -495,7 +495,7 @@ export class ElImpl {
495
495
  delta = -1;
496
496
  }
497
497
  if (delta !== 0) {
498
- const count = (_a = hostElement._stretchingStrengthV) !== null && _a !== void 0 ? _a : 0 + delta;
498
+ const count = (_a = hostElement._stretchingStrengthVertically) !== null && _a !== void 0 ? _a : 0 + delta;
499
499
  const s = hostElement.style;
500
500
  if (count === 1)
501
501
  s.flexGrow = `${value}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verstak",
3
- "version": "0.24.400",
3
+ "version": "0.24.401",
4
4
  "description": "Verstak - Front-End Library",
5
5
  "publisher": "Nezaboodka Software",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "homepage": "https://github.com/nezaboodka/verstak/blob/master/README.md#readme",
33
33
  "dependencies": {
34
- "reactronic": "^0.24.400"
34
+ "reactronic": "^0.24.401"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "22.8.5",