paperlab 0.8.1 → 0.9.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/README.md +4 -7
- package/dist/{chunk-LUKNPQ3S.js → chunk-YQFQT3AH.js} +3321 -757
- package/dist/chunk-YQFQT3AH.js.map +1 -0
- package/dist/index.cjs +3374 -773
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -3
- package/dist/index.d.ts +61 -3
- package/dist/index.js +48 -3
- package/dist/index.js.map +1 -1
- package/dist/{slots-DbJQfwVd.d.cts → slots-BAVzglHw.d.cts} +124 -3
- package/dist/{slots-DbJQfwVd.d.ts → slots-BAVzglHw.d.ts} +124 -3
- package/dist/stage.cjs +3513 -955
- package/dist/stage.cjs.map +1 -1
- package/dist/stage.d.cts +1 -1
- package/dist/stage.d.ts +1 -1
- package/dist/stage.js +3 -2
- package/dist/stage.js.map +1 -1
- package/package.json +10 -10
- package/dist/chunk-LUKNPQ3S.js.map +0 -1
package/dist/stage.d.cts
CHANGED
package/dist/stage.d.ts
CHANGED
package/dist/stage.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_PAYLOAD_VERSION,
|
|
3
|
+
CANVAS_SHADOWS,
|
|
3
4
|
LightRig,
|
|
4
5
|
PaperFieldMesh,
|
|
5
6
|
PaperLighting,
|
|
@@ -16,7 +17,7 @@ import {
|
|
|
16
17
|
resolveLighting,
|
|
17
18
|
usePrefersReducedMotion,
|
|
18
19
|
walkPathSchema
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YQFQT3AH.js";
|
|
20
21
|
import "./chunk-BIFUJCUA.js";
|
|
21
22
|
|
|
22
23
|
// src/stage/PaperStage.tsx
|
|
@@ -1667,7 +1668,7 @@ function PaperStage({ children, className, style, ...sceneProps }) {
|
|
|
1667
1668
|
return /* @__PURE__ */ jsx7("div", { className, style: { width: "100%", height: "100%", ...style }, children: /* @__PURE__ */ jsxs5(
|
|
1668
1669
|
Canvas,
|
|
1669
1670
|
{
|
|
1670
|
-
shadows:
|
|
1671
|
+
shadows: CANVAS_SHADOWS,
|
|
1671
1672
|
dpr: [1, dpr],
|
|
1672
1673
|
camera: { fov: 38, near: 0.05, far: 400 },
|
|
1673
1674
|
onCreated: ({ scene }) => {
|