@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.
Files changed (420) hide show
  1. package/dist/{chunk-UNDQO6DL.js → chunk-4KP6IZEQ.js} +3 -3
  2. package/dist/chunk-4N3BAPDB.js +1667 -0
  3. package/dist/{chunk-PERGHHON.js → chunk-IRIGCHP4.js} +2 -12
  4. package/dist/{chunk-Y7IHEYYE.js → chunk-QU2X55WH.js} +11 -1
  5. package/dist/{chunk-4ZBSL37D.js → chunk-XL7WB2O5.js} +415 -58
  6. package/dist/{chunk-MSLMORZK.js → chunk-YPY74G7F.js} +13434 -2264
  7. package/dist/components/atoms/AnimatedCounter.d.ts +20 -0
  8. package/dist/components/atoms/Avatar.d.ts +58 -0
  9. package/dist/components/atoms/Badge.d.ts +14 -0
  10. package/dist/components/atoms/Box.d.ts +57 -0
  11. package/dist/components/atoms/Button.d.ts +24 -0
  12. package/dist/components/atoms/Card.d.ts +18 -0
  13. package/dist/components/atoms/Center.d.ts +33 -0
  14. package/dist/components/atoms/Checkbox.d.ts +9 -0
  15. package/dist/components/atoms/ConditionalWrapper.d.ts +68 -0
  16. package/dist/components/atoms/ConfettiEffect.d.ts +19 -0
  17. package/dist/components/atoms/DayCell.d.ts +21 -0
  18. package/dist/components/atoms/Divider.d.ts +29 -0
  19. package/dist/components/atoms/FlipContainer.d.ts +21 -0
  20. package/dist/components/atoms/Icon.d.ts +39 -0
  21. package/dist/components/atoms/InfiniteScrollSentinel.d.ts +23 -0
  22. package/dist/components/atoms/Input.d.ts +26 -0
  23. package/dist/components/atoms/Label.d.ts +5 -0
  24. package/dist/components/atoms/LawReferenceTooltip.d.ts +48 -0
  25. package/dist/components/atoms/Overlay.d.ts +16 -0
  26. package/dist/components/atoms/ProgressBar.d.ts +63 -0
  27. package/dist/components/atoms/Radio.d.ts +26 -0
  28. package/dist/components/atoms/RangeSlider.d.ts +31 -0
  29. package/dist/components/atoms/Select.d.ts +12 -0
  30. package/dist/components/atoms/Spacer.d.ts +25 -0
  31. package/dist/components/atoms/Spinner.d.ts +6 -0
  32. package/dist/components/atoms/Stack.d.ts +66 -0
  33. package/dist/components/atoms/StatusDot.d.ts +14 -0
  34. package/dist/components/atoms/Switch.d.ts +12 -0
  35. package/dist/components/atoms/TextHighlight.d.ts +53 -0
  36. package/dist/components/atoms/Textarea.d.ts +5 -0
  37. package/dist/components/atoms/ThemeSelector.d.ts +21 -0
  38. package/dist/components/atoms/ThemeToggle.d.ts +33 -0
  39. package/dist/components/atoms/TimeSlotCell.d.ts +23 -0
  40. package/dist/components/atoms/TrendIndicator.d.ts +18 -0
  41. package/dist/components/atoms/TypewriterText.d.ts +20 -0
  42. package/dist/components/atoms/Typography.d.ts +57 -0
  43. package/dist/components/atoms/game/ActionButton.d.ts +25 -0
  44. package/dist/components/atoms/game/ChoiceButton.d.ts +18 -0
  45. package/dist/components/atoms/game/ComboCounter.d.ts +16 -0
  46. package/dist/components/atoms/game/ControlButton.d.ts +31 -0
  47. package/dist/components/atoms/game/DamageNumber.d.ts +14 -0
  48. package/dist/components/atoms/game/DialogueBubble.d.ts +16 -0
  49. package/dist/components/atoms/game/HealthBar.d.ts +18 -0
  50. package/dist/components/atoms/game/ItemSlot.d.ts +25 -0
  51. package/dist/components/atoms/game/MiniMap.d.ts +36 -0
  52. package/dist/components/atoms/game/ResourceCounter.d.ts +21 -0
  53. package/dist/components/atoms/game/ScoreDisplay.d.ts +21 -0
  54. package/dist/components/atoms/game/Sprite.d.ts +63 -0
  55. package/dist/components/atoms/game/StateIndicator.d.ts +31 -0
  56. package/dist/components/atoms/game/StatusEffect.d.ts +21 -0
  57. package/dist/components/atoms/game/TimerDisplay.d.ts +18 -0
  58. package/dist/components/atoms/game/TurnIndicator.d.ts +18 -0
  59. package/dist/components/atoms/game/WaypointMarker.d.ts +19 -0
  60. package/dist/components/atoms/game/XPBar.d.ts +20 -0
  61. package/dist/components/atoms/game/index.d.ts +25 -0
  62. package/dist/components/atoms/index.d.ts +37 -0
  63. package/dist/components/index.css +508 -0
  64. package/dist/components/index.d.ts +6 -9788
  65. package/dist/components/index.js +769 -11187
  66. package/dist/components/molecules/Accordion.d.ts +67 -0
  67. package/dist/components/molecules/Alert.d.ts +24 -0
  68. package/dist/components/molecules/Breadcrumb.d.ts +55 -0
  69. package/dist/components/molecules/ButtonGroup.d.ts +67 -0
  70. package/dist/components/molecules/CalendarGrid.d.ts +43 -0
  71. package/dist/components/molecules/Card.d.ts +56 -0
  72. package/dist/components/molecules/Carousel.d.ts +31 -0
  73. package/dist/components/molecules/ChartLegend.d.ts +20 -0
  74. package/dist/components/molecules/Container.d.ts +30 -0
  75. package/dist/components/molecules/DataGrid.d.ts +75 -0
  76. package/dist/components/molecules/DataList.d.ts +95 -0
  77. package/dist/components/molecules/DateRangeSelector.d.ts +22 -0
  78. package/dist/components/molecules/Drawer.d.ts +46 -0
  79. package/dist/components/molecules/EmptyState.d.ts +25 -0
  80. package/dist/components/molecules/ErrorBoundary.d.ts +55 -0
  81. package/dist/components/molecules/ErrorState.d.ts +13 -0
  82. package/dist/components/molecules/FilterGroup.d.ts +54 -0
  83. package/dist/components/molecules/Flex.d.ts +43 -0
  84. package/dist/components/molecules/FlipCard.d.ts +25 -0
  85. package/dist/components/molecules/FloatingActionButton.d.ts +69 -0
  86. package/dist/components/molecules/FormField.d.ts +16 -0
  87. package/dist/components/molecules/FormSectionHeader.d.ts +30 -0
  88. package/dist/components/molecules/GraphView.d.ts +45 -0
  89. package/dist/components/molecules/Grid.d.ts +54 -0
  90. package/dist/components/molecules/InputGroup.d.ts +24 -0
  91. package/dist/components/molecules/Lightbox.d.ts +25 -0
  92. package/dist/components/molecules/LineChart.d.ts +33 -0
  93. package/dist/components/molecules/LoadingState.d.ts +7 -0
  94. package/dist/components/molecules/MapView.d.ts +40 -0
  95. package/dist/components/molecules/Menu.d.ts +40 -0
  96. package/dist/components/molecules/Meter.d.ts +51 -0
  97. package/dist/components/molecules/Modal.d.ts +28 -0
  98. package/dist/components/molecules/NumberStepper.d.ts +27 -0
  99. package/dist/components/molecules/Pagination.d.ts +66 -0
  100. package/dist/components/molecules/Popover.d.ts +39 -0
  101. package/dist/components/molecules/ProgressDots.d.ts +24 -0
  102. package/dist/components/molecules/PullToRefresh.d.ts +21 -0
  103. package/dist/components/molecules/QuizBlock.d.ts +20 -0
  104. package/dist/components/molecules/RelationSelect.d.ts +48 -0
  105. package/dist/components/molecules/RepeatableFormSection.d.ts +58 -0
  106. package/dist/components/molecules/ScaledDiagram.d.ts +20 -0
  107. package/dist/components/molecules/SearchInput.d.ts +60 -0
  108. package/dist/components/molecules/SidePanel.d.ts +47 -0
  109. package/dist/components/molecules/SimpleGrid.d.ts +27 -0
  110. package/dist/components/molecules/Skeleton.d.ts +35 -0
  111. package/dist/components/molecules/SortableList.d.ts +17 -0
  112. package/dist/components/molecules/StarRating.d.ts +26 -0
  113. package/dist/components/molecules/StatDisplay.d.ts +37 -0
  114. package/dist/components/molecules/SwipeableRow.d.ts +24 -0
  115. package/dist/components/molecules/Tabs.d.ts +45 -0
  116. package/dist/components/molecules/Toast.d.ts +35 -0
  117. package/dist/components/molecules/Tooltip.d.ts +25 -0
  118. package/dist/components/molecules/UploadDropZone.d.ts +26 -0
  119. package/dist/components/molecules/ViolationAlert.d.ts +49 -0
  120. package/dist/components/molecules/WizardNavigation.d.ts +51 -0
  121. package/dist/components/molecules/WizardProgress.d.ts +42 -0
  122. package/dist/components/molecules/game/ActionButtons.d.ts +34 -0
  123. package/dist/components/molecules/game/CombatLog.d.ts +30 -0
  124. package/dist/components/molecules/game/CraftingRecipe.d.ts +33 -0
  125. package/dist/components/molecules/game/DPad.d.ts +22 -0
  126. package/dist/components/molecules/game/DialogueBox.d.ts +78 -0
  127. package/dist/components/molecules/game/EnemyPlate.d.ts +27 -0
  128. package/dist/components/molecules/game/GameCanvas2D.d.ts +18 -0
  129. package/dist/components/molecules/game/GameHud.d.ts +49 -0
  130. package/dist/components/molecules/game/GameMenu.d.ts +43 -0
  131. package/dist/components/molecules/game/GameOverScreen.d.ts +56 -0
  132. package/dist/components/molecules/game/HealthPanel.d.ts +27 -0
  133. package/dist/components/molecules/game/InventoryGrid.d.ts +30 -0
  134. package/dist/components/molecules/game/InventoryPanel.d.ts +67 -0
  135. package/dist/components/molecules/game/IsometricCanvas.d.ts +127 -0
  136. package/dist/components/molecules/game/PlatformerCanvas.d.ts +52 -0
  137. package/dist/components/molecules/game/PowerupSlots.d.ts +23 -0
  138. package/dist/components/molecules/game/QuestTracker.d.ts +20 -0
  139. package/dist/components/molecules/game/ResourceBar.d.ts +23 -0
  140. package/dist/components/molecules/game/ScoreBoard.d.ts +18 -0
  141. package/dist/components/molecules/game/StatBadge.d.ts +27 -0
  142. package/dist/components/molecules/game/TurnPanel.d.ts +29 -0
  143. package/dist/components/molecules/game/UnitCommandBar.d.ts +25 -0
  144. package/dist/components/molecules/game/index.d.ts +30 -0
  145. package/dist/components/molecules/index.d.ts +59 -0
  146. package/dist/components/molecules/markdown/CodeBlock.d.ts +25 -0
  147. package/dist/components/molecules/markdown/MarkdownContent.d.ts +26 -0
  148. package/dist/components/molecules/markdown/index.d.ts +2 -0
  149. package/dist/components/organisms/CardGrid.d.ts +80 -0
  150. package/dist/components/organisms/Chart.d.ts +59 -0
  151. package/dist/components/organisms/CodeViewer.d.ts +67 -0
  152. package/dist/components/organisms/ComponentPatterns.d.ts +453 -0
  153. package/dist/components/organisms/ConfirmDialog.d.ts +50 -0
  154. package/dist/components/organisms/ContentRenderer.d.ts +23 -0
  155. package/dist/components/organisms/CustomPattern.d.ts +104 -0
  156. package/dist/components/organisms/DataTable.d.ts +67 -0
  157. package/dist/components/organisms/DetailPanel.d.ts +78 -0
  158. package/dist/components/organisms/DocumentViewer.d.ts +60 -0
  159. package/dist/components/organisms/DrawerSlot.d.ts +39 -0
  160. package/dist/components/organisms/Form.d.ts +206 -0
  161. package/dist/components/organisms/FormSection.d.ts +41 -0
  162. package/dist/components/organisms/GraphCanvas.d.ts +69 -0
  163. package/dist/components/organisms/Header.d.ts +110 -0
  164. package/dist/components/organisms/JazariStateMachine.d.ts +60 -0
  165. package/dist/components/organisms/LayoutPatterns.d.ts +181 -0
  166. package/dist/components/organisms/List.d.ts +78 -0
  167. package/dist/components/organisms/MasterDetail.d.ts +32 -0
  168. package/dist/components/organisms/MediaGallery.d.ts +57 -0
  169. package/dist/components/organisms/Meter.d.ts +58 -0
  170. package/dist/components/organisms/ModalSlot.d.ts +35 -0
  171. package/dist/components/organisms/Navigation.d.ts +68 -0
  172. package/dist/components/organisms/NotifyListener.d.ts +15 -0
  173. package/dist/components/organisms/OrbitalVisualization.d.ts +48 -0
  174. package/dist/components/organisms/PageHeader.d.ts +59 -0
  175. package/dist/components/organisms/Section.d.ts +44 -0
  176. package/dist/components/organisms/Sidebar.d.ts +63 -0
  177. package/dist/components/organisms/SignaturePad.d.ts +44 -0
  178. package/dist/components/organisms/Split.d.ts +42 -0
  179. package/dist/components/organisms/StatCard.d.ts +62 -0
  180. package/dist/components/organisms/StateMachineView.d.ts +36 -0
  181. package/dist/components/organisms/Table.d.ts +99 -0
  182. package/dist/components/organisms/Timeline.d.ts +49 -0
  183. package/dist/components/organisms/ToastSlot.d.ts +38 -0
  184. package/dist/components/organisms/UISlotRenderer.d.ts +112 -0
  185. package/dist/components/organisms/WizardContainer.d.ts +160 -0
  186. package/dist/components/organisms/book/BookChapterView.d.ts +17 -0
  187. package/dist/components/organisms/book/BookCoverPage.d.ts +20 -0
  188. package/dist/components/organisms/book/BookNavBar.d.ts +19 -0
  189. package/dist/components/organisms/book/BookTableOfContents.d.ts +18 -0
  190. package/dist/components/organisms/book/BookViewer.d.ts +28 -0
  191. package/dist/components/organisms/book/index.d.ts +7 -0
  192. package/dist/components/organisms/book/types.d.ts +77 -0
  193. package/dist/components/organisms/component-registry.generated.d.ts +9 -0
  194. package/dist/components/organisms/debug/RuntimeDebugger.d.ts +19 -0
  195. package/dist/components/organisms/debug/hooks/useDebugData.d.ts +25 -0
  196. package/dist/components/organisms/debug/index.d.ts +13 -0
  197. package/dist/components/organisms/debug/tabs/EntitiesTab.d.ts +13 -0
  198. package/dist/components/organisms/debug/tabs/EventDispatcherTab.d.ts +16 -0
  199. package/dist/components/organisms/debug/tabs/EventFlowTab.d.ts +9 -0
  200. package/dist/components/organisms/debug/tabs/GuardsPanel.d.ts +9 -0
  201. package/dist/components/organisms/debug/tabs/ServerBridgeTab.d.ts +9 -0
  202. package/dist/components/organisms/debug/tabs/TicksTab.d.ts +13 -0
  203. package/dist/components/organisms/debug/tabs/TraitsTab.d.ts +13 -0
  204. package/dist/components/organisms/debug/tabs/TransitionTimeline.d.ts +9 -0
  205. package/dist/components/organisms/debug/tabs/VerificationTab.d.ts +10 -0
  206. package/dist/components/organisms/game/BattleBoard.d.ts +175 -0
  207. package/dist/components/organisms/game/CanvasEffect.d.ts +68 -0
  208. package/dist/components/organisms/game/CastleBoard.d.ts +85 -0
  209. package/dist/components/organisms/game/CombatLog.d.ts +2 -0
  210. package/dist/components/organisms/game/DialogueBox.d.ts +2 -0
  211. package/dist/components/organisms/game/GameAudioProvider.d.ts +47 -0
  212. package/dist/components/organisms/game/GameAudioToggle.d.ts +28 -0
  213. package/dist/components/organisms/game/GameCanvas3D.d.ts +181 -0
  214. package/dist/components/organisms/game/GameHud.d.ts +2 -0
  215. package/dist/components/organisms/game/GameMenu.d.ts +2 -0
  216. package/dist/components/organisms/game/GameOverScreen.d.ts +2 -0
  217. package/dist/components/organisms/game/InventoryPanel.d.ts +2 -0
  218. package/dist/components/organisms/game/IsometricCanvas.d.ts +3 -0
  219. package/dist/components/organisms/game/PlatformerCanvas.d.ts +2 -0
  220. package/dist/components/organisms/game/TraitSlot.d.ts +90 -0
  221. package/dist/components/organisms/game/TraitStateViewer.d.ts +53 -0
  222. package/dist/components/organisms/game/UncontrolledBattleBoard.d.ts +26 -0
  223. package/dist/components/organisms/game/WorldMapBoard.d.ts +156 -0
  224. package/dist/components/organisms/game/editor/editorUtils.d.ts +109 -0
  225. package/dist/components/organisms/game/editor/index.d.ts +9 -0
  226. package/dist/components/organisms/game/hooks/useBattleState.d.ts +35 -0
  227. package/dist/components/organisms/game/hooks/useCamera.d.ts +41 -0
  228. package/dist/components/organisms/game/hooks/useGameAudio.d.ts +47 -0
  229. package/dist/components/organisms/game/hooks/useImageCache.d.ts +16 -0
  230. package/dist/components/organisms/game/hooks/usePhysics2D.d.ts +45 -0
  231. package/dist/components/organisms/game/hooks/useSpriteAnimations.d.ts +43 -0
  232. package/dist/components/organisms/game/index.d.ts +52 -0
  233. package/dist/components/organisms/game/managers/PhysicsManager.d.ts +103 -0
  234. package/dist/components/organisms/game/physics-sim/SimulationCanvas.d.ts +20 -0
  235. package/dist/components/organisms/game/physics-sim/SimulationControls.d.ts +28 -0
  236. package/dist/components/organisms/game/physics-sim/SimulationGraph.d.ts +25 -0
  237. package/dist/components/organisms/game/physics-sim/index.d.ts +7 -0
  238. package/dist/components/organisms/game/physics-sim/presets/index.d.ts +4 -0
  239. package/dist/components/organisms/game/physics-sim/presets/mechanics.d.ts +4 -0
  240. package/dist/components/organisms/game/physics-sim/presets/types.d.ts +43 -0
  241. package/dist/components/organisms/game/puzzles/builder/BuilderBoard.d.ts +52 -0
  242. package/dist/components/organisms/game/puzzles/builder/index.d.ts +2 -0
  243. package/dist/components/organisms/game/puzzles/classifier/ClassifierBoard.d.ts +53 -0
  244. package/dist/components/organisms/game/puzzles/classifier/index.d.ts +2 -0
  245. package/dist/components/organisms/game/puzzles/debugger/DebuggerBoard.d.ts +45 -0
  246. package/dist/components/organisms/game/puzzles/debugger/index.d.ts +2 -0
  247. package/dist/components/organisms/game/puzzles/event-handler/EventHandlerBoard.d.ts +55 -0
  248. package/dist/components/organisms/game/puzzles/event-handler/EventLog.d.ts +31 -0
  249. package/dist/components/organisms/game/puzzles/event-handler/ObjectRulePanel.d.ts +45 -0
  250. package/dist/components/organisms/game/puzzles/event-handler/RuleEditor.d.ts +41 -0
  251. package/dist/components/organisms/game/puzzles/event-handler/index.d.ts +8 -0
  252. package/dist/components/organisms/game/puzzles/negotiator/NegotiatorBoard.d.ts +54 -0
  253. package/dist/components/organisms/game/puzzles/negotiator/index.d.ts +2 -0
  254. package/dist/components/organisms/game/puzzles/sequencer/ActionPalette.d.ts +34 -0
  255. package/dist/components/organisms/game/puzzles/sequencer/ActionTile.d.ts +30 -0
  256. package/dist/components/organisms/game/puzzles/sequencer/SequenceBar.d.ts +41 -0
  257. package/dist/components/organisms/game/puzzles/sequencer/SequencerBoard.d.ts +72 -0
  258. package/dist/components/organisms/game/puzzles/sequencer/index.d.ts +8 -0
  259. package/dist/components/organisms/game/puzzles/simulator/SimulatorBoard.d.ts +54 -0
  260. package/dist/components/organisms/game/puzzles/simulator/index.d.ts +2 -0
  261. package/dist/components/organisms/game/puzzles/state-architect/CodeView.d.ts +24 -0
  262. package/dist/components/organisms/game/puzzles/state-architect/StateArchitectBoard.d.ts +76 -0
  263. package/dist/components/organisms/game/puzzles/state-architect/StateNode.d.ts +33 -0
  264. package/dist/components/organisms/game/puzzles/state-architect/TransitionArrow.d.ts +36 -0
  265. package/dist/components/organisms/game/puzzles/state-architect/VariablePanel.d.ts +28 -0
  266. package/dist/components/organisms/game/puzzles/state-architect/index.d.ts +10 -0
  267. package/dist/components/organisms/game/three/Camera3D.d.ts +60 -0
  268. package/dist/components/organisms/game/three/Lighting3D.d.ts +47 -0
  269. package/dist/components/organisms/game/three/Scene3D.d.ts +37 -0
  270. package/dist/components/organisms/game/three/components/Canvas3DErrorBoundary.d.ts +51 -0
  271. package/dist/components/organisms/game/three/components/Canvas3DLoadingState.d.ts +44 -0
  272. package/dist/components/organisms/game/three/components/ModelLoader.d.ts +44 -0
  273. package/dist/components/organisms/game/three/components/PhysicsObject3D.d.ts +74 -0
  274. package/dist/components/organisms/game/three/components/index.d.ts +10 -0
  275. package/dist/components/organisms/game/three/hooks/useAssetLoader.d.ts +58 -0
  276. package/dist/components/organisms/game/three/hooks/useGameCanvas3DEvents.d.ts +79 -0
  277. package/dist/components/organisms/game/three/hooks/useRaycaster.d.ts +86 -0
  278. package/dist/components/organisms/game/three/hooks/useSceneGraph.d.ts +66 -0
  279. package/dist/components/organisms/game/three/hooks/useThree.d.ts +58 -0
  280. package/dist/components/organisms/game/three/index.d.ts +18 -1228
  281. package/dist/components/organisms/game/three/index.js +49 -1709
  282. package/dist/components/organisms/game/three/loaders/AssetLoader.d.ts +80 -0
  283. package/dist/components/organisms/game/three/renderers/FeatureRenderer.d.ts +44 -0
  284. package/dist/components/organisms/game/three/renderers/FeatureRenderer3D.d.ts +44 -0
  285. package/dist/components/organisms/game/three/renderers/TileRenderer.d.ts +57 -0
  286. package/dist/components/organisms/game/three/renderers/UnitRenderer.d.ts +46 -0
  287. package/dist/components/organisms/game/three/renderers/index.d.ts +11 -0
  288. package/dist/components/organisms/game/three/utils/culling.d.ts +134 -0
  289. package/dist/components/organisms/game/three/utils/grid3D.d.ts +154 -0
  290. package/dist/components/organisms/game/types/effects.d.ts +253 -0
  291. package/dist/components/organisms/game/types/game.d.ts +92 -0
  292. package/dist/{isometric-ynNHVPZx.d.ts → components/organisms/game/types/isometric.d.ts} +4 -6
  293. package/dist/components/organisms/game/types/spriteAnimation.d.ts +73 -0
  294. package/dist/components/organisms/game/useCanvasEffects.d.ts +26 -0
  295. package/dist/components/organisms/game/utils/canvasEffects.d.ts +50 -0
  296. package/dist/components/organisms/game/utils/combatEffects.d.ts +64 -0
  297. package/dist/components/organisms/game/utils/combatPresets.d.ts +15 -0
  298. package/dist/components/organisms/game/utils/isometric.d.ts +61 -0
  299. package/dist/components/organisms/game/utils/spriteAnimation.d.ts +57 -0
  300. package/dist/components/organisms/game/utils/spriteSheetConstants.d.ts +16 -0
  301. package/dist/components/organisms/index.d.ts +38 -0
  302. package/dist/components/organisms/layout/DashboardGrid.d.ts +35 -0
  303. package/dist/components/organisms/layout/MasterDetail.d.ts +32 -0
  304. package/dist/components/organisms/layout/SplitPane.d.ts +34 -0
  305. package/dist/components/organisms/layout/TabbedContainer.d.ts +42 -0
  306. package/dist/components/organisms/layout/index.d.ts +9 -0
  307. package/dist/components/organisms/types.d.ts +63 -0
  308. package/dist/components/templates/AuthLayout.d.ts +14 -0
  309. package/dist/components/templates/BattleTemplate.d.ts +25 -0
  310. package/dist/components/templates/CastleTemplate.d.ts +23 -0
  311. package/dist/components/templates/CounterTemplate.d.ts +44 -0
  312. package/dist/components/templates/DashboardLayout.d.ts +34 -0
  313. package/dist/components/templates/GameCanvas3DBattleTemplate.d.ts +96 -0
  314. package/dist/components/templates/GameCanvas3DCastleTemplate.d.ts +90 -0
  315. package/dist/components/templates/GameCanvas3DWorldMapTemplate.d.ts +96 -0
  316. package/dist/components/templates/GameShell.d.ts +34 -0
  317. package/dist/components/templates/GameTemplate.d.ts +36 -0
  318. package/dist/components/templates/GenericAppTemplate.d.ts +30 -0
  319. package/dist/components/templates/WorldMapTemplate.d.ts +29 -0
  320. package/dist/components/templates/index.d.ts +10 -0
  321. package/dist/components/templates/types.d.ts +22 -0
  322. package/dist/context/DesignThemeContext.d.ts +21 -0
  323. package/dist/{ThemeContext-D9xUORq5.d.ts → context/ThemeContext.d.ts} +15 -16
  324. package/dist/context/UISlotContext.d.ts +75 -0
  325. package/dist/context/UserContext.d.ts +111 -0
  326. package/dist/context/index.d.ts +6 -206
  327. package/dist/{event-bus-types-CjJduURa.d.ts → hooks/event-bus-types.d.ts} +4 -6
  328. package/dist/hooks/index.d.ts +30 -1220
  329. package/dist/hooks/index.js +2 -2
  330. package/dist/hooks/useAgentChat.d.ts +104 -0
  331. package/dist/hooks/useAuthContext.d.ts +25 -0
  332. package/dist/hooks/useCompile.d.ts +22 -0
  333. package/dist/hooks/useDeepAgentGeneration.d.ts +46 -0
  334. package/dist/hooks/useDragReorder.d.ts +26 -0
  335. package/dist/hooks/useEntities.d.ts +52 -0
  336. package/dist/hooks/useEntityData.d.ts +155 -0
  337. package/dist/hooks/useEntityMutations.d.ts +80 -0
  338. package/dist/hooks/useEventBus.d.ts +96 -0
  339. package/dist/hooks/useExtensions.d.ts +32 -0
  340. package/dist/hooks/useFileEditor.d.ts +32 -0
  341. package/dist/hooks/useFileSystem.d.ts +40 -0
  342. package/dist/hooks/useGitHub.d.ts +58 -0
  343. package/dist/hooks/useInfiniteScroll.d.ts +13 -0
  344. package/dist/hooks/useLongPress.d.ts +16 -0
  345. package/dist/hooks/useOrbitalHistory.d.ts +39 -0
  346. package/dist/hooks/useOrbitalMutations.d.ts +95 -0
  347. package/dist/hooks/usePinchZoom.d.ts +22 -0
  348. package/dist/hooks/usePreview.d.ts +57 -0
  349. package/dist/hooks/usePullToRefresh.d.ts +25 -0
  350. package/dist/hooks/useQuerySingleton.d.ts +78 -0
  351. package/dist/hooks/useResolvedEntity.d.ts +32 -0
  352. package/dist/hooks/useSwipeGesture.d.ts +26 -0
  353. package/dist/hooks/useTranslate.d.ts +35 -0
  354. package/dist/hooks/useUIEvents.d.ts +35 -0
  355. package/dist/{useUISlots-BBjNvQtb.d.ts → hooks/useUISlots.d.ts} +8 -9
  356. package/dist/hooks/useValidation.d.ts +46 -0
  357. package/dist/lib/api-client.d.ts +42 -0
  358. package/dist/lib/cn.d.ts +6 -0
  359. package/dist/lib/debug.d.ts +43 -0
  360. package/dist/lib/debugRegistry.d.ts +29 -0
  361. package/dist/lib/debugUtils.d.ts +27 -0
  362. package/dist/lib/entityDebug.d.ts +38 -0
  363. package/dist/lib/getNestedValue.d.ts +33 -0
  364. package/dist/lib/guardRegistry.d.ts +32 -0
  365. package/dist/lib/index.d.ts +17 -319
  366. package/dist/lib/index.js +1 -3
  367. package/dist/lib/jazari/index.d.ts +5 -0
  368. package/dist/lib/jazari/layout.d.ts +30 -0
  369. package/dist/lib/jazari/svg-paths.d.ts +61 -0
  370. package/dist/lib/jazari/types.d.ts +91 -0
  371. package/dist/lib/parseContentSegments.d.ts +41 -0
  372. package/dist/lib/tickRegistry.d.ts +40 -0
  373. package/dist/lib/traitRegistry.d.ts +34 -0
  374. package/dist/lib/verificationRegistry.d.ts +138 -0
  375. package/dist/lib/visualizer/browser.d.ts +47 -0
  376. package/dist/lib/visualizer/index.d.ts +143 -0
  377. package/dist/locales/index.d.ts +5 -7
  378. package/dist/providers/EventBusProvider.d.ts +60 -0
  379. package/dist/providers/FetchedDataProvider.d.ts +105 -0
  380. package/dist/providers/OfflineModeProvider.d.ts +79 -0
  381. package/dist/providers/OrbitalProvider.d.ts +101 -0
  382. package/dist/providers/SelectionProvider.d.ts +81 -0
  383. package/dist/providers/VerificationProvider.d.ts +63 -0
  384. package/dist/providers/index.css +599 -0
  385. package/dist/providers/index.d.ts +16 -464
  386. package/dist/providers/index.js +5 -4
  387. package/dist/renderer/client-effect-executor.d.ts +68 -0
  388. package/dist/renderer/data-resolver.d.ts +68 -0
  389. package/dist/renderer/index.d.ts +22 -519
  390. package/dist/renderer/init.d.ts +14 -0
  391. package/dist/renderer/navigation.d.ts +142 -0
  392. package/dist/{offline-executor-CHr4uAhf.d.ts → renderer/offline-executor.d.ts} +9 -172
  393. package/dist/renderer/pattern-resolver.d.ts +91 -0
  394. package/dist/renderer/slot-definitions.d.ts +45 -0
  395. package/dist/renderer/types.d.ts +160 -0
  396. package/dist/renderer/useClientEffects.d.ts +88 -0
  397. package/dist/runtime/EntitySchemaContext.d.ts +40 -0
  398. package/dist/runtime/TraitProvider.d.ts +52 -0
  399. package/dist/runtime/createClientEffectHandlers.d.ts +23 -0
  400. package/dist/runtime/index.css +599 -0
  401. package/dist/runtime/index.d.ts +10 -275
  402. package/dist/runtime/index.js +6 -6
  403. package/dist/runtime/types.d.ts +10 -0
  404. package/dist/runtime/ui/SlotsContext.d.ts +71 -0
  405. package/dist/runtime/useResolvedSchema.d.ts +45 -0
  406. package/dist/runtime/useTraitStateMachine.d.ts +48 -0
  407. package/dist/scripts/generate-design-system.d.ts +29 -0
  408. package/dist/scripts/generate-theme-from-schema.d.ts +10 -0
  409. package/dist/scripts/generate.d.ts +12 -0
  410. package/dist/scripts/suggest-components.d.ts +31 -0
  411. package/dist/scripts/types.d.ts +129 -0
  412. package/dist/stores/entityStore.d.ts +99 -0
  413. package/dist/stores/filtering.d.ts +51 -0
  414. package/dist/stores/index.d.ts +4 -148
  415. package/dist/tsup.config.d.ts +2 -0
  416. package/dist/vitest.config.d.ts +2 -0
  417. package/package.json +5 -4
  418. package/dist/chunk-42YQ6JVR.js +0 -48
  419. package/dist/chunk-WCTZ7WZX.js +0 -311
  420. package/dist/cn-C_ATNPvi.d.ts +0 -332
