@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.
- package/dist/avl/index.cjs +527 -46
- package/dist/avl/index.js +527 -46
- package/dist/{cn-sgpqpN0U.d.ts → cn-C7fvp9gH.d.ts} +37 -10
- package/dist/{cn-CCjFspAo.d.cts → cn-DnLYahyL.d.cts} +37 -10
- package/dist/components/index.cjs +557 -47
- package/dist/components/index.d.cts +8 -6
- package/dist/components/index.d.ts +8 -6
- package/dist/components/index.js +556 -48
- package/dist/hooks/index.cjs +30 -1
- package/dist/hooks/index.d.cts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +29 -2
- package/dist/lib/drawable/three/index.cjs +21 -2
- package/dist/lib/drawable/three/index.js +21 -2
- package/dist/lib/index.cjs +238 -9
- package/dist/lib/index.d.cts +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +234 -10
- package/dist/marketing/index.cjs +12 -3
- package/dist/marketing/index.js +12 -3
- package/dist/providers/index.cjs +527 -46
- package/dist/providers/index.js +527 -46
- package/dist/runtime/index.cjs +541 -50
- package/dist/runtime/index.d.cts +7 -2
- package/dist/runtime/index.d.ts +7 -2
- package/dist/runtime/index.js +541 -50
- package/dist/{useKeyboardRouter-D84cNWmA.d.ts → useKeyboardRouter-B1pIi9jo.d.ts} +11 -1
- package/dist/{useKeyboardRouter-DQEE_9mq.d.cts → useKeyboardRouter-CVn8lfiX.d.cts} +11 -1
- package/package.json +3 -3
package/dist/runtime/index.d.cts
CHANGED
|
@@ -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-
|
|
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;
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -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-
|
|
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;
|