verstak 0.24.266 → 0.24.267

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.
@@ -9,13 +9,11 @@ export type El<T = any, M = any> = {
9
9
  kind: ElKind;
10
10
  area: ElArea;
11
11
  width: Range;
12
- widthJustMin: string;
13
12
  height: Range;
14
- heightJustMin: string;
15
13
  alignment: Align;
16
14
  extraAlignment: Align;
17
- stretchFactorX: number | undefined;
18
- stretchFactorY: number | undefined;
15
+ stretchingStrengthX: number | undefined;
16
+ stretchingStrengthY: number | undefined;
19
17
  contentWrapping: boolean;
20
18
  overlayVisible: boolean | undefined;
21
19
  readonly style: CSSStyleDeclaration;
@@ -74,8 +72,8 @@ export declare class ElImpl<T extends Element = any, M = any> implements El<T, M
74
72
  private _height;
75
73
  private _alignment;
76
74
  private _extraAlignment;
77
- private _stretchFactorX;
78
- private _stretchFactorY;
75
+ private _stretchingStrengthX;
76
+ private _stretchingStrengthY;
79
77
  private _contentWrapping;
80
78
  private _overlayVisible;
81
79
  private _hasStylingPresets;
@@ -90,20 +88,16 @@ export declare class ElImpl<T extends Element = any, M = any> implements El<T, M
90
88
  set area(value: ElArea);
91
89
  get width(): Range;
92
90
  set width(value: Range);
93
- get widthJustMin(): string;
94
- set widthJustMin(value: string);
95
91
  get height(): Range;
96
92
  set height(value: Range);
97
- get heightJustMin(): string;
98
- set heightJustMin(value: string);
99
93
  get alignment(): Align;
100
94
  set alignment(value: Align);
101
95
  get extraAlignment(): Align;
102
96
  set extraAlignment(value: Align);
103
- get stretchFactorX(): number | undefined;
104
- set stretchFactorX(value: number | undefined);
105
- get stretchFactorY(): number | undefined;
106
- set stretchFactorY(value: number | undefined);
97
+ get stretchingStrengthX(): number | undefined;
98
+ set stretchingStrengthX(value: number | undefined);
99
+ get stretchingStrengthY(): number | undefined;
100
+ set stretchingStrengthY(value: number | undefined);
107
101
  get contentWrapping(): boolean;
108
102
  set contentWrapping(value: boolean);
109
103
  get overlayVisible(): boolean | undefined;
@@ -44,8 +44,8 @@ export class ElImpl {
44
44
  this._height = { min: "", max: "" };
45
45
  this._alignment = Align.default;
46
46
  this._extraAlignment = Align.default;
47
- this._stretchFactorX = undefined;
48
- this._stretchFactorY = undefined;
47
+ this._stretchingStrengthX = undefined;
48
+ this._stretchingStrengthY = undefined;
49
49
  this._contentWrapping = true;
50
50
  this._overlayVisible = undefined;
51
51
  this._hasStylingPresets = false;
@@ -104,8 +104,6 @@ export class ElImpl {
104
104
  if (updated)
105
105
  this._width = value;
106
106
  }
107
- get widthJustMin() { var _a; return (_a = this._width.min) !== null && _a !== void 0 ? _a : ""; }
108
- set widthJustMin(value) { this.width = { min: value }; }
109
107
  get height() { return this._height; }
110
108
  set height(value) {
111
109
  var _a, _b;
@@ -122,8 +120,6 @@ export class ElImpl {
122
120
  if (updated)
123
121
  this._height = value;
124
122
  }
125
- get heightJustMin() { var _a; return (_a = this._height.min) !== null && _a !== void 0 ? _a : ""; }
126
- set heightJustMin(value) { this.height = { min: value }; }
127
123
  get alignment() { return this._alignment; }
128
124
  set alignment(value) {
129
125
  if (value !== this._alignment) {
@@ -138,18 +134,18 @@ export class ElImpl {
138
134
  this._extraAlignment = value;
139
135
  }
140
136
  }
141
- get stretchFactorX() { return this._stretchFactorX; }
142
- set stretchFactorX(value) {
143
- if (value !== this._stretchFactorX) {
137
+ get stretchingStrengthX() { return this._stretchingStrengthX; }
138
+ set stretchingStrengthX(value) {
139
+ if (value !== this._stretchingStrengthX) {
144
140
  Apply.stretchFactorX(this, value !== null && value !== void 0 ? value : 0);
145
- this._stretchFactorX = value;
141
+ this._stretchingStrengthX = value;
146
142
  }
147
143
  }
148
- get stretchFactorY() { return this._stretchFactorY; }
149
- set stretchFactorY(value) {
150
- if (value !== this._stretchFactorY) {
144
+ get stretchingStrengthY() { return this._stretchingStrengthY; }
145
+ set stretchingStrengthY(value) {
146
+ if (value !== this._stretchingStrengthY) {
151
147
  Apply.stretchFactorY(this, value !== null && value !== void 0 ? value : 0);
152
- this._stretchFactorY = value;
148
+ this._stretchingStrengthY = value;
153
149
  }
154
150
  }
155
151
  get contentWrapping() { return this._contentWrapping; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verstak",
3
- "version": "0.24.266",
3
+ "version": "0.24.267",
4
4
  "description": "Verstak - Front-End Library",
5
5
  "publisher": "Nezaboodka Software",
6
6
  "license": "Apache-2.0",