@almadar/ui 5.111.0 → 5.113.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 (589) hide show
  1. package/dist/GameAudioProvider-CPGwD49P.d.cts +151 -0
  2. package/dist/GameAudioProvider-CPGwD49P.d.ts +151 -0
  3. package/dist/TraitProvider-YkK6tXDw.d.cts +236 -0
  4. package/dist/TraitProvider-YkK6tXDw.d.ts +236 -0
  5. package/dist/{providers/UISlotContext.d.ts → UISlotContext-C1FsU9GB.d.ts} +14 -10
  6. package/dist/UISlotContext-D8_SoDsD.d.cts +79 -0
  7. package/dist/UserContext-bziZwgFL.d.cts +278 -0
  8. package/dist/UserContext-bziZwgFL.d.ts +278 -0
  9. package/dist/avl/index.cjs +137 -18
  10. package/dist/avl/index.js +139 -20
  11. package/dist/avl-schema-parser-B8Onmfsu.d.cts +393 -0
  12. package/dist/avl-schema-parser-B8Onmfsu.d.ts +393 -0
  13. package/dist/cn-BkQrMR01.d.cts +295 -0
  14. package/dist/cn-CTEFm9PC.d.ts +295 -0
  15. package/dist/components/index.cjs +33 -6
  16. package/dist/components/index.d.cts +11225 -0
  17. package/dist/components/index.d.ts +11225 -6
  18. package/dist/components/index.js +33 -6
  19. package/dist/{lib/themeTokens.d.ts → context/index.d.cts} +13 -4
  20. package/dist/context/index.d.ts +62 -9
  21. package/dist/{types/event-bus-types.d.ts → event-bus-types-Bl78kokd.d.cts} +7 -6
  22. package/dist/event-bus-types-Bl78kokd.d.ts +65 -0
  23. package/dist/hooks/index.d.cts +995 -0
  24. package/dist/hooks/index.d.ts +994 -32
  25. package/dist/lib/drawable/three/index.cjs +11 -24
  26. package/dist/lib/drawable/three/index.d.cts +1485 -0
  27. package/dist/lib/drawable/three/index.d.ts +1484 -38
  28. package/dist/lib/drawable/three/index.js +11 -24
  29. package/dist/lib/index.d.cts +505 -0
  30. package/dist/lib/index.d.ts +504 -18
  31. package/dist/locales/index.d.cts +22 -0
  32. package/dist/locales/index.d.ts +7 -5
  33. package/dist/offline-executor-aRuNznZx.d.cts +520 -0
  34. package/dist/offline-executor-aRuNznZx.d.ts +520 -0
  35. package/dist/paintDispatch-DR942knx.d.cts +221 -0
  36. package/dist/paintDispatch-DR942knx.d.ts +221 -0
  37. package/dist/providers/index.cjs +33 -6
  38. package/dist/providers/index.d.cts +428 -0
  39. package/dist/providers/index.d.ts +427 -26
  40. package/dist/providers/index.js +33 -6
  41. package/dist/renderer/index.cjs +1 -1
  42. package/dist/renderer/index.d.cts +343 -0
  43. package/dist/renderer/index.d.ts +337 -22
  44. package/dist/renderer/index.js +1 -1
  45. package/dist/runtime/index.cjs +137 -18
  46. package/dist/runtime/index.d.cts +426 -0
  47. package/dist/runtime/index.d.ts +421 -16
  48. package/dist/runtime/index.js +139 -20
  49. package/dist/useEventBus-CQWyAWpK.d.ts +65 -0
  50. package/dist/useEventBus-Ckr4wqW3.d.cts +65 -0
  51. package/dist/{hooks/useUISlots.d.ts → useUISlots-BesZYMks.d.cts} +16 -14
  52. package/dist/useUISlots-BesZYMks.d.ts +216 -0
  53. package/package.json +11 -11
  54. package/dist/avl/index.d.cts +0 -1853
  55. package/dist/avl/index.d.ts +0 -64
  56. package/dist/components/avl/atoms/Avl3DLabel.d.ts +0 -23
  57. package/dist/components/avl/atoms/Avl3DTooltip.d.ts +0 -25
  58. package/dist/components/avl/atoms/AvlApplication.d.ts +0 -8
  59. package/dist/components/avl/atoms/AvlBinding.d.ts +0 -12
  60. package/dist/components/avl/atoms/AvlBindingRef.d.ts +0 -7
  61. package/dist/components/avl/atoms/AvlEffect.d.ts +0 -10
  62. package/dist/components/avl/atoms/AvlEntity.d.ts +0 -9
  63. package/dist/components/avl/atoms/AvlEvent.d.ts +0 -7
  64. package/dist/components/avl/atoms/AvlField.d.ts +0 -10
  65. package/dist/components/avl/atoms/AvlFieldType.d.ts +0 -8
  66. package/dist/components/avl/atoms/AvlGuard.d.ts +0 -7
  67. package/dist/components/avl/atoms/AvlLiteral.d.ts +0 -7
  68. package/dist/components/avl/atoms/AvlOperator.d.ts +0 -8
  69. package/dist/components/avl/atoms/AvlOrbital.d.ts +0 -11
  70. package/dist/components/avl/atoms/AvlPage.d.ts +0 -7
  71. package/dist/components/avl/atoms/AvlPersistence.d.ts +0 -8
  72. package/dist/components/avl/atoms/AvlSExpr.d.ts +0 -8
  73. package/dist/components/avl/atoms/AvlState.d.ts +0 -15
  74. package/dist/components/avl/atoms/AvlTrait.d.ts +0 -13
  75. package/dist/components/avl/atoms/AvlTransition.d.ts +0 -18
  76. package/dist/components/avl/atoms/index.d.ts +0 -24
  77. package/dist/components/avl/hooks/useCanvasDnd.d.ts +0 -155
  78. package/dist/components/avl/lib/avl-3d-layout.d.ts +0 -116
  79. package/dist/components/avl/lib/avl-behavior-compose-converter.d.ts +0 -55
  80. package/dist/components/avl/lib/avl-elk-layout.d.ts +0 -55
  81. package/dist/components/avl/lib/avl-flow-converter.d.ts +0 -17
  82. package/dist/components/avl/lib/avl-layout.d.ts +0 -32
  83. package/dist/components/avl/lib/avl-preview-converter.d.ts +0 -71
  84. package/dist/components/avl/lib/avl-schema-parser.d.ts +0 -128
  85. package/dist/components/avl/lib/avl-story-schemas.d.ts +0 -34
  86. package/dist/components/avl/lib/avl-zoom-band.d.ts +0 -19
  87. package/dist/components/avl/lib/avl-zoom-state.d.ts +0 -72
  88. package/dist/components/avl/lib/derive-edit-focus.d.ts +0 -8
  89. package/dist/components/avl/lib/wire-validation.d.ts +0 -30
  90. package/dist/components/avl/molecules/Avl3DCrossWire.d.ts +0 -22
  91. package/dist/components/avl/molecules/Avl3DEntityCore.d.ts +0 -26
  92. package/dist/components/avl/molecules/Avl3DExprTree.d.ts +0 -21
  93. package/dist/components/avl/molecules/Avl3DOrbitalNode.d.ts +0 -29
  94. package/dist/components/avl/molecules/Avl3DStateNode.d.ts +0 -34
  95. package/dist/components/avl/molecules/Avl3DTransitionArc.d.ts +0 -38
  96. package/dist/components/avl/molecules/AvlBackwardEdge.d.ts +0 -8
  97. package/dist/components/avl/molecules/AvlBehaviorGlyph.d.ts +0 -61
  98. package/dist/components/avl/molecules/AvlBindingEdge.d.ts +0 -9
  99. package/dist/components/avl/molecules/AvlClosedCircuit.d.ts +0 -20
  100. package/dist/components/avl/molecules/AvlEmitListen.d.ts +0 -16
  101. package/dist/components/avl/molecules/AvlEventWireEdge.d.ts +0 -15
  102. package/dist/components/avl/molecules/AvlExprTree.d.ts +0 -13
  103. package/dist/components/avl/molecules/AvlOrbitalNode.d.ts +0 -12
  104. package/dist/components/avl/molecules/AvlOrbitalUnit.d.ts +0 -20
  105. package/dist/components/avl/molecules/AvlPageEdge.d.ts +0 -8
  106. package/dist/components/avl/molecules/AvlSlotMap.d.ts +0 -18
  107. package/dist/components/avl/molecules/AvlStateMachine.d.ts +0 -22
  108. package/dist/components/avl/molecules/AvlSwimLane.d.ts +0 -10
  109. package/dist/components/avl/molecules/AvlTransitionEdge.d.ts +0 -17
  110. package/dist/components/avl/molecules/AvlTransitionLane.d.ts +0 -18
  111. package/dist/components/avl/molecules/BehaviorComposeNode.d.ts +0 -13
  112. package/dist/components/avl/molecules/BehaviorView.d.ts +0 -12
  113. package/dist/components/avl/molecules/DetailView.d.ts +0 -13
  114. package/dist/components/avl/molecules/EventFlowEdge.d.ts +0 -13
  115. package/dist/components/avl/molecules/MiniStateMachine.d.ts +0 -14
  116. package/dist/components/avl/molecules/ModuleCard.d.ts +0 -22
  117. package/dist/components/avl/molecules/OrbPreviewNode.d.ts +0 -38
  118. package/dist/components/avl/molecules/SystemNode.d.ts +0 -12
  119. package/dist/components/avl/molecules/TraitCardNode.d.ts +0 -33
  120. package/dist/components/avl/molecules/index.d.ts +0 -38
  121. package/dist/components/avl/organisms/Avl3DApplicationScene.d.ts +0 -19
  122. package/dist/components/avl/organisms/Avl3DEffects.d.ts +0 -18
  123. package/dist/components/avl/organisms/Avl3DOrbitalScene.d.ts +0 -23
  124. package/dist/components/avl/organisms/Avl3DTraitScene.d.ts +0 -19
  125. package/dist/components/avl/organisms/Avl3DTransitionScene.d.ts +0 -17
  126. package/dist/components/avl/organisms/Avl3DViewer.d.ts +0 -40
  127. package/dist/components/avl/organisms/AvlClickTarget.d.ts +0 -31
  128. package/dist/components/avl/organisms/AvlCosmicZoom.d.ts +0 -41
  129. package/dist/components/avl/organisms/AvlLegend.d.ts +0 -15
  130. package/dist/components/avl/organisms/AvlOrbitalsCosmicZoom.d.ts +0 -54
  131. package/dist/components/avl/organisms/AvlTraitScene.d.ts +0 -17
  132. package/dist/components/avl/organisms/AvlTransitionDetail.d.ts +0 -20
  133. package/dist/components/avl/organisms/AvlTransitionScene.d.ts +0 -13
  134. package/dist/components/avl/organisms/FlowCanvas.d.ts +0 -134
  135. package/dist/components/avl/organisms/OrbInspector.d.ts +0 -45
  136. package/dist/components/avl/organisms/ZoomBreadcrumb.d.ts +0 -16
  137. package/dist/components/avl/organisms/ZoomLegend.d.ts +0 -10
  138. package/dist/components/avl/organisms/index.d.ts +0 -19
  139. package/dist/components/avl/providers/avl-3d-context.d.ts +0 -32
  140. package/dist/components/avl/types/avl-atom-types.d.ts +0 -53
  141. package/dist/components/avl/types/avl-behavior-compose-types.d.ts +0 -120
  142. package/dist/components/avl/types/avl-canvas-types.d.ts +0 -39
  143. package/dist/components/avl/types/avl-preview-types.d.ts +0 -240
  144. package/dist/components/core/atoms/Aside.d.ts +0 -15
  145. package/dist/components/core/atoms/AtlasImage.d.ts +0 -58
  146. package/dist/components/core/atoms/Avatar.d.ts +0 -61
  147. package/dist/components/core/atoms/Badge.d.ts +0 -29
  148. package/dist/components/core/atoms/Box.d.ts +0 -68
  149. package/dist/components/core/atoms/Button.d.ts +0 -33
  150. package/dist/components/core/atoms/Card.d.ts +0 -34
  151. package/dist/components/core/atoms/Center.d.ts +0 -33
  152. package/dist/components/core/atoms/Checkbox.d.ts +0 -14
  153. package/dist/components/core/atoms/ConditionalWrapper.d.ts +0 -69
  154. package/dist/components/core/atoms/ConfettiEffect.d.ts +0 -19
  155. package/dist/components/core/atoms/DayCell.d.ts +0 -22
  156. package/dist/components/core/atoms/Dialog.d.ts +0 -18
  157. package/dist/components/core/atoms/Divider.d.ts +0 -29
  158. package/dist/components/core/atoms/FilterPill.d.ts +0 -30
  159. package/dist/components/core/atoms/FlipContainer.d.ts +0 -21
  160. package/dist/components/core/atoms/GameIcon.d.ts +0 -19
  161. package/dist/components/core/atoms/Icon.d.ts +0 -57
  162. package/dist/components/core/atoms/InfiniteScrollSentinel.d.ts +0 -24
  163. package/dist/components/core/atoms/Input.d.ts +0 -39
  164. package/dist/components/core/atoms/Label.d.ts +0 -12
  165. package/dist/components/core/atoms/LawReferenceTooltip.d.ts +0 -48
  166. package/dist/components/core/atoms/Overlay.d.ts +0 -17
  167. package/dist/components/core/atoms/ProgressBar.d.ts +0 -63
  168. package/dist/components/core/atoms/Radio.d.ts +0 -35
  169. package/dist/components/core/atoms/RangeSlider.d.ts +0 -34
  170. package/dist/components/core/atoms/SectionHeader.d.ts +0 -14
  171. package/dist/components/core/atoms/Select.d.ts +0 -49
  172. package/dist/components/core/atoms/Spacer.d.ts +0 -25
  173. package/dist/components/core/atoms/Sparkline.d.ts +0 -30
  174. package/dist/components/core/atoms/Spinner.d.ts +0 -10
  175. package/dist/components/core/atoms/Stack.d.ts +0 -67
  176. package/dist/components/core/atoms/StatusDot.d.ts +0 -16
  177. package/dist/components/core/atoms/Switch.d.ts +0 -12
  178. package/dist/components/core/atoms/TextHighlight.d.ts +0 -54
  179. package/dist/components/core/atoms/Textarea.d.ts +0 -17
  180. package/dist/components/core/atoms/ThemeToggle.d.ts +0 -33
  181. package/dist/components/core/atoms/TimeSlotCell.d.ts +0 -23
  182. package/dist/components/core/atoms/TraitFrame.d.ts +0 -54
  183. package/dist/components/core/atoms/TrendIndicator.d.ts +0 -20
  184. package/dist/components/core/atoms/TypewriterText.d.ts +0 -20
  185. package/dist/components/core/atoms/Typography.d.ts +0 -39
  186. package/dist/components/core/atoms/index.d.ts +0 -52
  187. package/dist/components/core/atoms/svg/SvgBranch.d.ts +0 -16
  188. package/dist/components/core/atoms/svg/SvgConnection.d.ts +0 -17
  189. package/dist/components/core/atoms/svg/SvgFlow.d.ts +0 -14
  190. package/dist/components/core/atoms/svg/SvgGrid.d.ts +0 -18
  191. package/dist/components/core/atoms/svg/SvgLobe.d.ts +0 -17
  192. package/dist/components/core/atoms/svg/SvgMesh.d.ts +0 -16
  193. package/dist/components/core/atoms/svg/SvgMorph.d.ts +0 -15
  194. package/dist/components/core/atoms/svg/SvgNode.d.ts +0 -16
  195. package/dist/components/core/atoms/svg/SvgPulse.d.ts +0 -16
  196. package/dist/components/core/atoms/svg/SvgRing.d.ts +0 -17
  197. package/dist/components/core/atoms/svg/SvgShield.d.ts +0 -15
  198. package/dist/components/core/atoms/svg/SvgStack.d.ts +0 -17
  199. package/dist/components/core/atoms/svg/index.d.ts +0 -12
  200. package/dist/components/core/atoms/types.d.ts +0 -47
  201. package/dist/components/core/molecules/Accordion.d.ts +0 -71
  202. package/dist/components/core/molecules/ActivationBlock.d.ts +0 -22
  203. package/dist/components/core/molecules/Alert.d.ts +0 -25
  204. package/dist/components/core/molecules/AnimatedCounter.d.ts +0 -18
  205. package/dist/components/core/molecules/AssetPicker.d.ts +0 -21
  206. package/dist/components/core/molecules/BloomQuizBlock.d.ts +0 -25
  207. package/dist/components/core/molecules/BranchingLogicBuilder.d.ts +0 -33
  208. package/dist/components/core/molecules/Breadcrumb.d.ts +0 -55
  209. package/dist/components/core/molecules/ButtonGroup.d.ts +0 -77
  210. package/dist/components/core/molecules/CalendarGrid.d.ts +0 -61
  211. package/dist/components/core/molecules/Card.d.ts +0 -58
  212. package/dist/components/core/molecules/Carousel.d.ts +0 -42
  213. package/dist/components/core/molecules/Chart.d.ts +0 -106
  214. package/dist/components/core/molecules/ChartLegend.d.ts +0 -20
  215. package/dist/components/core/molecules/Coachmark.d.ts +0 -47
  216. package/dist/components/core/molecules/ConfirmDialog.d.ts +0 -49
  217. package/dist/components/core/molecules/ConnectionBlock.d.ts +0 -18
  218. package/dist/components/core/molecules/Container.d.ts +0 -30
  219. package/dist/components/core/molecules/ContentRenderer.d.ts +0 -23
  220. package/dist/components/core/molecules/DataGrid.d.ts +0 -117
  221. package/dist/components/core/molecules/DataList.d.ts +0 -129
  222. package/dist/components/core/molecules/DateRangePicker.d.ts +0 -56
  223. package/dist/components/core/molecules/DateRangeSelector.d.ts +0 -21
  224. package/dist/components/core/molecules/DocBreadcrumb.d.ts +0 -20
  225. package/dist/components/core/molecules/DocPagination.d.ts +0 -21
  226. package/dist/components/core/molecules/DocSearch.d.ts +0 -22
  227. package/dist/components/core/molecules/DocSidebar.d.ts +0 -24
  228. package/dist/components/core/molecules/DocTOC.d.ts +0 -24
  229. package/dist/components/core/molecules/DocumentViewer.d.ts +0 -61
  230. package/dist/components/core/molecules/Drawer.d.ts +0 -47
  231. package/dist/components/core/molecules/EdgeDecoration.d.ts +0 -36
  232. package/dist/components/core/molecules/EmptyState.d.ts +0 -29
  233. package/dist/components/core/molecules/ErrorBoundary.d.ts +0 -54
  234. package/dist/components/core/molecules/ErrorState.d.ts +0 -14
  235. package/dist/components/core/molecules/FeatureGrid.d.ts +0 -19
  236. package/dist/components/core/molecules/FileTree.d.ts +0 -37
  237. package/dist/components/core/molecules/FilterGroup.d.ts +0 -61
  238. package/dist/components/core/molecules/Flex.d.ts +0 -43
  239. package/dist/components/core/molecules/FlipCard.d.ts +0 -24
  240. package/dist/components/core/molecules/FloatingActionButton.d.ts +0 -83
  241. package/dist/components/core/molecules/FormField.d.ts +0 -16
  242. package/dist/components/core/molecules/FormSection.d.ts +0 -39
  243. package/dist/components/core/molecules/FormSectionHeader.d.ts +0 -31
  244. package/dist/components/core/molecules/GradientDivider.d.ts +0 -15
  245. package/dist/components/core/molecules/GraphCanvas.d.ts +0 -83
  246. package/dist/components/core/molecules/GraphView.d.ts +0 -45
  247. package/dist/components/core/molecules/Grid.d.ts +0 -54
  248. package/dist/components/core/molecules/GridPicker.d.ts +0 -44
  249. package/dist/components/core/molecules/Header.d.ts +0 -113
  250. package/dist/components/core/molecules/IconPicker.d.ts +0 -18
  251. package/dist/components/core/molecules/InputGroup.d.ts +0 -24
  252. package/dist/components/core/molecules/JazariStateMachine.d.ts +0 -34
  253. package/dist/components/core/molecules/JsonTreeEditor.d.ts +0 -13
  254. package/dist/components/core/molecules/Lightbox.d.ts +0 -26
  255. package/dist/components/core/molecules/LikertScale.d.ts +0 -34
  256. package/dist/components/core/molecules/LineChart.d.ts +0 -35
  257. package/dist/components/core/molecules/LoadingState.d.ts +0 -7
  258. package/dist/components/core/molecules/MapView.d.ts +0 -87
  259. package/dist/components/core/molecules/MatrixQuestion.d.ts +0 -35
  260. package/dist/components/core/molecules/Menu.d.ts +0 -44
  261. package/dist/components/core/molecules/Meter.d.ts +0 -52
  262. package/dist/components/core/molecules/Modal.d.ts +0 -36
  263. package/dist/components/core/molecules/Navigation.d.ts +0 -67
  264. package/dist/components/core/molecules/NodeSlotEditor.d.ts +0 -17
  265. package/dist/components/core/molecules/NumberStepper.d.ts +0 -28
  266. package/dist/components/core/molecules/OnboardingSpotlight.d.ts +0 -27
  267. package/dist/components/core/molecules/OptionConstraintGroup.d.ts +0 -44
  268. package/dist/components/core/molecules/OrbitalVisualization.d.ts +0 -48
  269. package/dist/components/core/molecules/PageHeader.d.ts +0 -60
  270. package/dist/components/core/molecules/Pagination.d.ts +0 -71
  271. package/dist/components/core/molecules/Popover.d.ts +0 -39
  272. package/dist/components/core/molecules/PositionedCanvas.d.ts +0 -40
  273. package/dist/components/core/molecules/ProgressDots.d.ts +0 -24
  274. package/dist/components/core/molecules/PropertyInspector.d.ts +0 -38
  275. package/dist/components/core/molecules/PullToRefresh.d.ts +0 -22
  276. package/dist/components/core/molecules/QrScanner.d.ts +0 -24
  277. package/dist/components/core/molecules/QuizBlock.d.ts +0 -20
  278. package/dist/components/core/molecules/ReflectionBlock.d.ts +0 -23
  279. package/dist/components/core/molecules/RelationSelect.d.ts +0 -48
  280. package/dist/components/core/molecules/RepeatableFormSection.d.ts +0 -60
  281. package/dist/components/core/molecules/ReplyTree.d.ts +0 -46
  282. package/dist/components/core/molecules/RichBlockEditor.d.ts +0 -43
  283. package/dist/components/core/molecules/ScaledDiagram.d.ts +0 -20
  284. package/dist/components/core/molecules/SearchInput.d.ts +0 -60
  285. package/dist/components/core/molecules/Section.d.ts +0 -43
  286. package/dist/components/core/molecules/SidePanel.d.ts +0 -53
  287. package/dist/components/core/molecules/Sidebar.d.ts +0 -72
  288. package/dist/components/core/molecules/SignaturePad.d.ts +0 -46
  289. package/dist/components/core/molecules/SimpleGrid.d.ts +0 -27
  290. package/dist/components/core/molecules/Skeleton.d.ts +0 -35
  291. package/dist/components/core/molecules/SocialProof.d.ts +0 -25
  292. package/dist/components/core/molecules/SortableList.d.ts +0 -19
  293. package/dist/components/core/molecules/Split.d.ts +0 -41
  294. package/dist/components/core/molecules/StarRating.d.ts +0 -27
  295. package/dist/components/core/molecules/StatDisplay.d.ts +0 -58
  296. package/dist/components/core/molecules/SwipeableRow.d.ts +0 -26
  297. package/dist/components/core/molecules/TableView.d.ts +0 -111
  298. package/dist/components/core/molecules/Tabs.d.ts +0 -60
  299. package/dist/components/core/molecules/TagInput.d.ts +0 -52
  300. package/dist/components/core/molecules/Toast.d.ts +0 -36
  301. package/dist/components/core/molecules/Tooltip.d.ts +0 -25
  302. package/dist/components/core/molecules/UploadDropZone.d.ts +0 -28
  303. package/dist/components/core/molecules/VersionDiff.d.ts +0 -62
  304. package/dist/components/core/molecules/ViolationAlert.d.ts +0 -46
  305. package/dist/components/core/molecules/VoteStack.d.ts +0 -35
  306. package/dist/components/core/molecules/WizardContainer.d.ts +0 -166
  307. package/dist/components/core/molecules/WizardNavigation.d.ts +0 -61
  308. package/dist/components/core/molecules/WizardProgress.d.ts +0 -45
  309. package/dist/components/core/molecules/index.d.ts +0 -138
  310. package/dist/components/core/molecules/lessonSegmentUtils.d.ts +0 -18
  311. package/dist/components/core/molecules/markdown/CodeBlock.d.ts +0 -108
  312. package/dist/components/core/molecules/markdown/MarkdownContent.d.ts +0 -26
  313. package/dist/components/core/molecules/markdown/index.d.ts +0 -2
  314. package/dist/components/core/molecules/parseLessonSegments.d.ts +0 -44
  315. package/dist/components/core/molecules/useDataDnd.d.ts +0 -63
  316. package/dist/components/core/organisms/CardGrid.d.ts +0 -84
  317. package/dist/components/core/organisms/ChatBar.d.ts +0 -31
  318. package/dist/components/core/organisms/CodeRunnerPanel.d.ts +0 -42
  319. package/dist/components/core/organisms/ComponentPatterns.d.ts +0 -185
  320. package/dist/components/core/organisms/CustomPattern.d.ts +0 -105
  321. package/dist/components/core/organisms/DataTable.d.ts +0 -79
  322. package/dist/components/core/organisms/DetailPanel.d.ts +0 -80
  323. package/dist/components/core/organisms/DrawerSlot.d.ts +0 -42
  324. package/dist/components/core/organisms/Form.d.ts +0 -214
  325. package/dist/components/core/organisms/LayoutPatterns.d.ts +0 -108
  326. package/dist/components/core/organisms/List.d.ts +0 -81
  327. package/dist/components/core/organisms/MasterDetail.d.ts +0 -35
  328. package/dist/components/core/organisms/MediaGallery.d.ts +0 -63
  329. package/dist/components/core/organisms/ModalSlot.d.ts +0 -38
  330. package/dist/components/core/organisms/NotifyListener.d.ts +0 -15
  331. package/dist/components/core/organisms/SegmentRenderer.d.ts +0 -38
  332. package/dist/components/core/organisms/StatCard.d.ts +0 -65
  333. package/dist/components/core/organisms/StateMachineView.d.ts +0 -45
  334. package/dist/components/core/organisms/SubagentTracePanel.d.ts +0 -50
  335. package/dist/components/core/organisms/Timeline.d.ts +0 -71
  336. package/dist/components/core/organisms/ToastSlot.d.ts +0 -41
  337. package/dist/components/core/organisms/UISlotRenderer.d.ts +0 -116
  338. package/dist/components/core/organisms/book/index.d.ts +0 -7
  339. package/dist/components/core/organisms/book/types.d.ts +0 -62
  340. package/dist/components/core/organisms/component-registry.generated.d.ts +0 -9
  341. package/dist/components/core/organisms/debug/RuntimeDebugger.d.ts +0 -29
  342. package/dist/components/core/organisms/debug/WalkMinimap.d.ts +0 -17
  343. package/dist/components/core/organisms/debug/hooks/useDebugData.d.ts +0 -25
  344. package/dist/components/core/organisms/debug/index.d.ts +0 -13
  345. package/dist/components/core/organisms/debug/tabs/EntitiesTab.d.ts +0 -14
  346. package/dist/components/core/organisms/debug/tabs/EventDispatcherTab.d.ts +0 -18
  347. package/dist/components/core/organisms/debug/tabs/EventFlowTab.d.ts +0 -14
  348. package/dist/components/core/organisms/debug/tabs/GuardsPanel.d.ts +0 -14
  349. package/dist/components/core/organisms/debug/tabs/ServerBridgeTab.d.ts +0 -20
  350. package/dist/components/core/organisms/debug/tabs/TicksTab.d.ts +0 -14
  351. package/dist/components/core/organisms/debug/tabs/TraitsTab.d.ts +0 -14
  352. package/dist/components/core/organisms/debug/tabs/TransitionTimeline.d.ts +0 -19
  353. package/dist/components/core/organisms/debug/tabs/VerificationTab.d.ts +0 -17
  354. package/dist/components/core/organisms/index.d.ts +0 -33
  355. package/dist/components/core/organisms/layout/DashboardGrid.d.ts +0 -33
  356. package/dist/components/core/organisms/layout/MasterDetailLayout.d.ts +0 -32
  357. package/dist/components/core/organisms/layout/SplitPane.d.ts +0 -34
  358. package/dist/components/core/organisms/layout/TabbedContainer.d.ts +0 -42
  359. package/dist/components/core/organisms/layout/index.d.ts +0 -9
  360. package/dist/components/core/organisms/marketing-types.d.ts +0 -8
  361. package/dist/components/core/organisms/trace-edit-focus.d.ts +0 -14
  362. package/dist/components/core/organisms/types.d.ts +0 -72
  363. package/dist/components/core/templates/CounterTemplate.d.ts +0 -51
  364. package/dist/components/core/templates/DashboardLayout.d.ts +0 -110
  365. package/dist/components/core/templates/GenericAppTemplate.d.ts +0 -24
  366. package/dist/components/core/templates/index.d.ts +0 -10
  367. package/dist/components/core/templates/types.d.ts +0 -35
  368. package/dist/components/game/atoms/ChoiceButton.d.ts +0 -29
  369. package/dist/components/game/atoms/ControlButton.d.ts +0 -35
  370. package/dist/components/game/atoms/DialogueBubble.d.ts +0 -26
  371. package/dist/components/game/atoms/DrawShape.d.ts +0 -50
  372. package/dist/components/game/atoms/DrawSprite.d.ts +0 -47
  373. package/dist/components/game/atoms/DrawText.d.ts +0 -31
  374. package/dist/components/game/atoms/GameAudioToggle.d.ts +0 -34
  375. package/dist/components/game/atoms/HealthBar.d.ts +0 -32
  376. package/dist/components/game/atoms/MiniMap.d.ts +0 -40
  377. package/dist/components/game/atoms/ScoreDisplay.d.ts +0 -25
  378. package/dist/components/game/atoms/StateIndicator.d.ts +0 -29
  379. package/dist/components/game/atoms/TimerDisplay.d.ts +0 -22
  380. package/dist/components/game/molecules/ActionPalette.d.ts +0 -34
  381. package/dist/components/game/molecules/ActionTile.d.ts +0 -30
  382. package/dist/components/game/molecules/Canvas.d.ts +0 -96
  383. package/dist/components/game/molecules/Canvas2D.d.ts +0 -120
  384. package/dist/components/game/molecules/ControlGrid.d.ts +0 -49
  385. package/dist/components/game/molecules/DrawShapeLayer.d.ts +0 -19
  386. package/dist/components/game/molecules/DrawSpriteLayer.d.ts +0 -21
  387. package/dist/components/game/molecules/DrawTextLayer.d.ts +0 -22
  388. package/dist/components/game/molecules/GameHud.d.ts +0 -52
  389. package/dist/components/game/molecules/GameMenu.d.ts +0 -42
  390. package/dist/components/game/molecules/SequenceBar.d.ts +0 -51
  391. package/dist/components/game/molecules/StatBadge.d.ts +0 -39
  392. package/dist/components/game/molecules/StateGraph.d.ts +0 -38
  393. package/dist/components/game/molecules/StateJsonView.d.ts +0 -37
  394. package/dist/components/game/molecules/StateNode.d.ts +0 -31
  395. package/dist/components/game/molecules/TraitSlot.d.ts +0 -99
  396. package/dist/components/game/molecules/TraitStateViewer.d.ts +0 -52
  397. package/dist/components/game/molecules/TransitionArrow.d.ts +0 -31
  398. package/dist/components/game/molecules/index.d.ts +0 -39
  399. package/dist/components/game/patterns.d.ts +0 -20
  400. package/dist/components/game/templates/GameShell.d.ts +0 -35
  401. package/dist/components/learning/atoms/LearningCanvas.d.ts +0 -80
  402. package/dist/components/learning/molecules/AlgorithmCanvas.d.ts +0 -58
  403. package/dist/components/learning/molecules/BiologyCanvas.d.ts +0 -47
  404. package/dist/components/learning/molecules/ChemistryCanvas.d.ts +0 -55
  405. package/dist/components/learning/molecules/MathCanvas.d.ts +0 -61
  406. package/dist/components/learning/molecules/PhysicsCanvas.d.ts +0 -54
  407. package/dist/components/marketing/atoms/AnimatedCounter.d.ts +0 -20
  408. package/dist/components/marketing/atoms/AnimatedGraphic.d.ts +0 -32
  409. package/dist/components/marketing/atoms/AnimatedReveal.d.ts +0 -26
  410. package/dist/components/marketing/atoms/ContentSection.d.ts +0 -16
  411. package/dist/components/marketing/atoms/MarketingStatCard.d.ts +0 -13
  412. package/dist/components/marketing/atoms/PatternTile.d.ts +0 -41
  413. package/dist/components/marketing/molecules/ArticleSection.d.ts +0 -18
  414. package/dist/components/marketing/molecules/CTABanner.d.ts +0 -26
  415. package/dist/components/marketing/molecules/CaseStudyCard.d.ts +0 -24
  416. package/dist/components/marketing/molecules/CommunityLinks.d.ts +0 -28
  417. package/dist/components/marketing/molecules/FeatureCard.d.ts +0 -26
  418. package/dist/components/marketing/molecules/GeometricPattern.d.ts +0 -33
  419. package/dist/components/marketing/molecules/HeroSection.d.ts +0 -28
  420. package/dist/components/marketing/molecules/InstallBox.d.ts +0 -16
  421. package/dist/components/marketing/molecules/MarketingFooter.d.ts +0 -29
  422. package/dist/components/marketing/molecules/PricingCard.d.ts +0 -19
  423. package/dist/components/marketing/molecules/PricingGrid.d.ts +0 -13
  424. package/dist/components/marketing/molecules/PullQuote.d.ts +0 -14
  425. package/dist/components/marketing/molecules/ServiceCatalog.d.ts +0 -19
  426. package/dist/components/marketing/molecules/ShowcaseCard.d.ts +0 -18
  427. package/dist/components/marketing/molecules/SplitSection.d.ts +0 -19
  428. package/dist/components/marketing/molecules/StatsGrid.d.ts +0 -18
  429. package/dist/components/marketing/molecules/StepFlow.d.ts +0 -21
  430. package/dist/components/marketing/molecules/TagCloud.d.ts +0 -18
  431. package/dist/components/marketing/molecules/TeamCard.d.ts +0 -19
  432. package/dist/components/marketing/organisms/CaseStudyOrganism.d.ts +0 -29
  433. package/dist/components/marketing/organisms/FeatureGridOrganism.d.ts +0 -30
  434. package/dist/components/marketing/organisms/HeroOrganism.d.ts +0 -42
  435. package/dist/components/marketing/organisms/PricingOrganism.d.ts +0 -33
  436. package/dist/components/marketing/organisms/ShowcaseOrganism.d.ts +0 -34
  437. package/dist/components/marketing/organisms/StatsOrganism.d.ts +0 -23
  438. package/dist/components/marketing/organisms/StepFlowOrganism.d.ts +0 -29
  439. package/dist/components/marketing/organisms/TeamOrganism.d.ts +0 -28
  440. package/dist/components/marketing/organisms/book/BookChapterView.d.ts +0 -21
  441. package/dist/components/marketing/organisms/book/BookCoverPage.d.ts +0 -21
  442. package/dist/components/marketing/organisms/book/BookNavBar.d.ts +0 -19
  443. package/dist/components/marketing/organisms/book/BookTableOfContents.d.ts +0 -20
  444. package/dist/components/marketing/organisms/book/BookViewer.d.ts +0 -31
  445. package/dist/components/marketing/templates/AboutPageTemplate.d.ts +0 -53
  446. package/dist/components/marketing/templates/AuthLayout.d.ts +0 -15
  447. package/dist/components/marketing/templates/FeatureDetailPageTemplate.d.ts +0 -37
  448. package/dist/components/marketing/templates/LandingPageTemplate.d.ts +0 -70
  449. package/dist/components/marketing/templates/PricingPageTemplate.d.ts +0 -44
  450. package/dist/hooks/useAgentChat.d.ts +0 -105
  451. package/dist/hooks/useAlmadarDndCollision.d.ts +0 -34
  452. package/dist/hooks/useAuthContext.d.ts +0 -25
  453. package/dist/hooks/useCamera.d.ts +0 -57
  454. package/dist/hooks/useCanvasGestures.d.ts +0 -44
  455. package/dist/hooks/useClientEffects.d.ts +0 -88
  456. package/dist/hooks/useCompile.d.ts +0 -18
  457. package/dist/hooks/useDeepAgentGeneration.d.ts +0 -46
  458. package/dist/hooks/useDragReorder.d.ts +0 -26
  459. package/dist/hooks/useDraggable.d.ts +0 -25
  460. package/dist/hooks/useDropZone.d.ts +0 -23
  461. package/dist/hooks/useEventBus.d.ts +0 -99
  462. package/dist/hooks/useExtensions.d.ts +0 -32
  463. package/dist/hooks/useFileEditor.d.ts +0 -32
  464. package/dist/hooks/useFileSystem.d.ts +0 -50
  465. package/dist/hooks/useGameAudio.d.ts +0 -47
  466. package/dist/hooks/useGitHub.d.ts +0 -58
  467. package/dist/hooks/useImageCache.d.ts +0 -16
  468. package/dist/hooks/useInfiniteScroll.d.ts +0 -13
  469. package/dist/hooks/useLongPress.d.ts +0 -16
  470. package/dist/hooks/useOrbitalHistory.d.ts +0 -39
  471. package/dist/hooks/usePreview.d.ts +0 -57
  472. package/dist/hooks/usePullToRefresh.d.ts +0 -25
  473. package/dist/hooks/useQuerySingleton.d.ts +0 -79
  474. package/dist/hooks/useRenderInterpolation.d.ts +0 -33
  475. package/dist/hooks/useResolvedSchema.d.ts +0 -45
  476. package/dist/hooks/useSharedEntityStore.d.ts +0 -53
  477. package/dist/hooks/useSwipeGesture.d.ts +0 -26
  478. package/dist/hooks/useTapReveal.d.ts +0 -32
  479. package/dist/hooks/useTraitStateMachine.d.ts +0 -136
  480. package/dist/hooks/useTranslate.d.ts +0 -35
  481. package/dist/hooks/useUIEvents.d.ts +0 -41
  482. package/dist/hooks/useUnitSpriteAtlas.d.ts +0 -24
  483. package/dist/hooks/useValidation.d.ts +0 -46
  484. package/dist/lib/api-client.d.ts +0 -43
  485. package/dist/lib/atlasSlice.d.ts +0 -58
  486. package/dist/lib/boardEntity.d.ts +0 -44
  487. package/dist/lib/client-effect-executor.d.ts +0 -57
  488. package/dist/lib/cn.d.ts +0 -6
  489. package/dist/lib/createClientEffectHandlers.d.ts +0 -42
  490. package/dist/lib/data-resolver.d.ts +0 -55
  491. package/dist/lib/debug.d.ts +0 -36
  492. package/dist/lib/debugRegistry.d.ts +0 -30
  493. package/dist/lib/debugUtils.d.ts +0 -27
  494. package/dist/lib/drawable/contract.d.ts +0 -68
  495. package/dist/lib/drawable/hitTest.d.ts +0 -23
  496. package/dist/lib/drawable/paintDispatch.d.ts +0 -22
  497. package/dist/lib/drawable/projector.d.ts +0 -14
  498. package/dist/lib/drawable/projector3d.d.ts +0 -20
  499. package/dist/lib/drawable/three/Camera3D.d.ts +0 -60
  500. package/dist/lib/drawable/three/Canvas3DErrorBoundary.d.ts +0 -51
  501. package/dist/lib/drawable/three/Canvas3DHost.d.ts +0 -178
  502. package/dist/lib/drawable/three/Canvas3DLoadingState.d.ts +0 -44
  503. package/dist/lib/drawable/three/Drawable3D.d.ts +0 -20
  504. package/dist/lib/drawable/three/GameCamera3D.d.ts +0 -16
  505. package/dist/lib/drawable/three/Lighting3D.d.ts +0 -55
  506. package/dist/lib/drawable/three/ModelLoader.d.ts +0 -52
  507. package/dist/lib/drawable/three/Scene3D.d.ts +0 -37
  508. package/dist/lib/drawable/three/game3dTheme.d.ts +0 -14
  509. package/dist/lib/drawable/three/hooks/useAssetLoader.d.ts +0 -58
  510. package/dist/lib/drawable/three/hooks/useGameCanvas3DEvents.d.ts +0 -124
  511. package/dist/lib/drawable/three/hooks/useRaycaster.d.ts +0 -86
  512. package/dist/lib/drawable/three/hooks/useSceneGraph.d.ts +0 -67
  513. package/dist/lib/drawable/three/hooks/useThree.d.ts +0 -58
  514. package/dist/lib/drawable/three/lib/AssetLoader.d.ts +0 -80
  515. package/dist/lib/drawable/three/lib/culling.d.ts +0 -134
  516. package/dist/lib/drawable/three/lib/grid3D.d.ts +0 -154
  517. package/dist/lib/drawable/three/mesh3d.d.ts +0 -28
  518. package/dist/lib/editorUtils.d.ts +0 -114
  519. package/dist/lib/embedded-traits.d.ts +0 -39
  520. package/dist/lib/entityDebug.d.ts +0 -39
  521. package/dist/lib/fn-form-lambda.d.ts +0 -27
  522. package/dist/lib/game.d.ts +0 -92
  523. package/dist/lib/gameShared.d.ts +0 -18
  524. package/dist/lib/getNestedValue.d.ts +0 -34
  525. package/dist/lib/guardRegistry.d.ts +0 -33
  526. package/dist/lib/iconFamily.d.ts +0 -41
  527. package/dist/lib/imageCache.d.ts +0 -9
  528. package/dist/lib/init.d.ts +0 -14
  529. package/dist/lib/isometric.d.ts +0 -121
  530. package/dist/lib/isometricTypes.d.ts +0 -141
  531. package/dist/lib/jazari/index.d.ts +0 -5
  532. package/dist/lib/jazari/layout.d.ts +0 -31
  533. package/dist/lib/jazari/svg-paths.d.ts +0 -61
  534. package/dist/lib/jazari/types.d.ts +0 -91
  535. package/dist/lib/makeAsset.d.ts +0 -5
  536. package/dist/lib/mechanics.d.ts +0 -4
  537. package/dist/lib/offline-executor.d.ts +0 -239
  538. package/dist/lib/orbitalsByTrait.d.ts +0 -34
  539. package/dist/lib/painter2d.d.ts +0 -81
  540. package/dist/lib/parseContentSegments.d.ts +0 -42
  541. package/dist/lib/pattern-resolver.d.ts +0 -88
  542. package/dist/lib/perf.d.ts +0 -32
  543. package/dist/lib/physicsPresets.d.ts +0 -4
  544. package/dist/lib/physicsTypes.d.ts +0 -43
  545. package/dist/lib/prepareSchemaForPreview.d.ts +0 -71
  546. package/dist/lib/puzzleObject.d.ts +0 -41
  547. package/dist/lib/slot-definitions.d.ts +0 -33
  548. package/dist/lib/spriteAnimation.d.ts +0 -85
  549. package/dist/lib/spriteAnimationTypes.d.ts +0 -72
  550. package/dist/lib/spriteSheetConstants.d.ts +0 -16
  551. package/dist/lib/tickRegistry.d.ts +0 -40
  552. package/dist/lib/trait-binding-resolver.d.ts +0 -57
  553. package/dist/lib/traitRegistry.d.ts +0 -34
  554. package/dist/lib/verificationRegistry.d.ts +0 -97
  555. package/dist/lib/visualizer/browser.d.ts +0 -48
  556. package/dist/lib/visualizer/index.d.ts +0 -144
  557. package/dist/lib/webPainter2d.d.ts +0 -7
  558. package/dist/lib/wrapCallbackForEvent.d.ts +0 -16
  559. package/dist/marketing/index.d.cts +0 -1067
  560. package/dist/marketing/index.d.ts +0 -72
  561. package/dist/providers/CurrentPagePathContext.d.ts +0 -9
  562. package/dist/providers/DesignThemeContext.d.ts +0 -21
  563. package/dist/providers/EntitySchemaContext.d.ts +0 -81
  564. package/dist/providers/EventBusProvider.d.ts +0 -47
  565. package/dist/providers/GameAudioProvider.d.ts +0 -53
  566. package/dist/providers/OfflineModeProvider.d.ts +0 -79
  567. package/dist/providers/OrbitalProvider.d.ts +0 -110
  568. package/dist/providers/OrbitalThemeProvider.d.ts +0 -37
  569. package/dist/providers/SelectionProvider.d.ts +0 -82
  570. package/dist/providers/ServerBridge.d.ts +0 -102
  571. package/dist/providers/ThemeContext.d.ts +0 -104
  572. package/dist/providers/TraitProvider.d.ts +0 -53
  573. package/dist/providers/TraitScopeProvider.d.ts +0 -43
  574. package/dist/providers/UserContext.d.ts +0 -112
  575. package/dist/providers/VerificationProvider.d.ts +0 -64
  576. package/dist/providers/navigation.d.ts +0 -142
  577. package/dist/runtime/BrowserPlayground.d.ts +0 -34
  578. package/dist/runtime/OrbPreview.d.ts +0 -84
  579. package/dist/scripts/audit-tailwind-safelist.d.ts +0 -27
  580. package/dist/scripts/generate-design-system.d.ts +0 -29
  581. package/dist/scripts/generate-theme-from-schema.d.ts +0 -10
  582. package/dist/scripts/generate.d.ts +0 -12
  583. package/dist/scripts/suggest-components.d.ts +0 -31
  584. package/dist/scripts/types.d.ts +0 -129
  585. package/dist/tsup.config.d.ts +0 -3
  586. package/dist/types/renderer-types.d.ts +0 -146
  587. package/dist/types/runtime-types.d.ts +0 -21
  588. package/dist/types/slot-types.d.ts +0 -49
  589. package/dist/vitest.config.d.ts +0 -2
