@trinityui/design-system 2.11.0 → 2.13.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 (518) hide show
  1. package/CHANGELOG.md +2209 -0
  2. package/CONTRIBUTING.md +180 -69
  3. package/LICENSE +21 -0
  4. package/MIGRATION.md +523 -21
  5. package/README.md +281 -120
  6. package/dist/IllustratedMessage.js +546 -1341
  7. package/dist/accessibility.d.ts +596 -18
  8. package/dist/accessibility.d.ts.map +1 -1
  9. package/dist/accessibility.js +458 -0
  10. package/dist/app-shell.js +17230 -9097
  11. package/dist/assets/index.d.ts +1 -1
  12. package/dist/charts.js +8507 -6059
  13. package/dist/color-contrast.d.ts +35 -0
  14. package/dist/color-contrast.d.ts.map +1 -0
  15. package/dist/commonjs-helpers.js +8 -0
  16. package/dist/component-color-references.d.ts +175 -0
  17. package/dist/component-color-references.d.ts.map +1 -0
  18. package/dist/components/AI/AIActions.d.ts +72 -12
  19. package/dist/components/AI/AIActions.d.ts.map +1 -1
  20. package/dist/components/AI/AIAvatar.d.ts +31 -3
  21. package/dist/components/AI/AIAvatar.d.ts.map +1 -1
  22. package/dist/components/AI/AIChainOfThought.d.ts +192 -72
  23. package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
  24. package/dist/components/AI/AIChainOfThought.types.d.ts +296 -34
  25. package/dist/components/AI/AIChainOfThought.types.d.ts.map +1 -1
  26. package/dist/components/AI/AIChainOfThought.utils.d.ts +25 -7
  27. package/dist/components/AI/AIChainOfThought.utils.d.ts.map +1 -1
  28. package/dist/components/AI/AIChat.d.ts +12 -0
  29. package/dist/components/AI/AIChat.d.ts.map +1 -1
  30. package/dist/components/AI/AIChatWelcome.d.ts +254 -0
  31. package/dist/components/AI/AIChatWelcome.d.ts.map +1 -0
  32. package/dist/components/AI/AIClarificationPrompt.d.ts +134 -0
  33. package/dist/components/AI/AIClarificationPrompt.d.ts.map +1 -0
  34. package/dist/components/AI/AIConfidenceBadge.d.ts +117 -0
  35. package/dist/components/AI/AIConfidenceBadge.d.ts.map +1 -0
  36. package/dist/components/AI/AIConfigContext.d.ts +100 -0
  37. package/dist/components/AI/AIConfigContext.d.ts.map +1 -0
  38. package/dist/components/AI/AIConfigProvider.d.ts +66 -0
  39. package/dist/components/AI/AIConfigProvider.d.ts.map +1 -0
  40. package/dist/components/AI/AIContainer.d.ts +80 -11
  41. package/dist/components/AI/AIContainer.d.ts.map +1 -1
  42. package/dist/components/AI/AIExplainability.d.ts +39 -5
  43. package/dist/components/AI/AIExplainability.d.ts.map +1 -1
  44. package/dist/components/AI/AIFeedbackControl.d.ts +113 -0
  45. package/dist/components/AI/AIFeedbackControl.d.ts.map +1 -0
  46. package/dist/components/AI/AIFeedbackForm.d.ts +117 -0
  47. package/dist/components/AI/AIFeedbackForm.d.ts.map +1 -0
  48. package/dist/components/AI/AIFeedbackHostContext.d.ts +16 -0
  49. package/dist/components/AI/AIFeedbackHostContext.d.ts.map +1 -0
  50. package/dist/components/AI/AILabel.d.ts +39 -6
  51. package/dist/components/AI/AILabel.d.ts.map +1 -1
  52. package/dist/components/AI/AIMessage.d.ts +337 -42
  53. package/dist/components/AI/AIMessage.d.ts.map +1 -1
  54. package/dist/components/AI/AIPlanReview.d.ts +194 -0
  55. package/dist/components/AI/AIPlanReview.d.ts.map +1 -0
  56. package/dist/components/AI/AIQueryDisclosure.d.ts +119 -0
  57. package/dist/components/AI/AIQueryDisclosure.d.ts.map +1 -0
  58. package/dist/components/AI/AIRelatedQuestions.d.ts +50 -11
  59. package/dist/components/AI/AIRelatedQuestions.d.ts.map +1 -1
  60. package/dist/components/AI/AIResponseRenderer.d.ts +133 -21
  61. package/dist/components/AI/AIResponseRenderer.d.ts.map +1 -1
  62. package/dist/components/AI/AIResponseSourcesContext.d.ts +83 -0
  63. package/dist/components/AI/AIResponseSourcesContext.d.ts.map +1 -0
  64. package/dist/components/AI/AIReviewItem.d.ts +142 -0
  65. package/dist/components/AI/AIReviewItem.d.ts.map +1 -0
  66. package/dist/components/AI/AISourceChip.d.ts +135 -0
  67. package/dist/components/AI/AISourceChip.d.ts.map +1 -0
  68. package/dist/components/AI/AISources.d.ts +91 -13
  69. package/dist/components/AI/AISources.d.ts.map +1 -1
  70. package/dist/components/AI/AISourcesPanel.d.ts +43 -7
  71. package/dist/components/AI/AISourcesPanel.d.ts.map +1 -1
  72. package/dist/components/AI/AITextBlock.d.ts +107 -17
  73. package/dist/components/AI/AITextBlock.d.ts.map +1 -1
  74. package/dist/components/AI/AITextBlock.parser.d.ts +153 -0
  75. package/dist/components/AI/AITextBlock.parser.d.ts.map +1 -0
  76. package/dist/components/AI/AIVerificationBadge.d.ts +94 -0
  77. package/dist/components/AI/AIVerificationBadge.d.ts.map +1 -0
  78. package/dist/components/AI/AIVisuals.d.ts +92 -23
  79. package/dist/components/AI/AIVisuals.d.ts.map +1 -1
  80. package/dist/components/AI/AIVoiceInput.d.ts +42 -11
  81. package/dist/components/AI/AIVoiceInput.d.ts.map +1 -1
  82. package/dist/components/AI/AIVoiceMode.d.ts +16 -2
  83. package/dist/components/AI/AIVoiceMode.d.ts.map +1 -1
  84. package/dist/components/AI/BlockErrorBoundary.d.ts +77 -0
  85. package/dist/components/AI/BlockErrorBoundary.d.ts.map +1 -0
  86. package/dist/components/AI/ChatHeader.d.ts +41 -4
  87. package/dist/components/AI/ChatHeader.d.ts.map +1 -1
  88. package/dist/components/AI/ChatHistoryList.d.ts +25 -12
  89. package/dist/components/AI/ChatHistoryList.d.ts.map +1 -1
  90. package/dist/components/AI/ChatThread.d.ts +263 -13
  91. package/dist/components/AI/ChatThread.d.ts.map +1 -1
  92. package/dist/components/AI/InThreadContext.d.ts +14 -0
  93. package/dist/components/AI/InThreadContext.d.ts.map +1 -0
  94. package/dist/components/AI/InsightEngine.d.ts +270 -46
  95. package/dist/components/AI/InsightEngine.d.ts.map +1 -1
  96. package/dist/components/AI/InsightEngineInput.d.ts +52 -5
  97. package/dist/components/AI/InsightEngineInput.d.ts.map +1 -1
  98. package/dist/components/AI/MessageActionButton.d.ts +72 -0
  99. package/dist/components/AI/MessageActionButton.d.ts.map +1 -0
  100. package/dist/components/AI/QueryInput.d.ts.map +1 -1
  101. package/dist/components/AI/UserAvatar.d.ts +50 -4
  102. package/dist/components/AI/UserAvatar.d.ts.map +1 -1
  103. package/dist/components/AI/UserMessage.d.ts +32 -3
  104. package/dist/components/AI/UserMessage.d.ts.map +1 -1
  105. package/dist/components/AI/blockRendererContext.d.ts +64 -0
  106. package/dist/components/AI/blockRendererContext.d.ts.map +1 -0
  107. package/dist/components/AI/hitlBlockRenderers.d.ts +48 -0
  108. package/dist/components/AI/hitlBlockRenderers.d.ts.map +1 -0
  109. package/dist/components/AI/index.d.ts +23 -6
  110. package/dist/components/AI/index.d.ts.map +1 -1
  111. package/dist/components/AI/moleculeBlockRenderers.d.ts +15 -0
  112. package/dist/components/AI/moleculeBlockRenderers.d.ts.map +1 -0
  113. package/dist/components/AI/planReviewBlockRenderer.d.ts +8 -0
  114. package/dist/components/AI/planReviewBlockRenderer.d.ts.map +1 -0
  115. package/dist/components/AI/strings/defaults.d.ts +31 -0
  116. package/dist/components/AI/strings/defaults.d.ts.map +1 -0
  117. package/dist/components/AI/tokens.d.ts +185 -20
  118. package/dist/components/AI/tokens.d.ts.map +1 -1
  119. package/dist/components/AI/types/hitl.d.ts +2294 -0
  120. package/dist/components/AI/types/hitl.d.ts.map +1 -0
  121. package/dist/components/AI/types/index.d.ts +2 -1
  122. package/dist/components/AI/types/index.d.ts.map +1 -1
  123. package/dist/components/AI/types/response.d.ts +428 -40
  124. package/dist/components/AI/types/response.d.ts.map +1 -1
  125. package/dist/components/AI/useBlockSources.d.ts +67 -0
  126. package/dist/components/AI/useBlockSources.d.ts.map +1 -0
  127. package/dist/components/AI/useBrowserVoiceMode.d.ts +31 -2
  128. package/dist/components/AI/useBrowserVoiceMode.d.ts.map +1 -1
  129. package/dist/components/AI/useWelcomeComposerHandoff.d.ts +30 -0
  130. package/dist/components/AI/useWelcomeComposerHandoff.d.ts.map +1 -0
  131. package/dist/components/AI/utils/alphaIndex.d.ts +19 -0
  132. package/dist/components/AI/utils/alphaIndex.d.ts.map +1 -0
  133. package/dist/components/AI/utils/blockReady.d.ts +54 -0
  134. package/dist/components/AI/utils/blockReady.d.ts.map +1 -0
  135. package/dist/components/AI/utils/blocks.d.ts +28 -0
  136. package/dist/components/AI/utils/blocks.d.ts.map +1 -0
  137. package/dist/components/AI/utils/confidence.d.ts +182 -0
  138. package/dist/components/AI/utils/confidence.d.ts.map +1 -0
  139. package/dist/components/AI/utils/filters.d.ts +31 -0
  140. package/dist/components/AI/utils/filters.d.ts.map +1 -0
  141. package/dist/components/AI/utils/responseText.d.ts +8 -0
  142. package/dist/components/AI/utils/responseText.d.ts.map +1 -0
  143. package/dist/components/AI/utils/sources.d.ts +110 -0
  144. package/dist/components/AI/utils/sources.d.ts.map +1 -0
  145. package/dist/components/AIDigestCard/AIDigestCard.d.ts.map +1 -1
  146. package/dist/components/AIDigestCard/types.d.ts +42 -5
  147. package/dist/components/AIDigestCard/types.d.ts.map +1 -1
  148. package/dist/components/AppLayout/AIFab.d.ts +33 -6
  149. package/dist/components/AppLayout/AIFab.d.ts.map +1 -1
  150. package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts.map +1 -1
  151. package/dist/components/AppLayout/AppLayout.d.ts +135 -7
  152. package/dist/components/AppLayout/AppLayout.d.ts.map +1 -1
  153. package/dist/components/AppLayout/InsightEnginePanel.d.ts +315 -21
  154. package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -1
  155. package/dist/components/AppLayout/ResizablePanel.d.ts +145 -8
  156. package/dist/components/AppLayout/ResizablePanel.d.ts.map +1 -1
  157. package/dist/components/AppLayout/ThreadHistorySidebar.d.ts +6 -0
  158. package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -1
  159. package/dist/components/AppLayout/index.d.ts +3 -3
  160. package/dist/components/AppLayout/index.d.ts.map +1 -1
  161. package/dist/components/AppLayout/insightEnginePanel.demo.d.ts +32 -0
  162. package/dist/components/AppLayout/insightEnginePanel.demo.d.ts.map +1 -0
  163. package/dist/components/AppLayout/panelPropsPath.d.ts +26 -0
  164. package/dist/components/AppLayout/panelPropsPath.d.ts.map +1 -0
  165. package/dist/components/AppLayout/panelResizeTransition.d.ts +49 -0
  166. package/dist/components/AppLayout/panelResizeTransition.d.ts.map +1 -0
  167. package/dist/components/AppLayout/toChatThreadMessage.d.ts +40 -0
  168. package/dist/components/AppLayout/toChatThreadMessage.d.ts.map +1 -0
  169. package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts +5 -1
  170. package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts.map +1 -1
  171. package/dist/components/AuditDrawer/AuditDrawer.d.ts +4 -3
  172. package/dist/components/AuditDrawer/AuditDrawer.d.ts.map +1 -1
  173. package/dist/components/AuditDrawer/index.d.ts +1 -1
  174. package/dist/components/AuditDrawer/index.d.ts.map +1 -1
  175. package/dist/components/AuditDrawer/types.d.ts +39 -5
  176. package/dist/components/AuditDrawer/types.d.ts.map +1 -1
  177. package/dist/components/Autocomplete/Autocomplete.d.ts +6 -1
  178. package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  179. package/dist/components/BulkActionDock/BulkActionDock.d.ts.map +1 -1
  180. package/dist/components/Carousel/Carousel.d.ts +10 -2
  181. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  182. package/dist/components/Charts/AreaChart.d.ts.map +1 -1
  183. package/dist/components/Charts/BarChart.d.ts.map +1 -1
  184. package/dist/components/Charts/ChartWrapper.d.ts.map +1 -1
  185. package/dist/components/Charts/ComposedChart.d.ts.map +1 -1
  186. package/dist/components/Charts/CustomLegend.d.ts +11 -2
  187. package/dist/components/Charts/CustomLegend.d.ts.map +1 -1
  188. package/dist/components/Charts/LineChart.d.ts.map +1 -1
  189. package/dist/components/Charts/PieChart.d.ts.map +1 -1
  190. package/dist/components/Charts/RadialChart.d.ts.map +1 -1
  191. package/dist/components/Charts/ScatterChart.d.ts.map +1 -1
  192. package/dist/components/Charts/Sparkline.d.ts.map +1 -1
  193. package/dist/components/Charts/gaugeGeometry.d.ts +35 -0
  194. package/dist/components/Charts/gaugeGeometry.d.ts.map +1 -0
  195. package/dist/components/Charts/highcharts.d.ts +23 -0
  196. package/dist/components/Charts/highcharts.d.ts.map +1 -0
  197. package/dist/components/Charts/highchartsUtils.d.ts +101 -6
  198. package/dist/components/Charts/highchartsUtils.d.ts.map +1 -1
  199. package/dist/components/Charts/index.d.ts +1 -1
  200. package/dist/components/Charts/index.d.ts.map +1 -1
  201. package/dist/components/Charts/tokens.d.ts +21 -0
  202. package/dist/components/Charts/tokens.d.ts.map +1 -1
  203. package/dist/components/Charts/types.d.ts +7 -7
  204. package/dist/components/Charts/types.d.ts.map +1 -1
  205. package/dist/components/ChipsInput/ChipsInput.d.ts.map +1 -1
  206. package/dist/components/ChoiceChips/ChoiceChips.d.ts +106 -0
  207. package/dist/components/ChoiceChips/ChoiceChips.d.ts.map +1 -0
  208. package/dist/components/ClearableTextField/ClearableTextField.d.ts +23 -2
  209. package/dist/components/ClearableTextField/ClearableTextField.d.ts.map +1 -1
  210. package/dist/components/CodeBlock/CodeBlock.d.ts +80 -0
  211. package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
  212. package/dist/components/Combobox/Combobox.d.ts +3 -2
  213. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  214. package/dist/components/CommandPalette/CommandPalette.d.ts +54 -3
  215. package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
  216. package/dist/components/CommandPalette/index.d.ts +1 -1
  217. package/dist/components/CommandPalette/index.d.ts.map +1 -1
  218. package/dist/components/CopyButton/CopyButton.d.ts +80 -0
  219. package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
  220. package/dist/components/DataCard/DataCard.d.ts +11 -1
  221. package/dist/components/DataCard/DataCard.d.ts.map +1 -1
  222. package/dist/components/DataTable/CellRenderers.d.ts +8 -11
  223. package/dist/components/DataTable/CellRenderers.d.ts.map +1 -1
  224. package/dist/components/DataTable/DataTable.d.ts +1 -1
  225. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  226. package/dist/components/DataTable/InlineAddRow.d.ts.map +1 -1
  227. package/dist/components/DataTable/columnContext.d.ts +8 -0
  228. package/dist/components/DataTable/columnContext.d.ts.map +1 -0
  229. package/dist/components/DataTable/index.d.ts +2 -2
  230. package/dist/components/DataTable/index.d.ts.map +1 -1
  231. package/dist/components/DataTable/labels.d.ts +13 -0
  232. package/dist/components/DataTable/labels.d.ts.map +1 -0
  233. package/dist/components/DataTable/types.d.ts +34 -0
  234. package/dist/components/DataTable/types.d.ts.map +1 -1
  235. package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  236. package/dist/components/DetailsPopover/DetailsPopover.d.ts +185 -0
  237. package/dist/components/DetailsPopover/DetailsPopover.d.ts.map +1 -0
  238. package/dist/components/DiffViewer/DiffViewer.d.ts +3 -2
  239. package/dist/components/DiffViewer/DiffViewer.d.ts.map +1 -1
  240. package/dist/components/Disclosure/Disclosure.d.ts +83 -0
  241. package/dist/components/Disclosure/Disclosure.d.ts.map +1 -0
  242. package/dist/components/DockLayout/DockLayout.d.ts +58 -0
  243. package/dist/components/DockLayout/DockLayout.d.ts.map +1 -1
  244. package/dist/components/DockLayout/index.d.ts +1 -1
  245. package/dist/components/DockLayout/index.d.ts.map +1 -1
  246. package/dist/components/DocumentCard/DocumentCard.d.ts +5 -1
  247. package/dist/components/DocumentCard/DocumentCard.d.ts.map +1 -1
  248. package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts +6 -2
  249. package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts.map +1 -1
  250. package/dist/components/FileUpload/FileUpload.d.ts +141 -6
  251. package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
  252. package/dist/components/FileUpload/index.d.ts +1 -1
  253. package/dist/components/FileUpload/index.d.ts.map +1 -1
  254. package/dist/components/FilterBar/FilterBar.d.ts +27 -1
  255. package/dist/components/FilterBar/FilterBar.d.ts.map +1 -1
  256. package/dist/components/FilterBar/index.d.ts +1 -1
  257. package/dist/components/FilterBar/index.d.ts.map +1 -1
  258. package/dist/components/FlowAutoLayout/useFlowAutoLayout.d.ts.map +1 -1
  259. package/dist/components/GanttView/GanttView.d.ts +24 -0
  260. package/dist/components/GanttView/GanttView.d.ts.map +1 -1
  261. package/dist/components/GanttView/types.d.ts +33 -7
  262. package/dist/components/GanttView/types.d.ts.map +1 -1
  263. package/dist/components/GaugeCard/GaugeCard.d.ts +4 -3
  264. package/dist/components/GaugeCard/GaugeCard.d.ts.map +1 -1
  265. package/dist/components/GaugeCard/geometry.d.ts +59 -0
  266. package/dist/components/GaugeCard/geometry.d.ts.map +1 -0
  267. package/dist/components/GeoStatusMap/GeoStatusMap.d.ts.map +1 -1
  268. package/dist/components/GeoStatusMap/types.d.ts +8 -5
  269. package/dist/components/GeoStatusMap/types.d.ts.map +1 -1
  270. package/dist/components/GoToTop/GoToTop.d.ts +1 -1
  271. package/dist/components/GoToTop/GoToTop.d.ts.map +1 -1
  272. package/dist/components/HierarchicalDrillDown/HierarchicalDrillDown.d.ts.map +1 -1
  273. package/dist/components/HistoricalDataIndicator/HistoricalDataIndicator.d.ts.map +1 -1
  274. package/dist/components/HtmlToMui/HtmlToMui.d.ts +32 -2
  275. package/dist/components/HtmlToMui/HtmlToMui.d.ts.map +1 -1
  276. package/dist/components/Icon.d.ts +567 -10
  277. package/dist/components/Icon.d.ts.map +1 -1
  278. package/dist/components/IllustratedMessage.d.ts +52 -3
  279. package/dist/components/IllustratedMessage.d.ts.map +1 -1
  280. package/dist/components/InlineEditableText/InlineEditableText.d.ts +117 -0
  281. package/dist/components/InlineEditableText/InlineEditableText.d.ts.map +1 -0
  282. package/dist/components/InsightCard/InsightCard.d.ts.map +1 -1
  283. package/dist/components/InsightCard/types.d.ts +10 -3
  284. package/dist/components/InsightCard/types.d.ts.map +1 -1
  285. package/dist/components/KeyValueList/KeyValueList.d.ts +94 -0
  286. package/dist/components/KeyValueList/KeyValueList.d.ts.map +1 -0
  287. package/dist/components/LandingPage/FeatureCard.d.ts +4 -0
  288. package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -1
  289. package/dist/components/LandingPage/LandingPage.d.ts +43 -4
  290. package/dist/components/LandingPage/LandingPage.d.ts.map +1 -1
  291. package/dist/components/LandingPage/heroTone.d.ts +54 -0
  292. package/dist/components/LandingPage/heroTone.d.ts.map +1 -0
  293. package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
  294. package/dist/components/MetaChip/MetaChip.d.ts +113 -0
  295. package/dist/components/MetaChip/MetaChip.d.ts.map +1 -0
  296. package/dist/components/Modal/Modal.d.ts +222 -20
  297. package/dist/components/Modal/Modal.d.ts.map +1 -1
  298. package/dist/components/Modal/index.d.ts +1 -1
  299. package/dist/components/Modal/index.d.ts.map +1 -1
  300. package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -1
  301. package/dist/components/OrgChart/OrgChart.d.ts +5 -0
  302. package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
  303. package/dist/components/OrgChart/types.d.ts +31 -7
  304. package/dist/components/OrgChart/types.d.ts.map +1 -1
  305. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +1 -1
  306. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts.map +1 -1
  307. package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
  308. package/dist/components/PageTOC/PageTOC.d.ts +2 -1
  309. package/dist/components/PageTOC/PageTOC.d.ts.map +1 -1
  310. package/dist/components/Popper/Popper.d.ts +80 -9
  311. package/dist/components/Popper/Popper.d.ts.map +1 -1
  312. package/dist/components/Popper/index.d.ts +1 -1
  313. package/dist/components/Popper/index.d.ts.map +1 -1
  314. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts +5 -1
  315. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
  316. package/dist/components/SandboxedIframeRenderer/SandboxedIframeRenderer.d.ts +48 -4
  317. package/dist/components/SandboxedIframeRenderer/SandboxedIframeRenderer.d.ts.map +1 -1
  318. package/dist/components/SearchInput/SearchInput.d.ts +49 -0
  319. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  320. package/dist/components/SearchInput/index.d.ts +1 -1
  321. package/dist/components/SearchInput/index.d.ts.map +1 -1
  322. package/dist/components/SimpleTable/SimpleTable.d.ts +11 -2
  323. package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -1
  324. package/dist/components/SplitPane/SplitPane.d.ts +2 -1
  325. package/dist/components/SplitPane/SplitPane.d.ts.map +1 -1
  326. package/dist/components/StatusHero/StatusHero.d.ts.map +1 -1
  327. package/dist/components/StatusIndicator/Badge.d.ts +6 -1
  328. package/dist/components/StatusIndicator/Badge.d.ts.map +1 -1
  329. package/dist/components/StatusIndicator/Chip.d.ts +3 -1
  330. package/dist/components/StatusIndicator/Chip.d.ts.map +1 -1
  331. package/dist/components/StatusIndicator/Indicators.d.ts +5 -1
  332. package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -1
  333. package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
  334. package/dist/components/StatusIndicator/StatusIndicator.d.ts +98 -4
  335. package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  336. package/dist/components/StatusIndicator/index.d.ts +2 -2
  337. package/dist/components/StatusIndicator/index.d.ts.map +1 -1
  338. package/dist/components/StatusIndicator/types.d.ts +48 -1
  339. package/dist/components/StatusIndicator/types.d.ts.map +1 -1
  340. package/dist/components/StepList/StepList.d.ts +80 -0
  341. package/dist/components/StepList/StepList.d.ts.map +1 -0
  342. package/dist/components/StepList/StepStatusMarker.d.ts +39 -0
  343. package/dist/components/StepList/StepStatusMarker.d.ts.map +1 -0
  344. package/dist/components/StepList/stepStatus.d.ts +30 -0
  345. package/dist/components/StepList/stepStatus.d.ts.map +1 -0
  346. package/dist/components/SystemBanner/SystemBanner.d.ts.map +1 -1
  347. package/dist/components/Timeline/Timeline.d.ts +57 -3
  348. package/dist/components/Timeline/Timeline.d.ts.map +1 -1
  349. package/dist/components/Timeline/index.d.ts +1 -1
  350. package/dist/components/Timeline/index.d.ts.map +1 -1
  351. package/dist/components/Timeline/timelineLabels.d.ts +70 -0
  352. package/dist/components/Timeline/timelineLabels.d.ts.map +1 -0
  353. package/dist/components/Toast/Toast.d.ts.map +1 -1
  354. package/dist/components/TopNavHeader.d.ts +6 -0
  355. package/dist/components/TopNavHeader.d.ts.map +1 -1
  356. package/dist/components/TopNavWithSidebar.d.ts +49 -1
  357. package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
  358. package/dist/components/Tour/Tour.d.ts +18 -1
  359. package/dist/components/Tour/Tour.d.ts.map +1 -1
  360. package/dist/components/TransferList/TransferList.d.ts +123 -4
  361. package/dist/components/TransferList/TransferList.d.ts.map +1 -1
  362. package/dist/components/TransferList/index.d.ts +1 -1
  363. package/dist/components/TransferList/index.d.ts.map +1 -1
  364. package/dist/components/TreeView/TreeView.d.ts +97 -8
  365. package/dist/components/TreeView/TreeView.d.ts.map +1 -1
  366. package/dist/components/TreeView/index.d.ts +1 -1
  367. package/dist/components/TreeView/index.d.ts.map +1 -1
  368. package/dist/components/TrinityLoader.d.ts.map +1 -1
  369. package/dist/components/icons/featherExtensions.d.ts +55 -0
  370. package/dist/components/icons/featherExtensions.d.ts.map +1 -0
  371. package/dist/components/icons/materialExtensions.d.ts +20 -0
  372. package/dist/components/icons/materialExtensions.d.ts.map +1 -0
  373. package/dist/components/internal/index.d.ts +87 -0
  374. package/dist/components/internal/index.d.ts.map +1 -1
  375. package/dist/components/navigation/MenuListWithHeading.d.ts +33 -0
  376. package/dist/components/navigation/MenuListWithHeading.d.ts.map +1 -0
  377. package/dist/components/navigation/clientSelectorLabels.d.ts +13 -0
  378. package/dist/components/navigation/clientSelectorLabels.d.ts.map +1 -0
  379. package/dist/components/navigation/components.d.ts +6 -0
  380. package/dist/components/navigation/components.d.ts.map +1 -1
  381. package/dist/components/shared/AsyncOutcomeAlert.d.ts +91 -0
  382. package/dist/components/shared/AsyncOutcomeAlert.d.ts.map +1 -0
  383. package/dist/components/shared/TrinityIconSvg.d.ts.map +1 -1
  384. package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -1
  385. package/dist/components/shared/bidi.d.ts +44 -0
  386. package/dist/components/shared/bidi.d.ts.map +1 -0
  387. package/dist/components/shared/bidiText.d.ts +25 -0
  388. package/dist/components/shared/bidiText.d.ts.map +1 -0
  389. package/dist/components/shared/containerQueries.d.ts +73 -0
  390. package/dist/components/shared/containerQueries.d.ts.map +1 -0
  391. package/dist/components/shared/createStringsContext.d.ts +69 -0
  392. package/dist/components/shared/createStringsContext.d.ts.map +1 -0
  393. package/dist/components/shared/direction.d.ts +46 -0
  394. package/dist/components/shared/direction.d.ts.map +1 -0
  395. package/dist/components/shared/focusTrap.d.ts +36 -0
  396. package/dist/components/shared/focusTrap.d.ts.map +1 -0
  397. package/dist/components/shared/getInitials.d.ts +29 -0
  398. package/dist/components/shared/getInitials.d.ts.map +1 -0
  399. package/dist/components/shared/headingLevel.d.ts +69 -0
  400. package/dist/components/shared/headingLevel.d.ts.map +1 -0
  401. package/dist/components/shared/mergeSlotProps.d.ts +50 -0
  402. package/dist/components/shared/mergeSlotProps.d.ts.map +1 -0
  403. package/dist/components/shared/mergeSx.d.ts +26 -0
  404. package/dist/components/shared/mergeSx.d.ts.map +1 -0
  405. package/dist/components/shared/motion.d.ts +110 -0
  406. package/dist/components/shared/motion.d.ts.map +1 -0
  407. package/dist/components/shared/occurrenceKeys.d.ts +23 -0
  408. package/dist/components/shared/occurrenceKeys.d.ts.map +1 -0
  409. package/dist/components/shared/primaryAction.d.ts +89 -0
  410. package/dist/components/shared/primaryAction.d.ts.map +1 -0
  411. package/dist/components/shared/resizeKeyboard.d.ts +68 -0
  412. package/dist/components/shared/resizeKeyboard.d.ts.map +1 -0
  413. package/dist/components/shared/rootProps.d.ts +117 -0
  414. package/dist/components/shared/rootProps.d.ts.map +1 -0
  415. package/dist/components/shared/safeContent.d.ts +136 -0
  416. package/dist/components/shared/safeContent.d.ts.map +1 -0
  417. package/dist/components/shared/targetSize.d.ts +64 -0
  418. package/dist/components/shared/targetSize.d.ts.map +1 -0
  419. package/dist/components/shared/useContainerInlineSize.d.ts +43 -0
  420. package/dist/components/shared/useContainerInlineSize.d.ts.map +1 -0
  421. package/dist/components/shared/useCopyAction.d.ts +35 -0
  422. package/dist/components/shared/useCopyAction.d.ts.map +1 -0
  423. package/dist/components/shared/useOverflow.d.ts +44 -0
  424. package/dist/components/shared/useOverflow.d.ts.map +1 -0
  425. package/dist/components/shared/useResizable.d.ts +106 -7
  426. package/dist/components/shared/useResizable.d.ts.map +1 -1
  427. package/dist/components/shared/warnDeprecated.d.ts +89 -15
  428. package/dist/components/shared/warnDeprecated.d.ts.map +1 -1
  429. package/dist/components/shared/zIndexRoles.d.ts +62 -0
  430. package/dist/components/shared/zIndexRoles.d.ts.map +1 -0
  431. package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts +213 -0
  432. package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts.map +1 -0
  433. package/dist/components/templates/AIReviewQueue/index.d.ts +2 -0
  434. package/dist/components/templates/AIReviewQueue/index.d.ts.map +1 -0
  435. package/dist/components/templates/Auth/AuthTemplate.d.ts.map +1 -1
  436. package/dist/components/templates/Auth/types.d.ts +4 -1
  437. package/dist/components/templates/Auth/types.d.ts.map +1 -1
  438. package/dist/components/templates/Catalog/CatalogTemplate.d.ts.map +1 -1
  439. package/dist/components/templates/ConnectorWizard/ConnectorWizardTemplate.d.ts.map +1 -1
  440. package/dist/components/templates/InsightsCenter/InsightsCenterTemplate.d.ts.map +1 -1
  441. package/dist/components/templates/IntegrationDetail/IntegrationDetailTemplate.d.ts.map +1 -1
  442. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +168 -10
  443. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
  444. package/dist/components/templates/ListDetail/index.d.ts +1 -1
  445. package/dist/components/templates/ListDetail/index.d.ts.map +1 -1
  446. package/dist/components/templates/ListDetail/listDetailLabels.d.ts +106 -0
  447. package/dist/components/templates/ListDetail/listDetailLabels.d.ts.map +1 -0
  448. package/dist/components/templates/Onboarding/OnboardingTemplate.d.ts.map +1 -1
  449. package/dist/components/templates/Settings/SettingsTemplate.d.ts +0 -3
  450. package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
  451. package/dist/components/templates/Wizard/WizardTemplate.d.ts +4 -1
  452. package/dist/components/templates/Wizard/WizardTemplate.d.ts.map +1 -1
  453. package/dist/components/templates/index.d.ts +2 -1
  454. package/dist/components/templates/index.d.ts.map +1 -1
  455. package/dist/data-table.d.ts +1 -1
  456. package/dist/data-table.d.ts.map +1 -1
  457. package/dist/data-table.js +1 -0
  458. package/dist/data-table2.js +13522 -13465
  459. package/dist/data.js +213 -194
  460. package/dist/elk.bundled.js +47371 -0
  461. package/dist/essentials.d.ts +3 -3
  462. package/dist/essentials.d.ts.map +1 -1
  463. package/dist/essentials.js +179 -147
  464. package/dist/focus-on-replace.js +49 -0
  465. package/dist/form.d.ts +26 -4
  466. package/dist/form.d.ts.map +1 -1
  467. package/dist/forms.js +575 -483
  468. package/dist/foundation.js +3704 -0
  469. package/dist/hooks/storageStore.d.ts +51 -0
  470. package/dist/hooks/storageStore.d.ts.map +1 -0
  471. package/dist/hooks/useAsyncAction.d.ts +65 -0
  472. package/dist/hooks/useAsyncAction.d.ts.map +1 -0
  473. package/dist/hooks/useDisclosure.d.ts +190 -0
  474. package/dist/hooks/useDisclosure.d.ts.map +1 -0
  475. package/dist/hooks/useFocusOnReplace.d.ts +95 -0
  476. package/dist/hooks/useFocusOnReplace.d.ts.map +1 -0
  477. package/dist/hooks/useTrinityPalette.d.ts +38 -40
  478. package/dist/hooks/useTrinityPalette.d.ts.map +1 -1
  479. package/dist/hooks.d.ts +44 -6
  480. package/dist/hooks.d.ts.map +1 -1
  481. package/dist/hooks.js +301 -0
  482. package/dist/index.d.ts +71 -26
  483. package/dist/index.d.ts.map +1 -1
  484. package/dist/index.js +13923 -60619
  485. package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts +203 -0
  486. package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts.map +1 -0
  487. package/dist/patterns/AICopilotPattern/index.d.ts +3 -0
  488. package/dist/patterns/AICopilotPattern/index.d.ts.map +1 -0
  489. package/dist/patterns/index.d.ts +15 -0
  490. package/dist/patterns/index.d.ts.map +1 -0
  491. package/dist/presets/analytics.d.ts +8 -1
  492. package/dist/presets/analytics.d.ts.map +1 -1
  493. package/dist/presets/crm.d.ts +8 -1
  494. package/dist/presets/crm.d.ts.map +1 -1
  495. package/dist/presets/index.d.ts +1 -1
  496. package/dist/presets/portal.d.ts +8 -1
  497. package/dist/presets/portal.d.ts.map +1 -1
  498. package/dist/safe-content.js +792 -0
  499. package/dist/theme-augmentation.d.ts +388 -0
  500. package/dist/theme-augmentation.d.ts.map +1 -0
  501. package/dist/theme.d.ts +116 -30
  502. package/dist/theme.d.ts.map +1 -1
  503. package/dist/theme.js +891 -436
  504. package/dist/token-color.d.ts +14 -0
  505. package/dist/token-color.d.ts.map +1 -0
  506. package/dist/token-merge.d.ts +56 -0
  507. package/dist/token-merge.d.ts.map +1 -0
  508. package/dist/token-serialization.d.ts +65 -0
  509. package/dist/token-serialization.d.ts.map +1 -0
  510. package/dist/tokens.d.ts +882 -13
  511. package/dist/tokens.d.ts.map +1 -1
  512. package/dist/tokens.js +21 -19
  513. package/dist/trinity.css +1077 -414
  514. package/package.json +111 -90
  515. package/dist/components/index.d.ts +0 -145
  516. package/dist/components/index.d.ts.map +0 -1
  517. package/dist/components/shared.d.ts +0 -92
  518. package/dist/components/shared.d.ts.map +0 -1
