@appcircle/mosaic 0.0.0-stage → 1.0.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 (357) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +90 -2
  3. package/dist/blocks/AISummary/AISummary.d.ts +92 -0
  4. package/dist/blocks/AISummary/AISummary.d.ts.map +1 -0
  5. package/dist/blocks/AISummary/index.d.ts +3 -0
  6. package/dist/blocks/AISummary/index.d.ts.map +1 -0
  7. package/dist/blocks/ActiveProcessPanel/ActiveProcessPanel.d.ts +95 -0
  8. package/dist/blocks/ActiveProcessPanel/ActiveProcessPanel.d.ts.map +1 -0
  9. package/dist/blocks/ActiveProcessPanel/index.d.ts +3 -0
  10. package/dist/blocks/ActiveProcessPanel/index.d.ts.map +1 -0
  11. package/dist/blocks/AppcircleLayout/AppcircleLayout.d.ts +52 -0
  12. package/dist/blocks/AppcircleLayout/AppcircleLayout.d.ts.map +1 -0
  13. package/dist/blocks/AppcircleLayout/index.d.ts +3 -0
  14. package/dist/blocks/AppcircleLayout/index.d.ts.map +1 -0
  15. package/dist/blocks/BuildBranchList/BuildBranchList.d.ts +169 -0
  16. package/dist/blocks/BuildBranchList/BuildBranchList.d.ts.map +1 -0
  17. package/dist/blocks/BuildBranchList/index.d.ts +3 -0
  18. package/dist/blocks/BuildBranchList/index.d.ts.map +1 -0
  19. package/dist/blocks/BuildProfileHeader/BuildProfileHeader.d.ts +175 -0
  20. package/dist/blocks/BuildProfileHeader/BuildProfileHeader.d.ts.map +1 -0
  21. package/dist/blocks/BuildProfileHeader/index.d.ts +3 -0
  22. package/dist/blocks/BuildProfileHeader/index.d.ts.map +1 -0
  23. package/dist/blocks/BuildTriggerCard/BuildTriggerCard.d.ts +64 -0
  24. package/dist/blocks/BuildTriggerCard/BuildTriggerCard.d.ts.map +1 -0
  25. package/dist/blocks/BuildTriggerCard/index.d.ts +3 -0
  26. package/dist/blocks/BuildTriggerCard/index.d.ts.map +1 -0
  27. package/dist/blocks/BuildVariableGroupsLayout/BuildVariableGroupsLayout.d.ts +81 -0
  28. package/dist/blocks/BuildVariableGroupsLayout/BuildVariableGroupsLayout.d.ts.map +1 -0
  29. package/dist/blocks/BuildVariableGroupsLayout/index.d.ts +3 -0
  30. package/dist/blocks/BuildVariableGroupsLayout/index.d.ts.map +1 -0
  31. package/dist/blocks/DashboardSummary/DashboardSummary.d.ts +82 -0
  32. package/dist/blocks/DashboardSummary/DashboardSummary.d.ts.map +1 -0
  33. package/dist/blocks/DashboardSummary/index.d.ts +3 -0
  34. package/dist/blocks/DashboardSummary/index.d.ts.map +1 -0
  35. package/dist/blocks/Directory/Directory.d.ts +53 -0
  36. package/dist/blocks/Directory/Directory.d.ts.map +1 -0
  37. package/dist/blocks/Directory/index.d.ts +3 -0
  38. package/dist/blocks/Directory/index.d.ts.map +1 -0
  39. package/dist/blocks/ManagedListPanel/ManagedListPanel.d.ts +283 -0
  40. package/dist/blocks/ManagedListPanel/ManagedListPanel.d.ts.map +1 -0
  41. package/dist/blocks/ManagedListPanel/index.d.ts +3 -0
  42. package/dist/blocks/ManagedListPanel/index.d.ts.map +1 -0
  43. package/dist/blocks/NotificationCenter/NotificationCenter.d.ts +98 -0
  44. package/dist/blocks/NotificationCenter/NotificationCenter.d.ts.map +1 -0
  45. package/dist/blocks/NotificationCenter/index.d.ts +3 -0
  46. package/dist/blocks/NotificationCenter/index.d.ts.map +1 -0
  47. package/dist/blocks/Onboarding/Onboarding.d.ts +82 -0
  48. package/dist/blocks/Onboarding/Onboarding.d.ts.map +1 -0
  49. package/dist/blocks/Onboarding/index.d.ts +3 -0
  50. package/dist/blocks/Onboarding/index.d.ts.map +1 -0
  51. package/dist/blocks/OrganizationSwitcher/OrganizationSwitcher.d.ts +83 -0
  52. package/dist/blocks/OrganizationSwitcher/OrganizationSwitcher.d.ts.map +1 -0
  53. package/dist/blocks/OrganizationSwitcher/index.d.ts +3 -0
  54. package/dist/blocks/OrganizationSwitcher/index.d.ts.map +1 -0
  55. package/dist/blocks/PlanCard/PlanCard.d.ts +69 -0
  56. package/dist/blocks/PlanCard/PlanCard.d.ts.map +1 -0
  57. package/dist/blocks/PlanCard/index.d.ts +3 -0
  58. package/dist/blocks/PlanCard/index.d.ts.map +1 -0
  59. package/dist/blocks/ProfileCard/ProfileCard.d.ts +211 -0
  60. package/dist/blocks/ProfileCard/ProfileCard.d.ts.map +1 -0
  61. package/dist/blocks/ProfileCard/ProfileMark.d.ts +36 -0
  62. package/dist/blocks/ProfileCard/ProfileMark.d.ts.map +1 -0
  63. package/dist/blocks/ProfileCard/index.d.ts +5 -0
  64. package/dist/blocks/ProfileCard/index.d.ts.map +1 -0
  65. package/dist/blocks/ReportFilterBar/ReportFilterBar.d.ts +255 -0
  66. package/dist/blocks/ReportFilterBar/ReportFilterBar.d.ts.map +1 -0
  67. package/dist/blocks/ReportFilterBar/index.d.ts +3 -0
  68. package/dist/blocks/ReportFilterBar/index.d.ts.map +1 -0
  69. package/dist/blocks/RestrictedArea/RestrictedArea.d.ts +57 -0
  70. package/dist/blocks/RestrictedArea/RestrictedArea.d.ts.map +1 -0
  71. package/dist/blocks/RestrictedArea/index.d.ts +3 -0
  72. package/dist/blocks/RestrictedArea/index.d.ts.map +1 -0
  73. package/dist/blocks/SearchLayout/SearchLayout.d.ts +118 -0
  74. package/dist/blocks/SearchLayout/SearchLayout.d.ts.map +1 -0
  75. package/dist/blocks/SearchLayout/index.d.ts +3 -0
  76. package/dist/blocks/SearchLayout/index.d.ts.map +1 -0
  77. package/dist/blocks/UpgradeDialog/UpgradeDialog.d.ts +46 -0
  78. package/dist/blocks/UpgradeDialog/UpgradeDialog.d.ts.map +1 -0
  79. package/dist/blocks/UpgradeDialog/index.d.ts +3 -0
  80. package/dist/blocks/UpgradeDialog/index.d.ts.map +1 -0
  81. package/dist/blocks/VersionIdentity/VersionIdentity.d.ts +29 -0
  82. package/dist/blocks/VersionIdentity/VersionIdentity.d.ts.map +1 -0
  83. package/dist/blocks/VersionIdentity/index.d.ts +3 -0
  84. package/dist/blocks/VersionIdentity/index.d.ts.map +1 -0
  85. package/dist/components/Alert/Alert.d.ts +87 -0
  86. package/dist/components/Alert/Alert.d.ts.map +1 -0
  87. package/dist/components/Alert/index.d.ts +3 -0
  88. package/dist/components/Alert/index.d.ts.map +1 -0
  89. package/dist/components/Avatar/Avatar.d.ts +37 -0
  90. package/dist/components/Avatar/Avatar.d.ts.map +1 -0
  91. package/dist/components/Avatar/index.d.ts +3 -0
  92. package/dist/components/Avatar/index.d.ts.map +1 -0
  93. package/dist/components/Badge/Badge.d.ts +55 -0
  94. package/dist/components/Badge/Badge.d.ts.map +1 -0
  95. package/dist/components/Badge/index.d.ts +3 -0
  96. package/dist/components/Badge/index.d.ts.map +1 -0
  97. package/dist/components/Button/Button.d.ts +191 -0
  98. package/dist/components/Button/Button.d.ts.map +1 -0
  99. package/dist/components/Button/CopyButton.d.ts +43 -0
  100. package/dist/components/Button/CopyButton.d.ts.map +1 -0
  101. package/dist/components/Button/IconButton.d.ts +70 -0
  102. package/dist/components/Button/IconButton.d.ts.map +1 -0
  103. package/dist/components/Button/index.d.ts +7 -0
  104. package/dist/components/Button/index.d.ts.map +1 -0
  105. package/dist/components/Calendar/Calendar.d.ts +99 -0
  106. package/dist/components/Calendar/Calendar.d.ts.map +1 -0
  107. package/dist/components/Calendar/index.d.ts +3 -0
  108. package/dist/components/Calendar/index.d.ts.map +1 -0
  109. package/dist/components/Card/Card.d.ts +85 -0
  110. package/dist/components/Card/Card.d.ts.map +1 -0
  111. package/dist/components/Card/index.d.ts +3 -0
  112. package/dist/components/Card/index.d.ts.map +1 -0
  113. package/dist/components/CardGrid/CardGrid.d.ts +28 -0
  114. package/dist/components/CardGrid/CardGrid.d.ts.map +1 -0
  115. package/dist/components/CardGrid/index.d.ts +3 -0
  116. package/dist/components/CardGrid/index.d.ts.map +1 -0
  117. package/dist/components/Checkbox/Checkbox.d.ts +64 -0
  118. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  119. package/dist/components/Checkbox/index.d.ts +3 -0
  120. package/dist/components/Checkbox/index.d.ts.map +1 -0
  121. package/dist/components/Collapsible/Collapsible.d.ts +34 -0
  122. package/dist/components/Collapsible/Collapsible.d.ts.map +1 -0
  123. package/dist/components/Collapsible/index.d.ts +3 -0
  124. package/dist/components/Collapsible/index.d.ts.map +1 -0
  125. package/dist/components/Combobox/Combobox.d.ts +126 -0
  126. package/dist/components/Combobox/Combobox.d.ts.map +1 -0
  127. package/dist/components/Combobox/MultiSelect.d.ts +81 -0
  128. package/dist/components/Combobox/MultiSelect.d.ts.map +1 -0
  129. package/dist/components/Combobox/index.d.ts +5 -0
  130. package/dist/components/Combobox/index.d.ts.map +1 -0
  131. package/dist/components/Combobox/keyboard.d.ts +24 -0
  132. package/dist/components/Combobox/keyboard.d.ts.map +1 -0
  133. package/dist/components/Command/Command.d.ts +160 -0
  134. package/dist/components/Command/Command.d.ts.map +1 -0
  135. package/dist/components/Command/CommandDialog.d.ts +25 -0
  136. package/dist/components/Command/CommandDialog.d.ts.map +1 -0
  137. package/dist/components/Command/index.d.ts +5 -0
  138. package/dist/components/Command/index.d.ts.map +1 -0
  139. package/dist/components/CommandFilter/CommandFilter.d.ts +114 -0
  140. package/dist/components/CommandFilter/CommandFilter.d.ts.map +1 -0
  141. package/dist/components/CommandFilter/FilterChip.d.ts +66 -0
  142. package/dist/components/CommandFilter/FilterChip.d.ts.map +1 -0
  143. package/dist/components/CommandFilter/ValueChip.d.ts +31 -0
  144. package/dist/components/CommandFilter/ValueChip.d.ts.map +1 -0
  145. package/dist/components/CommandFilter/index.d.ts +7 -0
  146. package/dist/components/CommandFilter/index.d.ts.map +1 -0
  147. package/dist/components/CommandSort/CommandSort.d.ts +66 -0
  148. package/dist/components/CommandSort/CommandSort.d.ts.map +1 -0
  149. package/dist/components/CommandSort/index.d.ts +3 -0
  150. package/dist/components/CommandSort/index.d.ts.map +1 -0
  151. package/dist/components/DataTable/DataTable.d.ts +326 -0
  152. package/dist/components/DataTable/DataTable.d.ts.map +1 -0
  153. package/dist/components/DataTable/RowActions.d.ts +30 -0
  154. package/dist/components/DataTable/RowActions.d.ts.map +1 -0
  155. package/dist/components/DataTable/index.d.ts +5 -0
  156. package/dist/components/DataTable/index.d.ts.map +1 -0
  157. package/dist/components/Dialog/AlertDialog.d.ts +117 -0
  158. package/dist/components/Dialog/AlertDialog.d.ts.map +1 -0
  159. package/dist/components/Dialog/Dialog.d.ts +107 -0
  160. package/dist/components/Dialog/Dialog.d.ts.map +1 -0
  161. package/dist/components/Dialog/index.d.ts +5 -0
  162. package/dist/components/Dialog/index.d.ts.map +1 -0
  163. package/dist/components/DonutChart/DonutChart.d.ts +51 -0
  164. package/dist/components/DonutChart/DonutChart.d.ts.map +1 -0
  165. package/dist/components/DonutChart/index.d.ts +3 -0
  166. package/dist/components/DonutChart/index.d.ts.map +1 -0
  167. package/dist/components/Dot/Dot.d.ts +37 -0
  168. package/dist/components/Dot/Dot.d.ts.map +1 -0
  169. package/dist/components/Dot/index.d.ts +3 -0
  170. package/dist/components/Dot/index.d.ts.map +1 -0
  171. package/dist/components/DropdownMenu/DropdownMenu.d.ts +119 -0
  172. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  173. package/dist/components/DropdownMenu/index.d.ts +3 -0
  174. package/dist/components/DropdownMenu/index.d.ts.map +1 -0
  175. package/dist/components/Empty/Empty.d.ts +76 -0
  176. package/dist/components/Empty/Empty.d.ts.map +1 -0
  177. package/dist/components/Empty/index.d.ts +3 -0
  178. package/dist/components/Empty/index.d.ts.map +1 -0
  179. package/dist/components/Field/Field.d.ts +143 -0
  180. package/dist/components/Field/Field.d.ts.map +1 -0
  181. package/dist/components/Field/index.d.ts +3 -0
  182. package/dist/components/Field/index.d.ts.map +1 -0
  183. package/dist/components/FileUpload/FileUpload.d.ts +102 -0
  184. package/dist/components/FileUpload/FileUpload.d.ts.map +1 -0
  185. package/dist/components/FileUpload/index.d.ts +3 -0
  186. package/dist/components/FileUpload/index.d.ts.map +1 -0
  187. package/dist/components/Gallery/Gallery.d.ts +97 -0
  188. package/dist/components/Gallery/Gallery.d.ts.map +1 -0
  189. package/dist/components/Gallery/index.d.ts +3 -0
  190. package/dist/components/Gallery/index.d.ts.map +1 -0
  191. package/dist/components/HoverCard/HoverCard.d.ts +40 -0
  192. package/dist/components/HoverCard/HoverCard.d.ts.map +1 -0
  193. package/dist/components/HoverCard/index.d.ts +3 -0
  194. package/dist/components/HoverCard/index.d.ts.map +1 -0
  195. package/dist/components/Icon/Icon.d.ts +70 -0
  196. package/dist/components/Icon/Icon.d.ts.map +1 -0
  197. package/dist/components/Icon/index.d.ts +3 -0
  198. package/dist/components/Icon/index.d.ts.map +1 -0
  199. package/dist/components/InfoBox/InfoBox.d.ts +58 -0
  200. package/dist/components/InfoBox/InfoBox.d.ts.map +1 -0
  201. package/dist/components/InfoBox/index.d.ts +3 -0
  202. package/dist/components/InfoBox/index.d.ts.map +1 -0
  203. package/dist/components/Input/Input.d.ts +203 -0
  204. package/dist/components/Input/Input.d.ts.map +1 -0
  205. package/dist/components/Input/index.d.ts +3 -0
  206. package/dist/components/Input/index.d.ts.map +1 -0
  207. package/dist/components/Item/Item.d.ts +125 -0
  208. package/dist/components/Item/Item.d.ts.map +1 -0
  209. package/dist/components/Item/index.d.ts +3 -0
  210. package/dist/components/Item/index.d.ts.map +1 -0
  211. package/dist/components/Link/Link.d.ts +50 -0
  212. package/dist/components/Link/Link.d.ts.map +1 -0
  213. package/dist/components/Link/index.d.ts +3 -0
  214. package/dist/components/Link/index.d.ts.map +1 -0
  215. package/dist/components/ListField/ListField.d.ts +80 -0
  216. package/dist/components/ListField/ListField.d.ts.map +1 -0
  217. package/dist/components/ListField/index.d.ts +3 -0
  218. package/dist/components/ListField/index.d.ts.map +1 -0
  219. package/dist/components/PageHeader/PageHeader.d.ts +58 -0
  220. package/dist/components/PageHeader/PageHeader.d.ts.map +1 -0
  221. package/dist/components/PageHeader/index.d.ts +3 -0
  222. package/dist/components/PageHeader/index.d.ts.map +1 -0
  223. package/dist/components/Pagination/Pagination.d.ts +60 -0
  224. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  225. package/dist/components/Pagination/index.d.ts +3 -0
  226. package/dist/components/Pagination/index.d.ts.map +1 -0
  227. package/dist/components/Popover/Popover.d.ts +64 -0
  228. package/dist/components/Popover/Popover.d.ts.map +1 -0
  229. package/dist/components/Popover/index.d.ts +3 -0
  230. package/dist/components/Popover/index.d.ts.map +1 -0
  231. package/dist/components/Progress/Progress.d.ts +43 -0
  232. package/dist/components/Progress/Progress.d.ts.map +1 -0
  233. package/dist/components/Progress/index.d.ts +3 -0
  234. package/dist/components/Progress/index.d.ts.map +1 -0
  235. package/dist/components/ProgressBand/ProgressBand.d.ts +94 -0
  236. package/dist/components/ProgressBand/ProgressBand.d.ts.map +1 -0
  237. package/dist/components/ProgressBand/index.d.ts +3 -0
  238. package/dist/components/ProgressBand/index.d.ts.map +1 -0
  239. package/dist/components/Radio/Radio.d.ts +66 -0
  240. package/dist/components/Radio/Radio.d.ts.map +1 -0
  241. package/dist/components/Radio/index.d.ts +3 -0
  242. package/dist/components/Radio/index.d.ts.map +1 -0
  243. package/dist/components/SearchInput/SearchInput.d.ts +36 -0
  244. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
  245. package/dist/components/SearchInput/index.d.ts +3 -0
  246. package/dist/components/SearchInput/index.d.ts.map +1 -0
  247. package/dist/components/Select/Select.d.ts +44 -0
  248. package/dist/components/Select/Select.d.ts.map +1 -0
  249. package/dist/components/Select/index.d.ts +3 -0
  250. package/dist/components/Select/index.d.ts.map +1 -0
  251. package/dist/components/Separator/Separator.d.ts +28 -0
  252. package/dist/components/Separator/Separator.d.ts.map +1 -0
  253. package/dist/components/Separator/index.d.ts +3 -0
  254. package/dist/components/Separator/index.d.ts.map +1 -0
  255. package/dist/components/Sheet/Sheet.d.ts +103 -0
  256. package/dist/components/Sheet/Sheet.d.ts.map +1 -0
  257. package/dist/components/Sheet/index.d.ts +3 -0
  258. package/dist/components/Sheet/index.d.ts.map +1 -0
  259. package/dist/components/Sidebar/Sidebar.d.ts +329 -0
  260. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -0
  261. package/dist/components/Sidebar/index.d.ts +3 -0
  262. package/dist/components/Sidebar/index.d.ts.map +1 -0
  263. package/dist/components/SimpleListItem/SimpleListItem.d.ts +126 -0
  264. package/dist/components/SimpleListItem/SimpleListItem.d.ts.map +1 -0
  265. package/dist/components/SimpleListItem/index.d.ts +3 -0
  266. package/dist/components/SimpleListItem/index.d.ts.map +1 -0
  267. package/dist/components/Skeleton/Skeleton.d.ts +26 -0
  268. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
  269. package/dist/components/Skeleton/index.d.ts +3 -0
  270. package/dist/components/Skeleton/index.d.ts.map +1 -0
  271. package/dist/components/Slider/Slider.d.ts +42 -0
  272. package/dist/components/Slider/Slider.d.ts.map +1 -0
  273. package/dist/components/Slider/index.d.ts +3 -0
  274. package/dist/components/Slider/index.d.ts.map +1 -0
  275. package/dist/components/Spinner/Spinner.d.ts +21 -0
  276. package/dist/components/Spinner/Spinner.d.ts.map +1 -0
  277. package/dist/components/Spinner/index.d.ts +3 -0
  278. package/dist/components/Spinner/index.d.ts.map +1 -0
  279. package/dist/components/Stack/Stack.d.ts +51 -0
  280. package/dist/components/Stack/Stack.d.ts.map +1 -0
  281. package/dist/components/Stack/index.d.ts +3 -0
  282. package/dist/components/Stack/index.d.ts.map +1 -0
  283. package/dist/components/Stat/Stat.d.ts +82 -0
  284. package/dist/components/Stat/Stat.d.ts.map +1 -0
  285. package/dist/components/Stat/index.d.ts +3 -0
  286. package/dist/components/Stat/index.d.ts.map +1 -0
  287. package/dist/components/StatusHistory/StatusHistory.d.ts +67 -0
  288. package/dist/components/StatusHistory/StatusHistory.d.ts.map +1 -0
  289. package/dist/components/StatusHistory/index.d.ts +3 -0
  290. package/dist/components/StatusHistory/index.d.ts.map +1 -0
  291. package/dist/components/StepCard/StepCard.d.ts +80 -0
  292. package/dist/components/StepCard/StepCard.d.ts.map +1 -0
  293. package/dist/components/StepCard/index.d.ts +3 -0
  294. package/dist/components/StepCard/index.d.ts.map +1 -0
  295. package/dist/components/StepList/StepList.d.ts +68 -0
  296. package/dist/components/StepList/StepList.d.ts.map +1 -0
  297. package/dist/components/StepList/index.d.ts +3 -0
  298. package/dist/components/StepList/index.d.ts.map +1 -0
  299. package/dist/components/Switch/Switch.d.ts +26 -0
  300. package/dist/components/Switch/Switch.d.ts.map +1 -0
  301. package/dist/components/Switch/index.d.ts +3 -0
  302. package/dist/components/Switch/index.d.ts.map +1 -0
  303. package/dist/components/SwitchPanel/SwitchPanel.d.ts +41 -0
  304. package/dist/components/SwitchPanel/SwitchPanel.d.ts.map +1 -0
  305. package/dist/components/SwitchPanel/index.d.ts +3 -0
  306. package/dist/components/SwitchPanel/index.d.ts.map +1 -0
  307. package/dist/components/Tabs/Tabs.d.ts +117 -0
  308. package/dist/components/Tabs/Tabs.d.ts.map +1 -0
  309. package/dist/components/Tabs/index.d.ts +3 -0
  310. package/dist/components/Tabs/index.d.ts.map +1 -0
  311. package/dist/components/TagsInput/TagsInput.d.ts +76 -0
  312. package/dist/components/TagsInput/TagsInput.d.ts.map +1 -0
  313. package/dist/components/TagsInput/index.d.ts +3 -0
  314. package/dist/components/TagsInput/index.d.ts.map +1 -0
  315. package/dist/components/Textarea/Textarea.d.ts +89 -0
  316. package/dist/components/Textarea/Textarea.d.ts.map +1 -0
  317. package/dist/components/Textarea/index.d.ts +3 -0
  318. package/dist/components/Textarea/index.d.ts.map +1 -0
  319. package/dist/components/Toaster/Toaster.d.ts +99 -0
  320. package/dist/components/Toaster/Toaster.d.ts.map +1 -0
  321. package/dist/components/Toaster/index.d.ts +3 -0
  322. package/dist/components/Toaster/index.d.ts.map +1 -0
  323. package/dist/components/ToggleGroup/ToggleGroup.d.ts +91 -0
  324. package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
  325. package/dist/components/ToggleGroup/index.d.ts +3 -0
  326. package/dist/components/ToggleGroup/index.d.ts.map +1 -0
  327. package/dist/components/Tooltip/Tooltip.d.ts +56 -0
  328. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
  329. package/dist/components/Tooltip/index.d.ts +3 -0
  330. package/dist/components/Tooltip/index.d.ts.map +1 -0
  331. package/dist/icons/index.d.ts +257 -0
  332. package/dist/icons/index.d.ts.map +1 -0
  333. package/dist/index.d.ts +80 -0
  334. package/dist/index.d.ts.map +1 -0
  335. package/dist/index.js +15988 -0
  336. package/dist/internal/ClippedText.d.ts +40 -0
  337. package/dist/internal/ClippedText.d.ts.map +1 -0
  338. package/dist/internal/DisabledReason.d.ts +50 -0
  339. package/dist/internal/DisabledReason.d.ts.map +1 -0
  340. package/dist/internal/InlineSearch.d.ts +27 -0
  341. package/dist/internal/InlineSearch.d.ts.map +1 -0
  342. package/dist/internal/children.d.ts +22 -0
  343. package/dist/internal/children.d.ts.map +1 -0
  344. package/dist/internal/mergeRefs.d.ts +32 -0
  345. package/dist/internal/mergeRefs.d.ts.map +1 -0
  346. package/dist/internal/modality.d.ts +18 -0
  347. package/dist/internal/modality.d.ts.map +1 -0
  348. package/dist/internal/useDismissModality.d.ts +23 -0
  349. package/dist/internal/useDismissModality.d.ts.map +1 -0
  350. package/dist/internal/useHoverOpen.d.ts +75 -0
  351. package/dist/internal/useHoverOpen.d.ts.map +1 -0
  352. package/dist/internal/useModalDialog.d.ts +40 -0
  353. package/dist/internal/useModalDialog.d.ts.map +1 -0
  354. package/dist/internal/usePopover.d.ts +43 -0
  355. package/dist/internal/usePopover.d.ts.map +1 -0
  356. package/dist/mosaic.css +2 -0
  357. package/package.json +81 -4