@@ -1,154 +0,0 @@
1
- /**
2
- * Grid 3D Utilities
3
- *
4
- * Utility functions for 3D grid coordinate transformations,
5
- * raycasting, and spatial calculations for GameCanvas3D.
6
- *
7
- * @packageDocumentation
8
- */
9
- import * as THREE from 'three';
10
- export interface Grid3DConfig {
11
- /** Size of each grid cell */
12
- cellSize: number;
13
- /** Grid offset X */
14
- offsetX?: number;
15
- /** Grid offset Z */
16
- offsetZ?: number;
17
- /** Grid Y height (elevation) */
18
- elevation?: number;
19
- }
20
- export interface GridCoordinate {
21
- x: number;
22
- y: number;
23
- z: number;
24
- }
25
- /**
26
- * Convert grid coordinates to world position
27
- * @param gridX - Grid X coordinate
28
- * @param gridZ - Grid Z coordinate
29
- * @param config - Grid configuration
30
- * @returns World position vector
31
- */
32
- export declare function gridToWorld(gridX: number, gridZ: number, config?: Grid3DConfig): THREE.Vector3;
33
- /**
34
- * Convert world position to grid coordinates
35
- * @param worldX - World X position
36
- * @param worldZ - World Z position
37
- * @param config - Grid configuration
38
- * @returns Grid coordinates
39
- */
40
- export declare function worldToGrid(worldX: number, worldZ: number, config?: Grid3DConfig): {
41
- x: number;
42
- z: number;
43
- };
44
- /**
45
- * Raycast from camera through mouse position to find grid intersection
46
- * @param camera - Three.js camera
47
- * @param mouseX - Mouse X position (normalized -1 to 1)
48
- * @param mouseY - Mouse Y position (normalized -1 to 1)
49
- * @param planeY - Y height of the intersection plane (default: 0)
50
- * @returns Intersection point or null
51
- */
52
- export declare function raycastToPlane(camera: THREE.Camera, mouseX: number, mouseY: number, planeY?: number): THREE.Vector3 | null;
53
- /**
54
- * Raycast from camera through mouse position against a set of objects
55
- * @param camera - Three.js camera
56
- * @param mouseX - Mouse X position (normalized -1 to 1)
57
- * @param mouseY - Mouse Y position (normalized -1 to 1)
58
- * @param objects - Array of objects to test
59
- * @returns First intersection or null
60
- */
61
- export declare function raycastToObjects(camera: THREE.Camera, mouseX: number, mouseY: number, objects: THREE.Object3D[]): THREE.Intersection | null;
62
- /**
63
- * Calculate distance between two grid coordinates
64
- * @param a - First grid coordinate
65
- * @param b - Second grid coordinate
66
- * @returns Distance in grid units
67
- */
68
- export declare function gridDistance(a: {
69
- x: number;
70
- z: number;
71
- }, b: {
72
- x: number;
73
- z: number;
74
- }): number;
75
- /**
76
- * Calculate Manhattan distance between two grid coordinates
77
- * @param a - First grid coordinate
78
- * @param b - Second grid coordinate
79
- * @returns Manhattan distance
80
- */
81
- export declare function gridManhattanDistance(a: {
82
- x: number;
83
- z: number;
84
- }, b: {
85
- x: number;
86
- z: number;
87
- }): number;
88
- /**
89
- * Get neighboring grid cells
90
- * @param x - Center X coordinate
91
- * @param z - Center Z coordinate
92
- * @param includeDiagonal - Whether to include diagonal neighbors
93
- * @returns Array of neighbor coordinates
94
- */
95
- export declare function getNeighbors(x: number, z: number, includeDiagonal?: boolean): {
96
- x: number;
97
- z: number;
98
- }[];
99
- /**
100
- * Check if a grid coordinate is within bounds
101
- * @param x - X coordinate
102
- * @param z - Z coordinate
103
- * @param bounds - Bounds object
104
- * @returns Whether the coordinate is within bounds
105
- */
106
- export declare function isInBounds(x: number, z: number, bounds: {
107
- minX: number;
108
- maxX: number;
109
- minZ: number;
110
- maxZ: number;
111
- }): boolean;
112
- /**
113
- * Get all grid cells within a circular radius
114
- * @param centerX - Center X coordinate
115
- * @param centerZ - Center Z coordinate
116
- * @param radius - Radius in grid units
117
- * @returns Array of coordinates within radius
118
- */
119
- export declare function getCellsInRadius(centerX: number, centerZ: number, radius: number): {
120
- x: number;
121
- z: number;
122
- }[];
123
- /**
124
- * Create a highlight mesh for grid cells
125
- * @param color - Highlight color
126
- * @param opacity - Opacity (0-1)
127
- * @returns Mesh that can be positioned at grid cells
128
- */
129
- export declare function createGridHighlight(color?: number, opacity?: number): THREE.Mesh;
130
- /**
131
- * Normalize mouse coordinates to NDC (-1 to 1)
132
- * @param clientX - Mouse client X
133
- * @param clientY - Mouse client Y
134
- * @param element - Canvas element
135
- * @returns Normalized coordinates
136
- */
137
- export declare function normalizeMouseCoordinates(clientX: number, clientY: number, element: HTMLElement): {
138
- x: number;
139
- y: number;
140
- };
141
- declare const _default: {
142
- gridToWorld: typeof gridToWorld;
143
- worldToGrid: typeof worldToGrid;
144
- raycastToPlane: typeof raycastToPlane;
145
- raycastToObjects: typeof raycastToObjects;
146
- gridDistance: typeof gridDistance;
147
- gridManhattanDistance: typeof gridManhattanDistance;
148
- getNeighbors: typeof getNeighbors;
149
- isInBounds: typeof isInBounds;
150
- getCellsInRadius: typeof getCellsInRadius;
151
- createGridHighlight: typeof createGridHighlight;
152
- normalizeMouseCoordinates: typeof normalizeMouseCoordinates;
153
- };
154
- export default _default;
@@ -1,28 +0,0 @@
1
- /**
2
- * R3F mesh backends for the neutral drawable atoms — the 3D twin of the atoms'
3
- * 2D `paint*` fns. Kept HERE (not in the atom files) so the `three`/`drei`/`fiber`
4
- * dependency stays out of the 2D paint path; only the 3D dispatcher `Drawable3D`
5
- * (→ used by `GameCanvas3D`, itself in the code-split 3D surface) imports this.
6
- * Each mesh consumes the SAME descriptor as its 2D painter, so canvas-2d and
7
- * canvas-3d render the same `children`.
8
- */
9
- import React from 'react';
10
- import type { DrawSpriteProps } from '../../../components/game/atoms/DrawSprite';
11
- import type { DrawShapeProps } from '../../../components/game/atoms/DrawShape';
12
- import type { DrawTextProps } from '../../../components/game/atoms/DrawText';
13
- import type { Projector3D } from '../projector3d';
14
- /** R3F mesh backend for `draw-sprite`: a GLB via `ModelLoader` when `asset.dimension === '3d'`; else a billboard. */
15
- export declare function Sprite3D({ node, projector }: {
16
- node: DrawSpriteProps;
17
- projector: Projector3D;
18
- }): React.JSX.Element | null;
19
- /** R3F mesh backend for `draw-shape`: a flat mesh on the ground plane. */
20
- export declare function Shape3D({ node, projector }: {
21
- node: DrawShapeProps;
22
- projector: Projector3D;
23
- }): React.JSX.Element | null;
24
- /** R3F mesh backend for `draw-text`: a billboarded drei `<Text>` above the scene position. */
25
- export declare function Text3D({ node, projector }: {
26
- node: DrawTextProps;
27
- projector: Projector3D;
28
- }): React.JSX.Element | null;
@@ -1,114 +0,0 @@
1
- /**
2
- * Shared Map Editor Utilities
3
- *
4
- * Reusable editor components for Storybook-based map editing.
5
- * All composed from @almadar/ui atoms (Box, VStack, HStack, Typography, Button, Badge).
6
- *
7
- * NOTE: These are Storybook editor controls, NOT Orbital templates.
8
- * They use native HTML inputs wrapped in Box for lightweight editor UX.
9
- */
10
- import React from 'react';
11
- import type { Asset } from '@almadar/core';
12
- export type EditorMode = 'select' | 'paint' | 'unit' | 'feature' | 'erase';
13
- export declare const TERRAIN_COLORS: Record<string, string>;
14
- export declare const FEATURE_TYPES: readonly ["goldMine", "resonanceCrystal", "traitCache", "salvageYard", "portal", "battleMarker", "treasure", "castle"];
15
- export interface CollapsibleSectionProps {
16
- title: string;
17
- expanded: boolean;
18
- onToggle: () => void;
19
- children: React.ReactNode;
20
- /** Optional per-semantic-key asset overrides for icons (expand/collapse). */
21
- assetManifest?: {
22
- ui?: Record<string, Asset>;
23
- };
24
- className?: string;
25
- }
26
- export declare function CollapsibleSection({ title, expanded, onToggle, children, assetManifest, className }: CollapsibleSectionProps): React.JSX.Element;
27
- export declare namespace CollapsibleSection {
28
- var displayName: string;
29
- }
30
- export interface EditorSliderProps {
31
- label: string;
32
- value: number;
33
- min: number;
34
- max: number;
35
- step?: number;
36
- onChange: (value: number) => void;
37
- className?: string;
38
- }
39
- export declare function EditorSlider({ label, value, min, max, step, onChange, className }: EditorSliderProps): React.JSX.Element;
40
- export declare namespace EditorSlider {
41
- var displayName: string;
42
- }
43
- export interface EditorSelectProps {
44
- label: string;
45
- value: string;
46
- options: Array<{
47
- value: string;
48
- label: string;
49
- }>;
50
- onChange: (value: string) => void;
51
- className?: string;
52
- }
53
- export declare function EditorSelect({ label, value, options, onChange, className }: EditorSelectProps): React.JSX.Element;
54
- export declare namespace EditorSelect {
55
- var displayName: string;
56
- }
57
- export interface EditorCheckboxProps {
58
- label: string;
59
- checked: boolean;
60
- onChange: (checked: boolean) => void;
61
- className?: string;
62
- }
63
- export declare function EditorCheckbox({ label, checked, onChange, className }: EditorCheckboxProps): React.JSX.Element;
64
- export declare namespace EditorCheckbox {
65
- var displayName: string;
66
- }
67
- export interface EditorTextInputProps {
68
- label: string;
69
- value: string;
70
- onChange: (value: string) => void;
71
- placeholder?: string;
72
- className?: string;
73
- }
74
- export declare function EditorTextInput({ label, value, onChange, placeholder, className }: EditorTextInputProps): React.JSX.Element;
75
- export declare namespace EditorTextInput {
76
- var displayName: string;
77
- }
78
- export interface StatusBarProps {
79
- hoveredTile: {
80
- x: number;
81
- y: number;
82
- } | null;
83
- mode: EditorMode;
84
- gridSize?: {
85
- width: number;
86
- height: number;
87
- };
88
- unitCount?: number;
89
- featureCount?: number;
90
- className?: string;
91
- }
92
- export declare function StatusBar({ hoveredTile, mode, gridSize, unitCount, featureCount, className }: StatusBarProps): React.JSX.Element;
93
- export declare namespace StatusBar {
94
- var displayName: string;
95
- }
96
- export interface TerrainPaletteProps {
97
- terrains: string[];
98
- selectedTerrain: string;
99
- onSelect: (terrain: string) => void;
100
- className?: string;
101
- }
102
- export declare function TerrainPalette({ terrains, selectedTerrain, onSelect, className }: TerrainPaletteProps): React.JSX.Element;
103
- export declare namespace TerrainPalette {
104
- var displayName: string;
105
- }
106
- export interface EditorToolbarProps {
107
- mode: EditorMode;
108
- onModeChange: (mode: EditorMode) => void;
109
- className?: string;
110
- }
111
- export declare function EditorToolbar({ mode, onModeChange, className }: EditorToolbarProps): React.JSX.Element;
112
- export declare namespace EditorToolbar {
113
- var displayName: string;
114
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Embed-aware slot routing — static analysis pass.
3
- *
4
- * Walks every trait's `transitions[].effects` looking for `render-ui`
5
- * patterns whose tree contains `@trait.<Name>` string literals. Returns
6
- * the flat set of trait names that are referenced this way by some
7
- * sibling layout.
8
- *
9
- * Used by `<OrbPreview>` to route `applyServerEffects` — when an
10
- * embedded trait's render-ui effect arrives, the runtime updates that
11
- * trait's per-trait sidecar (`traitIndexRef`) only and skips the slot
12
- * write. The sibling layout owns the slot and embeds the trait's frame
13
- * via `<TraitFrame>`. Mirrors the compiled-path codegen which inlines
14
- * the atom views as JSX inside the layout's pattern, never having them
15
- * write a shared slot.
16
- *
17
- * The walker is a structural twin of
18
- * `packages/almadar-runtime/src/resolver/reference-resolver.ts`'s
19
- * `renameEventsInRenderUiConfig` — same recursive pattern shape, just
20
- * collecting `@trait.X` substrings instead of renaming events.
21
- *
22
- * @packageDocumentation
23
- */
24
- import type { OrbitalSchema, ResolvedTrait } from '@almadar/core';
25
- /**
26
- * Collect the `@trait.X` names referenced by a single resolved trait's
27
- * render-ui effects (transitions + initial + ticks). Used to pull embed-routed
28
- * sibling traits into a page's state-machine binding set so their own state
29
- * machines register + subscribe (otherwise their fetch-success is never heard).
30
- */
31
- export declare function collectTraitRefsFromResolvedTrait(trait: ResolvedTrait): Set<string>;
32
- /**
33
- * Build the flat set of trait names that are referenced via `@trait.X`
34
- * by at least one trait's render-ui in the resolved schema.
35
- *
36
- * Safe to call on the resolved (post-inline) schema. Memoize by
37
- * reference at the call site.
38
- */
39
- export declare function collectEmbeddedTraits(schema: OrbitalSchema | undefined | null): ReadonlySet<string>;
@@ -1,39 +0,0 @@
1
- /**
2
- * Entity Debug - Provides entity state snapshots for debugging
3
- *
4
- * @packageDocumentation
5
- */
6
- import type { FieldValue, EntityRow } from '@almadar/core';
7
- export interface EntityState {
8
- id: string;
9
- type: string;
10
- fields: Record<string, FieldValue>;
11
- lastUpdated: number;
12
- }
13
- export interface RuntimeEntity {
14
- id: string;
15
- type: string;
16
- data: Record<string, FieldValue>;
17
- }
18
- export interface PersistentEntityInfo {
19
- loaded: boolean;
20
- count: number;
21
- }
22
- export interface EntitySnapshot {
23
- entities: EntityState[];
24
- timestamp: number;
25
- totalCount: number;
26
- /** Singleton entities by name */
27
- singletons: Record<string, EntityRow>;
28
- /** Runtime entities (in-memory) */
29
- runtime: RuntimeEntity[];
30
- /** Persistent entities info by type */
31
- persistent: Record<string, PersistentEntityInfo>;
32
- }
33
- type EntityProvider = () => EntityState[];
34
- export declare function setEntityProvider(provider: EntityProvider): void;
35
- export declare function clearEntityProvider(): void;
36
- export declare function getEntitySnapshot(): EntitySnapshot | null;
37
- export declare function getEntityById(id: string): EntityState | undefined;
38
- export declare function getEntitiesByType(type: string): EntityState[];
39
- export {};
@@ -1,27 +0,0 @@
1
- /**
2
- * fn-form lambda → React render-prop conversion at the render-ui
3
- * dispatch site, before the pattern lands in `useUISlots`.
4
- *
5
- * `.lolo` authors per-row render functions for DataGrid/DataList/Carousel
6
- * as `["fn", argName, body]`. By converting them to functions here,
7
- * SlotContent's props match what consumer components expect (children =
8
- * real function) without depending on a render-time conversion pass.
9
- *
10
- * @packageDocumentation
11
- */
12
- import type { EntityRow, RenderItemLambda } from "@almadar/core";
13
- import type { SlotProps, SlotPropValue } from "../hooks/useUISlots";
14
- export declare function isFnFormLambda(value: SlotPropValue): value is RenderItemLambda;
15
- /**
16
- * Walk a pattern body replacing every `@<argName>.path` string with the
17
- * value at `path` of `arg`. Mirrors the compiler's inline substitution
18
- * for `renderItem` lambda bodies.
19
- */
20
- export declare function resolveLambdaBindings(body: SlotPropValue, params: readonly string[], item: EntityRow, index: number): SlotPropValue;
21
- /**
22
- * Walk a pattern's props (and recursively their nested children),
23
- * converting every fn-form lambda value into a React render-prop
24
- * function. Pure on inputs without lambdas: returns the props object
25
- * unchanged by reference.
26
- */
27
- export declare function convertFnFormLambdasInProps(props: SlotProps): SlotProps;
@@ -1,92 +0,0 @@
1
- /**
2
- * Game Types — Generalized
3
- *
4
- * Core type definitions for tactical game state.
5
- * Extracted from Trait Wars and generalized for any game project.
6
- */
7
- export interface Position {
8
- x: number;
9
- y: number;
10
- }
11
- export interface GameUnit {
12
- id: string;
13
- name: string;
14
- characterType: string;
15
- team: 'player' | 'enemy' | 'neutral';
16
- position: Position;
17
- health: number;
18
- maxHealth: number;
19
- movement: number;
20
- attack: number;
21
- defense: number;
22
- traits: UnitTrait[];
23
- }
24
- export interface UnitTrait {
25
- name: string;
26
- currentState: string;
27
- states: string[];
28
- cooldown: number;
29
- }
30
- export interface BoardTile {
31
- terrain: string;
32
- unitId?: string;
33
- isBlocked?: boolean;
34
- }
35
- export type GamePhase = 'observation' | 'planning' | 'execution' | 'tick';
36
- export interface GameState {
37
- board: BoardTile[][];
38
- units: Record<string, GameUnit>;
39
- currentPhase: GamePhase;
40
- currentTurn: number;
41
- activeTeam: 'player' | 'enemy' | 'neutral';
42
- selectedUnitId?: string;
43
- validMoves: Position[];
44
- attackTargets: Position[];
45
- }
46
- export type GameAction = {
47
- type: 'SELECT_UNIT';
48
- unitId: string;
49
- } | {
50
- type: 'MOVE_UNIT';
51
- from: Position;
52
- to: Position;
53
- } | {
54
- type: 'ATTACK';
55
- attackerId: string;
56
- targetId: string;
57
- } | {
58
- type: 'END_TURN';
59
- } | {
60
- type: 'EXECUTE_TRAITS';
61
- };
62
- /**
63
- * Create the initial game state with board and units.
64
- *
65
- * @param {number} width - Board width in tiles
66
- * @param {number} height - Board height in tiles
67
- * @param {GameUnit[]} units - Initial units to place on the board
68
- * @param {string} [defaultTerrain] - Default terrain type for empty tiles
69
- * @returns {GameState} The initialized game state
70
- */
71
- export declare function createInitialGameState(width: number, height: number, units: GameUnit[], defaultTerrain?: string): GameState;
72
- /**
73
- * Calculate valid movement positions for a unit.
74
- *
75
- * Returns all tiles within the unit's movement range that are
76
- * not blocked and don't contain other units.
77
- *
78
- * @param {GameState} state - Current game state
79
- * @param {string} unitId - ID of the unit to calculate moves for
80
- * @returns {Position[]} Array of valid move positions
81
- */
82
- export declare function calculateValidMoves(state: GameState, unitId: string): Position[];
83
- /**
84
- * Calculate valid attack targets for a unit.
85
- *
86
- * Returns adjacent positions containing enemy units that can be attacked.
87
- *
88
- * @param {GameState} state - Current game state
89
- * @param {string} unitId - ID of the unit to calculate targets for
90
- * @returns {Position[]} Array of valid attack target positions
91
- */
92
- export declare function calculateAttackTargets(state: GameState, unitId: string): Position[];
@@ -1,18 +0,0 @@
1
- /**
2
- * Game Shared (dimension-agnostic)
3
- *
4
- * Render DTO types, pure projection/animation utils, and the shared image cache hook.
5
- *
6
- * @packageDocumentation
7
- */
8
- export type { IsometricTile, IsometricUnit, IsometricFeature, CameraState, } from './isometricTypes';
9
- export type { AnimationName, FacingDirection, SpriteDirection, ResolvedFrame, UnitAnimationState, SpriteFrameDims, SpriteSheetUrls, AnimationDef, } from './spriteAnimationTypes';
10
- export { createInitialGameState, calculateValidMoves, calculateAttackTargets, } from './game';
11
- export type { Position, GameUnit, UnitTrait, BoardTile, GamePhase, GameState, GameAction, } from './game';
12
- export * from './boardEntity';
13
- export * from './makeAsset';
14
- export { useImageCache } from '../hooks/useImageCache';
15
- export { isoToScreen, screenToIso, TILE_WIDTH, TILE_HEIGHT, FLOOR_HEIGHT, DIAMOND_TOP_Y, FEATURE_COLORS, } from './isometric';
16
- export type { TileLayout } from './isometric';
17
- export { inferDirection, resolveSheetDirection, getCurrentFrame, resolveFrame, createUnitAnimationState, transitionAnimation, tickAnimationState, } from './spriteAnimation';
18
- export { SPRITE_SHEET_LAYOUT, SHEET_COLUMNS } from './spriteSheetConstants';
@@ -1,34 +0,0 @@
1
- import type { EventPayload, FieldValue } from '@almadar/core';
2
- /**
3
- * Get Nested Value Utility
4
- *
5
- * Safely retrieves nested values from objects using dot-notation paths.
6
- * Used by display components to support relation field access like "company.name".
7
- *
8
- * @packageDocumentation
9
- */
10
- /**
11
- * Get a nested value from an object using dot-notation path.
12
- *
13
- * @param obj - The object to traverse
14
- * @param path - Dot-notation path (e.g., "company.name", "address.city")
15
- * @returns The value at the path, or undefined if not found
16
- *
17
- * @example
18
- * const data = { company: { name: "Acme Corp", address: { city: "NYC" } } };
19
- * getNestedValue(data, "company.name"); // => "Acme Corp"
20
- * getNestedValue(data, "company.address.city"); // => "NYC"
21
- * getNestedValue(data, "company.missing"); // => undefined
22
- */
23
- export declare function getNestedValue(obj: EventPayload | Record<string, FieldValue | undefined> | null | undefined, path: string): FieldValue | undefined;
24
- /**
25
- * Format a nested field path as a human-readable label.
26
- *
27
- * @param path - Dot-notation path (e.g., "company.name")
28
- * @returns Formatted label (e.g., "Company Name")
29
- *
30
- * @example
31
- * formatFieldLabel("company.name"); // => "Company Name"
32
- * formatFieldLabel("address.zipCode"); // => "Address Zip Code"
33
- */
34
- export declare function formatNestedFieldLabel(path: string): string;
@@ -1,33 +0,0 @@
1
- /**
2
- * Guard Registry - Tracks guard evaluations for debugging
3
- *
4
- * @packageDocumentation
5
- */
6
- import type { FieldValue } from '@almadar/core';
7
- export interface GuardContext {
8
- traitName?: string;
9
- type?: "transition" | "tick";
10
- transitionFrom?: string;
11
- transitionTo?: string;
12
- tickName?: string;
13
- [key: string]: FieldValue | undefined;
14
- }
15
- export interface GuardEvaluation {
16
- id: string;
17
- traitName: string;
18
- guardName: string;
19
- expression: string;
20
- result: boolean;
21
- context: GuardContext;
22
- timestamp: number;
23
- /** Input values used in guard evaluation */
24
- inputs: Record<string, FieldValue>;
25
- }
26
- type ChangeListener = () => void;
27
- export declare function recordGuardEvaluation(evaluation: Omit<GuardEvaluation, "id" | "timestamp">): void;
28
- export declare function getGuardHistory(): GuardEvaluation[];
29
- export declare function getRecentGuardEvaluations(count: number): GuardEvaluation[];
30
- export declare function getGuardEvaluationsForTrait(traitName: string): GuardEvaluation[];
31
- export declare function subscribeToGuardChanges(listener: ChangeListener): () => void;
32
- export declare function clearGuardHistory(): void;
33
- export {};
@@ -1,41 +0,0 @@
1
- /**
2
- * Icon family runtime resolver (Layer 1 Iconography axis).
3
- *
4
- * Reads the active `--icon-family` CSS variable from the document element and
5
- * dispatches a canonical icon name (kebab-case, matching lucide's vocabulary)
6
- * to the equivalent component in the active family. Subscribes to data-theme
7
- * attribute changes via MutationObserver so a theme switch re-renders icons
8
- * into the new family without a page reload.
9
- *
10
- * Canonical name = lucide name. Per-family alias tables resolve cross-family
11
- * naming differences (e.g. lucide's `search` is phosphor's `MagnifyingGlass`).
12
- * For names not mapped in the active family, falls back to lucide and logs a
13
- * console.warn — preserves semantic over family purity.
14
- *
15
- * See `docs/Almadar_Std_Variations.md` §2 and `themes/_contract.md`.
16
- */
17
- import React from 'react';
18
- import type { IconFamily as IconFamilyType } from '@almadar/core';
19
- export type IconFamily = IconFamilyType;
20
- /** Adapter props that EVERY family-specific icon component accepts at this layer. */
21
- export interface RenderedIconProps {
22
- className?: string;
23
- strokeWidth?: number;
24
- size?: number;
25
- style?: React.CSSProperties;
26
- }
27
- /** Read --icon-family from <html> at runtime. Returns 'lucide' on SSR. */
28
- export declare function getCurrentIconFamily(): IconFamily;
29
- /** React hook: returns the active icon family, re-renders on theme switch. */
30
- export declare function useIconFamily(): IconFamily;
31
- /**
32
- * Dispatch a canonical icon name to the right family component.
33
- * Falls back to lucide (with console.warn) when the family has no mapping.
34
- */
35
- export declare function resolveIconForFamily(name: string, family: IconFamily): React.ComponentType<RenderedIconProps>;
36
- /**
37
- * Resolve a canonical icon name to a family-aware component. The returned
38
- * component re-renders the icon into the active family's library on theme
39
- * switch (via useIconFamily's MutationObserver subscription).
40
- */
41
- export declare function useResolvedIcon(name: string): React.ComponentType<RenderedIconProps>;
@@ -1,9 +0,0 @@
1
- /**
2
- * Return the decoded image for `url`, or `null` if it is not ready yet (a load
3
- * is kicked off on the first miss). Safe to call every frame — cached after the
4
- * first request. SSR-safe: returns `null` without a DOM. `onReady` (optional)
5
- * fires once when a pending load resolves so a caller can trigger a re-draw.
6
- */
7
- export declare function getOrLoadImage(url: string, onReady?: () => void): HTMLImageElement | null;
8
- /** Test/reset hook — clears the module cache. */
9
- export declare function clearImageCache(): void;
@@ -1,14 +0,0 @@
1
- /**
2
- * Pattern Resolver Initialization
3
- *
4
- * Loads pattern registry and component mapping from orbital-shared/patterns/
5
- * and initializes the pattern resolver at app startup.
6
- *
7
- * @packageDocumentation
8
- */
9
- /**
10
- * Initialize the pattern resolver with shared pattern data.
11
- * Must be called once at app startup before any pattern rendering.
12
- * @returns The number of patterns initialized
13
- */
14
- export declare function initializePatterns(): number;