@@ -17,6 +17,8 @@
17
17
  */
18
18
  import React from 'react';
19
19
  import { SxProps, Theme } from '@mui/material';
20
+ import { type IconName } from '../Icon';
21
+ import type { TrinityStatusColor } from '../../theme-augmentation';
20
22
  import { StatusType, StatusSize, StatusShape } from './types';
21
23
  /**
22
24
  * Available display variants for the StatusIndicator
@@ -28,8 +30,27 @@ import { StatusType, StatusSize, StatusShape } from './types';
28
30
  * - `inline`: Text label with optional dot/icon prefix
29
31
  * - `badge`: Wraps children with a notification badge
30
32
  * - `differential`: Shows positive/negative value changes
33
+ *
34
+ * Exported from the package root and essentials.
35
+ *
36
+ * @since 2.13.0
31
37
  */
32
38
  export type StatusVariant = 'icon' | 'shape' | 'dot' | 'chip' | 'inline' | 'badge' | 'differential';
39
+ /**
40
+ * Colours that replace the status catalog's for one indicator (C-04): an alias of the theme's
41
+ * status colour role, so a resolver value fits as it is
42
+ * (`useTrinityPalette().status.success`, `getTrinityPalette(theme).verification.verified`).
43
+ *
44
+ * - Text and icons on the surface (inline, the icon-only icon) use `text`.
45
+ * - Graphics on the surface (the dot, the shape, the inline dot) use `border`.
46
+ * - Contained variants (the chip, the icon circle, the badge) use `background` with `text` on it;
47
+ * the chip's border is `border`.
48
+ *
49
+ * The differential ignores it: use `positiveColor` and `negativeColor`.
50
+ *
51
+ * @since 2.13.0
52
+ */
53
+ export type StatusIndicatorColors = TrinityStatusColor;
33
54
  /**
34
55
  * Base props shared across all variants
35
56
  */
