@almadar/ui 2.12.0 → 2.12.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/dist/components/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { DEFAULT_CONFIG, renderStateMachineToDomData, parseContentSegments, isDebugEnabled, onDebugToggle, subscribeToTickChanges, subscribeToGuardChanges, subscribeToDebugEvents, getEntitySnapshot, getDebugEvents, getGuardHistory, getAllTicks } from '../chunk-4ZBSL37D.js';
|
|
2
|
-
import { useAuthContext } from '../chunk-GTIAVPI5.js';
|
|
3
|
-
export { ENTITY_EVENTS, useAgentChat, useAuthContext, useCompile, useConnectGitHub, useCreateEntity, useDeepAgentGeneration, useDeleteEntity, useDisconnectGitHub, useEntities, useEntitiesByType, useEntity as useEntityById, useEntityMutations, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInput, useOrbitalHistory, useOrbitalMutations, usePhysics, usePinchZoom, usePlayer, usePreview, useResolvedEntity, useSelectedEntity, useSendOrbitalEvent, useSingletonEntity, useUIEvents, useUpdateEntity, useValidation } from '../chunk-GTIAVPI5.js';
|
|
4
|
-
export { clearEntities, getAllEntities, getByType, getEntity, getSingleton, removeEntity, spawnEntity, updateEntity, updateSingleton } from '../chunk-N7MVUW4R.js';
|
|
5
|
-
import { subscribeToTraitChanges, getAllTraits } from '../chunk-42YQ6JVR.js';
|
|
6
|
-
import '../chunk-3HJHHULT.js';
|
|
7
2
|
import { VStack, HStack, Typography, Button, Icon, Box, Card, Avatar, Badge, SearchInput, Checkbox, Menu as Menu$1, Pagination, LoadingState, EmptyState, Modal, ErrorState, QuizBlock, CodeBlock, ScaledDiagram, MarkdownContent, Divider, ProgressBar, isoToScreen, IsometricCanvas_default, Stack, Select, Drawer, Toast, Tabs, Input, ThemeToggle, TILE_WIDTH, EntityDisplayEvents, StateIndicator, Accordion, ButtonGroup, Container } from '../chunk-JDISOWHE.js';
|
|
8
3
|
export { ALL_PRESETS, Accordion, ActionButton, ActionButtons, Card2 as ActionCard, Alert, AnimatedCounter, Avatar, Badge, Box, Breadcrumb, Button, ButtonGroup, CalendarGrid, CanvasEffect, Card, CardBody, CardContent, CardFooter, CardGrid, CardHeader, CardTitle, Carousel, Center, Chart, ChartLegend, Checkbox, ChoiceButton, CodeBlock, CombatLog, ComboCounter, ConditionalWrapper, ConfettiEffect, Container, ControlButton, CraftingRecipe, DIAMOND_TOP_Y, DPad, DamageNumber, DataGrid, DataList, DataTable, DateRangeSelector, DayCell, DetailPanel, DialogueBox, DialogueBubble, Divider, Drawer, EmptyState, EnemyPlate, EntityDisplayEvents, ErrorBoundary, ErrorState, FEATURE_COLORS, FLOOR_HEIGHT, FilterGroup, Flex, FlipCard, FlipContainer, FloatingActionButton, Form, FormField, FormSectionHeader, GameCanvas2D, GameHud, GameMenu, GameOverScreen, GraphView, Grid, HStack, Heading, HealthBar, HealthPanel, Icon, InfiniteScrollSentinel, Input, InputGroup, InventoryGrid, InventoryPanel, IsometricCanvas, ItemSlot, Label, LawReferenceTooltip, Lightbox, LineChart, LoadingState, MapView, MarkdownContent, MasterDetail, Menu, Meter, MiniMap, Modal, NumberStepper, Overlay, PageHeader, Pagination, PlatformerCanvas, Popover, PowerupSlots, ProgressBar, ProgressDots, PullToRefresh, QuestTracker, QuizBlock, Radio, RangeSlider, RelationSelect, RepeatableFormSection, ResourceBar, ResourceCounter, ScaledDiagram, ScoreBoard, ScoreDisplay, SearchInput, Select, SidePanel, SimpleGrid, SimulationCanvas, SimulationControls, SimulationGraph, Skeleton, SlotContentRenderer, SortableList, Spacer, Spinner, Sprite, Stack, StarRating, StatBadge, StatCard, StatDisplay, StateIndicator, StatusDot, StatusEffect, SwipeableRow, Switch, TILE_HEIGHT, TILE_WIDTH, Tabs, Text, TextHighlight, Textarea, ThemeSelector, ThemeToggle, TimeSlotCell, TimerDisplay, Toast, Tooltip, TrendIndicator, TurnIndicator, TurnPanel, TypewriterText, Typography, UISlotComponent, UISlotRenderer, UnitCommandBar, UploadDropZone, VStack, ViolationAlert, WaypointMarker, WizardNavigation, WizardProgress, XPBar, drawSprite, isoToScreen, pendulum, projectileMotion, screenToIso, springOscillator, useCamera, useImageCache } from '../chunk-JDISOWHE.js';
|
|
9
4
|
import '../chunk-DKQN5FVU.js';
|
|
5
|
+
import { useAuthContext } from '../chunk-IZ6VXK33.js';
|
|
6
|
+
export { ENTITY_EVENTS, useAgentChat, useAuthContext, useCompile, useConnectGitHub, useCreateEntity, useDeepAgentGeneration, useDeleteEntity, useDisconnectGitHub, useEntities, useEntitiesByType, useEntity as useEntityById, useEntityMutations, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInput, useOrbitalHistory, useOrbitalMutations, usePhysics, usePinchZoom, usePlayer, usePreview, useResolvedEntity, useSelectedEntity, useSendOrbitalEvent, useSingletonEntity, useUIEvents, useUpdateEntity, useValidation } from '../chunk-IZ6VXK33.js';
|
|
10
7
|
import { useTranslate } from '../chunk-WGJIL4YR.js';
|
|
11
8
|
export { EntityDataProvider, I18nProvider, createTranslate, entityDataKeys, parseQueryBinding, useDragReorder, useEntity, useEntityDataAdapter, useEntityDetail, useEntityList, useEntityListSuspense, useEntitySuspense, useInfiniteScroll, useLongPress, usePullToRefresh, useQuerySingleton, useSwipeGesture, useTranslate } from '../chunk-WGJIL4YR.js';
|
|
12
9
|
import { useEventBus, useEventListener } from '../chunk-YXZM3WCF.js';
|
|
13
10
|
export { useEmitEvent, useEventBus, useEventListener } from '../chunk-YXZM3WCF.js';
|
|
14
11
|
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-3JGAROCW.js';
|
|
12
|
+
import '../chunk-TSETXL2E.js';
|
|
13
|
+
import { subscribeToTraitChanges, getAllTraits } from '../chunk-42YQ6JVR.js';
|
|
15
14
|
import { cn, getNestedValue, subscribeToVerification, getSummary, getBridgeHealth, getTransitions, getAllChecks } from '../chunk-WCTZ7WZX.js';
|
|
16
15
|
export { cn } from '../chunk-WCTZ7WZX.js';
|
|
17
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-3HJHHULT.js';
|
|
18
17
|
import '../chunk-K2D5D3WK.js';
|
|
18
|
+
export { clearEntities, getAllEntities, getByType, getEntity, getSingleton, removeEntity, spawnEntity, updateEntity, updateSingleton } from '../chunk-N7MVUW4R.js';
|
|
19
19
|
import { __publicField } from '../chunk-PKBMQBKP.js';
|
|
20
20
|
import * as React44 from 'react';
|
|
21
21
|
import React44__default, { createContext, useState, useCallback, useMemo, useEffect, useRef, useContext } from 'react';
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ENTITY_EVENTS, useAgentChat, useAuthContext, useCompile, useConnectGitHub, useCreateEntity, useDeepAgentGeneration, useDeleteEntity, useDisconnectGitHub, useEntities, useEntitiesByType, useEntity as useEntityById, useEntityMutations, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInput, useOrbitalHistory, useOrbitalMutations, usePhysics, usePinchZoom, usePlayer, usePreview, useResolvedEntity, useSelectedEntity, useSendOrbitalEvent, useSingletonEntity, useUIEvents, useUpdateEntity, useValidation } from '../chunk-
|
|
2
|
-
export { clearEntities, getAllEntities, getByType, getEntity, getSingleton, removeEntity, spawnEntity, updateEntity, updateSingleton } from '../chunk-N7MVUW4R.js';
|
|
3
|
-
import '../chunk-3HJHHULT.js';
|
|
1
|
+
export { ENTITY_EVENTS, useAgentChat, useAuthContext, useCompile, useConnectGitHub, useCreateEntity, useDeepAgentGeneration, useDeleteEntity, useDisconnectGitHub, useEntities, useEntitiesByType, useEntity as useEntityById, useEntityMutations, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInput, useOrbitalHistory, useOrbitalMutations, usePhysics, usePinchZoom, usePlayer, usePreview, useResolvedEntity, useSelectedEntity, useSendOrbitalEvent, useSingletonEntity, useUIEvents, useUpdateEntity, useValidation } from '../chunk-IZ6VXK33.js';
|
|
4
2
|
export { EntityDataProvider, I18nProvider, createTranslate, entityDataKeys, parseQueryBinding, useDragReorder, useEntity, useEntityDataAdapter, useEntityDetail, useEntityList, useEntityListSuspense, useEntitySuspense, useInfiniteScroll, useLongPress, usePullToRefresh, useQuerySingleton, useSwipeGesture, useTranslate } from '../chunk-WGJIL4YR.js';
|
|
5
3
|
export { useEmitEvent, useEventBus, useEventListener } from '../chunk-YXZM3WCF.js';
|
|
6
4
|
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-3JGAROCW.js';
|
|
7
5
|
import '../chunk-TSETXL2E.js';
|
|
6
|
+
import '../chunk-3HJHHULT.js';
|
|
7
|
+
export { clearEntities, getAllEntities, getByType, getEntity, getSingleton, removeEntity, spawnEntity, updateEntity, updateSingleton } from '../chunk-N7MVUW4R.js';
|
|
8
8
|
import '../chunk-PKBMQBKP.js';
|
package/dist/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { DEFAULT_CONFIG, clearDebugEvents, clearEntityProvider, clearGuardHistory, clearTicks, extractOutputsFromTransitions, extractStateMachine, formatGuard, getAllTicks, getDebugEvents, getEffectSummary, getEntitiesByType, getEntityById, getEntitySnapshot, getEventsBySource, getEventsByType, getGuardEvaluationsForTrait, getGuardHistory, getRecentEvents, getRecentGuardEvaluations, getTick, initDebugShortcut, logDebugEvent, logEffectExecuted, logError, logEventFired, logInfo, logStateChange, logWarning, onDebugToggle, parseContentSegments, parseMarkdownWithCodeBlocks, recordGuardEvaluation, registerTick, renderStateMachineToDomData, renderStateMachineToSvg, setDebugEnabled, setEntityProvider, setTickActive, subscribeToDebugEvents, subscribeToGuardChanges, subscribeToTickChanges, toggleDebug, unregisterTick, updateTickExecution } from '../chunk-4ZBSL37D.js';
|
|
2
2
|
export { clearTraits, getAllTraits, getTrait, registerTrait, subscribeToTraitChanges, unregisterTrait, updateGuardResult, updateTraitState } from '../chunk-42YQ6JVR.js';
|
|
3
|
-
export { ApiError, apiClient } from '../chunk-3HJHHULT.js';
|
|
4
3
|
export { bindCanvasCapture, bindEventBus, bindTraitStateGetter, clearVerification, cn, debug, debugCollision, debugError, debugGameState, debugGroup, debugGroupEnd, debugInput, debugPhysics, debugTable, debugTime, debugTimeEnd, debugWarn, formatNestedFieldLabel, getAllChecks, getBridgeHealth, getNestedValue, getSnapshot, getSummary, getTransitions, getTransitionsForTrait, isDebugEnabled, recordTransition, registerCheck, subscribeToVerification, updateAssetStatus, updateBridgeHealth, updateCheck, waitForTransition } from '../chunk-WCTZ7WZX.js';
|
|
4
|
+
export { ApiError, apiClient } from '../chunk-3HJHHULT.js';
|
|
5
5
|
import '../chunk-PKBMQBKP.js';
|
package/dist/providers/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import '../chunk-DKQN5FVU.js';
|
|
|
4
4
|
export { SelectionContext, SelectionProvider, useSelection, useSelectionOptional } from '../chunk-WGJIL4YR.js';
|
|
5
5
|
export { EventBusContext, EventBusProvider } from '../chunk-YXZM3WCF.js';
|
|
6
6
|
import '../chunk-3JGAROCW.js';
|
|
7
|
-
import '../chunk-WCTZ7WZX.js';
|
|
8
7
|
import '../chunk-TSETXL2E.js';
|
|
8
|
+
import '../chunk-WCTZ7WZX.js';
|
|
9
9
|
import '../chunk-K2D5D3WK.js';
|
|
10
10
|
import '../chunk-PKBMQBKP.js';
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import '../chunk-GTIAVPI5.js';
|
|
2
|
-
import '../chunk-N7MVUW4R.js';
|
|
3
|
-
import { registerTrait, unregisterTrait, updateTraitState } from '../chunk-42YQ6JVR.js';
|
|
4
|
-
import '../chunk-3HJHHULT.js';
|
|
5
1
|
import { useFetchedDataContext } from '../chunk-TVP75XPM.js';
|
|
6
2
|
import '../chunk-JDISOWHE.js';
|
|
7
3
|
import '../chunk-DKQN5FVU.js';
|
|
4
|
+
import '../chunk-IZ6VXK33.js';
|
|
8
5
|
import '../chunk-WGJIL4YR.js';
|
|
9
6
|
import { useEventBus } from '../chunk-YXZM3WCF.js';
|
|
10
7
|
import '../chunk-3JGAROCW.js';
|
|
11
|
-
import { recordTransition } from '../chunk-WCTZ7WZX.js';
|
|
12
8
|
import '../chunk-TSETXL2E.js';
|
|
9
|
+
import { registerTrait, unregisterTrait, updateTraitState } from '../chunk-42YQ6JVR.js';
|
|
10
|
+
import { recordTransition } from '../chunk-WCTZ7WZX.js';
|
|
11
|
+
import '../chunk-3HJHHULT.js';
|
|
13
12
|
import '../chunk-K2D5D3WK.js';
|
|
13
|
+
import '../chunk-N7MVUW4R.js';
|
|
14
14
|
import '../chunk-PKBMQBKP.js';
|
|
15
15
|
import { createContext, useMemo, useContext, useState, useRef, useEffect, useCallback } from 'react';
|
|
16
16
|
import { isCircuitEvent, schemaToIR, getPage, clearSchemaCache as clearSchemaCache$1 } from '@almadar/core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/ui",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "React UI components, hooks, and providers for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/components/index.js",
|
|
@@ -8,44 +8,54 @@
|
|
|
8
8
|
"types": "./dist/components/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
+
"types": "./dist/components/index.d.ts",
|
|
11
12
|
"import": "./dist/components/index.js",
|
|
12
|
-
"
|
|
13
|
+
"require": "./dist/components/index.js"
|
|
13
14
|
},
|
|
14
15
|
"./components": {
|
|
16
|
+
"types": "./dist/components/index.d.ts",
|
|
15
17
|
"import": "./dist/components/index.js",
|
|
16
|
-
"
|
|
18
|
+
"require": "./dist/components/index.js"
|
|
17
19
|
},
|
|
18
20
|
"./hooks": {
|
|
21
|
+
"types": "./dist/hooks/index.d.ts",
|
|
19
22
|
"import": "./dist/hooks/index.js",
|
|
20
|
-
"
|
|
23
|
+
"require": "./dist/hooks/index.js"
|
|
21
24
|
},
|
|
22
25
|
"./providers": {
|
|
26
|
+
"types": "./dist/providers/index.d.ts",
|
|
23
27
|
"import": "./dist/providers/index.js",
|
|
24
|
-
"
|
|
28
|
+
"require": "./dist/providers/index.js"
|
|
25
29
|
},
|
|
26
30
|
"./context": {
|
|
31
|
+
"types": "./dist/context/index.d.ts",
|
|
27
32
|
"import": "./dist/context/index.js",
|
|
28
|
-
"
|
|
33
|
+
"require": "./dist/context/index.js"
|
|
29
34
|
},
|
|
30
35
|
"./renderer": {
|
|
36
|
+
"types": "./dist/renderer/index.d.ts",
|
|
31
37
|
"import": "./dist/renderer/index.js",
|
|
32
|
-
"
|
|
38
|
+
"require": "./dist/renderer/index.js"
|
|
33
39
|
},
|
|
34
40
|
"./runtime": {
|
|
41
|
+
"types": "./dist/runtime/index.d.ts",
|
|
35
42
|
"import": "./dist/runtime/index.js",
|
|
36
|
-
"
|
|
43
|
+
"require": "./dist/runtime/index.js"
|
|
37
44
|
},
|
|
38
45
|
"./stores": {
|
|
46
|
+
"types": "./dist/stores/index.d.ts",
|
|
39
47
|
"import": "./dist/stores/index.js",
|
|
40
|
-
"
|
|
48
|
+
"require": "./dist/stores/index.js"
|
|
41
49
|
},
|
|
42
50
|
"./lib": {
|
|
51
|
+
"types": "./dist/lib/index.d.ts",
|
|
43
52
|
"import": "./dist/lib/index.js",
|
|
44
|
-
"
|
|
53
|
+
"require": "./dist/lib/index.js"
|
|
45
54
|
},
|
|
46
55
|
"./components/organisms/game/three": {
|
|
56
|
+
"types": "./dist/components/organisms/game/three/index.d.ts",
|
|
47
57
|
"import": "./dist/components/organisms/game/three/index.js",
|
|
48
|
-
"
|
|
58
|
+
"require": "./dist/components/organisms/game/three/index.js"
|
|
49
59
|
},
|
|
50
60
|
"./components/organisms/game/TraitStateViewer": {
|
|
51
61
|
"import": "./components/organisms/game/TraitStateViewer.tsx",
|
|
@@ -61,8 +71,9 @@
|
|
|
61
71
|
},
|
|
62
72
|
"./themes/*.css": "./themes/*.css",
|
|
63
73
|
"./locales": {
|
|
74
|
+
"types": "./dist/locales/index.d.ts",
|
|
64
75
|
"import": "./dist/locales/index.js",
|
|
65
|
-
"
|
|
76
|
+
"require": "./dist/locales/index.js"
|
|
66
77
|
},
|
|
67
78
|
"./index.css": "./index.css"
|
|
68
79
|
},
|
|
@@ -93,7 +104,6 @@
|
|
|
93
104
|
"@react-three/drei": "^9.92.0 || ^10.0.0",
|
|
94
105
|
"@react-three/fiber": "^8.15.0",
|
|
95
106
|
"@tanstack/react-query": "^5.0.0",
|
|
96
|
-
"@docusaurus/theme-common": "*",
|
|
97
107
|
"react": ">=18.0.0",
|
|
98
108
|
"react-dom": ">=18.0.0",
|
|
99
109
|
"react-router-dom": "^7.0.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { subscribe, getSnapshot, clearEntities, removeEntity, updateSingleton, updateEntity, spawnEntity, getSingleton, getAllEntities, getByType, getEntity } from './chunk-N7MVUW4R.js';
|
|
2
|
-
import { apiClient } from './chunk-3HJHHULT.js';
|
|
3
1
|
import { SelectionContext, entityDataKeys, useEntityList } from './chunk-WGJIL4YR.js';
|
|
4
2
|
import { useEventBus } from './chunk-YXZM3WCF.js';
|
|
3
|
+
import { apiClient } from './chunk-3HJHHULT.js';
|
|
4
|
+
import { subscribe, getSnapshot, clearEntities, removeEntity, updateSingleton, updateEntity, spawnEntity, getSingleton, getAllEntities, getByType, getEntity } from './chunk-N7MVUW4R.js';
|
|
5
5
|
import { useCallback, useState, useEffect, useMemo, useContext, useSyncExternalStore, useRef } from 'react';
|
|
6
6
|
import { useQueryClient, useMutation, useQuery } from '@tanstack/react-query';
|
|
7
7
|
|