verstak 0.23.117 → 0.23.119

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.
@@ -109,15 +109,15 @@ export declare enum Mode {
109
109
  ManualMount = 2
110
110
  }
111
111
  export declare enum Align {
112
- Stretch = 0,
113
- Left = 1,
114
- CenterX = 2,
115
- Right = 3,
116
- Top = 4,
117
- CenterY = 8,
118
- Bottom = 12,
119
112
  Default = 16,
120
- Center = 10
113
+ ToBounds = 0,
114
+ ToLeft = 1,
115
+ ToCenterX = 2,
116
+ ToRight = 3,
117
+ ToTop = 4,
118
+ ToCenterY = 8,
119
+ ToBottom = 12,
120
+ ToCenter = 10
121
121
  }
122
122
  export interface ElasticSize {
123
123
  cells?: number;
@@ -22,13 +22,13 @@ export var Mode;
22
22
  })(Mode || (Mode = {}));
23
23
  export var Align;
24
24
  (function (Align) {
25
- Align[Align["Stretch"] = 0] = "Stretch";
26
- Align[Align["Left"] = 1] = "Left";
27
- Align[Align["CenterX"] = 2] = "CenterX";
28
- Align[Align["Right"] = 3] = "Right";
29
- Align[Align["Top"] = 4] = "Top";
30
- Align[Align["CenterY"] = 8] = "CenterY";
31
- Align[Align["Bottom"] = 12] = "Bottom";
32
25
  Align[Align["Default"] = 16] = "Default";
33
- Align[Align["Center"] = 10] = "Center";
26
+ Align[Align["ToBounds"] = 0] = "ToBounds";
27
+ Align[Align["ToLeft"] = 1] = "ToLeft";
28
+ Align[Align["ToCenterX"] = 2] = "ToCenterX";
29
+ Align[Align["ToRight"] = 3] = "ToRight";
30
+ Align[Align["ToTop"] = 4] = "ToTop";
31
+ Align[Align["ToCenterY"] = 8] = "ToCenterY";
32
+ Align[Align["ToBottom"] = 12] = "ToBottom";
33
+ Align[Align["ToCenter"] = 10] = "ToCenter";
34
34
  })(Align || (Align = {}));
@@ -430,7 +430,7 @@ class BlockImpl {
430
430
  configureReactronic(options) {
431
431
  if (this.node.stamp !== 1 || !this.isOn(Mode.PinpointRebuild))
432
432
  throw new Error("reactronic can be configured only for blocks with separate reaction mode and only inside initialize");
433
- return Rx.getController(this.rebuild).configure(options);
433
+ return Rx.getReaction(this.rebuild).configure(options);
434
434
  }
435
435
  static get curr() {
436
436
  if (!gCurrent)
@@ -688,7 +688,7 @@ function triggerRebuild(ties) {
688
688
  Transaction.outside(() => {
689
689
  if (Rx.isLogging)
690
690
  Rx.setLoggingHint(b, node.key);
691
- Rx.getController(b.rebuild).configure({
691
+ Rx.getReaction(b.rebuild).configure({
692
692
  order: node.level,
693
693
  });
694
694
  });
@@ -90,7 +90,7 @@ export class VerstakHtmlDriver extends HtmlDriver {
90
90
  else {
91
91
  const hostDriver = bNode.host.node.driver;
92
92
  if (hostDriver.isRow) {
93
- driver.applyBlockAlignment(block, Align.Stretch);
93
+ driver.applyBlockAlignment(block, Align.ToBounds);
94
94
  hostDriver.applyHeightGrowth(bNode.host, value);
95
95
  }
96
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verstak",
3
- "version": "0.23.117",
3
+ "version": "0.23.119",
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.23.107"
34
+ "reactronic": "^0.23.110"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.6.3",