cursedbelt 5.81.2 → 5.85.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 (1656) hide show
  1. package/dist/react/AuthGate.d.ts.map +1 -1
  2. package/dist/react/AuthGate.js +1 -0
  3. package/dist/react/AuthGate.js.map +1 -1
  4. package/dist/react/activity-bar/ActivityBar.d.ts +1 -1
  5. package/dist/react/activity-bar/ActivityBar.d.ts.map +1 -1
  6. package/dist/react/activity-bar/ActivityBar.js +2 -2
  7. package/dist/react/activity-bar/ActivityBar.js.map +1 -1
  8. package/dist/react/analytics/MetricDrilldown.d.ts +1 -1
  9. package/dist/react/analytics/MetricDrilldown.d.ts.map +1 -1
  10. package/dist/react/analytics/MetricDrilldown.js +2 -2
  11. package/dist/react/analytics/MetricDrilldown.js.map +1 -1
  12. package/dist/react/analytics/RangeTabs.d.ts +1 -1
  13. package/dist/react/analytics/RangeTabs.d.ts.map +1 -1
  14. package/dist/react/analytics/RangeTabs.js +2 -2
  15. package/dist/react/analytics/RangeTabs.js.map +1 -1
  16. package/dist/react/canvas-hud/AlignmentGuides.d.ts +26 -0
  17. package/dist/react/canvas-hud/AlignmentGuides.d.ts.map +1 -0
  18. package/dist/react/canvas-hud/AlignmentGuides.js +51 -0
  19. package/dist/react/canvas-hud/AlignmentGuides.js.map +1 -0
  20. package/dist/react/canvas-hud/CanvasMinimap.d.ts +1 -1
  21. package/dist/react/canvas-hud/CanvasMinimap.d.ts.map +1 -1
  22. package/dist/react/canvas-hud/CanvasMinimap.js +2 -2
  23. package/dist/react/canvas-hud/CanvasMinimap.js.map +1 -1
  24. package/dist/react/canvas-hud/CanvasNodeMenu.d.ts +1 -1
  25. package/dist/react/canvas-hud/CanvasNodeMenu.d.ts.map +1 -1
  26. package/dist/react/canvas-hud/CanvasNodeMenu.js +2 -2
  27. package/dist/react/canvas-hud/CanvasNodeMenu.js.map +1 -1
  28. package/dist/react/canvas-hud/CanvasSearchField.d.ts +1 -1
  29. package/dist/react/canvas-hud/CanvasSearchField.d.ts.map +1 -1
  30. package/dist/react/canvas-hud/CanvasSearchField.js +2 -2
  31. package/dist/react/canvas-hud/CanvasSearchField.js.map +1 -1
  32. package/dist/react/canvas-hud/HudControls.d.ts +3 -3
  33. package/dist/react/canvas-hud/HudControls.d.ts.map +1 -1
  34. package/dist/react/canvas-hud/HudControls.js +6 -6
  35. package/dist/react/canvas-hud/HudControls.js.map +1 -1
  36. package/dist/react/canvas-hud/alignment.d.ts +56 -0
  37. package/dist/react/canvas-hud/alignment.d.ts.map +1 -0
  38. package/dist/react/canvas-hud/alignment.js +100 -0
  39. package/dist/react/canvas-hud/alignment.js.map +1 -0
  40. package/dist/react/canvas-hud/index.d.ts +4 -0
  41. package/dist/react/canvas-hud/index.d.ts.map +1 -1
  42. package/dist/react/canvas-hud/index.js +2 -0
  43. package/dist/react/canvas-hud/index.js.map +1 -1
  44. package/dist/react/charts/AreaChart.d.ts +1 -1
  45. package/dist/react/charts/AreaChart.d.ts.map +1 -1
  46. package/dist/react/charts/AreaChart.js +2 -2
  47. package/dist/react/charts/AreaChart.js.map +1 -1
  48. package/dist/react/charts/BarChart.d.ts +9 -1
  49. package/dist/react/charts/BarChart.d.ts.map +1 -1
  50. package/dist/react/charts/BarChart.js +10 -3
  51. package/dist/react/charts/BarChart.js.map +1 -1
  52. package/dist/react/charts/ChartCard.d.ts +1 -1
  53. package/dist/react/charts/ChartCard.d.ts.map +1 -1
  54. package/dist/react/charts/ChartCard.js +2 -2
  55. package/dist/react/charts/ChartCard.js.map +1 -1
  56. package/dist/react/charts/ChartFrame.d.ts +1 -1
  57. package/dist/react/charts/ChartFrame.d.ts.map +1 -1
  58. package/dist/react/charts/ChartFrame.js +2 -2
  59. package/dist/react/charts/ChartFrame.js.map +1 -1
  60. package/dist/react/charts/ChartLegend.d.ts +1 -1
  61. package/dist/react/charts/ChartLegend.d.ts.map +1 -1
  62. package/dist/react/charts/ChartLegend.js +2 -2
  63. package/dist/react/charts/ChartLegend.js.map +1 -1
  64. package/dist/react/charts/ChartTooltip.d.ts +1 -1
  65. package/dist/react/charts/ChartTooltip.d.ts.map +1 -1
  66. package/dist/react/charts/ChartTooltip.js +2 -2
  67. package/dist/react/charts/ChartTooltip.js.map +1 -1
  68. package/dist/react/charts/HeatmapChart.d.ts +1 -1
  69. package/dist/react/charts/HeatmapChart.d.ts.map +1 -1
  70. package/dist/react/charts/HeatmapChart.js +2 -2
  71. package/dist/react/charts/HeatmapChart.js.map +1 -1
  72. package/dist/react/charts/IntervalTimeline.d.ts +1 -1
  73. package/dist/react/charts/IntervalTimeline.d.ts.map +1 -1
  74. package/dist/react/charts/IntervalTimeline.js +3 -3
  75. package/dist/react/charts/IntervalTimeline.js.map +1 -1
  76. package/dist/react/charts/LineChart.d.ts +1 -1
  77. package/dist/react/charts/LineChart.d.ts.map +1 -1
  78. package/dist/react/charts/LineChart.js +2 -2
  79. package/dist/react/charts/LineChart.js.map +1 -1
  80. package/dist/react/charts/PieChart.d.ts +1 -1
  81. package/dist/react/charts/PieChart.d.ts.map +1 -1
  82. package/dist/react/charts/PieChart.js +2 -2
  83. package/dist/react/charts/PieChart.js.map +1 -1
  84. package/dist/react/charts/RadialBarChart.d.ts +1 -1
  85. package/dist/react/charts/RadialBarChart.d.ts.map +1 -1
  86. package/dist/react/charts/RadialBarChart.js +2 -2
  87. package/dist/react/charts/RadialBarChart.js.map +1 -1
  88. package/dist/react/charts/Sparkline.d.ts +1 -1
  89. package/dist/react/charts/Sparkline.d.ts.map +1 -1
  90. package/dist/react/charts/Sparkline.js +2 -2
  91. package/dist/react/charts/Sparkline.js.map +1 -1
  92. package/dist/react/charts/TimeSeriesChart.d.ts +1 -1
  93. package/dist/react/charts/TimeSeriesChart.d.ts.map +1 -1
  94. package/dist/react/charts/TimeSeriesChart.js +3 -3
  95. package/dist/react/charts/TimeSeriesChart.js.map +1 -1
  96. package/dist/react/charts/Treemap.d.ts +1 -1
  97. package/dist/react/charts/Treemap.d.ts.map +1 -1
  98. package/dist/react/charts/Treemap.js +2 -2
  99. package/dist/react/charts/Treemap.js.map +1 -1
  100. package/dist/react/chat/Bubble.d.ts +1 -1
  101. package/dist/react/chat/Bubble.d.ts.map +1 -1
  102. package/dist/react/chat/Bubble.js +3 -3
  103. package/dist/react/chat/Bubble.js.map +1 -1
  104. package/dist/react/chat/DateMarker.d.ts +1 -1
  105. package/dist/react/chat/DateMarker.d.ts.map +1 -1
  106. package/dist/react/chat/DateMarker.js +2 -2
  107. package/dist/react/chat/DateMarker.js.map +1 -1
  108. package/dist/react/chat/MessageComposer.d.ts +1 -1
  109. package/dist/react/chat/MessageComposer.d.ts.map +1 -1
  110. package/dist/react/chat/MessageComposer.js +2 -2
  111. package/dist/react/chat/MessageComposer.js.map +1 -1
  112. package/dist/react/chat/MessageRow.d.ts +1 -1
  113. package/dist/react/chat/MessageRow.d.ts.map +1 -1
  114. package/dist/react/chat/MessageRow.js +3 -3
  115. package/dist/react/chat/MessageRow.js.map +1 -1
  116. package/dist/react/chat/MessageScroller.d.ts +1 -1
  117. package/dist/react/chat/MessageScroller.d.ts.map +1 -1
  118. package/dist/react/chat/MessageScroller.js +2 -2
  119. package/dist/react/chat/MessageScroller.js.map +1 -1
  120. package/dist/react/chat/MessageThread.d.ts +1 -1
  121. package/dist/react/chat/MessageThread.d.ts.map +1 -1
  122. package/dist/react/chat/MessageThread.js +2 -2
  123. package/dist/react/chat/MessageThread.js.map +1 -1
  124. package/dist/react/chat/PresenceRoster.d.ts +1 -1
  125. package/dist/react/chat/PresenceRoster.d.ts.map +1 -1
  126. package/dist/react/chat/PresenceRoster.js +2 -2
  127. package/dist/react/chat/PresenceRoster.js.map +1 -1
  128. package/dist/react/chat/StatusMarker.d.ts +1 -1
  129. package/dist/react/chat/StatusMarker.d.ts.map +1 -1
  130. package/dist/react/chat/StatusMarker.js +2 -2
  131. package/dist/react/chat/StatusMarker.js.map +1 -1
  132. package/dist/react/code-editor/CodeEditor.d.ts +1 -1
  133. package/dist/react/code-editor/CodeEditor.d.ts.map +1 -1
  134. package/dist/react/code-editor/CodeEditor.js +2 -2
  135. package/dist/react/code-editor/CodeEditor.js.map +1 -1
  136. package/dist/react/companion-link/CompanionLinkBar.d.ts +3 -2
  137. package/dist/react/companion-link/CompanionLinkBar.d.ts.map +1 -1
  138. package/dist/react/companion-link/CompanionLinkBar.js +3 -3
  139. package/dist/react/companion-link/CompanionLinkBar.js.map +1 -1
  140. package/dist/react/companion-link/CompanionLinkStatus.d.ts +1 -1
  141. package/dist/react/companion-link/CompanionLinkStatus.d.ts.map +1 -1
  142. package/dist/react/companion-link/CompanionLinkStatus.js +3 -3
  143. package/dist/react/companion-link/CompanionLinkStatus.js.map +1 -1
  144. package/dist/react/companion-link/StaleMirrorBanner.d.ts +1 -1
  145. package/dist/react/companion-link/StaleMirrorBanner.d.ts.map +1 -1
  146. package/dist/react/companion-link/StaleMirrorBanner.js +2 -2
  147. package/dist/react/companion-link/StaleMirrorBanner.js.map +1 -1
  148. package/dist/react/components/Accordion.d.ts +1 -1
  149. package/dist/react/components/Accordion.d.ts.map +1 -1
  150. package/dist/react/components/Accordion.js +2 -2
  151. package/dist/react/components/Accordion.js.map +1 -1
  152. package/dist/react/components/ActionBar.d.ts +3 -3
  153. package/dist/react/components/ActionBar.d.ts.map +1 -1
  154. package/dist/react/components/ActionBar.js +10 -10
  155. package/dist/react/components/ActionBar.js.map +1 -1
  156. package/dist/react/components/ActionGroup.d.ts +1 -1
  157. package/dist/react/components/ActionGroup.d.ts.map +1 -1
  158. package/dist/react/components/ActionGroup.js +2 -2
  159. package/dist/react/components/ActionGroup.js.map +1 -1
  160. package/dist/react/components/ActionsHelp.d.ts +1 -1
  161. package/dist/react/components/ActionsHelp.d.ts.map +1 -1
  162. package/dist/react/components/ActionsHelp.js +2 -2
  163. package/dist/react/components/ActionsHelp.js.map +1 -1
  164. package/dist/react/components/AddItemsMenu.d.ts +1 -1
  165. package/dist/react/components/AddItemsMenu.d.ts.map +1 -1
  166. package/dist/react/components/AddItemsMenu.js +2 -2
  167. package/dist/react/components/AddItemsMenu.js.map +1 -1
  168. package/dist/react/components/Alert.d.ts +1 -1
  169. package/dist/react/components/Alert.d.ts.map +1 -1
  170. package/dist/react/components/Alert.js +2 -2
  171. package/dist/react/components/Alert.js.map +1 -1
  172. package/dist/react/components/AmbientBackdrop.d.ts +1 -1
  173. package/dist/react/components/AmbientBackdrop.d.ts.map +1 -1
  174. package/dist/react/components/AmbientBackdrop.js +2 -2
  175. package/dist/react/components/AmbientBackdrop.js.map +1 -1
  176. package/dist/react/components/AppShell.d.ts +3 -3
  177. package/dist/react/components/AppShell.d.ts.map +1 -1
  178. package/dist/react/components/AppShell.js +17 -5
  179. package/dist/react/components/AppShell.js.map +1 -1
  180. package/dist/react/components/AsyncPanel.d.ts +1 -1
  181. package/dist/react/components/AsyncPanel.d.ts.map +1 -1
  182. package/dist/react/components/AsyncPanel.js +5 -5
  183. package/dist/react/components/AsyncPanel.js.map +1 -1
  184. package/dist/react/components/Autocomplete.d.ts +3 -3
  185. package/dist/react/components/Autocomplete.d.ts.map +1 -1
  186. package/dist/react/components/Autocomplete.js +2 -2
  187. package/dist/react/components/Autocomplete.js.map +1 -1
  188. package/dist/react/components/Avatar.d.ts +1 -1
  189. package/dist/react/components/Avatar.d.ts.map +1 -1
  190. package/dist/react/components/Avatar.js +3 -3
  191. package/dist/react/components/Avatar.js.map +1 -1
  192. package/dist/react/components/AvatarStack.d.ts +1 -1
  193. package/dist/react/components/AvatarStack.d.ts.map +1 -1
  194. package/dist/react/components/AvatarStack.js +2 -2
  195. package/dist/react/components/AvatarStack.js.map +1 -1
  196. package/dist/react/components/BannerLane.d.ts +1 -1
  197. package/dist/react/components/BannerLane.d.ts.map +1 -1
  198. package/dist/react/components/BannerLane.js +2 -2
  199. package/dist/react/components/BannerLane.js.map +1 -1
  200. package/dist/react/components/BuildFreshness.d.ts +3 -3
  201. package/dist/react/components/BuildFreshness.d.ts.map +1 -1
  202. package/dist/react/components/BuildFreshness.js +3 -3
  203. package/dist/react/components/BuildFreshness.js.map +1 -1
  204. package/dist/react/components/ButtonLink.d.ts +1 -1
  205. package/dist/react/components/ButtonLink.d.ts.map +1 -1
  206. package/dist/react/components/ButtonLink.js +2 -2
  207. package/dist/react/components/ButtonLink.js.map +1 -1
  208. package/dist/react/components/CardDisplayControls.d.ts +6 -1
  209. package/dist/react/components/CardDisplayControls.d.ts.map +1 -1
  210. package/dist/react/components/CardDisplayControls.js +3 -3
  211. package/dist/react/components/CardDisplayControls.js.map +1 -1
  212. package/dist/react/components/ChartTablePanel.d.ts +1 -1
  213. package/dist/react/components/ChartTablePanel.d.ts.map +1 -1
  214. package/dist/react/components/ChartTablePanel.js +2 -2
  215. package/dist/react/components/ChartTablePanel.js.map +1 -1
  216. package/dist/react/components/ChipFilterStrip.d.ts +1 -1
  217. package/dist/react/components/ChipFilterStrip.d.ts.map +1 -1
  218. package/dist/react/components/ChipFilterStrip.js +2 -2
  219. package/dist/react/components/ChipFilterStrip.js.map +1 -1
  220. package/dist/react/components/ChoiceGroup.d.ts +1 -1
  221. package/dist/react/components/ChoiceGroup.d.ts.map +1 -1
  222. package/dist/react/components/ChoiceGroup.js +2 -2
  223. package/dist/react/components/ChoiceGroup.js.map +1 -1
  224. package/dist/react/components/ChoiceMenu.d.ts +1 -1
  225. package/dist/react/components/ChoiceMenu.d.ts.map +1 -1
  226. package/dist/react/components/ChoiceMenu.js +2 -2
  227. package/dist/react/components/ChoiceMenu.js.map +1 -1
  228. package/dist/react/components/CodeArea.d.ts +1 -1
  229. package/dist/react/components/CodeArea.d.ts.map +1 -1
  230. package/dist/react/components/CodeArea.js +2 -2
  231. package/dist/react/components/CodeArea.js.map +1 -1
  232. package/dist/react/components/CodeFieldInput.d.ts +1 -1
  233. package/dist/react/components/CodeFieldInput.d.ts.map +1 -1
  234. package/dist/react/components/CodeFieldInput.js +2 -2
  235. package/dist/react/components/CodeFieldInput.js.map +1 -1
  236. package/dist/react/components/Collapsible.d.ts +1 -1
  237. package/dist/react/components/Collapsible.d.ts.map +1 -1
  238. package/dist/react/components/Collapsible.js +2 -2
  239. package/dist/react/components/Collapsible.js.map +1 -1
  240. package/dist/react/components/ColorField.d.ts +1 -1
  241. package/dist/react/components/ColorField.d.ts.map +1 -1
  242. package/dist/react/components/ColorField.js +2 -2
  243. package/dist/react/components/ColorField.js.map +1 -1
  244. package/dist/react/components/ColorSwatches.d.ts +1 -1
  245. package/dist/react/components/ColorSwatches.d.ts.map +1 -1
  246. package/dist/react/components/ColorSwatches.js +2 -2
  247. package/dist/react/components/ColorSwatches.js.map +1 -1
  248. package/dist/react/components/ComboboxField.d.ts.map +1 -1
  249. package/dist/react/components/ComboboxField.js +5 -2
  250. package/dist/react/components/ComboboxField.js.map +1 -1
  251. package/dist/react/components/CommentThread.d.ts +1 -1
  252. package/dist/react/components/CommentThread.d.ts.map +1 -1
  253. package/dist/react/components/CommentThread.js +2 -2
  254. package/dist/react/components/CommentThread.js.map +1 -1
  255. package/dist/react/components/ConfirmDialog.d.ts +1 -1
  256. package/dist/react/components/ConfirmDialog.d.ts.map +1 -1
  257. package/dist/react/components/ConfirmDialog.js +2 -2
  258. package/dist/react/components/ConfirmDialog.js.map +1 -1
  259. package/dist/react/components/ConnectionHealer.d.ts +1 -1
  260. package/dist/react/components/ConnectionHealer.d.ts.map +1 -1
  261. package/dist/react/components/ConnectionHealer.js +3 -3
  262. package/dist/react/components/ConnectionHealer.js.map +1 -1
  263. package/dist/react/components/ControlPanel.d.ts +2 -2
  264. package/dist/react/components/ControlPanel.d.ts.map +1 -1
  265. package/dist/react/components/ControlPanel.js +5 -5
  266. package/dist/react/components/ControlPanel.js.map +1 -1
  267. package/dist/react/components/CopyButton.d.ts +1 -1
  268. package/dist/react/components/CopyButton.d.ts.map +1 -1
  269. package/dist/react/components/CopyButton.js +2 -2
  270. package/dist/react/components/CopyButton.js.map +1 -1
  271. package/dist/react/components/CopyableText.d.ts +1 -1
  272. package/dist/react/components/CopyableText.d.ts.map +1 -1
  273. package/dist/react/components/CopyableText.js +3 -3
  274. package/dist/react/components/CopyableText.js.map +1 -1
  275. package/dist/react/components/DataTable/CardView.d.ts +1 -1
  276. package/dist/react/components/DataTable/CardView.d.ts.map +1 -1
  277. package/dist/react/components/DataTable/CardView.js +2 -2
  278. package/dist/react/components/DataTable/CardView.js.map +1 -1
  279. package/dist/react/components/DataTable/ColumnChecklist.d.ts +1 -1
  280. package/dist/react/components/DataTable/ColumnChecklist.d.ts.map +1 -1
  281. package/dist/react/components/DataTable/ColumnChecklist.js +2 -2
  282. package/dist/react/components/DataTable/ColumnChecklist.js.map +1 -1
  283. package/dist/react/components/DataTable/DataTable.d.ts +1 -1
  284. package/dist/react/components/DataTable/DataTable.d.ts.map +1 -1
  285. package/dist/react/components/DataTable/DataTable.js +2 -2
  286. package/dist/react/components/DataTable/DataTable.js.map +1 -1
  287. package/dist/react/components/DataTable/Pagination.d.ts +1 -1
  288. package/dist/react/components/DataTable/Pagination.d.ts.map +1 -1
  289. package/dist/react/components/DataTable/Pagination.js +2 -2
  290. package/dist/react/components/DataTable/Pagination.js.map +1 -1
  291. package/dist/react/components/DataTable/RowActions.d.ts +1 -1
  292. package/dist/react/components/DataTable/RowActions.d.ts.map +1 -1
  293. package/dist/react/components/DataTable/RowActions.js +2 -2
  294. package/dist/react/components/DataTable/RowActions.js.map +1 -1
  295. package/dist/react/components/DataTable/SearchBox.d.ts +1 -1
  296. package/dist/react/components/DataTable/SearchBox.d.ts.map +1 -1
  297. package/dist/react/components/DataTable/SearchBox.js +4 -4
  298. package/dist/react/components/DataTable/SearchBox.js.map +1 -1
  299. package/dist/react/components/DataTable/SortHeader.d.ts +3 -3
  300. package/dist/react/components/DataTable/SortHeader.d.ts.map +1 -1
  301. package/dist/react/components/DataTable/SortHeader.js +4 -4
  302. package/dist/react/components/DataTable/SortHeader.js.map +1 -1
  303. package/dist/react/components/DataTable/SortStack.d.ts +1 -1
  304. package/dist/react/components/DataTable/SortStack.d.ts.map +1 -1
  305. package/dist/react/components/DataTable/SortStack.js +2 -2
  306. package/dist/react/components/DataTable/SortStack.js.map +1 -1
  307. package/dist/react/components/DataTable/TableFilterBuilder.d.ts +1 -1
  308. package/dist/react/components/DataTable/TableFilterBuilder.d.ts.map +1 -1
  309. package/dist/react/components/DataTable/TableFilterBuilder.js +2 -2
  310. package/dist/react/components/DataTable/TableFilterBuilder.js.map +1 -1
  311. package/dist/react/components/DataTable/TableViewToggle.d.ts +1 -1
  312. package/dist/react/components/DataTable/TableViewToggle.d.ts.map +1 -1
  313. package/dist/react/components/DataTable/TableViewToggle.js +2 -2
  314. package/dist/react/components/DataTable/TableViewToggle.js.map +1 -1
  315. package/dist/react/components/DataTable/Toolbar.d.ts +1 -1
  316. package/dist/react/components/DataTable/Toolbar.d.ts.map +1 -1
  317. package/dist/react/components/DataTable/Toolbar.js +2 -2
  318. package/dist/react/components/DataTable/Toolbar.js.map +1 -1
  319. package/dist/react/components/DataTable/ViewOptionsMenu.d.ts +1 -1
  320. package/dist/react/components/DataTable/ViewOptionsMenu.d.ts.map +1 -1
  321. package/dist/react/components/DataTable/ViewOptionsMenu.js +2 -2
  322. package/dist/react/components/DataTable/ViewOptionsMenu.js.map +1 -1
  323. package/dist/react/components/DataTable/cells/CellRenderer.d.ts.map +1 -1
  324. package/dist/react/components/DataTable/cells/CellRenderer.js +6 -2
  325. package/dist/react/components/DataTable/cells/CellRenderer.js.map +1 -1
  326. package/dist/react/components/DataTable/cells/CodeCell.d.ts +1 -1
  327. package/dist/react/components/DataTable/cells/CodeCell.d.ts.map +1 -1
  328. package/dist/react/components/DataTable/cells/CodeCell.js +2 -2
  329. package/dist/react/components/DataTable/cells/CodeCell.js.map +1 -1
  330. package/dist/react/components/DataTable/cells/LinkCell.d.ts +1 -1
  331. package/dist/react/components/DataTable/cells/LinkCell.d.ts.map +1 -1
  332. package/dist/react/components/DataTable/cells/LinkCell.js +2 -2
  333. package/dist/react/components/DataTable/cells/LinkCell.js.map +1 -1
  334. package/dist/react/components/DataTable/cells/PasswordCell.d.ts +1 -1
  335. package/dist/react/components/DataTable/cells/PasswordCell.d.ts.map +1 -1
  336. package/dist/react/components/DataTable/cells/PasswordCell.js +2 -2
  337. package/dist/react/components/DataTable/cells/PasswordCell.js.map +1 -1
  338. package/dist/react/components/DatePicker.d.ts +1 -1
  339. package/dist/react/components/DatePicker.d.ts.map +1 -1
  340. package/dist/react/components/DatePicker.js +2 -2
  341. package/dist/react/components/DatePicker.js.map +1 -1
  342. package/dist/react/components/DateRangePicker.d.ts +1 -1
  343. package/dist/react/components/DateRangePicker.d.ts.map +1 -1
  344. package/dist/react/components/DateRangePicker.js +2 -2
  345. package/dist/react/components/DateRangePicker.js.map +1 -1
  346. package/dist/react/components/DateTimeField.d.ts +1 -1
  347. package/dist/react/components/DateTimeField.d.ts.map +1 -1
  348. package/dist/react/components/DateTimeField.js +2 -2
  349. package/dist/react/components/DateTimeField.js.map +1 -1
  350. package/dist/react/components/DiscardConfirmDialog.d.ts +1 -1
  351. package/dist/react/components/DiscardConfirmDialog.d.ts.map +1 -1
  352. package/dist/react/components/DiscardConfirmDialog.js +2 -2
  353. package/dist/react/components/DiscardConfirmDialog.js.map +1 -1
  354. package/dist/react/components/DisclosureButton.d.ts +2 -2
  355. package/dist/react/components/DisclosureButton.d.ts.map +1 -1
  356. package/dist/react/components/DisclosureButton.js +4 -4
  357. package/dist/react/components/DisclosureButton.js.map +1 -1
  358. package/dist/react/components/DragHandle.d.ts +1 -1
  359. package/dist/react/components/DragHandle.d.ts.map +1 -1
  360. package/dist/react/components/DragHandle.js +2 -2
  361. package/dist/react/components/DragHandle.js.map +1 -1
  362. package/dist/react/components/Drawer.d.ts +1 -1
  363. package/dist/react/components/Drawer.d.ts.map +1 -1
  364. package/dist/react/components/Drawer.js +2 -2
  365. package/dist/react/components/Drawer.js.map +1 -1
  366. package/dist/react/components/DropIndicator.d.ts +1 -1
  367. package/dist/react/components/DropIndicator.d.ts.map +1 -1
  368. package/dist/react/components/DropIndicator.js +3 -3
  369. package/dist/react/components/DropIndicator.js.map +1 -1
  370. package/dist/react/components/DropSlot.d.ts +1 -1
  371. package/dist/react/components/DropSlot.d.ts.map +1 -1
  372. package/dist/react/components/DropSlot.js +2 -2
  373. package/dist/react/components/DropSlot.js.map +1 -1
  374. package/dist/react/components/DropdownMenu.d.ts +1 -1
  375. package/dist/react/components/DropdownMenu.d.ts.map +1 -1
  376. package/dist/react/components/DropdownMenu.js +2 -2
  377. package/dist/react/components/DropdownMenu.js.map +1 -1
  378. package/dist/react/components/EditorPage.d.ts +2 -2
  379. package/dist/react/components/EditorPage.d.ts.map +1 -1
  380. package/dist/react/components/EditorPage.js +4 -4
  381. package/dist/react/components/EditorPage.js.map +1 -1
  382. package/dist/react/components/ElsewhereNotice.d.ts +1 -1
  383. package/dist/react/components/ElsewhereNotice.d.ts.map +1 -1
  384. package/dist/react/components/ElsewhereNotice.js +2 -2
  385. package/dist/react/components/ElsewhereNotice.js.map +1 -1
  386. package/dist/react/components/EmojiField.d.ts +1 -1
  387. package/dist/react/components/EmojiField.d.ts.map +1 -1
  388. package/dist/react/components/EmojiField.js +2 -2
  389. package/dist/react/components/EmojiField.js.map +1 -1
  390. package/dist/react/components/EmptyState.d.ts +1 -1
  391. package/dist/react/components/EmptyState.d.ts.map +1 -1
  392. package/dist/react/components/EmptyState.js +2 -2
  393. package/dist/react/components/EmptyState.js.map +1 -1
  394. package/dist/react/components/EnvCompare.d.ts +1 -1
  395. package/dist/react/components/EnvCompare.d.ts.map +1 -1
  396. package/dist/react/components/EnvCompare.js +3 -3
  397. package/dist/react/components/EnvCompare.js.map +1 -1
  398. package/dist/react/components/EnvEditor.d.ts +1 -1
  399. package/dist/react/components/EnvEditor.d.ts.map +1 -1
  400. package/dist/react/components/EnvEditor.js +2 -2
  401. package/dist/react/components/EnvEditor.js.map +1 -1
  402. package/dist/react/components/ErrorBoundary.d.ts +1 -1
  403. package/dist/react/components/ErrorBoundary.d.ts.map +1 -1
  404. package/dist/react/components/ErrorBoundary.js +3 -3
  405. package/dist/react/components/ErrorBoundary.js.map +1 -1
  406. package/dist/react/components/ErrorCard.d.ts +1 -1
  407. package/dist/react/components/ErrorCard.d.ts.map +1 -1
  408. package/dist/react/components/ErrorCard.js +2 -2
  409. package/dist/react/components/ErrorCard.js.map +1 -1
  410. package/dist/react/components/EventTimeline.d.ts +1 -1
  411. package/dist/react/components/EventTimeline.d.ts.map +1 -1
  412. package/dist/react/components/EventTimeline.js +2 -2
  413. package/dist/react/components/EventTimeline.js.map +1 -1
  414. package/dist/react/components/ExpandableRow.d.ts +1 -1
  415. package/dist/react/components/ExpandableRow.d.ts.map +1 -1
  416. package/dist/react/components/ExpandableRow.js +2 -2
  417. package/dist/react/components/ExpandableRow.js.map +1 -1
  418. package/dist/react/components/ExternalLink.d.ts +1 -1
  419. package/dist/react/components/ExternalLink.d.ts.map +1 -1
  420. package/dist/react/components/ExternalLink.js +4 -4
  421. package/dist/react/components/ExternalLink.js.map +1 -1
  422. package/dist/react/components/Field.d.ts +1 -1
  423. package/dist/react/components/Field.d.ts.map +1 -1
  424. package/dist/react/components/Field.js +2 -2
  425. package/dist/react/components/Field.js.map +1 -1
  426. package/dist/react/components/FieldGrid.d.ts +1 -1
  427. package/dist/react/components/FieldGrid.d.ts.map +1 -1
  428. package/dist/react/components/FieldGrid.js +2 -2
  429. package/dist/react/components/FieldGrid.js.map +1 -1
  430. package/dist/react/components/FileActions.d.ts +1 -1
  431. package/dist/react/components/FileActions.d.ts.map +1 -1
  432. package/dist/react/components/FileActions.js +2 -2
  433. package/dist/react/components/FileActions.js.map +1 -1
  434. package/dist/react/components/FileDropZone.d.ts +1 -1
  435. package/dist/react/components/FileDropZone.d.ts.map +1 -1
  436. package/dist/react/components/FileDropZone.js +2 -2
  437. package/dist/react/components/FileDropZone.js.map +1 -1
  438. package/dist/react/components/FileLocation.d.ts +1 -1
  439. package/dist/react/components/FileLocation.d.ts.map +1 -1
  440. package/dist/react/components/FileLocation.js +2 -2
  441. package/dist/react/components/FileLocation.js.map +1 -1
  442. package/dist/react/components/FileTypeIcon.d.ts +1 -1
  443. package/dist/react/components/FileTypeIcon.d.ts.map +1 -1
  444. package/dist/react/components/FileTypeIcon.js +2 -2
  445. package/dist/react/components/FileTypeIcon.js.map +1 -1
  446. package/dist/react/components/FindingsList.d.ts +1 -1
  447. package/dist/react/components/FindingsList.d.ts.map +1 -1
  448. package/dist/react/components/FindingsList.js +3 -3
  449. package/dist/react/components/FindingsList.js.map +1 -1
  450. package/dist/react/components/FormPreviewLayout.d.ts +1 -1
  451. package/dist/react/components/FormPreviewLayout.d.ts.map +1 -1
  452. package/dist/react/components/FormPreviewLayout.js +2 -2
  453. package/dist/react/components/FormPreviewLayout.js.map +1 -1
  454. package/dist/react/components/Guide.d.ts +2 -2
  455. package/dist/react/components/Guide.d.ts.map +1 -1
  456. package/dist/react/components/Guide.js +4 -4
  457. package/dist/react/components/Guide.js.map +1 -1
  458. package/dist/react/components/Heat.d.ts +130 -0
  459. package/dist/react/components/Heat.d.ts.map +1 -0
  460. package/dist/react/components/Heat.js +139 -0
  461. package/dist/react/components/Heat.js.map +1 -0
  462. package/dist/react/components/HoverCard.d.ts +1 -1
  463. package/dist/react/components/HoverCard.d.ts.map +1 -1
  464. package/dist/react/components/HoverCard.js +2 -2
  465. package/dist/react/components/HoverCard.js.map +1 -1
  466. package/dist/react/components/IconPicker.d.ts +1 -1
  467. package/dist/react/components/IconPicker.d.ts.map +1 -1
  468. package/dist/react/components/IconPicker.js +2 -2
  469. package/dist/react/components/IconPicker.js.map +1 -1
  470. package/dist/react/components/ImpactDialog.d.ts +1 -1
  471. package/dist/react/components/ImpactDialog.d.ts.map +1 -1
  472. package/dist/react/components/ImpactDialog.js +2 -2
  473. package/dist/react/components/ImpactDialog.js.map +1 -1
  474. package/dist/react/components/InfoHintImpl.d.ts +1 -1
  475. package/dist/react/components/InfoHintImpl.d.ts.map +1 -1
  476. package/dist/react/components/InfoHintImpl.js +2 -2
  477. package/dist/react/components/InfoHintImpl.js.map +1 -1
  478. package/dist/react/components/InheritBadge.d.ts +1 -1
  479. package/dist/react/components/InheritBadge.d.ts.map +1 -1
  480. package/dist/react/components/InheritBadge.js +2 -2
  481. package/dist/react/components/InheritBadge.js.map +1 -1
  482. package/dist/react/components/InlineEditableText.d.ts +1 -1
  483. package/dist/react/components/InlineEditableText.d.ts.map +1 -1
  484. package/dist/react/components/InlineEditableText.js +6 -6
  485. package/dist/react/components/InlineEditableText.js.map +1 -1
  486. package/dist/react/components/IsolatedFrame.d.ts +1 -1
  487. package/dist/react/components/IsolatedFrame.d.ts.map +1 -1
  488. package/dist/react/components/IsolatedFrame.js +4 -4
  489. package/dist/react/components/IsolatedFrame.js.map +1 -1
  490. package/dist/react/components/JsonEditor.d.ts +1 -1
  491. package/dist/react/components/JsonEditor.d.ts.map +1 -1
  492. package/dist/react/components/JsonEditor.js +2 -2
  493. package/dist/react/components/JsonEditor.js.map +1 -1
  494. package/dist/react/components/KanbanBoard.d.ts +1 -1
  495. package/dist/react/components/KanbanBoard.d.ts.map +1 -1
  496. package/dist/react/components/KanbanBoard.js +2 -2
  497. package/dist/react/components/KanbanBoard.js.map +1 -1
  498. package/dist/react/components/KeyBadge.d.ts +1 -1
  499. package/dist/react/components/KeyBadge.d.ts.map +1 -1
  500. package/dist/react/components/KeyBadge.js +5 -5
  501. package/dist/react/components/KeyBadge.js.map +1 -1
  502. package/dist/react/components/Lightbox.d.ts +1 -1
  503. package/dist/react/components/Lightbox.d.ts.map +1 -1
  504. package/dist/react/components/Lightbox.js +2 -2
  505. package/dist/react/components/Lightbox.js.map +1 -1
  506. package/dist/react/components/ListToolbar.d.ts +1 -1
  507. package/dist/react/components/ListToolbar.d.ts.map +1 -1
  508. package/dist/react/components/ListToolbar.js +2 -2
  509. package/dist/react/components/ListToolbar.js.map +1 -1
  510. package/dist/react/components/LogViewer.d.ts +1 -1
  511. package/dist/react/components/LogViewer.d.ts.map +1 -1
  512. package/dist/react/components/LogViewer.js +2 -2
  513. package/dist/react/components/LogViewer.js.map +1 -1
  514. package/dist/react/components/Menu.d.ts +3 -3
  515. package/dist/react/components/Menu.d.ts.map +1 -1
  516. package/dist/react/components/Menu.js +7 -7
  517. package/dist/react/components/Menu.js.map +1 -1
  518. package/dist/react/components/MeterList.d.ts +1 -1
  519. package/dist/react/components/MeterList.d.ts.map +1 -1
  520. package/dist/react/components/MeterList.js +5 -5
  521. package/dist/react/components/MeterList.js.map +1 -1
  522. package/dist/react/components/Modal.d.ts +1 -1
  523. package/dist/react/components/Modal.d.ts.map +1 -1
  524. package/dist/react/components/Modal.js +2 -2
  525. package/dist/react/components/Modal.js.map +1 -1
  526. package/dist/react/components/MultiSelectField.d.ts +1 -1
  527. package/dist/react/components/MultiSelectField.d.ts.map +1 -1
  528. package/dist/react/components/MultiSelectField.js +2 -2
  529. package/dist/react/components/MultiSelectField.js.map +1 -1
  530. package/dist/react/components/OnlineDot.d.ts +1 -1
  531. package/dist/react/components/OnlineDot.d.ts.map +1 -1
  532. package/dist/react/components/OnlineDot.js +2 -2
  533. package/dist/react/components/OnlineDot.js.map +1 -1
  534. package/dist/react/components/OtpInput.d.ts +1 -1
  535. package/dist/react/components/OtpInput.d.ts.map +1 -1
  536. package/dist/react/components/OtpInput.js +2 -2
  537. package/dist/react/components/OtpInput.js.map +1 -1
  538. package/dist/react/components/Page.d.ts +12 -1
  539. package/dist/react/components/Page.d.ts.map +1 -1
  540. package/dist/react/components/Page.js +10 -2
  541. package/dist/react/components/Page.js.map +1 -1
  542. package/dist/react/components/PageGuideButton.d.ts +1 -1
  543. package/dist/react/components/PageGuideButton.d.ts.map +1 -1
  544. package/dist/react/components/PageGuideButton.js +3 -3
  545. package/dist/react/components/PageGuideButton.js.map +1 -1
  546. package/dist/react/components/PageGuidePopover.d.ts +1 -1
  547. package/dist/react/components/PageGuidePopover.d.ts.map +1 -1
  548. package/dist/react/components/PageGuidePopover.js +2 -2
  549. package/dist/react/components/PageGuidePopover.js.map +1 -1
  550. package/dist/react/components/PanelGrid.d.ts +1 -1
  551. package/dist/react/components/PanelGrid.d.ts.map +1 -1
  552. package/dist/react/components/PanelGrid.js +3 -3
  553. package/dist/react/components/PanelGrid.js.map +1 -1
  554. package/dist/react/components/PanelSeparator.d.ts +1 -1
  555. package/dist/react/components/PanelSeparator.d.ts.map +1 -1
  556. package/dist/react/components/PanelSeparator.js +2 -2
  557. package/dist/react/components/PanelSeparator.js.map +1 -1
  558. package/dist/react/components/PathText.d.ts +1 -1
  559. package/dist/react/components/PathText.d.ts.map +1 -1
  560. package/dist/react/components/PathText.js +2 -2
  561. package/dist/react/components/PathText.js.map +1 -1
  562. package/dist/react/components/PointerDrag.d.ts +1 -1
  563. package/dist/react/components/PointerDrag.d.ts.map +1 -1
  564. package/dist/react/components/PointerDrag.js +2 -2
  565. package/dist/react/components/PointerDrag.js.map +1 -1
  566. package/dist/react/components/Popover.d.ts +2 -2
  567. package/dist/react/components/Popover.d.ts.map +1 -1
  568. package/dist/react/components/Popover.js +4 -4
  569. package/dist/react/components/Popover.js.map +1 -1
  570. package/dist/react/components/Progress.d.ts +2 -2
  571. package/dist/react/components/Progress.d.ts.map +1 -1
  572. package/dist/react/components/Progress.js +4 -4
  573. package/dist/react/components/Progress.js.map +1 -1
  574. package/dist/react/components/PromptDialog.d.ts +1 -1
  575. package/dist/react/components/PromptDialog.d.ts.map +1 -1
  576. package/dist/react/components/PromptDialog.js +2 -2
  577. package/dist/react/components/PromptDialog.js.map +1 -1
  578. package/dist/react/components/PropertyPicker.d.ts.map +1 -1
  579. package/dist/react/components/PropertyPicker.js +5 -2
  580. package/dist/react/components/PropertyPicker.js.map +1 -1
  581. package/dist/react/components/QueryBoundary.d.ts.map +1 -1
  582. package/dist/react/components/QueryBoundary.js +1 -0
  583. package/dist/react/components/QueryBoundary.js.map +1 -1
  584. package/dist/react/components/RatingField.d.ts +1 -1
  585. package/dist/react/components/RatingField.d.ts.map +1 -1
  586. package/dist/react/components/RatingField.js +2 -2
  587. package/dist/react/components/RatingField.js.map +1 -1
  588. package/dist/react/components/ReactionBar.d.ts +1 -1
  589. package/dist/react/components/ReactionBar.d.ts.map +1 -1
  590. package/dist/react/components/ReactionBar.js +2 -2
  591. package/dist/react/components/ReactionBar.js.map +1 -1
  592. package/dist/react/components/ReactionPicker.d.ts +1 -1
  593. package/dist/react/components/ReactionPicker.d.ts.map +1 -1
  594. package/dist/react/components/ReactionPicker.js +2 -2
  595. package/dist/react/components/ReactionPicker.js.map +1 -1
  596. package/dist/react/components/RenderField.d.ts +1 -1
  597. package/dist/react/components/RenderField.d.ts.map +1 -1
  598. package/dist/react/components/RenderField.js +2 -2
  599. package/dist/react/components/RenderField.js.map +1 -1
  600. package/dist/react/components/ResponsiveWorkbench.d.ts +1 -1
  601. package/dist/react/components/ResponsiveWorkbench.d.ts.map +1 -1
  602. package/dist/react/components/ResponsiveWorkbench.js +2 -2
  603. package/dist/react/components/ResponsiveWorkbench.js.map +1 -1
  604. package/dist/react/components/RevealAction.d.ts +1 -1
  605. package/dist/react/components/RevealAction.d.ts.map +1 -1
  606. package/dist/react/components/RevealAction.js +3 -3
  607. package/dist/react/components/RevealAction.js.map +1 -1
  608. package/dist/react/components/SaveIndicator.d.ts +1 -1
  609. package/dist/react/components/SaveIndicator.d.ts.map +1 -1
  610. package/dist/react/components/SaveIndicator.js +2 -2
  611. package/dist/react/components/SaveIndicator.js.map +1 -1
  612. package/dist/react/components/SearchInput.d.ts +9 -2
  613. package/dist/react/components/SearchInput.d.ts.map +1 -1
  614. package/dist/react/components/SearchInput.js +1 -1
  615. package/dist/react/components/SearchInput.js.map +1 -1
  616. package/dist/react/components/SecretInput.d.ts +1 -1
  617. package/dist/react/components/SecretInput.d.ts.map +1 -1
  618. package/dist/react/components/SecretInput.js +2 -2
  619. package/dist/react/components/SecretInput.js.map +1 -1
  620. package/dist/react/components/SectionNav.d.ts +1 -1
  621. package/dist/react/components/SectionNav.d.ts.map +1 -1
  622. package/dist/react/components/SectionNav.js +2 -2
  623. package/dist/react/components/SectionNav.js.map +1 -1
  624. package/dist/react/components/SegmentedControl.d.ts +1 -1
  625. package/dist/react/components/SegmentedControl.d.ts.map +1 -1
  626. package/dist/react/components/SegmentedControl.js +2 -2
  627. package/dist/react/components/SegmentedControl.js.map +1 -1
  628. package/dist/react/components/SelectFieldImpl.d.ts +1 -1
  629. package/dist/react/components/SelectFieldImpl.d.ts.map +1 -1
  630. package/dist/react/components/SelectFieldImpl.js +2 -2
  631. package/dist/react/components/SelectFieldImpl.js.map +1 -1
  632. package/dist/react/components/SelectionBar.d.ts +1 -1
  633. package/dist/react/components/SelectionBar.d.ts.map +1 -1
  634. package/dist/react/components/SelectionBar.js +2 -2
  635. package/dist/react/components/SelectionBar.js.map +1 -1
  636. package/dist/react/components/SettingsStrip.d.ts +1 -1
  637. package/dist/react/components/SettingsStrip.d.ts.map +1 -1
  638. package/dist/react/components/SettingsStrip.js +2 -2
  639. package/dist/react/components/SettingsStrip.js.map +1 -1
  640. package/dist/react/components/SheetTabStrip.d.ts.map +1 -1
  641. package/dist/react/components/SheetTabStrip.js +8 -8
  642. package/dist/react/components/SheetTabStrip.js.map +1 -1
  643. package/dist/react/components/Skeleton.d.ts +4 -4
  644. package/dist/react/components/Skeleton.d.ts.map +1 -1
  645. package/dist/react/components/Skeleton.js +10 -10
  646. package/dist/react/components/Skeleton.js.map +1 -1
  647. package/dist/react/components/Slider.d.ts +2 -2
  648. package/dist/react/components/Slider.d.ts.map +1 -1
  649. package/dist/react/components/Slider.js +4 -4
  650. package/dist/react/components/Slider.js.map +1 -1
  651. package/dist/react/components/SliderField.d.ts +1 -1
  652. package/dist/react/components/SliderField.d.ts.map +1 -1
  653. package/dist/react/components/SliderField.js +2 -2
  654. package/dist/react/components/SliderField.js.map +1 -1
  655. package/dist/react/components/Sparkline.d.ts +1 -1
  656. package/dist/react/components/Sparkline.d.ts.map +1 -1
  657. package/dist/react/components/Sparkline.js +2 -2
  658. package/dist/react/components/Sparkline.js.map +1 -1
  659. package/dist/react/components/Spinner.d.ts +1 -1
  660. package/dist/react/components/Spinner.d.ts.map +1 -1
  661. package/dist/react/components/Spinner.js +2 -2
  662. package/dist/react/components/Spinner.js.map +1 -1
  663. package/dist/react/components/SplitButton.d.ts +1 -1
  664. package/dist/react/components/SplitButton.d.ts.map +1 -1
  665. package/dist/react/components/SplitButton.js +2 -2
  666. package/dist/react/components/SplitButton.js.map +1 -1
  667. package/dist/react/components/SplitPane.d.ts +1 -1
  668. package/dist/react/components/SplitPane.d.ts.map +1 -1
  669. package/dist/react/components/SplitPane.js +2 -2
  670. package/dist/react/components/SplitPane.js.map +1 -1
  671. package/dist/react/components/StarRating.d.ts +1 -1
  672. package/dist/react/components/StarRating.d.ts.map +1 -1
  673. package/dist/react/components/StarRating.js +4 -4
  674. package/dist/react/components/StarRating.js.map +1 -1
  675. package/dist/react/components/StatStrip.d.ts +1 -1
  676. package/dist/react/components/StatStrip.d.ts.map +1 -1
  677. package/dist/react/components/StatStrip.js +2 -2
  678. package/dist/react/components/StatStrip.js.map +1 -1
  679. package/dist/react/components/StatTile.d.ts +1 -1
  680. package/dist/react/components/StatTile.d.ts.map +1 -1
  681. package/dist/react/components/StatTile.js +2 -2
  682. package/dist/react/components/StatTile.js.map +1 -1
  683. package/dist/react/components/StatTileGrid.d.ts +1 -1
  684. package/dist/react/components/StatTileGrid.d.ts.map +1 -1
  685. package/dist/react/components/StatTileGrid.js +2 -2
  686. package/dist/react/components/StatTileGrid.js.map +1 -1
  687. package/dist/react/components/SwatchPicker.d.ts +1 -1
  688. package/dist/react/components/SwatchPicker.d.ts.map +1 -1
  689. package/dist/react/components/SwatchPicker.js +2 -2
  690. package/dist/react/components/SwatchPicker.js.map +1 -1
  691. package/dist/react/components/Tabs.d.ts +1 -1
  692. package/dist/react/components/Tabs.d.ts.map +1 -1
  693. package/dist/react/components/Tabs.js +2 -2
  694. package/dist/react/components/Tabs.js.map +1 -1
  695. package/dist/react/components/TagStrip.d.ts +1 -1
  696. package/dist/react/components/TagStrip.d.ts.map +1 -1
  697. package/dist/react/components/TagStrip.js +2 -2
  698. package/dist/react/components/TagStrip.js.map +1 -1
  699. package/dist/react/components/TagsInput.d.ts +1 -1
  700. package/dist/react/components/TagsInput.d.ts.map +1 -1
  701. package/dist/react/components/TagsInput.js +2 -2
  702. package/dist/react/components/TagsInput.js.map +1 -1
  703. package/dist/react/components/ThresholdMeter.d.ts +1 -1
  704. package/dist/react/components/ThresholdMeter.d.ts.map +1 -1
  705. package/dist/react/components/ThresholdMeter.js +2 -2
  706. package/dist/react/components/ThresholdMeter.js.map +1 -1
  707. package/dist/react/components/TooltipImpl.d.ts +1 -1
  708. package/dist/react/components/TooltipImpl.d.ts.map +1 -1
  709. package/dist/react/components/TooltipImpl.js +5 -5
  710. package/dist/react/components/TooltipImpl.js.map +1 -1
  711. package/dist/react/components/TreeView.d.ts +1 -1
  712. package/dist/react/components/TreeView.d.ts.map +1 -1
  713. package/dist/react/components/TreeView.js +2 -2
  714. package/dist/react/components/TreeView.js.map +1 -1
  715. package/dist/react/components/Wizard/ReviewStep.d.ts +1 -1
  716. package/dist/react/components/Wizard/ReviewStep.d.ts.map +1 -1
  717. package/dist/react/components/Wizard/ReviewStep.js +2 -2
  718. package/dist/react/components/Wizard/ReviewStep.js.map +1 -1
  719. package/dist/react/components/Wizard/Stepper.d.ts +1 -1
  720. package/dist/react/components/Wizard/Stepper.d.ts.map +1 -1
  721. package/dist/react/components/Wizard/Stepper.js +2 -2
  722. package/dist/react/components/Wizard/Stepper.js.map +1 -1
  723. package/dist/react/components/Wizard/Wizard.d.ts +1 -1
  724. package/dist/react/components/Wizard/Wizard.d.ts.map +1 -1
  725. package/dist/react/components/Wizard/Wizard.js +2 -2
  726. package/dist/react/components/Wizard/Wizard.js.map +1 -1
  727. package/dist/react/components/auth/AuthCard.d.ts +1 -1
  728. package/dist/react/components/auth/AuthCard.d.ts.map +1 -1
  729. package/dist/react/components/auth/AuthCard.js +2 -2
  730. package/dist/react/components/auth/AuthCard.js.map +1 -1
  731. package/dist/react/components/auth/AuthForm.d.ts +1 -1
  732. package/dist/react/components/auth/AuthForm.d.ts.map +1 -1
  733. package/dist/react/components/auth/AuthForm.js +2 -2
  734. package/dist/react/components/auth/AuthForm.js.map +1 -1
  735. package/dist/react/components/auth/LoginForm.d.ts +1 -1
  736. package/dist/react/components/auth/LoginForm.d.ts.map +1 -1
  737. package/dist/react/components/auth/LoginForm.js +2 -2
  738. package/dist/react/components/auth/LoginForm.js.map +1 -1
  739. package/dist/react/components/auth/PasswordResetConfirm.d.ts +1 -1
  740. package/dist/react/components/auth/PasswordResetConfirm.d.ts.map +1 -1
  741. package/dist/react/components/auth/PasswordResetConfirm.js +2 -2
  742. package/dist/react/components/auth/PasswordResetConfirm.js.map +1 -1
  743. package/dist/react/components/auth/PasswordResetRequest.d.ts +1 -1
  744. package/dist/react/components/auth/PasswordResetRequest.d.ts.map +1 -1
  745. package/dist/react/components/auth/PasswordResetRequest.js +3 -3
  746. package/dist/react/components/auth/PasswordResetRequest.js.map +1 -1
  747. package/dist/react/components/auth/PasswordSetFields.d.ts +1 -1
  748. package/dist/react/components/auth/PasswordSetFields.d.ts.map +1 -1
  749. package/dist/react/components/auth/PasswordSetFields.js +2 -2
  750. package/dist/react/components/auth/PasswordSetFields.js.map +1 -1
  751. package/dist/react/components/auth/PasswordStrengthMeter.d.ts +1 -1
  752. package/dist/react/components/auth/PasswordStrengthMeter.d.ts.map +1 -1
  753. package/dist/react/components/auth/PasswordStrengthMeter.js +2 -2
  754. package/dist/react/components/auth/PasswordStrengthMeter.js.map +1 -1
  755. package/dist/react/components/auth/RegisterForm.d.ts +1 -1
  756. package/dist/react/components/auth/RegisterForm.d.ts.map +1 -1
  757. package/dist/react/components/auth/RegisterForm.js +2 -2
  758. package/dist/react/components/auth/RegisterForm.js.map +1 -1
  759. package/dist/react/components/auth/SetInitialPassword.d.ts +1 -1
  760. package/dist/react/components/auth/SetInitialPassword.d.ts.map +1 -1
  761. package/dist/react/components/auth/SetInitialPassword.js +2 -2
  762. package/dist/react/components/auth/SetInitialPassword.js.map +1 -1
  763. package/dist/react/components/auth/SignInCard.d.ts +1 -1
  764. package/dist/react/components/auth/SignInCard.d.ts.map +1 -1
  765. package/dist/react/components/auth/SignInCard.js +2 -2
  766. package/dist/react/components/auth/SignInCard.js.map +1 -1
  767. package/dist/react/components/auth/SignupForm.d.ts +1 -1
  768. package/dist/react/components/auth/SignupForm.d.ts.map +1 -1
  769. package/dist/react/components/auth/SignupForm.js +2 -2
  770. package/dist/react/components/auth/SignupForm.js.map +1 -1
  771. package/dist/react/components/auth/TotpEntry.d.ts +1 -1
  772. package/dist/react/components/auth/TotpEntry.d.ts.map +1 -1
  773. package/dist/react/components/auth/TotpEntry.js +2 -2
  774. package/dist/react/components/auth/TotpEntry.js.map +1 -1
  775. package/dist/react/components/auth/fields.d.ts +2 -2
  776. package/dist/react/components/auth/fields.d.ts.map +1 -1
  777. package/dist/react/components/auth/fields.js +4 -4
  778. package/dist/react/components/auth/fields.js.map +1 -1
  779. package/dist/react/components/calendar/CalendarLegend.d.ts +1 -1
  780. package/dist/react/components/calendar/CalendarLegend.d.ts.map +1 -1
  781. package/dist/react/components/calendar/CalendarLegend.js +2 -2
  782. package/dist/react/components/calendar/CalendarLegend.js.map +1 -1
  783. package/dist/react/components/calendar/DayAgenda.d.ts +1 -1
  784. package/dist/react/components/calendar/DayAgenda.d.ts.map +1 -1
  785. package/dist/react/components/calendar/DayAgenda.js +2 -2
  786. package/dist/react/components/calendar/DayAgenda.js.map +1 -1
  787. package/dist/react/components/calendar/EventChip.d.ts +1 -1
  788. package/dist/react/components/calendar/EventChip.d.ts.map +1 -1
  789. package/dist/react/components/calendar/EventChip.js +2 -2
  790. package/dist/react/components/calendar/EventChip.js.map +1 -1
  791. package/dist/react/components/calendar/MonthGrid.d.ts +1 -1
  792. package/dist/react/components/calendar/MonthGrid.d.ts.map +1 -1
  793. package/dist/react/components/calendar/MonthGrid.js +2 -2
  794. package/dist/react/components/calendar/MonthGrid.js.map +1 -1
  795. package/dist/react/components/calendar/WeekView.d.ts +1 -1
  796. package/dist/react/components/calendar/WeekView.d.ts.map +1 -1
  797. package/dist/react/components/calendar/WeekView.js +2 -2
  798. package/dist/react/components/calendar/WeekView.js.map +1 -1
  799. package/dist/react/components/fieldErrorText.d.ts +1 -1
  800. package/dist/react/components/fieldErrorText.d.ts.map +1 -1
  801. package/dist/react/components/fieldErrorText.js +2 -2
  802. package/dist/react/components/fieldErrorText.js.map +1 -1
  803. package/dist/react/components/filterChip.d.ts +1 -1
  804. package/dist/react/components/filterChip.d.ts.map +1 -1
  805. package/dist/react/components/filterChip.js +2 -2
  806. package/dist/react/components/filterChip.js.map +1 -1
  807. package/dist/react/components/layout.d.ts +1 -1
  808. package/dist/react/components/layout.d.ts.map +1 -1
  809. package/dist/react/components/layout.js +3 -3
  810. package/dist/react/components/layout.js.map +1 -1
  811. package/dist/react/components/sharing/RecipientAvatar.d.ts +1 -1
  812. package/dist/react/components/sharing/RecipientAvatar.d.ts.map +1 -1
  813. package/dist/react/components/sharing/RecipientAvatar.js +3 -3
  814. package/dist/react/components/sharing/RecipientAvatar.js.map +1 -1
  815. package/dist/react/components/sharing/RecipientPicker.d.ts +1 -1
  816. package/dist/react/components/sharing/RecipientPicker.d.ts.map +1 -1
  817. package/dist/react/components/sharing/RecipientPicker.js +2 -2
  818. package/dist/react/components/sharing/RecipientPicker.js.map +1 -1
  819. package/dist/react/components/sharing/ShareDialog.d.ts.map +1 -1
  820. package/dist/react/components/sharing/ShareDialog.js +10 -11
  821. package/dist/react/components/sharing/ShareDialog.js.map +1 -1
  822. package/dist/react/components/sharing/ShareEditor.d.ts +1 -1
  823. package/dist/react/components/sharing/ShareEditor.d.ts.map +1 -1
  824. package/dist/react/components/sharing/ShareEditor.js +4 -2
  825. package/dist/react/components/sharing/ShareEditor.js.map +1 -1
  826. package/dist/react/components/sharing/SharedWithUserDialog.d.ts +1 -1
  827. package/dist/react/components/sharing/SharedWithUserDialog.d.ts.map +1 -1
  828. package/dist/react/components/sharing/SharedWithUserDialog.js +2 -2
  829. package/dist/react/components/sharing/SharedWithUserDialog.js.map +1 -1
  830. package/dist/react/dashboard-grid/DashboardGrid.d.ts +1 -1
  831. package/dist/react/dashboard-grid/DashboardGrid.d.ts.map +1 -1
  832. package/dist/react/dashboard-grid/DashboardGrid.js +2 -2
  833. package/dist/react/dashboard-grid/DashboardGrid.js.map +1 -1
  834. package/dist/react/dashboard-grid/WidgetFrame.d.ts +1 -1
  835. package/dist/react/dashboard-grid/WidgetFrame.d.ts.map +1 -1
  836. package/dist/react/dashboard-grid/WidgetFrame.js +2 -2
  837. package/dist/react/dashboard-grid/WidgetFrame.js.map +1 -1
  838. package/dist/react/deep-link/links.d.ts +10 -1
  839. package/dist/react/deep-link/links.d.ts.map +1 -1
  840. package/dist/react/deep-link/links.js +2 -3
  841. package/dist/react/deep-link/links.js.map +1 -1
  842. package/dist/react/deep-link/useDeepLink.d.ts.map +1 -1
  843. package/dist/react/deep-link/useDeepLink.js +1 -0
  844. package/dist/react/deep-link/useDeepLink.js.map +1 -1
  845. package/dist/react/diff-viewer/DiffViewer.d.ts +1 -1
  846. package/dist/react/diff-viewer/DiffViewer.d.ts.map +1 -1
  847. package/dist/react/diff-viewer/DiffViewer.js +2 -2
  848. package/dist/react/diff-viewer/DiffViewer.js.map +1 -1
  849. package/dist/react/diff-viewer/TextComparePane.d.ts +1 -1
  850. package/dist/react/diff-viewer/TextComparePane.d.ts.map +1 -1
  851. package/dist/react/diff-viewer/TextComparePane.js +4 -4
  852. package/dist/react/diff-viewer/TextComparePane.js.map +1 -1
  853. package/dist/react/disk-usage/DiskUsageRulesEditor.d.ts +1 -1
  854. package/dist/react/disk-usage/DiskUsageRulesEditor.d.ts.map +1 -1
  855. package/dist/react/disk-usage/DiskUsageRulesEditor.js +2 -2
  856. package/dist/react/disk-usage/DiskUsageRulesEditor.js.map +1 -1
  857. package/dist/react/disk-usage/DiskUsageScanControls.d.ts +1 -1
  858. package/dist/react/disk-usage/DiskUsageScanControls.d.ts.map +1 -1
  859. package/dist/react/disk-usage/DiskUsageScanControls.js +2 -2
  860. package/dist/react/disk-usage/DiskUsageScanControls.js.map +1 -1
  861. package/dist/react/disk-usage/DiskUsageSummaryTiles.d.ts +1 -1
  862. package/dist/react/disk-usage/DiskUsageSummaryTiles.d.ts.map +1 -1
  863. package/dist/react/disk-usage/DiskUsageSummaryTiles.js +3 -3
  864. package/dist/react/disk-usage/DiskUsageSummaryTiles.js.map +1 -1
  865. package/dist/react/disk-usage/DiskUsageTree.d.ts +1 -1
  866. package/dist/react/disk-usage/DiskUsageTree.d.ts.map +1 -1
  867. package/dist/react/disk-usage/DiskUsageTree.js +2 -2
  868. package/dist/react/disk-usage/DiskUsageTree.js.map +1 -1
  869. package/dist/react/emoji/EmojiAutocomplete.d.ts +1 -1
  870. package/dist/react/emoji/EmojiAutocomplete.d.ts.map +1 -1
  871. package/dist/react/emoji/EmojiAutocomplete.js +2 -2
  872. package/dist/react/emoji/EmojiAutocomplete.js.map +1 -1
  873. package/dist/react/emoji/EmojiPicker.d.ts +1 -1
  874. package/dist/react/emoji/EmojiPicker.d.ts.map +1 -1
  875. package/dist/react/emoji/EmojiPicker.js +2 -2
  876. package/dist/react/emoji/EmojiPicker.js.map +1 -1
  877. package/dist/react/engagement/beacon.d.ts.map +1 -1
  878. package/dist/react/engagement/beacon.js +1 -0
  879. package/dist/react/engagement/beacon.js.map +1 -1
  880. package/dist/react/file-tree/FileTree.d.ts +1 -1
  881. package/dist/react/file-tree/FileTree.d.ts.map +1 -1
  882. package/dist/react/file-tree/FileTree.js +2 -2
  883. package/dist/react/file-tree/FileTree.js.map +1 -1
  884. package/dist/react/file-tree/FolderViewMenus.d.ts +3 -3
  885. package/dist/react/file-tree/FolderViewMenus.d.ts.map +1 -1
  886. package/dist/react/file-tree/FolderViewMenus.js +6 -6
  887. package/dist/react/file-tree/FolderViewMenus.js.map +1 -1
  888. package/dist/react/file-tree/FolderViewPanels.d.ts +3 -3
  889. package/dist/react/file-tree/FolderViewPanels.d.ts.map +1 -1
  890. package/dist/react/file-tree/FolderViewPanels.js +18 -11
  891. package/dist/react/file-tree/FolderViewPanels.js.map +1 -1
  892. package/dist/react/filter-rail/FilterRail.d.ts +15 -4
  893. package/dist/react/filter-rail/FilterRail.d.ts.map +1 -1
  894. package/dist/react/filter-rail/FilterRail.js +5 -5
  895. package/dist/react/filter-rail/FilterRail.js.map +1 -1
  896. package/dist/react/filter-rail/RailSection.d.ts +1 -1
  897. package/dist/react/filter-rail/RailSection.d.ts.map +1 -1
  898. package/dist/react/filter-rail/RailSection.js +3 -3
  899. package/dist/react/filter-rail/RailSection.js.map +1 -1
  900. package/dist/react/filter-rail/railResize.d.ts +1 -1
  901. package/dist/react/filter-rail/railResize.d.ts.map +1 -1
  902. package/dist/react/filter-rail/railResize.js +2 -2
  903. package/dist/react/filter-rail/railResize.js.map +1 -1
  904. package/dist/react/folder-tree/FolderActionsMenu.d.ts +1 -1
  905. package/dist/react/folder-tree/FolderActionsMenu.d.ts.map +1 -1
  906. package/dist/react/folder-tree/FolderActionsMenu.js +2 -2
  907. package/dist/react/folder-tree/FolderActionsMenu.js.map +1 -1
  908. package/dist/react/folder-tree/FolderBreadcrumb.d.ts +1 -1
  909. package/dist/react/folder-tree/FolderBreadcrumb.d.ts.map +1 -1
  910. package/dist/react/folder-tree/FolderBreadcrumb.js +3 -3
  911. package/dist/react/folder-tree/FolderBreadcrumb.js.map +1 -1
  912. package/dist/react/folder-tree/FolderPicker.d.ts +1 -1
  913. package/dist/react/folder-tree/FolderPicker.d.ts.map +1 -1
  914. package/dist/react/folder-tree/FolderPicker.js +2 -2
  915. package/dist/react/folder-tree/FolderPicker.js.map +1 -1
  916. package/dist/react/folder-tree/FolderTreeRail.d.ts +1 -1
  917. package/dist/react/folder-tree/FolderTreeRail.d.ts.map +1 -1
  918. package/dist/react/folder-tree/FolderTreeRail.js +2 -2
  919. package/dist/react/folder-tree/FolderTreeRail.js.map +1 -1
  920. package/dist/react/folder-tree/NewFolderControl.d.ts +1 -1
  921. package/dist/react/folder-tree/NewFolderControl.d.ts.map +1 -1
  922. package/dist/react/folder-tree/NewFolderControl.js +3 -3
  923. package/dist/react/folder-tree/NewFolderControl.js.map +1 -1
  924. package/dist/react/hooks/DragHandleIcon.d.ts +1 -1
  925. package/dist/react/hooks/DragHandleIcon.d.ts.map +1 -1
  926. package/dist/react/hooks/DragHandleIcon.js +2 -2
  927. package/dist/react/hooks/DragHandleIcon.js.map +1 -1
  928. package/dist/react/hooks/usePaletteDrag.d.ts.map +1 -1
  929. package/dist/react/hooks/usePaletteDrag.js +1 -0
  930. package/dist/react/hooks/usePaletteDrag.js.map +1 -1
  931. package/dist/react/icons.d.ts +1 -1
  932. package/dist/react/icons.d.ts.map +1 -1
  933. package/dist/react/icons.js +3 -3
  934. package/dist/react/icons.js.map +1 -1
  935. package/dist/react/index.d.ts +1 -0
  936. package/dist/react/index.d.ts.map +1 -1
  937. package/dist/react/index.js +1 -0
  938. package/dist/react/index.js.map +1 -1
  939. package/dist/react/keep-awake/KeepAwake.d.ts.map +1 -1
  940. package/dist/react/keep-awake/KeepAwake.js +1 -0
  941. package/dist/react/keep-awake/KeepAwake.js.map +1 -1
  942. package/dist/react/layout/CCResizeBoundary.d.ts +1 -1
  943. package/dist/react/layout/CCResizeBoundary.d.ts.map +1 -1
  944. package/dist/react/layout/CCResizeBoundary.js +2 -2
  945. package/dist/react/layout/CCResizeBoundary.js.map +1 -1
  946. package/dist/react/layoutEngine/LayoutCanvas.d.ts +1 -1
  947. package/dist/react/layoutEngine/LayoutCanvas.d.ts.map +1 -1
  948. package/dist/react/layoutEngine/LayoutCanvas.js +5 -5
  949. package/dist/react/layoutEngine/LayoutCanvas.js.map +1 -1
  950. package/dist/react/layoutEngine/LayoutConfigDialog.d.ts +1 -1
  951. package/dist/react/layoutEngine/LayoutConfigDialog.d.ts.map +1 -1
  952. package/dist/react/layoutEngine/LayoutConfigDialog.js +2 -2
  953. package/dist/react/layoutEngine/LayoutConfigDialog.js.map +1 -1
  954. package/dist/react/layoutEngine/LayoutRenderer.d.ts +1 -1
  955. package/dist/react/layoutEngine/LayoutRenderer.d.ts.map +1 -1
  956. package/dist/react/layoutEngine/LayoutRenderer.js +2 -2
  957. package/dist/react/layoutEngine/LayoutRenderer.js.map +1 -1
  958. package/dist/react/layoutEngine/NodeInspector.d.ts +1 -1
  959. package/dist/react/layoutEngine/NodeInspector.d.ts.map +1 -1
  960. package/dist/react/layoutEngine/NodeInspector.js +2 -2
  961. package/dist/react/layoutEngine/NodeInspector.js.map +1 -1
  962. package/dist/react/layoutEngine/SuggestPanel.d.ts +1 -1
  963. package/dist/react/layoutEngine/SuggestPanel.d.ts.map +1 -1
  964. package/dist/react/layoutEngine/SuggestPanel.js +2 -2
  965. package/dist/react/layoutEngine/SuggestPanel.js.map +1 -1
  966. package/dist/react/lib/daypicker.js.map +1 -1
  967. package/dist/react/look/AppearanceFields.d.ts +1 -1
  968. package/dist/react/look/AppearanceFields.d.ts.map +1 -1
  969. package/dist/react/look/AppearanceFields.js +2 -2
  970. package/dist/react/look/AppearanceFields.js.map +1 -1
  971. package/dist/react/look/AppearancePanel.d.ts +1 -1
  972. package/dist/react/look/AppearancePanel.d.ts.map +1 -1
  973. package/dist/react/look/AppearancePanel.js +2 -2
  974. package/dist/react/look/AppearancePanel.js.map +1 -1
  975. package/dist/react/look/AppearanceSheet.d.ts +1 -1
  976. package/dist/react/look/AppearanceSheet.d.ts.map +1 -1
  977. package/dist/react/look/AppearanceSheet.js +2 -2
  978. package/dist/react/look/AppearanceSheet.js.map +1 -1
  979. package/dist/react/look/AppearanceSheetPanel.d.ts +1 -1
  980. package/dist/react/look/AppearanceSheetPanel.d.ts.map +1 -1
  981. package/dist/react/look/AppearanceSheetPanel.js +2 -2
  982. package/dist/react/look/AppearanceSheetPanel.js.map +1 -1
  983. package/dist/react/look/LookPicker.d.ts +1 -1
  984. package/dist/react/look/LookPicker.d.ts.map +1 -1
  985. package/dist/react/look/LookPicker.js +2 -2
  986. package/dist/react/look/LookPicker.js.map +1 -1
  987. package/dist/react/markdown/Markdown.d.ts +1 -1
  988. package/dist/react/markdown/Markdown.d.ts.map +1 -1
  989. package/dist/react/markdown/Markdown.js +2 -2
  990. package/dist/react/markdown/Markdown.js.map +1 -1
  991. package/dist/react/markdown/MarkdownDoc.d.ts +1 -1
  992. package/dist/react/markdown/MarkdownDoc.d.ts.map +1 -1
  993. package/dist/react/markdown/MarkdownDoc.js +2 -2
  994. package/dist/react/markdown/MarkdownDoc.js.map +1 -1
  995. package/dist/react/master-detail/DetailPane.d.ts +4 -4
  996. package/dist/react/master-detail/DetailPane.d.ts.map +1 -1
  997. package/dist/react/master-detail/DetailPane.js +8 -8
  998. package/dist/react/master-detail/DetailPane.js.map +1 -1
  999. package/dist/react/master-detail/MasterDetail.d.ts +13 -1
  1000. package/dist/react/master-detail/MasterDetail.d.ts.map +1 -1
  1001. package/dist/react/master-detail/MasterDetail.js +5 -5
  1002. package/dist/react/master-detail/MasterDetail.js.map +1 -1
  1003. package/dist/react/master-lock/MasterLockDialog.d.ts +1 -1
  1004. package/dist/react/master-lock/MasterLockDialog.d.ts.map +1 -1
  1005. package/dist/react/master-lock/MasterLockDialog.js +2 -2
  1006. package/dist/react/master-lock/MasterLockDialog.js.map +1 -1
  1007. package/dist/react/master-lock/MasterLockProvider.d.ts +1 -1
  1008. package/dist/react/master-lock/MasterLockProvider.d.ts.map +1 -1
  1009. package/dist/react/master-lock/MasterLockProvider.js +3 -2
  1010. package/dist/react/master-lock/MasterLockProvider.js.map +1 -1
  1011. package/dist/react/media/AutoMaskControls.d.ts +1 -1
  1012. package/dist/react/media/AutoMaskControls.d.ts.map +1 -1
  1013. package/dist/react/media/AutoMaskControls.js +2 -2
  1014. package/dist/react/media/AutoMaskControls.js.map +1 -1
  1015. package/dist/react/media/BrushSizeSlider.d.ts +1 -1
  1016. package/dist/react/media/BrushSizeSlider.d.ts.map +1 -1
  1017. package/dist/react/media/BrushSizeSlider.js +2 -2
  1018. package/dist/react/media/BrushSizeSlider.js.map +1 -1
  1019. package/dist/react/media/CanvasVideoPlayer.d.ts +1 -1
  1020. package/dist/react/media/CanvasVideoPlayer.d.ts.map +1 -1
  1021. package/dist/react/media/CanvasVideoPlayer.js +2 -2
  1022. package/dist/react/media/CanvasVideoPlayer.js.map +1 -1
  1023. package/dist/react/media/DenseGalleryShell.d.ts +2 -2
  1024. package/dist/react/media/DenseGalleryShell.d.ts.map +1 -1
  1025. package/dist/react/media/DenseGalleryShell.js +4 -4
  1026. package/dist/react/media/DenseGalleryShell.js.map +1 -1
  1027. package/dist/react/media/FocusViewer.d.ts +1 -1
  1028. package/dist/react/media/FocusViewer.d.ts.map +1 -1
  1029. package/dist/react/media/FocusViewer.js +2 -2
  1030. package/dist/react/media/FocusViewer.js.map +1 -1
  1031. package/dist/react/media/FrameGrabber.d.ts +1 -1
  1032. package/dist/react/media/FrameGrabber.d.ts.map +1 -1
  1033. package/dist/react/media/FrameGrabber.js +2 -2
  1034. package/dist/react/media/FrameGrabber.js.map +1 -1
  1035. package/dist/react/media/HoverScrubVideoThumb.d.ts +1 -1
  1036. package/dist/react/media/HoverScrubVideoThumb.d.ts.map +1 -1
  1037. package/dist/react/media/HoverScrubVideoThumb.js +3 -3
  1038. package/dist/react/media/HoverScrubVideoThumb.js.map +1 -1
  1039. package/dist/react/media/ImageEditor.d.ts +1 -1
  1040. package/dist/react/media/ImageEditor.d.ts.map +1 -1
  1041. package/dist/react/media/ImageEditor.js +3 -3
  1042. package/dist/react/media/ImageEditor.js.map +1 -1
  1043. package/dist/react/media/MaskPainter.d.ts +1 -1
  1044. package/dist/react/media/MaskPainter.d.ts.map +1 -1
  1045. package/dist/react/media/MaskPainter.js +2 -2
  1046. package/dist/react/media/MaskPainter.js.map +1 -1
  1047. package/dist/react/media/MediaCatalogueViewer.d.ts +1 -1
  1048. package/dist/react/media/MediaCatalogueViewer.d.ts.map +1 -1
  1049. package/dist/react/media/MediaCatalogueViewer.js +2 -2
  1050. package/dist/react/media/MediaCatalogueViewer.js.map +1 -1
  1051. package/dist/react/media/MediaCell.d.ts +1 -1
  1052. package/dist/react/media/MediaCell.d.ts.map +1 -1
  1053. package/dist/react/media/MediaCell.js +2 -2
  1054. package/dist/react/media/MediaCell.js.map +1 -1
  1055. package/dist/react/media/MediaLightbox.d.ts +1 -1
  1056. package/dist/react/media/MediaLightbox.d.ts.map +1 -1
  1057. package/dist/react/media/MediaLightbox.js +2 -2
  1058. package/dist/react/media/MediaLightbox.js.map +1 -1
  1059. package/dist/react/media/MediaResize.d.ts +2 -2
  1060. package/dist/react/media/MediaResize.d.ts.map +1 -1
  1061. package/dist/react/media/MediaResize.js +4 -4
  1062. package/dist/react/media/MediaResize.js.map +1 -1
  1063. package/dist/react/media/MediaThumb.d.ts +1 -1
  1064. package/dist/react/media/MediaThumb.d.ts.map +1 -1
  1065. package/dist/react/media/MediaThumb.js +3 -3
  1066. package/dist/react/media/MediaThumb.js.map +1 -1
  1067. package/dist/react/media/MediaUploadControl.d.ts +1 -1
  1068. package/dist/react/media/MediaUploadControl.d.ts.map +1 -1
  1069. package/dist/react/media/MediaUploadControl.js +2 -2
  1070. package/dist/react/media/MediaUploadControl.js.map +1 -1
  1071. package/dist/react/media/PictureControls.d.ts +1 -1
  1072. package/dist/react/media/PictureControls.d.ts.map +1 -1
  1073. package/dist/react/media/PictureControls.js +2 -2
  1074. package/dist/react/media/PictureControls.js.map +1 -1
  1075. package/dist/react/media/PictureEditor.d.ts +1 -1
  1076. package/dist/react/media/PictureEditor.d.ts.map +1 -1
  1077. package/dist/react/media/PictureEditor.js +2 -2
  1078. package/dist/react/media/PictureEditor.js.map +1 -1
  1079. package/dist/react/media/PlayerStrip.d.ts +1 -1
  1080. package/dist/react/media/PlayerStrip.d.ts.map +1 -1
  1081. package/dist/react/media/PlayerStrip.js +3 -3
  1082. package/dist/react/media/PlayerStrip.js.map +1 -1
  1083. package/dist/react/media/TrimRangeSlider.d.ts +1 -1
  1084. package/dist/react/media/TrimRangeSlider.d.ts.map +1 -1
  1085. package/dist/react/media/TrimRangeSlider.js +2 -2
  1086. package/dist/react/media/TrimRangeSlider.js.map +1 -1
  1087. package/dist/react/media/VideoChapterEditor.d.ts +1 -1
  1088. package/dist/react/media/VideoChapterEditor.d.ts.map +1 -1
  1089. package/dist/react/media/VideoChapterEditor.js +2 -2
  1090. package/dist/react/media/VideoChapterEditor.js.map +1 -1
  1091. package/dist/react/media/VideoCutEditor.d.ts +1 -1
  1092. package/dist/react/media/VideoCutEditor.d.ts.map +1 -1
  1093. package/dist/react/media/VideoCutEditor.js +2 -2
  1094. package/dist/react/media/VideoCutEditor.js.map +1 -1
  1095. package/dist/react/media/VideoPlayer.d.ts +2 -2
  1096. package/dist/react/media/VideoPlayer.d.ts.map +1 -1
  1097. package/dist/react/media/VideoPlayer.js +4 -4
  1098. package/dist/react/media/VideoPlayer.js.map +1 -1
  1099. package/dist/react/media/VideoSlideContent.d.ts +1 -1
  1100. package/dist/react/media/VideoSlideContent.d.ts.map +1 -1
  1101. package/dist/react/media/VideoSlideContent.js +2 -2
  1102. package/dist/react/media/VideoSlideContent.js.map +1 -1
  1103. package/dist/react/media/VideoTrimmer.d.ts +1 -1
  1104. package/dist/react/media/VideoTrimmer.d.ts.map +1 -1
  1105. package/dist/react/media/VideoTrimmer.js +2 -2
  1106. package/dist/react/media/VideoTrimmer.js.map +1 -1
  1107. package/dist/react/media/VideoTurner.d.ts +1 -1
  1108. package/dist/react/media/VideoTurner.d.ts.map +1 -1
  1109. package/dist/react/media/VideoTurner.js +2 -2
  1110. package/dist/react/media/VideoTurner.js.map +1 -1
  1111. package/dist/react/media/VirtualizedRows.d.ts +1 -1
  1112. package/dist/react/media/VirtualizedRows.d.ts.map +1 -1
  1113. package/dist/react/media/VirtualizedRows.js +2 -2
  1114. package/dist/react/media/VirtualizedRows.js.map +1 -1
  1115. package/dist/react/media/WaveformStrip.d.ts +1 -1
  1116. package/dist/react/media/WaveformStrip.d.ts.map +1 -1
  1117. package/dist/react/media/WaveformStrip.js +2 -2
  1118. package/dist/react/media/WaveformStrip.js.map +1 -1
  1119. package/dist/react/media/sourceFault.d.ts +1 -1
  1120. package/dist/react/media/sourceFault.d.ts.map +1 -1
  1121. package/dist/react/media/sourceFault.js +2 -2
  1122. package/dist/react/media/sourceFault.js.map +1 -1
  1123. package/dist/react/media-gallery/GalleryTable.d.ts +1 -1
  1124. package/dist/react/media-gallery/GalleryTable.d.ts.map +1 -1
  1125. package/dist/react/media-gallery/GalleryTable.js +2 -2
  1126. package/dist/react/media-gallery/GalleryTable.js.map +1 -1
  1127. package/dist/react/media-gallery/MediaGallery.d.ts +1 -1
  1128. package/dist/react/media-gallery/MediaGallery.d.ts.map +1 -1
  1129. package/dist/react/media-gallery/MediaGallery.js +3 -3
  1130. package/dist/react/media-gallery/MediaGallery.js.map +1 -1
  1131. package/dist/react/media-gallery/MediaMetaEditor.d.ts +1 -1
  1132. package/dist/react/media-gallery/MediaMetaEditor.d.ts.map +1 -1
  1133. package/dist/react/media-gallery/MediaMetaEditor.js +2 -2
  1134. package/dist/react/media-gallery/MediaMetaEditor.js.map +1 -1
  1135. package/dist/react/media-gallery/galleryItemMedia.d.ts +1 -1
  1136. package/dist/react/media-gallery/galleryItemMedia.d.ts.map +1 -1
  1137. package/dist/react/media-gallery/galleryItemMedia.js +2 -2
  1138. package/dist/react/media-gallery/galleryItemMedia.js.map +1 -1
  1139. package/dist/react/namespace/NamespaceTargetCapsule.d.ts +1 -1
  1140. package/dist/react/namespace/NamespaceTargetCapsule.d.ts.map +1 -1
  1141. package/dist/react/namespace/NamespaceTargetCapsule.js +2 -2
  1142. package/dist/react/namespace/NamespaceTargetCapsule.js.map +1 -1
  1143. package/dist/react/nav/BreadcrumbMenus.d.ts +2 -2
  1144. package/dist/react/nav/BreadcrumbMenus.d.ts.map +1 -1
  1145. package/dist/react/nav/BreadcrumbMenus.js +6 -4
  1146. package/dist/react/nav/BreadcrumbMenus.js.map +1 -1
  1147. package/dist/react/nav/BreadcrumbPivot.d.ts +1 -1
  1148. package/dist/react/nav/BreadcrumbPivot.d.ts.map +1 -1
  1149. package/dist/react/nav/BreadcrumbPivot.js +2 -2
  1150. package/dist/react/nav/BreadcrumbPivot.js.map +1 -1
  1151. package/dist/react/nav/BreadcrumbProvider.d.ts.map +1 -1
  1152. package/dist/react/nav/BreadcrumbProvider.js +2 -0
  1153. package/dist/react/nav/BreadcrumbProvider.js.map +1 -1
  1154. package/dist/react/nav/BreadcrumbTrail.d.ts +1 -1
  1155. package/dist/react/nav/BreadcrumbTrail.d.ts.map +1 -1
  1156. package/dist/react/nav/BreadcrumbTrail.js +5 -3
  1157. package/dist/react/nav/BreadcrumbTrail.js.map +1 -1
  1158. package/dist/react/nav/Breadcrumbs.d.ts +3 -3
  1159. package/dist/react/nav/Breadcrumbs.d.ts.map +1 -1
  1160. package/dist/react/nav/Breadcrumbs.js +6 -6
  1161. package/dist/react/nav/Breadcrumbs.js.map +1 -1
  1162. package/dist/react/nav/ColorSwatchGrid.d.ts +1 -1
  1163. package/dist/react/nav/ColorSwatchGrid.d.ts.map +1 -1
  1164. package/dist/react/nav/ColorSwatchGrid.js +2 -2
  1165. package/dist/react/nav/ColorSwatchGrid.js.map +1 -1
  1166. package/dist/react/nav/CommandBar.d.ts +1 -1
  1167. package/dist/react/nav/CommandBar.d.ts.map +1 -1
  1168. package/dist/react/nav/CommandBar.js +2 -2
  1169. package/dist/react/nav/CommandBar.js.map +1 -1
  1170. package/dist/react/nav/HeaderSearch.d.ts +1 -1
  1171. package/dist/react/nav/HeaderSearch.d.ts.map +1 -1
  1172. package/dist/react/nav/HeaderSearch.js +2 -2
  1173. package/dist/react/nav/HeaderSearch.js.map +1 -1
  1174. package/dist/react/nav/HubTileGrid.d.ts +1 -1
  1175. package/dist/react/nav/HubTileGrid.d.ts.map +1 -1
  1176. package/dist/react/nav/HubTileGrid.js +2 -2
  1177. package/dist/react/nav/HubTileGrid.js.map +1 -1
  1178. package/dist/react/nav/NavColorPicker.d.ts +1 -1
  1179. package/dist/react/nav/NavColorPicker.d.ts.map +1 -1
  1180. package/dist/react/nav/NavColorPicker.js +2 -2
  1181. package/dist/react/nav/NavColorPicker.js.map +1 -1
  1182. package/dist/react/nav/NavItemMenu.d.ts +1 -1
  1183. package/dist/react/nav/NavItemMenu.d.ts.map +1 -1
  1184. package/dist/react/nav/NavItemMenu.js +2 -2
  1185. package/dist/react/nav/NavItemMenu.js.map +1 -1
  1186. package/dist/react/nav/PlaceBar.d.ts +4 -4
  1187. package/dist/react/nav/PlaceBar.d.ts.map +1 -1
  1188. package/dist/react/nav/PlaceBar.js +14 -9
  1189. package/dist/react/nav/PlaceBar.js.map +1 -1
  1190. package/dist/react/nav/RailPlaces.d.ts +48 -0
  1191. package/dist/react/nav/RailPlaces.d.ts.map +1 -0
  1192. package/dist/react/nav/RailPlaces.js +51 -0
  1193. package/dist/react/nav/RailPlaces.js.map +1 -0
  1194. package/dist/react/nav/SearchResults.d.ts +1 -1
  1195. package/dist/react/nav/SearchResults.d.ts.map +1 -1
  1196. package/dist/react/nav/SearchResults.js +3 -3
  1197. package/dist/react/nav/SearchResults.js.map +1 -1
  1198. package/dist/react/nav/SideNav.d.ts +4 -4
  1199. package/dist/react/nav/SideNav.d.ts.map +1 -1
  1200. package/dist/react/nav/SideNav.js +5 -4
  1201. package/dist/react/nav/SideNav.js.map +1 -1
  1202. package/dist/react/nav/SideNavCustomize.d.ts +3 -3
  1203. package/dist/react/nav/SideNavCustomize.d.ts.map +1 -1
  1204. package/dist/react/nav/SideNavCustomize.js +6 -6
  1205. package/dist/react/nav/SideNavCustomize.js.map +1 -1
  1206. package/dist/react/nav/TopBar.d.ts +7 -2
  1207. package/dist/react/nav/TopBar.d.ts.map +1 -1
  1208. package/dist/react/nav/TopBar.js +9 -4
  1209. package/dist/react/nav/TopBar.js.map +1 -1
  1210. package/dist/react/nav/index.d.ts +2 -1
  1211. package/dist/react/nav/index.d.ts.map +1 -1
  1212. package/dist/react/nav/index.js +2 -1
  1213. package/dist/react/nav/index.js.map +1 -1
  1214. package/dist/react/nav/navShared.d.ts +17 -1
  1215. package/dist/react/nav/navShared.d.ts.map +1 -1
  1216. package/dist/react/nav/navShared.js +13 -4
  1217. package/dist/react/nav/navShared.js.map +1 -1
  1218. package/dist/react/notifications/NotificationBell.d.ts +1 -1
  1219. package/dist/react/notifications/NotificationBell.d.ts.map +1 -1
  1220. package/dist/react/notifications/NotificationBell.js +2 -2
  1221. package/dist/react/notifications/NotificationBell.js.map +1 -1
  1222. package/dist/react/notifications/NotificationFeed.d.ts +1 -1
  1223. package/dist/react/notifications/NotificationFeed.d.ts.map +1 -1
  1224. package/dist/react/notifications/NotificationFeed.js +2 -2
  1225. package/dist/react/notifications/NotificationFeed.js.map +1 -1
  1226. package/dist/react/notifications/NotificationInbox.d.ts +1 -1
  1227. package/dist/react/notifications/NotificationInbox.d.ts.map +1 -1
  1228. package/dist/react/notifications/NotificationInbox.js +2 -2
  1229. package/dist/react/notifications/NotificationInbox.js.map +1 -1
  1230. package/dist/react/palette/CommandPalette.d.ts +1 -1
  1231. package/dist/react/palette/CommandPalette.d.ts.map +1 -1
  1232. package/dist/react/palette/CommandPalette.js +2 -2
  1233. package/dist/react/palette/CommandPalette.js.map +1 -1
  1234. package/dist/react/palette/Kbd.d.ts +1 -1
  1235. package/dist/react/palette/Kbd.d.ts.map +1 -1
  1236. package/dist/react/palette/Kbd.js +3 -3
  1237. package/dist/react/palette/Kbd.js.map +1 -1
  1238. package/dist/react/palette/ShortcutSheet.d.ts +1 -1
  1239. package/dist/react/palette/ShortcutSheet.d.ts.map +1 -1
  1240. package/dist/react/palette/ShortcutSheet.js +2 -2
  1241. package/dist/react/palette/ShortcutSheet.js.map +1 -1
  1242. package/dist/react/palette/commandSources.d.ts.map +1 -1
  1243. package/dist/react/palette/commandSources.js +1 -0
  1244. package/dist/react/palette/commandSources.js.map +1 -1
  1245. package/dist/react/pdf-viewer/PdfPage.d.ts +1 -1
  1246. package/dist/react/pdf-viewer/PdfPage.d.ts.map +1 -1
  1247. package/dist/react/pdf-viewer/PdfPage.js +2 -2
  1248. package/dist/react/pdf-viewer/PdfPage.js.map +1 -1
  1249. package/dist/react/pdf-viewer/PdfViewer.d.ts +1 -1
  1250. package/dist/react/pdf-viewer/PdfViewer.d.ts.map +1 -1
  1251. package/dist/react/pdf-viewer/PdfViewer.js +5 -5
  1252. package/dist/react/pdf-viewer/PdfViewer.js.map +1 -1
  1253. package/dist/react/portal/CCPortalProvider.d.ts.map +1 -1
  1254. package/dist/react/portal/CCPortalProvider.js +1 -0
  1255. package/dist/react/portal/CCPortalProvider.js.map +1 -1
  1256. package/dist/react/problem-detail/ProblemDetailView.d.ts +1 -1
  1257. package/dist/react/problem-detail/ProblemDetailView.d.ts.map +1 -1
  1258. package/dist/react/problem-detail/ProblemDetailView.js +2 -2
  1259. package/dist/react/problem-detail/ProblemDetailView.js.map +1 -1
  1260. package/dist/react/rich-text/RichTextEditor.d.ts.map +1 -1
  1261. package/dist/react/rich-text/RichTextEditor.js +2 -2
  1262. package/dist/react/rich-text/RichTextEditor.js.map +1 -1
  1263. package/dist/react/rich-text/RichTextToolbar.d.ts +1 -1
  1264. package/dist/react/rich-text/RichTextToolbar.d.ts.map +1 -1
  1265. package/dist/react/rich-text/RichTextToolbar.js +2 -2
  1266. package/dist/react/rich-text/RichTextToolbar.js.map +1 -1
  1267. package/dist/react/sharing/SharePanel.d.ts +1 -1
  1268. package/dist/react/sharing/SharePanel.d.ts.map +1 -1
  1269. package/dist/react/sharing/SharePanel.js +2 -2
  1270. package/dist/react/sharing/SharePanel.js.map +1 -1
  1271. package/dist/react/slots/Slot.d.ts.map +1 -1
  1272. package/dist/react/slots/Slot.js +1 -0
  1273. package/dist/react/slots/Slot.js.map +1 -1
  1274. package/dist/react/spreadsheet/SpreadsheetGrid.d.ts +1 -1
  1275. package/dist/react/spreadsheet/SpreadsheetGrid.d.ts.map +1 -1
  1276. package/dist/react/spreadsheet/SpreadsheetGrid.js +2 -2
  1277. package/dist/react/spreadsheet/SpreadsheetGrid.js.map +1 -1
  1278. package/dist/react/testReport/TestReportViewer.d.ts +1 -1
  1279. package/dist/react/testReport/TestReportViewer.d.ts.map +1 -1
  1280. package/dist/react/testReport/TestReportViewer.js +5 -5
  1281. package/dist/react/testReport/TestReportViewer.js.map +1 -1
  1282. package/dist/react/uiScale/UiScaleControl.d.ts +1 -1
  1283. package/dist/react/uiScale/UiScaleControl.d.ts.map +1 -1
  1284. package/dist/react/uiScale/UiScaleControl.js +2 -2
  1285. package/dist/react/uiScale/UiScaleControl.js.map +1 -1
  1286. package/dist/react/workbook-viewer/WorkbookViewer.d.ts +1 -1
  1287. package/dist/react/workbook-viewer/WorkbookViewer.d.ts.map +1 -1
  1288. package/dist/react/workbook-viewer/WorkbookViewer.js +5 -5
  1289. package/dist/react/workbook-viewer/WorkbookViewer.js.map +1 -1
  1290. package/dist/scripts/guardrailsEnforce.d.ts.map +1 -1
  1291. package/dist/styles-areas/analytics.css +9 -9
  1292. package/dist/styles-areas/canvas-hud.css +3 -2
  1293. package/dist/styles-areas/core.css +13 -13
  1294. package/dist/styles-areas/data-table.css +9 -9
  1295. package/dist/styles-areas/filter-rail.css +2 -2
  1296. package/dist/styles-areas/nav.css +7 -7
  1297. package/dist/styles-areas/stats.css +20 -13
  1298. package/dist/styles-utilities.css +21 -0
  1299. package/dist/testing/designAudit.d.ts +1 -1
  1300. package/dist/testing/designAudit.d.ts.map +1 -1
  1301. package/dist/testing/designAudit.js +29 -0
  1302. package/dist/testing/designAudit.js.map +1 -1
  1303. package/dist/theme.css +3 -0
  1304. package/package.json +4 -1
  1305. package/scripts/attributesForwarded.spec.ts +45 -0
  1306. package/scripts/attributesForwarded.ts +172 -0
  1307. package/scripts/guardrailsEnforce.spec.ts +28 -0
  1308. package/scripts/guardrailsEnforce.ts +40 -0
  1309. package/scripts/styleAreas.ts +1 -0
  1310. package/src/react/AuthGate.tsx +1 -0
  1311. package/src/react/activity-bar/ActivityBar.tsx +2 -0
  1312. package/src/react/analytics/MetricDrilldown.tsx +2 -0
  1313. package/src/react/analytics/RangeTabs.tsx +2 -1
  1314. package/src/react/canvas-hud/AlignmentGuides.tsx +95 -0
  1315. package/src/react/canvas-hud/CanvasMinimap.tsx +2 -0
  1316. package/src/react/canvas-hud/CanvasNodeMenu.tsx +2 -0
  1317. package/src/react/canvas-hud/CanvasSearchField.tsx +2 -1
  1318. package/src/react/canvas-hud/HudControls.tsx +6 -2
  1319. package/src/react/canvas-hud/alignment.spec.tsx +149 -0
  1320. package/src/react/canvas-hud/alignment.ts +143 -0
  1321. package/src/react/canvas-hud/index.ts +6 -1
  1322. package/src/react/charts/AreaChart.tsx +2 -1
  1323. package/src/react/charts/BarChart.tsx +21 -3
  1324. package/src/react/charts/ChartCard.tsx +2 -1
  1325. package/src/react/charts/ChartFrame.tsx +2 -1
  1326. package/src/react/charts/ChartLegend.tsx +2 -1
  1327. package/src/react/charts/ChartTooltip.tsx +2 -0
  1328. package/src/react/charts/HeatmapChart.tsx +2 -1
  1329. package/src/react/charts/IntervalTimeline.tsx +3 -1
  1330. package/src/react/charts/LineChart.tsx +2 -1
  1331. package/src/react/charts/PieChart.tsx +2 -1
  1332. package/src/react/charts/RadialBarChart.tsx +2 -1
  1333. package/src/react/charts/Sparkline.tsx +2 -0
  1334. package/src/react/charts/TimeSeriesChart.tsx +3 -2
  1335. package/src/react/charts/Treemap.tsx +2 -1
  1336. package/src/react/chat/Bubble.tsx +3 -0
  1337. package/src/react/chat/DateMarker.tsx +2 -1
  1338. package/src/react/chat/MessageComposer.tsx +2 -0
  1339. package/src/react/chat/MessageRow.tsx +3 -0
  1340. package/src/react/chat/MessageScroller.tsx +2 -1
  1341. package/src/react/chat/MessageThread.tsx +2 -1
  1342. package/src/react/chat/PresenceRoster.tsx +2 -2
  1343. package/src/react/chat/StatusMarker.tsx +2 -1
  1344. package/src/react/code-editor/CodeEditor.tsx +2 -0
  1345. package/src/react/companion-link/CompanionLinkBar.tsx +13 -3
  1346. package/src/react/companion-link/CompanionLinkStatus.tsx +3 -3
  1347. package/src/react/companion-link/StaleMirrorBanner.tsx +2 -2
  1348. package/src/react/components/Accordion.tsx +2 -1
  1349. package/src/react/components/ActionBar.tsx +10 -7
  1350. package/src/react/components/ActionGroup.tsx +2 -0
  1351. package/src/react/components/ActionsHelp.tsx +2 -2
  1352. package/src/react/components/AddItemsMenu.tsx +2 -0
  1353. package/src/react/components/Alert.spec.tsx +11 -0
  1354. package/src/react/components/Alert.tsx +2 -0
  1355. package/src/react/components/AmbientBackdrop.tsx +2 -0
  1356. package/src/react/components/AppShell.spec.tsx +30 -0
  1357. package/src/react/components/AppShell.tsx +46 -6
  1358. package/src/react/components/AsyncPanel.tsx +5 -3
  1359. package/src/react/components/Autocomplete.tsx +18 -2
  1360. package/src/react/components/Avatar.tsx +3 -2
  1361. package/src/react/components/AvatarStack.tsx +2 -2
  1362. package/src/react/components/BannerLane.tsx +2 -1
  1363. package/src/react/components/BuildFreshness.tsx +8 -5
  1364. package/src/react/components/ButtonLink.tsx +2 -0
  1365. package/src/react/components/CardDisplayControls.spec.tsx +9 -0
  1366. package/src/react/components/CardDisplayControls.tsx +9 -2
  1367. package/src/react/components/ChartTablePanel.tsx +2 -0
  1368. package/src/react/components/ChipFilterStrip.tsx +2 -1
  1369. package/src/react/components/ChoiceGroup.tsx +2 -1
  1370. package/src/react/components/ChoiceMenu.tsx +2 -0
  1371. package/src/react/components/CodeArea.tsx +2 -0
  1372. package/src/react/components/CodeFieldInput.tsx +2 -1
  1373. package/src/react/components/Collapsible.tsx +2 -0
  1374. package/src/react/components/ColorField.tsx +2 -0
  1375. package/src/react/components/ColorSwatches.tsx +2 -1
  1376. package/src/react/components/ComboboxField.tsx +7 -0
  1377. package/src/react/components/CommentThread.tsx +2 -1
  1378. package/src/react/components/ConfirmDialog.tsx +2 -0
  1379. package/src/react/components/ConnectionHealer.tsx +8 -3
  1380. package/src/react/components/ControlPanel.tsx +5 -4
  1381. package/src/react/components/CopyButton.tsx +2 -0
  1382. package/src/react/components/CopyableText.tsx +3 -1
  1383. package/src/react/components/DataTable/CardView.tsx +2 -1
  1384. package/src/react/components/DataTable/ColumnChecklist.tsx +2 -1
  1385. package/src/react/components/DataTable/DataTable.tsx +2 -1
  1386. package/src/react/components/DataTable/Pagination.tsx +2 -2
  1387. package/src/react/components/DataTable/RowActions.tsx +2 -0
  1388. package/src/react/components/DataTable/SearchBox.tsx +15 -17
  1389. package/src/react/components/DataTable/SortHeader.tsx +7 -4
  1390. package/src/react/components/DataTable/SortStack.tsx +2 -0
  1391. package/src/react/components/DataTable/TableFilterBuilder.tsx +2 -0
  1392. package/src/react/components/DataTable/TableViewToggle.tsx +2 -1
  1393. package/src/react/components/DataTable/Toolbar.tsx +2 -1
  1394. package/src/react/components/DataTable/ViewOptionsMenu.tsx +2 -1
  1395. package/src/react/components/DataTable/cells/CellRenderer.tsx +6 -2
  1396. package/src/react/components/DataTable/cells/CodeCell.tsx +2 -1
  1397. package/src/react/components/DataTable/cells/LinkCell.tsx +2 -1
  1398. package/src/react/components/DataTable/cells/PasswordCell.tsx +2 -2
  1399. package/src/react/components/DatePicker.tsx +2 -0
  1400. package/src/react/components/DateRangePicker.tsx +2 -0
  1401. package/src/react/components/DateTimeField.tsx +2 -1
  1402. package/src/react/components/DiscardConfirmDialog.tsx +2 -0
  1403. package/src/react/components/DisclosureButton.tsx +4 -1
  1404. package/src/react/components/DragHandle.tsx +2 -1
  1405. package/src/react/components/Drawer.tsx +2 -0
  1406. package/src/react/components/DropIndicator.tsx +3 -3
  1407. package/src/react/components/DropSlot.tsx +2 -1
  1408. package/src/react/components/DropdownMenu.tsx +2 -0
  1409. package/src/react/components/EditorPage.tsx +4 -2
  1410. package/src/react/components/ElsewhereNotice.tsx +2 -0
  1411. package/src/react/components/EmojiField.tsx +2 -0
  1412. package/src/react/components/EmptyState.tsx +2 -0
  1413. package/src/react/components/EnvCompare.tsx +3 -1
  1414. package/src/react/components/EnvEditor.tsx +2 -0
  1415. package/src/react/components/ErrorBoundary.tsx +3 -3
  1416. package/src/react/components/ErrorCard.tsx +2 -0
  1417. package/src/react/components/EventTimeline.tsx +2 -2
  1418. package/src/react/components/ExpandableRow.tsx +2 -0
  1419. package/src/react/components/ExternalLink.tsx +4 -2
  1420. package/src/react/components/Field.tsx +2 -0
  1421. package/src/react/components/FieldGrid.tsx +2 -1
  1422. package/src/react/components/FileActions.tsx +2 -2
  1423. package/src/react/components/FileDropZone.tsx +2 -0
  1424. package/src/react/components/FileLocation.tsx +2 -0
  1425. package/src/react/components/FileTypeIcon.tsx +2 -0
  1426. package/src/react/components/FindingsList.tsx +3 -1
  1427. package/src/react/components/FormPreviewLayout.tsx +2 -1
  1428. package/src/react/components/Guide.tsx +4 -4
  1429. package/src/react/components/Heat.spec.tsx +136 -0
  1430. package/src/react/components/Heat.tsx +249 -0
  1431. package/src/react/components/HoverCard.tsx +2 -0
  1432. package/src/react/components/IconPicker.tsx +2 -1
  1433. package/src/react/components/ImpactDialog.tsx +2 -0
  1434. package/src/react/components/InfoHintImpl.tsx +2 -0
  1435. package/src/react/components/InheritBadge.tsx +2 -1
  1436. package/src/react/components/InlineEditableText.tsx +6 -3
  1437. package/src/react/components/IsolatedFrame.tsx +4 -3
  1438. package/src/react/components/JsonEditor.tsx +2 -0
  1439. package/src/react/components/KanbanBoard.tsx +2 -1
  1440. package/src/react/components/KeyBadge.tsx +16 -12
  1441. package/src/react/components/Lightbox.tsx +2 -1
  1442. package/src/react/components/ListToolbar.tsx +2 -0
  1443. package/src/react/components/LogViewer.tsx +2 -1
  1444. package/src/react/components/Menu.tsx +7 -5
  1445. package/src/react/components/MeterList.tsx +12 -7
  1446. package/src/react/components/Modal.tsx +2 -0
  1447. package/src/react/components/MultiSelectField.tsx +2 -0
  1448. package/src/react/components/OnlineDot.tsx +2 -2
  1449. package/src/react/components/OtpInput.tsx +2 -1
  1450. package/src/react/components/Page.spec.tsx +1 -0
  1451. package/src/react/components/Page.tsx +10 -0
  1452. package/src/react/components/PageGuideButton.tsx +3 -2
  1453. package/src/react/components/PageGuidePopover.tsx +2 -1
  1454. package/src/react/components/PanelGrid.tsx +3 -1
  1455. package/src/react/components/PanelSeparator.tsx +2 -0
  1456. package/src/react/components/PathText.tsx +2 -0
  1457. package/src/react/components/PointerDrag.tsx +2 -1
  1458. package/src/react/components/Popover.tsx +4 -2
  1459. package/src/react/components/Progress.tsx +4 -0
  1460. package/src/react/components/PromptDialog.tsx +2 -0
  1461. package/src/react/components/PropertyPicker.tsx +7 -0
  1462. package/src/react/components/QueryBoundary.tsx +1 -0
  1463. package/src/react/components/RatingField.tsx +2 -0
  1464. package/src/react/components/ReactionBar.tsx +2 -2
  1465. package/src/react/components/ReactionPicker.tsx +2 -1
  1466. package/src/react/components/RenderField.tsx +2 -1
  1467. package/src/react/components/ResponsiveWorkbench.tsx +2 -1
  1468. package/src/react/components/RevealAction.tsx +3 -1
  1469. package/src/react/components/SaveIndicator.tsx +2 -2
  1470. package/src/react/components/SearchInput.spec.tsx +11 -5
  1471. package/src/react/components/SearchInput.tsx +10 -3
  1472. package/src/react/components/SecretInput.tsx +2 -0
  1473. package/src/react/components/SectionNav.tsx +2 -2
  1474. package/src/react/components/SegmentedControl.tsx +2 -1
  1475. package/src/react/components/SelectFieldImpl.tsx +2 -0
  1476. package/src/react/components/SelectionBar.tsx +2 -1
  1477. package/src/react/components/SettingsStrip.tsx +2 -2
  1478. package/src/react/components/SheetTabStrip.tsx +27 -10
  1479. package/src/react/components/Skeleton.tsx +10 -9
  1480. package/src/react/components/Slider.tsx +4 -0
  1481. package/src/react/components/SliderField.tsx +2 -0
  1482. package/src/react/components/Sparkline.tsx +2 -1
  1483. package/src/react/components/Spinner.tsx +2 -1
  1484. package/src/react/components/SplitButton.tsx +2 -1
  1485. package/src/react/components/SplitPane.tsx +2 -0
  1486. package/src/react/components/StarRating.tsx +4 -2
  1487. package/src/react/components/StatStrip.tsx +8 -1
  1488. package/src/react/components/StatTile.tsx +2 -1
  1489. package/src/react/components/StatTileGrid.tsx +2 -1
  1490. package/src/react/components/SwatchPicker.tsx +2 -0
  1491. package/src/react/components/Tabs.tsx +2 -0
  1492. package/src/react/components/TagStrip.tsx +2 -0
  1493. package/src/react/components/TagsInput.tsx +2 -0
  1494. package/src/react/components/ThresholdMeter.tsx +2 -1
  1495. package/src/react/components/TooltipImpl.tsx +5 -3
  1496. package/src/react/components/TreeView.tsx +2 -0
  1497. package/src/react/components/Wizard/ReviewStep.tsx +2 -1
  1498. package/src/react/components/Wizard/Stepper.tsx +2 -0
  1499. package/src/react/components/Wizard/Wizard.tsx +2 -1
  1500. package/src/react/components/attributesForwarded.spec.tsx +42 -0
  1501. package/src/react/components/auth/AuthCard.tsx +2 -0
  1502. package/src/react/components/auth/AuthForm.tsx +2 -1
  1503. package/src/react/components/auth/LoginForm.tsx +2 -0
  1504. package/src/react/components/auth/PasswordResetConfirm.tsx +2 -0
  1505. package/src/react/components/auth/PasswordResetRequest.tsx +3 -1
  1506. package/src/react/components/auth/PasswordSetFields.tsx +2 -0
  1507. package/src/react/components/auth/PasswordStrengthMeter.tsx +2 -1
  1508. package/src/react/components/auth/RegisterForm.tsx +2 -0
  1509. package/src/react/components/auth/SetInitialPassword.tsx +2 -0
  1510. package/src/react/components/auth/SignInCard.tsx +2 -1
  1511. package/src/react/components/auth/SignupForm.tsx +2 -0
  1512. package/src/react/components/auth/TotpEntry.tsx +2 -0
  1513. package/src/react/components/auth/fields.tsx +4 -2
  1514. package/src/react/components/calendar/CalendarLegend.tsx +2 -1
  1515. package/src/react/components/calendar/DayAgenda.tsx +2 -1
  1516. package/src/react/components/calendar/EventChip.tsx +2 -2
  1517. package/src/react/components/calendar/MonthGrid.tsx +2 -1
  1518. package/src/react/components/calendar/WeekView.tsx +2 -1
  1519. package/src/react/components/fieldErrorText.tsx +2 -2
  1520. package/src/react/components/filterChip.tsx +2 -1
  1521. package/src/react/components/layout.tsx +3 -3
  1522. package/src/react/components/sharing/RecipientAvatar.tsx +3 -1
  1523. package/src/react/components/sharing/RecipientPicker.tsx +2 -1
  1524. package/src/react/components/sharing/ShareDialog.tsx +11 -23
  1525. package/src/react/components/sharing/ShareEditor.tsx +4 -1
  1526. package/src/react/components/sharing/SharedWithUserDialog.tsx +2 -1
  1527. package/src/react/dashboard-grid/DashboardGrid.tsx +2 -1
  1528. package/src/react/dashboard-grid/WidgetFrame.tsx +2 -0
  1529. package/src/react/deep-link/links.spec.ts +16 -2
  1530. package/src/react/deep-link/links.ts +12 -3
  1531. package/src/react/deep-link/useDeepLink.tsx +1 -0
  1532. package/src/react/diff-viewer/DiffViewer.tsx +2 -0
  1533. package/src/react/diff-viewer/TextComparePane.tsx +4 -2
  1534. package/src/react/disk-usage/DiskUsageRulesEditor.tsx +2 -1
  1535. package/src/react/disk-usage/DiskUsageScanControls.tsx +2 -1
  1536. package/src/react/disk-usage/DiskUsageSummaryTiles.tsx +3 -1
  1537. package/src/react/disk-usage/DiskUsageTree.tsx +2 -1
  1538. package/src/react/emoji/EmojiAutocomplete.tsx +2 -1
  1539. package/src/react/emoji/EmojiPicker.tsx +2 -0
  1540. package/src/react/engagement/beacon.tsx +1 -0
  1541. package/src/react/file-tree/FileTree.tsx +2 -0
  1542. package/src/react/file-tree/FolderViewMenus.tsx +6 -4
  1543. package/src/react/file-tree/FolderViewPanels.tsx +26 -16
  1544. package/src/react/filter-rail/FilterRail.tsx +26 -4
  1545. package/src/react/filter-rail/RailSection.tsx +3 -2
  1546. package/src/react/filter-rail/railResize.tsx +2 -1
  1547. package/src/react/folder-tree/FolderActionsMenu.tsx +2 -0
  1548. package/src/react/folder-tree/FolderBreadcrumb.tsx +3 -1
  1549. package/src/react/folder-tree/FolderPicker.tsx +2 -1
  1550. package/src/react/folder-tree/FolderTreeRail.tsx +2 -1
  1551. package/src/react/folder-tree/NewFolderControl.tsx +3 -1
  1552. package/src/react/hooks/DragHandleIcon.tsx +2 -2
  1553. package/src/react/hooks/usePaletteDrag.tsx +1 -0
  1554. package/src/react/icons.tsx +3 -3
  1555. package/src/react/index.ts +19 -0
  1556. package/src/react/keep-awake/KeepAwake.tsx +1 -0
  1557. package/src/react/layout/CCResizeBoundary.tsx +2 -2
  1558. package/src/react/layoutEngine/LayoutCanvas.tsx +11 -3
  1559. package/src/react/layoutEngine/LayoutConfigDialog.tsx +2 -0
  1560. package/src/react/layoutEngine/LayoutRenderer.tsx +2 -1
  1561. package/src/react/layoutEngine/NodeInspector.tsx +2 -1
  1562. package/src/react/layoutEngine/SuggestPanel.tsx +2 -1
  1563. package/src/react/lib/daypicker.tsx +1 -1
  1564. package/src/react/look/AppearanceFields.tsx +2 -2
  1565. package/src/react/look/AppearancePanel.tsx +2 -1
  1566. package/src/react/look/AppearanceSheet.tsx +2 -2
  1567. package/src/react/look/AppearanceSheetPanel.tsx +2 -2
  1568. package/src/react/look/LookPicker.tsx +2 -1
  1569. package/src/react/markdown/Markdown.tsx +2 -2
  1570. package/src/react/markdown/MarkdownDoc.tsx +2 -2
  1571. package/src/react/master-detail/DetailPane.tsx +8 -5
  1572. package/src/react/master-detail/MasterDetail.tsx +14 -3
  1573. package/src/react/master-lock/MasterLockDialog.tsx +2 -0
  1574. package/src/react/master-lock/MasterLockProvider.tsx +3 -1
  1575. package/src/react/media/AutoMaskControls.tsx +2 -0
  1576. package/src/react/media/BrushSizeSlider.tsx +2 -2
  1577. package/src/react/media/CanvasVideoPlayer.tsx +2 -0
  1578. package/src/react/media/DenseGalleryShell.tsx +4 -1
  1579. package/src/react/media/FocusViewer.tsx +2 -1
  1580. package/src/react/media/FrameGrabber.tsx +2 -0
  1581. package/src/react/media/HoverScrubVideoThumb.tsx +3 -0
  1582. package/src/react/media/ImageEditor.tsx +3 -1
  1583. package/src/react/media/MaskPainter.tsx +2 -0
  1584. package/src/react/media/MediaCatalogueViewer.tsx +2 -1
  1585. package/src/react/media/MediaCell.tsx +2 -1
  1586. package/src/react/media/MediaLightbox.tsx +2 -1
  1587. package/src/react/media/MediaResize.tsx +16 -4
  1588. package/src/react/media/MediaThumb.tsx +3 -0
  1589. package/src/react/media/MediaUploadControl.tsx +2 -1
  1590. package/src/react/media/PictureControls.tsx +2 -1
  1591. package/src/react/media/PictureEditor.tsx +2 -0
  1592. package/src/react/media/PlayerStrip.tsx +3 -2
  1593. package/src/react/media/TrimRangeSlider.tsx +2 -1
  1594. package/src/react/media/VideoChapterEditor.tsx +2 -0
  1595. package/src/react/media/VideoCutEditor.tsx +2 -0
  1596. package/src/react/media/VideoPlayer.tsx +4 -0
  1597. package/src/react/media/VideoSlideContent.tsx +2 -1
  1598. package/src/react/media/VideoTrimmer.tsx +2 -0
  1599. package/src/react/media/VideoTurner.tsx +2 -0
  1600. package/src/react/media/VirtualizedRows.tsx +2 -0
  1601. package/src/react/media/WaveformStrip.tsx +2 -1
  1602. package/src/react/media/sourceFault.tsx +2 -1
  1603. package/src/react/media-gallery/GalleryTable.tsx +2 -0
  1604. package/src/react/media-gallery/MediaGallery.tsx +3 -0
  1605. package/src/react/media-gallery/MediaMetaEditor.tsx +2 -0
  1606. package/src/react/media-gallery/galleryItemMedia.tsx +2 -0
  1607. package/src/react/namespace/NamespaceTargetCapsule.tsx +2 -0
  1608. package/src/react/nav/BreadcrumbMenus.tsx +6 -0
  1609. package/src/react/nav/BreadcrumbPivot.tsx +2 -1
  1610. package/src/react/nav/BreadcrumbProvider.tsx +2 -0
  1611. package/src/react/nav/BreadcrumbTrail.tsx +5 -0
  1612. package/src/react/nav/Breadcrumbs.tsx +6 -0
  1613. package/src/react/nav/ColorSwatchGrid.tsx +2 -1
  1614. package/src/react/nav/CommandBar.tsx +2 -1
  1615. package/src/react/nav/HeaderSearch.tsx +2 -1
  1616. package/src/react/nav/HubTileGrid.tsx +2 -1
  1617. package/src/react/nav/NavColorPicker.tsx +2 -0
  1618. package/src/react/nav/NavItemMenu.tsx +2 -0
  1619. package/src/react/nav/PlaceBar.tsx +24 -13
  1620. package/src/react/nav/RailPlaces.spec.tsx +111 -0
  1621. package/src/react/nav/RailPlaces.tsx +192 -0
  1622. package/src/react/nav/SearchResults.tsx +3 -2
  1623. package/src/react/nav/SideNav.tsx +13 -6
  1624. package/src/react/nav/SideNavCustomize.tsx +6 -3
  1625. package/src/react/nav/TopBar.tsx +9 -0
  1626. package/src/react/nav/index.ts +5 -0
  1627. package/src/react/nav/navShared.tsx +25 -0
  1628. package/src/react/notifications/NotificationBell.tsx +2 -0
  1629. package/src/react/notifications/NotificationFeed.tsx +2 -1
  1630. package/src/react/notifications/NotificationInbox.tsx +2 -1
  1631. package/src/react/palette/CommandPalette.tsx +2 -0
  1632. package/src/react/palette/Kbd.tsx +3 -3
  1633. package/src/react/palette/ShortcutSheet.tsx +2 -0
  1634. package/src/react/palette/commandSources.tsx +1 -0
  1635. package/src/react/pdf-viewer/PdfPage.tsx +2 -1
  1636. package/src/react/pdf-viewer/PdfViewer.tsx +5 -2
  1637. package/src/react/portal/CCPortalProvider.tsx +1 -0
  1638. package/src/react/problem-detail/ProblemDetailView.tsx +2 -1
  1639. package/src/react/rich-text/RichTextEditor.tsx +2 -0
  1640. package/src/react/rich-text/RichTextToolbar.tsx +2 -2
  1641. package/src/react/sharing/SharePanel.tsx +2 -1
  1642. package/src/react/slots/Slot.tsx +1 -0
  1643. package/src/react/spreadsheet/SpreadsheetGrid.tsx +2 -0
  1644. package/src/react/testReport/TestReportViewer.tsx +5 -4
  1645. package/src/react/uiScale/UiScaleControl.tsx +2 -1
  1646. package/src/react/workbook-viewer/WorkbookViewer.tsx +5 -2
  1647. package/src/styles-areas/analytics.css +9 -9
  1648. package/src/styles-areas/canvas-hud.css +3 -2
  1649. package/src/styles-areas/core.css +13 -13
  1650. package/src/styles-areas/data-table.css +9 -9
  1651. package/src/styles-areas/filter-rail.css +2 -2
  1652. package/src/styles-areas/nav.css +7 -7
  1653. package/src/styles-areas/stats.css +20 -13
  1654. package/src/styles-utilities.css +21 -0
  1655. package/src/testing/designAudit.ts +30 -0
  1656. package/src/theme.css +3 -0