@@ -0,0 +1,20 @@
1
+ /**
2
+ * AnimatedCounter Atom Component
3
+ *
4
+ * Animates a number from its previous value to the current value
5
+ * using requestAnimationFrame and ease-out easing.
6
+ */
7
+ import React from "react";
8
+ export interface AnimatedCounterProps {
9
+ /** The target number to animate to */
10
+ value: number;
11
+ /** Animation duration in milliseconds */
12
+ duration?: number;
13
+ /** Text to display before the number */
14
+ prefix?: string;
15
+ /** Text to display after the number */
16
+ suffix?: string;
17
+ /** Additional class names */
18
+ className?: string;
19
+ }
20
+ export declare const AnimatedCounter: React.FC<AnimatedCounterProps>;
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Avatar Atom Component
3
+ *
4
+ * A versatile avatar component supporting images, initials, icons, and status indicators.
5
+ */
6
+ import React from "react";
7
+ import type { LucideIcon } from "lucide-react";
8
+ export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
9
+ export type AvatarStatus = "online" | "offline" | "away" | "busy";
10
+ export interface AvatarProps {
11
+ /**
12
+ * Image source URL
13
+ */
14
+ src?: string;
15
+ /**
16
+ * Alt text for the image
17
+ */
18
+ alt?: string;
19
+ /**
20
+ * Full name - initials will be generated automatically
21
+ */
22
+ name?: string;
23
+ /**
24
+ * Initials to display (e.g., "JD" for John Doe)
25
+ * If not provided but name is, initials will be auto-generated
26
+ */
27
+ initials?: string;
28
+ /**
29
+ * Icon to display when no image or initials
30
+ */
31
+ icon?: LucideIcon;
32
+ /**
33
+ * Size of the avatar
34
+ * @default 'md'
35
+ */
36
+ size?: AvatarSize;
37
+ /**
38
+ * Status indicator
39
+ */
40
+ status?: AvatarStatus;
41
+ /**
42
+ * Badge content (e.g., notification count)
43
+ */
44
+ badge?: string | number;
45
+ /**
46
+ * Additional CSS classes
47
+ */
48
+ className?: string;
49
+ /**
50
+ * Click handler
51
+ */
52
+ onClick?: () => void;
53
+ /** Declarative event name — emits UI:{action} via eventBus on click */
54
+ action?: string;
55
+ /** Payload to include with the action event */
56
+ actionPayload?: Record<string, unknown>;
57
+ }
58
+ export declare const Avatar: React.FC<AvatarProps>;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ export type BadgeVariant = "default" | "primary" | "secondary" | "success" | "warning" | "danger" | "error" | "info" | "neutral";
3
+ export type BadgeSize = "sm" | "md" | "lg";
4
+ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
5
+ variant?: BadgeVariant;
6
+ size?: BadgeSize;
7
+ /** Numeric count or amount to display in badge */
8
+ amount?: number;
9
+ /** Badge label text (alternative to children for schema-driven rendering) */
10
+ label?: string;
11
+ /** Icon name (Lucide icon string) or React node */
12
+ icon?: React.ReactNode;
13
+ }
14
+ export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Box Component
3
+ *
4
+ * A versatile layout primitive that provides spacing, background, border, and shadow controls.
5
+ * Think of it as a styled div with consistent design tokens.
6
+ */
7
+ import React from "react";
8
+ export type BoxPadding = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
9
+ export type BoxMargin = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "auto";
10
+ export type BoxBg = "transparent" | "primary" | "secondary" | "muted" | "accent" | "surface" | "overlay";
11
+ export type BoxRounded = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
12
+ export type BoxShadow = "none" | "sm" | "md" | "lg" | "xl";
13
+ export interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
14
+ /** Padding on all sides */
15
+ padding?: BoxPadding;
16
+ /** Horizontal padding (overrides padding for x-axis) */
17
+ paddingX?: BoxPadding;
18
+ /** Vertical padding (overrides padding for y-axis) */
19
+ paddingY?: BoxPadding;
20
+ /** Margin on all sides */
21
+ margin?: BoxMargin;
22
+ /** Horizontal margin */
23
+ marginX?: BoxMargin;
24
+ /** Vertical margin */
25
+ marginY?: BoxMargin;
26
+ /** Background color */
27
+ bg?: BoxBg;
28
+ /** Show border */
29
+ border?: boolean;
30
+ /** Border radius */
31
+ rounded?: BoxRounded;
32
+ /** Box shadow */
33
+ shadow?: BoxShadow;
34
+ /** Display type */
35
+ display?: "block" | "inline" | "inline-block" | "flex" | "inline-flex" | "grid";
36
+ /** Fill available width */
37
+ fullWidth?: boolean;
38
+ /** Fill available height */
39
+ fullHeight?: boolean;
40
+ /** Overflow behavior */
41
+ overflow?: "auto" | "hidden" | "visible" | "scroll";
42
+ /** Position */
43
+ position?: "relative" | "absolute" | "fixed" | "sticky";
44
+ /** HTML element to render as */
45
+ as?: React.ElementType;
46
+ /** Declarative event name — emits UI:{action} via eventBus on click */
47
+ action?: string;
48
+ /** Payload to include with the action event */
49
+ actionPayload?: Record<string, unknown>;
50
+ /** Declarative hover event — emits UI:{hoverEvent} with { hovered: true/false } on mouseEnter/mouseLeave */
51
+ hoverEvent?: string;
52
+ }
53
+ /**
54
+ * Box - Versatile container component with design tokens
55
+ */
56
+ export declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
57
+ export default Box;
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { type LucideIcon } from "lucide-react";
3
+ export type ButtonVariant = "primary" | "secondary" | "ghost" | "danger" | "success" | "warning" | "default";
4
+ export type ButtonSize = "sm" | "md" | "lg";
5
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
6
+ variant?: ButtonVariant;
7
+ size?: ButtonSize;
8
+ isLoading?: boolean;
9
+ /** Left icon as ReactNode, Lucide component, or string name (e.g. "plus", "trash") */
10
+ leftIcon?: React.ReactNode | LucideIcon | string;
11
+ /** Right icon as ReactNode, Lucide component, or string name */
12
+ rightIcon?: React.ReactNode | LucideIcon | string;
13
+ /** Alias for leftIcon */
14
+ icon?: React.ReactNode | LucideIcon | string;
15
+ /** Alias for rightIcon */
16
+ iconRight?: React.ReactNode | LucideIcon | string;
17
+ /** Declarative event name — emits UI:{action} via eventBus on click */
18
+ action?: string;
19
+ /** Payload to include with the action event */
20
+ actionPayload?: Record<string, unknown>;
21
+ /** Button label text (alternative to children for schema-driven rendering) */
22
+ label?: string;
23
+ }
24
+ export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ export type CardShadow = "none" | "sm" | "md" | "lg";
3
+ export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ variant?: "default" | "bordered" | "elevated" | "interactive";
5
+ padding?: "none" | "sm" | "md" | "lg";
6
+ /** Card title - renders in header if provided */
7
+ title?: string;
8
+ /** Card subtitle - renders below title */
9
+ subtitle?: string;
10
+ /** Shadow size override */
11
+ shadow?: CardShadow;
12
+ }
13
+ export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ export declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
16
+ export declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
17
+ export declare const CardBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
18
+ export declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Center Component
3
+ *
4
+ * A layout utility that centers its children horizontally and/or vertically.
5
+ */
6
+ import React from 'react';
7
+ export interface CenterProps {
8
+ /** Center inline (width fits content) vs block (full width) */
9
+ inline?: boolean;
10
+ /** Center only horizontally */
11
+ horizontal?: boolean;
12
+ /** Center only vertically */
13
+ vertical?: boolean;
14
+ /** Minimum height (useful for vertical centering) */
15
+ minHeight?: string | number;
16
+ /** Fill available height */
17
+ fullHeight?: boolean;
18
+ /** Fill available width */
19
+ fullWidth?: boolean;
20
+ /** Custom class name */
21
+ className?: string;
22
+ /** Inline styles */
23
+ style?: React.CSSProperties;
24
+ /** Children elements */
25
+ children: React.ReactNode;
26
+ /** HTML element to render as */
27
+ as?: React.ElementType;
28
+ }
29
+ /**
30
+ * Center - Centers content horizontally and/or vertically
31
+ */
32
+ export declare const Center: React.FC<CenterProps>;
33
+ export default Center;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
3
+ /** Whether the checkbox is checked */
4
+ checked?: boolean;
5
+ /** Default checked state (uncontrolled) */
6
+ defaultChecked?: boolean;
7
+ label?: string;
8
+ }
9
+ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,68 @@
1
+ /**
2
+ * ConditionalWrapper Atom Component
3
+ *
4
+ * A wrapper component that conditionally renders its children based on
5
+ * S-expression evaluation. Used for dynamic field visibility in inspection forms.
6
+ */
7
+ import React from 'react';
8
+ import { type SExpr } from '@almadar/evaluator';
9
+ /**
10
+ * Context for conditional evaluation
11
+ */
12
+ export interface ConditionalContext {
13
+ formValues: Record<string, unknown>;
14
+ globalVariables: Record<string, unknown>;
15
+ localVariables?: Record<string, unknown>;
16
+ entity?: Record<string, unknown>;
17
+ }
18
+ export interface ConditionalWrapperProps {
19
+ /** The S-expression condition to evaluate */
20
+ condition?: SExpr;
21
+ /** Context for evaluating the condition */
22
+ context: ConditionalContext;
23
+ /** Children to render when condition is true (or when no condition is provided) */
24
+ children: React.ReactNode;
25
+ /** Optional fallback to render when condition is false */
26
+ fallback?: React.ReactNode;
27
+ /** Whether to animate the transition (uses CSS transitions) */
28
+ animate?: boolean;
29
+ }
30
+ /**
31
+ * ConditionalWrapper conditionally renders children based on S-expression evaluation.
32
+ *
33
+ * Supported bindings:
34
+ * - @entity.formValues.fieldId - Access form field values
35
+ * - @entity.globalVariables.HG_VAR - Access global inspection variables
36
+ * - @entity.localVariables.H_VAR - Access document-local variables
37
+ * - @state - Current state machine state
38
+ * - @now - Current timestamp
39
+ *
40
+ * @example
41
+ * // Simple condition - show field when another field equals a value
42
+ * <ConditionalWrapper
43
+ * condition={["=", "@entity.formValues.vehicleType", "commercial"]}
44
+ * context={{ formValues: { vehicleType: "commercial" }, globalVariables: {} }}
45
+ * >
46
+ * <Input name="commercialLicenseNumber" />
47
+ * </ConditionalWrapper>
48
+ *
49
+ * @example
50
+ * // With fallback - show message when condition not met
51
+ * <ConditionalWrapper
52
+ * condition={[">=", "@entity.formValues.loadWeight", 3500]}
53
+ * context={formContext}
54
+ * fallback={<Typography variant="small">Load weight must be at least 3500kg</Typography>}
55
+ * >
56
+ * <HeavyVehicleFields />
57
+ * </ConditionalWrapper>
58
+ *
59
+ * @example
60
+ * // Using global variables for cross-form conditions
61
+ * <ConditionalWrapper
62
+ * condition={["=", "@entity.globalVariables.HG_POTROSNIKI", "DA"]}
63
+ * context={{ formValues: {}, globalVariables: { HG_POTROSNIKI: "DA" } }}
64
+ * >
65
+ * <PriceMarkingSection />
66
+ * </ConditionalWrapper>
67
+ */
68
+ export declare const ConditionalWrapper: React.FC<ConditionalWrapperProps>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * ConfettiEffect Atom Component
3
+ *
4
+ * Renders a brief particle burst animation when triggered.
5
+ * Uses CSS keyframe animations for each particle with random
6
+ * position, rotation, and velocity.
7
+ */
8
+ import React from "react";
9
+ export interface ConfettiEffectProps {
10
+ /** When this changes from false to true, a burst of particles is spawned */
11
+ trigger: boolean;
12
+ /** How long the animation lasts in milliseconds */
13
+ duration?: number;
14
+ /** Number of particles to spawn */
15
+ particleCount?: number;
16
+ /** Additional class names */
17
+ className?: string;
18
+ }
19
+ export declare const ConfettiEffect: React.FC<ConfettiEffectProps>;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * DayCell
3
+ *
4
+ * Calendar day header atom. Renders day abbreviation and date number
5
+ * with optional today highlight.
6
+ */
7
+ import React from "react";
8
+ export interface DayCellProps {
9
+ /** The date this cell represents */
10
+ date: Date;
11
+ /** Whether this date is today */
12
+ isToday?: boolean;
13
+ /** Called when the day is clicked */
14
+ onClick?: (date: Date) => void;
15
+ /** Additional CSS classes */
16
+ className?: string;
17
+ }
18
+ export declare function DayCell({ date, isToday, onClick, className, }: DayCellProps): React.JSX.Element;
19
+ export declare namespace DayCell {
20
+ var displayName: string;
21
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Divider Atom Component
3
+ *
4
+ * A divider component for separating content sections.
5
+ */
6
+ import React from "react";
7
+ export type DividerOrientation = "horizontal" | "vertical";
8
+ export type DividerVariant = "solid" | "dashed" | "dotted";
9
+ export interface DividerProps {
10
+ /**
11
+ * Orientation of the divider
12
+ * @default 'horizontal'
13
+ */
14
+ orientation?: DividerOrientation;
15
+ /**
16
+ * Text label to display in the divider
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Line style variant
21
+ * @default 'solid'
22
+ */
23
+ variant?: DividerVariant;
24
+ /**
25
+ * Additional CSS classes
26
+ */
27
+ className?: string;
28
+ }
29
+ export declare const Divider: React.FC<DividerProps>;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * FlipContainer - A 3D perspective container atom for flip animations.
3
+ *
4
+ * Provides CSS 3D transform infrastructure: perspective on the outer wrapper,
5
+ * preserve-3d + rotateY on the inner, and backface-visibility hidden on each child face.
6
+ */
7
+ import React from 'react';
8
+ export interface FlipContainerProps {
9
+ /** Whether the container is flipped (rotateY 180deg) */
10
+ flipped: boolean;
11
+ /** Optional className for the outer wrapper */
12
+ className?: string;
13
+ /** The two face elements (front and back) */
14
+ children: React.ReactNode;
15
+ /** Click handler on the outer wrapper */
16
+ onClick?: () => void;
17
+ }
18
+ export declare const FlipContainer: {
19
+ ({ flipped, className, children, onClick, }: FlipContainerProps): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Icon Atom Component
3
+ *
4
+ * A wrapper component for Lucide icons with consistent sizing and styling.
5
+ * Uses theme-aware CSS variables for stroke width and color.
6
+ *
7
+ * Supports two APIs:
8
+ * - `icon` prop: Pass a LucideIcon component directly
9
+ * - `name` prop: Pass a string icon name (resolved from iconMap)
10
+ */
11
+ import React from 'react';
12
+ import type { LucideIcon } from 'lucide-react';
13
+ export type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
14
+ export type IconAnimation = 'spin' | 'pulse' | 'none';
15
+ /**
16
+ * Resolve an icon name to a Lucide icon component.
17
+ * Supports all 1500+ Lucide icons via dynamic PascalCase lookup.
18
+ * Falls back to HelpCircle if not found.
19
+ */
20
+ export declare function resolveIcon(name: string): LucideIcon;
21
+ export interface IconProps {
22
+ /** Lucide icon component (preferred for type-safe usage) */
23
+ icon?: LucideIcon;
24
+ /** Icon name as string (resolved from iconMap) */
25
+ name?: string;
26
+ /** Size of the icon */
27
+ size?: IconSize;
28
+ /** Color class (Tailwind color class) or 'inherit' for theme default */
29
+ color?: string;
30
+ /** Animation type */
31
+ animation?: IconAnimation;
32
+ /** Additional CSS classes */
33
+ className?: string;
34
+ /** Icon stroke width - uses theme default if not specified */
35
+ strokeWidth?: number;
36
+ /** Inline style */
37
+ style?: React.CSSProperties;
38
+ }
39
+ export declare const Icon: React.FC<IconProps>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * InfiniteScrollSentinel Atom Component
3
+ *
4
+ * Invisible element placed at the end of a list. Uses IntersectionObserver
5
+ * via useInfiniteScroll to detect when the user scrolls near the bottom,
6
+ * then fires a load-more event through the event bus.
7
+ */
8
+ import React from "react";
9
+ export interface InfiniteScrollSentinelProps {
10
+ /** Event name to emit when load-more is triggered (emitted as UI:{loadMoreEvent}) */
11
+ loadMoreEvent: string;
12
+ /** Optional payload to include with the load-more event */
13
+ loadMorePayload?: Record<string, unknown>;
14
+ /** Whether a load operation is currently in progress */
15
+ isLoading?: boolean;
16
+ /** Whether there are more items to load */
17
+ hasMore?: boolean;
18
+ /** IntersectionObserver rootMargin for early trigger */
19
+ threshold?: string;
20
+ /** Additional class names */
21
+ className?: string;
22
+ }
23
+ export declare const InfiniteScrollSentinel: React.FC<InfiniteScrollSentinelProps>;
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import { type LucideIcon } from "lucide-react";
3
+ export interface SelectOption {
4
+ value: string;
5
+ label: string;
6
+ }
7
+ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
8
+ /** Input type - supports 'select' and 'textarea' in addition to standard types */
9
+ inputType?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | "date" | "datetime-local" | "time" | "checkbox" | "select" | "textarea";
10
+ error?: string;
11
+ leftIcon?: React.ReactNode;
12
+ rightIcon?: React.ReactNode;
13
+ /** Lucide icon component for left side (convenience prop) */
14
+ icon?: LucideIcon;
15
+ /** Show clear button when input has value */
16
+ clearable?: boolean;
17
+ /** Callback when clear button is clicked */
18
+ onClear?: () => void;
19
+ /** Options for select type */
20
+ options?: SelectOption[];
21
+ /** Rows for textarea type */
22
+ rows?: number;
23
+ /** onChange handler - accepts events from input, select, or textarea */
24
+ onChange?: React.ChangeEventHandler<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
25
+ }
26
+ export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
3
+ required?: boolean;
4
+ }
5
+ export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * LawReferenceTooltip Atom Component
3
+ *
4
+ * A specialized tooltip for displaying law references in inspection forms.
5
+ * Shows law name, article number, and relevant clause text.
6
+ */
7
+ import React from "react";
8
+ /**
9
+ * Law reference definition
10
+ */
11
+ export interface LawReference {
12
+ /** Law identifier (e.g., "VVO", "TPED") */
13
+ law: string;
14
+ /** Full name of the law */
15
+ lawName?: string;
16
+ /** Article number (e.g., "§8", "Artikel 5") */
17
+ article: string;
18
+ /** Clause or paragraph text */
19
+ clause?: string;
20
+ /** Optional link to full law text */
21
+ link?: string;
22
+ }
23
+ export interface LawReferenceTooltipProps {
24
+ /** The law reference to display */
25
+ reference: LawReference;
26
+ /** Children element that triggers the tooltip */
27
+ children: React.ReactNode;
28
+ /** Tooltip position */
29
+ position?: "top" | "bottom" | "left" | "right";
30
+ /** Additional CSS classes */
31
+ className?: string;
32
+ }
33
+ /**
34
+ * LawReferenceTooltip displays legal references with structured formatting.
35
+ *
36
+ * @example
37
+ * <LawReferenceTooltip
38
+ * reference={{
39
+ * law: "VVO",
40
+ * lawName: "Verkehrsverordnung",
41
+ * article: "§8 Abs. 3",
42
+ * clause: "Die zulässige Gesamtmasse darf 3500 kg nicht überschreiten."
43
+ * }}
44
+ * >
45
+ * <Typography variant="small" className="text-blue-600 underline cursor-help">VVO §8</Typography>
46
+ * </LawReferenceTooltip>
47
+ */
48
+ export declare const LawReferenceTooltip: React.FC<LawReferenceTooltipProps>;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Overlay Atom Component
3
+ *
4
+ * A fixed backdrop for modals and drawers.
5
+ */
6
+ import React from "react";
7
+ export interface OverlayProps {
8
+ isVisible?: boolean;
9
+ onClick?: (e: React.MouseEvent) => void;
10
+ className?: string;
11
+ blur?: boolean;
12
+ /** Declarative event name — emits UI:{action} via eventBus on click */
13
+ action?: string;
14
+ }
15
+ export declare const Overlay: React.FC<OverlayProps>;
16
+ export default Overlay;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * ProgressBar Atom Component
3
+ *
4
+ * A progress bar component with linear, circular, and stepped variants.
5
+ */
6
+ import React from "react";
7
+ export type ProgressBarType = "linear" | "circular" | "stepped";
8
+ export type ProgressBarVariant = "default" | "primary" | "success" | "warning" | "danger";
9
+ export type ProgressBarColor = ProgressBarVariant;
10
+ export interface ProgressBarProps {
11
+ /**
12
+ * Progress value (0-100)
13
+ */
14
+ value: number;
15
+ /**
16
+ * Maximum value (for calculating percentage)
17
+ * @default 100
18
+ */
19
+ max?: number;
20
+ /**
21
+ * Type of the progress bar (linear, circular, stepped)
22
+ * @default 'linear'
23
+ */
24
+ progressType?: ProgressBarType;
25
+ /**
26
+ * Variant/color of the progress bar
27
+ * @default 'primary'
28
+ */
29
+ variant?: ProgressBarVariant;
30
+ /**
31
+ * Color variant (alias for variant)
32
+ * @default 'primary'
33
+ */
34
+ color?: ProgressBarColor;
35
+ /**
36
+ * Show percentage text
37
+ * @default false
38
+ */
39
+ showPercentage?: boolean;
40
+ /**
41
+ * Alias for showPercentage (pattern compatibility)
42
+ */
43
+ showLabel?: boolean;
44
+ /**
45
+ * Label text
46
+ */
47
+ label?: string;
48
+ /**
49
+ * Size (for circular variant)
50
+ * @default 'md'
51
+ */
52
+ size?: "sm" | "md" | "lg";
53
+ /**
54
+ * Number of steps (for stepped variant)
55
+ * @default 5
56
+ */
57
+ steps?: number;
58
+ /**
59
+ * Additional CSS classes
60
+ */
61
+ className?: string;
62
+ }
63
+ export declare const ProgressBar: React.FC<ProgressBarProps>;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Radio Atom Component
3
+ *
4
+ * A radio button component with label support and accessibility.
5
+ */
6
+ import React from "react";
7
+ export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
8
+ /**
9
+ * Label text displayed next to the radio button
10
+ */
11
+ label?: string;
12
+ /**
13
+ * Helper text displayed below the radio button
14
+ */
15
+ helperText?: string;
16
+ /**
17
+ * Error message displayed below the radio button
18
+ */
19
+ error?: string;
20
+ /**
21
+ * Size of the radio button
22
+ * @default 'md'
23
+ */
24
+ size?: "sm" | "md" | "lg";
25
+ }
26
+ export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;