@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.
@@ -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 type an action's `keys` hold: a key that starts with `Mod+`, or a
4299
- * bare key. The `Mod+` arm is the grammar's prefix check alone — the type
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 = `Mod+${string}` | BareKey;
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 type an action's `keys` hold: a key that starts with `Mod+`, or a
4299
- * bare key. The `Mod+` arm is the grammar's prefix check alone — the type
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 = `Mod+${string}` | BareKey;
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.33.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/proto": "0.33.0",
30
- "@lace-cloud/ui": "0.33.0"
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",