@almadar/shell-web 1.1.0 → 1.2.1
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/LICENSE +72 -0
- package/dist/AvlGlyph-KZMJDBEB.js +5 -0
- package/dist/AvlStateMachine-KVZMFHFU.js +8 -0
- package/dist/AvlTransitionDetail-7DVGV27I.js +10 -0
- package/dist/AvlTransitionExplainer-RMJ5LQLK.js +11 -0
- package/dist/BehaviorView-EYRPME67.js +10 -0
- package/dist/FlowCanvas-J54627TC.js +23 -0
- package/dist/{FlowCanvas-VWUPMBKB.css → FlowCanvas-R4LL3KRI.css} +1 -1
- package/dist/{GameAudioProvider-D7wo5ryN.d.ts → GameAudioProvider-BgWOOYT3.d.ts} +15 -20
- package/dist/{KernelEngineContext-CPeWQMAz.d.ts → KernelEngineContext-BPx-q0iw.d.ts} +1 -1
- package/dist/{LayersPanel-M2LHWUFF.js → LayersPanel-PSXI4EHG.js} +4 -4
- package/dist/ModuleCard-TNRLL45H.js +6 -0
- package/dist/{OrbInspector-VMTMZHNQ.css → OrbInspector-2EGVZLOJ.css} +1 -1
- package/dist/OrbInspector-UBEQWWZ2.js +23 -0
- package/dist/{parseLessonSegments-GpCeMrb2.d.ts → SegmentRenderer-BAQ6Jwf6.d.ts} +4 -20
- package/dist/{Select-C2Uq6t86.d.ts → Select-BJ8Fgc8A.d.ts} +1 -1
- package/dist/{UISlotContext-Dl_ewwCI.d.ts → UISlotContext-7r0SQdTL.d.ts} +1 -1
- package/dist/UISlotRenderer-5OURMAP2.js +23 -0
- package/dist/{UISlotRenderer-BIS6KT7T.css → UISlotRenderer-SJBSQGBQ.css} +1 -1
- package/dist/auth/react/index.js +7 -6
- package/dist/avl/index.css +1 -1
- package/dist/avl/index.js +31 -31
- package/dist/{chunk-AE7VCQB6.js → chunk-2LNXLMK3.js} +2 -2
- package/dist/{chunk-REXYVBUO.js → chunk-3DA36FOA.js} +1 -1
- package/dist/{chunk-FAKU5F62.js → chunk-3UQNFRYV.js} +2 -5
- package/dist/{chunk-AGXD77SL.js → chunk-3YUMGEEW.js} +1 -1
- package/dist/{chunk-OWNG4JZI.js → chunk-6RXP5ZXE.js} +7 -7
- package/dist/{chunk-VUIACGDU.js → chunk-7UCL26QB.js} +4 -4
- package/dist/{chunk-57DC34LY.js → chunk-AL2XXMYR.js} +2 -2
- package/dist/{chunk-YHMRX6YA.js → chunk-ANTJUQRD.js} +53 -13
- package/dist/{chunk-P4ZFUQFF.js → chunk-AZ74UPG6.js} +4 -1
- package/dist/{chunk-YYIHRIDH.js → chunk-B23EZH2P.js} +3 -3
- package/dist/{chunk-AGVSO4WY.js → chunk-CCO2ZH7F.js} +3 -3
- package/dist/{chunk-4YXBKHHM.js → chunk-D5FJU4XC.js} +87 -16
- package/dist/{chunk-7N6ZPHQ5.js → chunk-DPDKBY6Z.js} +1 -1
- package/dist/{chunk-A2LR6VQQ.js → chunk-ECC3WQIB.js} +9 -93
- package/dist/{chunk-VO2TTLS5.js → chunk-GHAF7QUD.js} +1 -1
- package/dist/{chunk-M74BCDBQ.js → chunk-HA2BYO5E.js} +1 -1
- package/dist/{chunk-ILQXJ2AR.js → chunk-JEN4EIUF.js} +1 -1
- package/dist/{chunk-UTDC2NEA.js → chunk-KTYOYEVA.js} +1 -1
- package/dist/{chunk-VHC2M26B.js → chunk-LINJRTNB.js} +2 -2
- package/dist/{chunk-2WGR4TDJ.js → chunk-LKL5RULQ.js} +5 -108
- package/dist/{chunk-UU57VNS2.js → chunk-PWXZN5G5.js} +2 -2
- package/dist/{chunk-4YJ53G7S.js → chunk-RDPELAFQ.js} +4 -4
- package/dist/{chunk-PRXQGGCO.js → chunk-S3LS3B7N.js} +1 -1
- package/dist/{chunk-MS4K3K2R.js → chunk-TAEOMNDK.js} +996 -456
- package/dist/{chunk-3S54FWRC.js → chunk-UFQLHCFJ.js} +1 -1
- package/dist/{chunk-PRLHKBXG.js → chunk-V5SVGUYN.js} +2 -2
- package/dist/components/index.css +1 -1
- package/dist/components/index.d.ts +155 -21
- package/dist/components/index.js +25 -25
- package/dist/context/index.d.ts +2 -2
- package/dist/context/index.js +5 -5
- package/dist/core.d.ts +21 -4
- package/dist/core.js +1 -1
- package/dist/{fx-Br8zjvu9.d.ts → fx-Bx5RqplG.d.ts} +4 -1
- package/dist/hooks/index.d.ts +8 -8
- package/dist/hooks/index.js +6 -6
- package/dist/{katexPlugin-FA7NX4PE.css → katexPlugin-BUHVNRBJ.css} +1 -1
- package/dist/{kernel-client-JW6OH5FX.js → kernel-client-NMZ56JVU.js} +36 -3
- package/dist/{kernel-wire-DGAySGhX.d.ts → kernel-wire-CRsHtLsf.d.ts} +1 -1
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +434 -2
- package/dist/providers/index.css +1 -1
- package/dist/providers/index.d.ts +5 -5
- package/dist/providers/index.js +19 -19
- package/dist/renderer/index.d.ts +3 -79
- package/dist/renderer/index.js +2 -2
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.js +18 -18
- package/dist/ssr/index.cjs +105 -28
- package/dist/ssr/index.js +106 -29
- package/dist/test-support.js +1 -1
- package/dist/{useUISlots-CiobNFGb.d.ts → useUISlots-BLcGd__D.d.ts} +2 -0
- package/dist/{verificationRegistry-oopV1J1n.d.ts → verificationRegistry-BLuQU1JV.d.ts} +1 -1
- package/package.json +9 -9
- package/src/core/locales/ar.json +10 -1
- package/src/core/locales/en.json +10 -1
- package/src/core/locales/sl.json +10 -1
- package/tailwind-preset.cjs +8 -4
- package/dist/AvlGlyph-PIXU6QH5.js +0 -5
- package/dist/AvlStateMachine-CKGMECMG.js +0 -8
- package/dist/AvlTransitionDetail-QZX6G5KJ.js +0 -10
- package/dist/AvlTransitionExplainer-26WLEIC6.js +0 -11
- package/dist/BehaviorView-JLZ4PKWY.js +0 -10
- package/dist/FlowCanvas-RPII4V24.js +0 -23
- package/dist/ModuleCard-NJD6JQGD.js +0 -6
- package/dist/OrbInspector-OWWKPOBF.js +0 -23
- package/dist/UISlotRenderer-PY7FIJXN.js +0 -23
- /package/dist/{katexPlugin-NCDKOOQY.js → katexPlugin-WGJ4JFZU.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FileTree } from './chunk-
|
|
1
|
+
import { FileTree } from './chunk-AL2XXMYR.js';
|
|
2
2
|
import { parseApplicationLevel, parseOrbitalLevel, parseTraitLevel, traitTransitionRenderUi } from './chunk-PCR37T3U.js';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { effectCategoryOf, AvlEffect } from './chunk-
|
|
2
|
-
import { useThemeScope, Box, useTapReveal, Typography, cn, domPassthrough, usePresence, useDialogBehavior, SurfaceBoundary, VStack, useTranslate } from './chunk-
|
|
1
|
+
import { effectCategoryOf, AvlEffect } from './chunk-3UQNFRYV.js';
|
|
2
|
+
import { useThemeScope, Box, useTapReveal, Typography, cn, domPassthrough, usePresence, useDialogBehavior, SurfaceBoundary, VStack, useTranslate } from './chunk-D5FJU4XC.js';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import React, { useId, useState, useRef, useLayoutEffect, useEffect } from 'react';
|
|
@@ -1,23 +1,23 @@
|
|
|
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,
|
|
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, OrbitalSchema, Trait, TraceActivity, 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 { A as DrawFxLayer, B as DrawGroup, C as DrawMesh, E as DrawShape, F as DrawShapeLayer, G as DrawSkinnedMesh, H as DrawSprite, I as DrawSpriteLayer, J as DrawText, K as DrawTextLayer } from '../verificationRegistry-
|
|
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 } from '../verificationRegistry-BLuQU1JV.js';
|
|
8
|
+
export { A as DrawFxLayer, B as DrawGroup, C as DrawMesh, E as DrawShape, F as DrawShapeLayer, G as DrawSkinnedMesh, H as DrawSprite, I as DrawSpriteLayer, J as DrawText, K as DrawTextLayer } from '../verificationRegistry-BLuQU1JV.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-BgWOOYT3.js';
|
|
10
10
|
import { AvlStateMachineProps, TraitLevelData } from '../avl/index.js';
|
|
11
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-B3GDAjaQ.js';
|
|
12
12
|
import { LucideIcon } from 'lucide-react';
|
|
13
13
|
import { InputProps, ButtonProps, PatternVariant, SelectOption } from '../core.js';
|
|
14
|
-
import {
|
|
14
|
+
import { j as ContentAnnotation, L as LessonSegment } from '../SegmentRenderer-BAQ6Jwf6.js';
|
|
15
15
|
import { EditorMotion, EditorOperator, ContentSegment } from '../lib/index.js';
|
|
16
|
-
export { B as BloomLevel,
|
|
16
|
+
export { B as BloomLevel, k as BloomQuizBlock, l as BloomQuizBlockProps, n as CodeRunnerPanel, o as CodeRunnerPanelProps, q as CodeSimulationOutput, r as LessonUserProgress, S as SegmentRenderer, s as SegmentRendererProps } from '../SegmentRenderer-BAQ6Jwf6.js';
|
|
17
17
|
import { LanguageCode } from '@almadar/core/i18n';
|
|
18
18
|
import { EmojiPickPayload, ItemActionPayload, SelectionChangePayload } from '@almadar/core/patterns';
|
|
19
|
-
import { a as SlotContent, c as SlotPropValue } from '../useUISlots-
|
|
20
|
-
export { D as DEFAULT_SLOTS, S as SlotChangeCallback, b as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-
|
|
19
|
+
import { a as SlotContent, c as SlotPropValue } from '../useUISlots-BLcGd__D.js';
|
|
20
|
+
export { D as DEFAULT_SLOTS, S as SlotChangeCallback, b as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-BLcGd__D.js';
|
|
21
21
|
export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, EditorKeyEvent, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, KeyCaptureEntry, KeyCaptureTable, LongPressHandlers, LongPressOptions, OpenFile, PageHeadInput, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, SelectedFile, SharedEntityStore, SharedEntityStoreContext, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TraitListenSpec, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseKeyboardRouterOptions, claimDelivery, createSharedEntityStore, keyChord, mergeCaptureTables, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useKeyboardRouter, useLongPress, usePageHead, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useSwipeGesture, useTickVisibility, useTraitListens, useUIEvents, useValidation } from '../hooks/index.js';
|
|
22
22
|
export { S as SlotHostManifest, a as SlotHostRegion, b as assertUniqueSlotsPerHost } from '../slot-host-CPzrxLo9.js';
|
|
23
23
|
import '@almadar/shell-runtime/client/EventTransport';
|
|
@@ -1237,6 +1237,8 @@ interface CanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11
|
|
|
1237
1237
|
mode?: CanvasMode;
|
|
1238
1238
|
/** Neutral drawable descriptors — the `draw-*` children. Routed to the host's painter. */
|
|
1239
1239
|
drawables?: DrawableNode[];
|
|
1240
|
+
/** Text alternative for the scene, rendered as visually hidden text and linked by aria-describedby. */
|
|
1241
|
+
description?: string;
|
|
1240
1242
|
/** Neutral camera pose. Mapped to the underlying host's framing + zoom. */
|
|
1241
1243
|
camera?: Camera;
|
|
1242
1244
|
/** 2D grid layout (2D mode only): isometric / hex / flat / free / side. */
|
|
@@ -1331,7 +1333,7 @@ interface CanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11
|
|
|
1331
1333
|
* Forwarded to the 2D host, which collects them via drawable registry context. */
|
|
1332
1334
|
children?: React$1.ReactNode;
|
|
1333
1335
|
}
|
|
1334
|
-
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, ...rest }: CanvasProps): React$1.JSX.Element;
|
|
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;
|
|
1335
1337
|
declare namespace Canvas {
|
|
1336
1338
|
var displayName: string;
|
|
1337
1339
|
}
|
|
@@ -1394,22 +1396,20 @@ declare namespace GameAudioToggle {
|
|
|
1394
1396
|
}
|
|
1395
1397
|
|
|
1396
1398
|
interface GameAudioCueProps {
|
|
1397
|
-
/**
|
|
1398
|
-
cue?: string;
|
|
1399
|
-
/** Monotonically increasing counter — bumping it re-triggers `cue`. */
|
|
1399
|
+
/** Monotonically increasing counter — bumping it plays `cuePlay` once. */
|
|
1400
1400
|
cueSeq?: number;
|
|
1401
|
-
/**
|
|
1402
|
-
|
|
1401
|
+
/** The resolved one-shot to play on the next `cueSeq` bump. */
|
|
1402
|
+
cuePlay?: AudioPlay;
|
|
1403
|
+
/** The resolved looping track; an empty key fades the current one out. */
|
|
1404
|
+
musicPlay?: AudioPlay;
|
|
1405
|
+
/** Resolved sounds started on the first user gesture while unmuted. */
|
|
1406
|
+
autostart?: AudioPlay[];
|
|
1403
1407
|
/** Muted state, owned externally and mirrored into the hook. */
|
|
1404
1408
|
muted?: boolean;
|
|
1405
1409
|
/** Master volume 0-1, owned externally and mirrored into the hook. */
|
|
1406
1410
|
volume?: number;
|
|
1407
|
-
/** Sound manifest — keys mapped to sound definitions (path, volume, loop, ...). */
|
|
1408
|
-
manifest: Record<string, SoundEntry>;
|
|
1409
|
-
/** Base URL prepended to every manifest path. */
|
|
1410
|
-
baseUrl?: string;
|
|
1411
1411
|
}
|
|
1412
|
-
declare function GameAudioCue({
|
|
1412
|
+
declare function GameAudioCue({ cueSeq, cuePlay, musicPlay, autostart, muted, volume, }: GameAudioCueProps): null;
|
|
1413
1413
|
declare namespace GameAudioCue {
|
|
1414
1414
|
var displayName: string;
|
|
1415
1415
|
}
|
|
@@ -3178,6 +3178,8 @@ interface MenuItem {
|
|
|
3178
3178
|
id?: string;
|
|
3179
3179
|
/** Item label */
|
|
3180
3180
|
label: string;
|
|
3181
|
+
/** A second, quieter line under the label. */
|
|
3182
|
+
description?: string;
|
|
3181
3183
|
/** Item icon (Lucide icon name or component) */
|
|
3182
3184
|
icon?: IconInput;
|
|
3183
3185
|
/** Item badge */
|
|
@@ -4267,6 +4269,46 @@ interface CodeViewerFile {
|
|
|
4267
4269
|
code: string;
|
|
4268
4270
|
language?: CodeLanguage;
|
|
4269
4271
|
}
|
|
4272
|
+
/** Buffer mode: a position in the text, zero-based line and character column (the units of `str/len`). */
|
|
4273
|
+
interface CodeCursor {
|
|
4274
|
+
row: number;
|
|
4275
|
+
col: number;
|
|
4276
|
+
}
|
|
4277
|
+
/** Buffer mode: the selected range, end inclusive of the cursor's character; `linewise` selects whole lines. */
|
|
4278
|
+
interface CodeSelection {
|
|
4279
|
+
fromRow: number;
|
|
4280
|
+
fromCol: number;
|
|
4281
|
+
toRow: number;
|
|
4282
|
+
toCol: number;
|
|
4283
|
+
linewise: boolean;
|
|
4284
|
+
}
|
|
4285
|
+
/**
|
|
4286
|
+
* Buffer mode: a painted range, `to` exclusive. `tone` names a theme color role: syntax
|
|
4287
|
+
* (keyword, string, comment, number, type, function, operator, punctuation, variable) or
|
|
4288
|
+
* annotation (search, review, review-recent, error, warning, info). `label` is its accessible name.
|
|
4289
|
+
*/
|
|
4290
|
+
interface CodeDecoration {
|
|
4291
|
+
id: string;
|
|
4292
|
+
fromRow: number;
|
|
4293
|
+
fromCol: number;
|
|
4294
|
+
toRow: number;
|
|
4295
|
+
toCol: number;
|
|
4296
|
+
tone: string;
|
|
4297
|
+
label?: string;
|
|
4298
|
+
}
|
|
4299
|
+
/** Buffer mode: a note anchored below a range; `busy` shows that more is on its way. */
|
|
4300
|
+
interface CodePopover {
|
|
4301
|
+
fromRow: number;
|
|
4302
|
+
fromCol: number;
|
|
4303
|
+
toRow: number;
|
|
4304
|
+
toCol: number;
|
|
4305
|
+
title: string;
|
|
4306
|
+
sections: {
|
|
4307
|
+
heading: string;
|
|
4308
|
+
lines: string[];
|
|
4309
|
+
}[];
|
|
4310
|
+
busy: boolean;
|
|
4311
|
+
}
|
|
4270
4312
|
interface CodeBlockProps extends A11yProps {
|
|
4271
4313
|
/** The code content to display */
|
|
4272
4314
|
code?: string;
|
|
@@ -4431,6 +4473,59 @@ interface CodeBlockProps extends A11yProps {
|
|
|
4431
4473
|
* @tier presentation
|
|
4432
4474
|
*/
|
|
4433
4475
|
operators?: readonly EditorOperator[];
|
|
4476
|
+
/**
|
|
4477
|
+
* Buffer mode: when set, the program owns the text and the cursor (std-text-buffer) and this
|
|
4478
|
+
* surface only paints them — `code` split on newlines, the caret here, `selection`,
|
|
4479
|
+
* `decorations` and `popover` — and emits input as events: every keydown through `onKey`, a
|
|
4480
|
+
* press through `onPointerDown`, the character the pointer rests over through `onHover`. It
|
|
4481
|
+
* never edits, moves the caret or interprets a key itself, and keeps the cursor line in view.
|
|
4482
|
+
* @tier presentation
|
|
4483
|
+
*/
|
|
4484
|
+
cursor?: CodeCursor;
|
|
4485
|
+
/**
|
|
4486
|
+
* Buffer mode: the caret shape the program's mode asks for.
|
|
4487
|
+
* @tier presentation
|
|
4488
|
+
*/
|
|
4489
|
+
caret?: EditorCaret;
|
|
4490
|
+
/**
|
|
4491
|
+
* Buffer mode: the selected range to paint (VISUAL), or none.
|
|
4492
|
+
* @tier presentation
|
|
4493
|
+
*/
|
|
4494
|
+
selection?: CodeSelection | null;
|
|
4495
|
+
/**
|
|
4496
|
+
* Buffer mode: ranges painted by tone (syntax colors, search hits, review highlights).
|
|
4497
|
+
* @tier presentation
|
|
4498
|
+
*/
|
|
4499
|
+
decorations?: CodeDecoration[];
|
|
4500
|
+
/**
|
|
4501
|
+
* Buffer mode: a note anchored below a range, or none.
|
|
4502
|
+
* @tier presentation
|
|
4503
|
+
*/
|
|
4504
|
+
popover?: CodePopover | null;
|
|
4505
|
+
/**
|
|
4506
|
+
* Number each line by its distance from the cursor line; the cursor line shows its own number.
|
|
4507
|
+
* @tier presentation
|
|
4508
|
+
*/
|
|
4509
|
+
relativeLineNumbers?: boolean;
|
|
4510
|
+
/**
|
|
4511
|
+
* Buffer mode: emits UI:{onPointerDown} with the zero-based row and column a pointer pressed.
|
|
4512
|
+
* @tier presentation
|
|
4513
|
+
*/
|
|
4514
|
+
onPointerDown?: EventEmit<{
|
|
4515
|
+
editorId: string;
|
|
4516
|
+
row: number;
|
|
4517
|
+
col: number;
|
|
4518
|
+
}>;
|
|
4519
|
+
/**
|
|
4520
|
+
* Buffer mode: emits UI:{onHover} with the zero-based row and column the pointer moved onto
|
|
4521
|
+
* (once per character it enters).
|
|
4522
|
+
* @tier presentation
|
|
4523
|
+
*/
|
|
4524
|
+
onHover?: EventEmit<{
|
|
4525
|
+
editorId: string;
|
|
4526
|
+
row: number;
|
|
4527
|
+
col: number;
|
|
4528
|
+
}>;
|
|
4434
4529
|
/**
|
|
4435
4530
|
* Editable only: answers the caret's valid continuations after a keystroke (and on
|
|
4436
4531
|
* Ctrl-Space); they show under the editor and Tab or a click inserts one.
|
|
@@ -4497,6 +4592,7 @@ interface CodeBlockProps extends A11yProps {
|
|
|
4497
4592
|
/** Note action label (default: translated) */
|
|
4498
4593
|
noteLabel?: string;
|
|
4499
4594
|
}
|
|
4595
|
+
/** Buffer mode is on exactly when the program supplies a `cursor`; every other block is the classic one. */
|
|
4500
4596
|
declare const CodeBlock: React__default.NamedExoticComponent<CodeBlockProps>;
|
|
4501
4597
|
|
|
4502
4598
|
/**
|
|
@@ -6939,6 +7035,8 @@ interface TableViewColumn {
|
|
|
6939
7035
|
colorMap?: Readonly<Record<string, BadgeColor>>;
|
|
6940
7036
|
/** Display text per exact value (for `format: 'badge'`); unmapped values show as stored */
|
|
6941
7037
|
labels?: Readonly<Record<string, string>>;
|
|
7038
|
+
/** Lucide icon name per exact value (for `format: 'badge'`), shown inside the badge so status is never colour alone */
|
|
7039
|
+
iconMap?: Readonly<Record<string, string>>;
|
|
6942
7040
|
/** `h3`/`h4` marks the row's title column: on narrow tables it heads the stacked card, unlabelled */
|
|
6943
7041
|
variant?: 'h3' | 'h4';
|
|
6944
7042
|
/** Lucide icon name or component shown before the header label. */
|
|
@@ -9827,8 +9925,10 @@ interface AgentActivityRowProps {
|
|
|
9827
9925
|
onJump?: (target: AgentActivityJumpTarget) => void;
|
|
9828
9926
|
/** What the row knows from its list (`activityRowFacts`). */
|
|
9829
9927
|
facts: RowFacts;
|
|
9928
|
+
/** The declared label of the tool a tool step names, shown in place of its address. */
|
|
9929
|
+
toolLabel?: string;
|
|
9830
9930
|
}
|
|
9831
|
-
declare function AgentActivityRow({ activity, onJump, facts }: AgentActivityRowProps): React__default.ReactElement;
|
|
9931
|
+
declare function AgentActivityRow({ activity, onJump, facts, toolLabel }: AgentActivityRowProps): React__default.ReactElement;
|
|
9832
9932
|
declare namespace AgentActivityRow {
|
|
9833
9933
|
var displayName: string;
|
|
9834
9934
|
}
|
|
@@ -9879,9 +9979,16 @@ interface AgentChatFeedProps {
|
|
|
9879
9979
|
idPrefix: string;
|
|
9880
9980
|
/** The agent is running — the feed shows it is thinking. */
|
|
9881
9981
|
working?: boolean;
|
|
9982
|
+
/** Declared labels of the tools a step can name: a step of a listed tool shows its label, not its address. */
|
|
9983
|
+
toolLabels?: readonly AgentToolLabel[];
|
|
9882
9984
|
className?: string;
|
|
9883
9985
|
}
|
|
9884
|
-
|
|
9986
|
+
/** The label a tool's steps are shown under. */
|
|
9987
|
+
interface AgentToolLabel {
|
|
9988
|
+
tool: string;
|
|
9989
|
+
label: string;
|
|
9990
|
+
}
|
|
9991
|
+
declare function AgentChatFeed({ activities, emptyTitle, rawLlmPreferenceKey, idPrefix, working, toolLabels, className }: AgentChatFeedProps): React__default.ReactElement;
|
|
9885
9992
|
declare namespace AgentChatFeed {
|
|
9886
9993
|
var displayName: string;
|
|
9887
9994
|
}
|
|
@@ -10429,6 +10536,27 @@ interface FormProps extends Omit<React__default.FormHTMLAttributes<HTMLFormEleme
|
|
|
10429
10536
|
}
|
|
10430
10537
|
declare const Form: React__default.FC<FormProps>;
|
|
10431
10538
|
|
|
10539
|
+
/**
|
|
10540
|
+
* AvlOrbitalMachine — a whole mounted orbital on one canvas: every rendering
|
|
10541
|
+
* trait is a box nested inside its parent, boxes within `expandDepth` draw
|
|
10542
|
+
* their own machine, the rest are compact boxes that open in place, traits
|
|
10543
|
+
* that never paint sit in a background lane, and `Trait.EVENT` listens are
|
|
10544
|
+
* dashed wires between boxes, drawn only for the chosen trait and the last
|
|
10545
|
+
* dispatch's route. Choosing a box emits `selectEvent`; with `pickEvent` an
|
|
10546
|
+
* inspect toggle picks a trait from its output on the page, then opens and
|
|
10547
|
+
* scrolls to its box.
|
|
10548
|
+
*/
|
|
10549
|
+
|
|
10550
|
+
interface OrbitalFocusTarget {
|
|
10551
|
+
trait: string;
|
|
10552
|
+
/** The event of the transition to show; empty shows the trait's box. */
|
|
10553
|
+
event: string;
|
|
10554
|
+
from: string;
|
|
10555
|
+
to: string;
|
|
10556
|
+
/** Changes with each request, so asking for the same transition again scrolls again. */
|
|
10557
|
+
nonce: number;
|
|
10558
|
+
}
|
|
10559
|
+
|
|
10432
10560
|
/**
|
|
10433
10561
|
* StateMachineView — the AVL state machine with loading / error / empty states.
|
|
10434
10562
|
*/
|
|
@@ -10475,6 +10603,10 @@ interface StateMachineViewProps extends Omit<AvlStateMachineProps, 'trait'> {
|
|
|
10475
10603
|
pickEvent?: EventEmit<{
|
|
10476
10604
|
trait: string;
|
|
10477
10605
|
}>;
|
|
10606
|
+
/** Orbital mode: a transition to scroll to; its trait's box opens and the canvas scrolls to the transition. @default null
|
|
10607
|
+
* @example {"trait":"OrderPage","event":"EDIT","from":"browsing","to":"editing","nonce":1}
|
|
10608
|
+
*/
|
|
10609
|
+
focusTarget?: OrbitalFocusTarget | null;
|
|
10478
10610
|
/** Orbital mode: the canvas scrolls inside this height. @default "calc(100vh - 9rem)" */
|
|
10479
10611
|
maxHeight?: string;
|
|
10480
10612
|
/** Loading state indicator */
|
|
@@ -11193,6 +11325,8 @@ interface ChatFocusRequest {
|
|
|
11193
11325
|
id: string | number;
|
|
11194
11326
|
/** Shown in the input until the next message is sent. */
|
|
11195
11327
|
placeholder?: string;
|
|
11328
|
+
/** Put in the input, replacing what is there, for the user to edit and send. */
|
|
11329
|
+
text?: string;
|
|
11196
11330
|
}
|
|
11197
11331
|
interface ChatBarProps extends DisplayStateProps, Omit<React__default.AriaAttributes, keyof A11yProps>, A11yProps {
|
|
11198
11332
|
/** Pipeline status */
|
package/dist/components/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { assertUniqueSlotsPerHost } from '../chunk-5QTYQTPS.js';
|
|
3
|
-
export { BehaviorView } from '../chunk-
|
|
4
|
-
export { ModuleCard } from '../chunk-
|
|
5
|
-
import { JsonTreeEditor } from '../chunk-
|
|
6
|
-
export { JsonTreeEditor } from '../chunk-
|
|
7
|
-
export { SharedEntityStoreContext, createSharedEntityStore, runTickFrame, useAgentChat, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, usePreview, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useTickVisibility, useTraitListens, useUIEvents, useValidation } from '../chunk-
|
|
8
|
-
import { resolveSheetDirection, frameRect, GridPicker, FormSection } from '../chunk-
|
|
9
|
-
export { Card as ActionCard, ActionPalette, ActionTile, ActivationBlock, ActivityRail, AgentActivityFeed, AgentActivityRow, AgentChatFeed, AgentThinkingRow, Alert, AlgoGraphCanvas, AlgorithmCanvas, AnimatedCounter, AuthLayout, BiologyCanvas, BloomQuizBlock, BranchingLogicBuilder, Breadcrumb, ButtonGroup, COMPACT_MEDIA_QUERY, CalendarGrid, Canvas, Canvas2D, Carousel, ChangeList, Chart, ChartLegend, ChatBar, ChemistryCanvas, ChoiceButton, CodeBlock, CodeRunnerPanel, 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, DrawFxLayer, DrawGroup, DrawMesh, DrawShape, DrawShapeLayer, DrawSkinnedMesh, DrawSprite, DrawSpriteLayer, DrawText, DrawTextLayer, Drawer, DrawerSlot, ELEMENT_SELECTED_EVENT, EdgeDecoration, EmojiPicker, ErrorBoundary, ErrorState, FEATURE_COLORS, FLOOR_HEIGHT, FeatureCard, FeatureGrid, FilterGroup, Flex, FlipCard, FloatingActionButton, FloatingToolbar, Form, FormActions, FormField, FormLayout, FormSection, FormSectionHeader, FxOverlay, GameAudioContext, GameAudioCue, GameAudioProvider, GameAudioToggle, GameHud, GameMenu, GameShell, Gantt, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, GuestView, Header, HealthBar, IconButton, ImportPreviewTree, ImportProgress, ImportSourcePicker, InputGroup, JazariStateMachine, LearningCanvas, Lightbox, LikertScale, LineChart, LoadingState, MachinePanel, MapView, MarkdownContent, MasterDetailLayout, MathCanvas, MatrixQuestion, MediaGallery, Menu, Meter, Modal, ModalSlot, Navigation, NumberStepper, OptionConstraintGroup, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, PageHeader, PageTransition, Pagination, PhysicsCanvas, PositionedCanvas, ProgressDots, PullToRefresh, QrScanner, QuizBlock, ReflectionBlock, RelationSelect, RepeatableFormSection, ReplyTree, RichTextEditor, RuntimeDebugger, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, ScoreDisplay, SearchInput, Section, SegmentRenderer, SequenceBar, SidePanel, Sidebar, SignaturePad, SimpleGrid, Skeleton, SkeletonTree, SlotContentRenderer, SocialProof, SortableList, Split, SplitPane, StarRating, StatBadge, StatCard, StatDisplay, StateGraph, StateJsonView, StateMachineView, SubagentTracePanel, SwipeableRow, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, TableView, Tabs, TagInput, Timeline, TimerDisplay, Toast, ToastSlot, TopNavItem, TraitFrame, TraitSlot, TraitStateViewer, UISlotComponent, UISlotRenderer, UploadDropZone, VersionDiff, ViolationAlert, VoteStack, WizardContainer, WizardNavigation, WizardProgress, activityRowFacts, applyCompletion, applySuggestions, createUnitAnimationState, dispatchCommandPaletteCommand, getCurrentFrame, groupIntoConversations, inferDirection, isoToScreen, parseEditFocus, preloadCodeHighlighter, registerCodeLanguageLoader, renderPatternValue, resolveFrame, resolveSheetDirection, sanitizeRichHtml, screenToIso, tickAnimationState, toCodeLanguage, transitionAnimation, useCamera, useCompactLayout, useDockLayout, useGameAudio, useGameAudioContext, useImageCache } from '../chunk-
|
|
10
|
-
export { FileTree } from '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
export { Accordion } from '../chunk-
|
|
15
|
-
export { EmptyState } from '../chunk-
|
|
16
|
-
import '../chunk-
|
|
3
|
+
export { BehaviorView } from '../chunk-B23EZH2P.js';
|
|
4
|
+
export { ModuleCard } from '../chunk-7UCL26QB.js';
|
|
5
|
+
import { JsonTreeEditor } from '../chunk-JEN4EIUF.js';
|
|
6
|
+
export { JsonTreeEditor } from '../chunk-JEN4EIUF.js';
|
|
7
|
+
export { SharedEntityStoreContext, createSharedEntityStore, runTickFrame, useAgentChat, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, usePreview, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useTickVisibility, useTraitListens, useUIEvents, useValidation } from '../chunk-PWXZN5G5.js';
|
|
8
|
+
import { resolveSheetDirection, frameRect, GridPicker, FormSection } from '../chunk-TAEOMNDK.js';
|
|
9
|
+
export { Card as ActionCard, ActionPalette, ActionTile, ActivationBlock, ActivityRail, AgentActivityFeed, AgentActivityRow, AgentChatFeed, AgentThinkingRow, Alert, AlgoGraphCanvas, AlgorithmCanvas, AnimatedCounter, AuthLayout, BiologyCanvas, BloomQuizBlock, BranchingLogicBuilder, Breadcrumb, ButtonGroup, COMPACT_MEDIA_QUERY, CalendarGrid, Canvas, Canvas2D, Carousel, ChangeList, Chart, ChartLegend, ChatBar, ChemistryCanvas, ChoiceButton, CodeBlock, CodeRunnerPanel, 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, DrawFxLayer, DrawGroup, DrawMesh, DrawShape, DrawShapeLayer, DrawSkinnedMesh, DrawSprite, DrawSpriteLayer, DrawText, DrawTextLayer, Drawer, DrawerSlot, ELEMENT_SELECTED_EVENT, EdgeDecoration, EmojiPicker, ErrorBoundary, ErrorState, FEATURE_COLORS, FLOOR_HEIGHT, FeatureCard, FeatureGrid, FilterGroup, Flex, FlipCard, FloatingActionButton, FloatingToolbar, Form, FormActions, FormField, FormLayout, FormSection, FormSectionHeader, FxOverlay, GameAudioContext, GameAudioCue, GameAudioProvider, GameAudioToggle, GameHud, GameMenu, GameShell, Gantt, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, GuestView, Header, HealthBar, IconButton, ImportPreviewTree, ImportProgress, ImportSourcePicker, InputGroup, JazariStateMachine, LearningCanvas, Lightbox, LikertScale, LineChart, LoadingState, MachinePanel, MapView, MarkdownContent, MasterDetailLayout, MathCanvas, MatrixQuestion, MediaGallery, Menu, Meter, Modal, ModalSlot, Navigation, NumberStepper, OptionConstraintGroup, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, PageHeader, PageTransition, Pagination, PhysicsCanvas, PositionedCanvas, ProgressDots, PullToRefresh, QrScanner, QuizBlock, ReflectionBlock, RelationSelect, RepeatableFormSection, ReplyTree, RichTextEditor, RuntimeDebugger, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, ScoreDisplay, SearchInput, Section, SegmentRenderer, SequenceBar, SidePanel, Sidebar, SignaturePad, SimpleGrid, Skeleton, SkeletonTree, SlotContentRenderer, SocialProof, SortableList, Split, SplitPane, StarRating, StatBadge, StatCard, StatDisplay, StateGraph, StateJsonView, StateMachineView, SubagentTracePanel, SwipeableRow, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, TableView, Tabs, TagInput, Timeline, TimerDisplay, Toast, ToastSlot, TopNavItem, TraitFrame, TraitSlot, TraitStateViewer, UISlotComponent, UISlotRenderer, UploadDropZone, VersionDiff, ViolationAlert, VoteStack, WizardContainer, WizardNavigation, WizardProgress, activityRowFacts, applyCompletion, applySuggestions, createUnitAnimationState, dispatchCommandPaletteCommand, getCurrentFrame, groupIntoConversations, inferDirection, isoToScreen, parseEditFocus, parseMarkdownWithCodeBlocks, preloadCodeHighlighter, registerCodeLanguageLoader, renderPatternValue, resolveFrame, resolveSheetDirection, sanitizeRichHtml, screenToIso, tickAnimationState, toCodeLanguage, transitionAnimation, useCamera, useCompactLayout, useDockLayout, useGameAudio, useGameAudioContext, useImageCache } from '../chunk-TAEOMNDK.js';
|
|
10
|
+
export { FileTree } from '../chunk-AL2XXMYR.js';
|
|
11
|
+
import '../chunk-RDPELAFQ.js';
|
|
12
|
+
import '../chunk-CCO2ZH7F.js';
|
|
13
|
+
import '../chunk-DPDKBY6Z.js';
|
|
14
|
+
export { Accordion } from '../chunk-3DA36FOA.js';
|
|
15
|
+
export { EmptyState } from '../chunk-3YUMGEEW.js';
|
|
16
|
+
import '../chunk-HA2BYO5E.js';
|
|
17
17
|
import '../chunk-PCR37T3U.js';
|
|
18
|
-
import { ThemedPortal } from '../chunk-
|
|
19
|
-
export { Popover, Tooltip } from '../chunk-
|
|
20
|
-
import '../chunk-
|
|
21
|
-
|
|
18
|
+
import { ThemedPortal } from '../chunk-V5SVGUYN.js';
|
|
19
|
+
export { Popover, Tooltip } from '../chunk-V5SVGUYN.js';
|
|
20
|
+
import '../chunk-3UQNFRYV.js';
|
|
21
|
+
import '../chunk-LKL5RULQ.js';
|
|
22
22
|
import '../chunk-TZZBINQY.js';
|
|
23
23
|
import '../chunk-ZDRDJKYB.js';
|
|
24
|
-
export { claimDelivery, keyChord, mergeCaptureTables, parseQueryBinding, useAuthContext, useCanvasGestures, useDragReorder, useKeyboardRouter, useLongPress, usePageHead, usePullToRefresh, useQuerySingleton, useSwipeGesture } from '../chunk-
|
|
25
|
-
export { ALMADAR_DND_MIME, useDraggable, useDropZone } from '../chunk-
|
|
26
|
-
import '../chunk-
|
|
24
|
+
export { claimDelivery, keyChord, mergeCaptureTables, parseQueryBinding, useAuthContext, useCanvasGestures, useDragReorder, useKeyboardRouter, useLongPress, usePageHead, usePullToRefresh, useQuerySingleton, useSwipeGesture } from '../chunk-S3LS3B7N.js';
|
|
25
|
+
export { ALMADAR_DND_MIME, useDraggable, useDropZone } from '../chunk-GHAF7QUD.js';
|
|
26
|
+
import '../chunk-2LNXLMK3.js';
|
|
27
27
|
import '../chunk-3BBUBJFF.js';
|
|
28
|
-
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-
|
|
29
|
-
import { VStack, Button, HStack, GameIcon, Typography, Box, useTranslate, Badge, Icon, cn, Select, domPassthrough, Switch, Input } from '../chunk-
|
|
30
|
-
import { getKnownPatterns, getPatternDefinition } from '../chunk-
|
|
31
|
-
import '../chunk-
|
|
28
|
+
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-ANTJUQRD.js';
|
|
29
|
+
import { VStack, Button, HStack, GameIcon, Typography, Box, useTranslate, Badge, Icon, cn, Select, domPassthrough, Switch, Input } from '../chunk-D5FJU4XC.js';
|
|
30
|
+
import { getKnownPatterns, getPatternDefinition } from '../chunk-ECC3WQIB.js';
|
|
31
|
+
import '../chunk-AZ74UPG6.js';
|
|
32
32
|
import '../chunk-G7DCAZ22.js';
|
|
33
33
|
import React4, { useRef, useState, useMemo, useEffect, useCallback, useLayoutEffect } from 'react';
|
|
34
34
|
import * as LucideIcons from 'lucide-react';
|
package/dist/context/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { U as UISlotContext, a as UISlotProvider, u as useSlotContent, b as useSlotHasContent, c as useUISlots } from '../UISlotContext-
|
|
1
|
+
export { U as UISlotContext, a as UISlotProvider, u as useSlotContent, b as useSlotHasContent, c as useUISlots } from '../UISlotContext-7r0SQdTL.js';
|
|
2
2
|
export { T as ThemeMode, r as resolveThemeForRuntime, t as themeTokensToCssVars } from '../themeTokens-CRd8AEDF.js';
|
|
3
3
|
export { A as ARBITRARY_CLASS_STYLE_ID, a as ArbitraryClassCompiler, b as ArbitraryClassCompilerProvider, c as ArbitraryClassCompilerProviderProps, C as CurrentPagePathContext, d as CurrentPagePathProvider, e as CurrentPagePathProviderProps, D as DesignThemeProvider, O as OrbitalThemeProvider, f as OrbitalThemeProviderProps, U as UserContext, g as UserContextValue, h as UserData, i as UserProvider, j as UserProviderProps, u as useArbitraryClassStyles, k as useCurrentPagePath, l as useDesignTheme, m as useHasPermission, n as useHasRole, o as useUser, p as useUserForEvaluation } from '../ArbitraryClassCompiler-CO_iASBn.js';
|
|
4
4
|
export { ANONYMOUS_USER, UISlot } from '@almadar/core';
|
|
5
|
-
export { S as SlotChangeCallback, a as SlotContent, b as SlotRenderConfig, U as UISlotManager } from '../useUISlots-
|
|
5
|
+
export { S as SlotChangeCallback, a as SlotContent, b as SlotRenderConfig, U as UISlotManager } from '../useUISlots-BLcGd__D.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '../EventBusProvider-BFFHfN4O.js';
|
|
8
8
|
import '../ThemeContext-DJmO59xd.js';
|
package/dist/context/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { DesignThemeProvider, useDesignTheme } from '../chunk-
|
|
3
|
-
export { ANONYMOUS_USER, ARBITRARY_CLASS_STYLE_ID, ArbitraryClassCompilerProvider, CurrentPagePathContext, CurrentPagePathProvider, OrbitalThemeProvider, UISlotContext, UISlotProvider, UserContext, UserProvider, useArbitraryClassStyles, useCurrentPagePath, useHasPermission, useHasRole, useSlotContent, useSlotHasContent, useUISlots, useUser, useUserForEvaluation } from '../chunk-
|
|
2
|
+
export { DesignThemeProvider, useDesignTheme } from '../chunk-KTYOYEVA.js';
|
|
3
|
+
export { ANONYMOUS_USER, ARBITRARY_CLASS_STYLE_ID, ArbitraryClassCompilerProvider, CurrentPagePathContext, CurrentPagePathProvider, OrbitalThemeProvider, UISlotContext, UISlotProvider, UserContext, UserProvider, useArbitraryClassStyles, useCurrentPagePath, useHasPermission, useHasRole, useSlotContent, useSlotHasContent, useUISlots, useUser, useUserForEvaluation } from '../chunk-2LNXLMK3.js';
|
|
4
4
|
export { resolveThemeForRuntime, themeTokensToCssVars } from '../chunk-3BBUBJFF.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ANTJUQRD.js';
|
|
6
|
+
import '../chunk-D5FJU4XC.js';
|
|
7
|
+
import '../chunk-AZ74UPG6.js';
|
|
8
8
|
import '../chunk-G7DCAZ22.js';
|
package/dist/core.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { RefObject } from 'react';
|
|
3
3
|
import { A11yProps, AssetUrl, EventKey, TextureAtlas, Tilesheet, SpriteSheetAtlas, EventPayload, EventEmit, FieldValue, SExpr, Asset, OrbitalSchema, OrbitalPage, NavStackEntry, IconFamily as IconFamily$1, JsonValue, SurfaceMode } from '@almadar/core';
|
|
4
4
|
export { BusEvent, BusEventListener, BusEventSource, BusEventListener as EventListener, SurfaceMode, Unsubscribe, comparePathSpecificity, matchPath, matchPathAmong } from '@almadar/core';
|
|
5
|
-
import { I as IconInput } from './fx-
|
|
6
|
-
export { B as Badge, b as BadgeColor, c as BadgeProps, d as BadgeSize, e as BadgeVariant, C as CONFETTI_BURST_KEYFRAMES, f as CONFETTI_COLORS, g as ColorToken, h as ConfettiParticle, D as DisplayField, i as DisplayFieldFormat, j as DisplayFieldVariant, F as FxItem, k as FxLifecycle, l as FxOverlayItem, m as FxOverlayKind, a as FxPreset, n as FxProceduralShape, o as FxSpace, p as FxView, q as Icon, r as IconAnimation, s as IconProps, t as IconSize, u as ImageSource, L as LinkAction, P as Point, R as Rect, U as UiError, v as createConfettiParticles, w as fxHash01, x as fxLifecycle, y as
|
|
7
|
-
export { B as Button, a as ButtonProps, b as ButtonSize, c as ButtonVariant, I as Input, d as InputProps, P as PatternTile, e as PatternTileProps, f as PatternVariant, S as Select, g as SelectOption, h as SelectOptionGroup, i as SelectProps, j as getTileDimensions } from './Select-
|
|
5
|
+
import { I as IconInput } from './fx-Bx5RqplG.js';
|
|
6
|
+
export { B as Badge, b as BadgeColor, c as BadgeProps, d as BadgeSize, e as BadgeVariant, C as CONFETTI_BURST_KEYFRAMES, f as CONFETTI_COLORS, g as ColorToken, h as ConfettiParticle, D as DisplayField, i as DisplayFieldFormat, j as DisplayFieldVariant, F as FxItem, k as FxLifecycle, l as FxOverlayItem, m as FxOverlayKind, a as FxPreset, n as FxProceduralShape, o as FxSpace, p as FxView, q as Icon, r as IconAnimation, s as IconProps, t as IconSize, u as ImageSource, L as LinkAction, P as Point, R as Rect, U as UiError, v as createConfettiParticles, w as fxHash01, x as fxLifecycle, y as isColorToken, z as resolveColorToken, A as resolveFxView, E as resolveIcon } from './fx-Bx5RqplG.js';
|
|
7
|
+
export { B as Button, a as ButtonProps, b as ButtonSize, c as ButtonVariant, I as Input, d as InputProps, P as PatternTile, e as PatternTileProps, f as PatternVariant, S as Select, g as SelectOption, h as SelectOptionGroup, i as SelectProps, j as getTileDimensions } from './Select-BJ8Fgc8A.js';
|
|
8
8
|
export { E as EventBusContext, a as EventBusContextType, b as EventBusContextTypeExtended, c as EventBusProvider, V as VideoEmbed, d as VideoEmbedProps, e as VideoErrorPayload, f as VideoPlayPayload, g as VideoReadyPayload, h as getGlobalEventBus, s as setGlobalEventBus, u as useEmitEvent, i as useEventBus, j as useEventListener, k as useEventSubscription, l as useRootEventBus } from './EventBusProvider-BFFHfN4O.js';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
import { LucideIcon } from 'lucide-react';
|
|
@@ -324,6 +324,17 @@ type BoxMargin = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "auto";
|
|
|
324
324
|
type BoxBg = "transparent" | "primary" | "secondary" | "muted" | "accent" | "surface" | "overlay" | "gradient" | "inverse";
|
|
325
325
|
type BoxRounded = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
326
326
|
type BoxShadow = "none" | "sm" | "md" | "lg" | "xl";
|
|
327
|
+
/** An endless strip: the content moves toward `direction` at `speed` px/s. */
|
|
328
|
+
interface BoxMarquee {
|
|
329
|
+
/** "start" moves toward the reading start (left in LTR), "end" toward the reading end */
|
|
330
|
+
direction: "start" | "end";
|
|
331
|
+
/** Speed in pixels per second */
|
|
332
|
+
speed: number;
|
|
333
|
+
/** Clip the strip to the box and fade its two edges */
|
|
334
|
+
clip: boolean;
|
|
335
|
+
/** Repeat the content right after itself so the strip never runs out; without it the content leaves and starts over */
|
|
336
|
+
loop: boolean;
|
|
337
|
+
}
|
|
327
338
|
interface BoxProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, keyof A11yProps>, A11yProps {
|
|
328
339
|
/** Additional CSS classes applied to the root element. */
|
|
329
340
|
className?: string;
|
|
@@ -398,6 +409,8 @@ interface BoxProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, k
|
|
|
398
409
|
texture?: boolean;
|
|
399
410
|
/** Content that appears or changes inside the box eases in instead of switching in one frame (new rows, swapped views, changed text), played in presentation motion (the theme's dramatic duration, standard easing) so it can be watched. Off under reduced motion. */
|
|
400
411
|
animateChanges?: boolean;
|
|
412
|
+
/** Scroll the content as a moving strip (pauses on hover; stands still and wraps under reduced motion) */
|
|
413
|
+
marquee?: BoxMarquee;
|
|
401
414
|
/** Scene behind the band's content (photo, illustration, pattern); never takes clicks */
|
|
402
415
|
backdrop?: React__default.ReactNode;
|
|
403
416
|
/** Children elements */
|
|
@@ -666,6 +679,10 @@ interface FilterPillProps extends Omit<React__default.HTMLAttributes<HTMLSpanEle
|
|
|
666
679
|
clickEvent?: EventEmit<{
|
|
667
680
|
label: string | number | undefined;
|
|
668
681
|
}>;
|
|
682
|
+
/** Payload sent with clickEvent beside the label, so a pill rendered from data names its item without matching on text
|
|
683
|
+
* @payloadFor clickEvent
|
|
684
|
+
*/
|
|
685
|
+
clickPayload?: EventPayload;
|
|
669
686
|
/** Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }
|
|
670
687
|
* @offByDefault */
|
|
671
688
|
removeEvent?: EventEmit<{
|
|
@@ -2596,4 +2613,4 @@ declare const localeMeta: Record<SupportedLocale, LocaleMeta>;
|
|
|
2596
2613
|
declare function mergeMessages(locale: SupportedLocale, projectMessages: Record<string, string>): Record<string, string>;
|
|
2597
2614
|
|
|
2598
2615
|
export { AnimatedGraphic, AnimatedReveal, Aside, AtlasImage, AtlasPanel, Avatar, BAND_ACCENT_FALLBACK, BAND_EDGE_FILL, BAND_SHAPES, BUILT_IN_THEMES, Box, Card, CardBody, CardContent, CardFooter, CardHeader, CardTitle, Center, Checkbox, ConditionalWrapper, ConfettiEffect, DEFAULT_CURRENCY, DayCell, Dialog, Divider, FilterPill, FlipContainer, GameIcon, HStack, I18nProvider, INLINE_TEXT_ATTR, IconInput, Image, InfiniteScrollSentinel, Label, LawReferenceTooltip, NavStackProvider, NavStackRouterBridge, NavigationProvider, Overlay, PendingScopeContext, Presence, ProgressBar, Radio, RangeSlider, STRETCHED_ABOVE, STRETCHED_CONTROL, SVG_MOTION_CLASSES, SectionHeader, Spacer, Sparkline, Spinner, Stack, StatusDot, SurfaceBoundary, SvgBranch, SvgConnection, SvgFlow, SvgGrid, SvgLobe, SvgMesh, SvgMorph, SvgNode, SvgPulse, SvgRing, SvgShield, SvgStack, Switch, THEME_SCALE_KEYS, TextHighlight, Textarea, ThemeToggle, TimeSlotCell, TraitScopeProvider, TrendIndicator, TypewriterText, Typography, UIThemeDefinition, VStack, atlasFailed, atlasUrlOf, bandEdgeHeight, bandEdgeLayerStyle, bandEdgeMask, bandPadding, beginPending, blit, boxesOf, cn, compareCellValues, coreMessages, createTraitPresence, createTranslate, cssTimeMs, domPassthrough, endPending, entriesFor, evaluateBinding, evaluateBindings, extractRouteParams, findPageByName, findPageByPath, followHref, formatDate, formatDateTime, formatTime, formatValue, getAllPages, getAtlas, getCurrentIconFamily, getDefaultPage, getTraitPresence, guardsHold, isAbsoluteHref, isAtlasAsset, isInertNavStack, isMotionEnabled, isPending, isSpriteSheetAtlas, kebabToPascal, layoutScale, localeMeta, lucideIconKey, matchNavPage, mergeMessages, motionTiming, navLabelsFromItems, newPendingKey, pageEntryLabel, parseCalendarDate, pathMatches, presenceGroup, pressableProps, previousEntry, relabelCurrent, resolveAssetSource, resolveEntryLabels, resolveIconForFamily, resolveLucideByName, rowActivationProps, rowOpenControlProps, sortRows, subRectFor, subscribePending, svgMotionClass, syncNavStack, toDateInputValue, toDateTimeInputValue, useActivePage, useAnimateChanges, useAtlasSliceDataUrl, useContentSurface, useDialogBehavior, useFormatContext, useIconFamily, useInfiniteScroll, useInitPayload, useMediaQuery, useNavStack, useNavigateTo, useNavigation, useNavigationId, useNavigationState, useOnSurface, usePendingAction, usePendingRows, usePendingScopeValue, usePrefersReducedMotion, usePresence, useRenderI18n, useResolvedIcon, useScopeHasPending, useTapReveal, useThemeIconStrokeApplies, useTraitScope, useTraitScopeChain, useTranslate };
|
|
2599
|
-
export type { AnimatedGraphicProps, AnimatedRevealProps, AsideProps, AssetSource, AtlasImageAsset, AtlasImageProps, AtlasPanelProps, AvatarProps, AvatarSize, AvatarStatus, BandEdge, BandEdgeColor, BandEdgeLayerStyle, BooleanLabels, BoxBg, BoxMargin, BoxPadding, BoxProps, BoxRounded, BoxShadow, CardLook, CardProps, CardShadow, CenterProps, CheckboxProps, ConditionalContext, ConditionalWrapperProps, ConfettiEffectProps, ContentSurface, DayCellProps, DialogBehaviorOptions, DialogProps, DividerOrientation, DividerProps, DividerVariant, DomPassthrough, FilterPillProps, FilterPillSize, FilterPillVariant, FlipContainerProps, FormatContext, GameIconProps, GraphicAnimation, HStackProps, HighlightType, I18nContextValue, I18nProviderProps, IconFamily, ImageAspect, ImageFit, ImagePosition, ImageProps, ImageRounded, InfiniteScrollOptions, InfiniteScrollResult, InfiniteScrollSentinelProps, LabelProps, LawReference, LawReferenceTooltipProps, LocaleMeta, NavItemDecl, NavItemLabels, NavPageDecl, NavStackApi, NavStackProviderProps, NavStackRouterBridgeProps, NavStackState, NavigationContextValue, NavigationProviderProps, NavigationState, OverlayProps, PendingCrumb, PendingScopeValue, PresenceAnimation, PresenceProps, PresenceResult, PressableProps, ProgressBarColor, ProgressBarProps, ProgressBarType, ProgressBarVariant, RadioProps, RangeSliderProps, RangeSliderSize, RenderI18n, RenderedIcon, RenderedIconProps, RevealAnimation, RevealTrigger, RowActivationProps, SectionHeaderProps, SortDirection, SpacerProps, SpacerSize, SparklineColor, SparklineProps, SpinnerProps, SpinnerSize, SpriteRef, StackAlign, StackDirection, StackGap, StackJustify, StackProps, StatusDotProps, StatusDotSize, StatusDotStatus, SubRect, SupportedLocale, SvgBranchProps, SvgConnectionProps, SvgFlowProps, SvgGridProps, SvgLobeProps, SvgMeshProps, SvgMorphProps, SvgMotion, SvgNodeProps, SvgPulseProps, SvgRingProps, SvgShieldProps, SvgStackProps, SwitchProps, TapRevealOptions, TapRevealResult, TextHighlightProps, TextareaProps, ThemeToggleProps, TimeSlotCellProps, TraitPresence, TraitPresenceState, TraitScope, TraitScopeProviderProps, TranslateFunction, TrendDirection, TrendIndicatorProps, TrendIndicatorSize, TypewriterTextProps, TypographyProps, TypographySize, TypographyVariant, UsePresenceOptions, VStackProps, ValueFormat };
|
|
2616
|
+
export type { AnimatedGraphicProps, AnimatedRevealProps, AsideProps, AssetSource, AtlasImageAsset, AtlasImageProps, AtlasPanelProps, AvatarProps, AvatarSize, AvatarStatus, BandEdge, BandEdgeColor, BandEdgeLayerStyle, BooleanLabels, BoxBg, BoxMargin, BoxMarquee, BoxPadding, BoxProps, BoxRounded, BoxShadow, CardLook, CardProps, CardShadow, CenterProps, CheckboxProps, ConditionalContext, ConditionalWrapperProps, ConfettiEffectProps, ContentSurface, DayCellProps, DialogBehaviorOptions, DialogProps, DividerOrientation, DividerProps, DividerVariant, DomPassthrough, FilterPillProps, FilterPillSize, FilterPillVariant, FlipContainerProps, FormatContext, GameIconProps, GraphicAnimation, HStackProps, HighlightType, I18nContextValue, I18nProviderProps, IconFamily, ImageAspect, ImageFit, ImagePosition, ImageProps, ImageRounded, InfiniteScrollOptions, InfiniteScrollResult, InfiniteScrollSentinelProps, LabelProps, LawReference, LawReferenceTooltipProps, LocaleMeta, NavItemDecl, NavItemLabels, NavPageDecl, NavStackApi, NavStackProviderProps, NavStackRouterBridgeProps, NavStackState, NavigationContextValue, NavigationProviderProps, NavigationState, OverlayProps, PendingCrumb, PendingScopeValue, PresenceAnimation, PresenceProps, PresenceResult, PressableProps, ProgressBarColor, ProgressBarProps, ProgressBarType, ProgressBarVariant, RadioProps, RangeSliderProps, RangeSliderSize, RenderI18n, RenderedIcon, RenderedIconProps, RevealAnimation, RevealTrigger, RowActivationProps, SectionHeaderProps, SortDirection, SpacerProps, SpacerSize, SparklineColor, SparklineProps, SpinnerProps, SpinnerSize, SpriteRef, StackAlign, StackDirection, StackGap, StackJustify, StackProps, StatusDotProps, StatusDotSize, StatusDotStatus, SubRect, SupportedLocale, SvgBranchProps, SvgConnectionProps, SvgFlowProps, SvgGridProps, SvgLobeProps, SvgMeshProps, SvgMorphProps, SvgMotion, SvgNodeProps, SvgPulseProps, SvgRingProps, SvgShieldProps, SvgStackProps, SwitchProps, TapRevealOptions, TapRevealResult, TextHighlightProps, TextareaProps, ThemeToggleProps, TimeSlotCellProps, TraitPresence, TraitPresenceState, TraitScope, TraitScopeProviderProps, TranslateFunction, TrendDirection, TrendIndicatorProps, TrendIndicatorSize, TypewriterTextProps, TypographyProps, TypographySize, TypographyVariant, UsePresenceOptions, VStackProps, ValueFormat };
|
package/dist/core.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AnimatedGraphic, AnimatedReveal, Aside, AtlasImage, AtlasPanel, Avatar, BAND_ACCENT_FALLBACK, BAND_EDGE_FILL, BAND_SHAPES, BUILT_IN_THEMES, Badge, Box, Button, CONFETTI_BURST_KEYFRAMES, CONFETTI_COLORS, Card, CardBody, CardContent, CardFooter, CardHeader, CardTitle, Center, Checkbox, ConditionalWrapper, ConfettiEffect, DEFAULT_CURRENCY, DayCell, Dialog, Divider, EventBusContext, EventBusProvider, FilterPill, FlipContainer, GameIcon, HStack, I18nProvider, INLINE_TEXT_ATTR, Icon, Image, InfiniteScrollSentinel, Input, Label, LawReferenceTooltip, NavStackProvider, NavStackRouterBridge, NavigationProvider, Overlay, PatternTile, PendingScopeContext, Presence, ProgressBar, Radio, RangeSlider, STRETCHED_ABOVE, STRETCHED_CONTROL, SVG_MOTION_CLASSES, SectionHeader, Select, Spacer, Sparkline, Spinner, Stack, StatusDot, SurfaceBoundary, SvgBranch, SvgConnection, SvgFlow, SvgGrid, SvgLobe, SvgMesh, SvgMorph, SvgNode, SvgPulse, SvgRing, SvgShield, SvgStack, Switch, THEME_SCALE_KEYS, TextHighlight, Textarea, ThemeProvider, ThemeScopeContext, ThemeToggle, TimeSlotCell, TraitScopeProvider, TrendIndicator, TypewriterText, Typography, VStack, VideoEmbed, atlasFailed, atlasUrlOf, bandEdgeHeight, bandEdgeLayerStyle, bandEdgeMask, bandPadding, beginPending, blit, boxesOf, cn, compareCellValues, comparePathSpecificity, coreMessages, createConfettiParticles, createTraitPresence, createTranslate, cssTimeMs, domPassthrough, endPending, entriesFor, evaluateBinding, evaluateBindings, extractRouteParams, findPageByName, findPageByPath, followHref, formatDate, formatDateTime, formatTime, formatValue, fxHash01, fxLifecycle, getAllPages, getAtlas, getCurrentIconFamily, getDefaultPage, getGlobalEventBus, getTileDimensions, getTraitPresence, guardsHold, isAbsoluteHref, isAtlasAsset, isInertNavStack, isMotionEnabled, isPending, isSpriteSheetAtlas, kebabToPascal, keyInViewerMode, layoutScale, localeMeta, lucideIconKey, matchNavPage, matchPath, matchPathAmong, mergeMessages, motionTiming, navLabelsFromItems, newPendingKey, pageEntryLabel, parseCalendarDate, pathMatches, presenceGroup, pressableProps, previousEntry, registryKeyMode, registryKeyTheme, relabelCurrent, resolveAssetSource, resolveEntryLabels, resolveFxView, resolveIcon, resolveIconForFamily, resolveLucideByName, rowActivationProps, rowOpenControlProps, setGlobalEventBus, sortRows, subRectFor, subscribePending, svgMotionClass, syncNavStack, themeHasMode, toDateInputValue, toDateTimeInputValue, useActivePage, useAnimateChanges, useAtlasSliceDataUrl, useContentSurface, useDialogBehavior, useEmitEvent, useEventBus, useEventListener, useEventSubscription, useFormatContext, useIconFamily, useInfiniteScroll, useInitPayload, useMediaQuery, useNavStack, useNavigateTo, useNavigation, useNavigationId, useNavigationState, useOnSurface, usePendingAction, usePendingRows, usePendingScopeValue, usePrefersReducedMotion, usePresence, useRenderI18n, useResolvedIcon, useRootEventBus, useScopeHasPending, useScopedMode, useTapReveal, useTheme, useThemeIconStrokeApplies, useThemeScope, useTraitScope, useTraitScopeChain, useTranslate } from './chunk-
|
|
2
|
+
export { AnimatedGraphic, AnimatedReveal, Aside, AtlasImage, AtlasPanel, Avatar, BAND_ACCENT_FALLBACK, BAND_EDGE_FILL, BAND_SHAPES, BUILT_IN_THEMES, Badge, Box, Button, CONFETTI_BURST_KEYFRAMES, CONFETTI_COLORS, Card, CardBody, CardContent, CardFooter, CardHeader, CardTitle, Center, Checkbox, ConditionalWrapper, ConfettiEffect, DEFAULT_CURRENCY, DayCell, Dialog, Divider, EventBusContext, EventBusProvider, FilterPill, FlipContainer, GameIcon, HStack, I18nProvider, INLINE_TEXT_ATTR, Icon, Image, InfiniteScrollSentinel, Input, Label, LawReferenceTooltip, NavStackProvider, NavStackRouterBridge, NavigationProvider, Overlay, PatternTile, PendingScopeContext, Presence, ProgressBar, Radio, RangeSlider, STRETCHED_ABOVE, STRETCHED_CONTROL, SVG_MOTION_CLASSES, SectionHeader, Select, Spacer, Sparkline, Spinner, Stack, StatusDot, SurfaceBoundary, SvgBranch, SvgConnection, SvgFlow, SvgGrid, SvgLobe, SvgMesh, SvgMorph, SvgNode, SvgPulse, SvgRing, SvgShield, SvgStack, Switch, THEME_SCALE_KEYS, TextHighlight, Textarea, ThemeProvider, ThemeScopeContext, ThemeToggle, TimeSlotCell, TraitScopeProvider, TrendIndicator, TypewriterText, Typography, VStack, VideoEmbed, atlasFailed, atlasUrlOf, bandEdgeHeight, bandEdgeLayerStyle, bandEdgeMask, bandPadding, beginPending, blit, boxesOf, cn, compareCellValues, comparePathSpecificity, coreMessages, createConfettiParticles, createTraitPresence, createTranslate, cssTimeMs, domPassthrough, endPending, entriesFor, evaluateBinding, evaluateBindings, extractRouteParams, findPageByName, findPageByPath, followHref, formatDate, formatDateTime, formatTime, formatValue, fxHash01, fxLifecycle, getAllPages, getAtlas, getCurrentIconFamily, getDefaultPage, getGlobalEventBus, getTileDimensions, getTraitPresence, guardsHold, isAbsoluteHref, isAtlasAsset, isColorToken, isInertNavStack, isMotionEnabled, isPending, isSpriteSheetAtlas, kebabToPascal, keyInViewerMode, layoutScale, localeMeta, lucideIconKey, matchNavPage, matchPath, matchPathAmong, mergeMessages, motionTiming, navLabelsFromItems, newPendingKey, pageEntryLabel, parseCalendarDate, pathMatches, presenceGroup, pressableProps, previousEntry, registryKeyMode, registryKeyTheme, relabelCurrent, resolveAssetSource, resolveColorToken, resolveEntryLabels, resolveFxView, resolveIcon, resolveIconForFamily, resolveLucideByName, rowActivationProps, rowOpenControlProps, setGlobalEventBus, sortRows, subRectFor, subscribePending, svgMotionClass, syncNavStack, themeHasMode, toDateInputValue, toDateTimeInputValue, useActivePage, useAnimateChanges, useAtlasSliceDataUrl, useContentSurface, useDialogBehavior, useEmitEvent, useEventBus, useEventListener, useEventSubscription, useFormatContext, useIconFamily, useInfiniteScroll, useInitPayload, useMediaQuery, useNavStack, useNavigateTo, useNavigation, useNavigationId, useNavigationState, useOnSurface, usePendingAction, usePendingRows, usePendingScopeValue, usePrefersReducedMotion, usePresence, useRenderI18n, useResolvedIcon, useRootEventBus, useScopeHasPending, useScopedMode, useTapReveal, useTheme, useThemeIconStrokeApplies, useThemeScope, useTraitScope, useTraitScopeChain, useTranslate } from './chunk-D5FJU4XC.js';
|
|
3
3
|
import './chunk-G7DCAZ22.js';
|
|
@@ -40,6 +40,9 @@ declare const Badge: React__default.ForwardRefExoticComponent<BadgeProps & React
|
|
|
40
40
|
* over a bare `string` for any `color` or `variant` prop.
|
|
41
41
|
*/
|
|
42
42
|
type ColorToken = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'muted';
|
|
43
|
+
declare function isColorToken(value: string): value is ColorToken;
|
|
44
|
+
/** A palette token's CSS variable, or the raw CSS color value passed through. */
|
|
45
|
+
declare function resolveColorToken(color: ColorToken | string): string;
|
|
43
46
|
/**
|
|
44
47
|
* Concrete error-state shape read by display components (`error.message`,
|
|
45
48
|
* occasionally `error.stack`). Structurally assignable from the global `Error`,
|
|
@@ -367,5 +370,5 @@ declare function createConfettiParticles(count: number, seed: string): ConfettiP
|
|
|
367
370
|
/** The confetti burst keyframes (per-particle travel via CSS custom props). */
|
|
368
371
|
declare const CONFETTI_BURST_KEYFRAMES = "\n@keyframes confetti-burst {\n 0% {\n opacity: 1;\n transform: translate(0, 0) rotate(0deg) scale(1);\n }\n 70% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translate(var(--confetti-tx), var(--confetti-ty)) rotate(var(--confetti-rotate)) scale(0.5);\n }\n}\n";
|
|
369
372
|
|
|
370
|
-
export { Badge as B, CONFETTI_BURST_KEYFRAMES as C, CONFETTI_COLORS as f, Icon as q, createConfettiParticles as v, fxHash01 as w, fxLifecycle as x,
|
|
373
|
+
export { resolveFxView as A, Badge as B, CONFETTI_BURST_KEYFRAMES as C, resolveIcon as E, CONFETTI_COLORS as f, Icon as q, createConfettiParticles as v, fxHash01 as w, fxLifecycle as x, isColorToken as y, resolveColorToken as z };
|
|
371
374
|
export type { DisplayField as D, FxItem as F, IconInput as I, LinkAction as L, Point as P, Rect as R, UiError as U, FxPreset as a, BadgeColor as b, BadgeProps as c, BadgeSize as d, BadgeVariant as e, ColorToken as g, ConfettiParticle as h, DisplayFieldFormat as i, DisplayFieldVariant as j, FxLifecycle as k, FxOverlayItem as l, FxOverlayKind as m, FxProceduralShape as n, FxSpace as o, FxView as p, IconAnimation as r, IconProps as s, IconSize as t, ImageSource as u };
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OrbitalSchema, FieldValue, EventPayload, BusEventSource, EntityFrameState, EntityFieldWrite, PageMeta, PageAccess, PageIndexing, LocaleAlternate } from '@almadar/core';
|
|
2
2
|
export { BusEvent, BusEventListener, BusEventSource, BusEventListener as EventListener, UISlot, Unsubscribe } from '@almadar/core';
|
|
3
|
-
export { D as DEFAULT_SLOTS, S as SlotChangeCallback, a as SlotContent, b as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-
|
|
3
|
+
export { D as DEFAULT_SLOTS, S as SlotChangeCallback, a as SlotContent, b as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-BLcGd__D.js';
|
|
4
4
|
import { useEventBus } from '../core.js';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import React__default from 'react';
|
|
@@ -899,7 +899,7 @@ interface GitHubRepo {
|
|
|
899
899
|
/**
|
|
900
900
|
* Hook to get GitHub connection status
|
|
901
901
|
*/
|
|
902
|
-
declare function useGitHubStatus(): _tanstack_react_query.UseQueryResult<GitHubStatus
|
|
902
|
+
declare function useGitHubStatus(): _tanstack_react_query.UseQueryResult<NoInfer<GitHubStatus>, Error>;
|
|
903
903
|
/**
|
|
904
904
|
* Hook to connect GitHub (initiate OAuth flow)
|
|
905
905
|
*/
|
|
@@ -913,23 +913,23 @@ declare function useDisconnectGitHub(): _tanstack_react_query.UseMutationResult<
|
|
|
913
913
|
/**
|
|
914
914
|
* Hook to list GitHub repositories
|
|
915
915
|
*/
|
|
916
|
-
declare function useGitHubRepos(page?: number, perPage?: number): _tanstack_react_query.UseQueryResult<{
|
|
916
|
+
declare function useGitHubRepos(page?: number, perPage?: number): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
917
917
|
repos: GitHubRepo[];
|
|
918
918
|
page: number;
|
|
919
919
|
perPage: number;
|
|
920
|
-
}
|
|
920
|
+
}>, Error>;
|
|
921
921
|
/**
|
|
922
922
|
* Hook to get repository details
|
|
923
923
|
*/
|
|
924
|
-
declare function useGitHubRepo(owner: string, repo: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<{
|
|
924
|
+
declare function useGitHubRepo(owner: string, repo: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
925
925
|
repo: GitHubRepo;
|
|
926
|
-
}
|
|
926
|
+
}>, Error>;
|
|
927
927
|
/**
|
|
928
928
|
* Hook to list repository branches
|
|
929
929
|
*/
|
|
930
|
-
declare function useGitHubBranches(owner: string, repo: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<{
|
|
930
|
+
declare function useGitHubBranches(owner: string, repo: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
931
931
|
branches: string[];
|
|
932
|
-
}
|
|
932
|
+
}>, Error>;
|
|
933
933
|
|
|
934
934
|
/**
|
|
935
935
|
* The active page's document head on client navigation — the same declared
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { SharedEntityStoreContext, createSharedEntityStore, runTickFrame, useAgentChat, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, usePreview, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useTickVisibility, useTraitListens, useUIEvents, useValidation } from '../chunk-
|
|
3
|
-
export { claimDelivery, keyChord, mergeCaptureTables, parseQueryBinding, useAuthContext, useCanvasGestures, useDragReorder, useKeyboardRouter, useLongPress, usePageHead, usePullToRefresh, useQuerySingleton, useSwipeGesture } from '../chunk-
|
|
4
|
-
export { ALMADAR_DND_MIME, useDraggable, useDropZone } from '../chunk-
|
|
5
|
-
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
2
|
+
export { SharedEntityStoreContext, createSharedEntityStore, runTickFrame, useAgentChat, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, usePreview, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useTickVisibility, useTraitListens, useUIEvents, useValidation } from '../chunk-PWXZN5G5.js';
|
|
3
|
+
export { claimDelivery, keyChord, mergeCaptureTables, parseQueryBinding, useAuthContext, useCanvasGestures, useDragReorder, useKeyboardRouter, useLongPress, usePageHead, usePullToRefresh, useQuerySingleton, useSwipeGesture } from '../chunk-S3LS3B7N.js';
|
|
4
|
+
export { ALMADAR_DND_MIME, useDraggable, useDropZone } from '../chunk-GHAF7QUD.js';
|
|
5
|
+
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-ANTJUQRD.js';
|
|
6
|
+
import '../chunk-D5FJU4XC.js';
|
|
7
|
+
import '../chunk-AZ74UPG6.js';
|
|
8
8
|
import '../chunk-G7DCAZ22.js';
|