@@ -0,0 +1,56 @@
1
+ /**
2
+ * CNV-12 — alignment guides while dragging (forge task 3437). The owner asked for Mural's lines: as
3
+ * an item is dragged, a hairline shows when one of its edges or its middle lines up with another
4
+ * item's, and the item settles onto that line. Figma, Miro and Mural all draw the same thing.
5
+ *
6
+ * Pure — no React, no DOM — so a canvas built on React Flow (desk, arch) and one built on its own
7
+ * stage use the same rule, pinned by `alignment.spec.tsx`. Everything is in WORLD units; the caller
8
+ * turns its screen tolerance into world units by dividing by the view's scale, so the pull feels the
9
+ * same at every zoom.
10
+ */
11
+ import type { CanvasBounds } from './viewport.js';
12
+ /** How close, in SCREEN pixels, an edge or a middle must come to another's before it snaps. */
13
+ export declare const ALIGNMENT_TOLERANCE = 6;
14
+ /**
15
+ * One line to draw. `axis: 'x'` is a VERTICAL line at `x = at`, running from `y = from` to
16
+ * `y = to`; `axis: 'y'` is a horizontal one at `y = at`, running along x.
17
+ */
18
+ export interface AlignmentGuide {
19
+ axis: 'x' | 'y';
20
+ at: number;
21
+ from: number;
22
+ to: number;
23
+ }
24
+ export interface AlignmentSnap {
25
+ /** What to add to the dragged item's position so it sits on the nearest line — 0 when none is near. */
26
+ dx: number;
27
+ dy: number;
28
+ /** Every line the item rests on AFTER the snap, merged per position, spanning every item it meets. */
29
+ guides: AlignmentGuide[];
30
+ }
31
+ /**
32
+ * Where `moving` should settle, and the guides to draw there. `others` is every item it may line up
33
+ * with — never the item itself, nor anything travelling with it (a multi-selection, a group's
34
+ * contents). `tolerance` is in world units: `ALIGNMENT_TOLERANCE / view.scale`.
35
+ *
36
+ * Each axis snaps on its own, to the closest line within tolerance, so an item can settle on a
37
+ * vertical and a horizontal guide at once. A guide is drawn for every line that matches after the
38
+ * snap — two neighbours sharing a left edge make one line through all three — and runs from the
39
+ * farthest item it touches to the farthest on the other side, the way Mural draws it.
40
+ *
41
+ * `axis` limits it to one direction for an item that only moves one way — family's lineages slide
42
+ * sideways and never change row, so `'x'` (vertical lines only): a row of cards would otherwise draw
43
+ * a horizontal line along every generation.
44
+ */
45
+ export declare function snapToAlignment(moving: CanvasBounds, others: readonly CanvasBounds[], tolerance: number, axis?: 'x' | 'y' | 'both'): AlignmentSnap;
46
+ /** The box around several — what a multi-selection drags as one. `null` for none. */
47
+ export declare function unionBounds(boxes: readonly CanvasBounds[]): CanvasBounds | null;
48
+ /**
49
+ * Snapping is suspended while ⌘ (or Ctrl) is held — Figma's convention, so an item can still be
50
+ * put a few pixels off a line on purpose. Read from the drag's own pointer event.
51
+ */
52
+ export declare function snapSuspended(event: {
53
+ metaKey?: boolean;
54
+ ctrlKey?: boolean;
55
+ } | null | undefined): boolean;
56
+ //# sourceMappingURL=alignment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alignment.d.ts","sourceRoot":"","sources":["../../../src/react/canvas-hud/alignment.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,+FAA+F;AAC/F,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,aAAa;IAC5B,uGAAuG;IACvG,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,sGAAsG;IACtG,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B;AAuBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,YAAY,EACpB,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE,GAAG,GAAG,GAAG,GAAG,MAAe,GAChC,aAAa,CA4Cf;AAED,qFAAqF;AACrF,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,GAAG,YAAY,GAAG,IAAI,CAa/E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEzG"}
@@ -0,0 +1,100 @@
1
+ /** How close, in SCREEN pixels, an edge or a middle must come to another's before it snaps. */
2
+ export const ALIGNMENT_TOLERANCE = 6;
3
+ const NONE = { dx: 0, dy: 0, guides: [] };
4
+ /** Start, middle, end — the three lines of a box along one axis. */
5
+ function lines(start, size) {
6
+ return [start, start + size / 2, start + size];
7
+ }
8
+ /** The smallest move along one axis that puts any of `moving`'s lines on any of `targets`' lines. */
9
+ function nearest(moving, targets, tolerance) {
10
+ let best = Number.POSITIVE_INFINITY;
11
+ for (const target of targets) {
12
+ for (const want of target) {
13
+ for (const have of moving) {
14
+ const delta = want - have;
15
+ if (Math.abs(delta) <= tolerance && Math.abs(delta) < Math.abs(best))
16
+ best = delta;
17
+ }
18
+ }
19
+ }
20
+ return Number.isFinite(best) ? best : 0;
21
+ }
22
+ /**
23
+ * Where `moving` should settle, and the guides to draw there. `others` is every item it may line up
24
+ * with — never the item itself, nor anything travelling with it (a multi-selection, a group's
25
+ * contents). `tolerance` is in world units: `ALIGNMENT_TOLERANCE / view.scale`.
26
+ *
27
+ * Each axis snaps on its own, to the closest line within tolerance, so an item can settle on a
28
+ * vertical and a horizontal guide at once. A guide is drawn for every line that matches after the
29
+ * snap — two neighbours sharing a left edge make one line through all three — and runs from the
30
+ * farthest item it touches to the farthest on the other side, the way Mural draws it.
31
+ *
32
+ * `axis` limits it to one direction for an item that only moves one way — family's lineages slide
33
+ * sideways and never change row, so `'x'` (vertical lines only): a row of cards would otherwise draw
34
+ * a horizontal line along every generation.
35
+ */
36
+ export function snapToAlignment(moving, others, tolerance, axis = 'both') {
37
+ if (others.length === 0 || !(tolerance > 0))
38
+ return NONE;
39
+ const near = others.filter((other) => other.width >= 0 && other.height >= 0 && Number.isFinite(other.x) && Number.isFinite(other.y));
40
+ const dx = axis === 'y' ? 0 : nearest(lines(moving.x, moving.width), near.map((other) => lines(other.x, other.width)), tolerance);
41
+ const dy = axis === 'x' ? 0 : nearest(lines(moving.y, moving.height), near.map((other) => lines(other.y, other.height)), tolerance);
42
+ const placed = { x: moving.x + dx, y: moving.y + dy, width: moving.width, height: moving.height };
43
+ // Lines that already coincide count; a hair of float error must not hide one.
44
+ const epsilon = Math.min(tolerance, 0.5);
45
+ const guides = [];
46
+ const add = (axis, at, from, to) => {
47
+ const same = guides.find((guide) => guide.axis === axis && Math.abs(guide.at - at) <= epsilon);
48
+ if (same) {
49
+ same.from = Math.min(same.from, from);
50
+ same.to = Math.max(same.to, to);
51
+ }
52
+ else
53
+ guides.push({ axis, at, from, to });
54
+ };
55
+ const ownX = lines(placed.x, placed.width);
56
+ const ownY = lines(placed.y, placed.height);
57
+ /** The lines of `theirs` that `own` sits on — without the middle when both edges match too,
58
+ * since a box the same size as its neighbour would otherwise draw three parallel lines. */
59
+ const matched = (own, theirs) => {
60
+ const hits = theirs.map((at) => own.some((have) => Math.abs(have - at) <= epsilon));
61
+ return theirs.filter((_, index) => hits[index] && !(index === 1 && hits[0] && hits[2]));
62
+ };
63
+ for (const other of near) {
64
+ if (axis !== 'y')
65
+ for (const at of matched(ownX, lines(other.x, other.width))) {
66
+ add('x', at, Math.min(placed.y, other.y), Math.max(placed.y + placed.height, other.y + other.height));
67
+ }
68
+ if (axis !== 'x')
69
+ for (const at of matched(ownY, lines(other.y, other.height))) {
70
+ add('y', at, Math.min(placed.x, other.x), Math.max(placed.x + placed.width, other.x + other.width));
71
+ }
72
+ }
73
+ if (guides.length === 0 && dx === 0 && dy === 0)
74
+ return NONE;
75
+ return { dx, dy, guides };
76
+ }
77
+ /** The box around several — what a multi-selection drags as one. `null` for none. */
78
+ export function unionBounds(boxes) {
79
+ if (boxes.length === 0)
80
+ return null;
81
+ let left = Number.POSITIVE_INFINITY;
82
+ let top = Number.POSITIVE_INFINITY;
83
+ let right = Number.NEGATIVE_INFINITY;
84
+ let bottom = Number.NEGATIVE_INFINITY;
85
+ for (const box of boxes) {
86
+ left = Math.min(left, box.x);
87
+ top = Math.min(top, box.y);
88
+ right = Math.max(right, box.x + box.width);
89
+ bottom = Math.max(bottom, box.y + box.height);
90
+ }
91
+ return { x: left, y: top, width: right - left, height: bottom - top };
92
+ }
93
+ /**
94
+ * Snapping is suspended while ⌘ (or Ctrl) is held — Figma's convention, so an item can still be
95
+ * put a few pixels off a line on purpose. Read from the drag's own pointer event.
96
+ */
97
+ export function snapSuspended(event) {
98
+ return !!(event?.metaKey || event?.ctrlKey);
99
+ }
100
+ //# sourceMappingURL=alignment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alignment.js","sourceRoot":"","sources":["../../../src/react/canvas-hud/alignment.ts"],"names":[],"mappings":"AAYA,+FAA+F;AAC/F,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAqBrC,MAAM,IAAI,GAAkB,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAEzD,oEAAoE;AACpE,SAAS,KAAK,CAAC,KAAa,EAAE,IAAY;IACxC,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,qGAAqG;AACrG,SAAS,OAAO,CAAC,MAAyB,EAAE,OAAuC,EAAE,SAAiB;IACpG,IAAI,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACpC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CA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CAAC,KAAK,CAAC,CAAC;QAC3C,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,GAAG,EAAE,CAAC;AACxE,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,KAAkE;IAC9F,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,IAAI,KAAK,EAAE,OAAO,CAAC,CAAC;AAC9C,CAAC"}
@@ -1,3 +1,7 @@
1
+ export type { AlignmentGuide, AlignmentSnap } from './alignment.js';
2
+ export { ALIGNMENT_TOLERANCE, snapSuspended, snapToAlignment, unionBounds } from './alignment.js';
3
+ export type { AlignmentGuidesProps } from './AlignmentGuides.js';
4
+ export { AlignmentGuides, useSnapSuspended } from './AlignmentGuides.js';
1
5
  export type { CanvasMinimapProps } from './CanvasMinimap.js';