@@ -44,10 +65,39 @@ interface BaseStatusProps {
44
65
  label?: string;
45
66
  /** Whether to show the label text */
46
67
  showLabel?: boolean;
47
- /** Custom MUI sx props */
68
+ /** Custom MUI sx props. Object, array and function forms all apply after the indicator's own styles. */
48
69
  sx?: SxProps<Theme>;
49
- /** Accessible label for screen readers */
70
+ /**
71
+ * Added to the root element's classes.
72
+ * @since 2.13.0
73
+ */
74
+ className?: string;
75
+ /**
76
+ * Replaces the status's catalog icon (icon, chip and inline variants), for example
77
+ * `icon="verified"`. Any `IconName` the Icon component renders.
78
+ * @since 2.13.0
79
+ */
80
+ icon?: IconName | (string & {});
81
+ /**
82
+ * Replaces the status's catalog colours: see {@link StatusIndicatorColors}.
83
+ * @since 2.13.0
84
+ */
85
+ colors?: StatusIndicatorColors;
86
+ /**
87
+ * The accessible name. On a variant without visible text (dot, icon-only, `showLabel={false}`)
88
+ * it replaces the label as the name; on a variant with visible text it renders the indicator
89
+ * as `role="img"` with this name. Not applied to the badge variant: name the wrapped control.
90
+ */
50
91
  'aria-label'?: string;
92
+ /**
93
+ * Makes the indicator a live region, so a change of its status or label is announced.
94
+ * `true` or `'polite'` is a polite `role="status"`; `'assertive'` is `role="alert"`.
95
+ * Default `false`: a static indicator is not announced (ADR-32). Ignored, with a development
96
+ * warning, on an interactive chip and on the badge variant: use `useAnnounce()` there.
97
+ *
98
+ * @since 2.13.0
99
+ */
100
+ live?: boolean | 'polite' | 'assertive';
51
101
  }
