@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,329 @@
1
+ import type { ComponentPropsWithoutRef, ElementType, HTMLAttributes, ReactNode } from "react";
2
+ export type SidebarState = "expanded" | "collapsed";
3
+ export type SidebarContextValue = {
4
+ state: SidebarState;
5
+ open: boolean;
6
+ setOpen: (open: boolean) => void;
7
+ toggle: () => void;
8
+ /** Ties `Sidebar.Trigger`'s `aria-controls` to the panel it opens. */
9
+ sidebarId: string;
10
+ };
11
+ /**
12
+ * The open state and the toggle, for anything that needs to read or change them.
13
+ *
14
+ * Throws outside a `Sidebar.Provider` rather than returning undefined: every part below
15
+ * needs the state to render at all, and a silent fallback would mean a sidebar that simply
16
+ * never collapses, which looks like a styling problem and is not.
17
+ */
18
+ export declare function useSidebar(): SidebarContextValue;
19
+ export type SidebarProviderProps = {
20
+ /** Uncontrolled starting state. Ignored when `open` is given. */
21
+ defaultOpen?: boolean;
22
+ /** Controlled state. */
23
+ open?: boolean;
24
+ onOpenChange?: (open: boolean) => void;
25
+ /**
26
+ * Cmd/Ctrl+B toggles the sidebar, which is shadcn's binding. Set `false` where the page
27
+ * has its own meaning for it — a rich text editor, most obviously, where it is bold.
28
+ *
29
+ * A library that installs a document-level keybinding and offers no way out is a library
30
+ * that has made a decision on the consumer's behalf.
31
+ */
32
+ keyboardShortcut?: boolean;
33
+ children: ReactNode;
34
+ className?: string;
35
+ };
36
+ /**
37
+ * Holds the open state for a `Sidebar` and whatever sits beside it.
38
+ *
39
+ * **Nothing is persisted here.** shadcn writes the state to a cookie; where a preference
40
+ * lives — a cookie, `localStorage`, a user record on the server — is an application's
41
+ * decision, and one it may have opinions about. Pass `open` and `onOpenChange` and store it
42
+ * wherever it belongs.
43
+ */
44
+ declare function SidebarProvider({ defaultOpen, open: controlledOpen, onOpenChange, keyboardShortcut, children, className }: SidebarProviderProps): import("react").JSX.Element;
45
+ export type SidebarItem = {
46
+ /**
47
+ * Stable identity. Defaults to `href`, which is unique by construction.
48
+ *
49
+ * Never the title: two sections can hold a page with the same name, and in the product they do —
50
+ * "Reports" under both Signing Identities and Publish to Stores, "Settings" under both Testing
51
+ * Distribution and Enterprise App Store. Matching on the title lit both at once.
52
+ */
53
+ id?: string;
54
+ title: ReactNode;
55
+ /** Where the row goes. Rendered through `linkAs` when given. */
56
+ href?: string;
57
+ /** Leading, and the only thing left when the panel is collapsed to icons. */
58
+ icon?: ReactNode;
59
+ /** Trailing and quiet — a count, a `NEW`. */
60
+ badge?: ReactNode;
61
+ /** A second line under the title. */
62
+ description?: ReactNode;
63
+ /** One level of nesting. A section's pages. */
64
+ items?: SidebarItem[];
65
+ /**
66
+ * The pages exist but have not arrived — the product learns a module's pages only when that
67
+ * module's code loads and registers them. While an open section is loading and has no `items`
68
+ * yet, placeholder rows hold the space the pages will take, so the list below does not jump
69
+ * twice: once shut, once open again. Meaningless alongside `items`, which are drawn as soon as
70
+ * they exist.
71
+ */
72
+ loading?: boolean;
73
+ };
74
+ export type SidebarProps = {
75
+ /**
76
+ * The whole navigation, as data.
77
+ *
78
+ * Everything that varies with where you are is derived from `currentId` and nothing is
79
+ * stored: which section is open, which section is marked, which page is marked. There is
80
+ * no second copy of the answer to drift from the first, which is the failure this replaced
81
+ * — a hand-wired version got it wrong twice, once by leaving the mark on the module you
82
+ * were last in, and once by matching pages on their titles.
83
+ */
84
+ items?: SidebarItem[];
85
+ /** The page being shown, by `id` (or `href`). Everything else follows from it. */
86
+ currentId?: string;
87
+ /**
88
+ * A row was chosen. This never navigates and never remembers — the consumer moves
89
+ * `currentId`, and the panel follows.
90
+ *
91
+ * Choosing a section passes that section's first page, because a section in the rail is a
92
+ * link to its landing page rather than a folder that expands in place. Expanding without
93
+ * moving is what left the mark behind. The one press that does not arrive here is a press
94
+ * on the section you are already in: that one folds its pages away and back, since "go
95
+ * where I already am" was never what it meant.
96
+ */
97
+ onNavigate?: (item: SidebarItem, id: string) => void;
98
+ /** What a row's `href` renders as. `linkAs={RouterLink}` for a router's own link. */
99
+ linkAs?: ElementType;
100
+ /** Bespoke content above the navigation — an organization switcher. */
101
+ header?: ReactNode;
102
+ /** Bespoke content below it — the account menu. */
103
+ footer?: ReactNode;
104
+ /** Which edge it sits on. Logical, so it follows the writing direction. */
105
+ side?: "start" | "end";
106
+ /**
107
+ * **The navigation itself is not known yet.** Placeholder rows - an icon and a label, in a
108
+ * row's own box - stand where the sections will be, and `items` is not drawn.
109
+ *
110
+ * For an application whose sections depend on something still on its way: the product shows a
111
+ * module only to a reader whose permissions open one of its pages, and those arrive with the user
112
+ * - on sign-in, and again on every organization switch. Drawing the old list until the new one
113
+ * lands is the flicker this exists to prevent: a section appears, then vanishes, or the other way
114
+ * round. Header and footer are drawn as usual.
115
+ */
116
+ loading?: boolean;
117
+ /** How many placeholder rows `loading` draws. */
118
+ loadingRows?: number;
119
+ /**
120
+ * What collapsing does. `icon` keeps the icons and hides everything else, which is the shape the
121
+ * product already has by hand — a permanent icon rail with a text panel beside it. `offcanvas`
122
+ * slides the whole thing away. `none` never collapses.
123
+ */
124
+ collapsible?: "icon" | "offcanvas" | "none";
125
+ /** Names the navigation landmark. Required: an unnamed one is announced as "navigation". */
126
+ "aria-label": string;
127
+ /**
128
+ * Anything the config cannot describe, between the navigation and the footer.
129
+ *
130
+ * `items` is the navigation and it is data, because that is where the same wiring was
131
+ * being written again at every call site and getting it wrong. A header holding an
132
+ * organization switcher with its own dropdown is not a list of links, so it stays a slot —
133
+ * a config that could express it would be a config with a menu system inside it.
134
+ */
135
+ children?: ReactNode;
136
+ className?: string;
137
+ };
138
+ declare function SidebarRoot({ items, currentId, onNavigate, linkAs, header, footer, side, collapsible, loading, loadingRows, children, className, ...rest }: SidebarProps): import("react").JSX.Element;
139
+ /** Sticky at the top: branding, an organization switcher. */
140
+ declare function SidebarHeader({ children, className, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
141
+ /** The scrolling middle. */
142
+ declare function SidebarContent({ children, className, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
143
+ /** Sticky at the bottom: the user menu. */
144
+ declare function SidebarFooter({ children, className, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
145
+ export type SidebarGroupProps = HTMLAttributes<HTMLDivElement> & {
146
+ /** A heading for the run of items. Hidden, not removed, when collapsed to icons. */
147
+ label?: ReactNode;
148
+ };
149
+ declare function SidebarGroup({ label, children, className, ...rest }: SidebarGroupProps): import("react").JSX.Element;
150
+ /** The list. A `<ul>`, so its length is announced before it is walked through. */
151
+ declare function SidebarMenu({ children, className, ...rest }: HTMLAttributes<HTMLUListElement>): import("react").JSX.Element;
152
+ declare function SidebarMenuItem({ children, className, ...rest }: HTMLAttributes<HTMLLIElement>): import("react").JSX.Element;
153
+ type SidebarMenuButtonOwnProps = {
154
+ /**
155
+ * This row is where you are. Sets the active styling *and* `aria-current` — shadcn's
156
+ * `isActive` sets a data attribute and nothing else, so which item is current is carried
157
+ * by paint alone.
158
+ *
159
+ * Which `aria-current` depends on what the row is, and the row already says: one that
160
+ * carries `aria-expanded` opens a section rather than being a destination, so it gets
161
+ * `aria-current="true"` — "the current one of these" — while a plain row gets
162
+ * `aria-current="page"`.
163
+ *
164
+ * That distinction is not decoration. Marking both a module and the page inside it as
165
+ * `page` puts two current pages on the screen, which is what the first version of this did
166
+ * and what the tests caught.
167
+ */
168
+ isActive?: boolean;
169
+ /** Leading, and the only thing left when the sidebar is collapsed to icons. */
170
+ icon?: ReactNode;
171
+ /**
172
+ * A second line under the label — an organization's plan, an account's email.
173
+ *
174
+ * Reached through `aria-describedby` rather than being part of the row's name. It is
175
+ * secondary by construction: "Appcircle Team" is what the row is, "Enterprise" is a fact
176
+ * about it, and folding the two into one name means every visit to the row announces both
177
+ * with nothing to separate them. Same reasoning as `Field`'s help text.
178
+ */
179
+ description?: ReactNode;
180
+ /**
181
+ * Shown on hover while collapsed, because the label is not. Defaults to the label itself.
182
+ * A tooltip is never the only place something is said — the accessible name comes from the
183
+ * label, which stays in the tree either way.
184
+ */
185
+ tooltip?: ReactNode;
186
+ /**
187
+ * Trailing marker — `NEW`, `BETA`. Unread is the `indicator`, not a count here.
188
+ *
189
+ * A prop rather than a child, because a child cannot be put in the right place. Children
190
+ * become the row's label, which is a clipped single line, so a badge passed among them
191
+ * lands *inside* it: hard against the last letter, with no gap and nothing to push it to
192
+ * the end of the row. Measured as "Notifications2".
193
+ */
194
+ badge?: ReactNode;
195
+ /**
196
+ * A yellow dot on the icon's top-right corner - "something new here", without a number.
197
+ * On or off, never a count.
198
+ *
199
+ * On the icon rather than at the row's end, so it stays put when the sidebar collapses to
200
+ * icons and a `badge` would be clipped out of view. Needs an `icon`; without one nothing is
201
+ * drawn. The dot is `aria-hidden` and adds nothing to the row's name.
202
+ *
203
+ * Added for notifications (2026-11-06): the unread count needed a request every
204
+ * 10 seconds from every open tab to stay current, and a dot is kept current by one request
205
+ * on load and the events that already arrive.
206
+ */
207
+ indicator?: boolean;
208
+ /**
209
+ * Trailing affordance — the chevron on a row that opens something rather than going somewhere.
210
+ *
211
+ * Separate from `badge` because it says a different kind of thing. A badge is *information*
212
+ * (`NEW`, `BETA`) and is announced; this is a hint about what the row does, so it is
213
+ * `aria-hidden`: the row's own `aria-expanded` / `aria-haspopup` already say it to anyone not
214
+ * looking at it, and "chevron down" read out adds nothing.
215
+ *
216
+ * Added for the organization switcher (product feedback, 2026-08-29). That row is a name over a
217
+ * plan — the same shape as a plain header — so nothing said it could be pressed until you
218
+ * happened to hover it.
219
+ *
220
+ * Mosaic ships no icons: pass the glyph.
221
+ */
222
+ trailing?: ReactNode;
223
+ children: ReactNode;
224
+ className?: string;
225
+ };
226
+ export type SidebarMenuButtonProps<E extends ElementType = "button"> = SidebarMenuButtonOwnProps & {
227
+ as?: E;
228
+ } & Omit<ComponentPropsWithoutRef<E>, keyof SidebarMenuButtonOwnProps | "as">;
229
+ declare function SidebarMenuButton<E extends ElementType = "button">({ as, isActive, icon, description, tooltip, badge, indicator, trailing, children, className, ...rest }: SidebarMenuButtonProps<E>): import("react").JSX.Element;
230
+ /** A count or a short marker at the end of a row. Gone when collapsed to icons. */
231
+ declare function SidebarMenuBadge({ children, className, ...rest }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
232
+ /**
233
+ * The nested list under a row. A `<ul>` inside the parent's `<li>`, which is what makes it
234
+ * a sublist rather than a second list that happens to be indented.
235
+ *
236
+ * Not rendered at all when the sidebar is collapsed to icons: there is no room, and a
237
+ * submenu with its labels hidden is a column of identical blanks.
238
+ */
239
+ declare function SidebarMenuSub({ children, className, ...rest }: HTMLAttributes<HTMLUListElement>): import("react").JSX.Element | null;
240
+ declare function SidebarMenuSubItem({ children, className, ...rest }: HTMLAttributes<HTMLLIElement>): import("react").JSX.Element;
241
+ type SidebarMenuSubButtonOwnProps = {
242
+ isActive?: boolean;
243
+ /** Trailing marker — `NEW`, a count. Pushed to the row's end, never against the label. */
244
+ badge?: ReactNode;
245
+ children: ReactNode;
246
+ className?: string;
247
+ };
248
+ export type SidebarMenuSubButtonProps<E extends ElementType = "a"> = SidebarMenuSubButtonOwnProps & {
249
+ as?: E;
250
+ } & Omit<ComponentPropsWithoutRef<E>, keyof SidebarMenuSubButtonOwnProps | "as">;
251
+ declare function SidebarMenuSubButton<E extends ElementType = "a">({ as, isActive, badge, children, className, ...rest }: SidebarMenuSubButtonProps<E>): import("react").JSX.Element;
252
+ export type SidebarTriggerProps = Omit<HTMLAttributes<HTMLButtonElement>, "children" | "onClick"> & {
253
+ /** Names the button. It says what pressing does, and that changes with the state. */
254
+ labels?: {
255
+ expand: string;
256
+ collapse: string;
257
+ };
258
+ children?: ReactNode;
259
+ };
260
+ /**
261
+ * Toggles the sidebar.
262
+ *
263
+ * The name changes with the state — "Collapse sidebar" when it is open — because a control
264
+ * whose name never changes cannot say what it is about to do. `aria-expanded` and
265
+ * `aria-controls` tie it to the panel.
266
+ */
267
+ declare function SidebarTrigger({ labels, children, className, ...rest }: SidebarTriggerProps): import("react").JSX.Element;
268
+ /**
269
+ * The strip along the sidebar's outer edge that toggles it.
270
+ *
271
+ * **Hidden from assistive technology, unlike shadcn's.** That one gives the rail
272
+ * `aria-label="Toggle Sidebar"` and `tabIndex={-1}`, which leaves a second button with the
273
+ * same name as `Sidebar.Trigger`, doing the same thing, and unreachable by keyboard. A
274
+ * screen reader listing the page's buttons then shows the toggle twice and neither entry
275
+ * says which is which — the tests here could not tell them apart either, which is how this
276
+ * was noticed.
277
+ *
278
+ * So it is what it actually is: a pointer affordance for an action that already has a named
279
+ * control. `Sidebar.Trigger` is that control, and this is a wider place to hit it.
280
+ */
281
+ declare function SidebarRail({ className, ...rest }: {
282
+ className?: string;
283
+ }): import("react").JSX.Element;
284
+ /**
285
+ * Renders its children only while the panel is expanded.
286
+ *
287
+ * For content that has no icon form. A licence tile is labelled prose, and at
288
+ * `--mos-sidebar-width-icon` — 52px — there is nothing to draw: measured in the collapsed
289
+ * panel, the card came out 35px wide with both of its values clipped to nothing and "More
290
+ * details" broken across two lines. A sliver of a card is worse than no card, because it
291
+ * still asks to be read.
292
+ *
293
+ * Explicit rather than automatic. `Sidebar` cannot tell which of the things a consumer puts
294
+ * in `header` or `footer` survive being 52px wide, and guessing would silently remove
295
+ * something that did.
296
+ *
297
+ * Nothing is lost by hiding it: collapsing is a choice the reader made and can undo with one
298
+ * press. That is different from the case for keeping the expiry date *out* of the
299
+ * organization switcher, where a third line would have been absent from a state nobody
300
+ * chose.
301
+ */
302
+ declare function SidebarWhenExpanded({ children }: {
303
+ children: ReactNode;
304
+ }): import("react").JSX.Element | null;
305
+ /**
306
+ * The content beside the sidebar. A `<main>`, so the page has a main landmark and a skip
307
+ * link has somewhere to go.
308
+ */
309
+ declare function SidebarInset({ children, className, ...rest }: HTMLAttributes<HTMLElement>): import("react").JSX.Element;
310
+ export declare const Sidebar: typeof SidebarRoot & {
311
+ Provider: typeof SidebarProvider;
312
+ Header: typeof SidebarHeader;
313
+ Content: typeof SidebarContent;
314
+ Footer: typeof SidebarFooter;
315
+ Group: typeof SidebarGroup;
316
+ Menu: typeof SidebarMenu;
317
+ MenuItem: typeof SidebarMenuItem;
318
+ MenuButton: typeof SidebarMenuButton;
319
+ MenuBadge: typeof SidebarMenuBadge;
320
+ MenuSub: typeof SidebarMenuSub;
321
+ MenuSubItem: typeof SidebarMenuSubItem;
322
+ MenuSubButton: typeof SidebarMenuSubButton;
323
+ WhenExpanded: typeof SidebarWhenExpanded;
324
+ Trigger: typeof SidebarTrigger;
325
+ Rail: typeof SidebarRail;
326
+ Inset: typeof SidebarInset;
327
+ };
328
+ export {};
329
+ //# sourceMappingURL=Sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EACX,cAAc,EAGd,SAAS,EACV,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,WAAW,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAIF;;;;;;GAMG;AACH,wBAAgB,UAAU,IAAI,mBAAmB,CAMhD;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,iEAAiE;IACjE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wBAAwB;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,iBAAS,eAAe,CAAC,EACvB,WAAkB,EAClB,IAAI,EAAE,cAAc,EACpB,YAAY,EACZ,gBAAuB,EACvB,QAAQ,EACR,SAAS,EACV,EAAE,oBAAoB,+BAkCtB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AAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,CAAC,WAAW,CAAC,+BAMlF;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBlB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Sidebar, useSidebar } from "./Sidebar";
2
+ export type { SidebarProps, SidebarItem, SidebarProviderProps, SidebarGroupProps, SidebarMenuButtonProps, SidebarMenuSubButtonProps, SidebarTriggerProps, SidebarContextValue, SidebarState } from "./Sidebar";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAChD,YAAY,EACV,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACb,MAAM,WAAW,CAAC"}
@@ -0,0 +1,126 @@
1
+ import type { ReactNode } from "react";
2
+ /**
3
+ * What the dot at the head of the row says about it. The five names and the palette
4
+ * behind them are recorded on `buildStatusTone` in `BuildBranchList`, which is the
5
+ * product mapping that feeds this.
6
+ */
7
+ export type SimpleListItemTone = "neutral" | "success" | "warning" | "danger" | "running";
8
+ export type SimpleListItemProps = {
9
+ title: ReactNode;
10
+ /**
11
+ * How the row's last outcome ended — "Build Failed".
12
+ *
13
+ * **The row is one line and this is not printed; it is spoken.** `tone` colours a `Dot`
14
+ * before the name, and this text becomes the dot's off-screen words, because a colour may
15
+ * never be the only carrier (WCAG 1.4.1). Absent along with `statusDetail`, the row has no
16
+ * outcome yet and its dot is neutral.
17
+ */
18
+ status?: ReactNode;
19
+ /** When it ended — "at 07.10.2026 11:31am". Joins `status` in the off-screen sentence. */
20
+ statusDetail?: ReactNode;
21
+ /**
22
+ * A mark that belongs to the name rather than to the row's outcome — "Re-signed from 1.1.5
23
+ * (5)" beside a binary, and nothing else so far.
24
+ *
25
+ * **It does not cost the row its single line.** The name gives up the width: it keeps the
26
+ * ellipsis and the badge keeps its size, so a long name is cut earlier rather than the badge
27
+ * being cut or pushed onto a second line. What the ellipsis hides is still readable by
28
+ * pointing at the row, as it always was.
29
+ *
30
+ * Not `status`: that is the row's *outcome*, which is spoken through the dot and never
31
+ * printed here. This is printed, because a fact about the item is not a colour.
32
+ */
33
+ badge?: ReactNode;
34
+ tone?: SimpleListItemTone;
35
+ /** The row the panel beside this one is showing. */
36
+ selected?: boolean;
37
+ href?: string;
38
+ /** Ignored when `href` is set. */
39
+ onSelect?: () => void;
40
+ /**
41
+ * Why the row cannot be opened. Given, the row stays a control but is refused: `onSelect` is
42
+ * not called, and the row says the sentence (see `Item`'s `disabledReason`).
43
+ */
44
+ disabledReason?: ReactNode;
45
+ /**
46
+ * The pin, or its absence. Omitted, the row cannot be pinned and no button is drawn — which
47
+ * is how a list that has no such notion uses this row.
48
+ *
49
+ * `can: false` leaves it out, like every action the viewer has no permission for (rule 35).
50
+ * Held back by the row's state instead, it stays drawn, disabled, and `disabledReason` says why
51
+ * on the button. Never faded — `Button`'s own disabled state keeps its glyph readable.
52
+ */
53
+ pin?: {
54
+ pinned: boolean;
55
+ onChange: (pinned: boolean) => void;
56
+ can?: boolean;
57
+ /** Why the row's state holds it back, said on the button - see `Button`'s `disabledReason`. */
58
+ disabledReason?: ReactNode;
59
+ /** Names the button in both states. Receives what it will do. */
60
+ label?: (pinned: boolean) => string;
61
+ /** `<Icon icon={icons.pin} />`. */
62
+ icon?: ReactNode;
63
+ };
64
+ /**
65
+ * What can be done to this row — a `DropdownMenu`, usually. **Always drawn, like the pin's box
66
+ * beside it**: a hover-reveal was tried and taken back the same day (2026-08-25) — a `⋯` you
67
+ * cannot see is the one you cannot find on the row you want gone, and on a touch screen never
68
+ * appears at all. A slot rather than a list of actions, because what a row can do — and the
69
+ * scopes gating it — are the application's.
70
+ */
71
+ actions?: ReactNode;
72
+ /**
73
+ * A task is running on this row. Said without depending on a colour: a spinner in the dot's
74
+ * seat, the step text as the off-screen status announced through `role="status"`, and
75
+ * `aria-busy` on the row. The row keeps its own controls throughout.
76
+ */
77
+ busy?: boolean;
78
+ /** What is happening — "Building: Preparing environment". Replaces `status` while busy. */
79
+ busyText?: ReactNode;
80
+ className?: string;
81
+ };
82
+ export type SimpleListItemSkeletonProps = {
83
+ /** The name bars' widths, one row each — varied, so the shape reads as rows, not stripes. */
84
+ widths?: string[];
85
+ /**
86
+ * The disc at the head of each row, where the dot sits. Off for a list whose rows carry no
87
+ * dot (`ManagedListPanel`'s), so the placeholder does not promise a column the rows lack.
88
+ */
89
+ dot?: boolean;
90
+ /**
91
+ * Announced while the placeholders stand — "Loading branches". Optional because a list whose
92
+ * own header already says it is loading (`BuildBranchList`'s status bar) must not say it
93
+ * twice; the rows themselves are always `aria-hidden`, as `Skeleton` is.
94
+ */
95
+ label?: string;
96
+ className?: string;
97
+ };
98
+ /**
99
+ * The first load of a list of these rows: rows-to-be at the real rows' own 36px step (rule 16 —
100
+ * a wait is shape, never a spinner and never `empty`, which is an answer the server has not
101
+ * given). Extracted 2026-08-26 when the connections page hand-copied the branch list's recipe —
102
+ * the third copy (`BuildBranchList`, `ManagedListPanel`, the page) of what rule 12 says should
103
+ * be written once.
104
+ *
105
+ * The rows' inset is `--mos-list-skeleton-inset` (default `md`, the name's usual seat): the
106
+ * placeholder has to align with the *real* rows of the list it stands in for, and those carry
107
+ * different insets per list — a variable, so each list says its own without restyling the rows.
108
+ */
109
+ export declare function SimpleListItemSkeleton({ widths, dot, label, className, }: SimpleListItemSkeletonProps): import("react").JSX.Element;
110
+ /**
111
+ * One row, one line: a dot for how the last run ended, the name, and the row's own controls —
112
+ * the product's standard list row, at the 28px control step with `xxs` either side (36px,
113
+ * rule 17), the rounded hover fill its only paint.
114
+ *
115
+ * Extracted from `BuildBranchList` (2026-08-25) when the variable groups list asked for the same
116
+ * row — the second consumer that makes a composition a component (rule 12). `BuildBranchList.Item`
117
+ * *is* this component; everything recorded on that block's tests — the keyboard reachability `Item`
118
+ * brings, the CSS truncation, the off-screen words, the pin's hover reveal — holds here unchanged.
119
+ */
120
+ declare function SimpleListItemRoot({ title, status, statusDetail, badge, tone, selected, href, onSelect, disabledReason, pin, actions, busy, busyText, className, }: SimpleListItemProps): import("react").JSX.Element;
121
+ /** The row, with its first-load shape attached: `SimpleListItem.Skeleton`. */
122
+ export declare const SimpleListItem: typeof SimpleListItemRoot & {
123
+ Skeleton: typeof SimpleListItemSkeleton;
124
+ };
125
+ export {};
126
+ //# sourceMappingURL=SimpleListItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleListItem.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleListItem/SimpleListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAC5B,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,0FAA0F;IAC1F,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;;;;;;OAOG;IACH,GAAG,CAAC,EAAE;QACJ,MAAM,EAAE,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+ export type { SimpleListItemProps, SimpleListItemSkeletonProps, SimpleListItemTone } from "./SimpleListItem";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleListItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,YAAY,EACV,mBAAmB,EACnB,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,26 @@
1
+ export type SkeletonProps = {
2
+ /** Any CSS length or percentage. Content widths are not on a scale. */
3
+ width?: string;
4
+ /**
5
+ * `text` matches a line of body copy, `title` a heading, `block` fills the
6
+ * height given. The old component took a raw `height` string, which is how a
7
+ * placeholder ends up a different size to the thing it stands in for.
8
+ */
9
+ variant?: "text" | "title" | "block";
10
+ /** Number of lines, for `text`. The last one is shortened, as prose is. */
11
+ lines?: number;
12
+ /** Only for `block`. */
13
+ height?: string;
14
+ radius?: "sm" | "md" | "lg" | "full";
15
+ className?: string;
16
+ };
17
+ /**
18
+ * A placeholder for content that has not arrived.
19
+ *
20
+ * Hidden from assistive technology: a screen reader gains nothing from being
21
+ * told about grey boxes. The announcement belongs to the region that is loading
22
+ * — put `aria-busy="true"` on it, and a `Spinner` or the eventual content will
23
+ * say what happened.
24
+ */
25
+ export declare function Skeleton({ width, variant, lines, height, radius, className }: SkeletonProps): import("react").JSX.Element;
26
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG;IAC1B,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IACrC,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,OAAgB,EAChB,KAAS,EACT,MAAM,EACN,MAAa,EACb,SAAS,EACV,EAAE,aAAa,+BAiCf"}
@@ -0,0 +1,3 @@
1
+ export { Skeleton } from "./Skeleton";
2
+ export type { SkeletonProps } from "./Skeleton";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,42 @@
1
+ import type { InputHTMLAttributes, ReactNode } from "react";
2
+ export type SliderProps = Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "style" | "type" | "children" | "value" | "onChange"> & {
3
+ /** Where the handle is. Controlled, like every other control here. */
4
+ value: number;
5
+ /** The new value, already a number — `event.target.value` is a string. */
6
+ onChange: (value: number) => void;
7
+ min?: number;
8
+ max?: number;
9
+ step?: number;
10
+ /**
11
+ * What the value is, in words — "40%". Drawn at the trailing end of the track and announced
12
+ * as `aria-valuetext`, so the number is read rather than the bare figure.
13
+ *
14
+ * Omitted, nothing is drawn beside the track and the reader is told the number alone. Pass
15
+ * it whenever the number has a unit: "60" and "60%" are not the same claim.
16
+ */
17
+ valueText?: ReactNode;
18
+ disabled?: boolean;
19
+ className?: string;
20
+ };
21
+ /**
22
+ * A value chosen from a range, by dragging or with the arrow keys.
23
+ *
24
+ * **Native, for the reason `Select` and `Checkbox` are and `Progress` is not.** What is hard
25
+ * about a slider is not the bar — it is Home/End/PageUp/arrow handling, the pointer capture that
26
+ * keeps a drag alive outside the element, touch, right-to-left, and form participation. All of
27
+ * that comes with `<input type="range">`; only the paint is given up, and `appearance: none`
28
+ * takes it back.
29
+ *
30
+ * That is worth stating because the control this replaces did none of it. The product's rollout bar
31
+ * is a `div` with `onMouseDown` and two `document` listeners: no keyboard at all, no touch, no
32
+ * `role`, no `aria-valuenow`, and a `useEffect` that re-registers both listeners on every drag
33
+ * frame. A reader on a keyboard cannot set a rollout percentage, and a reader on a screen reader is
34
+ * not told there is one.
35
+ *
36
+ * **The bar is two elements behind the input.** A *child* cannot be layered under the browser's
37
+ * own thumb; a sibling can, and the input carries no fill of its own — so the filled part gets
38
+ * rounded ends and the hit area can be taller than the 6px bar. The first attempt painted both
39
+ * with a gradient on the input and did neither. See the stylesheet.
40
+ */
41
+ export declare function Slider({ value, onChange, min, max, step, valueText, disabled, className, ...rest }: SliderProps): import("react").JSX.Element;
42
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3E,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CACnE,GAAG;IACF,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,QAAQ,EACR,GAAO,EACP,GAAS,EACT,IAAQ,EACR,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,WAAW,+BAyCb"}
@@ -0,0 +1,3 @@
1
+ export { Slider } from "./Slider";
2
+ export type { SliderProps } from "./Slider";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,21 @@
1
+ export type SpinnerProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ /**
4
+ * What is being waited for. Announced politely.
5
+ *
6
+ * Pass an empty string when nearby text already says it — two announcements
7
+ * of "Loading" is worse than one. That makes the spinner decorative and hides
8
+ * it from the accessibility tree.
9
+ */
10
+ label?: string;
11
+ className?: string;
12
+ };
13
+ /**
14
+ * A busy indicator.
15
+ *
16
+ * `role="status"` announces the label once, politely, without stealing focus. The product has no
17
+ * live regions anywhere — `role="status"`, `role="alert"` and `aria-live` each appear zero times —
18
+ * so a screen reader user is given no indication that anything is loading.
19
+ */
20
+ export declare function Spinner({ size, label, className }: SpinnerProps): import("react").JSX.Element;
21
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,KAAiB,EAAE,SAAS,EAAE,EAAE,YAAY,+BAYlF"}
@@ -0,0 +1,3 @@
1
+ export { Spinner } from "./Spinner";
2
+ export type { SpinnerProps } from "./Spinner";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}