@@ -0,0 +1,114 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ButtonVariant } from "../Button";
3
+ export type CommandFilterOption = {
4
+ id: string;
5
+ label: string;
6
+ /** Extra terms that should match — an id, an alias, a branch name. */
7
+ keywords?: string[];
8
+ /** Leading slot in the list: a platform mark, a status dot. */
9
+ media?: ReactNode;
10
+ };
11
+ export type CommandFilterCategory = {
12
+ id: string;
13
+ /** The row in the first list, and the first segment of this category's chip. */
14
+ label: string;
15
+ /** Leading slot on the category's own row. */
16
+ icon?: ReactNode;
17
+ /**
18
+ * Several of this category's values at once. Off — the default, as in `CommandBox` —
19
+ * choosing a value replaces whatever was chosen rather than adding to it.
20
+ */
21
+ multiSelect?: boolean;
22
+ options: CommandFilterOption[];
23
+ /** The field's placeholder inside this category. Defaults to `Filter {label}...`. */
24
+ searchPlaceholder?: string;
25
+ };
26
+ /** Chosen option ids, by category id. A category with nothing chosen is absent. */
27
+ export type CommandFilterSelection = Record<string, string[]>;
28
+ export type CommandFilterLabels = {
29
+ /** The trigger, and the first half of its accessible name. */
30
+ filter: string;
31
+ /** The first list's field. */
32
+ placeholder: string;
33
+ /** Shown when nothing matches what is typed. */
34
+ empty: string;
35
+ /** A chip's middle segment when one value is chosen. */
36
+ is: string;
37
+ /** A chip's middle segment when several are. */
38
+ isAnyOf: string;
39
+ /** A chip's value segment when several are chosen — `(2) => "2 selected"`. */
40
+ selectedCount: (count: number) => string;
41
+ /** Names a chip's ✕ when one value is chosen. */
42
+ remove: (category: string, option: string) => string;
43
+ /** Names a chip's ✕ when several are — it clears the category rather than one value. */
44
+ clear: (category: string) => string;
45
+ /** The band's trailing "clear everything" button. Only drawn in `chipsContainer` mode. */
46
+ clearAll: string;
47
+ };
48
+ export type CommandFilterProps = {
49
+ categories: CommandFilterCategory[];
50
+ value: CommandFilterSelection;
51
+ onChange: (next: CommandFilterSelection) => void;
52
+ /** Names the trigger, the panel and the first list. Required. */
53
+ "aria-label": string;
54
+ /** The trigger's glyph. Mosaic ships icons but does not choose one for you here. */
55
+ icon: ReactNode;
56
+ /**
57
+ * Whether what is chosen stays on screen as chips beside the trigger. On by default, which
58
+ * is `CommandBox`'s behaviour and right for a toolbar with room in it.
59
+ *
60
+ * Off, the trigger carries a **dot** instead. That is for a panel too narrow to hold a chip —
61
+ * a detail page's list panel is 23rem wide and one chip reading `Build status │ is │ Canceled`
62
+ * is wider than the search box under it, so the chips wrapped onto a second row and pushed the
63
+ * list down. The state is still said in three places without them: the dot, the trigger's
64
+ * `aria-label` ("Filter, 1 applied") and a tick beside the chosen value in the panel.
65
+ *
66
+ * What is lost is being able to clear a value without opening the panel. Where that matters
67
+ * and the chips do not fit, `ValueChip` is the short form — a pill the *caller* places
68
+ * wherever it has room, which is what the branch list does with it beside its count.
69
+ */
70
+ chips?: boolean;
71
+ /**
72
+ * Where the chips live when they do not belong beside the trigger. The product's page
73
+ * header (2026-08-22) keeps the trigger among the quiet controls at the top right and
74
+ * grows a band *under* the header as filters are applied — so the caller hands over the
75
+ * band's element and the chips render into it through a portal. The chips are still this
76
+ * component's: what a clause says, its ✕, and the panel a press re-opens do not change
77
+ * with the address. `null` while the band has not mounted is fine — the chips wait.
78
+ * Ignored when `chips` is `false`.
79
+ */
80
+ chipsContainer?: Element | null;
81
+ /** The trigger's variant. `secondary` by default; `primary` where it leads a panel. */
82
+ triggerVariant?: ButtonVariant;
83
+ /** Every string this renders, for translation. Merged over the defaults. */
84
+ labels?: Partial<CommandFilterLabels>;
85
+ className?: string;
86
+ };
87
+ /**
88
+ * The faceted filter: pick a category, pick its values, and what is chosen stays on screen as
89
+ * chips beside the control.
90
+ *
91
+ * This is the product's `CommandBox`, and it is that component's behaviour rather than a
92
+ * simplification of it — people use both while the migration runs, and a filter that works
93
+ * differently on two pages of the same product is one people have to re-learn:
94
+ *
95
+ * - **Two levels, both on screen.** The first list is the categories, each with the number
96
+ * chosen on it and an arrow; pressing one opens that category's values beside it, with the
97
+ * category list still there. The first attempt here put every value in one list under group
98
+ * headings, which reads well with three categories and not at all with the eleven a build
99
+ * report filters by.
100
+ * - **Both levels are searchable**, because both can be long.
101
+ * - `multiSelect` per category: off, a value replaces whatever was chosen rather than adding
102
+ * to it.
103
+ * - One chip per category: `Platform │ is │ iOS` for one value, `Platform │ is any of │
104
+ * 2 selected` for several, whose ✕ clears the category and whose tooltip names them.
105
+ * - Pressing a chip's value re-opens *that* category, anchored to the chip, without the
106
+ * category list in front of it — `CommandBox`'s `openCategory`.
107
+ *
108
+ * What is not carried over is the plumbing: two portals, four `getBoundingClientRect` passes
109
+ * and a manual flip near the viewport edge. `Popover` places the panel, and the category's
110
+ * values are positioned against it — one popover with a panel beside it rather than two
111
+ * popovers kept in step by hand.
112
+ */
113
+ export declare function CommandFilter({ categories, value, onChange, icon, chips: showChips, chipsContainer, triggerVariant, labels, className, ...rest }: CommandFilterProps): import("react").JSX.Element;
114
+ //# sourceMappingURL=CommandFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandFilter.d.ts","sourceRoot":"","sources":["../../../src/components/CommandFilter/CommandFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAK/C,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,qFAAqF;IACrF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,mFAAmF;AACnF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACzC,iDAAiD;IACjD,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IACrD,wFAAwF;IACxF,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IACpC,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAcF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,QAAQ,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACjD,iEAAiE;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,IAAI,EAAE,SAAS,CAAC;IAChB;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,uFAAuF;IACvF,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EAAE,SAAgB,EACvB,cAAc,EACd,cAA4B,EAC5B,MAAM,EACN,SAAS,EACT,GAAG,IAAI,EACR,EAAE,kBAAkB,+BAiTpB"}
@@ -0,0 +1,66 @@
1
+ import type { ButtonHTMLAttributes, ReactNode } from "react";
2
+ export type FilterChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "className" | "style"> & {
3
+ /** The facet — "Platform". */
4
+ field: ReactNode;
5
+ /** The relation between the two: "is" for one value, "is any of" for several. */
6
+ operator?: ReactNode;
7
+ /** The chosen value, or how many of them — "iOS", "2 selected". */
8
+ value: ReactNode;
9
+ /**
10
+ * Names the value segment. It is a button, and "iOS" alone does not say what pressing it
11
+ * does — `Platform is iOS` read out in full does.
12
+ */
13
+ valueLabel?: string;
14
+ /**
15
+ * Left out for a clause that cannot be taken away — a report's period, which every one of
16
+ * those endpoints requires. The ✕ is then not drawn at all rather than drawn inert: a
17
+ * disabled control that is only ever disabled is a control that should not be there.
18
+ */
19
+ onRemove?: () => void;
20
+ /** Names the remove button — "Remove Platform iOS", or "Clear Platform" for several. */
21
+ removeLabel?: string;
22
+ className?: string;
23
+ };
24
+ /**
25
+ * One clause of the filter, as a row of segments: `Platform │ is │ iOS │ ✕`.
26
+ *
27
+ * The shape is the product's own — `CommandBox` draws exactly this — and it is worth keeping
28
+ * for a reason a plain tag does not cover: a page can be narrowed by two facets whose values
29
+ * read the same (a branch called `main`, a workflow called `main`), and a chip saying only
30
+ * `main` twice does not say what either is filtering. The field is not decoration; it is the
31
+ * half that makes the value mean something.
32
+ *
33
+ * The segments are drawn with borders between them rather than as separate boxes so the
34
+ * clause reads as one object: three pills in a row would read as three filters.
35
+ *
36
+ * **The value segment is the trigger.** Everything not consumed here is forwarded to it,
37
+ * along with the ref — so wrapping the chip in a `Popover` opens that panel from the value,
38
+ * anchored to it, which is how a chip re-opens the category it came from. The remove button
39
+ * stops the press from reaching it, or removing a value would also open a panel about it.
40
+ *
41
+ * Sized like the controls it sits beside — `IconButton`'s 2rem, the same radius, the same
42
+ * `text-sm` — so a row of chips and a row of buttons share one baseline.
43
+ */
44
+ export declare const FilterChip: import("react").ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "className" | "style" | "value"> & {
45
+ /** The facet — "Platform". */
46
+ field: ReactNode;
47
+ /** The relation between the two: "is" for one value, "is any of" for several. */
48
+ operator?: ReactNode;
49
+ /** The chosen value, or how many of them — "iOS", "2 selected". */
50
+ value: ReactNode;
51
+ /**
52
+ * Names the value segment. It is a button, and "iOS" alone does not say what pressing it
53
+ * does — `Platform is iOS` read out in full does.
54
+ */
55
+ valueLabel?: string;
56
+ /**
57
+ * Left out for a clause that cannot be taken away — a report's period, which every one of
58
+ * those endpoints requires. The ✕ is then not drawn at all rather than drawn inert: a
59
+ * disabled control that is only ever disabled is a control that should not be there.
60
+ */
61
+ onRemove?: () => void;
62
+ /** Names the remove button — "Remove Platform iOS", or "Clear Platform" for several. */
63
+ removeLabel?: string;
64
+ className?: string;
65
+ } & import("react").RefAttributes<HTMLButtonElement>>;
66
+ //# sourceMappingURL=FilterChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChip.d.ts","sourceRoot":"","sources":["../../../src/components/CommandFilter/FilterChip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI7D,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,OAAO,GAAG,WAAW,GAAG,OAAO,CAChC,GAAG;IACF,8BAA8B;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mEAAmE;IACnE,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU;IA1CrB,8BAA8B;WACvB,SAAS;IAChB,iFAAiF;eACtE,SAAS;IACpB,mEAAmE;WAC5D,SAAS;IAChB;;;OAGG;iBACU,MAAM;IACnB;;;;OAIG;eACQ,MAAM,IAAI;IACrB,wFAAwF;kBAC1E,MAAM;gBACR,MAAM;qDAwEnB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { ReactNode } from "react";
2
+ export type ValueChipProps = {
3
+ /** Leading slot: a `Dot` for a status, a platform mark. */
4
+ media?: ReactNode;
5
+ /** The chosen value's own name — "Canceled". */
6
+ children: ReactNode;
7
+ onRemove: () => void;
8
+ /** Names the ✕. Required, because "✕" says nothing about what it takes away. */
9
+ removeLabel: string;
10
+ className?: string;
11
+ };
12
+ /**
13
+ * One chosen value, as a pill: `● Canceled ✕`.
14
+ *
15
+ * The short form of `FilterChip`, for a filter with **one category**. That chip's segments
16
+ * exist so two facets whose values read alike stay apart — `Branch │ is │ main` beside
17
+ * `Workflow │ is │ main` — and where there is only one facet to be in, the field segment is a
18
+ * word repeated for every value: in the branch list's 23rem panel, `Build status │ is │
19
+ * Canceled` was wider than the search box above it, which is why that filter had no chips at
20
+ * all until now.
21
+ *
22
+ * So this drops the grammar and keeps what was chosen. It is not pressable — a pill this size
23
+ * with a panel behind it and a ✕ inside it gives the pointer two targets a few pixels apart —
24
+ * so the way back into the list is the filter control it sits beside, and the only thing here
25
+ * is the removal.
26
+ *
27
+ * Its height is the first thing the stylesheet talks about: a pill appearing on a row of text
28
+ * must not make that row taller, and what it costs to keep that true is stated there.
29
+ */
30
+ export declare function ValueChip({ media, children, onRemove, removeLabel, className }: ValueChipProps): import("react").JSX.Element;
31
+ //# sourceMappingURL=ValueChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValueChip.d.ts","sourceRoot":"","sources":["../../../src/components/CommandFilter/ValueChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,cAAc,GAAG;IAC3B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gDAAgD;IAChD,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gFAAgF;IAChF,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,SAAS,EACV,EAAE,cAAc,+BAgBhB"}
@@ -0,0 +1,7 @@
1
+ export { CommandFilter } from "./CommandFilter";
2
+ export type { CommandFilterProps, CommandFilterCategory, CommandFilterOption, CommandFilterSelection, CommandFilterLabels } from "./CommandFilter";
3
+ export { FilterChip } from "./FilterChip";
4
+ export type { FilterChipProps } from "./FilterChip";
5
+ export { ValueChip } from "./ValueChip";
6
+ export type { ValueChipProps } from "./ValueChip";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommandFilter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,66 @@
1
+ import type { ReactNode } from "react";
2
+ export type CommandSortOption = {
3
+ id: string;
4
+ label: string;
5
+ };
6
+ export type CommandSortViewOption = CommandSortOption & {
7
+ icon?: ReactNode;
8
+ };
9
+ export type CommandSortValue = {
10
+ /** Which column the list is ordered by. */
11
+ field?: string;
12
+ /** Which way. An id from `directionOptions`, not a boolean — the words differ per page. */
13
+ direction?: string;
14
+ /** How the list is drawn, when `viewOptions` is given. */
15
+ view?: string;
16
+ };
17
+ export type CommandSortLabels = {
18
+ /** The trigger's tooltip and accessible name. */
19
+ sort: string;
20
+ /** The row's label inside the panel. */
21
+ ordering: string;
22
+ /** Names the field button and the list inside it. */
23
+ orderBy: string;
24
+ placeholder: string;
25
+ empty: string;
26
+ /** Names the direction button, given the direction it would switch to. */
27
+ direction: (next: string) => string;
28
+ /** Names the view switch. */
29
+ view: string;
30
+ };
31
+ export type CommandSortProps = {
32
+ fieldOptions: CommandSortOption[];
33
+ /**
34
+ * Usually two — ascending and descending — and the button steps through them in order, so
35
+ * a page with three (newest, oldest, alphabetical) works without a different control.
36
+ */
37
+ directionOptions: CommandSortOption[];
38
+ value: CommandSortValue;
39
+ onChange: (next: CommandSortValue) => void;
40
+ /** Adds the list/board switch at the top of the panel. Left out, there is no switch. */
41
+ viewOptions?: CommandSortViewOption[];
42
+ /** The trigger's glyph. */
43
+ icon: ReactNode;
44
+ labels?: Partial<CommandSortLabels>;
45
+ className?: string;
46
+ };
47
+ /**
48
+ * How the list is ordered, and how it is drawn: one trigger, one panel, both halves of the
49
+ * decision inside it.
50
+ *
51
+ * This is the product's `SortBox`, which is a sibling of `CommandBox` and built the same way — 586
52
+ * lines, its own portal, its own anchor measuring, two levels of popup. The arrangement it arrived
53
+ * at is kept exactly: the view tabs at the top, then one row reading "Ordering" with the direction
54
+ * beside the field, and the field's own list is a `cmdk` search rather than a `<select>`. What is
55
+ * gone is the plumbing — `Popover` places itself, and `Command` is the list.
56
+ *
57
+ * **Both halves in one panel** because they are one decision. Picking a field and then
58
+ * hunting for the direction somewhere else in the toolbar is two errands for one thought,
59
+ * and it is why the product put them together in the first place.
60
+ *
61
+ * **The field is a search, not a menu.** A build report orders by thirteen columns; a list
62
+ * that can be typed at finds one of them in a keystroke, and reads the same as every other
63
+ * list in the toolbar.
64
+ */
65
+ export declare function CommandSort({ fieldOptions, directionOptions, value, onChange, viewOptions, icon, labels, className }: CommandSortProps): import("react").JSX.Element;
66
+ //# sourceMappingURL=CommandSort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandSort.d.ts","sourceRoot":"","sources":["../../../src/components/CommandSort/CommandSort.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GAAG;IACtD,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACpC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAYF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC;;;OAGG;IACH,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC3C,wFAAwF;IACxF,WAAW,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACtC,2BAA2B;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,MAAM,EACN,SAAS,EACV,EAAE,gBAAgB,+BA6HlB"}
@@ -0,0 +1,3 @@
1
+ export { CommandSort } from "./CommandSort";
2
+ export type { CommandSortProps, CommandSortOption, CommandSortViewOption, CommandSortValue, CommandSortLabels } from "./CommandSort";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommandSort/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,eAAe,CAAC"}
@@ -0,0 +1,326 @@
1
+ import type { ReactNode } from "react";
2
+ export type Column<T> = {
3
+ /** Stable identity, used as the React key and to associate cells with headers. */
4
+ key: string;
5
+ header: ReactNode;
6
+ cell: (row: T) => ReactNode;
7
+ /**
8
+ * A CSS length for this column, honoured where the content allows. Columns
9
+ * without one size to their content.
10
+ *
11
+ * The table is deliberately **not** `table-layout: fixed`. A build report in The product has
12
+ * thirteen columns; dividing the width between them gives each about 7%, which is why its headers
13
+ * read "Branc h Commit ID" and "Durati on (minut es)" and why a date cell overlaps the row above
14
+ * it. Columns keep their content's width and the table scrolls sideways instead.
15
+ */
16
+ width?: string;
17
+ /**
18
+ * Lets this column's text wrap onto more lines. Off by default, because a column
19
+ * that wraps at a narrow width is what breaks headers mid-word. Turn it on for a
20
+ * column of prose — a commit message — and leave it off for everything else.
21
+ */
22
+ wrap?: boolean;
23
+ /**
24
+ * **Value cells are start-aligned — the product's rule (2026-08-23).** `end` exists for a
25
+ * true numeric ledger, but the product's columns are values with units ("3m 12s", "12 MB",
26
+ * "NA") and one right-aligned column among left-aligned neighbours read as detached from
27
+ * the table. Reach for `end` only when a whole table is digits being compared by magnitude.
28
+ *
29
+ * `center` for a column whose cells are a *control* rather than a value — the row's `…` menu,
30
+ * a lone toggle. Aligning one of those to an edge lines up its **box**, and a control's box is
31
+ * bigger than what is drawn in it: an `IconButton`'s glyph sits 8px inside its own right edge,
32
+ * so an end-aligned menu ends up with its dots 8px to the right of the centre of the header
33
+ * above them. Measured on the build activity log, and it is what makes that column look
34
+ * misaligned with itself. Centred, the header's text and the control's glyph share a centre
35
+ * line and the column reads as one thing.
36
+ */
37
+ align?: "start" | "center" | "end";
38
+ /**
39
+ * How wide this column's content is allowed to get before it is cut short.
40
+ * Defaults to the table's `cellMaxWidth`; `"none"` lets the column grow with its
41
+ * content, which is what every column did before.
42
+ *
43
+ * Raise it for a column that carries a long identifier that has to be read whole —
44
+ * lower it for one that is only ever glanced at.
45
+ */
46
+ maxWidth?: string | "none";
47
+ /**
48
+ * Makes the column sortable, and says what to sort — which is not what the cell shows.
49
+ * A cell renders "08.20.2026 18:45:17"; sorted as text, October follows January of the
50
+ * next year. The caller is the only one who knows the value behind the string, so it
51
+ * hands the value over and the table owns the comparing:
52
+ *
53
+ * - `Date` and `number` compare numerically,
54
+ * - strings compare with numeric collation, so "v10" follows "v2",
55
+ * - `null`/`undefined` go last in either direction — an empty cell is an absence, not
56
+ * the smallest value there is.
57
+ *
58
+ * The header cycles asc → desc → off; off is the data's own order, untouched. One field
59
+ * rather than a `sortable` boolean beside it, so the flag and the value cannot disagree.
60
+ */
61
+ sortBy?: (row: T) => string | number | Date | null | undefined;
62
+ /**
63
+ * Keeps this column in view while the table scrolls sideways — for an actions column,
64
+ * whose buttons are the reason the row is there and must not be a scroll away. TanStack
65
+ * calls this column pinning, hence the name.
66
+ *
67
+ * `"end"` is the only side, and it is meant for the **last** column: the offsets that
68
+ * would stack a second pinned column are not implemented, so pinning any other column
69
+ * draws it over its neighbours. While there are columns hidden under it, the pinned
70
+ * column casts an edge shadow into them — the same claim a sticky header makes — and the
71
+ * shadow goes when the table is scrolled to its end, where nothing is under it.
72
+ */
73
+ pin?: "end";
74
+ };
75
+ export type DataTableProps<T> = {
76
+ data: T[];
77
+ columns: Column<T>[];
78
+ /**
79
+ * Stable identity for a row. Required rather than defaulted to `id`, because both
80
+ * the React key and the selection set depend on it and a wrong guess shows up as
81
+ * rows that swap places or selections that follow the wrong row.
82
+ */
83
+ rowKey: (row: T) => string;
84
+ /** Names the table, and is shown as its title unless hidden. */
85
+ caption: string;
86
+ /**
87
+ * Drops the visible title while still naming the table — for when a heading above
88
+ * it already says the same thing.
89
+ */
90
+ hideCaption?: boolean;
91
+ /** Present together to make the table selectable. Controlled, like every Mosaic component. */
92
+ selected?: string[];
93
+ onSelectedChange?: (selected: string[]) => void;
94
+ /** Names each row's checkbox — "Select {row}". Without it they are all "Select row". */
95
+ selectionLabel?: (row: T) => string;
96
+ /**
97
+ * Which rows may be selected. A row this returns `false` for keeps its checkbox, drawn
98
+ * disabled, and "select all" passes over it.
99
+ *
100
+ * **Disabled rather than hidden**, which is the difference from the original's
101
+ * `shouldCheckBoxDisplay`: a missing checkbox in a column of checkboxes reads as a rendering
102
+ * fault, and the reader is left to guess whether the row is exempt or the table is broken. A
103
+ * disabled one says the row exists and cannot be chosen, and the disabled state says the same
104
+ * to a screen reader. Pair it with a cell that explains *why* — a "Live" badge is what says a
105
+ * published binary cannot be deleted.
106
+ *
107
+ * Left out, every row is selectable, which is what a table with no exemption wants.
108
+ */
109
+ isRowSelectable?: (row: T) => boolean;
110
+ /**
111
+ * Why a row cannot be selected, said on its checkbox (see `Checkbox`'s `disabledReason`). A
112
+ * row this returns a sentence for is not selectable, whatever `isRowSelectable` says, and
113
+ * "select all" passes over it. Reach for it when the reason is not already in the row - a row
114
+ * still running, one already shared. Not for a missing permission: a selection that only feeds
115
+ * a bulk action the reader may not take goes with that action.
116
+ */
117
+ selectionDisabledReason?: (row: T) => ReactNode;
118
+ loading?: boolean;
119
+ /** Skeleton rows drawn while loading. Match it to the page size to avoid a jump. */
120
+ loadingRows?: number;
121
+ /**
122
+ * Another page is on its way: a spinner over the middle of the rows, and **the rows stay**.
123
+ *
124
+ * `loading` is for a table with nothing in it yet and draws skeletons *instead of* rows. A
125
+ * load-more is the other case, and treating it as the first one is what makes it feel wrong:
126
+ * pressing the button replaced everything the reader was looking at with grey bars, so the list
127
+ * they were partway through vanished and came back.
128
+ *
129
+ * Skeleton rows appended after the data were the first answer here, and they were the wrong one in
130
+ * practice: they sit below the fold on any table long enough to need a second page, so the one
131
+ * thing the reader is looking at — the button they just pressed — gets no acknowledgement at all.
132
+ * A spinner in the middle of what is already there is seen wherever they are in the list, and it
133
+ * covers nothing permanently.
134
+ */
135
+ appending?: boolean;
136
+ /** What the load-more spinner announces. Override for a non-English UI. */
137
+ appendingLabel?: string;
138
+ /** Shown instead of rows when there are none and it is not loading. */
139
+ empty?: ReactNode;
140
+ onRowClick?: (row: T) => void;
141
+ /**
142
+ * Why a row cannot be opened, for a table with `onRowClick`. A row this returns a sentence for
143
+ * is not pressed: no `onRowClick`, the not-allowed cursor, `aria-disabled`, and the sentence as
144
+ * a tooltip on the row's first cell (a tooltip cannot hang off a `<tr>` without putting a
145
+ * `<div>` inside the table) and as that cell's description.
146
+ */
147
+ rowDisabledReason?: (row: T) => ReactNode;
148
+ /**
149
+ * The row the rest of the screen is about, in a master-detail pair: the organization whose
150
+ * permissions the panel beside the table is showing, the group whose variables are listed
151
+ * next to it.
152
+ *
153
+ * **Not `selected`.** Selection is a set the reader builds to act on - it draws checkboxes and
154
+ * a bulk action reads it. This is one row, it is never empty once something has been chosen,
155
+ * and choosing a different one replaces it. Drawn as a fill with a leading edge rather than
156
+ * with the checkbox column's tint, so the two can be seen at once on a table that has both.
157
+ *
158
+ * `aria-current="true"`, which is what says "the one in this set you are on" for something
159
+ * that is not navigation.
160
+ */
161
+ activeRowKey?: string;
162
+ /**
163
+ * A band under the rows, inside the frame — a pager, a row count, a bulk action.
164
+ *
165
+ * It belongs to the table rather than to the page. A pager floating below the frame reads as a
166
+ * separate thing that happens to be nearby, and it is the *table's* pages that it turns; inside,
167
+ * the two bands bracket the rows. Drawn like the header, with the same fill and a shadow
168
+ * pointing the other way.
169
+ *
170
+ * Outside the scroll container, so it stays where it is while the rows move. Nothing is drawn
171
+ * when nothing is passed, which is what keeps a single-page table from carrying an empty strip.
172
+ */
173
+ footer?: ReactNode;
174
+ /**
175
+ * Where the footer sits, and the two cases genuinely differ.
176
+ *
177
+ * `pinned` — the default — keeps it against the frame's lower edge, outside the scroll container,
178
+ * so it stays put while the rows move. That is what a **pager** wants: which page you are on is
179
+ * true of the whole table and has to be reachable without scrolling to the end of it.
180
+ *
181
+ * `inline` puts it inside the scroller, after the last row. That is what a **load-more** wants:
182
+ * the button belongs to the end of the list, so you meet it by reaching the end — pinned, it sat
183
+ * over the rows offering more of a list you had not finished reading.
184
+ */
185
+ footerPlacement?: "pinned" | "inline";
186
+ /**
187
+ * How wide a cell's content may get before it is cut short with an ellipsis, for every
188
+ * column that does not set its own `maxWidth`. `"none"` turns the cap off for the whole
189
+ * table.
190
+ *
191
+ * Thirteen rem is about thirty-five characters at the table's own size — enough for an
192
+ * email or a branch name to be recognised, with the whole value one hover away. It was
193
+ * 20rem, and the product cut it to two thirds (2026-08-23): at twenty, one long column
194
+ * still crowded a wide table's neighbours before the cap did anything. See the cap's own
195
+ * note below for why it is on by default.
196
+ */
197
+ cellMaxWidth?: string;
198
+ /**
199
+ * Where a cell's content sits in a row taller than one line. **`middle` by default**, which is
200
+ * right for a table whose cells are all one line: the row is 36px, the line is 19.5, and the
201
+ * difference is shared above and below.
202
+ *
203
+ * `top` is for a table where **some** cells carry a second line — a version with the badges that
204
+ * qualify it, a store status with the date it changed. Centred, every cell in such a row is
205
+ * pushed down by half of the tallest cell's extra line, so the plain values in the row float
206
+ * between the two lines of their neighbours and nothing in the row shares a line with anything
207
+ * else (product feedback, 2026-09-21, the publish version list). Top-aligned, every cell's
208
+ * **first** line is on the same line as every other cell's first line, and the second line is a
209
+ * second line under it — which is the reading order the row was written in.
210
+ *
211
+ * The lead line is `--mos-datatable-lead` (22px, a `Badge`'s height), so a badge, a plain value
212
+ * and a control all centre on the same line rather than each on its own content's height.
213
+ */
214
+ verticalAlign?: "middle" | "top";
215
+ /**
216
+ * How many lines every row reserves, so rows that carry a second line and rows that do not
217
+ * are the same height. Left out, a row is as tall as what is in it.
218
+ *
219
+ * For the table `verticalAlign: "top"` is for: when one row in six carries a badge under its
220
+ * version, the rows come out at two heights and the list reads as ragged even with every
221
+ * first line aligned (product feedback, 2026-09-21, the publish version list). `rowLines={2}`
222
+ * gives every row the height of the two-line one.
223
+ *
224
+ * **A reservation, not a measurement.** Measuring the rows and handing the tallest one's
225
+ * height to the others was the first answer and it was the wrong one: the rows have to be
226
+ * read at their natural height to be measured, so every measuring pass shortens the table and
227
+ * then restores it — which clamps the scroll position of whatever is scrolling it, and a
228
+ * table that is measured while you are reading it will not stay where you left it. A line
229
+ * count is a number the caller already knows, it costs no layout pass, and it cannot move
230
+ * anything.
231
+ *
232
+ * A row whose content needs more lines than this still gets them: the reservation is a floor.
233
+ */
234
+ rowLines?: number;
235
+ /**
236
+ * Whether the header stays put while the rows scroll under it. **On by default.**
237
+ *
238
+ * It was off, and off is the wrong default: a table long enough to scroll is exactly the table
239
+ * whose column names you need while you are scrolling it, and a caller who forgets the prop gets
240
+ * the version where they scroll away. Off is the exception — a table short enough that it never
241
+ * scrolls, where the sticky header only costs a `position` and a layer.
242
+ */
243
+ stickyHeader?: boolean;
244
+ /**
245
+ * Draws the border and rounded corner around the table. Set false when the table
246
+ * sits inside a `Card`, which already provides both — otherwise there are two
247
+ * borders a pixel apart. Pair it with `hideCaption` and let the card's header be
248
+ * the title; the table keeps its accessible name either way.
249
+ */
250
+ frame?: boolean;
251
+ /**
252
+ * Pulls the table out of the page's `sm` gutter so the header's hairline runs from edge to
253
+ * edge — exactly as the page header's own rule does, and for the same reason: a rule that
254
+ * stops 12px short of both sides reads as broken (product decision, 2026-08-23, the admin
255
+ * tables). The cells' `md` inline padding then starts the first column's ink at the same
256
+ * inset as the page title above it. For a table that is a direct child of a page laid out
257
+ * on the `sm` rhythm (`SearchLayout`); leave it off inside a card or a split pane, which
258
+ * own their edges.
259
+ */
260
+ bleed?: boolean;
261
+ /**
262
+ * The table sits in something that already owns its edges — a `Sheet`, a card, a split pane —
263
+ * so its first and last columns line up with that panel's other content rather than being
264
+ * inset one more step. See `.flush` in the stylesheet for the measurement.
265
+ *
266
+ * The opposite end of `bleed`: that one pulls a page-level table out to the window's edge,
267
+ * this one stops a panel-level table from drifting inward.
268
+ */
269
+ flush?: boolean;
270
+ /**
271
+ * `"pane"` holds the table back from the edges of a panel that has no padding of its own -
272
+ * the detail half of a split pane. See `.insetPane` in the stylesheet for the measurement and
273
+ * for why it is not the same thing as `flush`.
274
+ */
275
+ inset?: "pane";
276
+ /**
277
+ * Take the height left over in the column this sits in, and scroll the rows inside it.
278
+ *
279
+ * The scroller has always been able to do this - see the stylesheet - but only for a table
280
+ * something else had already given a height to, and nothing here could ask for one. So a
281
+ * table in a pane grew to its own content instead, pushing whatever came after it down the
282
+ * page and, in a pane that clips, out of reach of both (2026-09-18, the distribution
283
+ * profile's version detail: the tester table and the message under it).
284
+ *
285
+ * For a table that is one band of a column with a definite height, and never for a table on
286
+ * a page that scrolls as a whole - there the leftover is the window's, and taking it is how
287
+ * a table ends up with its own scrollbar inside a scrolling page.
288
+ */
289
+ fill?: boolean;
290
+ className?: string;
291
+ };
292
+ /**
293
+ * A table. The product calls this `BasicDataGrid` and it appears in 19 files.
294
+ *
295
+ * The original renders `<div>`s — no `<table>`, `<tr>`, `<th>` or `role="grid"`
296
+ * anywhere in it. So a screen reader is given a wall of unrelated boxes: no row or
297
+ * column relationship, no cell associated with its header, and no name for the
298
+ * table. This one is a real table, which is where most of that comes for free.
299
+ *
300
+ * **Columns, not row templates.** The original takes a `rowTemplate` and a separate
301
+ * `headerTemplate`, and the alignment between them is carried by class names applied
302
+ * by hand in both — a header cell reads
303
+ * `class="Members_header_roles Members_row_roles"`, where the width comes from the
304
+ * second class that the row also has to use, in the same order. That is why
305
+ * `headerClassName` is passed at 16 of the call sites. Here one column definition
306
+ * drives the header and the cell, so they cannot disagree.
307
+ *
308
+ * Eight of the original's props have no call sites at all — `disabledSelection`,
309
+ * `keyMap`, `showAutoProgressOnRow`, `noScroll`, `autoScrollToTop`,
310
+ * `autoScrollToBottom`, `fallback`, `shouldCheckBoxDisplay`. `rowSeparatorTemplate`
311
+ * has 14, and is not a prop here at all: a line between rows is a border.
312
+ *
313
+ * Not here yet, deliberately: sorting, and paging *logic*. Neither exists in the
314
+ * original's API, and the column definition means adding `sortable` later is additive
315
+ * rather than a change of shape. A pager has somewhere to sit — `footer` — but the
316
+ * table does not learn what a page is: which page, and how many, stay the caller's.
317
+ */
318
+ /**
319
+ * The default cap on a cell's content — see `cellMaxWidth`.
320
+ *
321
+ * Exported so a caller can measure against it rather than repeating the number, and so the
322
+ * tests assert the same value the component uses.
323
+ */
324
+ export declare const DEFAULT_CELL_MAX_WIDTH = "13rem";
325
+ export declare function DataTable<T>({ data, columns, rowKey, caption, hideCaption, selected, onSelectedChange, selectionLabel, isRowSelectable, selectionDisabledReason, loading, loadingRows, appending, appendingLabel, empty, onRowClick, rowDisabledReason, activeRowKey, footer, footerPlacement, cellMaxWidth, verticalAlign, rowLines, stickyHeader, frame, bleed, flush, inset, fill, className }: DataTableProps<T>): import("react").JSX.Element;
326
+ //# sourceMappingURL=DataTable.d.ts.map