52
102
  /**
53
103
  * Props specific to 'icon' variant
@@ -140,10 +190,23 @@ interface DefaultVariantProps {
140
190
  variant?: undefined;
141
191
  iconOnly?: boolean;
142
192
  }
193
+ /** Every prop name a variant owns, so none of them reaches the root as an HTML attribute. */
194
+ declare const OWN_PROP_NAMES: readonly ["variant", "status", "size", "label", "showLabel", "sx", "className", "aria-label", "live", "icon", "colors", "iconOnly", "shape", "showOutline", "pulse", "showIcon", "onClick", "onDelete", "showDot", "children", "count", "dot", "max", "invisible", "value", "percentage", "currency", "showColor", "positiveColor", "negativeColor"];
143
195
  /**
144
- * Union type of all StatusIndicator props
196
+ * HTML attributes the root takes (ADR-04): `id`, `data-*`, `aria-*` and event handlers, spread on
197
+ * the root element of every variant (a div; the badge's root is a span). `role`, `aria-live`
198
+ * and the other owned attributes stay the indicator's: a consumer value is ignored, with a
199
+ * development warning. Since 2.13.0.
145
200
  */
146
- export type StatusIndicatorProps = BaseStatusProps & (IconVariantProps | ShapeVariantProps | DotVariantProps | ChipVariantProps | InlineVariantProps | BadgeVariantProps | DifferentialVariantProps | DefaultVariantProps);
201
+ type StatusIndicatorRootProps = Omit<React.HTMLAttributes<HTMLElement>, (typeof OWN_PROP_NAMES)[number] | 'color'>;
202
+ /**
203
+ * Union type of all StatusIndicator props. Exported from the package root and essentials.
204
+ *
205
+ * @since 2.13.0
206
+ */
207
+ export type StatusIndicatorProps = BaseStatusProps & (IconVariantProps | ShapeVariantProps | DotVariantProps | ChipVariantProps | InlineVariantProps | BadgeVariantProps | DifferentialVariantProps | DefaultVariantProps) & StatusIndicatorRootProps;
208
+ /** @internal */
209
+ export type StatusLive = boolean | 'polite' | 'assertive';
147
210
  /**
148
211
  * StatusIndicator - A unified, polymorphic status indicator component.
149
212
  *
@@ -179,5 +242,36 @@ export type StatusIndicatorProps = BaseStatusProps & (IconVariantProps | ShapeVa
179
242
  * <StatusIndicator variant="differential" value={12.5} percentage />
180
243
  */