2
6
  export { CanvasMinimap } from './CanvasMinimap.js';
3
7
  export type { CanvasNodeMenuItem, CanvasNodeMenuProps, CanvasNodeMenuSection } from './CanvasNodeMenu.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/canvas-hud/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC1G,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM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AAC1G,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxF,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC9E,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClF,YAAY,EACV,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,aAAa,EACb,uBAAuB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,OAAO,EACP,eAAe,EACf,aAAa,EACb,aAAa,EACb,eAAe,EACf,MAAM,GACP,MAAM,eAAe,CAAC"}
@@ -1,3 +1,5 @@
1
+ export { ALIGNMENT_TOLERANCE, snapSuspended, snapToAlignment, unionBounds } from './alignment.js';
2
+ export { AlignmentGuides, useSnapSuspended } from './AlignmentGuides.js';
1
3
  export { CanvasMinimap } from './CanvasMinimap.js';
2
4
  export { CanvasNodeMenu } from './CanvasNodeMenu.js';
3
5
  export { CanvasSearchField } from './CanvasSearchField.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/canvas-hud/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO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 export type AreaChartProps = {
23
23
  labelFormatter?: (label: string | number) => string;
24
24
  };
25
25
  /** Multi-series area chart with token-colored gradient fills (per-instance ids). */
