@simonklee/yoga 0.2.24
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.
- package/README.md +87 -0
- package/dist/darwin-arm64/libyoga.dylib +0 -0
- package/dist/darwin-x64/libyoga.dylib +0 -0
- package/dist/index.d.ts +575 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1502 -0
- package/dist/linux-arm64/libyoga.so +0 -0
- package/dist/linux-x64/libyoga.so +0 -0
- package/dist/windows-x64/yoga.dll +0 -0
- package/package.json +43 -0
- package/src/index.test.ts +939 -0
- package/src/index.ts +1648 -0
- package/src/yoga_ffi.zig +1324 -0
package/README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Yoga bindings
|
|
2
|
+
|
|
3
|
+
Fast Bun FFI bindings for Facebook's [Yoga](https://yogalayout.dev/) layout
|
|
4
|
+
engine, providing a `yoga-layout` compatible API built on Zig.
|
|
5
|
+
|
|
6
|
+
## Supported Platforms
|
|
7
|
+
|
|
8
|
+
Pre-built binaries are included in the npm package for:
|
|
9
|
+
|
|
10
|
+
| Platform | Architecture | Binary |
|
|
11
|
+
| -------- | --------------------- | --------------- |
|
|
12
|
+
| macOS | ARM64 (Apple Silicon) | `libyoga.dylib` |
|
|
13
|
+
| macOS | x64 (Intel) | `libyoga.dylib` |
|
|
14
|
+
| Linux | x64 | `libyoga.so` |
|
|
15
|
+
| Linux | ARM64 | `libyoga.so` |
|
|
16
|
+
| Windows | x64 | `yoga.dll` |
|
|
17
|
+
|
|
18
|
+
The correct binary is automatically loaded at runtime based on your platform.
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bun add @simonklee/yoga
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import Yoga, { Node, Config, Edge, FlexDirection } from "@simonklee/yoga";
|
|
30
|
+
|
|
31
|
+
const config = Config.create();
|
|
32
|
+
const root = Node.create(config);
|
|
33
|
+
|
|
34
|
+
root.setFlexDirection(FlexDirection.Column);
|
|
35
|
+
root.setWidth(100);
|
|
36
|
+
root.setHeight(100);
|
|
37
|
+
|
|
38
|
+
const child = Node.create(config);
|
|
39
|
+
child.setFlexGrow(1);
|
|
40
|
+
root.insertChild(child, 0);
|
|
41
|
+
|
|
42
|
+
root.calculateLayout(100, 100);
|
|
43
|
+
console.log(root.getComputedLayout());
|
|
44
|
+
// { left: 0, top: 0, right: 0, bottom: 0, width: 100, height: 100 }
|
|
45
|
+
|
|
46
|
+
root.freeRecursive();
|
|
47
|
+
config.free();
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## API
|
|
51
|
+
|
|
52
|
+
The API mirrors [yoga-layout](https://www.npmjs.com/package/yoga-layout). All enums, constants, and methods are compatible.
|
|
53
|
+
|
|
54
|
+
## Building from source
|
|
55
|
+
|
|
56
|
+
Requirements: Bun and Zig 0.15.1+.
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Build the native library (debug)
|
|
60
|
+
zig build
|
|
61
|
+
|
|
62
|
+
# Build the native library (release)
|
|
63
|
+
zig build -Doptimize=ReleaseFast
|
|
64
|
+
|
|
65
|
+
# Build TypeScript to dist/
|
|
66
|
+
bun run build
|
|
67
|
+
|
|
68
|
+
# Tests
|
|
69
|
+
zig build test
|
|
70
|
+
bun test
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Benchmarks
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
bun run bench
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Development notes
|
|
80
|
+
|
|
81
|
+
- `src/yoga_ffi.zig` exposes Yoga's C API via Zig `export fn`.
|
|
82
|
+
- `src/index.ts` uses `bun:ffi` and prefers a local `zig-out` library when present,
|
|
83
|
+
falling back to the platform-specific binary in `dist/`.
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
MIT
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
export declare const Align: {
|
|
2
|
+
readonly Auto: 0;
|
|
3
|
+
readonly FlexStart: 1;
|
|
4
|
+
readonly Center: 2;
|
|
5
|
+
readonly FlexEnd: 3;
|
|
6
|
+
readonly Stretch: 4;
|
|
7
|
+
readonly Baseline: 5;
|
|
8
|
+
readonly SpaceBetween: 6;
|
|
9
|
+
readonly SpaceAround: 7;
|
|
10
|
+
readonly SpaceEvenly: 8;
|
|
11
|
+
};
|
|
12
|
+
export type Align = (typeof Align)[keyof typeof Align];
|
|
13
|
+
export declare const BoxSizing: {
|
|
14
|
+
readonly BorderBox: 0;
|
|
15
|
+
readonly ContentBox: 1;
|
|
16
|
+
};
|
|
17
|
+
export type BoxSizing = (typeof BoxSizing)[keyof typeof BoxSizing];
|
|
18
|
+
export declare const Dimension: {
|
|
19
|
+
readonly Width: 0;
|
|
20
|
+
readonly Height: 1;
|
|
21
|
+
};
|
|
22
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
23
|
+
export declare const Direction: {
|
|
24
|
+
readonly Inherit: 0;
|
|
25
|
+
readonly LTR: 1;
|
|
26
|
+
readonly RTL: 2;
|
|
27
|
+
};
|
|
28
|
+
export type Direction = (typeof Direction)[keyof typeof Direction];
|
|
29
|
+
export declare const Display: {
|
|
30
|
+
readonly Flex: 0;
|
|
31
|
+
readonly None: 1;
|
|
32
|
+
readonly Contents: 2;
|
|
33
|
+
};
|
|
34
|
+
export type Display = (typeof Display)[keyof typeof Display];
|
|
35
|
+
export declare const Edge: {
|
|
36
|
+
readonly Left: 0;
|
|
37
|
+
readonly Top: 1;
|
|
38
|
+
readonly Right: 2;
|
|
39
|
+
readonly Bottom: 3;
|
|
40
|
+
readonly Start: 4;
|
|
41
|
+
readonly End: 5;
|
|
42
|
+
readonly Horizontal: 6;
|
|
43
|
+
readonly Vertical: 7;
|
|
44
|
+
readonly All: 8;
|
|
45
|
+
};
|
|
46
|
+
export type Edge = (typeof Edge)[keyof typeof Edge];
|
|
47
|
+
export declare const Errata: {
|
|
48
|
+
readonly None: 0;
|
|
49
|
+
readonly StretchFlexBasis: 1;
|
|
50
|
+
readonly AbsolutePositionWithoutInsetsExcludesPadding: 2;
|
|
51
|
+
readonly AbsolutePercentAgainstInnerSize: 4;
|
|
52
|
+
readonly All: 2147483647;
|
|
53
|
+
readonly Classic: 2147483646;
|
|
54
|
+
};
|
|
55
|
+
export type Errata = (typeof Errata)[keyof typeof Errata];
|
|
56
|
+
export declare const ExperimentalFeature: {
|
|
57
|
+
readonly WebFlexBasis: 0;
|
|
58
|
+
};
|
|
59
|
+
export type ExperimentalFeature = (typeof ExperimentalFeature)[keyof typeof ExperimentalFeature];
|
|
60
|
+
export declare const FlexDirection: {
|
|
61
|
+
readonly Column: 0;
|
|
62
|
+
readonly ColumnReverse: 1;
|
|
63
|
+
readonly Row: 2;
|
|
64
|
+
readonly RowReverse: 3;
|
|
65
|
+
};
|
|
66
|
+
export type FlexDirection = (typeof FlexDirection)[keyof typeof FlexDirection];
|
|
67
|
+
export declare const Gutter: {
|
|
68
|
+
readonly Column: 0;
|
|
69
|
+
readonly Row: 1;
|
|
70
|
+
readonly All: 2;
|
|
71
|
+
};
|
|
72
|
+
export type Gutter = (typeof Gutter)[keyof typeof Gutter];
|
|
73
|
+
export declare const Justify: {
|
|
74
|
+
readonly FlexStart: 0;
|
|
75
|
+
readonly Center: 1;
|
|
76
|
+
readonly FlexEnd: 2;
|
|
77
|
+
readonly SpaceBetween: 3;
|
|
78
|
+
readonly SpaceAround: 4;
|
|
79
|
+
readonly SpaceEvenly: 5;
|
|
80
|
+
};
|
|
81
|
+
export type Justify = (typeof Justify)[keyof typeof Justify];
|
|
82
|
+
export declare const LogLevel: {
|
|
83
|
+
readonly Error: 0;
|
|
84
|
+
readonly Warn: 1;
|
|
85
|
+
readonly Info: 2;
|
|
86
|
+
readonly Debug: 3;
|
|
87
|
+
readonly Verbose: 4;
|
|
88
|
+
readonly Fatal: 5;
|
|
89
|
+
};
|
|
90
|
+
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
91
|
+
export declare const MeasureMode: {
|
|
92
|
+
readonly Undefined: 0;
|
|
93
|
+
readonly Exactly: 1;
|
|
94
|
+
readonly AtMost: 2;
|
|
95
|
+
};
|
|
96
|
+
export type MeasureMode = (typeof MeasureMode)[keyof typeof MeasureMode];
|
|
97
|
+
export declare const NodeType: {
|
|
98
|
+
readonly Default: 0;
|
|
99
|
+
readonly Text: 1;
|
|
100
|
+
};
|
|
101
|
+
export type NodeType = (typeof NodeType)[keyof typeof NodeType];
|
|
102
|
+
export declare const Overflow: {
|
|
103
|
+
readonly Visible: 0;
|
|
104
|
+
readonly Hidden: 1;
|
|
105
|
+
readonly Scroll: 2;
|
|
106
|
+
};
|
|
107
|
+
export type Overflow = (typeof Overflow)[keyof typeof Overflow];
|
|
108
|
+
export declare const PositionType: {
|
|
109
|
+
readonly Static: 0;
|
|
110
|
+
readonly Relative: 1;
|
|
111
|
+
readonly Absolute: 2;
|
|
112
|
+
};
|
|
113
|
+
export type PositionType = (typeof PositionType)[keyof typeof PositionType];
|
|
114
|
+
export declare const Unit: {
|
|
115
|
+
readonly Undefined: 0;
|
|
116
|
+
readonly Point: 1;
|
|
117
|
+
readonly Percent: 2;
|
|
118
|
+
readonly Auto: 3;
|
|
119
|
+
readonly MaxContent: 4;
|
|
120
|
+
readonly FitContent: 5;
|
|
121
|
+
readonly Stretch: 6;
|
|
122
|
+
};
|
|
123
|
+
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
124
|
+
export declare const Wrap: {
|
|
125
|
+
readonly NoWrap: 0;
|
|
126
|
+
readonly Wrap: 1;
|
|
127
|
+
readonly WrapReverse: 2;
|
|
128
|
+
};
|
|
129
|
+
export type Wrap = (typeof Wrap)[keyof typeof Wrap];
|
|
130
|
+
export declare const EDGE_LEFT: 0;
|
|
131
|
+
export declare const EDGE_TOP: 1;
|
|
132
|
+
export declare const EDGE_RIGHT: 2;
|
|
133
|
+
export declare const EDGE_BOTTOM: 3;
|
|
134
|
+
export declare const EDGE_START: 4;
|
|
135
|
+
export declare const EDGE_END: 5;
|
|
136
|
+
export declare const EDGE_HORIZONTAL: 6;
|
|
137
|
+
export declare const EDGE_VERTICAL: 7;
|
|
138
|
+
export declare const EDGE_ALL: 8;
|
|
139
|
+
export declare const GUTTER_COLUMN: 0;
|
|
140
|
+
export declare const GUTTER_ROW: 1;
|
|
141
|
+
export declare const GUTTER_ALL: 2;
|
|
142
|
+
export declare const FLEX_DIRECTION_COLUMN: 0;
|
|
143
|
+
export declare const FLEX_DIRECTION_COLUMN_REVERSE: 1;
|
|
144
|
+
export declare const FLEX_DIRECTION_ROW: 2;
|
|
145
|
+
export declare const FLEX_DIRECTION_ROW_REVERSE: 3;
|
|
146
|
+
export declare const JUSTIFY_FLEX_START: 0;
|
|
147
|
+
export declare const JUSTIFY_CENTER: 1;
|
|
148
|
+
export declare const JUSTIFY_FLEX_END: 2;
|
|
149
|
+
export declare const JUSTIFY_SPACE_BETWEEN: 3;
|
|
150
|
+
export declare const JUSTIFY_SPACE_AROUND: 4;
|
|
151
|
+
export declare const JUSTIFY_SPACE_EVENLY: 5;
|
|
152
|
+
export declare const ALIGN_AUTO: 0;
|
|
153
|
+
export declare const ALIGN_FLEX_START: 1;
|
|
154
|
+
export declare const ALIGN_CENTER: 2;
|
|
155
|
+
export declare const ALIGN_FLEX_END: 3;
|
|
156
|
+
export declare const ALIGN_STRETCH: 4;
|
|
157
|
+
export declare const ALIGN_BASELINE: 5;
|
|
158
|
+
export declare const ALIGN_SPACE_BETWEEN: 6;
|
|
159
|
+
export declare const ALIGN_SPACE_AROUND: 7;
|
|
160
|
+
export declare const ALIGN_SPACE_EVENLY: 8;
|
|
161
|
+
export declare const WRAP_NO_WRAP: 0;
|
|
162
|
+
export declare const WRAP_WRAP: 1;
|
|
163
|
+
export declare const WRAP_WRAP_REVERSE: 2;
|
|
164
|
+
export declare const OVERFLOW_VISIBLE: 0;
|
|
165
|
+
export declare const OVERFLOW_HIDDEN: 1;
|
|
166
|
+
export declare const OVERFLOW_SCROLL: 2;
|
|
167
|
+
export declare const DISPLAY_FLEX: 0;
|
|
168
|
+
export declare const DISPLAY_NONE: 1;
|
|
169
|
+
export declare const DISPLAY_CONTENTS: 2;
|
|
170
|
+
export declare const BOX_SIZING_BORDER_BOX: 0;
|
|
171
|
+
export declare const BOX_SIZING_CONTENT_BOX: 1;
|
|
172
|
+
export declare const DIMENSION_WIDTH: 0;
|
|
173
|
+
export declare const DIMENSION_HEIGHT: 1;
|
|
174
|
+
export declare const POSITION_TYPE_STATIC: 0;
|
|
175
|
+
export declare const POSITION_TYPE_RELATIVE: 1;
|
|
176
|
+
export declare const POSITION_TYPE_ABSOLUTE: 2;
|
|
177
|
+
export declare const DIRECTION_INHERIT: 0;
|
|
178
|
+
export declare const DIRECTION_LTR: 1;
|
|
179
|
+
export declare const DIRECTION_RTL: 2;
|
|
180
|
+
export declare const UNIT_UNDEFINED: 0;
|
|
181
|
+
export declare const UNIT_POINT: 1;
|
|
182
|
+
export declare const UNIT_PERCENT: 2;
|
|
183
|
+
export declare const UNIT_AUTO: 3;
|
|
184
|
+
export declare const UNIT_MAX_CONTENT: 4;
|
|
185
|
+
export declare const UNIT_FIT_CONTENT: 5;
|
|
186
|
+
export declare const UNIT_STRETCH: 6;
|
|
187
|
+
export declare const MEASURE_MODE_UNDEFINED: 0;
|
|
188
|
+
export declare const MEASURE_MODE_EXACTLY: 1;
|
|
189
|
+
export declare const MEASURE_MODE_AT_MOST: 2;
|
|
190
|
+
export declare const NODE_TYPE_DEFAULT: 0;
|
|
191
|
+
export declare const NODE_TYPE_TEXT: 1;
|
|
192
|
+
export declare const LOG_LEVEL_ERROR: 0;
|
|
193
|
+
export declare const LOG_LEVEL_WARN: 1;
|
|
194
|
+
export declare const LOG_LEVEL_INFO: 2;
|
|
195
|
+
export declare const LOG_LEVEL_DEBUG: 3;
|
|
196
|
+
export declare const LOG_LEVEL_VERBOSE: 4;
|
|
197
|
+
export declare const LOG_LEVEL_FATAL: 5;
|
|
198
|
+
export declare const EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: 0;
|
|
199
|
+
export declare const ERRATA_NONE: 0;
|
|
200
|
+
export declare const ERRATA_STRETCH_FLEX_BASIS: 1;
|
|
201
|
+
export declare const ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING: 2;
|
|
202
|
+
export declare const ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE: 4;
|
|
203
|
+
export declare const ERRATA_ALL: 2147483647;
|
|
204
|
+
export declare const ERRATA_CLASSIC: 2147483646;
|
|
205
|
+
export type Value = {
|
|
206
|
+
unit: Unit;
|
|
207
|
+
value: number;
|
|
208
|
+
};
|
|
209
|
+
export type MeasureFunction = (width: number, widthMode: MeasureMode, height: number, heightMode: MeasureMode) => {
|
|
210
|
+
width: number;
|
|
211
|
+
height: number;
|
|
212
|
+
};
|
|
213
|
+
export type BaselineFunction = (width: number, height: number) => number;
|
|
214
|
+
export type DirtiedFunction = (node: Node) => void;
|
|
215
|
+
export declare class Node {
|
|
216
|
+
private ptr;
|
|
217
|
+
private _freed;
|
|
218
|
+
private measureCallback;
|
|
219
|
+
private baselineCallback;
|
|
220
|
+
private dirtiedCallback;
|
|
221
|
+
private constructor();
|
|
222
|
+
/** Check if the node has been freed */
|
|
223
|
+
isFreed(): boolean;
|
|
224
|
+
static create(config?: Config): Node;
|
|
225
|
+
static createDefault(): Node;
|
|
226
|
+
static createWithConfig(config: Config): Node;
|
|
227
|
+
static destroy(node: Node): void;
|
|
228
|
+
free(): void;
|
|
229
|
+
freeRecursive(): void;
|
|
230
|
+
reset(): void;
|
|
231
|
+
/** Internal helper to close JSCallback objects without calling native unset functions */
|
|
232
|
+
private cleanupCallbacks;
|
|
233
|
+
clone(): Node;
|
|
234
|
+
copyStyle(node: Node): void;
|
|
235
|
+
setIsReferenceBaseline(isReferenceBaseline: boolean): void;
|
|
236
|
+
isReferenceBaseline(): boolean;
|
|
237
|
+
setAlwaysFormsContainingBlock(alwaysFormsContainingBlock: boolean): void;
|
|
238
|
+
insertChild(child: Node, index: number): void;
|
|
239
|
+
removeChild(child: Node): void;
|
|
240
|
+
removeAllChildren(): void;
|
|
241
|
+
getChild(index: number): Node | null;
|
|
242
|
+
getChildCount(): number;
|
|
243
|
+
getParent(): Node | null;
|
|
244
|
+
calculateLayout(width?: number | "auto", height?: number | "auto", direction?: number): void;
|
|
245
|
+
hasNewLayout(): boolean;
|
|
246
|
+
markLayoutSeen(): void;
|
|
247
|
+
markDirty(): void;
|
|
248
|
+
isDirty(): boolean;
|
|
249
|
+
getComputedLayout(): {
|
|
250
|
+
left: number;
|
|
251
|
+
top: number;
|
|
252
|
+
right: number;
|
|
253
|
+
bottom: number;
|
|
254
|
+
width: number;
|
|
255
|
+
height: number;
|
|
256
|
+
};
|
|
257
|
+
getComputedLeft(): number;
|
|
258
|
+
getComputedTop(): number;
|
|
259
|
+
getComputedRight(): number;
|
|
260
|
+
getComputedBottom(): number;
|
|
261
|
+
getComputedWidth(): number;
|
|
262
|
+
getComputedHeight(): number;
|
|
263
|
+
getComputedRawWidth(): number;
|
|
264
|
+
getComputedRawHeight(): number;
|
|
265
|
+
getComputedBorder(edge: number): number;
|
|
266
|
+
getComputedMargin(edge: number): number;
|
|
267
|
+
getComputedPadding(edge: number): number;
|
|
268
|
+
setDirection(direction: Direction): void;
|
|
269
|
+
getDirection(): Direction;
|
|
270
|
+
setFlexDirection(flexDirection: FlexDirection): void;
|
|
271
|
+
getFlexDirection(): FlexDirection;
|
|
272
|
+
setJustifyContent(justifyContent: Justify): void;
|
|
273
|
+
getJustifyContent(): Justify;
|
|
274
|
+
setAlignContent(alignContent: Align): void;
|
|
275
|
+
getAlignContent(): Align;
|
|
276
|
+
setAlignItems(alignItems: Align): void;
|
|
277
|
+
getAlignItems(): Align;
|
|
278
|
+
setAlignSelf(alignSelf: Align): void;
|
|
279
|
+
getAlignSelf(): Align;
|
|
280
|
+
setPositionType(positionType: PositionType): void;
|
|
281
|
+
getPositionType(): PositionType;
|
|
282
|
+
setFlexWrap(flexWrap: Wrap): void;
|
|
283
|
+
getFlexWrap(): Wrap;
|
|
284
|
+
setOverflow(overflow: Overflow): void;
|
|
285
|
+
getOverflow(): Overflow;
|
|
286
|
+
setDisplay(display: Display): void;
|
|
287
|
+
getDisplay(): Display;
|
|
288
|
+
setBoxSizing(boxSizing: BoxSizing): void;
|
|
289
|
+
getBoxSizing(): BoxSizing;
|
|
290
|
+
setFlex(flex: number): void;
|
|
291
|
+
getFlex(): number;
|
|
292
|
+
setFlexGrow(flexGrow: number): void;
|
|
293
|
+
getFlexGrow(): number;
|
|
294
|
+
setFlexShrink(flexShrink: number): void;
|
|
295
|
+
getFlexShrink(): number;
|
|
296
|
+
setFlexBasis(flexBasis: number | "auto" | `${number}%` | undefined): void;
|
|
297
|
+
setFlexBasisPercent(flexBasis: number | undefined): void;
|
|
298
|
+
setFlexBasisAuto(): void;
|
|
299
|
+
setFlexBasisMaxContent(): void;
|
|
300
|
+
setFlexBasisFitContent(): void;
|
|
301
|
+
setFlexBasisStretch(): void;
|
|
302
|
+
setPosition(edge: Edge, position: number | `${number}%` | undefined): void;
|
|
303
|
+
setPositionPercent(edge: Edge, position: number | undefined): void;
|
|
304
|
+
setPositionAuto(edge: Edge): void;
|
|
305
|
+
setMargin(edge: Edge, margin: number | "auto" | `${number}%` | undefined): void;
|
|
306
|
+
setMarginPercent(edge: Edge, margin: number | undefined): void;
|
|
307
|
+
setMarginAuto(edge: Edge): void;
|
|
308
|
+
setPadding(edge: Edge, padding: number | `${number}%` | undefined): void;
|
|
309
|
+
setPaddingPercent(edge: Edge, padding: number | undefined): void;
|
|
310
|
+
setBorder(edge: Edge, border: number | undefined): void;
|
|
311
|
+
getBorder(edge: Edge): number;
|
|
312
|
+
setGap(gutter: Gutter, gap: number | `${number}%` | undefined): void;
|
|
313
|
+
setGapPercent(gutter: Gutter, gap: number | undefined): void;
|
|
314
|
+
setWidth(width: number | "auto" | `${number}%` | undefined): void;
|
|
315
|
+
setWidthPercent(width: number | undefined): void;
|
|
316
|
+
setWidthAuto(): void;
|
|
317
|
+
setWidthMaxContent(): void;
|
|
318
|
+
setWidthFitContent(): void;
|
|
319
|
+
setWidthStretch(): void;
|
|
320
|
+
setHeight(height: number | "auto" | `${number}%` | undefined): void;
|
|
321
|
+
setHeightPercent(height: number | undefined): void;
|
|
322
|
+
setHeightAuto(): void;
|
|
323
|
+
setHeightMaxContent(): void;
|
|
324
|
+
setHeightFitContent(): void;
|
|
325
|
+
setHeightStretch(): void;
|
|
326
|
+
setMinWidth(minWidth: number | `${number}%` | undefined): void;
|
|
327
|
+
setMinWidthPercent(minWidth: number | undefined): void;
|
|
328
|
+
setMinWidthMaxContent(): void;
|
|
329
|
+
setMinWidthFitContent(): void;
|
|
330
|
+
setMinWidthStretch(): void;
|
|
331
|
+
setMinHeight(minHeight: number | `${number}%` | undefined): void;
|
|
332
|
+
setMinHeightPercent(minHeight: number | undefined): void;
|
|
333
|
+
setMinHeightMaxContent(): void;
|
|
334
|
+
setMinHeightFitContent(): void;
|
|
335
|
+
setMinHeightStretch(): void;
|
|
336
|
+
setMaxWidth(maxWidth: number | `${number}%` | undefined): void;
|
|
337
|
+
setMaxWidthPercent(maxWidth: number | undefined): void;
|
|
338
|
+
setMaxWidthMaxContent(): void;
|
|
339
|
+
setMaxWidthFitContent(): void;
|
|
340
|
+
setMaxWidthStretch(): void;
|
|
341
|
+
setMaxHeight(maxHeight: number | `${number}%` | undefined): void;
|
|
342
|
+
setMaxHeightPercent(maxHeight: number | undefined): void;
|
|
343
|
+
setMaxHeightMaxContent(): void;
|
|
344
|
+
setMaxHeightFitContent(): void;
|
|
345
|
+
setMaxHeightStretch(): void;
|
|
346
|
+
setAspectRatio(aspectRatio: number | undefined): void;
|
|
347
|
+
getAspectRatio(): number;
|
|
348
|
+
getWidth(): Value;
|
|
349
|
+
getHeight(): Value;
|
|
350
|
+
getMinWidth(): Value;
|
|
351
|
+
getMinHeight(): Value;
|
|
352
|
+
getMaxWidth(): Value;
|
|
353
|
+
getMaxHeight(): Value;
|
|
354
|
+
getMargin(edge: Edge): Value;
|
|
355
|
+
getPadding(edge: Edge): Value;
|
|
356
|
+
getPosition(edge: Edge): Value;
|
|
357
|
+
getGap(gutter: Gutter): Value;
|
|
358
|
+
getFlexBasis(): Value;
|
|
359
|
+
setMeasureFunc(measureFunc: MeasureFunction | null): void;
|
|
360
|
+
unsetMeasureFunc(): void;
|
|
361
|
+
hasMeasureFunc(): boolean;
|
|
362
|
+
setBaselineFunc(baselineFunc: BaselineFunction | null): void;
|
|
363
|
+
unsetBaselineFunc(): void;
|
|
364
|
+
hasBaselineFunc(): boolean;
|
|
365
|
+
setDirtiedFunc(dirtiedFunc: DirtiedFunction | null): void;
|
|
366
|
+
unsetDirtiedFunc(): void;
|
|
367
|
+
hasDirtiedFunc(): boolean;
|
|
368
|
+
}
|
|
369
|
+
export declare class Config {
|
|
370
|
+
private ptr;
|
|
371
|
+
private constructor();
|
|
372
|
+
static create(): Config;
|
|
373
|
+
static destroy(config: Config): void;
|
|
374
|
+
free(): void;
|
|
375
|
+
setUseWebDefaults(useWebDefaults: boolean): void;
|
|
376
|
+
useWebDefaults(): boolean;
|
|
377
|
+
setPointScaleFactor(pointScaleFactor: number): void;
|
|
378
|
+
getPointScaleFactor(): number;
|
|
379
|
+
setErrata(errata: Errata): void;
|
|
380
|
+
getErrata(): Errata;
|
|
381
|
+
setExperimentalFeatureEnabled(feature: ExperimentalFeature, enabled: boolean): void;
|
|
382
|
+
isExperimentalFeatureEnabled(feature: ExperimentalFeature): boolean;
|
|
383
|
+
}
|
|
384
|
+
declare const _default: {
|
|
385
|
+
Node: typeof Node;
|
|
386
|
+
Config: typeof Config;
|
|
387
|
+
Align: {
|
|
388
|
+
readonly Auto: 0;
|
|
389
|
+
readonly FlexStart: 1;
|
|
390
|
+
readonly Center: 2;
|
|
391
|
+
readonly FlexEnd: 3;
|
|
392
|
+
readonly Stretch: 4;
|
|
393
|
+
readonly Baseline: 5;
|
|
394
|
+
readonly SpaceBetween: 6;
|
|
395
|
+
readonly SpaceAround: 7;
|
|
396
|
+
readonly SpaceEvenly: 8;
|
|
397
|
+
};
|
|
398
|
+
BoxSizing: {
|
|
399
|
+
readonly BorderBox: 0;
|
|
400
|
+
readonly ContentBox: 1;
|
|
401
|
+
};
|
|
402
|
+
Dimension: {
|
|
403
|
+
readonly Width: 0;
|
|
404
|
+
readonly Height: 1;
|
|
405
|
+
};
|
|
406
|
+
Direction: {
|
|
407
|
+
readonly Inherit: 0;
|
|
408
|
+
readonly LTR: 1;
|
|
409
|
+
readonly RTL: 2;
|
|
410
|
+
};
|
|
411
|
+
Display: {
|
|
412
|
+
readonly Flex: 0;
|
|
413
|
+
readonly None: 1;
|
|
414
|
+
readonly Contents: 2;
|
|
415
|
+
};
|
|
416
|
+
Edge: {
|
|
417
|
+
readonly Left: 0;
|
|
418
|
+
readonly Top: 1;
|
|
419
|
+
readonly Right: 2;
|
|
420
|
+
readonly Bottom: 3;
|
|
421
|
+
readonly Start: 4;
|
|
422
|
+
readonly End: 5;
|
|
423
|
+
readonly Horizontal: 6;
|
|
424
|
+
readonly Vertical: 7;
|
|
425
|
+
readonly All: 8;
|
|
426
|
+
};
|
|
427
|
+
Errata: {
|
|
428
|
+
readonly None: 0;
|
|
429
|
+
readonly StretchFlexBasis: 1;
|
|
430
|
+
readonly AbsolutePositionWithoutInsetsExcludesPadding: 2;
|
|
431
|
+
readonly AbsolutePercentAgainstInnerSize: 4;
|
|
432
|
+
readonly All: 2147483647;
|
|
433
|
+
readonly Classic: 2147483646;
|
|
434
|
+
};
|
|
435
|
+
ExperimentalFeature: {
|
|
436
|
+
readonly WebFlexBasis: 0;
|
|
437
|
+
};
|
|
438
|
+
FlexDirection: {
|
|
439
|
+
readonly Column: 0;
|
|
440
|
+
readonly ColumnReverse: 1;
|
|
441
|
+
readonly Row: 2;
|
|
442
|
+
readonly RowReverse: 3;
|
|
443
|
+
};
|
|
444
|
+
Gutter: {
|
|
445
|
+
readonly Column: 0;
|
|
446
|
+
readonly Row: 1;
|
|
447
|
+
readonly All: 2;
|
|
448
|
+
};
|
|
449
|
+
Justify: {
|
|
450
|
+
readonly FlexStart: 0;
|
|
451
|
+
readonly Center: 1;
|
|
452
|
+
readonly FlexEnd: 2;
|
|
453
|
+
readonly SpaceBetween: 3;
|
|
454
|
+
readonly SpaceAround: 4;
|
|
455
|
+
readonly SpaceEvenly: 5;
|
|
456
|
+
};
|
|
457
|
+
LogLevel: {
|
|
458
|
+
readonly Error: 0;
|
|
459
|
+
readonly Warn: 1;
|
|
460
|
+
readonly Info: 2;
|
|
461
|
+
readonly Debug: 3;
|
|
462
|
+
readonly Verbose: 4;
|
|
463
|
+
readonly Fatal: 5;
|
|
464
|
+
};
|
|
465
|
+
MeasureMode: {
|
|
466
|
+
readonly Undefined: 0;
|
|
467
|
+
readonly Exactly: 1;
|
|
468
|
+
readonly AtMost: 2;
|
|
469
|
+
};
|
|
470
|
+
NodeType: {
|
|
471
|
+
readonly Default: 0;
|
|
472
|
+
readonly Text: 1;
|
|
473
|
+
};
|
|
474
|
+
Overflow: {
|
|
475
|
+
readonly Visible: 0;
|
|
476
|
+
readonly Hidden: 1;
|
|
477
|
+
readonly Scroll: 2;
|
|
478
|
+
};
|
|
479
|
+
PositionType: {
|
|
480
|
+
readonly Static: 0;
|
|
481
|
+
readonly Relative: 1;
|
|
482
|
+
readonly Absolute: 2;
|
|
483
|
+
};
|
|
484
|
+
Unit: {
|
|
485
|
+
readonly Undefined: 0;
|
|
486
|
+
readonly Point: 1;
|
|
487
|
+
readonly Percent: 2;
|
|
488
|
+
readonly Auto: 3;
|
|
489
|
+
readonly MaxContent: 4;
|
|
490
|
+
readonly FitContent: 5;
|
|
491
|
+
readonly Stretch: 6;
|
|
492
|
+
};
|
|
493
|
+
Wrap: {
|
|
494
|
+
readonly NoWrap: 0;
|
|
495
|
+
readonly Wrap: 1;
|
|
496
|
+
readonly WrapReverse: 2;
|
|
497
|
+
};
|
|
498
|
+
EDGE_LEFT: 0;
|
|
499
|
+
EDGE_TOP: 1;
|
|
500
|
+
EDGE_RIGHT: 2;
|
|
501
|
+
EDGE_BOTTOM: 3;
|
|
502
|
+
EDGE_START: 4;
|
|
503
|
+
EDGE_END: 5;
|
|
504
|
+
EDGE_HORIZONTAL: 6;
|
|
505
|
+
EDGE_VERTICAL: 7;
|
|
506
|
+
EDGE_ALL: 8;
|
|
507
|
+
FLEX_DIRECTION_COLUMN: 0;
|
|
508
|
+
FLEX_DIRECTION_COLUMN_REVERSE: 1;
|
|
509
|
+
FLEX_DIRECTION_ROW: 2;
|
|
510
|
+
FLEX_DIRECTION_ROW_REVERSE: 3;
|
|
511
|
+
JUSTIFY_FLEX_START: 0;
|
|
512
|
+
JUSTIFY_CENTER: 1;
|
|
513
|
+
JUSTIFY_FLEX_END: 2;
|
|
514
|
+
JUSTIFY_SPACE_BETWEEN: 3;
|
|
515
|
+
JUSTIFY_SPACE_AROUND: 4;
|
|
516
|
+
JUSTIFY_SPACE_EVENLY: 5;
|
|
517
|
+
ALIGN_AUTO: 0;
|
|
518
|
+
ALIGN_FLEX_START: 1;
|
|
519
|
+
ALIGN_CENTER: 2;
|
|
520
|
+
ALIGN_FLEX_END: 3;
|
|
521
|
+
ALIGN_STRETCH: 4;
|
|
522
|
+
ALIGN_BASELINE: 5;
|
|
523
|
+
ALIGN_SPACE_BETWEEN: 6;
|
|
524
|
+
ALIGN_SPACE_AROUND: 7;
|
|
525
|
+
ALIGN_SPACE_EVENLY: 8;
|
|
526
|
+
WRAP_NO_WRAP: 0;
|
|
527
|
+
WRAP_WRAP: 1;
|
|
528
|
+
WRAP_WRAP_REVERSE: 2;
|
|
529
|
+
OVERFLOW_VISIBLE: 0;
|
|
530
|
+
OVERFLOW_HIDDEN: 1;
|
|
531
|
+
OVERFLOW_SCROLL: 2;
|
|
532
|
+
DISPLAY_FLEX: 0;
|
|
533
|
+
DISPLAY_NONE: 1;
|
|
534
|
+
DISPLAY_CONTENTS: 2;
|
|
535
|
+
POSITION_TYPE_STATIC: 0;
|
|
536
|
+
POSITION_TYPE_RELATIVE: 1;
|
|
537
|
+
POSITION_TYPE_ABSOLUTE: 2;
|
|
538
|
+
DIRECTION_INHERIT: 0;
|
|
539
|
+
DIRECTION_LTR: 1;
|
|
540
|
+
DIRECTION_RTL: 2;
|
|
541
|
+
BOX_SIZING_BORDER_BOX: 0;
|
|
542
|
+
BOX_SIZING_CONTENT_BOX: 1;
|
|
543
|
+
DIMENSION_WIDTH: 0;
|
|
544
|
+
DIMENSION_HEIGHT: 1;
|
|
545
|
+
GUTTER_COLUMN: 0;
|
|
546
|
+
GUTTER_ROW: 1;
|
|
547
|
+
GUTTER_ALL: 2;
|
|
548
|
+
UNIT_UNDEFINED: 0;
|
|
549
|
+
UNIT_POINT: 1;
|
|
550
|
+
UNIT_PERCENT: 2;
|
|
551
|
+
UNIT_AUTO: 3;
|
|
552
|
+
UNIT_MAX_CONTENT: 4;
|
|
553
|
+
UNIT_FIT_CONTENT: 5;
|
|
554
|
+
UNIT_STRETCH: 6;
|
|
555
|
+
MEASURE_MODE_UNDEFINED: 0;
|
|
556
|
+
MEASURE_MODE_EXACTLY: 1;
|
|
557
|
+
MEASURE_MODE_AT_MOST: 2;
|
|
558
|
+
NODE_TYPE_DEFAULT: 0;
|
|
559
|
+
NODE_TYPE_TEXT: 1;
|
|
560
|
+
LOG_LEVEL_ERROR: 0;
|
|
561
|
+
LOG_LEVEL_WARN: 1;
|
|
562
|
+
LOG_LEVEL_INFO: 2;
|
|
563
|
+
LOG_LEVEL_DEBUG: 3;
|
|
564
|
+
LOG_LEVEL_VERBOSE: 4;
|
|
565
|
+
LOG_LEVEL_FATAL: 5;
|
|
566
|
+
EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: 0;
|
|
567
|
+
ERRATA_NONE: 0;
|
|
568
|
+
ERRATA_STRETCH_FLEX_BASIS: 1;
|
|
569
|
+
ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING: 2;
|
|
570
|
+
ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE: 4;
|
|
571
|
+
ERRATA_ALL: 2147483647;
|
|
572
|
+
ERRATA_CLASSIC: 2147483646;
|
|
573
|
+
};
|
|
574
|
+
export default _default;
|
|
575
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,KAAK;;;;;;;;;;CAUR,CAAC;AACX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAEvD,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,OAAO;;;;CAIV,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE7D,eAAO,MAAM,IAAI;;;;;;;;;;CAUP,CAAC;AACX,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,I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