181
244
  export declare const StatusIndicator: React.ForwardRefExoticComponent<StatusIndicatorProps & React.RefAttributes<HTMLElement>>;
245
+ /**
246
+ * Options only Trinity's own components pass (C-33). Not on any exported props type.
247
+ * @internal
248
+ */
249
+ export interface StatusIndicatorInternalOptions {
250
+ /**
251
+ * Hide the indicator from assistive technology (`aria-hidden`), for an indicator that repeats
252
+ * visible text beside it. `live` and the naming rules do not apply.
253
+ */
254
+ decorative?: boolean;
255
+ /**
256
+ * No role and no name of its own: for an indicator inside an element that names it, such as
257
+ * HistoricalDataIndicator's group around the legacy DifferentialIndicator. Its visible text is
258
+ * still read.
259
+ */
260
+ plain?: boolean;
261
+ /** Set by the engine when the consumer passes `aria-labelledby`. */
262
+ labelledBy?: boolean;
263
+ /**
264
+ * The icon variant renders spans only (phrasing content), for an indicator inside a button
265
+ * such as StepStatusMarker in a Disclosure trigger (D-36, D-44). The layout is unchanged.
266
+ */
267
+ inline?: boolean;
268
+ }
269
+ /**
270
+ * The one rendering engine behind StatusIndicator and the legacy primitives (IconIndicator,
271
+ * ShapeIndicator, StatusDot, StatusChip, InlineStatus, BadgeIndicator, DifferentialIndicator),
272
+ * which are adapters over it (C-33). Takes the internal options as well.
273
+ * @internal
274
+ */
275
+ export declare const InternalStatusIndicator: React.ForwardRefExoticComponent<(StatusIndicatorProps & StatusIndicatorInternalOptions) & React.RefAttributes<HTMLElement>>;
182
276
  export default StatusIndicator;