26
- export declare function AreaChart({ data, xKey, series, ariaLabel, height, smooth, legend, grid, stacked, yWidth, xTickFormatter, valueFormatter, labelFormatter, }: AreaChartProps): import("react").JSX.Element;
26
+ export declare function AreaChart({ data, xKey, series, ariaLabel, height, smooth, legend, grid, stacked, yWidth, xTickFormatter, valueFormatter, labelFormatter, ...rest }: AreaChartProps): import("react").JSX.Element;
27
27
  //# sourceMappingURL=AreaChart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AreaChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/AreaChart.tsx"],"names":[],"mappings":"AAaA,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,WAAW,EAA8B,MAAM,aAAa,CAAC;AAEvH,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0GAA0G;IAC1G,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACpD,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,iCAAiC;IACjC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE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I,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAa,EACb,MAAM,EACN,IAAW,EACX,OAAe,EACf,MAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,+BAmEhB"}
@@ -5,10 +5,10 @@ import { legendContent } from './ChartLegend.js';
5
5
  import { tooltipContent } from './ChartTooltip.js';
6
6
  import { axisProps, valueAxisProps, seriesColor, useGradientId } from './shared.js';
7
7
  /** Multi-series area chart with token-colored gradient fills (per-instance ids). */
8
- export function AreaChart({ data, xKey, series, ariaLabel, height, smooth = true, legend, grid = true, stacked = false, yWidth = 'auto', xTickFormatter, valueFormatter, labelFormatter, }) {
8
+ export function AreaChart({ data, xKey, series, ariaLabel, height, smooth = true, legend, grid = true, stacked = false, yWidth = 'auto', xTickFormatter, valueFormatter, labelFormatter, ...rest }) {
9
9
  const gradId = useGradientId();
10
10
  const showLegend = (box) => legend ?? (!box.legendInHeader && series.length > 1);
11
- return (_jsx(ChartFrame, { ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RAreaChart, { data: data, margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [_jsx("defs", { children: series.map((s, i) => {
11
+ return (_jsx(ChartFrame, { ...rest, ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RAreaChart, { data: data, margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [_jsx("defs", { children: series.map((s, i) => {
12
12
  const c = seriesColor(t, s, i);
13
13
  return (_jsxs("linearGradient", { id: `${gradId}-${s.dataKey}`, x1: '0', y1: '0', x2: '0', y2: '1', children: [_jsx("stop", { offset: '0%', stopColor: c, stopOpacity: 0.2 }), _jsx("stop", { offset: '100%', stopColor: c, stopOpacity: 0.02 })] }, s.dataKey));
14
14
  }) }), grid && (_jsx(CartesianGrid, { strokeDasharray: '3 3', stroke: t.foregroundMuted, strokeOpacity: 0.3, vertical: false })), _jsx(XAxis, { dataKey: xKey, ...axisProps(t, box), tickFormatter: xTickFormatter, interval: 'preserveStartEnd', minTickGap: box.gap(24) }), _jsx(YAxis, { ...axisProps(t, box), ...valueAxisProps(box, valueFormatter), width: yWidth, axisLine: false }), _jsx(Tooltip, { content: tooltipContent(t, labelFormatter, valueFormatter), cursor: { stroke: t.foregroundMuted, strokeWidth: 1, strokeOpacity: 0.5 }, isAnimationActive: false }), showLegend(box) && _jsx(Legend, { content: legendContent(t), itemSorter: null }), series.map((s, i) => {
@@ -1 +1 @@
1
- {"version":3,"file":"AreaChart.js","sourceRoot":"","sources":["../../../src/react/charts/AreaChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,IAAI,EACJ,aAAa,EACb,MAAM,EACN,SAAS,IAAI,UAAU,EACvB,OAAO,EACP,KAAK,EACL,KAAK,GACN,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAqC,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA0BvH,oFAAoF;AACpF,MAAM,UAAU,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,GAAG,IAAI,EACb,MAAM,EACN,IAAI,GAAG,IAAI,EACX,OAAO,GAAG,KAAK,EACf,MAAM,GAAG,MAAM,EACf,cAAc,EACd,cAAc,EACd,cAAc,GACC;IACf,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,UAAU,GAAG,CAAC,GAAa,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,cAAc,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC3F,OAAO,CACL,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE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,UAAU,EAAE,IAAI,GAAI,EAC1E,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;oBACnB,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;oBAC/B,OAAO,CACL,KAAC,IAAI,IAEH,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,EACpC,OAAO,EAAE,CAAC,CAAC,OAAO,EAClB,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,EACzB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EACrD,MAAM,EAAE,CAAC,EACT,WAAW,EAAE,GAAG,CAAC,MAAM,EACvB,IAAI,EAAE,QAAQ,MAAM,IAAI,CAAC,CAAC,OAAO,GAAG,EACpC,iBAAiB,EAAE,KAAK,IARnB,CAAC,CAAC,OAAO,CASd,CACH,CAAC;gBACJ,CAAC,CAAC,IACS,CACd,GACU,CACd,CAAC;AACJ,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { type ChartDatum, type ChartSeries } from './shared.js';
2
+ import { type ChartTone } from './tokens.js';
2
3
  export type BarChartProps = {
3
4
  data: ChartDatum[];
4
5
  /** Key for the category axis in each datum. */
@@ -24,7 +25,14 @@ export type BarChartProps = {
24
25
  valueFormatter?: (value: number) => string;
25
26
  /** Format the tooltip header. */
26
27
  labelFormatter?: (label: string | number) => string;
28
+ /**
29
+ * Colour each BAR by its datum rather than its series — the heat of a cost against the fleet's
30
+ * median (`heatChartTone(heatBandOf(…))`), a budget's bar turning at its thresholds. Return
31
+ * `undefined` to keep the series colour. CHT-7: colour is meaning, so the tones are the status
32
+ * tones, never a free hex.
33
+ */
34
+ colorBy?: (datum: ChartDatum, index: number) => ChartTone | undefined;
27
35
  };
28
36
  /** Vertical/horizontal, grouped/stacked bar chart with rounded corners. */
29
- export declare function BarChart({ data, xKey, series, ariaLabel, height, orientation, stacked, legend, grid, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, }: BarChartProps): import("react").JSX.Element;
37
+ export declare function BarChart({ data, xKey, series, ariaLabel, height, orientation, stacked, legend, grid, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, colorBy, ...rest }: BarChartProps): import("react").JSX.Element;
30
38
  //# sourceMappingURL=BarChart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/BarChart.tsx"],"names":[],"mappings":"AAKA,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,WAAW,EAAe,MAAM,aAAa,CAAC;AAIxG,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gEAAgE;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC3D,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,iCAAiC;IACjC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;CACrD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C,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,2EAA2E;AAC3E,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,WAAwB,EACxB,OAAe,EACf,MAAM,EACN,IAAW,EACX,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,OAAO,EACP,GAAG,IAAI,EACR,EAAE,aAAa,+BAsFf"}
@@ -1,11 +1,12 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Bar, CartesianGrid, Legend, BarChart as RBarChart, Tooltip, XAxis, YAxis } from 'recharts';
2
+ import { Bar, CartesianGrid, Cell, Legend, BarChart as RBarChart, Tooltip, XAxis, YAxis } from 'recharts';
3
3
  import { ChartFrame } from './ChartFrame.js';
4
4
  import { legendContent } from './ChartLegend.js';
5
5
  import { tooltipContent } from './ChartTooltip.js';
6
6
  import { axisProps, valueAxisProps, seriesColor } from './shared.js';
7
+ import { toneColor } from './tokens.js';
7
8
  /** Vertical/horizontal, grouped/stacked bar chart with rounded corners. */
8
- export function BarChart({ data, xKey, series, ariaLabel, height, orientation = 'vertical', stacked = false, legend, grid = true, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, }) {
9
+ export function BarChart({ data, xKey, series, ariaLabel, height, orientation = 'vertical', stacked = false, legend, grid = true, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, colorBy, ...rest }) {
9
10
  const horizontal = orientation === 'horizontal';
10
11
  const showLegend = (box) => legend ?? (!box.legendInHeader && series.length > 1);
11
12
  // Round only the outer end of each bar; for a stack, only the last (outer) series.
@@ -15,6 +16,12 @@ export function BarChart({ data, xKey, series, ariaLabel, height, orientation =
15
16
  return [0, 0, 0, 0];
16
17
  return horizontal ? [0, 4, 4, 0] : [4, 4, 0, 0];
17
18
  };
18
- return (_jsx(ChartFrame, { ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RBarChart, { data: data, layout: horizontal ? 'vertical' : 'horizontal', margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [grid && (_jsx(CartesianGrid, { strokeDasharray: '3 3', stroke: t.foregroundMuted, strokeOpacity: 0.3, horizontal: !horizontal, vertical: horizontal })), horizontal ? (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter) }), _jsx(YAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, width: yWidth ?? 44, axisLine: false })] })) : (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, interval: 'preserveStartEnd', minTickGap: box.gap(8) }), _jsx(YAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter), width: yWidth ?? 'auto', axisLine: false })] })), _jsx(Tooltip, { content: tooltipContent(t, labelFormatter, valueFormatter), cursor: { fill: t.foregroundMuted, fillOpacity: 0.08 }, isAnimationActive: false }), showLegend(box) && _jsx(Legend, { content: legendContent(t), itemSorter: null }), series.map((s, i) => (_jsx(Bar, { dataKey: s.dataKey, name: s.name ?? s.dataKey, stackId: stacked ? (s.stackId ?? 'stack') : s.stackId, fill: seriesColor(t, s, i), radius: cornersFor(i), isAnimationActive: false }, s.dataKey)))] })) }));
19
+ return (_jsx(ChartFrame, { ...rest, ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RBarChart, { data: data, layout: horizontal ? 'vertical' : 'horizontal', margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [grid && (_jsx(CartesianGrid, { strokeDasharray: '3 3', stroke: t.foregroundMuted, strokeOpacity: 0.3, horizontal: !horizontal, vertical: horizontal })), horizontal ? (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter) }), _jsx(YAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, width: yWidth ?? 44, axisLine: false })] })) : (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, interval: 'preserveStartEnd', minTickGap: box.gap(8) }), _jsx(YAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter), width: yWidth ?? 'auto', axisLine: false })] })), _jsx(Tooltip, { content: tooltipContent(t, labelFormatter, valueFormatter), cursor: { fill: t.foregroundMuted, fillOpacity: 0.08 }, isAnimationActive: false }), showLegend(box) && _jsx(Legend, { content: legendContent(t), itemSorter: null }), series.map((s, i) => (_jsx(Bar, { dataKey: s.dataKey, name: s.name ?? s.dataKey, stackId: stacked ? (s.stackId ?? 'stack') : s.stackId, fill: seriesColor(t, s, i), radius: cornersFor(i), isAnimationActive: false, children: colorBy
20
+ ? data.map((d, j) => {
21
+ const tone = colorBy(d, j);
22
+ // Keyed on the category value: a bar IS its datum, and recharts matches cells to bars by position.
23
+ return _jsx(Cell, { fill: tone ? toneColor(t, tone) : seriesColor(t, s, i) }, `${s.dataKey}-${String(d[xKey] ?? j)}`);
24
+ })
25
+ : null }, s.dataKey)))] })) }));
19
26
  }
