verstak 0.24.131 → 0.24.132

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.
@@ -38,14 +38,14 @@ export type ElCoords = {
38
38
  };
39
39
  export declare enum Align {
40
40
  default = 16,
41
- toBounds = 0,
42
- toLeft = 1,
43
- toCenterX = 2,
44
- toRight = 3,
45
- toTop = 4,
46
- toCenterY = 8,
47
- toBottom = 12,
48
- toCenter = 10
41
+ fit = 0,
42
+ left = 1,
43
+ centerX = 2,
44
+ right = 3,
45
+ top = 4,
46
+ centerY = 8,
47
+ bottom = 12,
48
+ center = 10
49
49
  }
50
50
  export type ElasticSize = {
51
51
  cells?: number;
@@ -18,14 +18,14 @@ export var ElKind;
18
18
  export var Align;
19
19
  (function (Align) {
20
20
  Align[Align["default"] = 16] = "default";
21
- Align[Align["toBounds"] = 0] = "toBounds";
22
- Align[Align["toLeft"] = 1] = "toLeft";
23
- Align[Align["toCenterX"] = 2] = "toCenterX";
24
- Align[Align["toRight"] = 3] = "toRight";
25
- Align[Align["toTop"] = 4] = "toTop";
26
- Align[Align["toCenterY"] = 8] = "toCenterY";
27
- Align[Align["toBottom"] = 12] = "toBottom";
28
- Align[Align["toCenter"] = 10] = "toCenter";
21
+ Align[Align["fit"] = 0] = "fit";
22
+ Align[Align["left"] = 1] = "left";
23
+ Align[Align["centerX"] = 2] = "centerX";
24
+ Align[Align["right"] = 3] = "right";
25
+ Align[Align["top"] = 4] = "top";
26
+ Align[Align["centerY"] = 8] = "centerY";
27
+ Align[Align["bottom"] = 12] = "bottom";
28
+ Align[Align["center"] = 10] = "center";
29
29
  })(Align || (Align = {}));
30
30
  export class ElImpl {
31
31
  constructor(node) {
@@ -356,7 +356,7 @@ export class Apply {
356
356
  const hostDriver = bNode.host.driver;
357
357
  if (hostDriver.isPartitionSeparator) {
358
358
  const host = bNode.host.seat.instance;
359
- Apply.elementAlignment(element, Align.toBounds);
359
+ Apply.elementAlignment(element, Align.fit);
360
360
  Apply.heightGrowth(host.element, value);
361
361
  }
362
362
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verstak",
3
- "version": "0.24.131",
3
+ "version": "0.24.132",
4
4
  "description": "Verstak - Front-End Library",
5
5
  "publisher": "Nezaboodka Software",
6
6
  "license": "Apache-2.0",