@woven-canvas/core 0.1.3 → 0.1.4
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/build/_tsup-dts-rollup.d.cts +16 -2
- package/build/_tsup-dts-rollup.d.ts +16 -2
- package/build/index.cjs +278 -257
- package/build/index.cjs.map +1 -1
- package/build/index.d.cts +2 -1
- package/build/index.d.ts +2 -1
- package/build/index.js +276 -257
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -172,6 +172,7 @@ declare const BlockSchema: {
|
|
|
172
172
|
rotateZ: NumberFieldBuilder<"float64">;
|
|
173
173
|
flip: TupleFieldBuilder<BooleanFieldBuilder, 2>;
|
|
174
174
|
rank: StringFieldBuilder;
|
|
175
|
+
resizeMode: EnumFieldBuilder<"default" | "scale" | "text" | "free" | "groupOnly">;
|
|
175
176
|
};
|
|
176
177
|
|
|
177
178
|
declare const Camera: CameraDef;
|
|
@@ -726,6 +727,11 @@ declare function getBlockDefs(ctx: Context): Record<string, BlockDef>;
|
|
|
726
727
|
export { getBlockDefs }
|
|
727
728
|
export { getBlockDefs as getBlockDefs_alias_1 }
|
|
728
729
|
|
|
730
|
+
declare function getBlockResizeMode(ctx: Context, entityId: EntityId): ResizeMode;
|
|
731
|
+
export { getBlockResizeMode }
|
|
732
|
+
export { getBlockResizeMode as getBlockResizeMode_alias_1 }
|
|
733
|
+
export { getBlockResizeMode as getBlockResizeMode_alias_2 }
|
|
734
|
+
|
|
729
735
|
export declare function getCursorSvg(cursors: Record<string, CursorDef>, kind: string, rotateZ: number): string;
|
|
730
736
|
|
|
731
737
|
declare function getFrameInput(ctx: Context): FrameInput;
|
|
@@ -1225,7 +1231,7 @@ declare const PointerSchema: {
|
|
|
1225
1231
|
position: TupleFieldBuilder<NumberFieldBuilder<"float32">, 2>;
|
|
1226
1232
|
downPosition: TupleFieldBuilder<NumberFieldBuilder<"float32">, 2>;
|
|
1227
1233
|
downFrame: NumberFieldBuilder<"uint32">;
|
|
1228
|
-
button: EnumFieldBuilder<"
|
|
1234
|
+
button: EnumFieldBuilder<"left" | "none" | "middle" | "right" | "back" | "forward">;
|
|
1229
1235
|
pointerType: EnumFieldBuilder<"mouse" | "pen" | "touch">;
|
|
1230
1236
|
pressure: NumberFieldBuilder<"float32">;
|
|
1231
1237
|
obscured: BooleanFieldBuilder;
|
|
@@ -1298,7 +1304,15 @@ declare const ResetKeyboard: CommandDef<void>;
|
|
|
1298
1304
|
export { ResetKeyboard }
|
|
1299
1305
|
export { ResetKeyboard as ResetKeyboard_alias_1 }
|
|
1300
1306
|
|
|
1301
|
-
declare
|
|
1307
|
+
declare const ResizeMode: {
|
|
1308
|
+
readonly Default: "default";
|
|
1309
|
+
readonly Scale: "scale";
|
|
1310
|
+
readonly Text: "text";
|
|
1311
|
+
readonly Free: "free";
|
|
1312
|
+
readonly GroupOnly: "groupOnly";
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
declare type ResizeMode = (typeof ResizeMode)[keyof typeof ResizeMode];
|
|
1302
1316
|
export { ResizeMode }
|
|
1303
1317
|
export { ResizeMode as ResizeMode_alias_1 }
|
|
1304
1318
|
|
|
@@ -172,6 +172,7 @@ declare const BlockSchema: {
|
|
|
172
172
|
rotateZ: NumberFieldBuilder<"float64">;
|
|
173
173
|
flip: TupleFieldBuilder<BooleanFieldBuilder, 2>;
|
|
174
174
|
rank: StringFieldBuilder;
|
|
175
|
+
resizeMode: EnumFieldBuilder<"default" | "scale" | "text" | "free" | "groupOnly">;
|
|
175
176
|
};
|
|
176
177
|
|
|
177
178
|
declare const Camera: CameraDef;
|
|
@@ -726,6 +727,11 @@ declare function getBlockDefs(ctx: Context): Record<string, BlockDef>;
|
|
|
726
727
|
export { getBlockDefs }
|
|
727
728
|
export { getBlockDefs as getBlockDefs_alias_1 }
|
|
728
729
|
|
|
730
|
+
declare function getBlockResizeMode(ctx: Context, entityId: EntityId): ResizeMode;
|
|
731
|
+
export { getBlockResizeMode }
|
|
732
|
+
export { getBlockResizeMode as getBlockResizeMode_alias_1 }
|
|
733
|
+
export { getBlockResizeMode as getBlockResizeMode_alias_2 }
|
|
734
|
+
|
|
729
735
|
export declare function getCursorSvg(cursors: Record<string, CursorDef>, kind: string, rotateZ: number): string;
|
|
730
736
|
|
|
731
737
|
declare function getFrameInput(ctx: Context): FrameInput;
|
|
@@ -1225,7 +1231,7 @@ declare const PointerSchema: {
|
|
|
1225
1231
|
position: TupleFieldBuilder<NumberFieldBuilder<"float32">, 2>;
|
|
1226
1232
|
downPosition: TupleFieldBuilder<NumberFieldBuilder<"float32">, 2>;
|
|
1227
1233
|
downFrame: NumberFieldBuilder<"uint32">;
|
|
1228
|
-
button: EnumFieldBuilder<"
|
|
1234
|
+
button: EnumFieldBuilder<"left" | "none" | "middle" | "right" | "back" | "forward">;
|
|
1229
1235
|
pointerType: EnumFieldBuilder<"mouse" | "pen" | "touch">;
|
|
1230
1236
|
pressure: NumberFieldBuilder<"float32">;
|
|
1231
1237
|
obscured: BooleanFieldBuilder;
|
|
@@ -1298,7 +1304,15 @@ declare const ResetKeyboard: CommandDef<void>;
|
|
|
1298
1304
|
export { ResetKeyboard }
|
|
1299
1305
|
export { ResetKeyboard as ResetKeyboard_alias_1 }
|
|
1300
1306
|
|
|
1301
|
-
declare
|
|
1307
|
+
declare const ResizeMode: {
|
|
1308
|
+
readonly Default: "default";
|
|
1309
|
+
readonly Scale: "scale";
|
|
1310
|
+
readonly Text: "text";
|
|
1311
|
+
readonly Free: "free";
|
|
1312
|
+
readonly GroupOnly: "groupOnly";
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
declare type ResizeMode = (typeof ResizeMode)[keyof typeof ResizeMode];
|
|
1302
1316
|
export { ResizeMode }
|
|
1303
1317
|
export { ResizeMode as ResizeMode_alias_1 }
|
|
1304
1318
|
|