@buoy-gg/shared-ui 7.0.33 → 7.0.35

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 (323) hide show
  1. package/lib/commonjs/JsModal.js +57 -22
  2. package/lib/commonjs/dataViewer/CyberpunkInput.js +3 -2
  3. package/lib/commonjs/dataViewer/DataTreeActionBar.js +3 -2
  4. package/lib/commonjs/dataViewer/DataTreeActionDock.js +2 -1
  5. package/lib/commonjs/dataViewer/DiffSummary.js +4 -3
  6. package/lib/commonjs/dataViewer/LiveExplorer.js +11 -10
  7. package/lib/commonjs/dataViewer/SplitDiffViewer.js +10 -9
  8. package/lib/commonjs/dataViewer/ThemedSplitView.js +12 -11
  9. package/lib/commonjs/dataViewer/ValueEditModal.js +6 -5
  10. package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +4 -3
  11. package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +15 -14
  12. package/lib/commonjs/hooks/index.js +26 -0
  13. package/lib/commonjs/hooks/safe-area-impl.js +1 -1
  14. package/lib/commonjs/hooks/useChangeLog.js +55 -0
  15. package/lib/commonjs/hooks/useEventStoreEvents.js +65 -0
  16. package/lib/commonjs/hooks/usePersistedState.js +45 -10
  17. package/lib/commonjs/icons/index.js +533 -1
  18. package/lib/commonjs/index.js +143 -0
  19. package/lib/commonjs/license/FreeAccountPrompt.js +2 -1
  20. package/lib/commonjs/license/LicenseEntryModal.js +2 -1
  21. package/lib/commonjs/storage/definePersistedSetting.js +67 -0
  22. package/lib/commonjs/storage/index.js +8 -1
  23. package/lib/commonjs/stores/ChangeLog.js +197 -0
  24. package/lib/commonjs/stores/createToolStore.js +175 -0
  25. package/lib/commonjs/stores/index.js +15 -1
  26. package/lib/commonjs/sync/toolSyncAdapter.js +63 -0
  27. package/lib/commonjs/sync/wireForm.js +172 -0
  28. package/lib/commonjs/tools/defineTool.js +79 -0
  29. package/lib/commonjs/ui/components/ChangeRow.js +111 -0
  30. package/lib/commonjs/ui/components/ChipStrip.js +94 -0
  31. package/lib/commonjs/ui/components/ClipboardHintBanner.js +2 -1
  32. package/lib/commonjs/ui/components/CompactRow.js +3 -2
  33. package/lib/commonjs/ui/components/DataInspector.js +3 -2
  34. package/lib/commonjs/ui/components/DetailView.js +2 -1
  35. package/lib/commonjs/ui/components/DetailViewToggle.js +130 -0
  36. package/lib/commonjs/ui/components/DevToolsCard.js +3 -1
  37. package/lib/commonjs/ui/components/DynamicFilterView.js +8 -7
  38. package/lib/commonjs/ui/components/EntityFilterView.js +355 -0
  39. package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +5 -4
  40. package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +2 -1
  41. package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +5 -4
  42. package/lib/commonjs/ui/components/EventStepperFooter.js +4 -3
  43. package/lib/commonjs/ui/components/ExpandablePopover.js +12 -4
  44. package/lib/commonjs/ui/components/ExpandedInfoRow.js +3 -2
  45. package/lib/commonjs/ui/components/ExportPreview.js +174 -0
  46. package/lib/commonjs/ui/components/FilterComponents.js +2 -1
  47. package/lib/commonjs/ui/components/InfoRow.js +91 -0
  48. package/lib/commonjs/ui/components/ModalHeader.js +40 -7
  49. package/lib/commonjs/ui/components/Pill.js +115 -0
  50. package/lib/commonjs/ui/components/ToggleRow.js +116 -0
  51. package/lib/commonjs/ui/components/ToolFooter.js +205 -0
  52. package/lib/commonjs/ui/components/index.js +100 -1
  53. package/lib/commonjs/ui/console/CyberpunkSectionButton.js +3 -2
  54. package/lib/commonjs/ui/fonts.js +12 -0
  55. package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +4 -3
  56. package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +12 -11
  57. package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +9 -8
  58. package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +4 -3
  59. package/lib/commonjs/ui/index.js +32 -2
  60. package/lib/commonjs/ui/listPresets.js +43 -0
  61. package/lib/commonjs/ui/night/primitives.js +3 -1
  62. package/lib/commonjs/ui/toolTheme.js +4 -3
  63. package/lib/commonjs/utils/snapshotProviderKit.js +167 -0
  64. package/lib/commonjs/utils/stateTools.js +160 -0
  65. package/lib/module/JsModal.js +57 -22
  66. package/lib/module/dataViewer/CyberpunkInput.js +3 -2
  67. package/lib/module/dataViewer/DataTreeActionBar.js +3 -2
  68. package/lib/module/dataViewer/DataTreeActionDock.js +2 -1
  69. package/lib/module/dataViewer/DiffSummary.js +4 -3
  70. package/lib/module/dataViewer/LiveExplorer.js +11 -11
  71. package/lib/module/dataViewer/SplitDiffViewer.js +10 -9
  72. package/lib/module/dataViewer/ThemedSplitView.js +12 -11
  73. package/lib/module/dataViewer/ValueEditModal.js +6 -5
  74. package/lib/module/dataViewer/VirtualizedDataExplorer.js +5 -4
  75. package/lib/module/dataViewer/tree/TreeDiffViewer.js +15 -15
  76. package/lib/module/hooks/index.js +3 -1
  77. package/lib/module/hooks/safe-area-impl.js +1 -1
  78. package/lib/module/hooks/useChangeLog.js +50 -0
  79. package/lib/module/hooks/useEventStoreEvents.js +61 -0
  80. package/lib/module/hooks/usePersistedState.js +44 -10
  81. package/lib/module/icons/index.js +27 -2
  82. package/lib/module/index.js +11 -1
  83. package/lib/module/license/FreeAccountPrompt.js +2 -2
  84. package/lib/module/license/LicenseEntryModal.js +3 -3
  85. package/lib/module/storage/definePersistedSetting.js +63 -0
  86. package/lib/module/storage/index.js +2 -1
  87. package/lib/module/stores/ChangeLog.js +192 -0
  88. package/lib/module/stores/createToolStore.js +171 -0
  89. package/lib/module/stores/index.js +3 -1
  90. package/lib/module/sync/toolSyncAdapter.js +58 -0
  91. package/lib/module/sync/wireForm.js +159 -0
  92. package/lib/module/tools/defineTool.js +74 -0
  93. package/lib/module/ui/components/ChangeRow.js +106 -0
  94. package/lib/module/ui/components/ChipStrip.js +91 -0
  95. package/lib/module/ui/components/ClipboardHintBanner.js +2 -1
  96. package/lib/module/ui/components/CompactRow.js +3 -2
  97. package/lib/module/ui/components/DataInspector.js +3 -2
  98. package/lib/module/ui/components/DetailView.js +2 -1
  99. package/lib/module/ui/components/DetailViewToggle.js +125 -0
  100. package/lib/module/ui/components/DevToolsCard.js +3 -1
  101. package/lib/module/ui/components/DynamicFilterView.js +8 -7
  102. package/lib/module/ui/components/EntityFilterView.js +351 -0
  103. package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +6 -5
  104. package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +3 -2
  105. package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +6 -5
  106. package/lib/module/ui/components/EventStepperFooter.js +4 -3
  107. package/lib/module/ui/components/ExpandablePopover.js +12 -4
  108. package/lib/module/ui/components/ExpandedInfoRow.js +3 -2
  109. package/lib/module/ui/components/ExportPreview.js +169 -0
  110. package/lib/module/ui/components/FilterComponents.js +2 -2
  111. package/lib/module/ui/components/InfoRow.js +87 -0
  112. package/lib/module/ui/components/ModalHeader.js +40 -7
  113. package/lib/module/ui/components/Pill.js +111 -0
  114. package/lib/module/ui/components/ToggleRow.js +112 -0
  115. package/lib/module/ui/components/ToolFooter.js +197 -0
  116. package/lib/module/ui/components/index.js +10 -1
  117. package/lib/module/ui/console/CyberpunkSectionButton.js +3 -2
  118. package/lib/module/ui/fonts.js +8 -0
  119. package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +4 -3
  120. package/lib/module/ui/gameUI/components/GameUICompactStats.js +12 -11
  121. package/lib/module/ui/gameUI/components/GameUIIssuesList.js +9 -8
  122. package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +4 -3
  123. package/lib/module/ui/index.js +7 -1
  124. package/lib/module/ui/listPresets.js +39 -0
  125. package/lib/module/ui/night/primitives.js +3 -1
  126. package/lib/module/ui/toolTheme.js +4 -4
  127. package/lib/module/utils/snapshotProviderKit.js +156 -0
  128. package/lib/module/utils/stateTools.js +154 -0
  129. package/lib/typescript/commonjs/JsModal.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/dataViewer/DataTreeActionBar.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/dataViewer/DataTreeActionDock.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +1 -1
  134. package/lib/typescript/commonjs/dataViewer/LiveExplorer.d.ts.map +1 -1
  135. package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/dataViewer/ThemedSplitView.d.ts.map +1 -1
  137. package/lib/typescript/commonjs/dataViewer/ValueEditModal.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -1
  139. package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/hooks/index.d.ts +3 -1
  141. package/lib/typescript/commonjs/hooks/index.d.ts.map +1 -1
  142. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  143. package/lib/typescript/commonjs/hooks/useChangeLog.d.ts +38 -0
  144. package/lib/typescript/commonjs/hooks/useChangeLog.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts +25 -0
  146. package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/hooks/usePersistedState.d.ts +34 -5
  148. package/lib/typescript/commonjs/hooks/usePersistedState.d.ts.map +1 -1
  149. package/lib/typescript/commonjs/icons/index.d.ts +4 -1
  150. package/lib/typescript/commonjs/icons/index.d.ts.map +1 -1
  151. package/lib/typescript/commonjs/index.d.ts +6 -1
  152. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  153. package/lib/typescript/commonjs/license/FreeAccountPrompt.d.ts.map +1 -1
  154. package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts +39 -0
  156. package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/storage/index.d.ts +1 -0
  158. package/lib/typescript/commonjs/storage/index.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/stores/ChangeLog.d.ts +100 -0
  160. package/lib/typescript/commonjs/stores/ChangeLog.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/stores/createToolStore.d.ts +92 -0
  162. package/lib/typescript/commonjs/stores/createToolStore.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/stores/index.d.ts +2 -0
  164. package/lib/typescript/commonjs/stores/index.d.ts.map +1 -1
  165. package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts +66 -0
  166. package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/sync/wireForm.d.ts +100 -0
  168. package/lib/typescript/commonjs/sync/wireForm.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/tools/defineTool.d.ts +100 -0
  170. package/lib/typescript/commonjs/tools/defineTool.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts +52 -0
  172. package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts +41 -0
  174. package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +1 -1
  176. package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts +36 -0
  180. package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts +8 -1
  182. package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts +51 -0
  185. package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts +5 -1
  191. package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/ui/components/ExpandedInfoRow.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts +48 -0
  194. package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts.map +1 -0
  195. package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +1 -1
  196. package/lib/typescript/commonjs/ui/components/InfoRow.d.ts +33 -0
  197. package/lib/typescript/commonjs/ui/components/InfoRow.d.ts.map +1 -0
  198. package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts +31 -1
  199. package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/ui/components/Pill.d.ts +38 -0
  201. package/lib/typescript/commonjs/ui/components/Pill.d.ts.map +1 -0
  202. package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts +33 -0
  203. package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts.map +1 -0
  204. package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts +69 -0
  205. package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts.map +1 -0
  206. package/lib/typescript/commonjs/ui/components/index.d.ts +9 -0
  207. package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/ui/fonts.d.ts +7 -0
  210. package/lib/typescript/commonjs/ui/fonts.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -1
  215. package/lib/typescript/commonjs/ui/index.d.ts +2 -0
  216. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/ui/listPresets.d.ts +28 -0
  218. package/lib/typescript/commonjs/ui/listPresets.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/ui/night/primitives.d.ts +3 -1
  220. package/lib/typescript/commonjs/ui/night/primitives.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/ui/toolTheme.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts +81 -0
  223. package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts.map +1 -0
  224. package/lib/typescript/commonjs/utils/stateTools.d.ts +44 -0
  225. package/lib/typescript/commonjs/utils/stateTools.d.ts.map +1 -0
  226. package/lib/typescript/module/JsModal.d.ts.map +1 -1
  227. package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +1 -1
  228. package/lib/typescript/module/dataViewer/DataTreeActionBar.d.ts.map +1 -1
  229. package/lib/typescript/module/dataViewer/DataTreeActionDock.d.ts.map +1 -1
  230. package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +1 -1
  231. package/lib/typescript/module/dataViewer/LiveExplorer.d.ts.map +1 -1
  232. package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +1 -1
  233. package/lib/typescript/module/dataViewer/ThemedSplitView.d.ts.map +1 -1
  234. package/lib/typescript/module/dataViewer/ValueEditModal.d.ts.map +1 -1
  235. package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -1
  236. package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -1
  237. package/lib/typescript/module/hooks/index.d.ts +3 -1
  238. package/lib/typescript/module/hooks/index.d.ts.map +1 -1
  239. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  240. package/lib/typescript/module/hooks/useChangeLog.d.ts +38 -0
  241. package/lib/typescript/module/hooks/useChangeLog.d.ts.map +1 -0
  242. package/lib/typescript/module/hooks/useEventStoreEvents.d.ts +25 -0
  243. package/lib/typescript/module/hooks/useEventStoreEvents.d.ts.map +1 -0
  244. package/lib/typescript/module/hooks/usePersistedState.d.ts +34 -5
  245. package/lib/typescript/module/hooks/usePersistedState.d.ts.map +1 -1
  246. package/lib/typescript/module/icons/index.d.ts +4 -1
  247. package/lib/typescript/module/icons/index.d.ts.map +1 -1
  248. package/lib/typescript/module/index.d.ts +6 -1
  249. package/lib/typescript/module/index.d.ts.map +1 -1
  250. package/lib/typescript/module/license/FreeAccountPrompt.d.ts.map +1 -1
  251. package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +1 -1
  252. package/lib/typescript/module/storage/definePersistedSetting.d.ts +39 -0
  253. package/lib/typescript/module/storage/definePersistedSetting.d.ts.map +1 -0
  254. package/lib/typescript/module/storage/index.d.ts +1 -0
  255. package/lib/typescript/module/storage/index.d.ts.map +1 -1
  256. package/lib/typescript/module/stores/ChangeLog.d.ts +100 -0
  257. package/lib/typescript/module/stores/ChangeLog.d.ts.map +1 -0
  258. package/lib/typescript/module/stores/createToolStore.d.ts +92 -0
  259. package/lib/typescript/module/stores/createToolStore.d.ts.map +1 -0
  260. package/lib/typescript/module/stores/index.d.ts +2 -0
  261. package/lib/typescript/module/stores/index.d.ts.map +1 -1
  262. package/lib/typescript/module/sync/toolSyncAdapter.d.ts +66 -0
  263. package/lib/typescript/module/sync/toolSyncAdapter.d.ts.map +1 -0
  264. package/lib/typescript/module/sync/wireForm.d.ts +100 -0
  265. package/lib/typescript/module/sync/wireForm.d.ts.map +1 -0
  266. package/lib/typescript/module/tools/defineTool.d.ts +100 -0
  267. package/lib/typescript/module/tools/defineTool.d.ts.map +1 -0
  268. package/lib/typescript/module/ui/components/ChangeRow.d.ts +52 -0
  269. package/lib/typescript/module/ui/components/ChangeRow.d.ts.map +1 -0
  270. package/lib/typescript/module/ui/components/ChipStrip.d.ts +41 -0
  271. package/lib/typescript/module/ui/components/ChipStrip.d.ts.map +1 -0
  272. package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +1 -1
  273. package/lib/typescript/module/ui/components/CompactRow.d.ts.map +1 -1
  274. package/lib/typescript/module/ui/components/DataInspector.d.ts.map +1 -1
  275. package/lib/typescript/module/ui/components/DetailView.d.ts.map +1 -1
  276. package/lib/typescript/module/ui/components/DetailViewToggle.d.ts +36 -0
  277. package/lib/typescript/module/ui/components/DetailViewToggle.d.ts.map +1 -0
  278. package/lib/typescript/module/ui/components/DevToolsCard.d.ts +8 -1
  279. package/lib/typescript/module/ui/components/DevToolsCard.d.ts.map +1 -1
  280. package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +1 -1
  281. package/lib/typescript/module/ui/components/EntityFilterView.d.ts +51 -0
  282. package/lib/typescript/module/ui/components/EntityFilterView.d.ts.map +1 -0
  283. package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -1
  284. package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -1
  285. package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -1
  286. package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +1 -1
  287. package/lib/typescript/module/ui/components/ExpandablePopover.d.ts +5 -1
  288. package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +1 -1
  289. package/lib/typescript/module/ui/components/ExpandedInfoRow.d.ts.map +1 -1
  290. package/lib/typescript/module/ui/components/ExportPreview.d.ts +48 -0
  291. package/lib/typescript/module/ui/components/ExportPreview.d.ts.map +1 -0
  292. package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +1 -1
  293. package/lib/typescript/module/ui/components/InfoRow.d.ts +33 -0
  294. package/lib/typescript/module/ui/components/InfoRow.d.ts.map +1 -0
  295. package/lib/typescript/module/ui/components/ModalHeader.d.ts +31 -1
  296. package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +1 -1
  297. package/lib/typescript/module/ui/components/Pill.d.ts +38 -0
  298. package/lib/typescript/module/ui/components/Pill.d.ts.map +1 -0
  299. package/lib/typescript/module/ui/components/ToggleRow.d.ts +33 -0
  300. package/lib/typescript/module/ui/components/ToggleRow.d.ts.map +1 -0
  301. package/lib/typescript/module/ui/components/ToolFooter.d.ts +69 -0
  302. package/lib/typescript/module/ui/components/ToolFooter.d.ts.map +1 -0
  303. package/lib/typescript/module/ui/components/index.d.ts +9 -0
  304. package/lib/typescript/module/ui/components/index.d.ts.map +1 -1
  305. package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +1 -1
  306. package/lib/typescript/module/ui/fonts.d.ts +7 -0
  307. package/lib/typescript/module/ui/fonts.d.ts.map +1 -0
  308. package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -1
  309. package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -1
  310. package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -1
  311. package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -1
  312. package/lib/typescript/module/ui/index.d.ts +2 -0
  313. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  314. package/lib/typescript/module/ui/listPresets.d.ts +28 -0
  315. package/lib/typescript/module/ui/listPresets.d.ts.map +1 -0
  316. package/lib/typescript/module/ui/night/primitives.d.ts +3 -1
  317. package/lib/typescript/module/ui/night/primitives.d.ts.map +1 -1
  318. package/lib/typescript/module/ui/toolTheme.d.ts.map +1 -1
  319. package/lib/typescript/module/utils/snapshotProviderKit.d.ts +81 -0
  320. package/lib/typescript/module/utils/snapshotProviderKit.d.ts.map +1 -0
  321. package/lib/typescript/module/utils/stateTools.d.ts +44 -0
  322. package/lib/typescript/module/utils/stateTools.d.ts.map +1 -0
  323. package/package.json +4 -4
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChipStrip = ChipStrip;
7
+ exports.useChipTap = useChipTap;
8
+ var _react = require("react");
9
+ var _reactNative = require("react-native");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ /**
12
+ * ChipStrip — a horizontally scrolling row of filter chips whose taps
13
+ * don't misfire while the strip is being panned.
14
+ *
15
+ * react-query drew this three times (query status, mutation status, storage
16
+ * type) with the same 5-point / 300 ms swipe-vs-tap discrimination. The
17
+ * strip and the discrimination live here; the chip is whatever the tool
18
+ * renders, wired through `useChipTap`.
19
+ */
20
+
21
+ /** How far a touch may travel and still count as a tap. */const TAP_SLOP_PX = 5;
22
+ /** How long after a scroll ends taps stay suppressed. */
23
+ const SCROLL_SETTLE_MS = 300;
24
+ /**
25
+ * Swipe-vs-tap discrimination for chips inside a horizontal ScrollView.
26
+ * A press that moved more than a few points, or landed while the strip was
27
+ * still scrolling, is a pan — not a filter toggle.
28
+ */
29
+ function useChipTap() {
30
+ const [isScrolling, setIsScrolling] = (0, _react.useState)(false);
31
+ const touchStartX = (0, _react.useRef)(0);
32
+ const touchStartY = (0, _react.useRef)(0);
33
+ const onTouchStart = (0, _react.useCallback)(event => {
34
+ touchStartX.current = event.nativeEvent.pageX;
35
+ touchStartY.current = event.nativeEvent.pageY;
36
+ }, []);
37
+ const isTap = (0, _react.useCallback)(event => {
38
+ if (!event) return true;
39
+ const dx = Math.abs(event.nativeEvent.pageX - touchStartX.current);
40
+ const dy = Math.abs(event.nativeEvent.pageY - touchStartY.current);
41
+ return !(dx > TAP_SLOP_PX || dy > TAP_SLOP_PX || isScrolling);
42
+ }, [isScrolling]);
43
+ const settle = (0, _react.useCallback)(() => {
44
+ setTimeout(() => setIsScrolling(false), SCROLL_SETTLE_MS);
45
+ }, []);
46
+ const begin = (0, _react.useCallback)(() => setIsScrolling(true), []);
47
+ return {
48
+ scrollProps: {
49
+ onScrollBeginDrag: begin,
50
+ onScrollEndDrag: settle,
51
+ onMomentumScrollBegin: begin,
52
+ onMomentumScrollEnd: settle
53
+ },
54
+ onTouchStart,
55
+ isTap
56
+ };
57
+ }
58
+ function ChipStrip({
59
+ children,
60
+ scrollProps,
61
+ sentryLabel,
62
+ style,
63
+ contentStyle
64
+ }) {
65
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
66
+ style: [styles.container, style],
67
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
68
+ "sentry-label": sentryLabel,
69
+ horizontal: true,
70
+ showsHorizontalScrollIndicator: false,
71
+ style: styles.scrollView,
72
+ contentContainerStyle: [styles.scrollContent, contentStyle],
73
+ ...scrollProps,
74
+ children: children
75
+ })
76
+ });
77
+ }
78
+ const styles = _reactNative.StyleSheet.create({
79
+ container: {
80
+ flex: 1,
81
+ minWidth: 0
82
+ },
83
+ scrollView: {
84
+ flex: 1
85
+ },
86
+ scrollContent: {
87
+ flexDirection: "row",
88
+ alignItems: "center",
89
+ gap: 8,
90
+ paddingHorizontal: 4,
91
+ paddingVertical: 4,
92
+ flexGrow: 1
93
+ }
94
+ });
@@ -7,6 +7,7 @@ exports.ClipboardHintBanner = void 0;
7
7
  var _react = require("react");