183
277
  //# sourceMappingURL=StatusIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIndicator/StatusIndicator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAML,OAAO,EACP,KAAK,EACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAA8B,MAAM,SAAS,CAAC;AAQ1F;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,GACP,cAAc,CAAC;AAMnB;;GAEG;AACH,UAAU,eAAe;IACvB,sCAAsC;IACtC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0BAA0B;IAC1B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,iBAAiB;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,gDAAgD;IAChD,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,+D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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,CACjD,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,wBAAwB,GACxB,mBAAmB,CACtB,CAAC;AAsTF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,eAAe,0FAqH1B,CAAC;AAMH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIndicator/StatusIndicator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAML,OAAO,EACP,KAAK,EAEN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,UAAU,EACV,UAAU,EACV,WAAW,EAKZ,MAAM,SAAS,CAAC;AAcjB;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,GACP,cAAc,CAAC;AAMnB;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAEvD;;GAEG;AACH,UAAU,eAAe;IACvB,sCAAsC;IACtC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,2EAA2E;IAC3E,MAAM,CAAC,E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G;AACH,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,CACjD,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,iBAAiB,GACjB,wBAAwB,GACxB,mBAAmB,CACtB,GAAG,wBAAwB,CAAC;AA2D7B,gBAAgB;AAChB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;AA0Z1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,eAAe,0FAI3B,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oEAAoE;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,6HAInC,CAAC;AA8MF,eAAe,eAAe,CAAC"}
@@ -9,8 +9,8 @@
9
9
  * @module StatusIndicator
10
10
  * @version 2.0.0
11
11
  */
12
- export { StatusIndicator, default as StatusIndicatorDefault, type StatusIndicatorProps, type StatusVariant, } from './StatusIndicator';
13
- export { type StatusType, type SeverityLevel, type StatusShape, type StatusSize, type StatusConfig, } from './types';
12
+ export { StatusIndicator, default as StatusIndicatorDefault, type StatusIndicatorProps, type StatusVariant, type StatusIndicatorColors, } from './StatusIndicator';
13
+ export { type StatusType, type SeverityLevel, type StatusShape, type StatusSize, type StatusConfig, type StatusColorMode, } from './types';
14
14
  /** @internal */
15
15
  export { statusConfigs } from './types';
16
16
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIndicator/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,EACL,eAAe,EAC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AU,CAAC;AAC3C,gBAAgB;AAChB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,gBAAgB;AAChB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,gBAAgB;AAChB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,gBAAgB;AAChB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,gBAAgB;AAChB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,gBAAgB;AAChB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAO3C,gBAAgB;AAChB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,gBAAgB;AAChB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,gBAAgB;AAChB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,gBAAgB;AAChB,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,gBAAgB;AAChB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,gBAAgB;AAChB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,gBAAgB;AAChB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGhD,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5F,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAK/E,OAAO,EACL,YAAY,EACZ,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,UAAU,CAAC"}
@@ -2,6 +2,7 @@
2
2
  * Status Indicator - Types and Configuration
3
3
  * Centralized type definitions and status configs
4
4
  */
5
+ import type { Theme } from '@mui/material/styles';
5
6
  export type StatusType = 'error' | 'critical' | 'failed' | 'rejected' | 'cancelled' | 'warning' | 'caution' | 'pending' | 'in-progress' | 'running' | 'success' | 'complete' | 'approved' | 'active' | 'enabled' | 'info' | 'new' | 'updated' | 'draft' | 'inactive' | 'disabled' | 'unknown' | 'beta' | 'experimental';
6
7
  export type SeverityLevel = 'high' | 'medium' | 'low' | 'info' | 'neutral';
7
8
  export type StatusShape = 'circle' | 'square' | 'diamond' | 'triangle' | 'hexagon';