20
27
  //# sourceMappingURL=BarChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BarChart.js","sourceRoot":"","sources":["../../../src/react/charts/BarChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,IAAI,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEpG,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SA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OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,GAAI,EAC1E,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,KAAC,GAAG,IAEF,OAAO,EAAE,CAAC,CAAC,OAAO,EAClB,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,EACzB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EACrD,IAAI,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAC1B,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACrB,iBAAiB,EAAE,KAAK,YAEvB,OAAO;wBACN,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BAChB,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;4BAC3B,mGAAmG;4BACnG,OAAO,KAAC,IAAI,IAA8C,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,IAA9F,GAAG,CAAC,CAAC,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAA4D,CAAC;wBACvH,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,IAdH,CAAC,CAAC,OAAO,CAeV,CACP,CAAC,IACQ,CACb,GACU,CACd,CAAC;AACJ,CAAC"}
@@ -54,5 +54,5 @@ export declare function legendColor(item: ChartCardLegendItem, index: number, to
54
54
  * Build an operations-console Trends section from this and a `DataTable` with no app-local
55
55
  * styling (`docs/design/blueprints/operations-console.md`).
56
56
  */
57
- export declare function ChartCard({ title, subtitle, legend, actions, loading, empty, height, children, className, }: ChartCardProps): import("react").JSX.Element;
57
+ export declare function ChartCard({ title, subtitle, legend, actions, loading, empty, height, children, className, ...rest }: ChartCardProps): import("react").JSX.Element;
58
58
  //# sourceMappingURL=ChartCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartCard.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAU/C,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAkB,MAAM,aAAa,CAAC;AAE/E,oEAAoE;AACpE,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,KAAK,EAAE,SAAS,CAAC;IACjB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG;QAAE,KAAK,EAAE,SAAS,CAAC;QAAC,WAAW,CAAC,EAAE,SAAS,CAAC;QAAC,MAAM,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IACpF,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,W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,WAAW,GAAG,MAAM,CAEjG;AAkBD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAe,EACf,KAAa,EACb,MAAM,EACN,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,+BAmDhB"}
@@ -32,7 +32,7 @@ function LegendList({ items, tokens, className }) {
32
32
  * Build an operations-console Trends section from this and a `DataTable` with no app-local
33
33
  * styling (`docs/design/blueprints/operations-console.md`).
34
34
  */
35
- export function ChartCard({ title, subtitle, legend, actions, loading = false, empty = false, height, children, className, }) {
35
+ export function ChartCard({ title, subtitle, legend, actions, loading = false, empty = false, height, children, className, ...rest }) {
36
36
  const bodyRef = useRef(null);
37
37
  const tokens = useChartTokens(bodyRef);
38
38
  const { width } = useElementSize(bodyRef, { layout: true });
@@ -42,6 +42,6 @@ export function ChartCard({ title, subtitle, legend, actions, loading = false, e
42
42
  // than push the plot down the screen.
43
43
  const foldLegend = phone && legend != null && legend.length > 3;
44
44
  const emptyContent = empty === true ? { title: 'No data for this range' } : empty || null;
45
- return (_jsxs(Surface, { level: 'flat', pad: 'md', radius: 'lg', className: cn('flex min-w-0 flex-col gap-3', className), "data-cb-chart-card": '', children: [_jsxs("div", { className: 'flex min-w-0 flex-wrap items-start justify-between gap-x-4 gap-y-2', children: [_jsxs("div", { className: 'flex min-w-0 flex-col gap-0.5', children: [_jsx("h3", { className: 'truncate text-sm font-semibold text-foreground', children: title }), subtitle != null && _jsx("p", { className: 'truncate text-xs tabular-nums text-muted-foreground', children: subtitle })] }), _jsxs("div", { className: 'flex min-w-0 flex-wrap items-center justify-end gap-x-3 gap-y-2', children: [legend && legend.length > 0 && !foldLegend && _jsx(LegendList, { items: legend, tokens: tokens, className: 'justify-end' }), foldLegend && legend && (_jsx(Popover, { trigger: _jsx(Button, { variant: 'ghost', size: 'sm', tooltip: 'Show what each color is', tooltipMobile: 'off', children: `Legend · ${legend.length}` }), align: 'end', label: 'Chart legend', children: _jsx(LegendList, { items: legend, tokens: tokens, className: 'flex-col items-start' }) })), actions] })] }), _jsx("div", { ref: bodyRef, className: 'min-w-0', "data-cb-chart-body": '', children: loading ? (_jsx(Skeleton, { className: 'w-full rounded-md', style: { height: plotHeight }, "data-cb-chart-skeleton": '' })) : emptyContent ? (_jsx("div", { className: 'flex w-full items-center justify-center rounded-md border border-dashed border-border', style: { height: plotHeight }, children: _jsx(EmptyState, { compact: true, title: emptyContent.title, description: emptyContent.description, action: emptyContent.action }) })) : (_jsx(ChartCardContext.Provider, { value: { legendInHeader: legend != null && legend.length > 0, height }, children: children })) })] }));
45
+ return (_jsxs(Surface, { ...rest, level: 'flat', pad: 'md', radius: 'lg', className: cn('flex min-w-0 flex-col gap-3', className), "data-cb-chart-card": '', children: [_jsxs("div", { className: 'flex min-w-0 flex-wrap items-start justify-between gap-x-4 gap-y-2', children: [_jsxs("div", { className: 'flex min-w-0 flex-col gap-0.5', children: [_jsx("h3", { className: 'truncate text-sm font-semibold text-foreground', children: title }), subtitle != null && _jsx("p", { className: 'truncate text-xs tabular-nums text-muted-foreground', children: subtitle })] }), _jsxs("div", { className: 'flex min-w-0 flex-wrap items-center justify-end gap-x-3 gap-y-2', children: [legend && legend.length > 0 && !foldLegend && _jsx(LegendList, { items: legend, tokens: tokens, className: 'justify-end' }), foldLegend && legend && (_jsx(Popover, { trigger: _jsx(Button, { variant: 'ghost', size: 'sm', tooltip: 'Show what each color is', tooltipMobile: 'off', children: `Legend · ${legend.length}` }), align: 'end', label: 'Chart legend', children: _jsx(LegendList, { items: legend, tokens: tokens, className: 'flex-col items-start' }) })), actions] })] }), _jsx("div", { ref: bodyRef, className: 'min-w-0', "data-cb-chart-body": '', children: loading ? (_jsx(Skeleton, { className: 'w-full rounded-md', style: { height: plotHeight }, "data-cb-chart-skeleton": '' })) : emptyContent ? (_jsx("div", { className: 'flex w-full items-center justify-center rounded-md border border-dashed border-border', style: { height: plotHeight }, children: _jsx(EmptyState, { compact: true, title: emptyContent.title, description: emptyContent.description, action: emptyContent.action }) })) : (_jsx(ChartCardContext.Provider, { value: { legendInHeader: legend != null && legend.length > 0, height }, children: children })) })] }));
46
46
  }
47
47
  //# sourceMappingURL=ChartCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartCard.js","sourceRoot":"","sources":["../../../src/react/charts/ChartCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkB,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAoC,cAAc,EAAE,MAAM,aAAa,CAAC;AAqC/E;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,IAAyB,EAAE,KAAa,EAAE,MAAmB;IACvF,OAAO,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAA6E;IACzH,OAAO,CACL,qCAAyB,EAAE,EAAC,SAAS,EAAE,EAAE,CAAC,uEAAuE,EAAE,SAAS,CAAC,YAC1H,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,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C,CACT,KAAC,QAAQ,IAAC,SAAS,EAAC,mBAAmB,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,4BAAyB,EAAE,GAAG,CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CACjB,cAAK,SAAS,EAAC,uFAAuF,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,YAClI,KAAC,UAAU,IAAC,OAAO,QAAC,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,MAAM,GAAI,GACjH,CACP,CAAC,CAAC,CAAC,CACF,KAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,IAAI,IAAI,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,EAAE,YAC9F,QAAQ,GACiB,CAC7B,GACG,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -22,5 +22,5 @@ export type ChartFrameProps = {
22
22
  * (a sidebar folding re-measures it) and derives the plot's shape and its marks' weight
23
23
  * from it — see `chartBox`. All wrappers below build on it.
24
24
  */
25
- export declare function ChartFrame({ ariaLabel, height, className, children }: ChartFrameProps): import("react").JSX.Element;
25
+ export declare function ChartFrame({ ariaLabel, height, className, children, ...rest }: ChartFrameProps): import("react").JSX.Element;
26
26
  //# sourceMappingURL=ChartFrame.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartFrame.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,KAAK,QAAQ,EAA8B,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,aAAa,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG;IAC5B,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,KAAK,YAAY,CAAC;CAChE,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAoBrF"}
1
+ {"version":3,"file":"ChartFrame.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,KAAK,QAAQ,EAA8B,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,aAAa,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG;IAC5B,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,KAAK,YAAY,CAAC;CAChE,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,+BAqB9F"}
@@ -13,12 +13,12 @@ import { useChartTokens } from './tokens.js';
13
13
  * (a sidebar folding re-measures it) and derives the plot's shape and its marks' weight
14
14
  * from it — see `chartBox`. All wrappers below build on it.
15
15
  */
16
- export function ChartFrame({ ariaLabel, height, className, children }) {
16
+ export function ChartFrame({ ariaLabel, height, className, children, ...rest }) {
17
17
  const ref = useRef(null);
18
18
  const tokens = useChartTokens(ref);
19
19
  const { width } = useElementSize(ref, { layout: true });
20
20
  const card = useContext(ChartCardContext);
21
21
  const box = chartBox(width, { height: height ?? card?.height, legendInHeader: card?.legendInHeader ?? false });
22
- return (_jsx("div", { ref: ref, role: 'img', "aria-label": ariaLabel, "data-cb-chart": '', "data-cb-chart-tier": box.tier, className: cn('w-full min-w-0', className), children: _jsx(ResponsiveContainer, { width: '100%', height: box.height, children: children(tokens, box) }) }));
22
+ return (_jsx("div", { ...rest, ref: ref, role: 'img', "aria-label": ariaLabel, "data-cb-chart": '', "data-cb-chart-tier": box.tier, className: cn('w-full min-w-0', className), children: _jsx(ResponsiveContainer, { width: '100%', height: box.height, children: children(tokens, box) }) }));
23
23
  }
24
24
  //# sourceMappingURL=ChartFrame.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartFrame.js","sourceRoot":"","sources":["../../../src/react/charts/ChartFrame.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAiB,gBAAgB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAoB,cAAc,EAAE,MAAM,aAAa,CAAC;AAgB/D;;;;;;;GAOG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAmB;IACpF,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IACnC,MAAM,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,IAA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,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACxD,MAAM,IAAI,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC1C,MAAM,GAAG,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,IAAI,KAAK,EAAE,CAAC,CAAC;IAC/G,OAAO,CACL,iBACM,IAAI,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,KAAK,gBACE,SAAS,mBACP,EAAE,wBACI,GAAG,CAAC,IAAI,EAC5B,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS,CAAC,YAE1C,KAAC,mBAAmB,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAE,GAAG,CAAC,MAAM,YACjD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,GACF,GAClB,CACP,CAAC;AACJ,CAAC"}
@@ -11,7 +11,7 @@ export type ChartLegendProps = {
11
11
  tokens?: ChartTokens;
12
12
  };
13
13
  /** A themed recharts legend: horizontal color chips that wrap on narrow widths. */
14
- export declare function ChartLegend({ payload, tokens }: ChartLegendProps): import("react").JSX.Element | null;
14
+ export declare function ChartLegend({ payload, tokens, ...rest }: ChartLegendProps): import("react").JSX.Element | null;
15
15
  /**
16
16
  * Build a `<Legend content={…}>` renderer bound to the chart's live tokens. Pair it with
17
17
  * `itemSorter={null}`: recharts 3 sorts legend items by name unless told not to, so a chart
@@ -1 +1 @@
1
- {"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,aAAa,CAAC;AAEhE,KAAK,UAAU,GAAG;IAAE,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IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,gCAE9E,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { FALLBACK_TOKENS } from './tokens.js';
3
3
  /** A themed recharts legend: horizontal color chips that wrap on narrow widths. */
4
- export function ChartLegend({ payload, tokens = FALLBACK_TOKENS }) {
4
+ export function ChartLegend({ payload, tokens = FALLBACK_TOKENS, ...rest }) {
5
5
  // A series drawn with `legendType='none'` (a band, a helper area) still arrives in recharts'
6
6
  // payload, marked `type: 'none'`; the default legend drops it and so must this one — the
7
7
  // time series listed its band's "hi" and a swatchless "lo" as series (forge task 2593).
8
8
  const items = payload?.filter((entry) => entry.type !== 'none') ?? [];
9
9
  if (!items.length)
10
10
  return null;
11
- return (_jsx("ul", { className: 'm-0 flex list-none flex-wrap items-center justify-center gap-x-4 gap-y-1 p-0 pt-2 text-xs', style: { color: tokens.foreground }, children: items.map((entry, i) => (_jsxs("li", { className: 'flex items-center gap-1.5', children: [_jsx("span", { className: 'inline-block h-2.5 w-2.5 shrink-0 rounded-xs', style: { backgroundColor: entry.color } }), _jsx("span", { children: entry.value })] }, typeof entry.value === 'string' || typeof entry.value === 'number'
11
+ return (_jsx("ul", { ...rest, className: 'm-0 flex list-none flex-wrap items-center justify-center gap-x-4 gap-y-1 p-0 pt-2 text-xs', style: { color: tokens.foreground }, children: items.map((entry, i) => (_jsxs("li", { className: 'flex items-center gap-1.5', children: [_jsx("span", { className: 'inline-block h-2.5 w-2.5 shrink-0 rounded-xs', style: { backgroundColor: entry.color } }), _jsx("span", { children: entry.value })] }, typeof entry.value === 'string' || typeof entry.value === 'number'
12
12
  ? String(entry.value)
13
13
  : String(entry.dataKey ?? i)))) }));
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChartLegend.js","sourceRoot":"","sources":["../../../src/react/charts/ChartLegend.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE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7 @@ export type ChartTooltipProps = {
21
21
  * lighter elevation in dark mode), with border + text from the tokens. Charts pass it
22
22
  * via `tooltipContent(tokens)`; standalone it falls back to the dark token set.
23
23
  */
24
- export declare function ChartTooltip({ active, payload, label, tokens, labelFormatter, valueFormatter, }: ChartTooltipProps): import("react").JSX.Element | null;
24
+ export declare function ChartTooltip({ active, payload, label, tokens, labelFormatter, valueFormatter, ...rest }: ChartTooltipProps): import("react").JSX.Element | null;
25
25
  /**
26
26
  * Build a `<Tooltip content={…}>` renderer bound to the chart's live tokens. recharts
27
27
  * hands the content fn loosely-typed props; we narrow to ChartTooltip's shape.
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTooltip.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,aAAa,CAAC;AAEhE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,SAAS,CAAC;IACvD,+BAA+B;IAC/B,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,SAAS,CAAC;CAC9D,CAAC;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AAM,KAAK,SAAS,CAAC;CAC9D,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAwB,EACxB,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACR,EAAE,iBAAiB,sCAuCnB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GAEvB,QAAQ,WAAW,EACnB,iBAAiB,iBAAiB,CAAC,gBAAgB,CAAC,EACpD,iBAAiB,iBAAiB,CAAC,gBAAgB,CAAC,MAErD,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,gCASnE,CAAC"}
@@ -5,10 +5,10 @@ import { FALLBACK_TOKENS } from './tokens.js';
5
5
  * lighter elevation in dark mode), with border + text from the tokens. Charts pass it
6
6
  * via `tooltipContent(tokens)`; standalone it falls back to the dark token set.
7
7
  */
8
- export function ChartTooltip({ active, payload, label, tokens = FALLBACK_TOKENS, labelFormatter, valueFormatter, }) {
8
+ export function ChartTooltip({ active, payload, label, tokens = FALLBACK_TOKENS, labelFormatter, valueFormatter, ...rest }) {
9
9
  if (!active || !payload?.length)
10
10
  return null;
11
- return (_jsxs("div", { className: 'rounded-lg px-3 py-2 text-xs shadow-[var(--shadow-popover)]', style: {
11
+ return (_jsxs("div", { ...rest, className: 'rounded-lg px-3 py-2 text-xs shadow-[var(--shadow-popover)]', style: {
12
12
  backgroundColor: tokens.surface,
13
13
  border: `1px solid ${tokens.border}`,
14
14
  color: tokens.foreground,
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTooltip.js","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAoBhE;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,MAAM,EACN,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Ac,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,GACpD,KARC,MAAM,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAStC,CACP,CAAC;gBACJ,CAAC,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GACzB,CACE,MAAmB,EACnB,cAAoD,EACpD,cAAoD,EACpD,EAAE,CACJ,CAAC,CAAmE,EAAE,EAAE,CAAC,CACvE,KAAC,YAAY,IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAChB,OAAO,EAAE,CAAC,CAAC,OAAuC,EAClD,KAAK,EAAE,CAAC,CAAC,KAAK,EACd,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC"}
1
+ {"version":3,"file":"ChartTooltip.js","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAoBhE;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,GAAG,eAAe,EACxB,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACW;IAClB,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,MAAM;QAAE,OAAO,IAAI,CAAC;IAC7C,OAAO,CACL,kBACM,IAAI,EACR,SAAS,EAAC,6DAA6D,EACvE,KAAK,EAAE;YACL,eAAe,EAAE,MAAM,CAAC,OAAO;YAC/B,MAAM,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE;YACpC,KAAK,EAAE,MAAM,CAAC,UAAU;SACzB,aAEA,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,IAAI,CACtC,cAAK,SAAS,EAAC,kBAAkB,YAC9B,cAAc,CAAC,CAAC,CAAC,cA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KAAK,EACd,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC"}
@@ -67,5 +67,5 @@ export declare function heatFraction(value: number, max: number): number;
67
67
  * real zero renders at the ramp's floor. A grid that paints them identically
68
68
  * says a sleeping host and an idle host are the same thing.
69
69
  */
70
- export declare function HeatmapChart({ cells, rows, columns, ariaLabel, tone, rowLabel, columnLabel, cellTitle, valueFormatter, max, cellHeight, legend, footnote, onCellClick, className, }: HeatmapChartProps): import("react").JSX.Element;
70
+ export declare function HeatmapChart({ cells, rows, columns, ariaLabel, tone, rowLabel, columnLabel, cellTitle, valueFormatter, max, cellHeight, legend, footnote, onCellClick, className, ...rest }: HeatmapChartProps): import("react").JSX.Element;
71
71
  //# sourceMappingURL=HeatmapChart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeatmapChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/HeatmapChart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAoB,KAAK,SAAS,EAA6B,MAAM,aAAa,CAAC;AAI1F,uFAAuF;AACvF,MAAM,MAAM,WAAW,GAAG;IACxB,kEAAkE;IAClE,GAAG,EAAE,MAAM,CAAC;IACZ,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,iFAAiF;IACjF,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,iCAAiC;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,kFAAkF;IAClF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,CAAC,G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ACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,IAAI,EACJ,OAAO,EACP,SAAS,EACT,IAAe,EACf,QAAmB,EACnB,WAAsB,EACtB,SAAS,EACT,cAAiC,EACjC,GAAG,EACH,UAAe,EACf,MAAa,EACb,QAAQ,EACR,WAAW,EACX,SAAS,EACT,GAAG,IAAI,EACR,EAAE,iBAAiB,+BAiGnB"}
@@ -41,7 +41,7 @@ export function heatFraction(value, max) {
41
41
  * real zero renders at the ramp's floor. A grid that paints them identically
42
42
  * says a sleeping host and an idle host are the same thing.
43
43
  */
44
- export function HeatmapChart({ cells, rows, columns, ariaLabel, tone = 'accent', rowLabel = (r) => r, columnLabel = (c) => c, cellTitle, valueFormatter = (v) => String(v), max, cellHeight = 18, legend = true, footnote, onCellClick, className, }) {
44
+ export function HeatmapChart({ cells, rows, columns, ariaLabel, tone = 'accent', rowLabel = (r) => r, columnLabel = (c) => c, cellTitle, valueFormatter = (v) => String(v), max, cellHeight = 18, legend = true, footnote, onCellClick, className, ...rest }) {
45
45
  const ref = useRef(null);
46
46
  const tokens = useChartTokens(ref);
47
47
  const hue = toneColor(tokens, tone);
@@ -51,7 +51,7 @@ export function HeatmapChart({ cells, rows, columns, ariaLabel, tone = 'accent',
51
51
  const bottom = observed.length > 0 ? Math.min(...observed) : 0;
52
52
  const title = (cell) => cellTitle?.(cell) ??
53
53
  `${rowLabel(cell.row)} · ${cell.column}: ${cell.value === null ? 'no data' : valueFormatter(cell.value)}`;
54
- return (_jsxs("div", { ref: ref, "data-cb-chart": '', className: cn('flex w-full min-w-0 flex-col gap-2', className), children: [_jsxs("div", { role: 'img', "aria-label": ariaLabel, className: 'grid min-w-0 gap-0.5',
54
+ return (_jsxs("div", { ...rest, ref: ref, "data-cb-chart": '', className: cn('flex w-full min-w-0 flex-col gap-2', className), children: [_jsxs("div", { role: 'img', "aria-label": ariaLabel, className: 'grid min-w-0 gap-0.5',
55
55
  // The row-label column is sized to its content; every data column shares
56
56
  // the remainder equally, so the grid fits its container at any width.
57
57
  style: { gridTemplateColumns: `auto repeat(${columns.length}, minmax(0, 1fr))` }, children: [_jsx("div", { "aria-hidden": true }), columns.map((column, i) => (_jsx("div", { "aria-hidden": true, className: 'cb-meta-label truncate text-center text-caption leading-none', children: columnLabel(column, i) }, column))), rows.map((row) => (_jsx(Row, { label: rowLabel(row), children: columns.map((column) => {