@cutcraft/player 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +102 -2
- package/dist/backdrop-BqrzCzTB.d.mts +131 -0
- package/dist/engine.d.mts +3 -0
- package/dist/engine.mjs +3 -0
- package/dist/frame-plan-BNwblf1s.mjs +1074 -0
- package/dist/index.d.mts +298 -0
- package/dist/index.mjs +1410 -0
- package/dist/layer-interiors-r4SeMbp2.d.mts +8 -0
- package/dist/nested-Bd4Y7qrF.d.mts +720 -0
- package/dist/nested-DSXA1q8d.mjs +1698 -0
- package/dist/overlays.d.mts +201 -0
- package/dist/overlays.mjs +3 -0
- package/dist/svg-element-BUXbz-U5.mjs +1736 -0
- package/fonts.css +23 -0
- package/package.json +67 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Walk the file's element tree the way the kit's `collect` does (fragments,
|
|
4
|
+
* vocabulary elements, pure helpers expanded by calling them) and record the
|
|
5
|
+
* children of every `<Layer id>`: the resolver drops them, the Player renders them.
|
|
6
|
+
*/
|
|
7
|
+
declare function indexLayerInteriors(element: ReactNode): Map<string, ReactNode>;
|
|
8
|
+
export { indexLayerInteriors as t };
|