You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.0 KiB
93 lines
2.0 KiB
/**
|
|
* Sema — public surface.
|
|
*
|
|
* Sema is a standalone layer. It owns its types and its validator. The
|
|
* only import from outside is `PartRef`, a cross-layer primitive that
|
|
* lives in `$uix/lib/types` — not in morfo. Sema has zero dependency on
|
|
* the morfo module.
|
|
*
|
|
* Consumers (soma providers, demos, eventual runtime) import from here.
|
|
* Inside `src/uix/sema/` prefer direct file imports.
|
|
*/
|
|
|
|
export type {
|
|
SemaEventLabel,
|
|
SemaAttrWrite,
|
|
SemaCommit,
|
|
SemaAction,
|
|
SemaSustainDecl,
|
|
SemaSpec
|
|
} from './types';
|
|
|
|
export { validateSema, SemaInvariantError } from './validation';
|
|
|
|
export type {
|
|
SemaFamilyName,
|
|
SemaIntentName,
|
|
SemaActiveChannel,
|
|
MotionSignature,
|
|
SoundSignature,
|
|
ColorSignature,
|
|
PresenceSignature,
|
|
EffectiveSignature,
|
|
SemaMap,
|
|
RuntimeOverrides,
|
|
CSEMSelectorOverride,
|
|
CSEMOverrides,
|
|
ResolverOptions
|
|
} from './resolver';
|
|
|
|
export { Resolver, defaultSemaMap } from './resolver';
|
|
|
|
export type { PartialSemaContext, ActionName, SustainName, SemaBinding } from './binding';
|
|
|
|
export { createSemaBinding } from './binding';
|
|
|
|
export type {
|
|
SemaRuntimeConfig,
|
|
MediaQueryListLike,
|
|
A11ySnapshot,
|
|
A11yMonitorOptions
|
|
} from './a11y';
|
|
|
|
export { A11yMonitor, DEFAULT_SEMA_RUNTIME_CONFIG } from './a11y';
|
|
|
|
export type {
|
|
SemaEventDetail,
|
|
MotionChannelDriver,
|
|
SoundChannelDriver,
|
|
ColorChannelDriver,
|
|
PresenceChannelDriver,
|
|
SemaChannelDrivers,
|
|
EngineDependencies,
|
|
EngineConfig,
|
|
EngineConfigPatch
|
|
} from './engine';
|
|
|
|
export {
|
|
SemaEngine,
|
|
getSemaEngine,
|
|
configureSema,
|
|
destroySema,
|
|
_resetEngineForTesting
|
|
} from './engine';
|
|
|
|
export { MotionChannel } from './channels/motion';
|
|
export { ColorChannel } from './channels/color';
|
|
export { PresenceChannel } from './channels/presence';
|
|
export { SoundChannel } from './channels/sound';
|
|
|
|
export type {
|
|
ResolvedSemaAction,
|
|
ResolvedSemaSustain,
|
|
SemaContext,
|
|
SemaSession,
|
|
SemaPort,
|
|
TestSemaPortOptions,
|
|
TestSemaCall,
|
|
TestSemaSession,
|
|
TestSemaPortHandle
|
|
} from './port';
|
|
|
|
export { noopSemaPort, createTestSemaPort } from './port';
|