paperlab 0.5.2 → 0.6.0

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/dist/stage.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  resolveLighting,
17
17
  usePrefersReducedMotion,
18
18
  walkPathSchema
19
- } from "./chunk-HRXQTJFS.js";
19
+ } from "./chunk-E22ILEDO.js";
20
20
 
21
21
  // src/stage/PaperStage.tsx
22
22
  import * as THREE6 from "three";
@@ -958,9 +958,9 @@ var stageRoomSchema = z3.object({
958
958
  height: z3.number().min(1).max(6).default(2.2),
959
959
  color: z3.string().default("#171310").describe("color"),
960
960
  /** Columns flanking the walk — see `stageColumnsSchema`. */
961
- columns: stageColumnsSchema.default({}),
961
+ columns: stageColumnsSchema.prefault({}),
962
962
  /** A wall at the end of the walk with the source in it. */
963
- doorway: stageDoorwaySchema.default({})
963
+ doorway: stageDoorwaySchema.prefault({})
964
964
  });
965
965
  var stageGradeSchema = z3.object({
966
966
  /**
@@ -1014,9 +1014,9 @@ var stageGradeSchema = z3.object({
1014
1014
  grain: z3.number().min(0).max(0.5).default(0.022)
1015
1015
  });
1016
1016
  var stageSchema = z3.object({
1017
- path: walkPathSchema.default({}),
1018
- shot: shotSchema.default({}),
1019
- figure: figureSchema.default({}),
1017
+ path: walkPathSchema.prefault({}),
1018
+ shot: shotSchema.prefault({}),
1019
+ figure: figureSchema.prefault({}),
1020
1020
  /** Stage mode is built for `nave`; the others are all front-lit. */
1021
1021
  lighting: z3.enum(lightingNames).default("nave"),
1022
1022
  /**
@@ -1043,12 +1043,12 @@ var stageSchema = z3.object({
1043
1043
  * Still one flag away for anyone who wants it.
1044
1044
  */
1045
1045
  showFigure: z3.boolean().default(false),
1046
- source: stageSourceSchema.default({}),
1047
- ground: stageGroundSchema.default({}),
1046
+ source: stageSourceSchema.prefault({}),
1047
+ ground: stageGroundSchema.prefault({}),
1048
1048
  /** Ceiling and the architecture around the walk — see `stageRoomSchema`. */
1049
- room: stageRoomSchema.default({}),
1049
+ room: stageRoomSchema.prefault({}),
1050
1050
  /** Thread and clips — see `stageSuspensionSchema`. */
1051
- suspension: stageSuspensionSchema.default({}),
1051
+ suspension: stageSuspensionSchema.prefault({}),
1052
1052
  /**
1053
1053
  * The print — bloom, vignette, grain.
1054
1054
  *
@@ -1060,7 +1060,7 @@ var stageSchema = z3.object({
1060
1060
  * behaviour: a stage silently losing its grade would be worse than a
1061
1061
  * missing-module error that names the package.
1062
1062
  */
1063
- grade: stageGradeSchema.default({})
1063
+ grade: stageGradeSchema.prefault({})
1064
1064
  });
1065
1065
 
1066
1066
  // src/stage/navigate.ts