@almadar/ui 2.13.3 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-UNDQO6DL.js → chunk-4KP6IZEQ.js} +3 -3
- package/dist/chunk-4N3BAPDB.js +1667 -0
- package/dist/{chunk-PERGHHON.js → chunk-IRIGCHP4.js} +2 -12
- package/dist/{chunk-Y7IHEYYE.js → chunk-QU2X55WH.js} +11 -1
- package/dist/{chunk-4ZBSL37D.js → chunk-XL7WB2O5.js} +415 -58
- package/dist/{chunk-MSLMORZK.js → chunk-YPY74G7F.js} +13434 -2264
- package/dist/components/atoms/AnimatedCounter.d.ts +20 -0
- package/dist/components/atoms/Avatar.d.ts +58 -0
- package/dist/components/atoms/Badge.d.ts +14 -0
- package/dist/components/atoms/Box.d.ts +57 -0
- package/dist/components/atoms/Button.d.ts +24 -0
- package/dist/components/atoms/Card.d.ts +18 -0
- package/dist/components/atoms/Center.d.ts +33 -0
- package/dist/components/atoms/Checkbox.d.ts +9 -0
- package/dist/components/atoms/ConditionalWrapper.d.ts +68 -0
- package/dist/components/atoms/ConfettiEffect.d.ts +19 -0
- package/dist/components/atoms/DayCell.d.ts +21 -0
- package/dist/components/atoms/Divider.d.ts +29 -0
- package/dist/components/atoms/FlipContainer.d.ts +21 -0
- package/dist/components/atoms/Icon.d.ts +39 -0
- package/dist/components/atoms/InfiniteScrollSentinel.d.ts +23 -0
- package/dist/components/atoms/Input.d.ts +26 -0
- package/dist/components/atoms/Label.d.ts +5 -0
- package/dist/components/atoms/LawReferenceTooltip.d.ts +48 -0
- package/dist/components/atoms/Overlay.d.ts +16 -0
- package/dist/components/atoms/ProgressBar.d.ts +63 -0
- package/dist/components/atoms/Radio.d.ts +26 -0
- package/dist/components/atoms/RangeSlider.d.ts +31 -0
- package/dist/components/atoms/Select.d.ts +12 -0
- package/dist/components/atoms/Spacer.d.ts +25 -0
- package/dist/components/atoms/Spinner.d.ts +6 -0
- package/dist/components/atoms/Stack.d.ts +66 -0
- package/dist/components/atoms/StatusDot.d.ts +14 -0
- package/dist/components/atoms/Switch.d.ts +12 -0
- package/dist/components/atoms/TextHighlight.d.ts +53 -0
- package/dist/components/atoms/Textarea.d.ts +5 -0
- package/dist/components/atoms/ThemeSelector.d.ts +21 -0
- package/dist/components/atoms/ThemeToggle.d.ts +33 -0
- package/dist/components/atoms/TimeSlotCell.d.ts +23 -0
- package/dist/components/atoms/TrendIndicator.d.ts +18 -0
- package/dist/components/atoms/TypewriterText.d.ts +20 -0
- package/dist/components/atoms/Typography.d.ts +57 -0
- package/dist/components/atoms/game/ActionButton.d.ts +25 -0
- package/dist/components/atoms/game/ChoiceButton.d.ts +18 -0
- package/dist/components/atoms/game/ComboCounter.d.ts +16 -0
- package/dist/components/atoms/game/ControlButton.d.ts +31 -0
- package/dist/components/atoms/game/DamageNumber.d.ts +14 -0
- package/dist/components/atoms/game/DialogueBubble.d.ts +16 -0
- package/dist/components/atoms/game/HealthBar.d.ts +18 -0
- package/dist/components/atoms/game/ItemSlot.d.ts +25 -0
- package/dist/components/atoms/game/MiniMap.d.ts +36 -0
- package/dist/components/atoms/game/ResourceCounter.d.ts +21 -0
- package/dist/components/atoms/game/ScoreDisplay.d.ts +21 -0
- package/dist/components/atoms/game/Sprite.d.ts +63 -0
- package/dist/components/atoms/game/StateIndicator.d.ts +31 -0
- package/dist/components/atoms/game/StatusEffect.d.ts +21 -0
- package/dist/components/atoms/game/TimerDisplay.d.ts +18 -0
- package/dist/components/atoms/game/TurnIndicator.d.ts +18 -0
- package/dist/components/atoms/game/WaypointMarker.d.ts +19 -0
- package/dist/components/atoms/game/XPBar.d.ts +20 -0
- package/dist/components/atoms/game/index.d.ts +25 -0
- package/dist/components/atoms/index.d.ts +37 -0
- package/dist/components/index.css +508 -0
- package/dist/components/index.d.ts +6 -9788
- package/dist/components/index.js +769 -11187
- package/dist/components/molecules/Accordion.d.ts +67 -0
- package/dist/components/molecules/Alert.d.ts +24 -0
- package/dist/components/molecules/Breadcrumb.d.ts +55 -0
- package/dist/components/molecules/ButtonGroup.d.ts +67 -0
- package/dist/components/molecules/CalendarGrid.d.ts +43 -0
- package/dist/components/molecules/Card.d.ts +56 -0
- package/dist/components/molecules/Carousel.d.ts +31 -0
- package/dist/components/molecules/ChartLegend.d.ts +20 -0
- package/dist/components/molecules/Container.d.ts +30 -0
- package/dist/components/molecules/DataGrid.d.ts +75 -0
- package/dist/components/molecules/DataList.d.ts +95 -0
- package/dist/components/molecules/DateRangeSelector.d.ts +22 -0
- package/dist/components/molecules/Drawer.d.ts +46 -0
- package/dist/components/molecules/EmptyState.d.ts +25 -0
- package/dist/components/molecules/ErrorBoundary.d.ts +55 -0
- package/dist/components/molecules/ErrorState.d.ts +13 -0
- package/dist/components/molecules/FilterGroup.d.ts +54 -0
- package/dist/components/molecules/Flex.d.ts +43 -0
- package/dist/components/molecules/FlipCard.d.ts +25 -0
- package/dist/components/molecules/FloatingActionButton.d.ts +69 -0
- package/dist/components/molecules/FormField.d.ts +16 -0
- package/dist/components/molecules/FormSectionHeader.d.ts +30 -0
- package/dist/components/molecules/GraphView.d.ts +45 -0
- package/dist/components/molecules/Grid.d.ts +54 -0
- package/dist/components/molecules/InputGroup.d.ts +24 -0
- package/dist/components/molecules/Lightbox.d.ts +25 -0
- package/dist/components/molecules/LineChart.d.ts +33 -0
- package/dist/components/molecules/LoadingState.d.ts +7 -0
- package/dist/components/molecules/MapView.d.ts +40 -0
- package/dist/components/molecules/Menu.d.ts +40 -0
- package/dist/components/molecules/Meter.d.ts +51 -0
- package/dist/components/molecules/Modal.d.ts +28 -0
- package/dist/components/molecules/NumberStepper.d.ts +27 -0
- package/dist/components/molecules/Pagination.d.ts +66 -0
- package/dist/components/molecules/Popover.d.ts +39 -0
- package/dist/components/molecules/ProgressDots.d.ts +24 -0
- package/dist/components/molecules/PullToRefresh.d.ts +21 -0
- package/dist/components/molecules/QuizBlock.d.ts +20 -0
- package/dist/components/molecules/RelationSelect.d.ts +48 -0
- package/dist/components/molecules/RepeatableFormSection.d.ts +58 -0
- package/dist/components/molecules/ScaledDiagram.d.ts +20 -0
- package/dist/components/molecules/SearchInput.d.ts +60 -0
- package/dist/components/molecules/SidePanel.d.ts +47 -0
- package/dist/components/molecules/SimpleGrid.d.ts +27 -0
- package/dist/components/molecules/Skeleton.d.ts +35 -0
- package/dist/components/molecules/SortableList.d.ts +17 -0
- package/dist/components/molecules/StarRating.d.ts +26 -0
- package/dist/components/molecules/StatDisplay.d.ts +37 -0
- package/dist/components/molecules/SwipeableRow.d.ts +24 -0
- package/dist/components/molecules/Tabs.d.ts +45 -0
- package/dist/components/molecules/Toast.d.ts +35 -0
- package/dist/components/molecules/Tooltip.d.ts +25 -0
- package/dist/components/molecules/UploadDropZone.d.ts +26 -0
- package/dist/components/molecules/ViolationAlert.d.ts +49 -0
- package/dist/components/molecules/WizardNavigation.d.ts +51 -0
- package/dist/components/molecules/WizardProgress.d.ts +42 -0
- package/dist/components/molecules/game/ActionButtons.d.ts +34 -0
- package/dist/components/molecules/game/CombatLog.d.ts +30 -0
- package/dist/components/molecules/game/CraftingRecipe.d.ts +33 -0
- package/dist/components/molecules/game/DPad.d.ts +22 -0
- package/dist/components/molecules/game/DialogueBox.d.ts +78 -0
- package/dist/components/molecules/game/EnemyPlate.d.ts +27 -0
- package/dist/components/molecules/game/GameCanvas2D.d.ts +18 -0
- package/dist/components/molecules/game/GameHud.d.ts +49 -0
- package/dist/components/molecules/game/GameMenu.d.ts +43 -0
- package/dist/components/molecules/game/GameOverScreen.d.ts +56 -0
- package/dist/components/molecules/game/HealthPanel.d.ts +27 -0
- package/dist/components/molecules/game/InventoryGrid.d.ts +30 -0
- package/dist/components/molecules/game/InventoryPanel.d.ts +67 -0
- package/dist/components/molecules/game/IsometricCanvas.d.ts +127 -0
- package/dist/components/molecules/game/PlatformerCanvas.d.ts +52 -0
- package/dist/components/molecules/game/PowerupSlots.d.ts +23 -0
- package/dist/components/molecules/game/QuestTracker.d.ts +20 -0
- package/dist/components/molecules/game/ResourceBar.d.ts +23 -0
- package/dist/components/molecules/game/ScoreBoard.d.ts +18 -0
- package/dist/components/molecules/game/StatBadge.d.ts +27 -0
- package/dist/components/molecules/game/TurnPanel.d.ts +29 -0
- package/dist/components/molecules/game/UnitCommandBar.d.ts +25 -0
- package/dist/components/molecules/game/index.d.ts +30 -0
- package/dist/components/molecules/index.d.ts +59 -0
- package/dist/components/molecules/markdown/CodeBlock.d.ts +25 -0
- package/dist/components/molecules/markdown/MarkdownContent.d.ts +26 -0
- package/dist/components/molecules/markdown/index.d.ts +2 -0
- package/dist/components/organisms/CardGrid.d.ts +80 -0
- package/dist/components/organisms/Chart.d.ts +59 -0
- package/dist/components/organisms/CodeViewer.d.ts +67 -0
- package/dist/components/organisms/ComponentPatterns.d.ts +453 -0
- package/dist/components/organisms/ConfirmDialog.d.ts +50 -0
- package/dist/components/organisms/ContentRenderer.d.ts +23 -0
- package/dist/components/organisms/CustomPattern.d.ts +104 -0
- package/dist/components/organisms/DataTable.d.ts +67 -0
- package/dist/components/organisms/DetailPanel.d.ts +78 -0
- package/dist/components/organisms/DocumentViewer.d.ts +60 -0
- package/dist/components/organisms/DrawerSlot.d.ts +39 -0
- package/dist/components/organisms/Form.d.ts +206 -0
- package/dist/components/organisms/FormSection.d.ts +41 -0
- package/dist/components/organisms/GraphCanvas.d.ts +69 -0
- package/dist/components/organisms/Header.d.ts +110 -0
- package/dist/components/organisms/JazariStateMachine.d.ts +60 -0
- package/dist/components/organisms/LayoutPatterns.d.ts +181 -0
- package/dist/components/organisms/List.d.ts +78 -0
- package/dist/components/organisms/MasterDetail.d.ts +32 -0
- package/dist/components/organisms/MediaGallery.d.ts +57 -0
- package/dist/components/organisms/Meter.d.ts +58 -0
- package/dist/components/organisms/ModalSlot.d.ts +35 -0
- package/dist/components/organisms/Navigation.d.ts +68 -0
- package/dist/components/organisms/NotifyListener.d.ts +15 -0
- package/dist/components/organisms/OrbitalVisualization.d.ts +48 -0
- package/dist/components/organisms/PageHeader.d.ts +59 -0
- package/dist/components/organisms/Section.d.ts +44 -0
- package/dist/components/organisms/Sidebar.d.ts +63 -0
- package/dist/components/organisms/SignaturePad.d.ts +44 -0
- package/dist/components/organisms/Split.d.ts +42 -0
- package/dist/components/organisms/StatCard.d.ts +62 -0
- package/dist/components/organisms/StateMachineView.d.ts +36 -0
- package/dist/components/organisms/Table.d.ts +99 -0
- package/dist/components/organisms/Timeline.d.ts +49 -0
- package/dist/components/organisms/ToastSlot.d.ts +38 -0
- package/dist/components/organisms/UISlotRenderer.d.ts +112 -0
- package/dist/components/organisms/WizardContainer.d.ts +160 -0
- package/dist/components/organisms/book/BookChapterView.d.ts +17 -0
- package/dist/components/organisms/book/BookCoverPage.d.ts +20 -0
- package/dist/components/organisms/book/BookNavBar.d.ts +19 -0
- package/dist/components/organisms/book/BookTableOfContents.d.ts +18 -0
- package/dist/components/organisms/book/BookViewer.d.ts +28 -0
- package/dist/components/organisms/book/index.d.ts +7 -0
- package/dist/components/organisms/book/types.d.ts +77 -0
- package/dist/components/organisms/component-registry.generated.d.ts +9 -0
- package/dist/components/organisms/debug/RuntimeDebugger.d.ts +19 -0
- package/dist/components/organisms/debug/hooks/useDebugData.d.ts +25 -0
- package/dist/components/organisms/debug/index.d.ts +13 -0
- package/dist/components/organisms/debug/tabs/EntitiesTab.d.ts +13 -0
- package/dist/components/organisms/debug/tabs/EventDispatcherTab.d.ts +16 -0
- package/dist/components/organisms/debug/tabs/EventFlowTab.d.ts +9 -0
- package/dist/components/organisms/debug/tabs/GuardsPanel.d.ts +9 -0
- package/dist/components/organisms/debug/tabs/ServerBridgeTab.d.ts +9 -0
- package/dist/components/organisms/debug/tabs/TicksTab.d.ts +13 -0
- package/dist/components/organisms/debug/tabs/TraitsTab.d.ts +13 -0
- package/dist/components/organisms/debug/tabs/TransitionTimeline.d.ts +9 -0
- package/dist/components/organisms/debug/tabs/VerificationTab.d.ts +10 -0
- package/dist/components/organisms/game/BattleBoard.d.ts +175 -0
- package/dist/components/organisms/game/CanvasEffect.d.ts +68 -0
- package/dist/components/organisms/game/CastleBoard.d.ts +85 -0
- package/dist/components/organisms/game/CombatLog.d.ts +2 -0
- package/dist/components/organisms/game/DialogueBox.d.ts +2 -0
- package/dist/components/organisms/game/GameAudioProvider.d.ts +47 -0
- package/dist/components/organisms/game/GameAudioToggle.d.ts +28 -0
- package/dist/components/organisms/game/GameCanvas3D.d.ts +181 -0
- package/dist/components/organisms/game/GameHud.d.ts +2 -0
- package/dist/components/organisms/game/GameMenu.d.ts +2 -0
- package/dist/components/organisms/game/GameOverScreen.d.ts +2 -0
- package/dist/components/organisms/game/InventoryPanel.d.ts +2 -0
- package/dist/components/organisms/game/IsometricCanvas.d.ts +3 -0
- package/dist/components/organisms/game/PlatformerCanvas.d.ts +2 -0
- package/dist/components/organisms/game/TraitSlot.d.ts +90 -0
- package/dist/components/organisms/game/TraitStateViewer.d.ts +53 -0
- package/dist/components/organisms/game/UncontrolledBattleBoard.d.ts +26 -0
- package/dist/components/organisms/game/WorldMapBoard.d.ts +156 -0
- package/dist/components/organisms/game/editor/editorUtils.d.ts +109 -0
- package/dist/components/organisms/game/editor/index.d.ts +9 -0
- package/dist/components/organisms/game/hooks/useBattleState.d.ts +35 -0
- package/dist/components/organisms/game/hooks/useCamera.d.ts +41 -0
- package/dist/components/organisms/game/hooks/useGameAudio.d.ts +47 -0
- package/dist/components/organisms/game/hooks/useImageCache.d.ts +16 -0
- package/dist/components/organisms/game/hooks/usePhysics2D.d.ts +45 -0
- package/dist/components/organisms/game/hooks/useSpriteAnimations.d.ts +43 -0
- package/dist/components/organisms/game/index.d.ts +52 -0
- package/dist/components/organisms/game/managers/PhysicsManager.d.ts +103 -0
- package/dist/components/organisms/game/physics-sim/SimulationCanvas.d.ts +20 -0
- package/dist/components/organisms/game/physics-sim/SimulationControls.d.ts +28 -0
- package/dist/components/organisms/game/physics-sim/SimulationGraph.d.ts +25 -0
- package/dist/components/organisms/game/physics-sim/index.d.ts +7 -0
- package/dist/components/organisms/game/physics-sim/presets/index.d.ts +4 -0
- package/dist/components/organisms/game/physics-sim/presets/mechanics.d.ts +4 -0
- package/dist/components/organisms/game/physics-sim/presets/types.d.ts +43 -0
- package/dist/components/organisms/game/puzzles/builder/BuilderBoard.d.ts +52 -0
- package/dist/components/organisms/game/puzzles/builder/index.d.ts +2 -0
- package/dist/components/organisms/game/puzzles/classifier/ClassifierBoard.d.ts +53 -0
- package/dist/components/organisms/game/puzzles/classifier/index.d.ts +2 -0
- package/dist/components/organisms/game/puzzles/debugger/DebuggerBoard.d.ts +45 -0
- package/dist/components/organisms/game/puzzles/debugger/index.d.ts +2 -0
- package/dist/components/organisms/game/puzzles/event-handler/EventHandlerBoard.d.ts +55 -0
- package/dist/components/organisms/game/puzzles/event-handler/EventLog.d.ts +31 -0
- package/dist/components/organisms/game/puzzles/event-handler/ObjectRulePanel.d.ts +45 -0
- package/dist/components/organisms/game/puzzles/event-handler/RuleEditor.d.ts +41 -0
- package/dist/components/organisms/game/puzzles/event-handler/index.d.ts +8 -0
- package/dist/components/organisms/game/puzzles/negotiator/NegotiatorBoard.d.ts +54 -0
- package/dist/components/organisms/game/puzzles/negotiator/index.d.ts +2 -0
- package/dist/components/organisms/game/puzzles/sequencer/ActionPalette.d.ts +34 -0
- package/dist/components/organisms/game/puzzles/sequencer/ActionTile.d.ts +30 -0
- package/dist/components/organisms/game/puzzles/sequencer/SequenceBar.d.ts +41 -0
- package/dist/components/organisms/game/puzzles/sequencer/SequencerBoard.d.ts +72 -0
- package/dist/components/organisms/game/puzzles/sequencer/index.d.ts +8 -0
- package/dist/components/organisms/game/puzzles/simulator/SimulatorBoard.d.ts +54 -0
- package/dist/components/organisms/game/puzzles/simulator/index.d.ts +2 -0
- package/dist/components/organisms/game/puzzles/state-architect/CodeView.d.ts +24 -0
- package/dist/components/organisms/game/puzzles/state-architect/StateArchitectBoard.d.ts +76 -0
- package/dist/components/organisms/game/puzzles/state-architect/StateNode.d.ts +33 -0
- package/dist/components/organisms/game/puzzles/state-architect/TransitionArrow.d.ts +36 -0
- package/dist/components/organisms/game/puzzles/state-architect/VariablePanel.d.ts +28 -0
- package/dist/components/organisms/game/puzzles/state-architect/index.d.ts +10 -0
- package/dist/components/organisms/game/three/Camera3D.d.ts +60 -0
- package/dist/components/organisms/game/three/Lighting3D.d.ts +47 -0
- package/dist/components/organisms/game/three/Scene3D.d.ts +37 -0
- package/dist/components/organisms/game/three/components/Canvas3DErrorBoundary.d.ts +51 -0
- package/dist/components/organisms/game/three/components/Canvas3DLoadingState.d.ts +44 -0
- package/dist/components/organisms/game/three/components/ModelLoader.d.ts +44 -0
- package/dist/components/organisms/game/three/components/PhysicsObject3D.d.ts +74 -0
- package/dist/components/organisms/game/three/components/index.d.ts +10 -0
- package/dist/components/organisms/game/three/hooks/useAssetLoader.d.ts +58 -0
- package/dist/components/organisms/game/three/hooks/useGameCanvas3DEvents.d.ts +79 -0
- package/dist/components/organisms/game/three/hooks/useRaycaster.d.ts +86 -0
- package/dist/components/organisms/game/three/hooks/useSceneGraph.d.ts +66 -0
- package/dist/components/organisms/game/three/hooks/useThree.d.ts +58 -0
- package/dist/components/organisms/game/three/index.d.ts +18 -1228
- package/dist/components/organisms/game/three/index.js +49 -1709
- package/dist/components/organisms/game/three/loaders/AssetLoader.d.ts +80 -0
- package/dist/components/organisms/game/three/renderers/FeatureRenderer.d.ts +44 -0
- package/dist/components/organisms/game/three/renderers/FeatureRenderer3D.d.ts +44 -0
- package/dist/components/organisms/game/three/renderers/TileRenderer.d.ts +57 -0
- package/dist/components/organisms/game/three/renderers/UnitRenderer.d.ts +46 -0
- package/dist/components/organisms/game/three/renderers/index.d.ts +11 -0
- package/dist/components/organisms/game/three/utils/culling.d.ts +134 -0
- package/dist/components/organisms/game/three/utils/grid3D.d.ts +154 -0
- package/dist/components/organisms/game/types/effects.d.ts +253 -0
- package/dist/components/organisms/game/types/game.d.ts +92 -0
- package/dist/{isometric-ynNHVPZx.d.ts → components/organisms/game/types/isometric.d.ts} +4 -6
- package/dist/components/organisms/game/types/spriteAnimation.d.ts +73 -0
- package/dist/components/organisms/game/useCanvasEffects.d.ts +26 -0
- package/dist/components/organisms/game/utils/canvasEffects.d.ts +50 -0
- package/dist/components/organisms/game/utils/combatEffects.d.ts +64 -0
- package/dist/components/organisms/game/utils/combatPresets.d.ts +15 -0
- package/dist/components/organisms/game/utils/isometric.d.ts +61 -0
- package/dist/components/organisms/game/utils/spriteAnimation.d.ts +57 -0
- package/dist/components/organisms/game/utils/spriteSheetConstants.d.ts +16 -0
- package/dist/components/organisms/index.d.ts +38 -0
- package/dist/components/organisms/layout/DashboardGrid.d.ts +35 -0
- package/dist/components/organisms/layout/MasterDetail.d.ts +32 -0
- package/dist/components/organisms/layout/SplitPane.d.ts +34 -0
- package/dist/components/organisms/layout/TabbedContainer.d.ts +42 -0
- package/dist/components/organisms/layout/index.d.ts +9 -0
- package/dist/components/organisms/types.d.ts +63 -0
- package/dist/components/templates/AuthLayout.d.ts +14 -0
- package/dist/components/templates/BattleTemplate.d.ts +25 -0
- package/dist/components/templates/CastleTemplate.d.ts +23 -0
- package/dist/components/templates/CounterTemplate.d.ts +44 -0
- package/dist/components/templates/DashboardLayout.d.ts +34 -0
- package/dist/components/templates/GameCanvas3DBattleTemplate.d.ts +96 -0
- package/dist/components/templates/GameCanvas3DCastleTemplate.d.ts +90 -0
- package/dist/components/templates/GameCanvas3DWorldMapTemplate.d.ts +96 -0
- package/dist/components/templates/GameShell.d.ts +34 -0
- package/dist/components/templates/GameTemplate.d.ts +36 -0
- package/dist/components/templates/GenericAppTemplate.d.ts +30 -0
- package/dist/components/templates/WorldMapTemplate.d.ts +29 -0
- package/dist/components/templates/index.d.ts +10 -0
- package/dist/components/templates/types.d.ts +22 -0
- package/dist/context/DesignThemeContext.d.ts +21 -0
- package/dist/{ThemeContext-D9xUORq5.d.ts → context/ThemeContext.d.ts} +15 -16
- package/dist/context/UISlotContext.d.ts +75 -0
- package/dist/context/UserContext.d.ts +111 -0
- package/dist/context/index.d.ts +6 -206
- package/dist/{event-bus-types-CjJduURa.d.ts → hooks/event-bus-types.d.ts} +4 -6
- package/dist/hooks/index.d.ts +30 -1220
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useAgentChat.d.ts +104 -0
- package/dist/hooks/useAuthContext.d.ts +25 -0
- package/dist/hooks/useCompile.d.ts +22 -0
- package/dist/hooks/useDeepAgentGeneration.d.ts +46 -0
- package/dist/hooks/useDragReorder.d.ts +26 -0
- package/dist/hooks/useEntities.d.ts +52 -0
- package/dist/hooks/useEntityData.d.ts +155 -0
- package/dist/hooks/useEntityMutations.d.ts +80 -0
- package/dist/hooks/useEventBus.d.ts +96 -0
- package/dist/hooks/useExtensions.d.ts +32 -0
- package/dist/hooks/useFileEditor.d.ts +32 -0
- package/dist/hooks/useFileSystem.d.ts +40 -0
- package/dist/hooks/useGitHub.d.ts +58 -0
- package/dist/hooks/useInfiniteScroll.d.ts +13 -0
- package/dist/hooks/useLongPress.d.ts +16 -0
- package/dist/hooks/useOrbitalHistory.d.ts +39 -0
- package/dist/hooks/useOrbitalMutations.d.ts +95 -0
- package/dist/hooks/usePinchZoom.d.ts +22 -0
- package/dist/hooks/usePreview.d.ts +57 -0
- package/dist/hooks/usePullToRefresh.d.ts +25 -0
- package/dist/hooks/useQuerySingleton.d.ts +78 -0
- package/dist/hooks/useResolvedEntity.d.ts +32 -0
- package/dist/hooks/useSwipeGesture.d.ts +26 -0
- package/dist/hooks/useTranslate.d.ts +35 -0
- package/dist/hooks/useUIEvents.d.ts +35 -0
- package/dist/{useUISlots-BBjNvQtb.d.ts → hooks/useUISlots.d.ts} +8 -9
- package/dist/hooks/useValidation.d.ts +46 -0
- package/dist/lib/api-client.d.ts +42 -0
- package/dist/lib/cn.d.ts +6 -0
- package/dist/lib/debug.d.ts +43 -0
- package/dist/lib/debugRegistry.d.ts +29 -0
- package/dist/lib/debugUtils.d.ts +27 -0
- package/dist/lib/entityDebug.d.ts +38 -0
- package/dist/lib/getNestedValue.d.ts +33 -0
- package/dist/lib/guardRegistry.d.ts +32 -0
- package/dist/lib/index.d.ts +17 -319
- package/dist/lib/index.js +1 -3
- package/dist/lib/jazari/index.d.ts +5 -0
- package/dist/lib/jazari/layout.d.ts +30 -0
- package/dist/lib/jazari/svg-paths.d.ts +61 -0
- package/dist/lib/jazari/types.d.ts +91 -0
- package/dist/lib/parseContentSegments.d.ts +41 -0
- package/dist/lib/tickRegistry.d.ts +40 -0
- package/dist/lib/traitRegistry.d.ts +34 -0
- package/dist/lib/verificationRegistry.d.ts +138 -0
- package/dist/lib/visualizer/browser.d.ts +47 -0
- package/dist/lib/visualizer/index.d.ts +143 -0
- package/dist/locales/index.d.ts +5 -7
- package/dist/providers/EventBusProvider.d.ts +60 -0
- package/dist/providers/FetchedDataProvider.d.ts +105 -0
- package/dist/providers/OfflineModeProvider.d.ts +79 -0
- package/dist/providers/OrbitalProvider.d.ts +101 -0
- package/dist/providers/SelectionProvider.d.ts +81 -0
- package/dist/providers/VerificationProvider.d.ts +63 -0
- package/dist/providers/index.css +599 -0
- package/dist/providers/index.d.ts +16 -464
- package/dist/providers/index.js +5 -4
- package/dist/renderer/client-effect-executor.d.ts +68 -0
- package/dist/renderer/data-resolver.d.ts +68 -0
- package/dist/renderer/index.d.ts +22 -519
- package/dist/renderer/init.d.ts +14 -0
- package/dist/renderer/navigation.d.ts +142 -0
- package/dist/{offline-executor-CHr4uAhf.d.ts → renderer/offline-executor.d.ts} +9 -172
- package/dist/renderer/pattern-resolver.d.ts +91 -0
- package/dist/renderer/slot-definitions.d.ts +45 -0
- package/dist/renderer/types.d.ts +160 -0
- package/dist/renderer/useClientEffects.d.ts +88 -0
- package/dist/runtime/EntitySchemaContext.d.ts +40 -0
- package/dist/runtime/TraitProvider.d.ts +52 -0
- package/dist/runtime/createClientEffectHandlers.d.ts +23 -0
- package/dist/runtime/index.css +599 -0
- package/dist/runtime/index.d.ts +10 -275
- package/dist/runtime/index.js +6 -6
- package/dist/runtime/types.d.ts +10 -0
- package/dist/runtime/ui/SlotsContext.d.ts +71 -0
- package/dist/runtime/useResolvedSchema.d.ts +45 -0
- package/dist/runtime/useTraitStateMachine.d.ts +48 -0
- package/dist/scripts/generate-design-system.d.ts +29 -0
- package/dist/scripts/generate-theme-from-schema.d.ts +10 -0
- package/dist/scripts/generate.d.ts +12 -0
- package/dist/scripts/suggest-components.d.ts +31 -0
- package/dist/scripts/types.d.ts +129 -0
- package/dist/stores/entityStore.d.ts +99 -0
- package/dist/stores/filtering.d.ts +51 -0
- package/dist/stores/index.d.ts +4 -148
- package/dist/tsup.config.d.ts +2 -0
- package/dist/vitest.config.d.ts +2 -0
- package/package.json +5 -4
- package/dist/chunk-42YQ6JVR.js +0 -48
- package/dist/chunk-WCTZ7WZX.js +0 -311
- package/dist/cn-C_ATNPvi.d.ts +0 -332
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CardGrid Component
|
|
3
|
+
*
|
|
4
|
+
* A dumb, responsive grid specifically designed for card layouts.
|
|
5
|
+
* Uses CSS Grid auto-fit for automatic responsive columns.
|
|
6
|
+
*
|
|
7
|
+
* Data comes exclusively from the `entity` prop (injected by the runtime).
|
|
8
|
+
* All user interactions emit events via useEventBus. Never manages internal state
|
|
9
|
+
* for pagination, filtering, or search. All state is owned by the trait state machine.
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import type { EntityDisplayProps } from './types';
|
|
13
|
+
export type CardGridGap = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
/**
|
|
15
|
+
* Action configuration for card items (schema-driven)
|
|
16
|
+
*/
|
|
17
|
+
export interface CardItemAction {
|
|
18
|
+
/** Action button label */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Event to dispatch on click (schema metadata) */
|
|
21
|
+
event?: string;
|
|
22
|
+
/** Navigation URL - supports template interpolation like "/products/{{row.id}}" */
|
|
23
|
+
navigatesTo?: string;
|
|
24
|
+
/** Callback on click */
|
|
25
|
+
onClick?: (item: unknown) => void;
|
|
26
|
+
/** Action used by generated code - alternative to event */
|
|
27
|
+
action?: string;
|
|
28
|
+
/** Action placement - accepts string for compatibility with generated code */
|
|
29
|
+
placement?: 'card' | 'footer' | 'row' | string;
|
|
30
|
+
/** Button variant - accepts string for compatibility with generated code */
|
|
31
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'danger' | string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Field definition - can be a simple string or object with key/header or name/label
|
|
35
|
+
*/
|
|
36
|
+
export type FieldDef = string | {
|
|
37
|
+
key?: string;
|
|
38
|
+
header?: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
label?: string;
|
|
41
|
+
};
|
|
42
|
+
export interface CardGridProps extends EntityDisplayProps {
|
|
43
|
+
/** Minimum width of each card (default: 280px) */
|
|
44
|
+
minCardWidth?: number;
|
|
45
|
+
/** Maximum number of columns */
|
|
46
|
+
maxCols?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
47
|
+
/** Gap between cards */
|
|
48
|
+
gap?: CardGridGap;
|
|
49
|
+
/** Align cards vertically in their cells */
|
|
50
|
+
alignItems?: 'start' | 'center' | 'end' | 'stretch';
|
|
51
|
+
/** Children elements (cards) - optional when using entity prop */
|
|
52
|
+
children?: React.ReactNode;
|
|
53
|
+
/** Fields to display - required for schema-driven rendering */
|
|
54
|
+
fields: readonly FieldDef[];
|
|
55
|
+
/** Alias for fields - backwards compatibility */
|
|
56
|
+
fieldNames?: readonly string[];
|
|
57
|
+
/** Alias for fields - backwards compatibility */
|
|
58
|
+
columns?: readonly FieldDef[];
|
|
59
|
+
/** Actions for each card item (schema-driven) */
|
|
60
|
+
itemActions?: readonly CardItemAction[];
|
|
61
|
+
/** Show total count in pagination */
|
|
62
|
+
showTotal?: boolean;
|
|
63
|
+
/** Show avatar/image field on cards */
|
|
64
|
+
showAvatar?: boolean;
|
|
65
|
+
/** Visual variant for the card grid */
|
|
66
|
+
variant?: string;
|
|
67
|
+
/** Entity field name containing an image URL to display as card thumbnail */
|
|
68
|
+
imageField?: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* CardGrid - Responsive card collection layout
|
|
72
|
+
*
|
|
73
|
+
* Can be used in two ways:
|
|
74
|
+
* 1. With children: <CardGrid><Card>...</Card></CardGrid>
|
|
75
|
+
* 2. With entity data: <CardGrid entity={tasks} fields={['title', 'status']} />
|
|
76
|
+
*
|
|
77
|
+
* All data comes from the `entity` prop. Pagination display hints come from
|
|
78
|
+
* `page`, `pageSize`, and `totalCount` props (set by the trait via render-ui).
|
|
79
|
+
*/
|
|
80
|
+
export declare const CardGrid: React.FC<CardGridProps>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart Organism Component
|
|
3
|
+
*
|
|
4
|
+
* A data visualization component supporting bar, line, pie, and area chart types.
|
|
5
|
+
* Composes atoms and molecules for layout, uses CSS variables for theming.
|
|
6
|
+
*
|
|
7
|
+
* Orbital Component Interface Compliance:
|
|
8
|
+
* - Entity binding with auto-fetch when entity is a string
|
|
9
|
+
* - Event emission via useEventBus (UI:* events)
|
|
10
|
+
* - isLoading and error state props
|
|
11
|
+
* - className for external styling
|
|
12
|
+
*/
|
|
13
|
+
import React from "react";
|
|
14
|
+
export type ChartType = "bar" | "line" | "pie" | "area" | "donut";
|
|
15
|
+
export interface ChartDataPoint {
|
|
16
|
+
label: string;
|
|
17
|
+
value: number;
|
|
18
|
+
color?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ChartSeries {
|
|
21
|
+
name: string;
|
|
22
|
+
data: readonly ChartDataPoint[];
|
|
23
|
+
color?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ChartAction {
|
|
26
|
+
label: string;
|
|
27
|
+
event?: string;
|
|
28
|
+
navigatesTo?: string;
|
|
29
|
+
variant?: "primary" | "secondary" | "ghost";
|
|
30
|
+
}
|
|
31
|
+
export interface ChartProps {
|
|
32
|
+
/** Chart title */
|
|
33
|
+
title?: string;
|
|
34
|
+
/** Chart subtitle / description */
|
|
35
|
+
subtitle?: string;
|
|
36
|
+
/** Chart type */
|
|
37
|
+
chartType?: ChartType;
|
|
38
|
+
/** Data series */
|
|
39
|
+
series?: readonly ChartSeries[];
|
|
40
|
+
/** Simple data (single series shorthand) */
|
|
41
|
+
data?: readonly ChartDataPoint[];
|
|
42
|
+
/** Chart height in px */
|
|
43
|
+
height?: number;
|
|
44
|
+
/** Show legend */
|
|
45
|
+
showLegend?: boolean;
|
|
46
|
+
/** Show values on chart */
|
|
47
|
+
showValues?: boolean;
|
|
48
|
+
/** Actions for chart interactions */
|
|
49
|
+
actions?: readonly ChartAction[];
|
|
50
|
+
/** Entity name for schema-driven auto-fetch */
|
|
51
|
+
entity?: string;
|
|
52
|
+
/** Loading state */
|
|
53
|
+
isLoading?: boolean;
|
|
54
|
+
/** Error state */
|
|
55
|
+
error?: Error | null;
|
|
56
|
+
/** Additional CSS classes */
|
|
57
|
+
className?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare const Chart: React.FC<ChartProps>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeViewer Organism Component
|
|
3
|
+
*
|
|
4
|
+
* A code/diff viewer with syntax highlighting and line numbers.
|
|
5
|
+
* Composes atoms and molecules for layout. Uses pre/code elements
|
|
6
|
+
* which are semantically necessary for code display.
|
|
7
|
+
*
|
|
8
|
+
* Orbital Component Interface Compliance:
|
|
9
|
+
* - Entity binding with auto-fetch when entity is a string
|
|
10
|
+
* - Event emission via useEventBus (UI:* events)
|
|
11
|
+
* - isLoading and error state props
|
|
12
|
+
* - className for external styling
|
|
13
|
+
*/
|
|
14
|
+
import React from "react";
|
|
15
|
+
export type CodeViewerMode = "code" | "diff";
|
|
16
|
+
export interface DiffLine {
|
|
17
|
+
type: "add" | "remove" | "context";
|
|
18
|
+
content: string;
|
|
19
|
+
lineNumber?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface CodeViewerAction {
|
|
22
|
+
label: string;
|
|
23
|
+
event?: string;
|
|
24
|
+
navigatesTo?: string;
|
|
25
|
+
variant?: "primary" | "secondary" | "ghost";
|
|
26
|
+
}
|
|
27
|
+
export interface CodeViewerProps {
|
|
28
|
+
/** Viewer title */
|
|
29
|
+
title?: string;
|
|
30
|
+
/** Code content */
|
|
31
|
+
code?: string;
|
|
32
|
+
/** Language for display label */
|
|
33
|
+
language?: string;
|
|
34
|
+
/** Diff lines (for diff mode) */
|
|
35
|
+
diff?: readonly DiffLine[];
|
|
36
|
+
/** Old value (for generating diff) */
|
|
37
|
+
oldValue?: string;
|
|
38
|
+
/** New value (for generating diff) */
|
|
39
|
+
newValue?: string;
|
|
40
|
+
/** Display mode */
|
|
41
|
+
mode?: CodeViewerMode;
|
|
42
|
+
/** Show line numbers */
|
|
43
|
+
showLineNumbers?: boolean;
|
|
44
|
+
/** Show copy button */
|
|
45
|
+
showCopy?: boolean;
|
|
46
|
+
/** Enable word wrap */
|
|
47
|
+
wordWrap?: boolean;
|
|
48
|
+
/** Max height before scrolling */
|
|
49
|
+
maxHeight?: number | string;
|
|
50
|
+
/** Multiple files (tabbed view) */
|
|
51
|
+
files?: readonly {
|
|
52
|
+
label: string;
|
|
53
|
+
code: string;
|
|
54
|
+
language?: string;
|
|
55
|
+
}[];
|
|
56
|
+
/** Actions */
|
|
57
|
+
actions?: readonly CodeViewerAction[];
|
|
58
|
+
/** Entity name for schema-driven auto-fetch */
|
|
59
|
+
entity?: string;
|
|
60
|
+
/** Loading state */
|
|
61
|
+
isLoading?: boolean;
|
|
62
|
+
/** Error state */
|
|
63
|
+
error?: Error | null;
|
|
64
|
+
/** Additional CSS classes */
|
|
65
|
+
className?: string;
|
|
66
|
+
}
|
|
67
|
+
export declare const CodeViewer: React.FC<CodeViewerProps>;
|
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component Pattern Wrappers
|
|
3
|
+
*
|
|
4
|
+
* Pattern wrappers for atomic UI components that can be rendered via render_ui.
|
|
5
|
+
* These bridge the shell's atomic components with the pattern system.
|
|
6
|
+
*
|
|
7
|
+
* Interactive components emit events via useEventBus for the closed circuit pattern.
|
|
8
|
+
*
|
|
9
|
+
* @packageDocumentation
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { type ButtonVariant, type ButtonSize } from '../atoms/Button';
|
|
13
|
+
import { type BadgeVariant } from '../atoms/Badge';
|
|
14
|
+
import { type AlertVariant } from '../molecules/Alert';
|
|
15
|
+
import { type MapViewProps } from '../molecules/MapView';
|
|
16
|
+
/**
|
|
17
|
+
* Base closed circuit props required by all organism components.
|
|
18
|
+
*/
|
|
19
|
+
interface ClosedCircuitProps {
|
|
20
|
+
className?: string;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
error?: Error | null;
|
|
23
|
+
entity?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ButtonPatternProps extends ClosedCircuitProps {
|
|
26
|
+
label: string;
|
|
27
|
+
variant?: ButtonVariant;
|
|
28
|
+
size?: ButtonSize;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
onClick?: string;
|
|
31
|
+
event?: string;
|
|
32
|
+
icon?: string;
|
|
33
|
+
iconPosition?: 'left' | 'right';
|
|
34
|
+
className?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Button pattern that emits events via the event bus.
|
|
38
|
+
*/
|
|
39
|
+
export declare function ButtonPattern({ label, variant, size, disabled, onClick, event, icon, iconPosition, className, }: ButtonPatternProps): React.ReactElement;
|
|
40
|
+
export declare namespace ButtonPattern {
|
|
41
|
+
var displayName: string;
|
|
42
|
+
}
|
|
43
|
+
export interface IconButtonPatternProps extends ClosedCircuitProps {
|
|
44
|
+
icon: string;
|
|
45
|
+
variant?: ButtonVariant;
|
|
46
|
+
size?: ButtonSize;
|
|
47
|
+
onClick?: string;
|
|
48
|
+
ariaLabel?: string;
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Icon-only button pattern.
|
|
53
|
+
*/
|
|
54
|
+
export declare function IconButtonPattern({ icon, variant, size, onClick, ariaLabel, className, }: IconButtonPatternProps): React.ReactElement;
|
|
55
|
+
export declare namespace IconButtonPattern {
|
|
56
|
+
var displayName: string;
|
|
57
|
+
}
|
|
58
|
+
export interface LinkPatternProps extends ClosedCircuitProps {
|
|
59
|
+
label: string;
|
|
60
|
+
href?: string;
|
|
61
|
+
external?: boolean;
|
|
62
|
+
onClick?: string;
|
|
63
|
+
className?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Link pattern for navigation.
|
|
67
|
+
*/
|
|
68
|
+
export declare function LinkPattern({ label, href, external, onClick, className, }: LinkPatternProps): React.ReactElement;
|
|
69
|
+
export declare namespace LinkPattern {
|
|
70
|
+
var displayName: string;
|
|
71
|
+
}
|
|
72
|
+
export interface TextPatternProps extends ClosedCircuitProps {
|
|
73
|
+
content: string;
|
|
74
|
+
variant?: 'body' | 'caption' | 'overline';
|
|
75
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
76
|
+
weight?: 'normal' | 'medium' | 'semibold' | 'bold';
|
|
77
|
+
color?: string;
|
|
78
|
+
align?: 'left' | 'center' | 'right';
|
|
79
|
+
className?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Text pattern for typography.
|
|
83
|
+
*/
|
|
84
|
+
export declare function TextPattern({ content, variant, size, weight, color, align, className, }: TextPatternProps): React.ReactElement;
|
|
85
|
+
export declare namespace TextPattern {
|
|
86
|
+
var displayName: string;
|
|
87
|
+
}
|
|
88
|
+
export interface HeadingPatternProps extends ClosedCircuitProps {
|
|
89
|
+
content: string;
|
|
90
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
91
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
92
|
+
className?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Heading pattern.
|
|
96
|
+
*/
|
|
97
|
+
export declare function HeadingPattern({ content, level, size, className, }: HeadingPatternProps): React.ReactElement;
|
|
98
|
+
export declare namespace HeadingPattern {
|
|
99
|
+
var displayName: string;
|
|
100
|
+
}
|
|
101
|
+
export interface BadgePatternProps extends ClosedCircuitProps {
|
|
102
|
+
label: string;
|
|
103
|
+
variant?: BadgeVariant;
|
|
104
|
+
size?: 'sm' | 'md';
|
|
105
|
+
className?: string;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Badge pattern for status/counts.
|
|
109
|
+
*/
|
|
110
|
+
export declare function BadgePattern({ label, variant, size, className, }: BadgePatternProps): React.ReactElement;
|
|
111
|
+
export declare namespace BadgePattern {
|
|
112
|
+
var displayName: string;
|
|
113
|
+
}
|
|
114
|
+
export interface AvatarPatternProps extends ClosedCircuitProps {
|
|
115
|
+
src?: string;
|
|
116
|
+
alt?: string;
|
|
117
|
+
name?: string;
|
|
118
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
119
|
+
className?: string;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Avatar pattern.
|
|
123
|
+
*/
|
|
124
|
+
export declare function AvatarPattern({ src, alt, name, size, className, }: AvatarPatternProps): React.ReactElement;
|
|
125
|
+
export declare namespace AvatarPattern {
|
|
126
|
+
var displayName: string;
|
|
127
|
+
}
|
|
128
|
+
export interface IconPatternProps extends ClosedCircuitProps {
|
|
129
|
+
name: string;
|
|
130
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
131
|
+
color?: string;
|
|
132
|
+
className?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Icon pattern.
|
|
136
|
+
*/
|
|
137
|
+
export declare function IconPattern({ name, size, color, className, }: IconPatternProps): React.ReactElement;
|
|
138
|
+
export declare namespace IconPattern {
|
|
139
|
+
var displayName: string;
|
|
140
|
+
}
|
|
141
|
+
export interface ImagePatternProps extends ClosedCircuitProps {
|
|
142
|
+
src: string;
|
|
143
|
+
alt: string;
|
|
144
|
+
width?: number | string;
|
|
145
|
+
height?: number | string;
|
|
146
|
+
objectFit?: 'cover' | 'contain' | 'fill';
|
|
147
|
+
fallback?: string;
|
|
148
|
+
className?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Image pattern.
|
|
152
|
+
*/
|
|
153
|
+
export declare function ImagePattern({ src, alt, width, height, objectFit, className, }: ImagePatternProps): React.ReactElement;
|
|
154
|
+
export declare namespace ImagePattern {
|
|
155
|
+
var displayName: string;
|
|
156
|
+
}
|
|
157
|
+
export interface CardPatternProps extends ClosedCircuitProps {
|
|
158
|
+
title?: string;
|
|
159
|
+
subtitle?: string;
|
|
160
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
161
|
+
shadow?: 'none' | 'sm' | 'md' | 'lg';
|
|
162
|
+
onClick?: string;
|
|
163
|
+
className?: string;
|
|
164
|
+
children?: React.ReactNode;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Card pattern.
|
|
168
|
+
*/
|
|
169
|
+
export declare function CardPattern({ title, subtitle, padding, shadow, onClick, className, children, }: CardPatternProps): React.ReactElement;
|
|
170
|
+
export declare namespace CardPattern {
|
|
171
|
+
var displayName: string;
|
|
172
|
+
}
|
|
173
|
+
export interface ProgressBarPatternProps extends ClosedCircuitProps {
|
|
174
|
+
value: number;
|
|
175
|
+
max?: number;
|
|
176
|
+
variant?: 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
177
|
+
size?: 'sm' | 'md' | 'lg';
|
|
178
|
+
showLabel?: boolean;
|
|
179
|
+
className?: string;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Progress bar pattern.
|
|
183
|
+
*/
|
|
184
|
+
export declare function ProgressBarPattern({ value, max, variant, size, showLabel, className, }: ProgressBarPatternProps): React.ReactElement;
|
|
185
|
+
export declare namespace ProgressBarPattern {
|
|
186
|
+
var displayName: string;
|
|
187
|
+
}
|
|
188
|
+
export interface SpinnerPatternProps extends ClosedCircuitProps {
|
|
189
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
190
|
+
color?: string;
|
|
191
|
+
className?: string;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Spinner pattern.
|
|
195
|
+
*/
|
|
196
|
+
export declare function SpinnerPattern({ size, className, }: SpinnerPatternProps): React.ReactElement;
|
|
197
|
+
export declare namespace SpinnerPattern {
|
|
198
|
+
var displayName: string;
|
|
199
|
+
}
|
|
200
|
+
export interface InputPatternProps extends ClosedCircuitProps {
|
|
201
|
+
value?: string;
|
|
202
|
+
placeholder?: string;
|
|
203
|
+
inputType?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
|
|
204
|
+
disabled?: boolean;
|
|
205
|
+
/** Field-level validation error message */
|
|
206
|
+
fieldError?: string;
|
|
207
|
+
onChange?: string;
|
|
208
|
+
onBlur?: string;
|
|
209
|
+
className?: string;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Input pattern.
|
|
213
|
+
*/
|
|
214
|
+
export declare function InputPattern({ value, placeholder, inputType, disabled, fieldError, onChange, onBlur, className, }: InputPatternProps): React.ReactElement;
|
|
215
|
+
export declare namespace InputPattern {
|
|
216
|
+
var displayName: string;
|
|
217
|
+
}
|
|
218
|
+
export interface TextareaPatternProps extends ClosedCircuitProps {
|
|
219
|
+
value?: string;
|
|
220
|
+
placeholder?: string;
|
|
221
|
+
rows?: number;
|
|
222
|
+
disabled?: boolean;
|
|
223
|
+
/** Field-level validation error message */
|
|
224
|
+
fieldError?: string;
|
|
225
|
+
onChange?: string;
|
|
226
|
+
className?: string;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Textarea pattern.
|
|
230
|
+
*/
|
|
231
|
+
export declare function TextareaPattern({ value, placeholder, rows, disabled, fieldError, onChange, className, }: TextareaPatternProps): React.ReactElement;
|
|
232
|
+
export declare namespace TextareaPattern {
|
|
233
|
+
var displayName: string;
|
|
234
|
+
}
|
|
235
|
+
export interface SelectPatternProps extends ClosedCircuitProps {
|
|
236
|
+
value?: string;
|
|
237
|
+
options: Array<{
|
|
238
|
+
value: string;
|
|
239
|
+
label: string;
|
|
240
|
+
}>;
|
|
241
|
+
placeholder?: string;
|
|
242
|
+
disabled?: boolean;
|
|
243
|
+
/** Field-level validation error message */
|
|
244
|
+
fieldError?: string;
|
|
245
|
+
onChange?: string;
|
|
246
|
+
className?: string;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Select pattern.
|
|
250
|
+
*/
|
|
251
|
+
export declare function SelectPattern({ value, options, placeholder, disabled, fieldError, onChange, className, }: SelectPatternProps): React.ReactElement;
|
|
252
|
+
export declare namespace SelectPattern {
|
|
253
|
+
var displayName: string;
|
|
254
|
+
}
|
|
255
|
+
export interface CheckboxPatternProps extends ClosedCircuitProps {
|
|
256
|
+
checked?: boolean;
|
|
257
|
+
label?: string;
|
|
258
|
+
disabled?: boolean;
|
|
259
|
+
onChange?: string;
|
|
260
|
+
className?: string;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Checkbox pattern.
|
|
264
|
+
*/
|
|
265
|
+
export declare function CheckboxPattern({ checked, label, disabled, onChange, className, }: CheckboxPatternProps): React.ReactElement;
|
|
266
|
+
export declare namespace CheckboxPattern {
|
|
267
|
+
var displayName: string;
|
|
268
|
+
}
|
|
269
|
+
export interface RadioPatternProps extends ClosedCircuitProps {
|
|
270
|
+
value: string;
|
|
271
|
+
checked?: boolean;
|
|
272
|
+
name?: string;
|
|
273
|
+
label?: string;
|
|
274
|
+
disabled?: boolean;
|
|
275
|
+
onChange?: string;
|
|
276
|
+
className?: string;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Radio pattern.
|
|
280
|
+
*/
|
|
281
|
+
export declare function RadioPattern({ value, checked, name, label, disabled, onChange, className, }: RadioPatternProps): React.ReactElement;
|
|
282
|
+
export declare namespace RadioPattern {
|
|
283
|
+
var displayName: string;
|
|
284
|
+
}
|
|
285
|
+
export interface LabelPatternProps extends ClosedCircuitProps {
|
|
286
|
+
text: string;
|
|
287
|
+
htmlFor?: string;
|
|
288
|
+
required?: boolean;
|
|
289
|
+
className?: string;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Label pattern.
|
|
293
|
+
*/
|
|
294
|
+
export declare function LabelPattern({ text, htmlFor, required, className, }: LabelPatternProps): React.ReactElement;
|
|
295
|
+
export declare namespace LabelPattern {
|
|
296
|
+
var displayName: string;
|
|
297
|
+
}
|
|
298
|
+
export interface AlertPatternProps extends ClosedCircuitProps {
|
|
299
|
+
message: string;
|
|
300
|
+
title?: string;
|
|
301
|
+
variant?: AlertVariant;
|
|
302
|
+
dismissible?: boolean;
|
|
303
|
+
onDismiss?: string;
|
|
304
|
+
className?: string;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Alert pattern.
|
|
308
|
+
*/
|
|
309
|
+
export declare function AlertPattern({ message, title, variant, dismissible, onDismiss, className, }: AlertPatternProps): React.ReactElement;
|
|
310
|
+
export declare namespace AlertPattern {
|
|
311
|
+
var displayName: string;
|
|
312
|
+
}
|
|
313
|
+
export interface TooltipPatternProps extends ClosedCircuitProps {
|
|
314
|
+
content: string;
|
|
315
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
316
|
+
className?: string;
|
|
317
|
+
children?: React.ReactNode;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Tooltip pattern.
|
|
321
|
+
*/
|
|
322
|
+
export declare function TooltipPattern({ content, position, className, children, }: TooltipPatternProps): React.ReactElement;
|
|
323
|
+
export declare namespace TooltipPattern {
|
|
324
|
+
var displayName: string;
|
|
325
|
+
}
|
|
326
|
+
export interface PopoverPatternProps extends ClosedCircuitProps {
|
|
327
|
+
content: React.ReactNode;
|
|
328
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
329
|
+
trigger?: 'click' | 'hover';
|
|
330
|
+
className?: string;
|
|
331
|
+
children?: React.ReactNode;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Popover pattern.
|
|
335
|
+
*/
|
|
336
|
+
export declare function PopoverPattern({ content, position, trigger, className, children, }: PopoverPatternProps): React.ReactElement;
|
|
337
|
+
export declare namespace PopoverPattern {
|
|
338
|
+
var displayName: string;
|
|
339
|
+
}
|
|
340
|
+
export interface MenuPatternProps extends ClosedCircuitProps {
|
|
341
|
+
items: Array<{
|
|
342
|
+
label: string;
|
|
343
|
+
event: string;
|
|
344
|
+
icon?: string;
|
|
345
|
+
disabled?: boolean;
|
|
346
|
+
variant?: 'default' | 'danger';
|
|
347
|
+
}>;
|
|
348
|
+
trigger?: React.ReactNode;
|
|
349
|
+
position?: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
350
|
+
className?: string;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Menu pattern.
|
|
354
|
+
*/
|
|
355
|
+
export declare function MenuPattern({ items, trigger, position, className, }: MenuPatternProps): React.ReactElement;
|
|
356
|
+
export declare namespace MenuPattern {
|
|
357
|
+
var displayName: string;
|
|
358
|
+
}
|
|
359
|
+
export interface AccordionPatternProps extends ClosedCircuitProps {
|
|
360
|
+
items: Array<{
|
|
361
|
+
title: string;
|
|
362
|
+
content: React.ReactNode;
|
|
363
|
+
}>;
|
|
364
|
+
multiple?: boolean;
|
|
365
|
+
defaultOpen?: number[];
|
|
366
|
+
className?: string;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Accordion pattern.
|
|
370
|
+
*/
|
|
371
|
+
export declare function AccordionPattern({ items, multiple, defaultOpen, className, }: AccordionPatternProps): React.ReactElement;
|
|
372
|
+
export declare namespace AccordionPattern {
|
|
373
|
+
var displayName: string;
|
|
374
|
+
}
|
|
375
|
+
export interface ContainerPatternProps extends ClosedCircuitProps {
|
|
376
|
+
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
377
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
378
|
+
className?: string;
|
|
379
|
+
children?: React.ReactNode;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Container pattern.
|
|
383
|
+
*/
|
|
384
|
+
export declare function ContainerPattern({ maxWidth, padding, className, children, }: ContainerPatternProps): React.ReactElement;
|
|
385
|
+
export declare namespace ContainerPattern {
|
|
386
|
+
var displayName: string;
|
|
387
|
+
}
|
|
388
|
+
export interface SimpleGridPatternProps extends ClosedCircuitProps {
|
|
389
|
+
minChildWidth?: string;
|
|
390
|
+
gap?: 'xs' | 'sm' | 'md' | 'lg';
|
|
391
|
+
className?: string;
|
|
392
|
+
children?: React.ReactNode;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Simple grid pattern.
|
|
396
|
+
*/
|
|
397
|
+
export declare function SimpleGridPattern({ minChildWidth, gap, className, children, }: SimpleGridPatternProps): React.ReactElement;
|
|
398
|
+
export declare namespace SimpleGridPattern {
|
|
399
|
+
var displayName: string;
|
|
400
|
+
}
|
|
401
|
+
export interface FloatButtonPatternProps extends ClosedCircuitProps {
|
|
402
|
+
icon: string;
|
|
403
|
+
onClick?: string;
|
|
404
|
+
position?: 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
405
|
+
variant?: 'primary' | 'secondary';
|
|
406
|
+
className?: string;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Floating action button pattern.
|
|
410
|
+
*/
|
|
411
|
+
export declare function FloatButtonPattern({ icon, onClick, position, variant, className, }: FloatButtonPatternProps): React.ReactElement;
|
|
412
|
+
export declare namespace FloatButtonPattern {
|
|
413
|
+
var displayName: string;
|
|
414
|
+
}
|
|
415
|
+
export type MapViewPatternProps = Omit<MapViewProps, 'onMapClick' | 'onMarkerClick'> & ClosedCircuitProps;
|
|
416
|
+
/**
|
|
417
|
+
* Map view pattern. Passes through all MapView props.
|
|
418
|
+
* Event dispatch is handled internally by MapView via mapClickEvent/markerClickEvent.
|
|
419
|
+
*/
|
|
420
|
+
export declare function MapViewPattern({ markers, centerLat, centerLng, zoom, height, mapClickEvent, markerClickEvent, showClickedPin, className, showAttribution, }: MapViewPatternProps): React.ReactElement;
|
|
421
|
+
export declare namespace MapViewPattern {
|
|
422
|
+
var displayName: string;
|
|
423
|
+
}
|
|
424
|
+
export declare const COMPONENT_PATTERNS: {
|
|
425
|
+
readonly button: typeof ButtonPattern;
|
|
426
|
+
readonly 'icon-button': typeof IconButtonPattern;
|
|
427
|
+
readonly link: typeof LinkPattern;
|
|
428
|
+
readonly text: typeof TextPattern;
|
|
429
|
+
readonly heading: typeof HeadingPattern;
|
|
430
|
+
readonly badge: typeof BadgePattern;
|
|
431
|
+
readonly avatar: typeof AvatarPattern;
|
|
432
|
+
readonly icon: typeof IconPattern;
|
|
433
|
+
readonly image: typeof ImagePattern;
|
|
434
|
+
readonly card: typeof CardPattern;
|
|
435
|
+
readonly 'progress-bar': typeof ProgressBarPattern;
|
|
436
|
+
readonly spinner: typeof SpinnerPattern;
|
|
437
|
+
readonly input: typeof InputPattern;
|
|
438
|
+
readonly textarea: typeof TextareaPattern;
|
|
439
|
+
readonly select: typeof SelectPattern;
|
|
440
|
+
readonly checkbox: typeof CheckboxPattern;
|
|
441
|
+
readonly radio: typeof RadioPattern;
|
|
442
|
+
readonly label: typeof LabelPattern;
|
|
443
|
+
readonly alert: typeof AlertPattern;
|
|
444
|
+
readonly tooltip: typeof TooltipPattern;
|
|
445
|
+
readonly popover: typeof PopoverPattern;
|
|
446
|
+
readonly menu: typeof MenuPattern;
|
|
447
|
+
readonly accordion: typeof AccordionPattern;
|
|
448
|
+
readonly container: typeof ContainerPattern;
|
|
449
|
+
readonly 'simple-grid': typeof SimpleGridPattern;
|
|
450
|
+
readonly 'float-button': typeof FloatButtonPattern;
|
|
451
|
+
readonly 'map-view': typeof MapViewPattern;
|
|
452
|
+
};
|
|
453
|
+
export {};
|