@charisol/plexo-sdk 1.2.0 → 1.3.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.
|
@@ -15,11 +15,13 @@ export interface ResolveCanvasEngineArgs {
|
|
|
15
15
|
* there's no seam at that granularity; per-element-type coverage gaps are tracked instead via
|
|
16
16
|
* the fixture/golden-snapshot parity suite (see FIX_LEDGER.md), not a runtime switch.
|
|
17
17
|
*
|
|
18
|
-
* 'auto'
|
|
19
|
-
* interactive overlay (selection, drag,
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
18
|
+
* 'auto' now resolves to 'compiled', for both modes — the real cutover decision this project
|
|
19
|
+
* has been building toward: the compiled canvas's interactive overlay (selection, drag,
|
|
20
|
+
* in-frame text editing) reached parity with the legacy canvas, extensive fixture/live-browser
|
|
21
|
+
* verification confirmed real production templates render correctly, and the host app made the
|
|
22
|
+
* explicit call to make it the standard rather than an opt-in allowlist. A host that still needs
|
|
23
|
+
* to hold specific accounts back sets `canvasFidelity: 'legacy'` explicitly for them (or its own
|
|
24
|
+
* server-side resolution's emergency kill switch, e.g. plexo-web's
|
|
25
|
+
* PLEXO_CANVAS_FIDELITY_FORCE_LEGACY) — 'auto' itself is no longer the conservative default.
|
|
24
26
|
*/
|
|
25
27
|
export declare function resolveCanvasEngine({ canvasFidelity }: ResolveCanvasEngineArgs): CanvasEngine;
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var F = (e, t) => {
|
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/components/editor/frame/useCanvasEngine.ts
|
|
33
33
|
function Pe({ canvasFidelity: e }) {
|
|
34
|
-
return e === "
|
|
34
|
+
return e === "legacy" ? "legacy" : "compiled";
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/editor/frame/CompiledCanvasFrame.tsx
|
package/package.json
CHANGED