@almadar/shell-web 1.2.0 → 1.3.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/AvlGlyph-N2MSWT7H.js +5 -0
- package/dist/{AvlStateMachine-KVZMFHFU.js → AvlStateMachine-HDWKFV7C.js} +3 -3
- package/dist/AvlTransitionDetail-CRMZLMFV.js +10 -0
- package/dist/AvlTransitionExplainer-NJLDP7X5.js +11 -0
- package/dist/BehaviorView-EFKTS3KZ.js +10 -0
- package/dist/{FileTree-B3GDAjaQ.d.ts → FileTree-CSdbAdcJ.d.ts} +8 -0
- package/dist/FlowCanvas-S3ODHQXS.js +23 -0
- package/dist/{GameAudioProvider-BgWOOYT3.d.ts → GameAudioProvider-B8FBcGVE.d.ts} +1 -1
- package/dist/{KernelEngineContext-BPx-q0iw.d.ts → KernelEngineContext-6l6vkc50.d.ts} +1 -1
- package/dist/{LayersPanel-PSXI4EHG.js → LayersPanel-YHXNS36U.js} +4 -4
- package/dist/ModuleCard-6UW7YBAH.js +6 -0
- package/dist/OrbInspector-RQU5P2T6.js +23 -0
- package/dist/OrbPreview-V4VLWNMT.css +1754 -0
- package/dist/OrbPreview-WKC3ORIK.js +23 -0
- package/dist/{Select-BJ8Fgc8A.d.ts → Select-DuX0Gvwo.d.ts} +14 -8
- package/dist/UISlotRenderer-7IGRYWII.js +23 -0
- package/dist/auth/react/index.js +4 -0
- package/dist/avl/index.d.ts +2 -2
- package/dist/avl/index.js +25 -25
- package/dist/{chunk-LKL5RULQ.js → chunk-3OF2X6GG.js} +2 -2
- package/dist/{chunk-V5SVGUYN.js → chunk-3WSTUUJ7.js} +1 -1
- package/dist/{chunk-B23EZH2P.js → chunk-4IFO6QJL.js} +3 -3
- package/dist/{chunk-RDPELAFQ.js → chunk-4UAAP6ZN.js} +2 -2
- package/dist/{chunk-LINJRTNB.js → chunk-6MZ224GN.js} +2 -2
- package/dist/{chunk-3YUMGEEW.js → chunk-AYQKZFUH.js} +1 -1
- package/dist/{chunk-3DA36FOA.js → chunk-BY2UJWVR.js} +1 -1
- package/dist/{chunk-S3LS3B7N.js → chunk-CB4POLGP.js} +1 -1
- package/dist/{chunk-2LNXLMK3.js → chunk-FZOX7XTU.js} +41 -41
- package/dist/{chunk-ZDRDJKYB.js → chunk-MXN32OVV.js} +212 -20
- package/dist/{chunk-TAEOMNDK.js → chunk-NIOQT2IE.js} +44914 -44206
- package/dist/{chunk-CCO2ZH7F.js → chunk-NVSUTIJ2.js} +2 -2
- package/dist/{chunk-DPDKBY6Z.js → chunk-OEWVBYW5.js} +1 -0
- package/dist/{chunk-UFQLHCFJ.js → chunk-OHWEWQL3.js} +1 -1
- package/dist/{chunk-D5FJU4XC.js → chunk-OOG33EGF.js} +46 -14
- package/dist/{chunk-AU7O65OX.js → chunk-OXHXISFA.js} +1 -1
- package/dist/{chunk-PWXZN5G5.js → chunk-PD5QUVRE.js} +2 -2
- package/dist/{chunk-6RXP5ZXE.js → chunk-PHIQOASV.js} +5 -5
- package/dist/{chunk-GHAF7QUD.js → chunk-QZ6TDP6I.js} +1 -1
- package/dist/{chunk-JEN4EIUF.js → chunk-RCB4CKRK.js} +1 -1
- package/dist/{chunk-AL2XXMYR.js → chunk-RQH6O76X.js} +20 -6
- package/dist/{chunk-7UCL26QB.js → chunk-TJEB4PII.js} +3 -3
- package/dist/{chunk-KTYOYEVA.js → chunk-YU2ZNLGI.js} +1 -1
- package/dist/components/index.d.ts +295 -22
- package/dist/components/index.js +27 -22
- package/dist/context/index.js +3 -3
- package/dist/core.d.ts +23 -6
- package/dist/core.js +1 -1
- package/dist/{fx-Bx5RqplG.d.ts → fx-Bc3yEVED.d.ts} +2 -2
- package/dist/hooks/index.js +4 -4
- package/dist/index.d.ts +18 -5
- package/dist/index.js +4 -4
- package/dist/{kernel-client-NMZ56JVU.js → kernel-client-NM6S72DO.js} +74 -33
- package/dist/{kernel-wire-CRsHtLsf.d.ts → kernel-wire-Ds7xSZzx.d.ts} +6 -0
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.js +3 -3
- package/dist/providers/index.d.ts +5 -5
- package/dist/providers/index.js +15 -15
- package/dist/runtime/index.d.ts +6 -2
- package/dist/runtime/index.js +14 -14
- package/dist/ssr/index.cjs +27 -4
- package/dist/ssr/index.d.cts +6 -0
- package/dist/ssr/index.d.ts +6 -0
- package/dist/ssr/index.js +27 -4
- package/dist/test-support.js +2 -2
- package/dist/{verificationRegistry-BLuQU1JV.d.ts → verificationRegistry-Dz5N0oxx.d.ts} +199 -8
- package/package.json +9 -9
- package/src/core/locales/ar.json +8 -1
- package/src/core/locales/en.json +8 -1
- package/src/core/locales/sl.json +8 -1
- package/dist/AvlGlyph-KZMJDBEB.js +0 -5
- package/dist/AvlTransitionDetail-7DVGV27I.js +0 -10
- package/dist/AvlTransitionExplainer-RMJ5LQLK.js +0 -11
- package/dist/BehaviorView-EYRPME67.js +0 -10
- package/dist/FlowCanvas-J54627TC.js +0 -23
- package/dist/ModuleCard-TNRLL45H.js +0 -6
- package/dist/OrbInspector-UBEQWWZ2.js +0 -23
- package/dist/UISlotRenderer-5OURMAP2.js +0 -23
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ErrorInfo } from 'react';
|
|
3
|
-
import { AnimationName, Asset, EntityRow, FieldValue, EntityRole, SpriteDirection, AnimationDef, A11yProps, EventKey, EventEmit, EventPayload, AssetUrl, ScenePos, Camera, AudioPlay, EntityWith, DiagramMarkRoles, GpuBuffer, TraitConfigValue, SkeletonVariant, SkeletonSpec, SkeletonNode, SurfaceMode, UISlot, PatternNode, EventListen, JsonValue, AssetCatalog, SExpr, JsonObject, EventPayloadValue, DeclaredTraitConfig, TraitConfig, ControlValue,
|
|
3
|
+
import { AnimationName, Asset, EntityRow, FieldValue, EntityRole, SpriteDirection, AnimationDef, A11yProps, EventKey, EventEmit, EventPayload, AssetUrl, ScenePos, Camera, AudioPlay, EntityWith, DiagramMarkRoles, GpuBuffer, TraitConfigValue, VisibleText, SkeletonVariant, SkeletonSpec, SkeletonNode, SurfaceMode, EntityFieldName, UISlot, PatternNode, ThemeRef, OrbitalSchema, EventListen, JsonValue, AssetCatalog, SExpr, JsonObject, EventPayloadValue, DeclaredTraitConfig, TraitConfig, ControlValue, Trait, TraceActivity, RowFieldName, OrbitalEntity, FormSubmitPayload, TraitDescription, MountedOrbital, EnterAnimation, TraitValue, TransitionTrace, DependencyGraph, EditFocus, TraceSubagent, TraceChatMessage } from '@almadar/core';
|
|
4
4
|
export { AnimationDef, AnimationName, AudioManifest, BusEvent, BusEventListener, BusEventSource, BusEventListener as EventListener, SkeletonVariant, SoundEntry, SpriteDirection, UISlot, Unsubscribe } from '@almadar/core';
|
|
5
5
|
import { IconInput, UiError, FxOverlayItem, BadgeColor, DisplayField, DisplayFieldFormat, BadgeVariant, ColorToken } from '../core.js';
|
|
6
6
|
import '../EventBusProvider-BFFHfN4O.js';
|
|
7
|
-
import { D as DrawableNode, P as Projector, M as MeshShapeKind } from '../verificationRegistry-
|
|
8
|
-
export {
|
|
9
|
-
export { G as GameAudioContext, a as GameAudioContextValue, e as GameAudioControls, b as GameAudioProvider, c as GameAudioProviderProps, U as UseGameAudioOptions, f as useGameAudio, u as useGameAudioContext } from '../GameAudioProvider-
|
|
7
|
+
import { D as DrawableNode, P as Projector, M as MeshShapeKind, A as DrawableBase } from '../verificationRegistry-Dz5N0oxx.js';
|
|
8
|
+
export { B as DrawFxLayer, C as DrawGroup, E as DrawMesh, F as DrawShape, G as DrawShapeLayer, H as DrawSkinnedMesh, I as DrawSprite, J as DrawSpriteLayer, K as DrawText, L as DrawTextLayer } from '../verificationRegistry-Dz5N0oxx.js';
|
|
9
|
+
export { G as GameAudioContext, a as GameAudioContextValue, e as GameAudioControls, b as GameAudioProvider, c as GameAudioProviderProps, U as UseGameAudioOptions, f as useGameAudio, u as useGameAudioContext } from '../GameAudioProvider-B8FBcGVE.js';
|
|
10
10
|
import { AvlStateMachineProps, TraitLevelData } from '../avl/index.js';
|
|
11
|
-
export { B as BehaviorView, l as BehaviorViewProps, m as FileTree, F as FileTreeItem, n as FileTreeNode, o as FileTreeProps, M as ModuleCard, q as ModuleCardProps } from '../FileTree-
|
|
11
|
+
export { B as BehaviorView, l as BehaviorViewProps, m as FileTree, F as FileTreeItem, n as FileTreeNode, o as FileTreeProps, M as ModuleCard, q as ModuleCardProps } from '../FileTree-CSdbAdcJ.js';
|
|
12
12
|
import { LucideIcon } from 'lucide-react';
|
|
13
13
|
import { InputProps, ButtonProps, PatternVariant, SelectOption } from '../core.js';
|
|
14
14
|
import { j as ContentAnnotation, L as LessonSegment } from '../SegmentRenderer-BAQ6Jwf6.js';
|
|
@@ -1092,6 +1092,8 @@ interface Canvas2DProps extends A11yProps {
|
|
|
1092
1092
|
keyMap?: Record<string, EventKey>;
|
|
1093
1093
|
/** Maps a keyup `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route. */
|
|
1094
1094
|
keyUpMap?: Record<string, EventKey>;
|
|
1095
|
+
/** Maps a pointing gesture on the canvas (`WheelUp`, `WheelDown`, `SwipeUp`, `SwipeDown`, `SwipeLeft`, `SwipeRight`) to the board's SEMANTIC event, emitted as `UI:{event}`: one event per wheel gesture (a mouse notch, or a trackpad fling with its inertia) and one per touch swipe, named by the way the wheel turned or the finger moved. A `pan-zoom` camera keeps the wheel and the drag. */
|
|
1096
|
+
gestureMap?: Record<string, EventKey>;
|
|
1095
1097
|
/** Enter scene-edit mode: click selects/deselects a drawable, drag moves it. */
|
|
1096
1098
|
editable?: boolean;
|
|
1097
1099
|
/** The currently-selected drawable id (controlled); `null`/undefined = none. */
|
|
@@ -1145,7 +1147,7 @@ interface Canvas2DProps extends A11yProps {
|
|
|
1145
1147
|
* drawable registry context and the host paints them. */
|
|
1146
1148
|
children?: React$1.ReactNode;
|
|
1147
1149
|
}
|
|
1148
|
-
declare function Canvas2D({ className, isLoading, error, projection, drawables, backgroundImage: backgroundImageRaw, tileClickEvent, unitClickEvent, tileHoverEvent, tileLeaveEvent, keyMap, keyUpMap, editable, selectedId, onSelect, onMove, selectEvent, moveEvent, camera, scale, tileWidth, fit, showMinimap, followTarget, cameraPos, bgColor, children, description, ...rest }: Canvas2DProps): React$1.JSX.Element;
|
|
1150
|
+
declare function Canvas2D({ className, isLoading, error, projection, drawables, backgroundImage: backgroundImageRaw, tileClickEvent, unitClickEvent, tileHoverEvent, tileLeaveEvent, keyMap, keyUpMap, gestureMap, editable, selectedId, onSelect, onMove, selectEvent, moveEvent, camera, scale, tileWidth, fit, showMinimap, followTarget, cameraPos, bgColor, children, description, ...rest }: Canvas2DProps): React$1.JSX.Element;
|
|
1149
1151
|
declare namespace Canvas2D {
|
|
1150
1152
|
var displayName: string;
|
|
1151
1153
|
}
|
|
@@ -1232,7 +1234,11 @@ type CanvasPost = {
|
|
|
1232
1234
|
|
|
1233
1235
|
/** Painter selection. Same `drawables` for both; differ only in projection + rasterizer. */
|
|
1234
1236
|
type CanvasMode = '2d' | '3d';
|
|
1237
|
+
/** Painter selection for 2D: `orbital` draws with orbital-canvas (wasm in the browser). */
|
|
1238
|
+
type CanvasPainter = 'orbital';
|
|
1235
1239
|
interface CanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11yProps {
|
|
1240
|
+
/** Draw this canvas with orbital-canvas (wasm on the web) instead of the TypeScript painter; 2D mode only. Absent: the default 2D painter. */
|
|
1241
|
+
painter?: CanvasPainter;
|
|
1236
1242
|
/** Painter: 2D sprite/shape/text raster, or 3D mesh. Default '2d'. */
|
|
1237
1243
|
mode?: CanvasMode;
|
|
1238
1244
|
/** Neutral drawable descriptors — the `draw-*` children. Routed to the host's painter. */
|
|
@@ -1245,6 +1251,10 @@ interface CanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11
|
|
|
1245
1251
|
projection?: Projection;
|
|
1246
1252
|
className?: string;
|
|
1247
1253
|
isLoading?: boolean;
|
|
1254
|
+
/** 3D: take the height of the box that holds the canvas, with no minimum (a small scene in a header or a rail). Default false: the surface is at least 400px tall. Orbital 2D: `true` takes the container's whole box; `'width'` takes the container's width and `worldHeight` CSS px, so the page scrolls past a long scene (a 3D scene treats `'width'` as false). */
|
|
1255
|
+
fillContainer?: boolean | 'width';
|
|
1256
|
+
/** Orbital 2D with `fillContainer: true`: the least height in CSS px; a shorter container scrolls instead of squeezing the scene. */
|
|
1257
|
+
minHeight?: number;
|
|
1248
1258
|
/** Unit draw-size multiplier (both painters). */
|
|
1249
1259
|
unitScale?: number;
|
|
1250
1260
|
/** Minimap overlay (2D). */
|
|
@@ -1307,10 +1317,92 @@ interface CanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11
|
|
|
1307
1317
|
type?: string;
|
|
1308
1318
|
elevation?: number;
|
|
1309
1319
|
}>;
|
|
1320
|
+
/** A primary press began on a hit drawable (orbital painter). */
|
|
1321
|
+
pointerDownEvent?: EventEmit<{
|
|
1322
|
+
target: string;
|
|
1323
|
+
x: number;
|
|
1324
|
+
y: number;
|
|
1325
|
+
}>;
|
|
1326
|
+
/** The press ended; sent to the drawable that took the down, wherever the pointer is (orbital painter). */
|
|
1327
|
+
pointerUpEvent?: EventEmit<{
|
|
1328
|
+
target: string;
|
|
1329
|
+
x: number;
|
|
1330
|
+
y: number;
|
|
1331
|
+
}>;
|
|
1332
|
+
/** The pointer entered a hit drawable, topmost only (orbital painter). */
|
|
1333
|
+
pointerEnterEvent?: EventEmit<{
|
|
1334
|
+
target: string;
|
|
1335
|
+
x: number;
|
|
1336
|
+
y: number;
|
|
1337
|
+
}>;
|
|
1338
|
+
/** The pointer left a hit drawable or the canvas (orbital painter). */
|
|
1339
|
+
pointerLeaveEvent?: EventEmit<{
|
|
1340
|
+
target: string;
|
|
1341
|
+
x: number;
|
|
1342
|
+
y: number;
|
|
1343
|
+
}>;
|
|
1344
|
+
/** The pointer moved over a hit drawable, or anywhere while that drawable holds capture (orbital painter). */
|
|
1345
|
+
pointerMoveEvent?: EventEmit<{
|
|
1346
|
+
target: string;
|
|
1347
|
+
x: number;
|
|
1348
|
+
y: number;
|
|
1349
|
+
}>;
|
|
1350
|
+
/** Which moves `pointerMoveEvent` sends: `all` (hover and drag) or `captured` (only while a press holds capture). Orbital painter. */
|
|
1351
|
+
pointerMoves?: 'all' | 'captured';
|
|
1352
|
+
/** The wheel turned over a hit drawable that declares `wheel: true` (orbital painter): its id, the point, and the scroll in CSS pixels. That wheel is kept from the page; over anything else the page scrolls and nothing is sent. */
|
|
1353
|
+
wheelEvent?: EventEmit<{
|
|
1354
|
+
target: string;
|
|
1355
|
+
x: number;
|
|
1356
|
+
y: number;
|
|
1357
|
+
dx: number;
|
|
1358
|
+
dy: number;
|
|
1359
|
+
}>;
|
|
1360
|
+
/** The program's reading direction, rendered from the page locale (`(i18n/direction)`); the painter reports it through `directionEvent` (orbital painter). */
|
|
1361
|
+
direction?: 'ltr' | 'rtl';
|
|
1362
|
+
/** The declared `direction`, sent once and again whenever it changes, so the program's layout can follow the locale (orbital painter). */
|
|
1363
|
+
directionEvent?: EventEmit<{
|
|
1364
|
+
direction: 'ltr' | 'rtl';
|
|
1365
|
+
}>;
|
|
1366
|
+
/** Sizes of every `draw-text` with `measure: true`, sent after a paint in which any of them changed (orbital painter). */
|
|
1367
|
+
measureEvent?: EventEmit<{
|
|
1368
|
+
items: {
|
|
1369
|
+
id: string;
|
|
1370
|
+
width: number;
|
|
1371
|
+
height: number;
|
|
1372
|
+
lines: number;
|
|
1373
|
+
}[];
|
|
1374
|
+
}>;
|
|
1375
|
+
/** The canvas's size in CSS pixels, sent once it is known and again whenever it changes. */
|
|
1376
|
+
resizeEvent?: EventEmit<{
|
|
1377
|
+
width: number;
|
|
1378
|
+
height: number;
|
|
1379
|
+
}>;
|
|
1380
|
+
/** Text for the focused text field: `composing: false` is committed text to insert; `composing: true` is the input method's current preedit. */
|
|
1381
|
+
textInputEvent?: EventEmit<{
|
|
1382
|
+
target: string;
|
|
1383
|
+
text: string;
|
|
1384
|
+
composing: boolean;
|
|
1385
|
+
}>;
|
|
1386
|
+
/** An editing key for the focused text field (`key` is the DOM `KeyboardEvent.key` value). */
|
|
1387
|
+
keyEvent?: EventEmit<{
|
|
1388
|
+
target: string;
|
|
1389
|
+
key: string;
|
|
1390
|
+
shift: boolean;
|
|
1391
|
+
alt: boolean;
|
|
1392
|
+
ctrl: boolean;
|
|
1393
|
+
meta: boolean;
|
|
1394
|
+
}>;
|
|
1395
|
+
/** An assistive technology acted on a node of the semantic tree. */
|
|
1396
|
+
accessEvent?: EventEmit<{
|
|
1397
|
+
target: string;
|
|
1398
|
+
action: 'focus' | 'activate' | 'increment' | 'decrement';
|
|
1399
|
+
}>;
|
|
1310
1400
|
/** Maps a keydown `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route. */
|
|
1311
1401
|
keyMap?: Record<string, EventKey>;
|
|
1312
1402
|
/** Maps a keyup `e.code` — optionally prefixed `Mod+` (⌘/Ctrl), `Shift+`, `Alt+` in that order — to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route. */
|
|
1313
1403
|
keyUpMap?: Record<string, EventKey>;
|
|
1404
|
+
/** Maps a pointing gesture on the canvas (`WheelUp`, `WheelDown`, `SwipeUp`, `SwipeDown`, `SwipeLeft`, `SwipeRight`) to the board's SEMANTIC event, emitted as `UI:{event}`: one event per wheel gesture (a mouse notch, or a trackpad fling with its inertia) and one per touch swipe, named by the way the wheel turned or the finger moved. A camera whose own controls take the wheel or the drag keeps them. */
|
|
1405
|
+
gestureMap?: Record<string, EventKey>;
|
|
1314
1406
|
/** Enter scene-edit mode: click selects/deselects a drawable, drag moves it. */
|
|
1315
1407
|
editable?: boolean;
|
|
1316
1408
|
/** The currently-selected drawable id (controlled); `null`/undefined = none. */
|
|
@@ -1333,7 +1425,7 @@ interface CanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11
|
|
|
1333
1425
|
* Forwarded to the 2D host, which collects them via drawable registry context. */
|
|
1334
1426
|
children?: React$1.ReactNode;
|
|
1335
1427
|
}
|
|
1336
|
-
declare function Canvas({ mode, drawables, camera, projection, className, isLoading, unitScale, showMinimap, fit, tileWidth, backgroundImage, backgroundColor, worldWidth, worldHeight, pixelsPerUnit, showGrid, shadows, showCoordinates, showTileInfo, fogOfWar, lighting, post, tileClickEvent, unitClickEvent, tileHoverEvent, tileLeaveEvent, featureClickEvent, keyMap, keyUpMap, editable, selectedId, onSelect, onMove, selectEvent, moveEvent, children, description, ...rest }: CanvasProps): React$1.JSX.Element;
|
|
1428
|
+
declare function Canvas({ mode, painter, drawables, camera, projection, className, isLoading, fillContainer, minHeight, unitScale, showMinimap, fit, tileWidth, backgroundImage, backgroundColor, worldWidth, worldHeight, pixelsPerUnit, showGrid, shadows, showCoordinates, showTileInfo, fogOfWar, lighting, post, tileClickEvent, unitClickEvent, tileHoverEvent, tileLeaveEvent, featureClickEvent, pointerDownEvent, pointerUpEvent, pointerEnterEvent, pointerLeaveEvent, pointerMoveEvent, pointerMoves, wheelEvent, direction, directionEvent, measureEvent, resizeEvent, textInputEvent, keyEvent, accessEvent, keyMap, keyUpMap, gestureMap, editable, selectedId, onSelect, onMove, selectEvent, moveEvent, children, description, ...rest }: CanvasProps): React$1.JSX.Element;
|
|
1337
1429
|
declare namespace Canvas {
|
|
1338
1430
|
var displayName: string;
|
|
1339
1431
|
}
|
|
@@ -2352,10 +2444,10 @@ interface EmptyStateProps extends A11yProps {
|
|
|
2352
2444
|
*/
|
|
2353
2445
|
icon?: IconInput;
|
|
2354
2446
|
/** Primary text to display - use title or message (message is alias for backwards compat) */
|
|
2355
|
-
title?:
|
|
2447
|
+
title?: VisibleText;
|
|
2356
2448
|
/** Alias for title - used by schema patterns */
|
|
2357
2449
|
message?: string;
|
|
2358
|
-
description?:
|
|
2450
|
+
description?: VisibleText;
|
|
2359
2451
|
actionLabel?: string;
|
|
2360
2452
|
onAction?: () => void;
|
|
2361
2453
|
className?: string;
|
|
@@ -2529,9 +2621,9 @@ interface AlertProps extends A11yProps {
|
|
|
2529
2621
|
/** Alert content (children or message) */
|
|
2530
2622
|
children?: React__default.ReactNode;
|
|
2531
2623
|
/** Alert message (alias for children) */
|
|
2532
|
-
message?:
|
|
2624
|
+
message?: VisibleText;
|
|
2533
2625
|
variant?: AlertVariant;
|
|
2534
|
-
title?:
|
|
2626
|
+
title?: VisibleText;
|
|
2535
2627
|
dismissible?: boolean;
|
|
2536
2628
|
onDismiss?: () => void;
|
|
2537
2629
|
onClose?: () => void;
|
|
@@ -2639,7 +2731,7 @@ declare const Breadcrumb: React__default.FC<BreadcrumbProps>;
|
|
|
2639
2731
|
type FilterGroupLook = "toolbar" | "chips" | "pills" | "popover-trigger" | "inline-column-header";
|
|
2640
2732
|
/** Filter definition from schema */
|
|
2641
2733
|
interface FilterDefinition {
|
|
2642
|
-
field:
|
|
2734
|
+
field: EntityFieldName;
|
|
2643
2735
|
label: string;
|
|
2644
2736
|
/** Filter type - 'text' free-text input, 'date' renders a date picker, 'date-range'/'daterange' renders two date pickers, 'number-range'/'numberrange' renders two range sliders */
|
|
2645
2737
|
filterType?: "text" | "select" | "toggle" | "checkbox" | "date" | "daterange" | "date-range" | "numberrange" | "number-range";
|
|
@@ -2901,6 +2993,9 @@ declare namespace Card {
|
|
|
2901
2993
|
|
|
2902
2994
|
type ContainerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
2903
2995
|
type ContainerPadding = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2996
|
+
/**
|
|
2997
|
+
* @layoutOnly
|
|
2998
|
+
*/
|
|
2904
2999
|
interface ContainerProps extends A11yProps {
|
|
2905
3000
|
/** Maximum width */
|
|
2906
3001
|
size?: ContainerSize;
|
|
@@ -3058,7 +3153,13 @@ declare const FloatingActionButton: React__default.FC<FloatingActionButtonProps>
|
|
|
3058
3153
|
* UISlotProvider seeded with every paint the guest made: `TraitFrame` resolves against the guest, not the host.
|
|
3059
3154
|
* Every slot the guest paints renders inside the view (contained, never the host page's), and an in-app link
|
|
3060
3155
|
* inside it is the guest's navigation, emitted as `navigate`, never the host router's. Each guest paint is scoped to
|
|
3061
|
-
* the trait that drew it (its `orbital`, as a page scopes its own), so a click names its painter for the kernel
|
|
3156
|
+
* the trait that drew it (its `orbital`, as a page scopes its own), so a click names its painter for the kernel; a page with
|
|
3157
|
+
* several roots names them in `roots`, one per child.
|
|
3158
|
+
* The guest paints in the theme its program declares (`theme`), never the opener's, unless the opener passes its viewer's pick (`themeOverride`).
|
|
3159
|
+
* A guest opened split (`program/open { split: true }`) is handed to the view as its client `program`: the view runs its
|
|
3160
|
+
* `[client]` traits in a kernel of its own, as a served app's page does, and posts each server leg to the opener as its
|
|
3161
|
+
* declared `leg` event; the opener hands each answer back in `legAnswers`, and the view takes it with `legTaken`. A dispatch the
|
|
3162
|
+
* guest's host ran on its own in this viewer's session arrives in `hostDispatches`; the view hands it to its kernel and reports it with `dispatchesTaken`.
|
|
3062
3163
|
*/
|
|
3063
3164
|
|
|
3064
3165
|
interface GuestPaintEntry {
|
|
@@ -3073,11 +3174,41 @@ interface GuestPaintEntry {
|
|
|
3073
3174
|
/** The painted pattern tree */
|
|
3074
3175
|
content: PatternNode | string | null;
|
|
3075
3176
|
}
|
|
3177
|
+
/** One answered server leg of a split guest: the events request's answer as the guest's host wrote it, or why it failed. */
|
|
3178
|
+
interface GuestLegAnswer {
|
|
3179
|
+
/** The leg the view posted, as named in its `leg` event. */
|
|
3180
|
+
leg: string;
|
|
3181
|
+
/** The `EventResponse` the guest's host answered, as JSON text. */
|
|
3182
|
+
response?: string;
|
|
3183
|
+
/** Why the leg could not be answered. */
|
|
3184
|
+
error?: string;
|
|
3185
|
+
}
|
|
3186
|
+
/** One thing a split guest's host did on its own for this viewer's session, such as a completion that arrived later: a dispatch it ran or an emit it pushed on its live stream. */
|
|
3187
|
+
interface GuestHostDispatch {
|
|
3188
|
+
/** `dispatch` is a host-run dispatch (orbitalName, request, response); `push` is a pushed emit (emitted). */
|
|
3189
|
+
kind: 'dispatch' | 'push';
|
|
3190
|
+
/** The viewer session the dispatch ran in, or the request origin of the push (empty when none). */
|
|
3191
|
+
clientId: string;
|
|
3192
|
+
/** Who a push is for: the origin viewer or every peer of it. */
|
|
3193
|
+
target: 'origin' | 'peers';
|
|
3194
|
+
/** The orbital the request named (a dispatch). */
|
|
3195
|
+
orbitalName?: string | null;
|
|
3196
|
+
/** The `EventRequest` the host ran (a dispatch). */
|
|
3197
|
+
request?: EventPayload | null;
|
|
3198
|
+
/** The `EventResponse` the host answered (a dispatch). */
|
|
3199
|
+
response?: EventPayload | null;
|
|
3200
|
+
/** The `EmittedEvent` the host pushed (a push). */
|
|
3201
|
+
emitted?: EventPayload | null;
|
|
3202
|
+
/** The opener's running number for this dispatch: the view folds each seq once. */
|
|
3203
|
+
seq: number;
|
|
3204
|
+
}
|
|
3076
3205
|
interface GuestViewProps {
|
|
3077
3206
|
/** Guest session handle (`program/open` answers it, e.g. "guest-1"). Data for the kernel; never rendered. */
|
|
3078
3207
|
guest: string;
|
|
3079
3208
|
/** The guest's page-root trait whose paint is `children`: their controls are scoped to it. Never rendered. */
|
|
3080
3209
|
source: string;
|
|
3210
|
+
/** The guest's page-root traits that painted `children`, in the same order: child N is the paint of `roots[N]`, so its controls are scoped to that trait. Needed when the page has more than one root. Never rendered. */
|
|
3211
|
+
roots?: ReadonlyArray<string>;
|
|
3081
3212
|
/** The opener trait's declared event a click inside this view is delivered as. The kernel emits it, never the renderer. */
|
|
3082
3213
|
deliver: EventKey;
|
|
3083
3214
|
/** The opener trait's declared event an in-app link inside this view is emitted as, with { guest, route }. Without it a link inside the guest does nothing. */
|
|
@@ -3086,6 +3217,30 @@ interface GuestViewProps {
|
|
|
3086
3217
|
route?: string;
|
|
3087
3218
|
/** Every paint the guest made (`rendered` entries, the latest per trait and slot). An `@trait.X` inside the content resolves to the guest's trait X from these. */
|
|
3088
3219
|
paints?: ReadonlyArray<GuestPaintEntry>;
|
|
3220
|
+
/** The theme the guest program declares (its app `theme`: a registry key or an inline definition). The guest paints inside it, whatever theme the opener's page runs. */
|
|
3221
|
+
theme?: ThemeRef;
|
|
3222
|
+
/** A theme the opener's viewer picked (a registry key): it replaces the guest's own theme. */
|
|
3223
|
+
themeOverride?: string;
|
|
3224
|
+
/** The guest's client program, when it was opened split: the view runs its `[client]` traits itself and paints them. */
|
|
3225
|
+
program?: OrbitalSchema;
|
|
3226
|
+
/** The opener trait's declared event a split guest's server leg is emitted as, with { guest, leg, orbital, body }: `body` is the events request as JSON text. */
|
|
3227
|
+
leg?: EventKey;
|
|
3228
|
+
/** The opener trait's declared event emitted with { guest, leg } once the view has taken that leg's answer. */
|
|
3229
|
+
legTaken?: EventKey;
|
|
3230
|
+
/** The answered legs the opener holds for this view. */
|
|
3231
|
+
legAnswers?: ReadonlyArray<GuestLegAnswer>;
|
|
3232
|
+
/** The dispatches the split guest's host ran on its own in this viewer's session that the opener holds for this view. */
|
|
3233
|
+
hostDispatches?: ReadonlyArray<GuestHostDispatch>;
|
|
3234
|
+
/** The opener trait's declared event emitted with { guest, seq } once the view has handed the dispatches up to that seq to its kernel. */
|
|
3235
|
+
dispatchesTaken?: EventKey;
|
|
3236
|
+
/** The opener trait's declared event a split guest's view reports the transitions its kernel took as, with { guest, moves: [{ trait, event, from, to, fired }] }, one per settled batch. */
|
|
3237
|
+
moved?: EventKey;
|
|
3238
|
+
/** The opener trait's declared event a split guest's view emits with { guest, returnTo } when its page sends the viewer to the host's sign-in (an `access: authenticated` page and no signed-in viewer). */
|
|
3239
|
+
signIn?: EventKey;
|
|
3240
|
+
/** Whether the split guest's viewer session is signed in: its `access: authenticated` pages mount only when it is. */
|
|
3241
|
+
signedIn?: boolean;
|
|
3242
|
+
/** How many times the opener told a split guest's view to mount its page afresh (its viewer was signed in as another persona): a new value starts the view again. */
|
|
3243
|
+
epoch?: number;
|
|
3089
3244
|
/** The guest's painted content */
|
|
3090
3245
|
children?: React__default.ReactNode;
|
|
3091
3246
|
}
|
|
@@ -3723,6 +3878,9 @@ declare const SidePanel: React__default.FC<SidePanelProps>;
|
|
|
3723
3878
|
*/
|
|
3724
3879
|
|
|
3725
3880
|
type SimpleGridGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3881
|
+
/**
|
|
3882
|
+
* @layoutOnly
|
|
3883
|
+
*/
|
|
3726
3884
|
interface SimpleGridProps extends A11yProps {
|
|
3727
3885
|
/** Minimum width of each child (e.g., 200, "200px", "15rem") */
|
|
3728
3886
|
minChildWidth?: number | string;
|
|
@@ -4092,8 +4250,8 @@ declare const WizardNavigation: React__default.FC<WizardNavigationProps>;
|
|
|
4092
4250
|
* MarkdownContent Molecule Component
|
|
4093
4251
|
*
|
|
4094
4252
|
* Renders markdown content with support for GFM (GitHub Flavored Markdown)
|
|
4095
|
-
* and math equations (KaTeX).
|
|
4096
|
-
*
|
|
4253
|
+
* and math equations (KaTeX). A fenced or indented code block renders with
|
|
4254
|
+
* CodeBlock, with or without a language; inline code stays inline.
|
|
4097
4255
|
*
|
|
4098
4256
|
* Event Contract:
|
|
4099
4257
|
* - No events emitted (display-only component)
|
|
@@ -6536,6 +6694,56 @@ interface MapViewProps extends A11yProps {
|
|
|
6536
6694
|
*/
|
|
6537
6695
|
declare function MapView(props: MapViewProps): React__default.JSX.Element;
|
|
6538
6696
|
|
|
6697
|
+
type AnnotatedMediaType = 'image' | 'video';
|
|
6698
|
+
interface AnnotatedPin {
|
|
6699
|
+
/** Row id the pin stands for */
|
|
6700
|
+
id: string;
|
|
6701
|
+
/** Horizontal position as a percentage of the media width (0-100) */
|
|
6702
|
+
x?: number;
|
|
6703
|
+
/** Vertical position as a percentage of the media height (0-100) */
|
|
6704
|
+
y?: number;
|
|
6705
|
+
/** Playback second the pin belongs to (video) */
|
|
6706
|
+
time?: number;
|
|
6707
|
+
/** Short text shown on hover */
|
|
6708
|
+
label?: string;
|
|
6709
|
+
/** A resolved pin is drawn muted */
|
|
6710
|
+
resolved?: boolean;
|
|
6711
|
+
}
|
|
6712
|
+
type AnnotatedPlacePayload = {
|
|
6713
|
+
x: number;
|
|
6714
|
+
y: number;
|
|
6715
|
+
time: number;
|
|
6716
|
+
};
|
|
6717
|
+
type AnnotatedPinPayload = {
|
|
6718
|
+
id: string;
|
|
6719
|
+
};
|
|
6720
|
+
/**
|
|
6721
|
+
* An image or video reviewers comment on in place: numbered pins sit where each comment was left, and a click on the media asks for a new one at that spot (and, for video, at that second).
|
|
6722
|
+
* @capabilities review an image, comment on a design, pin feedback, markup, annotate a video at a timestamp, proofing
|
|
6723
|
+
* @accessibleName title
|
|
6724
|
+
*/
|
|
6725
|
+
interface AnnotatedMediaProps extends A11yProps {
|
|
6726
|
+
/** Image or video URL */
|
|
6727
|
+
src: AssetUrl;
|
|
6728
|
+
/** What `src` is */
|
|
6729
|
+
mediaType?: AnnotatedMediaType;
|
|
6730
|
+
/** Accessible name of the media */
|
|
6731
|
+
title?: string;
|
|
6732
|
+
/** Comments to draw as numbered pins, in order */
|
|
6733
|
+
pins?: AnnotatedPin[];
|
|
6734
|
+
/** The pin to highlight */
|
|
6735
|
+
activePinId?: string;
|
|
6736
|
+
/** Whether a click on the media places a new pin */
|
|
6737
|
+
placing?: boolean;
|
|
6738
|
+
/** Event fired when the media is clicked to place a pin; the payload carries x and y as percentages and the playback second (0 for an image) */
|
|
6739
|
+
placeEvent?: EventEmit<AnnotatedPlacePayload>;
|
|
6740
|
+
/** Event fired when a pin is clicked; the payload names the pin's id */
|
|
6741
|
+
pinSelectEvent?: EventEmit<AnnotatedPinPayload>;
|
|
6742
|
+
/** Additional class names */
|
|
6743
|
+
className?: string;
|
|
6744
|
+
}
|
|
6745
|
+
declare const AnnotatedMedia: React__default.FC<AnnotatedMediaProps>;
|
|
6746
|
+
|
|
6539
6747
|
type NumberStepperSize = "sm" | "md" | "lg";
|
|
6540
6748
|
/** @accessibleName label */
|
|
6541
6749
|
interface NumberStepperProps extends A11yProps {
|
|
@@ -6815,7 +7023,7 @@ interface DataGridProps extends DataDndProps, EmptyStateSlotProps, A11yProps {
|
|
|
6815
7023
|
/** Error state */
|
|
6816
7024
|
error?: UiError | null;
|
|
6817
7025
|
/** Entity field name containing an image URL for card thumbnails */
|
|
6818
|
-
imageField?:
|
|
7026
|
+
imageField?: EntityFieldName;
|
|
6819
7027
|
/** Enable multi-select with checkboxes */
|
|
6820
7028
|
selectable?: boolean;
|
|
6821
7029
|
/** Selection change event name (emits UI:{selectionEvent} with { selectedIds: string[] }) */
|
|
@@ -6912,6 +7120,10 @@ interface DataListProps extends DataDndProps, EmptyStateSlotProps, A11yProps {
|
|
|
6912
7120
|
* { id, row } (action-button clicks stopPropagation so they still win). */
|
|
6913
7121
|
/** @entityRow row */
|
|
6914
7122
|
itemClickEvent?: EventEmit<ItemActionPayload>;
|
|
7123
|
+
/** Id of the row shown as the current one (the record open beside the list); no row is marked when absent or unmatched. */
|
|
7124
|
+
selectedId?: string;
|
|
7125
|
+
/** When true and `selectedId` names a rendered row, that row scrolls into view (nearest block) once per `selectedId`; default false leaves scrolling alone. */
|
|
7126
|
+
scrollToSelected?: boolean;
|
|
6915
7127
|
/** Gap between rows */
|
|
6916
7128
|
gap?: 'none' | 'sm' | 'md' | 'lg';
|
|
6917
7129
|
/** Visual variant */
|
|
@@ -7005,16 +7217,16 @@ interface DataListProps extends DataDndProps, EmptyStateSlotProps, A11yProps {
|
|
|
7005
7217
|
* field whose type is relation. Same contract DetailPanel takes. */
|
|
7006
7218
|
relationsData?: Record<string, readonly RelationOption[]>;
|
|
7007
7219
|
}
|
|
7008
|
-
declare function DataList({ entity, fields, columns, itemActions, itemEnter, maxInlineActions, itemClickEvent, gap, variant, groupBy, groupFormat, senderField, senderLabelField, currentUser, emptyMessage, emptyIcon, emptyTitle, emptyDescription, emptyAction, className, isLoading, skeleton, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, sortBy, sortDirection, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, surface, relationsData, ...rest }: DataListProps): React__default.JSX.Element;
|
|
7220
|
+
declare function DataList({ entity, fields, columns, itemActions, itemEnter, maxInlineActions, itemClickEvent, selectedId, scrollToSelected, gap, variant, groupBy, groupFormat, senderField, senderLabelField, currentUser, emptyMessage, emptyIcon, emptyTitle, emptyDescription, emptyAction, className, isLoading, skeleton, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, sortBy, sortDirection, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, surface, relationsData, ...rest }: DataListProps): React__default.JSX.Element;
|
|
7009
7221
|
declare namespace DataList {
|
|
7010
7222
|
var displayName: string;
|
|
7011
7223
|
}
|
|
7012
7224
|
|
|
7013
7225
|
interface TableViewColumn {
|
|
7014
7226
|
/** Stable column key (React key + default value lookup). */
|
|
7015
|
-
key:
|
|
7227
|
+
key: EntityFieldName;
|
|
7016
7228
|
/** Entity field to read (dot-notation ok). Defaults to `key`. */
|
|
7017
|
-
field?:
|
|
7229
|
+
field?: EntityFieldName;
|
|
7018
7230
|
/** Header cell text. Falls back to `label`, then the `key` as written. */
|
|
7019
7231
|
header?: string;
|
|
7020
7232
|
/** Accessibility / fallback label. */
|
|
@@ -7043,6 +7255,8 @@ interface TableViewColumn {
|
|
|
7043
7255
|
icon?: IconInput;
|
|
7044
7256
|
/** Allow click-to-sort on this column's header (emits `sortEvent`). */
|
|
7045
7257
|
sortable?: boolean;
|
|
7258
|
+
/** Show the whole value on as many lines as it needs instead of one truncated line (long text: a reason, a message). */
|
|
7259
|
+
wrap?: boolean;
|
|
7046
7260
|
}
|
|
7047
7261
|
interface TableViewItemAction {
|
|
7048
7262
|
/** Button label. */
|
|
@@ -8929,6 +9143,9 @@ declare const Sidebar: React__default.FC<SidebarProps>;
|
|
|
8929
9143
|
|
|
8930
9144
|
type SplitRatio = '1:1' | '1:2' | '2:1' | '1:3' | '3:1' | '1:4' | '4:1' | '2:3' | '3:2';
|
|
8931
9145
|
type SplitGap = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
9146
|
+
/**
|
|
9147
|
+
* @layoutOnly
|
|
9148
|
+
*/
|
|
8932
9149
|
interface SplitProps extends A11yProps {
|
|
8933
9150
|
/** Size ratio between left and right panels */
|
|
8934
9151
|
ratio?: SplitRatio;
|
|
@@ -10218,6 +10435,11 @@ interface DetailPanelStatus {
|
|
|
10218
10435
|
label: string;
|
|
10219
10436
|
variant?: "default" | "success" | "warning" | "danger" | "info";
|
|
10220
10437
|
}
|
|
10438
|
+
/** A line-items column; `key`/`field` name fields of the `lineItems` rows, not of the record. */
|
|
10439
|
+
interface LineItemColumn extends Omit<TableViewColumn, 'key' | 'field'> {
|
|
10440
|
+
key: RowFieldName<'lineItems'>;
|
|
10441
|
+
field?: RowFieldName<'lineItems'>;
|
|
10442
|
+
}
|
|
10221
10443
|
/**
|
|
10222
10444
|
* Props for DetailPanel — the generic read-only record detail view.
|
|
10223
10445
|
*
|
|
@@ -10306,7 +10528,7 @@ interface DetailPanelProps extends DisplayStateProps, A11yProps {
|
|
|
10306
10528
|
/** Child rows shown as the document's line items (ledger). */
|
|
10307
10529
|
lineItems?: readonly EntityRow[];
|
|
10308
10530
|
/** Columns of the line-items table (ledger). */
|
|
10309
|
-
lineItemColumns?: readonly
|
|
10531
|
+
lineItemColumns?: readonly LineItemColumn[];
|
|
10310
10532
|
/** Line items composed in instead of `lineItems` — e.g. the child rows' own trait (ledger). */
|
|
10311
10533
|
lineItemsContent?: React__default.ReactNode;
|
|
10312
10534
|
/** Record fields shown as the document's totals, in order (ledger). */
|
|
@@ -10650,6 +10872,11 @@ interface SplitPaneProps extends Omit<React__default.AriaAttributes, keyof A11yP
|
|
|
10650
10872
|
* @notification
|
|
10651
10873
|
* (self-tracked) behavior. */
|
|
10652
10874
|
onRatioChange?: (ratio: number) => void;
|
|
10875
|
+
/**
|
|
10876
|
+
* A collapsed side: `left` hides the left pane, `right` shrinks the right pane to its content and gives the left
|
|
10877
|
+
* the rest. The panes stay the same elements in the same order either way, so what they hold is never remounted.
|
|
10878
|
+
*/
|
|
10879
|
+
collapsed?: "left" | "right";
|
|
10653
10880
|
}
|
|
10654
10881
|
/**
|
|
10655
10882
|
* SplitPane - Two-pane resizable layout
|
|
@@ -11673,5 +11900,51 @@ interface GenericAppTemplateProps extends TemplateProps, Omit<React__default.Ari
|
|
|
11673
11900
|
}
|
|
11674
11901
|
declare const GenericAppTemplate: React__default.FC<GenericAppTemplateProps>;
|
|
11675
11902
|
|
|
11676
|
-
|
|
11677
|
-
|
|
11903
|
+
/**
|
|
11904
|
+
* `draw-emitter` — the particle emitter drawable atom.
|
|
11905
|
+
*
|
|
11906
|
+
* Each particle instantiates `template` (draw-shape / draw-text / draw-group nodes, positions local to the
|
|
11907
|
+
* particle) at `position`, moved by its seeded velocity and `gravity`, with the `over` tracks sampled
|
|
11908
|
+
* linearly by age 0..1. A frame is a function of the paint clock, `seed` and the particle index. The orbital
|
|
11909
|
+
* canvas paints it; the React component renders `null` and exists so the pattern pipeline registers a
|
|
11910
|
+
* `draw-emitter` pattern.
|
|
11911
|
+
*/
|
|
11912
|
+
|
|
11913
|
+
interface DrawEmitterOver {
|
|
11914
|
+
/** Opacity by age; one value holds, several interpolate evenly across 0..1. */
|
|
11915
|
+
opacity?: number[];
|
|
11916
|
+
/** Scale by age. */
|
|
11917
|
+
scale?: number[];
|
|
11918
|
+
/** Rotation in radians by age. */
|
|
11919
|
+
rotate?: number[];
|
|
11920
|
+
}
|
|
11921
|
+
interface DrawEmitterProps extends DrawableBase {
|
|
11922
|
+
type: 'draw-emitter';
|
|
11923
|
+
/** Where particles are born. */
|
|
11924
|
+
position: ScenePos;
|
|
11925
|
+
/** The drawables each particle paints, positions local to the particle. */
|
|
11926
|
+
template: DrawableNode[];
|
|
11927
|
+
/** Particles born per second. */
|
|
11928
|
+
rate: number;
|
|
11929
|
+
/** Particles born together at the emitter's start. */
|
|
11930
|
+
burst?: number;
|
|
11931
|
+
/** Seconds a particle lives. */
|
|
11932
|
+
lifetime: number;
|
|
11933
|
+
/** Launch angle range in radians (default a full turn). */
|
|
11934
|
+
spread?: [number, number];
|
|
11935
|
+
/** Launch speed range in px per second. */
|
|
11936
|
+
speed: [number, number];
|
|
11937
|
+
/** Downward acceleration in px per second squared. */
|
|
11938
|
+
gravity?: number;
|
|
11939
|
+
/** Randomness seed; with the particle index it fixes every particle. */
|
|
11940
|
+
seed: number;
|
|
11941
|
+
/** Paint-clock milliseconds the emitter starts at; the burst fires there (default 0). */
|
|
11942
|
+
startMs?: number;
|
|
11943
|
+
/** Tracks sampled by particle age. */
|
|
11944
|
+
over: DrawEmitterOver;
|
|
11945
|
+
}
|
|
11946
|
+
/** Registry/standalone stub: the orbital canvas paints this atom; the DOM renders nothing. */
|
|
11947
|
+
declare function DrawEmitter(_props: DrawEmitterProps): React__default.JSX.Element | null;
|
|
11948
|
+
|
|
11949
|
+
export { ALL_PRESETS, Accordion, Card as ActionCard, ActionPalette, ActionTile, ActivationBlock, ActivityRail, AgentActivityFeed, AgentActivityRow, AgentChatFeed, AgentThinkingRow, Alert, AlgoGraphCanvas, AlgorithmCanvas, AnimatedCounter, AnnotatedMedia, AssetPicker, AuthLayout, BiologyCanvas, BranchingLogicBuilder, Breadcrumb, ButtonGroup, COMPACT_MEDIA_QUERY, CalendarGrid, Canvas, Canvas2D, Carousel, ChangeList, Chart, ChartLegend, ChatBar, ChemistryCanvas, ChoiceButton, Coachmark, CodeBlock, CollapsibleSection, CommandPalette, CommitRow, ConfirmDialog, ConnectionBlock, Container, ContentRenderer, ControlButton, ControlGrid, CounterTemplate, DEFAULT_LIKERT_OPTION_KEYS, DEFAULT_MATRIX_COLUMN_KEYS, DIAMOND_TOP_Y, DashboardGrid, DashboardLayout, DataGrid, DataList, DateRangePicker, DateRangeSelector, DetailPanel, DialogueBubble, DocBreadcrumb, DocPagination, DocSearch, DocSidebar, DocTOC, DockLayout, DocumentDetails, DocumentPanel, DocumentViewer, StateMachineView as DomStateMachineVisualizer, DrawEmitter, Drawer, DrawerSlot, ELEMENT_SELECTED_EVENT, EdgeDecoration, EditorCheckbox, EditorSelect, EditorSlider, EditorTextInput, EditorToolbar, EmojiPicker, EmptyState, EntityDisplayEvents, ErrorBoundary, ErrorState, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FeatureCard, FeatureGrid, FilterGroup, Flex, FlipCard, FloatingActionButton, FloatingToolbar, Form, FormActions, FormField, FormLayout, FormSection$1 as FormSection, FormSectionHeader, FxOverlay, GameAudioCue, GameAudioToggle, GameHud, GameMenu, GameShell, Gantt, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, GuestView, Header, HealthBar, IconButton, IconPicker, ImportPreviewTree, ImportProgress, ImportSourcePicker, InputGroup, JazariStateMachine, JsonTreeEditor, LearningCanvas, LessonSegment, Lightbox, LikertScale, LineChart, LoadingState, MachinePanel, MapView, MarkdownContent, MasterDetailLayout, MathCanvas, MatrixQuestion, MediaGallery, Menu, Meter, Modal, ModalSlot, Navigation, NodeSlotEditor, NumberStepper, OnboardingSpotlight, OptionConstraintGroup, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, PageHeader, PageTransition, Pagination, PhysicsCanvas, Popover, PositionedCanvas, ProgressDots, PropertyInspector, PullToRefresh, QrScanner, QuizBlock, ReflectionBlock, RelationSelect, RepeatableFormSection, ReplyTree, RichTextEditor, RuntimeDebugger, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, ScoreDisplay, SearchInput, Section, SequenceBar, SidePanel, Sidebar, SignaturePad, SimpleGrid, Skeleton, SkeletonTree, SlotContent, SlotContentRenderer, SocialProof, SortableList, Split, SplitPane, StarRating, StatBadge, StatCard, StatDisplay, StateGraph, StateJsonView, StateMachineView, StatusBar, SubagentTracePanel, SwipeableRow, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, TableView, Tabs, TagInput, TerrainPalette, Timeline, TimerDisplay, Toast, ToastSlot, Tooltip, TopNavItem, TraitFrame, TraitSlot, TraitStateViewer, UISlotComponent, UISlotRenderer, UploadDropZone, VersionDiff, ViolationAlert, VoteStack, WizardContainer, WizardNavigation, WizardProgress, activityRowFacts, applyCompletion, applySuggestions, boardEntity, bool, calculateAttackTargets, calculateValidMoves, createInitialGameState, createUnitAnimationState, dispatchCommandPaletteCommand, getCurrentFrame, groupIntoConversations, inferDirection, isoToScreen, makeAsset, makeAssetMap, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, parseMarkdownWithCodeBlocks, pendulum, preloadCodeHighlighter, projectileMotion, registerCodeLanguageLoader, renderPatternValue, resolveFrame, resolveSheetDirection, rows, sanitizeRichHtml, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useCamera, useCompactLayout, useDockLayout, useImageCache, useUnitSpriteAtlas, vec2 };
|
|
11950
|
+
export type { AccordionItem, AccordionProps, CardProps as ActionCardProps, ActionPaletteProps, ActionTileProps, ActivationBlockProps, ActivityRailItem, ActivityRailProps, AgentActivityFeedProps, AgentActivityJumpTarget, AgentActivityRowProps, AgentChatFeedProps, AgentConversation, AlertProps, AlertVariant, AlgoGraphCanvasProps, AlgoGraphEdge, AlgoGraphEdgeState, AlgoGraphLayout, AlgoGraphNode, AlgoGraphNodeBadge, AlgoGraphNodeState, AlgorithmBar, AlgorithmCanvasProps, AlgorithmCell, AlgorithmPointer, AnimatedCounterProps, AnnotatedMediaProps, AnnotatedMediaType, AnnotatedPin, AnnotatedPinPayload, AnnotatedPlacePayload, AssetPickerProps, AuthLayoutProps, BiologyCanvasProps, BiologyEdge, BiologyNode, BoardTile, BranchingLogicBuilderProps, BranchingQuestion, BranchingRule, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, CalendarGridProps, CameraMode, CameraState, Canvas2DProps, CanvasItemShape, CanvasItemStatus, CanvasMode, CanvasProps, CardAction, CarouselProps, ChangeListItem, ChangeListProps, ChangeType, ChartDataPoint, ChartLegendItem, ChartLegendProps, ChartProps, ChartSeries, ChartType, ChatBarProps, ChatBarStatus, ChatFocusRequest, ChemistryArrow, ChemistryAtom, ChemistryBond, ChemistryCanvasProps, ChoiceButtonProps, CoachmarkAnchor, CoachmarkPlacement, CoachmarkProps, CodeAssistProvider, CodeAssistRequest, CodeAssistResult, CodeBlockProps, CodeCompletion, CodeCompletionProvider, CodeCompletionResult, CodeDiagnostic, CodeLanguage, CodeLanguageLoader, CodeSuggestion, CodeViewerAction, CodeViewerFile, CodeViewerMode, CollapsibleSectionProps, CommandPaletteCommand, CommandPaletteProps, CommitKind, CommitRowProps, ConfirmDialogProps, ConfirmDialogVariant, ConnectionBlockProps, ContainerProps, ContentRendererProps, ControlButtonProps, ControlGridButton, ControlGridKind, ControlGridProps, CounterSize, CounterTemplateProps, CounterVariant, DPadDirection, DashboardGridCell, DashboardGridProps, DashboardLayoutProps, DataGridField, DataGridItemAction, DataGridProps, DataListField, DataListItemAction, DataListProps, DateRangePickerPreset, DateRangePickerProps, DateRangeSelectorOption, DateRangeSelectorProps, DescribeTrait, DetailField, DetailPanelProps, DetailSection, DialogueBubbleProps, DiffHunk, DiffLine$1 as DiffLine, DiffLineType, DiffRevision, DispatchCommandPaletteCommandDeps, DisplayStateProps, DocBreadcrumbItem, DocBreadcrumbProps, DocPaginationLink, DocPaginationProps, DocSearchProps, DocSearchResult, DocSidebarItem, DocSidebarProps, DocTOCItem, DocTOCProps, DockLayoutContextValue, DockLayoutProps, DocumentDetailsField, DocumentDetailsProps, DocumentPanelAction, DocumentPanelProps, DocumentType, DocumentViewerProps, DotSize, DotState, DrawerPosition, DrawerProps, DrawerSize, DrawerSlotProps, EdgeDecorationProps, EdgeSide, EdgeVariant, EditorCheckboxProps, EditorMode, EditorSelectProps, EditorSliderProps, EditorTextInputProps, EditorToolbarProps, EmojiPickerPosition, EmojiPickerProps, EmptyStateProps, ErrorBoundaryProps, ErrorStateProps, FacingDirection, FeatureCardProps, FeatureGridProps, FilterDefinition, FilterGroupProps, FilterPayload, FlexProps, FlipCardProps, FloatingAction, FloatingActionButtonProps, FloatingToolbarItem, FloatingToolbarPosition, FloatingToolbarProps, FormActionsProps, FormFieldProps, FormLayoutProps, FormProps, FormSectionHeaderProps, FormSectionProps, FxOverlayProps, GameAction, GameAudioCueProps, GameAudioToggleProps, GameHudElement, GameHudProps, GameHudStat, GameMenuProps, GamePhase, GameShellProps, GameState, GameUnit, GanttLink, GanttProps, GenericAppTemplateProps, GeometricPatternProps, GradientDividerProps, GraphCanvasProps, GraphEdge, GraphNode, GraphSimilarity, GraphViewEdge, GraphViewNode, GraphViewProps, GridPickerCellSize, GridPickerProps, GridProps, GuestViewProps, HeaderProps, HealthBarProps, IconButtonProps, IconPickerProps, ImportEntityDisplay, ImportPreviewTreeProps, ImportPreviewUnit, ImportProgressCounts, ImportProgressProps, ImportProgressStep, ImportSkippedElement, ImportSourceOption, ImportSourcePickerProps, InputGroupProps, IsometricFeature, IsometricTile, IsometricUnit, JazariStateMachineProps, JsonTreeEditorProps, LearningCanvasProps, LearningPhysicsBody, LearningPhysicsConstraint, LearningPoint, LearningShape, LearningShapeType, LightboxImage, LightboxProps, LikertOption, LikertScaleProps, LineChartProps, LoadingStateProps, MachinePanelProps, MapMarkerData, MapRouteData, MapRouteWaypoint, MapViewProps, MarkdownContentProps, MasterDetailLayoutProps, MathCanvasProps, MathCurve, MathPoint, MathVector, MatrixColumn, MatrixQuestionProps, MatrixRow, MediaGalleryProps, MediaItem, MenuItem, MenuOption, MenuProps, MeterAction, MeterProps, MeterThreshold, MeterVariant, MixedSegment, ModalProps, ModalSize, ModalSlotProps, NavItem, NavigationItem, NavigationProps, NodeSlotEditorProps, NumberStepperProps, NumberStepperSize, OnboardingSpotlightProps, OptionConstraint, OptionConstraintGroupProps, OptionConstraintOption, OrbitalVisualizationProps, PageBreadcrumb, PageHeaderProps, PageTransitionProps, PaginatePayload, PaginationProps, PhysicsCanvasProps, PickerItem, Platform, PopoverProps, Position, PositionedCanvasProps, PrismLanguageGrammar, ProgressDotsProps, Projection, PropertyInspectorProps, PullToRefreshProps, QrScanResult, QrScannerProps, QuizBlockProps, ReflectionBlockProps, RelationOption, RelationSelectProps, RepeatableFormSectionProps, RepeatableItem, ReplyTreeProps, ResolvedFrame, RichTextEditorProps, RowFacts, RuleDefinition, RuleOption, RuntimeDebuggerProps, ScaledDiagramProps, ScoreDisplayProps, SearchInputProps, SearchPayload, SectionProps, SelectPayload, SequenceBarProps, SidePanelProps, SidePlayer, SidebarItem, SidebarProps, SignaturePadProps, SimpleGridProps, SkeletonProps, SlotItemData, SocialProofItem, SocialProofProps, SortPayload, SortableListProps, SplitPaneProps, SplitProps, SpotlightStep, SpriteFrameDims, SpriteSheetUrls, StarRatingPrecision, StarRatingProps, StarRatingSize, StatBadgeProps, StatCardProps, StatDisplayProps, StateGraphProps, StateGraphTransition, StateJsonViewProps, StateMachineViewProps, StatusBarProps, SubagentTracePanelProps, SwipeAction, SwipeableRowProps, TabDefinition, TabItem, TabbedContainerProps, TableViewColumn, TableViewProps, TabsProps, TagInputProps, TeamUnitTraits, TemplateProps, TerrainPaletteProps, TileCoord, TileLayout, TimelineItem, TimelineItemStatus, TimelineProps, TimerDisplayProps, ToastProps, ToastSlotProps, ToastVariant, TooltipProps, TopNavItemData, TopNavItemProps, TraceDisclosureLevel, TraitFrameProps, TraitSlotProps, TraitStateMachineDefinition, TraitStateViewerProps, TraitTransition, UISlotComponentProps, UISlotRendererProps, UnitAnimationState, UnitTrait, UploadDropZoneProps, Vec2, DiffLine as VersionDiffLine, VersionDiffProps, ViolationAlertProps, ViolationRecord, VoteStackProps, WizardContainerProps, WizardNavigationProps, WizardProgressProps, WizardProgressStep, WizardStep };
|