@lace-cloud/canvas 0.33.0 → 0.34.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/{Canvas-JRY2HAY6.css → Canvas-VQQEZSPA.css} +9 -11
- package/dist/{chunk-45HRNFCU.mjs → chunk-5X3CA44U.mjs} +24 -1
- package/dist/chunk-5X3CA44U.mjs.map +1 -0
- package/dist/engine/index.cjs +25 -0
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +15 -3
- package/dist/engine/index.d.ts +15 -3
- package/dist/engine/index.mjs +5 -1
- package/dist/index.cjs +939 -802
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +744 -620
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-C-aNjCYV.d.ts → registry-BwXo1iVe.d.mts} +9 -3
- package/dist/{registry-C-aNjCYV.d.mts → registry-BwXo1iVe.d.ts} +9 -3
- package/package.json +3 -3
- package/dist/chunk-45HRNFCU.mjs.map +0 -1
|
@@ -2617,6 +2617,9 @@ declare const COMMANDS: {
|
|
|
2617
2617
|
readonly values: readonly ["table", "json"];
|
|
2618
2618
|
readonly short: "o";
|
|
2619
2619
|
};
|
|
2620
|
+
readonly source: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
};
|
|
2620
2623
|
readonly sourcePath: {
|
|
2621
2624
|
readonly type: "string";
|
|
2622
2625
|
};
|
|
@@ -4295,11 +4298,14 @@ declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtur
|
|
|
4295
4298
|
/** The keys an action may bind with no modifier. */
|
|
4296
4299
|
declare const BARE_KEYS: readonly ["Delete", "Backspace"];
|
|
4297
4300
|
type BareKey = (typeof BARE_KEYS)[number];
|
|
4298
|
-
/** The
|
|
4299
|
-
|
|
4301
|
+
/** The modifiers a chord names. */
|
|
4302
|
+
declare const MODIFIERS: readonly ["Mod", "Ctrl"];
|
|
4303
|
+
type Modifier = (typeof MODIFIERS)[number];
|
|
4304
|
+
/** The type an action's `keys` hold: a key that starts with a modifier, or a
|
|
4305
|
+
* bare key. The modifier arm is the grammar's prefix check alone — the type
|
|
4300
4306
|
* cannot spell an optional `Shift` then one key — and `parseChord` refuses
|
|
4301
4307
|
* the rest at runtime. */
|
|
4302
|
-
type KeySpec =
|
|
4308
|
+
type KeySpec = `${Modifier}+${string}` | BareKey;
|
|
4303
4309
|
|
|
4304
4310
|
type CanvasSelection = {
|
|
4305
4311
|
nodes: readonly string[];
|
|
@@ -2617,6 +2617,9 @@ declare const COMMANDS: {
|
|
|
2617
2617
|
readonly values: readonly ["table", "json"];
|
|
2618
2618
|
readonly short: "o";
|
|
2619
2619
|
};
|
|
2620
|
+
readonly source: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
};
|
|
2620
2623
|
readonly sourcePath: {
|
|
2621
2624
|
readonly type: "string";
|
|
2622
2625
|
};
|
|
@@ -4295,11 +4298,14 @@ declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtur
|
|
|
4295
4298
|
/** The keys an action may bind with no modifier. */
|
|
4296
4299
|
declare const BARE_KEYS: readonly ["Delete", "Backspace"];
|
|
4297
4300
|
type BareKey = (typeof BARE_KEYS)[number];
|
|
4298
|
-
/** The
|
|
4299
|
-
|
|
4301
|
+
/** The modifiers a chord names. */
|
|
4302
|
+
declare const MODIFIERS: readonly ["Mod", "Ctrl"];
|
|
4303
|
+
type Modifier = (typeof MODIFIERS)[number];
|
|
4304
|
+
/** The type an action's `keys` hold: a key that starts with a modifier, or a
|
|
4305
|
+
* bare key. The modifier arm is the grammar's prefix check alone — the type
|
|
4300
4306
|
* cannot spell an optional `Shift` then one key — and `parseChord` refuses
|
|
4301
4307
|
* the rest at runtime. */
|
|
4302
|
-
type KeySpec =
|
|
4308
|
+
type KeySpec = `${Modifier}+${string}` | BareKey;
|
|
4303
4309
|
|
|
4304
4310
|
type CanvasSelection = {
|
|
4305
4311
|
nodes: readonly string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"lace": {
|
|
5
5
|
"owner": "authoring"
|
|
6
6
|
},
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
28
|
"zod": "^4.1.11",
|
|
29
|
-
"@lace-cloud/
|
|
30
|
-
"@lace-cloud/
|
|
29
|
+
"@lace-cloud/ui": "0.34.0",
|
|
30
|
+
"@lace-cloud/proto": "0.34.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@size-limit/file": "12.1.0",
|