@@ -25,7 +26,53 @@ export declare const sizeConfigs: Record<StatusSize, {
25
26
  /**
26
27
  * Get the configuration for a status type
27
28
  */
28
- export declare const getStatusConfig: (status: StatusType) => StatusConfig;
29
+ export type StatusColorMode = 'light' | 'dark';
30
+ export declare const getStatusConfig: (status: StatusType, mode?: StatusColorMode) => StatusConfig;
31
+ /**
32
+ * One status as a renderer draws it, read from the theme (C-02, ADR-03-R6).
33
+ *
34
+ * - `fill` and `onFill`: the contained fill (icon circle, chip, badge, dot, shape) and the
35
+ * text or icon on it.
36
+ * - `outline`: the darker ring a light fill declares (the warning family in light mode).
37
+ * - `surfaceText` and `surfaceIcon`: the status as text or an icon straight on the page,
38
+ * paper or elevated surface (4.5:1 for text, so 3:1 for the icon as well).
39
+ * - `icon`, `shape`, `label`, `severity`: the catalog's, the same in every theme.
40
+ *
41
+ * @internal
42
+ */
43
+ export interface StatusPresentation {
44
+ fill: string;
45
+ onFill: string;
46
+ outline?: string;
47
+ surfaceText: string;
48
+ surfaceIcon: string;
49
+ icon: string;
50
+ shape: StatusShape;
51
+ label: string;
52
+ severity: SeverityLevel;
53
+ }
54
+ /**
55
+ * The presentation of `status` under `theme`: colours from
56
+ * `getTrinityPalette(theme).indicator` (built from the merged token catalog, so token
57
+ * overrides reach it, with the dark roles in dark mode, and an MUI-derived fallback under a
58
+ * plain MUI theme), icon, shape, label and severity from the catalog. In a light Trinity theme
59
+ * the colours equal the catalog's (`statusConfigs`) bit for bit. No mode branch: the theme
60
+ * carries the mode.
61
+ *
62
+ * @internal
63
+ */
64
+ export declare function resolveStatusPresentation(status: StatusType, theme: Theme): StatusPresentation;
65
+ /**
66
+ * The differential's default colours: the success and critical on-surface roles (C-02): light
67
+ * #15803D and #DA1E28, dark #86EFAC and #FCA5A5. An explicit `positiveColor` or
68
+ * `negativeColor` still wins.
69
+ *
70
+ * @internal
71
+ */
72
+ export declare function resolveDifferentialDefaults(theme: Theme): {
73
+ positive: string;
74
+ negative: string;
75
+ };
29
76
  /**
30
77
  * Get all available status types
31
78
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIndicator/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,MAAM,MAAM,UAAU,GAElB,OAAO,GACP,UAAU,GACV,QAAQ,GACR,UAAU,GACV,WAAW,GAEX,SAAS,GACT,SAAS,GACT,SAAS,GACT,aAAa,GACb,SAAS,GAET,SAAS,GACT,UAAU,GACV,UAAU,GACV,QAAQ,GACR,SAAS,GAET,MAAM,GACN,KAAK,GACL,SAAS,GAET,OAAO,GACP,UAAU,GACV,UAAU,GACV,SAAS,GAET,MAAM,GACN,cAAc,CAAC;AAEnB,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;AAE3E,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAEnF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAMtD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;C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ACH,eAAO,MAAM,iBAAiB,QAAO,UAAU,EAAgD,CAAC;AAEhG;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,UAAU,aAAa,KAAG,UAAU,EAI5E,CAAC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @fileoverview StepList: a static ordered list of steps with an ordinal or a status marker
3
+ * (master-plan D-10, ADR-02 shared block).
4
+ * @module components/StepList/StepList
5
+ *
6
+ * @internal — not part of the public API; see ADR-02
7
+ *
8
+ * - An `<ol role="list">`: the role is owned and restores list semantics where
9
+ * `list-style: none` removes them (WebKit). Each `<li>` holds the marker, the label, the
10
+ * description, the meta, the content and the actions.
11
+ * - `marker="number"` (default) shows the ordinal, hidden from assistive technology because
12
+ * the list already announces positions; `start` is honoured. `marker="status"` renders
13
+ * {@link StepStatusMarker}: the catalog icon plus the status as text. `marker="none"` renders
14
+ * no marker.
15
+ * - Emphasis is never colour alone (ADR-33): the active step's label is weight 600 with a 2px
16
+ * inline-start rule in the resolver's `interactive.default`; an error step sits on
17
+ * `status.error.background` with `text.primary`; a pending label is `text.secondary`, never
18
+ * `text.disabled`.
19
+ * - `animateEntrance` (off by default) is a CSS entrance on the motion tokens that slides in
20
+ * from the inline start (a positive translateX right to left) and stops under reduced
21
+ * motion (`reducedMotion`, B-02's `REDUCED_MOTION_QUERY`), so server rendering never plays
22
+ * it before a JavaScript check.
23
+ * - Not interactive and not a live region: no keyboard model (keyboard-models.md (5), ADR-34),
24
+ * interactive content inside a step keeps its own keys.
25
+ * - Colours come from the resolver (`getTrinityPalette`, ADR-26), so a plain MUI theme works.
26
+ */
27
+ import * as React from 'react';
28
+ import { type SxProps, type Theme } from '@mui/material/styles';
29
+ import { type TrinitySlotProps } from '../shared/rootProps';
30
+ import { type StepListStatus } from './stepStatus';
31
+ /** One step. @internal */
32
+ export interface StepListItem {
33
+ /** Stable key. */
34
+ id: string;
35
+ /** The step's text. */
36
+ label: React.ReactNode;
37
+ /** The step's status, for `marker="status"` and the emphasis. Default `'pending'`. */
38
+ status?: StepListStatus;
39
+ /** Replaces the status text of this step, for example "Retrying". */
40
+ statusLabel?: string;
41
+ /** Secondary text under the label. */
42
+ description?: React.ReactNode;
43
+ /** Short metadata (a time, a count) beside the label. */
44
+ meta?: React.ReactNode;
45
+ /** Controls at the inline end of the step; they keep their own keyboard behaviour. */
46
+ actions?: React.ReactNode;
47
+ /** Any content under the step. */
48
+ content?: React.ReactNode;
49
+ }
50
+ /** The Trinity-owned parts of a step. @internal */
51
+ export type StepListSlot = 'item' | 'marker' | 'label' | 'description' | 'meta' | 'actions' | 'content';
52
+ /** StepList's own props. @internal */
53
+ export interface StepListOwnProps {
54
+ /** The steps, in order. */
55
+ items: readonly StepListItem[];
56
+ /** `'number'` (default) the ordinal, `'status'` the status marker, `'none'` no marker. */
57
+ marker?: 'number' | 'status' | 'none';
58
+ /** The first ordinal. Default `1`. */
59
+ start?: number;
60
+ /** Status texts by status, merged over the defaults ("Not started", "In progress", "Completed", "Needs attention", "Failed"). */
61
+ statusLabels?: Partial<Record<StepListStatus, string>>;
62
+ /** Default `'medium'`. */
63
+ size?: 'small' | 'medium';
64
+ /** Slide each step in on mount (staggered); stops under reduced motion. Default `false`. */
65
+ animateEntrance?: boolean;
66
+ /** Applied after the list's own styles; array and function forms work. */
67
+ sx?: SxProps<Theme>;
68
+ /** Added to the list's classes. */
69
+ className?: string;
70
+ /** Props for the parts of every step. */
71
+ slotProps?: Partial<Record<StepListSlot, TrinitySlotProps>>;
72
+ }
73
+ /** StepList's props: its own, plus the `<ol>`'s HTML attributes. @internal */
74
+ export type StepListProps = StepListOwnProps & Omit<React.OlHTMLAttributes<HTMLOListElement>, keyof StepListOwnProps>;
75
+ /**
76
+ * A static ordered list of steps.
77
+ * @internal
78
+ */
79
+ export declare const StepList: React.ForwardRefExoticComponent<StepListOwnProps & Omit<React.OlHTMLAttributes<HTMLOListElement>, keyof StepListOwnProps> & React.RefAttributes<HTMLOListElement>>;
80
+ //# sourceMappingURL=StepList.d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MAAM,CAAC;IACf,iIAAiI;IACjI,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;IACvD,0BAA0B;IAC1B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,4FAA4F;IAC5F,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,0EAA0E;IAC1E,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC;CAC7D;AAED,8EAA8E;AAC9E,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,MAAM,gBAAgB,CAAC,CAAC;AAOtH;;;GAGG;AACH,eAAO,MAAM,QAAQ,oKAwJnB,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @fileoverview StepStatusMarker: the status marker of one StepList step (master-plan D-10).
3
+ * @module components/StepList/StepStatusMarker
4
+ *
5
+ * @internal — not part of the public API; see ADR-02
6
+ *
7
+ * The status is text plus an icon shape, never colour alone (ADR-33): the repaired
8
+ * StatusIndicator icon (C-02..C-04), hidden from assistive technology, and the status as
9
+ * visually hidden text in sentence case. The vocabulary is in ./stepStatus.ts.
10
+ *
11
+ * `labelVisibility="none"` renders no text, for a trigger (D-23, D-36) that places the status
12
+ * text after its visible label so that its accessible name starts with the visible label
13
+ * (WCAG 2.5.3). The marker is spans only (phrasing content), so it may sit in a button (D-44).
14
+ */
15
+ import * as React from 'react';
16
+ import type { SxProps, Theme } from '@mui/material/styles';
17
+ import { type StepListStatus } from './stepStatus';
18
+ /** Props of {@link StepStatusMarker}. @internal */
19
+ export interface StepStatusMarkerProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
20
+ /** The step's status. */
21
+ status: StepListStatus;
22
+ /** The status text. Default: the status's default text. */
23
+ label?: string;
24
+ /**
25
+ * `'visually-hidden'` (default) renders the status text for assistive technology; `'none'`
26
+ * renders none, for a trigger that places the text after its visible label.
27
+ */
28
+ labelVisibility?: 'visually-hidden' | 'none';
29
+ /** Default `'medium'`. */
30
+ size?: 'small' | 'medium';
31
+ /** Applied after the marker's own styles. */
32
+ sx?: SxProps<Theme>;
33
+ }
34
+ /**
35
+ * The marker: the catalog icon (decorative) and the status text.
36
+ * @internal
37
+ */
38
+ export declare const StepStatusMarker: React.ForwardRefExoticComponent<StepStatusMarkerProps & React.RefAttributes<HTMLSpanElement>>;
39
+ //# sourceMappingURL=StepStatusMarker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepStatusMarker.d.ts","sourceRoot":"","sources":["../../../src/components/StepList/StepStatusMarker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EAAmD,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAEpG,mDAAmD;AACnD,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC;IACpG,yBAAyB;IACzB,MAAM,EAAE,cAAc,CAAC;IACvB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,eAAe,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;IAC7C,0BAA0B;IAC1B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,6CAA6C;IAC7C,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,+FAiB3B,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @fileoverview The step statuses of StepList: their StatusIndicator catalog icons and their
3
+ * default texts (master-plan D-10).
4
+ * @module components/StepList/stepStatus
5
+ *
6
+ * @internal — not part of the public API; see ADR-02
7
+ *
8
+ * The icon vocabulary is the StatusIndicator catalog (OD-D11 (a), the recommended option; the
9
+ * owner's design sign-off is pending). If design rejects it, only STEP_STATUS_CATALOG changes
10
+ * (first fallback (a2): `pending` as `inactive`), with no API change.
11
+ *
12
+ * | Step status | Catalog status | Default text |
13
+ * |---|---|---|
14
+ * | `pending` | `pending` (clock) | Not started |
15
+ * | `active` | `in-progress` (refresh) | In progress |
16
+ * | `completed` | `complete` (check) | Completed |
17
+ * | `warning` | `warning` | Needs attention |
18
+ * | `error` | `error` | Failed |
19
+ */
20
+ import type { StatusType } from '../StatusIndicator/types';
21
+ /** The status of one step. @internal */
22
+ export type StepListStatus = 'pending' | 'active' | 'completed' | 'warning' | 'error';
23
+ /** The StatusIndicator catalog status each step status draws (OD-D11 (a)). @internal */
24
+ export declare const STEP_STATUS_CATALOG: Readonly<Record<StepListStatus, StatusType>>;
25
+ /**
26
+ * The default status texts, in sentence case (MICROCOPY). The catalog's Title Case labels
27
+ * ("In Progress") are never used as step text. @internal
28
+ */
29
+ export declare const DEFAULT_STEP_STATUS_LABELS: Readonly<Record<StepListStatus, string>>;
30
+ //# sourceMappingURL=stepStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepStatus.d.ts","sourceRoot":"","sources":["../../../src/components/StepList/stepStatus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,wCAAwC;AACxC,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAEtF,wFAAwF;AACxF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,cAAc,EAAE,UAAU,CAAC,CAM5E,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAM/E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SystemBanner.d.ts","sourceRoot":"","sources":["../../../src/components/SystemBanner/SystemBanner.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,SAAS,CAAC;AAwDvE,eAAO,MAAM,YAAY,0FA+ExB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"SystemBanner.d.ts","sourceRoot":"","sources":["../../../src/components/SystemBanner/SystemBanner.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,SAAS,CAAC;AA+DvE,eAAO,MAAM,YAAY,0FA2FxB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -11,6 +11,9 @@
11
11
  * ```
12
12
  */
13
13
  import * as React from 'react';
14
+ import { type HeadingLevel } from '../shared/headingLevel';
15
+ import { type TimelineLabels } from './timelineLabels';
16
+ export type { TimelineLabels } from './timelineLabels';
14
17
  export type TimelineVariant = 'default' | 'compact' | 'detailed';
15
18
  export type TimelineItemType = 'default' | 'success' | 'warning' | 'error' | 'info';
16
19
  export interface TimelineItem {
@@ -61,11 +64,31 @@ export interface TimelineProps {
61
64
  showConnector?: boolean;
62
65
  /** Alternate sides (for detailed variant) */
63
66
  alternate?: boolean;
64
- /** Custom render function for items */
67
+ /**
68
+ * Custom render function for items. Timeline wraps each result in the list item
69
+ * (`<li key={item.id}>`) itself, with the item's type text; date-group headings are
70
+ * Timeline's own and are not passed here. `index` is the item's position in the rendered
71
+ * sequence, date-group headings included.
72
+ */
65
73
  renderItem?: (item: TimelineItem, index: number) => React.ReactNode;
66
- /** Group items by date */
74
+ /**
75
+ * Group items by date. Each group is a heading (`groupHeadingLevel`) followed by its own
76
+ * ordered list.
77
+ */
67
78
  groupByDate?: boolean;
68
- /** Callback when item is clicked */
79
+ /**
80
+ * Heading level of the date-group labels (`groupByDate`, or items with `isGroupHeader`).
81
+ * They keep their caption style at every level.
82
+ * @default 3
83
+ * @since 2.13.0
84
+ */
85
+ groupHeadingLevel?: HeadingLevel;
86
+ /**
87
+ * Callback when an item is activated. An item without expandable content then has a
88
+ * primary action: a button that covers the item, named by its title, reachable with Tab
89
+ * and run by Enter and Space (B-25). An expandable item expands instead; its "Show details"
90
+ * button is the keyboard path.
91
+ */
69
92
  onItemClick?: (item: TimelineItem) => void;
70
93
  /** Show "Load more" button */
71
94
  showLoadMore?: boolean;
@@ -77,6 +100,35 @@ export interface TimelineProps {
77
100
  emptyMessage?: string;
78
101
  /** Max height with scroll */
79
102
  maxHeight?: number | string;
103
+ /**
104
+ * Locale of the date-group labels (`groupByDate`), as a BCP 47 tag.
105
+ * The default keeps server and client markup identical; pass the user's locale
106
+ * (for example `useAILocale()` or `navigator.language` read after mount) to localize.
107
+ * @default 'en-US'
108
+ * @since 2.13.0
109
+ */
110
+ locale?: string;
111
+ /**
112
+ * IANA time zone that decides which day an item belongs to (`groupByDate`).
113
+ * Without it the runtime's zone is used, so a server and a browser in different zones
114
+ * can group an item under different days: server-rendered apps should pass one.
115
+ * @default undefined (the runtime's time zone)
116
+ * @since 2.13.0
117
+ */
118
+ timeZone?: string;
119
+ /**
120
+ * Formats the label of a date group (`groupByDate`). Called with each valid item date;
121
+ * items whose timestamp is not a valid date go under `labels.unknownDate`. Items are grouped
122
+ * by the returned string. Overrides `locale` and `timeZone` for the label text.
123
+ * @since 2.13.0
124
+ */
125
+ formatGroupLabel?: (date: Date) => string;
126
+ /**
127
+ * Overrides for Timeline's built-in strings (any subset; NAMING.md "Label overrides"). Keys
128
+ * you leave out keep their English defaults (see {@link TimelineLabels}).
129
+ * @since 2.13.0
130
+ */
131
+ labels?: Partial<TimelineLabels>;
80
132
  }
81
133
  export declare const TimelineItemComponent: React.FC<{
82
134
  item: TimelineItem;
@@ -84,6 +136,8 @@ export declare const TimelineItemComponent: React.FC<{
84
136
  showConnector: boolean;
85
137
  isLast: boolean;
86
138
  onClick?: (item: TimelineItem) => void;
139
+ /** Resolved strings; Timeline passes its `labels` merged over the defaults. */
140
+ labels?: TimelineLabels;
87
141
  }>;
88
142
  export declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>>;
89
143
  //# sourceMappingURL=Timeline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/Timeline.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AACjE,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpF,MAAM,WAAW,YAAY;IAC3B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAo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MAAM,IAAI,CAAC;IACxB,yBAAyB;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IAC1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,eAAe,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACvC,+EAA+E;IAC/E,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB,CA8QA,CAAC;AAoBF,eAAO,MAAM,QAAQ,sFAuKnB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { Timeline, type TimelineProps, type TimelineItem, TimelineItemComponent } from './Timeline';
1
+ export { Timeline, type TimelineProps, type TimelineItem, type TimelineLabels, TimelineItemComponent } from './Timeline';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,70 @@
1
+ /**
2
+ * @fileoverview Timeline's overridable strings and their English defaults (B-25, H-44, NAMING.md
3
+ * "Label overrides (non-AI)", H-47).
4
+ * @module components/Timeline/timelineLabels
5
+ */
6
+ import type { TimelineItemType } from './Timeline';
7
+ /**
8
+ * Strings Timeline renders. Pass a partial object to `labels`; keys you leave out (or set to
9
+ * `undefined`) keep their English defaults.
10
+ *
11
+ * @since 2.13.0
12
+ */
13
+ export interface TimelineLabels {
14
+ /**
15
+ * Name and tooltip of an expandable item's button while the item is collapsed.
16
+ * @default 'Show details'
17
+ */
18
+ expandDetails: string;
19
+ /**
20
+ * Name and tooltip of an expandable item's button while the item is expanded.
21
+ * @default 'Hide details'
22
+ */
23
+ collapseDetails: string;
24
+ /**
25
+ * Visible caption under an item's title in the detailed variant, naming who acted.
26
+ * @default ({ actor }) => `by ${actor}`
27
+ */
28
+ actorPrefix: (args: {
29
+ actor: string;
30
+ }) => string;
31
+ /**
32
+ * Group label for items whose `timestamp` is not a valid date (with `groupByDate`).
33
+ * @default 'Unknown date'
34
+ */
35
+ unknownDate: string;
36
+ /**
37
+ * Text of the load-more button (`showLoadMore` with `onLoadMore`).
38
+ * @default 'Load more'
39
+ */
40
+ loadMore: string;
41
+ /**
42
+ * Text of the load-more button while `loadingMore` is true.
43
+ * @default 'Loading...'
44
+ */
45
+ loadingMore: string;
46
+ /**
47
+ * Visually hidden text read before each item that has a `type`, so the type is not conveyed by
48
+ * the dot or icon color alone (WCAG 1.4.1). A type without an entry here gets no text; keys you
49
+ * pass are merged over the defaults one by one.
50
+ * @default { success: 'Success', warning: 'Warning', error: 'Error', info: 'Info' }
51
+ */
52
+ types: Partial<Record<TimelineItemType, string>>;
53
+ }
54
+ /**
55
+ * English defaults for {@link TimelineLabels}.
56
+ * @internal
57
+ */
58
+ export declare const DEFAULT_TIMELINE_LABELS: TimelineLabels;
59
+ /**
60
+ * Merges the consumer's partial labels over the defaults. A key set to `undefined` keeps its
61
+ * default.
62
+ * @internal
63
+ */
64
+ export declare function resolveTimelineLabels(overrides: Partial<TimelineLabels> | undefined): TimelineLabels;
65
+ /**
66
+ * The hidden type text for an item, or undefined for an untyped item or a type without a label.
67
+ * @internal
68
+ */
69
+ export declare function timelineTypeLabel(labels: TimelineLabels, type: TimelineItemType | undefined): string | undefined;
70
+ //# sourceMappingURL=timelineLabels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timelineLabels.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/timelineLabels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,WAAW,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IACjD;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,CAAC;CAClD;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,cAQrC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,cAAc,CAWpG;AAMD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,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