verstak 0.24.130 → 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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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["
|
|
22
|
-
Align[Align["
|
|
23
|
-
Align[Align["
|
|
24
|
-
Align[Align["
|
|
25
|
-
Align[Align["
|
|
26
|
-
Align[Align["
|
|
27
|
-
Align[Align["
|
|
28
|
-
Align[Align["
|
|
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.
|
|
359
|
+
Apply.elementAlignment(element, Align.fit);
|
|
360
360
|
Apply.heightGrowth(host.element, value);
|
|
361
361
|
}
|
|
362
362
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RxNode, RxNodeDecl } from "reactronic";
|
|
2
2
|
import { El } from "./El.js";
|
|
3
|
-
export declare function Page(declaration?: RxNodeDecl<El<
|
|
3
|
+
export declare function Page(declaration?: RxNodeDecl<El<HTMLBodyElement>>, preset?: RxNodeDecl<El<HTMLBodyElement>>): RxNode<El<HTMLBodyElement>>;
|
|
4
4
|
export declare function A<M = unknown>(declaration?: RxNodeDecl<El<HTMLAnchorElement, M>>, preset?: RxNodeDecl<El<HTMLAnchorElement, M>>): RxNode<El<HTMLAnchorElement, M>>;
|
|
5
5
|
export declare function Abbr<M = unknown>(declaration?: RxNodeDecl<El<HTMLElement, M>>, preset?: RxNodeDecl<El<HTMLElement, M>>): RxNode<El<HTMLElement, M>>;
|
|
6
6
|
export declare function Address<M = unknown>(declaration?: RxNodeDecl<El<HTMLElement, M>>, preset?: RxNodeDecl<El<HTMLElement, M>>): RxNode<El<HTMLElement, M>>;
|