8
8
  var _reactNative = require("react-native");
9
9
  var _index = require("../gameUI/index.js");
10
+ var _fonts = require("../fonts.js");
10
11
  var _jsxRuntime = require("react/jsx-runtime");
11
12
  /**
12
13
  * ClipboardHintBanner - A hint banner that shows users how to fix iOS Simulator clipboard sync
@@ -129,7 +130,7 @@ const styles = _reactNative.StyleSheet.create({
129
130
  textAlign: "center"
130
131
  },
131
132
  menuPath: {
132
- fontFamily: "monospace",
133
+ fontFamily: _fonts.monoFont,
133
134
  fontSize: 12,
134
135
  color: _index.gameUIColors.primary,
135
136
  fontWeight: "600"
@@ -7,6 +7,7 @@ exports.CompactRow = CompactRow;
7
7
  var _reactNative = require("react-native");
8
8
  var _index = require("../../icons/index.js");
9
9
  var _nightTheme = require("../night/nightTheme.js");
10
+ var _fonts = require("../fonts.js");
10
11
  var _jsxRuntime = require("react/jsx-runtime");
11
12
  function CompactRow({
12
13
  statusDotColor,
@@ -225,7 +226,7 @@ const styles = _reactNative.StyleSheet.create({
225
226
  paddingHorizontal: 12
226
227
  },
227
228
  queryHash: {
228
- fontFamily: "monospace",
229
+ fontFamily: _fonts.monoFont,
229
230
  fontSize: 12,
230
231
  color: _nightTheme.night.color.text,
231
232
  lineHeight: 16
@@ -269,6 +270,6 @@ const styles = _reactNative.StyleSheet.create({
269
270
  bottomRightText: {
270
271
  fontSize: 9,
271
272
  color: _nightTheme.night.color.textTertiary,
272
- fontFamily: "monospace"
273
+ fontFamily: _fonts.monoFont
273
274
  }
274
275
  });
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
9
9
  var _index = require("../../icons/index.js");
10
10
  var _index2 = require("../gameUI/index.js");
11
11
  var _CopyButton = require("./CopyButton.js");
12
+ var _fonts = require("../fonts.js");
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  function DataInspector({
14
15
  data,
@@ -268,14 +269,14 @@ const styles = _reactNative.StyleSheet.create({
268
269
  maxHeight: 300
269
270
  },
270
271
  codeText: {
271
- fontFamily: "monospace",
272
+ fontFamily: _fonts.monoFont,
272
273
  fontSize: 11,
273
274
  color: _index2.gameUIColors.text,
274
275
  padding: 12,
275
276
  lineHeight: 16
276
277
  },
277
278
  editor: {
278
- fontFamily: "monospace",
279
+ fontFamily: _fonts.monoFont,
279
280
  fontSize: 11,
280
281
  color: _index2.gameUIColors.text,
281
282
  padding: 12,
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
9
9
  var _index = require("../gameUI/index.js");
10
10
  var _ModalHeader = require("./ModalHeader.js");
11
11
  var _CopyButton = require("./CopyButton.js");
12
+ var _fonts = require("../fonts.js");
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  function DetailView({
14
15
  children,
@@ -297,7 +298,7 @@ const styles = _reactNative.StyleSheet.create({
297
298
  },
298
299
  dataText: {
299
300
  fontSize: 12,
300
- fontFamily: "monospace",
301
+ fontFamily: _fonts.monoFont,
301
302
  color: _index.gameUIColors.text
302
303
  },
303
304
  statusBar: {
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.DetailViewToggle = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _nightTheme = require("../night/nightTheme.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
+ /**
13
+ * DetailViewToggle — the row of view cards at the top of a detail screen
14
+ * (ACTION · STATE · DIFF, CHANGE · STATE · DIFF, …).
15
+ *
16
+ * redux, zustand and jotai each shipped their own copy, differing only in
17
+ * the view keys, labels and testID prefix. The cards, the accent chrome,
18
+ * the disabled state (diff with nothing to compare) and the a11y contract
19
+ * are all one component now; tools pass their `views`.
20
+ */
21
+
22
+ function DetailViewToggleImpl({
23
+ views,
24
+ activeView,
25
+ onViewChange,
26
+ disabledKeys,
27
+ testIDPrefix
28
+ }) {
29
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
30
+ style: styles.container,
31
+ children: views.map(view => {
32
+ const isActive = activeView === view.key;
33
+ const isDisabled = disabledKeys?.includes(view.key) ?? false;
34
+ const activeColor = view.activeColor ?? _nightTheme.night.color.accent;
35
+ const IconComponent = view.icon;
36
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
37
+ style: [styles.card, isActive && [styles.cardActive, {
38
+ borderColor: activeColor
39
+ }], isDisabled && styles.cardDisabled],
40
+ onPress: () => !isDisabled && onViewChange(view.key),
41
+ activeOpacity: isDisabled ? 1 : 0.8,
42
+ disabled: isDisabled,
43
+ testID: testIDPrefix ? `${testIDPrefix}-view-${view.key}` : undefined,
44
+ accessibilityRole: "button",
45
+ accessibilityLabel: view.label,
46
+ accessibilityState: {
47
+ selected: isActive,
48
+ disabled: isDisabled
49
+ },
50
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
51
+ style: styles.cardContent,
52
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, {
53
+ size: 14,
54
+ color: isActive ? activeColor : isDisabled ? _nightTheme.night.color.textTertiary : _nightTheme.night.color.textSecondary
55
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
56
+ style: [styles.cardLabel, isActive && [styles.cardLabelActive, {
57
+ color: activeColor
58
+ }], isDisabled && styles.cardLabelDisabled],
59
+ children: view.label
60
+ })]
61
+ }), view.description ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
62
+ style: [styles.cardDescription, isActive && styles.cardDescriptionActive, isDisabled && styles.cardDescriptionDisabled],
63
+ children: view.description
64
+ }) : null]
65
+ }, view.key);
66
+ })
67
+ });
68
+ }
69
+ const DetailViewToggle = exports.DetailViewToggle = /*#__PURE__*/(0, _react.memo)(DetailViewToggleImpl);
70
+ const styles = _reactNative.StyleSheet.create({
71
+ container: {
72
+ flexDirection: "row",
73
+ gap: 8,
74
+ padding: 14,
75
+ // Transparent so the night sheet's star field shows through.
76
+ backgroundColor: "transparent"
77
+ },
78
+ card: {
79
+ flex: 1,
80
+ backgroundColor: _nightTheme.night.color.surface,
81
+ borderRadius: 12,
82
+ borderWidth: 1,
83
+ borderColor: _nightTheme.night.color.border,
84
+ padding: 10,
85
+ gap: 4
86
+ },
87
+ cardActive: {
88
+ borderWidth: 1.5,
89
+ backgroundColor: _nightTheme.night.color.accentSoft,
90
+ shadowColor: _nightTheme.night.color.accent,
91
+ shadowOffset: {
92
+ width: 0,
93
+ height: 2
94
+ },
95
+ shadowOpacity: 0.1,
96
+ shadowRadius: 8,
97
+ elevation: 3
98
+ },
99
+ cardDisabled: {
100
+ opacity: 0.5
101
+ },
102
+ cardContent: {
103
+ flexDirection: "row",
104
+ alignItems: "center",
105
+ gap: 6
106
+ },
107
+ cardLabel: {
108
+ fontSize: 10,
109
+ fontWeight: "700",
110
+ letterSpacing: 0.5,
111
+ color: _nightTheme.night.color.textSecondary
112
+ },
113
+ cardLabelActive: {
114
+ color: _nightTheme.night.color.text
115
+ },
116
+ cardLabelDisabled: {
117
+ color: _nightTheme.night.color.textTertiary
118
+ },
119
+ cardDescription: {
120
+ fontSize: 9,
121
+ color: _nightTheme.night.color.textTertiary,
122
+ lineHeight: 12
123
+ },
124
+ cardDescriptionActive: {
125
+ color: _nightTheme.night.color.textSecondary
126
+ },
127
+ cardDescriptionDisabled: {
128
+ color: _nightTheme.night.color.textTertiary
129
+ }
130
+ });
@@ -49,7 +49,8 @@ function DevToolsCard({
49
49
  style,
50
50
  contentStyle,
51
51
  testID,
52
- accessibilityLabel
52
+ accessibilityLabel,
53
+ accessible
53
54
  }) {
54
55
  const isInteractive = !!onPress || !!onLongPress;
55
56
 
@@ -58,6 +59,7 @@ function DevToolsCard({
58
59
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
59
60
  style: [styles.wrapper, style],
60
61
  testID: testID,
62
+ accessible: accessible,
61
63
  accessibilityLabel: accessibilityLabel,
62
64
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
63
65
  style: [styles.card, isSelected && styles.selectedCard, contentStyle],
@@ -12,6 +12,7 @@ var _FilterComponents = require("./FilterComponents.js");
12
12
  var _useFilterManager = require("../../hooks/useFilterManager.js");
13
13
  var _gameUIColors = require("../gameUI/constants/gameUIColors.js");
14
14
  var _nightTheme = require("../night/nightTheme.js");
15
+ var _fonts = require("../fonts.js");
15
16
  var _jsxRuntime = require("react/jsx-runtime");
16
17
  function DynamicFilterView({
17
18
  sections = [],
@@ -493,7 +494,7 @@ const styles = _reactNative.StyleSheet.create({
493
494
  fontSize: 14,
494
495
  fontWeight: "700",
495
496
  color: _nightTheme.night.color.text,
496
- fontFamily: "monospace",
497
+ fontFamily: _fonts.monoFont,
497
498
  marginTop: 3,
498
499
  marginBottom: 1,
499
500
  textShadowColor: "rgba(0, 0, 0, 0.2)",
@@ -507,7 +508,7 @@ const styles = _reactNative.StyleSheet.create({
507
508
  fontSize: 11,
508
509
  fontWeight: "500",
509
510
  color: _nightTheme.night.color.textTertiary,
510
- fontFamily: "monospace",
511
+ fontFamily: _fonts.monoFont,
511
512
  marginTop: 3,
512
513
  marginBottom: 1
513
514
  },
@@ -551,7 +552,7 @@ const styles = _reactNative.StyleSheet.create({
551
552
  fontSize: 13,
552
553
  fontWeight: "700",
553
554
  letterSpacing: 0.3,
554
- fontFamily: "monospace"
555
+ fontFamily: _fonts.monoFont
555
556
  },
556
557
  activeFiltersSection: {
557
558
  backgroundColor: _nightTheme.night.color.surface,
@@ -690,7 +691,7 @@ const styles = _reactNative.StyleSheet.create({
690
691
  flex: 1,
691
692
  fontSize: 11,
692
693
  color: _nightTheme.night.color.text,
693
- fontFamily: "monospace",
694
+ fontFamily: _fonts.monoFont,
694
695
  marginRight: 8
695
696
  },
696
697
  howItWorksSection: {
@@ -709,7 +710,7 @@ const styles = _reactNative.StyleSheet.create({
709
710
  marginBottom: 12,
710
711
  marginTop: 8,
711
712
  paddingHorizontal: 16,
712
- fontFamily: "monospace"
713
+ fontFamily: _fonts.monoFont
713
714
  },
714
715
  examplesContainer: {
715
716
  paddingTop: 8,
@@ -722,14 +723,14 @@ const styles = _reactNative.StyleSheet.create({
722
723
  fontSize: 10,
723
724
  fontWeight: "600",
724
725
  color: _nightTheme.night.color.textTertiary,
725
- fontFamily: "monospace",
726
+ fontFamily: _fonts.monoFont,
726
727
  letterSpacing: 0.5,
727
728
  marginBottom: 6
728
729
  },
729
730
  exampleItem: {
730
731
  fontSize: 10,
731
732
  color: _nightTheme.night.color.textTertiary,
732
- fontFamily: "monospace",
733
+ fontFamily: _fonts.monoFont,
733
734
  lineHeight: 16
734
735
  },
735
736
  previewSection: {