@almadar/ui 2.15.3 → 2.15.4
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/{chunk-TIF43AT6.js → chunk-R3OXC4BR.js} +2 -2
- package/dist/{chunk-PDDJCWBH.js → chunk-TUZENSM7.js} +3 -2
- package/dist/components/index.js +3 -3
- package/dist/components/molecules/Carousel.d.ts +4 -2
- package/dist/providers/index.js +3 -3
- package/dist/runtime/index.js +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SuspenseConfigProvider } from './chunk-
|
|
2
|
-
import { ThemeProvider } from './chunk-DKQN5FVU.js';
|
|
1
|
+
import { SuspenseConfigProvider } from './chunk-TUZENSM7.js';
|
|
3
2
|
import { SelectionProvider, EntityDataProvider } from './chunk-QU2X55WH.js';
|
|
4
3
|
import { useEventBus, EventBusProvider } from './chunk-YXZM3WCF.js';
|
|
4
|
+
import { ThemeProvider } from './chunk-DKQN5FVU.js';
|
|
5
5
|
import { recordTransition, registerCheck, bindEventBus, bindTraitStateGetter } from './chunk-XL7WB2O5.js';
|
|
6
6
|
import { useOfflineExecutor } from './chunk-K2D5D3WK.js';
|
|
7
7
|
import { createContext, useState, useCallback, useMemo, useContext, useRef, useEffect } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useAssetLoader, useGameCanvas3DEvents, ModelLoader, Canvas3DLoadingState, Canvas3DErrorBoundary, UnitRenderer, TileRenderer, Scene3D, PhysicsObject3D, Lighting3D, FeatureRenderer3D, FeatureRenderer, Camera3D } from './chunk-4N3BAPDB.js';
|
|
2
|
-
import { useTheme, useUISlots } from './chunk-DKQN5FVU.js';
|
|
3
2
|
import { useTranslate, useInfiniteScroll, useQuerySingleton, useLongPress, useSwipeGesture, useDragReorder, usePullToRefresh, useAuthContext } from './chunk-QU2X55WH.js';
|
|
4
3
|
import { useEventBus, useEventListener } from './chunk-YXZM3WCF.js';
|
|
4
|
+
import { useTheme, useUISlots } from './chunk-DKQN5FVU.js';
|
|
5
5
|
import { cn, DEFAULT_CONFIG, debugGroup, debug, debugGroupEnd, updateAssetStatus, bindCanvasCapture, getNestedValue, isDebugEnabled, renderStateMachineToDomData, parseContentSegments, isDebugEnabled2, onDebugToggle, subscribeToTraitChanges, subscribeToTickChanges, subscribeToGuardChanges, subscribeToDebugEvents, subscribeToVerification, getEntitySnapshot, getSummary, getBridgeHealth, getTransitions, getAllChecks, getDebugEvents, getGuardHistory, getAllTicks, getAllTraits } from './chunk-XL7WB2O5.js';
|
|
6
6
|
import { isPortalSlot } from './chunk-K2D5D3WK.js';
|
|
7
7
|
import { __publicField } from './chunk-PKBMQBKP.js';
|
|
@@ -13354,6 +13354,7 @@ function useSafeEventBus10() {
|
|
|
13354
13354
|
var Carousel = ({
|
|
13355
13355
|
items,
|
|
13356
13356
|
renderItem,
|
|
13357
|
+
children,
|
|
13357
13358
|
autoPlay = false,
|
|
13358
13359
|
autoPlayInterval = 5e3,
|
|
13359
13360
|
showDots = true,
|
|
@@ -13488,7 +13489,7 @@ var Carousel = ({
|
|
|
13488
13489
|
style: {
|
|
13489
13490
|
scrollSnapAlign: "start"
|
|
13490
13491
|
},
|
|
13491
|
-
children: renderItem(item, index)
|
|
13492
|
+
children: (renderItem ?? children)?.(item, index)
|
|
13492
13493
|
},
|
|
13493
13494
|
index
|
|
13494
13495
|
))
|
package/dist/components/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { ENTITY_EVENTS, useAgentChat, 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-IRIGCHP4.js';
|
|
2
2
|
export { clearEntities, getAllEntities, getByType, getEntity, getSingleton, removeEntity, spawnEntity, updateEntity, updateSingleton } from '../chunk-N7MVUW4R.js';
|
|
3
3
|
import '../chunk-3HJHHULT.js';
|
|
4
|
-
import { VStack, HStack, Typography, Button, Icon, Box, Card, DataTable, Badge, Toast } from '../chunk-
|
|
5
|
-
export { ALL_PRESETS, AR_BOOK_FIELDS, Accordion, ActionButton, ActionButtons, Card2 as ActionCard, ActionPalette, ActionTile, Alert, AnimatedCounter, AuthLayout, Avatar, Badge, BattleBoard, BattleTemplate, BookChapterView, BookCoverPage, BookNavBar, BookTableOfContents, BookViewer, Box, Breadcrumb, BuilderBoard, Button, ButtonGroup, CalendarGrid, CanvasEffect, Card, CardBody, CardContent, CardFooter, CardGrid, CardHeader, CardTitle, Carousel, CastleBoard, CastleTemplate, Center, Chart, ChartLegend, Checkbox, ChoiceButton, ClassifierBoard, CodeBlock, CodeView, CodeViewer, CombatLog, ComboCounter, ConditionalWrapper, ConfettiEffect, ConfirmDialog, Container, ContentRenderer, ControlButton, CounterTemplate, CraftingRecipe, DIAMOND_TOP_Y, DPad, DamageNumber, DashboardGrid, DashboardLayout, DataGrid, DataList, DataTable, DateRangeSelector, DayCell, DebuggerBoard, DetailPanel, DialogueBox, DialogueBubble, Divider, DocumentViewer, StateMachineView as DomStateMachineVisualizer, Drawer, DrawerSlot, EmptyState, EnemyPlate, EntityDisplayEvents, ErrorBoundary, ErrorState, EventHandlerBoard, EventLog, FEATURE_COLORS, FLOOR_HEIGHT, FilterGroup, Flex, FlipCard, FlipContainer, FloatingActionButton, Form, FormField, FormSectionHeader, GameAudioContext, GameAudioProvider, GameAudioToggle, GameCanvas2D, GameHud, GameMenu, GameOverScreen, GameShell, GameTemplate, GenericAppTemplate, GraphCanvas, GraphView, Grid, HStack, Header, Heading, HealthBar, HealthPanel, IDENTITY_BOOK_FIELDS, Icon, InfiniteScrollSentinel, Input, InputGroup, InventoryGrid, InventoryPanel, IsometricCanvas, ItemSlot, JazariStateMachine, Label, LawReferenceTooltip, Lightbox, LineChart, List, LoadingState, MapView, MarkdownContent, MediaGallery, Menu, Meter, MiniMap, Modal, ModalSlot, Navigation, NegotiatorBoard, NumberStepper, ObjectRulePanel, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, Overlay, PageHeader, Pagination, PlatformerCanvas, Popover, PowerupSlots, ProgressBar, ProgressDots, PullToRefresh, QuestTracker, QuizBlock, Radio, RangeSlider, RelationSelect, RepeatableFormSection, ResourceBar, ResourceCounter, RuleEditor, RuntimeDebugger, ScaledDiagram, ScoreBoard, ScoreDisplay, SearchInput, Section, Select, SequenceBar, SequencerBoard, SidePanel, Sidebar, SignaturePad, SimpleGrid, SimulationCanvas, SimulationControls, SimulationGraph, SimulatorBoard, Skeleton, SlotContentRenderer, SortableList, Spacer, Spinner, Split, SplitPane, Sprite, Stack, StarRating, StatBadge, StatCard, StatDisplay, StateArchitectBoard, StateIndicator, StateMachineView, StateNode, StatusDot, StatusEffect, SwipeableRow, Switch, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, Table, Tabs, Text, TextHighlight, Textarea, ThemeSelector, ThemeToggle, TimeSlotCell, Timeline, TimerDisplay, Toast, ToastSlot, Tooltip, TraitSlot, TraitStateViewer, TransitionArrow, TrendIndicator, TurnIndicator, TurnPanel, TypewriterText, Typography, UISlotComponent, UISlotRenderer, UncontrolledBattleBoard, UnitCommandBar, UploadDropZone, VStack, VariablePanel, ViolationAlert, WaypointMarker, WizardContainer, WizardNavigation, WizardProgress, WorldMapBoard, WorldMapTemplate, XPBar, drawSprite, isoToScreen, mapBookData, pendulum, projectileMotion, resolveFieldMap, screenToIso, springOscillator, useBattleState, useCamera, useGameAudio, useGameAudioContext, useImageCache } from '../chunk-
|
|
4
|
+
import { VStack, HStack, Typography, Button, Icon, Box, Card, DataTable, Badge, Toast } from '../chunk-TUZENSM7.js';
|
|
5
|
+
export { ALL_PRESETS, AR_BOOK_FIELDS, Accordion, ActionButton, ActionButtons, Card2 as ActionCard, ActionPalette, ActionTile, Alert, AnimatedCounter, AuthLayout, Avatar, Badge, BattleBoard, BattleTemplate, BookChapterView, BookCoverPage, BookNavBar, BookTableOfContents, BookViewer, Box, Breadcrumb, BuilderBoard, Button, ButtonGroup, CalendarGrid, CanvasEffect, Card, CardBody, CardContent, CardFooter, CardGrid, CardHeader, CardTitle, Carousel, CastleBoard, CastleTemplate, Center, Chart, ChartLegend, Checkbox, ChoiceButton, ClassifierBoard, CodeBlock, CodeView, CodeViewer, CombatLog, ComboCounter, ConditionalWrapper, ConfettiEffect, ConfirmDialog, Container, ContentRenderer, ControlButton, CounterTemplate, CraftingRecipe, DIAMOND_TOP_Y, DPad, DamageNumber, DashboardGrid, DashboardLayout, DataGrid, DataList, DataTable, DateRangeSelector, DayCell, DebuggerBoard, DetailPanel, DialogueBox, DialogueBubble, Divider, DocumentViewer, StateMachineView as DomStateMachineVisualizer, Drawer, DrawerSlot, EmptyState, EnemyPlate, EntityDisplayEvents, ErrorBoundary, ErrorState, EventHandlerBoard, EventLog, FEATURE_COLORS, FLOOR_HEIGHT, FilterGroup, Flex, FlipCard, FlipContainer, FloatingActionButton, Form, FormField, FormSectionHeader, GameAudioContext, GameAudioProvider, GameAudioToggle, GameCanvas2D, GameHud, GameMenu, GameOverScreen, GameShell, GameTemplate, GenericAppTemplate, GraphCanvas, GraphView, Grid, HStack, Header, Heading, HealthBar, HealthPanel, IDENTITY_BOOK_FIELDS, Icon, InfiniteScrollSentinel, Input, InputGroup, InventoryGrid, InventoryPanel, IsometricCanvas, ItemSlot, JazariStateMachine, Label, LawReferenceTooltip, Lightbox, LineChart, List, LoadingState, MapView, MarkdownContent, MediaGallery, Menu, Meter, MiniMap, Modal, ModalSlot, Navigation, NegotiatorBoard, NumberStepper, ObjectRulePanel, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, Overlay, PageHeader, Pagination, PlatformerCanvas, Popover, PowerupSlots, ProgressBar, ProgressDots, PullToRefresh, QuestTracker, QuizBlock, Radio, RangeSlider, RelationSelect, RepeatableFormSection, ResourceBar, ResourceCounter, RuleEditor, RuntimeDebugger, ScaledDiagram, ScoreBoard, ScoreDisplay, SearchInput, Section, Select, SequenceBar, SequencerBoard, SidePanel, Sidebar, SignaturePad, SimpleGrid, SimulationCanvas, SimulationControls, SimulationGraph, SimulatorBoard, Skeleton, SlotContentRenderer, SortableList, Spacer, Spinner, Split, SplitPane, Sprite, Stack, StarRating, StatBadge, StatCard, StatDisplay, StateArchitectBoard, StateIndicator, StateMachineView, StateNode, StatusDot, StatusEffect, SwipeableRow, Switch, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, Table, Tabs, Text, TextHighlight, Textarea, ThemeSelector, ThemeToggle, TimeSlotCell, Timeline, TimerDisplay, Toast, ToastSlot, Tooltip, TraitSlot, TraitStateViewer, TransitionArrow, TrendIndicator, TurnIndicator, TurnPanel, TypewriterText, Typography, UISlotComponent, UISlotRenderer, UncontrolledBattleBoard, UnitCommandBar, UploadDropZone, VStack, VariablePanel, ViolationAlert, WaypointMarker, WizardContainer, WizardNavigation, WizardProgress, WorldMapBoard, WorldMapTemplate, XPBar, drawSprite, isoToScreen, mapBookData, pendulum, projectileMotion, resolveFieldMap, screenToIso, springOscillator, useBattleState, useCamera, useGameAudio, useGameAudioContext, useImageCache } from '../chunk-TUZENSM7.js';
|
|
6
6
|
import '../chunk-4N3BAPDB.js';
|
|
7
|
-
import '../chunk-DKQN5FVU.js';
|
|
8
7
|
import { useTranslate } from '../chunk-QU2X55WH.js';
|
|
9
8
|
export { EntityDataProvider, I18nProvider, createTranslate, entityDataKeys, parseQueryBinding, useAuthContext, useDragReorder, useEntity, useEntityDataAdapter, useEntityDetail, useEntityList, useEntityListSuspense, useEntitySuspense, useInfiniteScroll, useLongPress, usePullToRefresh, useQuerySingleton, useSwipeGesture, useTranslate } from '../chunk-QU2X55WH.js';
|
|
10
9
|
import { useEventBus } from '../chunk-YXZM3WCF.js';
|
|
11
10
|
export { useEmitEvent, useEventBus, useEventListener } from '../chunk-YXZM3WCF.js';
|
|
11
|
+
import '../chunk-DKQN5FVU.js';
|
|
12
12
|
export { DEFAULT_SLOTS, useUISlotManager } from '../chunk-3JGAROCW.js';
|
|
13
13
|
import { cn } from '../chunk-XL7WB2O5.js';
|
|
14
14
|
export { cn } from '../chunk-XL7WB2O5.js';
|
|
@@ -10,7 +10,9 @@ export interface CarouselProps<T = Record<string, unknown>> {
|
|
|
10
10
|
/** Array of items to display as slides */
|
|
11
11
|
items: T[];
|
|
12
12
|
/** Render function for each slide */
|
|
13
|
-
renderItem
|
|
13
|
+
renderItem?: (item: T, index: number) => React.ReactNode;
|
|
14
|
+
/** Children-as-function fallback for renderItem (compiler compatibility) */
|
|
15
|
+
children?: (item: T, index: number) => React.ReactNode;
|
|
14
16
|
/** Enable auto-play rotation */
|
|
15
17
|
autoPlay?: boolean;
|
|
16
18
|
/** Auto-play interval in milliseconds (default: 5000) */
|
|
@@ -28,4 +30,4 @@ export interface CarouselProps<T = Record<string, unknown>> {
|
|
|
28
30
|
/** Additional CSS classes */
|
|
29
31
|
className?: string;
|
|
30
32
|
}
|
|
31
|
-
export declare const Carousel: <T = Record<string, unknown>>({ items, renderItem, autoPlay, autoPlayInterval, showDots, showArrows, loop, slideChangeEvent, slideChangePayload, className, }: CarouselProps<T>) => React.ReactElement | null;
|
|
33
|
+
export declare const Carousel: <T = Record<string, unknown>>({ items, renderItem, children, autoPlay, autoPlayInterval, showDots, showArrows, loop, slideChangeEvent, slideChangePayload, className, }: CarouselProps<T>) => React.ReactElement | null;
|
package/dist/providers/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { FetchedDataContext, FetchedDataProvider, OfflineModeProvider, OrbitalProvider, VerificationProvider, useFetchedData, useFetchedDataContext, useFetchedEntity, useOfflineMode, useOptionalOfflineMode } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FetchedDataContext, FetchedDataProvider, OfflineModeProvider, OrbitalProvider, VerificationProvider, useFetchedData, useFetchedDataContext, useFetchedEntity, useOfflineMode, useOptionalOfflineMode } from '../chunk-R3OXC4BR.js';
|
|
2
|
+
import '../chunk-TUZENSM7.js';
|
|
3
3
|
import '../chunk-4N3BAPDB.js';
|
|
4
|
-
import '../chunk-DKQN5FVU.js';
|
|
5
4
|
export { SelectionContext, SelectionProvider, useSelection, useSelectionOptional } from '../chunk-QU2X55WH.js';
|
|
6
5
|
export { EventBusContext, EventBusProvider } from '../chunk-YXZM3WCF.js';
|
|
6
|
+
import '../chunk-DKQN5FVU.js';
|
|
7
7
|
import '../chunk-3JGAROCW.js';
|
|
8
8
|
import '../chunk-XL7WB2O5.js';
|
|
9
9
|
import '../chunk-2XXSUIOK.js';
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import '../chunk-IRIGCHP4.js';
|
|
2
2
|
import '../chunk-N7MVUW4R.js';
|
|
3
3
|
import '../chunk-3HJHHULT.js';
|
|
4
|
-
import { useFetchedDataContext } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import { useFetchedDataContext } from '../chunk-R3OXC4BR.js';
|
|
5
|
+
import '../chunk-TUZENSM7.js';
|
|
6
6
|
import '../chunk-4N3BAPDB.js';
|
|
7
|
-
import '../chunk-DKQN5FVU.js';
|
|
8
7
|
import '../chunk-QU2X55WH.js';
|
|
9
8
|
import { useEventBus } from '../chunk-YXZM3WCF.js';
|
|
9
|
+
import '../chunk-DKQN5FVU.js';
|
|
10
10
|
import '../chunk-3JGAROCW.js';
|
|
11
11
|
import { registerTrait, unregisterTrait, updateTraitState, recordTransition } from '../chunk-XL7WB2O5.js';
|
|
12
12
|
import '../chunk-2XXSUIOK.js';
|