@almadar/ui 6.8.0 → 6.9.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.
@@ -3,7 +3,7 @@ import { EventPayload, ServiceParams, ResolvedTraitBinding, ResolvedPage, Resolv
3
3
  export { ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, ResolvedTraitBinding } from '@almadar/core';
4
4
  import * as _almadar_runtime from '@almadar/runtime';
5
5
  import { TraitState, EffectHandlers } from '@almadar/runtime';
6
- import { K as KeyCaptureTable } from '../useKeyboardRouter-DQEE_9mq.cjs';
6
+ import { K as KeyCaptureTable } from '../useKeyboardRouter-CVn8lfiX.cjs';
7
7
  import { c as useUISlots } from '../UISlotContext-BlRDbHDy.cjs';
8
8
  import { a as EntityBindingSource, h as ServerBridgeTransport } from '../EntityBindingContext-Bn3ePJQC.cjs';
9
9
  export { b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, e as ServerBridgeContextValue, f as ServerBridgeProvider, i as ServerClientEffect, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-Bn3ePJQC.cjs';
@@ -392,13 +392,18 @@ interface OrbitalPluginHostProps {
392
392
  * live `currentState`, so `useKeyboardRouter`'s capture table always follows
393
393
  * the trait's actual mode. Re-derives whenever the host records a new
394
394
  * transition (the context's `tick`).
395
+ *
396
+ * `target` accepts either one target string (default `'shell'`) or a list of
397
+ * targets — the SAME derived entry (mode + keys) is repeated under every
398
+ * target, for a caller keying its table by several editor ids at once (e.g.
399
+ * one plugin's mode capturing keys for both `'schema'` and `'file:a.md'`).
395
400
  */
396
401
  declare function useDeclaredCaptureTable(opts: {
397
402
  pluginId: string;
398
403
  orbital: string;
399
404
  trait: string;
400
405
  keymapKnob?: string;
401
- target?: string;
406
+ target?: string | readonly string[];
402
407
  }): KeyCaptureTable;
403
408
  declare function useOrbitalPluginHost(): {
404
409
  getState: (pluginId: string, orbital: string, trait: string) => TraitState | undefined;
@@ -3,7 +3,7 @@ import { EventPayload, ServiceParams, ResolvedTraitBinding, ResolvedPage, Resolv
3
3
  export { ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, ResolvedTraitBinding } from '@almadar/core';
4
4
  import * as _almadar_runtime from '@almadar/runtime';
5
5
  import { TraitState, EffectHandlers } from '@almadar/runtime';
6
- import { K as KeyCaptureTable } from '../useKeyboardRouter-D84cNWmA.js';
6
+ import { K as KeyCaptureTable } from '../useKeyboardRouter-B1pIi9jo.js';
7
7
  import { c as useUISlots } from '../UISlotContext-CB89mv7N.js';
8
8
  import { a as EntityBindingSource, h as ServerBridgeTransport } from '../EntityBindingContext-Bn3ePJQC.js';
9
9
  export { b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, e as ServerBridgeContextValue, f as ServerBridgeProvider, i as ServerClientEffect, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-Bn3ePJQC.js';
@@ -392,13 +392,18 @@ interface OrbitalPluginHostProps {
392
392
  * live `currentState`, so `useKeyboardRouter`'s capture table always follows
393
393
  * the trait's actual mode. Re-derives whenever the host records a new
394
394
  * transition (the context's `tick`).
395
+ *
396
+ * `target` accepts either one target string (default `'shell'`) or a list of
397
+ * targets — the SAME derived entry (mode + keys) is repeated under every
398
+ * target, for a caller keying its table by several editor ids at once (e.g.
399
+ * one plugin's mode capturing keys for both `'schema'` and `'file:a.md'`).
395
400
  */
396
401
  declare function useDeclaredCaptureTable(opts: {
397
402
  pluginId: string;
398
403
  orbital: string;
399
404
  trait: string;
400
405
  keymapKnob?: string;
401
- target?: string;
406
+ target?: string | readonly string[];
402
407
  }): KeyCaptureTable;
403
408
  declare function useOrbitalPluginHost(): {
404
409
  getState: (pluginId: string, orbital: string, trait: string) => TraitState | undefined;