@cardanvil/frame-kit 0.4.0 → 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/README.md +45 -0
- package/dist/cli/main.js +16 -0
- package/dist/cli/sourceWatcher.d.ts +40 -0
- package/dist/cli/sourceWatcher.js +100 -0
- package/dist/cli/studio/boxSets.d.ts +33 -0
- package/dist/cli/studio/boxSets.js +87 -0
- package/dist/cli/studio/edit/applyEdits.d.ts +71 -0
- package/dist/cli/studio/edit/applyEdits.js +177 -0
- package/dist/cli/studio/edit/impact.d.ts +53 -0
- package/dist/cli/studio/edit/impact.js +87 -0
- package/dist/cli/studio/edit/resolveModule.d.ts +10 -0
- package/dist/cli/studio/edit/resolveModule.js +55 -0
- package/dist/cli/studio/edit/resolvePath.d.ts +53 -0
- package/dist/cli/studio/edit/resolvePath.js +606 -0
- package/dist/cli/studio/edit/sourceIndex.d.ts +29 -0
- package/dist/cli/studio/edit/sourceIndex.js +73 -0
- package/dist/cli/studio/edit/ts.d.ts +14 -0
- package/dist/cli/studio/edit/ts.js +34 -0
- package/dist/cli/studio/serve.d.ts +23 -0
- package/dist/cli/studio/serve.js +513 -0
- package/dist/cli/studio/session.d.ts +73 -0
- package/dist/cli/studio/session.js +154 -0
- package/dist/cli/watch.d.ts +3 -0
- package/dist/cli/watch.js +20 -89
- package/dist/layout/assetPlacement.d.ts +71 -0
- package/dist/layout/assetPlacement.js +104 -0
- package/dist/layout/decorations.d.ts +78 -0
- package/dist/layout/decorations.js +108 -0
- package/dist/layout/frameLayers.d.ts +136 -0
- package/dist/layout/frameLayers.js +291 -0
- package/dist/layout/index.d.ts +16 -0
- package/dist/layout/index.js +16 -0
- package/dist/layout/resolveFrameAsset.d.ts +31 -0
- package/dist/layout/resolveFrameAsset.js +58 -0
- package/dist/manifest/contract.d.ts +671 -1
- package/dist/manifest/contract.js +7 -1
- package/dist/schema/frame.d.ts +1692 -0
- package/dist/schema/frame.js +27 -0
- package/dist/schema/frameAssets.d.ts +3 -1
- package/dist/schema/frameAssets.js +23 -1
- package/dist/studio/assets/PlantinMTProRgIt-D0FB51kb.woff2 +0 -0
- package/dist/studio/assets/beleren-b-B3lFvodX.ttf +0 -0
- package/dist/studio/assets/beleren-bsc-yvL6mU7X.ttf +0 -0
- package/dist/studio/assets/index-CNzyV22G.js +76 -0
- package/dist/studio/index.html +12 -0
- package/package.json +12 -3
|
@@ -11,8 +11,14 @@ import { FrameSchema } from "../schema/frame.js";
|
|
|
11
11
|
* - MINOR changes only ever add optional fields. Older loaders stay compatible
|
|
12
12
|
* because parsing strips unknown keys; they should warn that the frame may
|
|
13
13
|
* render with reduced fidelity.
|
|
14
|
+
*
|
|
15
|
+
* Version history:
|
|
16
|
+
* - 1.3: added the optional `border` layout mask, isolating the outer
|
|
17
|
+
* border ring's own shape so it can be recolored.
|
|
18
|
+
* - 1.2: added the optional `mask` asset URL on text boxes (shaped text).
|
|
19
|
+
* - 1.1: added the optional `license` field on the manifest.
|
|
14
20
|
*/
|
|
15
|
-
export const CONTRACT_VERSION = "1.
|
|
21
|
+
export const CONTRACT_VERSION = "1.3";
|
|
16
22
|
/** The only manifest kind any loader understands today. */
|
|
17
23
|
export const DECLARATIVE_KIND = "declarative";
|
|
18
24
|
export const AssetEntrySchema = z.object({
|