@servicetitan/anvil2 3.14.1 → 3.15.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 (623) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AiMark-CWufA6pV.js → AiMark-D57s1e0T.js} +3 -3
  3. package/dist/AiMark-D57s1e0T.js.map +1 -0
  4. package/dist/AiMark.js +1 -1
  5. package/dist/{Alert-RkvFtmRP.js → Alert-DExHiAbM.js} +2 -2
  6. package/dist/Alert-DExHiAbM.js.map +1 -0
  7. package/dist/Alert.js +1 -1
  8. package/dist/Announcement-CGTv6M31.js.map +1 -1
  9. package/dist/Avatar-Ba662b3z.js +17 -0
  10. package/dist/Avatar-Ba662b3z.js.map +1 -0
  11. package/dist/{Avatar-DZxHhMTP.js → Avatar-CwnLhw9m.js} +1 -20
  12. package/dist/Avatar-CwnLhw9m.js.map +1 -0
  13. package/dist/Avatar.js +2 -2
  14. package/dist/Badge-BNrYBFiU.js.map +1 -1
  15. package/dist/{Breadcrumbs-DbOrdao2.js → Breadcrumbs-DtLSS0PJ.js} +3 -16
  16. package/dist/Breadcrumbs-DtLSS0PJ.js.map +1 -0
  17. package/dist/Breadcrumbs.js +1 -1
  18. package/dist/Button-Dwh_Nd4l.js.map +1 -1
  19. package/dist/ButtonCompound-D7kA0qXr.js.map +1 -1
  20. package/dist/ButtonLink-DOFAxNvC.js.map +1 -1
  21. package/dist/ButtonToggle-DKDBD1g3.js.map +1 -1
  22. package/dist/{Calendar-DLnn6dJE.js → Calendar-BUFPc5UN.js} +2 -2
  23. package/dist/{Calendar-DLnn6dJE.js.map → Calendar-BUFPc5UN.js.map} +1 -1
  24. package/dist/{Calendar-CK-AAaSG.js → Calendar-CEf7ke8X.js} +11 -79
  25. package/dist/Calendar-CEf7ke8X.js.map +1 -0
  26. package/dist/Calendar.js +2 -2
  27. package/dist/Card-Bt0F6RTq.js.map +1 -1
  28. package/dist/{Checkbox-Cn4iNLW_.js → Checkbox-DBE35nMv.js} +3 -23
  29. package/dist/Checkbox-DBE35nMv.js.map +1 -0
  30. package/dist/{Checkbox-CboZhOtU.js → Checkbox-DVy-QESI.js} +3 -3
  31. package/dist/Checkbox-DVy-QESI.js.map +1 -0
  32. package/dist/Checkbox.js +1 -1
  33. package/dist/{Chip-UbrxYEqs.js → Chip-B4G4zaP-.js} +3 -3
  34. package/dist/Chip-B4G4zaP-.js.map +1 -0
  35. package/dist/Chip.js +1 -1
  36. package/dist/Combobox.js +1 -1
  37. package/dist/{DataTable-COExZbOC.js → DataTable-DbuXfDNJ.js} +8 -8
  38. package/dist/{DataTable-COExZbOC.js.map → DataTable-DbuXfDNJ.js.map} +1 -1
  39. package/dist/{DateFieldRange-CpTxlASD.js → DateFieldRange-nyj8mtUP.js} +7 -15
  40. package/dist/DateFieldRange-nyj8mtUP.js.map +1 -0
  41. package/dist/DateFieldRange.js +1 -1
  42. package/dist/{DateFieldSingle-DR2kfrzh.js → DateFieldSingle-BmCghXba.js} +6 -9
  43. package/dist/DateFieldSingle-BmCghXba.js.map +1 -0
  44. package/dist/DateFieldSingle.js +1 -1
  45. package/dist/{DateFieldYearless-4mS_2Mgw.js → DateFieldYearless-Df7fA85i.js} +4 -4
  46. package/dist/DateFieldYearless-Df7fA85i.js.map +1 -0
  47. package/dist/DateFieldYearless.js +1 -1
  48. package/dist/{DateFieldYearlessRange-C-yvKBkJ.js → DateFieldYearlessRange-DYpY4K1c.js} +3 -3
  49. package/dist/DateFieldYearlessRange-DYpY4K1c.js.map +1 -0
  50. package/dist/DateFieldYearlessRange.js +1 -1
  51. package/dist/{DaysOfTheWeek-Bo4w8SsT.js → DaysOfTheWeek-CyWGRqFG.js} +3 -3
  52. package/dist/DaysOfTheWeek-CyWGRqFG.js.map +1 -0
  53. package/dist/DaysOfTheWeek.js +1 -1
  54. package/dist/{Details-CVA5zbrR.js → Details-oM-nR4ju.js} +3 -1
  55. package/dist/Details-oM-nR4ju.js.map +1 -0
  56. package/dist/Details.js +1 -1
  57. package/dist/{Dialog-Ds25dKQp.js → Dialog-vSiZAR1y.js} +44 -102
  58. package/dist/Dialog-vSiZAR1y.js.map +1 -0
  59. package/dist/Dialog.js +1 -1
  60. package/dist/DialogCancelButton-DBL0aKTK.js.map +1 -1
  61. package/dist/DialogContext-DBgtApl9.js.map +1 -1
  62. package/dist/Divider-C7fp5Xb6.js.map +1 -1
  63. package/dist/Dnd.js +1 -1
  64. package/dist/DndHandleButton-BRlodkDO.js.map +1 -1
  65. package/dist/DndSort.js +4 -6
  66. package/dist/DndSort.js.map +1 -1
  67. package/dist/{Drawer-Da-bj_6o.js → Drawer-B4pxj_2P.js} +33 -103
  68. package/dist/Drawer-B4pxj_2P.js.map +1 -0
  69. package/dist/Drawer.js +1 -1
  70. package/dist/DrawerContext-BSpnzXVZ.js.map +1 -1
  71. package/dist/DrillDown.js +1 -1
  72. package/dist/DrillDown.module-1VBKDZRA.js.map +1 -1
  73. package/dist/{EditCard-CocV93gS.js → EditCard-CX1G7G2Q.js} +2 -2
  74. package/dist/EditCard-CX1G7G2Q.js.map +1 -0
  75. package/dist/EditCard.js +1 -1
  76. package/dist/{FieldLabel-6aFKQfyD.js → FieldLabel-CAusaqUY.js} +3 -4
  77. package/dist/FieldLabel-CAusaqUY.js.map +1 -0
  78. package/dist/FieldLabel.js +1 -1
  79. package/dist/FieldMessage-8c9yA_kw.js.map +1 -1
  80. package/dist/{FilterBar-CZT1ryz_.js → FilterBar-CKYf-1oU.js} +5 -5
  81. package/dist/{FilterBar-CZT1ryz_.js.map → FilterBar-CKYf-1oU.js.map} +1 -1
  82. package/dist/FilterBar.js +1 -1
  83. package/dist/Flex-CRF7gj0_.js.map +1 -1
  84. package/dist/{Grid-CvGQrIhE.js → Grid-BPCDtqoT.js} +2 -20
  85. package/dist/Grid-BPCDtqoT.js.map +1 -0
  86. package/dist/Grid.js +1 -1
  87. package/dist/Icon-B5zwN7GD.js.map +1 -1
  88. package/dist/{InputMask-CNV0Ucli.js → InputMask-xMpquXPU.js} +3 -3
  89. package/dist/{InputMask-CNV0Ucli.js.map → InputMask-xMpquXPU.js.map} +1 -1
  90. package/dist/InputMask.js +1 -1
  91. package/dist/{Layout-C2Q2hyLG.js → Layout-C8fKY7Eh.js} +2 -1
  92. package/dist/Layout-C8fKY7Eh.js.map +1 -0
  93. package/dist/Layout.js +1 -1
  94. package/dist/Link-D7ycmfQ_.js.map +1 -1
  95. package/dist/LinkButton-C0wps8r1.js.map +1 -1
  96. package/dist/{List-BvzfZ9TW.js → List-CTr2fk7l.js} +2 -11
  97. package/dist/List-CTr2fk7l.js.map +1 -0
  98. package/dist/List.js +1 -1
  99. package/dist/{ListView-DFAWrwzi.js → ListView-D6l1KY92.js} +4 -26
  100. package/dist/ListView-D6l1KY92.js.map +1 -0
  101. package/dist/ListView.js +1 -1
  102. package/dist/{Listbox-BErqErNN.js → Listbox-Dep1eJ3u.js} +4 -30
  103. package/dist/Listbox-Dep1eJ3u.js.map +1 -0
  104. package/dist/Listbox.js +1 -1
  105. package/dist/{Menu-BjPE_ODh.js → Menu-eLxQwmZk.js} +2 -22
  106. package/dist/Menu-eLxQwmZk.js.map +1 -0
  107. package/dist/Menu.js +1 -1
  108. package/dist/MultiSelectField.js +1 -1
  109. package/dist/{MultiSelectFieldSync-CqWUidCm.js → MultiSelectFieldSync-ZNoNOm6d.js} +6 -13
  110. package/dist/MultiSelectFieldSync-ZNoNOm6d.js.map +1 -0
  111. package/dist/MultiSelectMenu.js +1 -1
  112. package/dist/{MultiSelectMenuSync-DG3rKyQc.js → MultiSelectMenuSync-DrgqaUJj.js} +4 -4
  113. package/dist/MultiSelectMenuSync-DrgqaUJj.js.map +1 -0
  114. package/dist/{NumberField-DRYYJHec.js → NumberField-D5ZzEHg1.js} +3 -3
  115. package/dist/NumberField-D5ZzEHg1.js.map +1 -0
  116. package/dist/NumberField.js +1 -1
  117. package/dist/Overflow.js +1 -1
  118. package/dist/Overflow.js.map +1 -1
  119. package/dist/{Page-pfK5iSmv.js → Page-B2HZzNGP.js} +11 -11
  120. package/dist/{Page-pfK5iSmv.js.map → Page-B2HZzNGP.js.map} +1 -1
  121. package/dist/Page.js +1 -1
  122. package/dist/{Pagination-Bc4fhdNm.js → Pagination-CAgXtt9t.js} +13 -9
  123. package/dist/Pagination-CAgXtt9t.js.map +1 -0
  124. package/dist/Pagination.js +1 -1
  125. package/dist/{Popover-BgVOsP4J.js → Popover-CjL2ixjB.js} +6 -74
  126. package/dist/Popover-CjL2ixjB.js.map +1 -0
  127. package/dist/Popover.js +1 -1
  128. package/dist/{ProgressBar-Chb0uKfL.js → ProgressBar-ClKcOcXq.js} +2 -2
  129. package/dist/ProgressBar-ClKcOcXq.js.map +1 -0
  130. package/dist/ProgressBar.js +1 -1
  131. package/dist/Radio-C2BJqWlV.js +31 -0
  132. package/dist/Radio-C2BJqWlV.js.map +1 -0
  133. package/dist/{Radio-DcNlFfSu.js → Radio-_ftIQSru.js} +3 -3
  134. package/dist/Radio-_ftIQSru.js.map +1 -0
  135. package/dist/Radio.js +1 -1
  136. package/dist/{RichTextEditor-DeO4p-S-.js → RichTextEditor-TcZUnqcp.js} +9 -9
  137. package/dist/{RichTextEditor-DeO4p-S-.js.map → RichTextEditor-TcZUnqcp.js.map} +1 -1
  138. package/dist/RichTextEditor.js +1 -1
  139. package/dist/{SavedFiltersButton-Cvf1mJk8.js → SavedFiltersButton-B8lf3L2T.js} +9 -9
  140. package/dist/{SavedFiltersButton-Cvf1mJk8.js.map → SavedFiltersButton-B8lf3L2T.js.map} +1 -1
  141. package/dist/SavedFiltersButton.js +1 -1
  142. package/dist/SearchField-ChoNtw8w.js.map +1 -1
  143. package/dist/SearchField-DX8hZyo2.js.map +1 -1
  144. package/dist/{SegmentedControl-CQ6DrbDc.js → SegmentedControl-CtKoYHoO.js} +2 -17
  145. package/dist/SegmentedControl-CtKoYHoO.js.map +1 -0
  146. package/dist/SegmentedControl.js +1 -1
  147. package/dist/{SelectCard-bp5hRyHK.js → SelectCard-BwIbfore.js} +4 -28
  148. package/dist/SelectCard-BwIbfore.js.map +1 -0
  149. package/dist/SelectCard.js +1 -1
  150. package/dist/SelectField.js +1 -1
  151. package/dist/{SelectFieldLabel-DZqxaZsp.js → SelectFieldLabel-7VTZ83QJ.js} +2 -2
  152. package/dist/SelectFieldLabel-7VTZ83QJ.js.map +1 -0
  153. package/dist/{SelectFieldSync-Wkx6DGpg.js → SelectFieldSync-CB75kkka.js} +7 -6
  154. package/dist/SelectFieldSync-CB75kkka.js.map +1 -0
  155. package/dist/SelectMenu.js +1 -1
  156. package/dist/{SelectMenuSync-O55TODxn.js → SelectMenuSync-DIMfovCI.js} +4 -4
  157. package/dist/SelectMenuSync-DIMfovCI.js.map +1 -0
  158. package/dist/{SelectOptions-0A8BYx1q.js → SelectOptions-si_rVLEZ.js} +2 -2
  159. package/dist/{SelectOptions-0A8BYx1q.js.map → SelectOptions-si_rVLEZ.js.map} +1 -1
  160. package/dist/{SelectTrigger-BfJ7DWYq.js → SelectTrigger-C3-Cne3D.js} +3 -3
  161. package/dist/SelectTrigger-C3-Cne3D.js.map +1 -0
  162. package/dist/SelectTrigger.js +1 -1
  163. package/dist/{SelectTriggerBase-DvsI-kSG.js → SelectTriggerBase-BnsTYWVb.js} +3 -5
  164. package/dist/SelectTriggerBase-BnsTYWVb.js.map +1 -0
  165. package/dist/{SideNav-BLXgM918.js → SideNav-CHG7i8Dy.js} +4 -57
  166. package/dist/SideNav-CHG7i8Dy.js.map +1 -0
  167. package/dist/SideNav.js +1 -1
  168. package/dist/Skeleton.js.map +1 -1
  169. package/dist/Spinner-B7tTWcP6.js.map +1 -1
  170. package/dist/SrOnly-pnf8ajnh.js.map +1 -1
  171. package/dist/{Stepper-CCKHWlUr.js → Stepper-C-QC9QHx.js} +10 -178
  172. package/dist/Stepper-C-QC9QHx.js.map +1 -0
  173. package/dist/Stepper.js +1 -1
  174. package/dist/{Switch-CrDmBj4D.js → Switch-DWq4QI8M.js} +2 -2
  175. package/dist/Switch-DWq4QI8M.js.map +1 -0
  176. package/dist/Switch.js +1 -1
  177. package/dist/{Tab-Bqfvg8Ce.js → Tab-mXEQ0ifM.js} +4 -58
  178. package/dist/Tab-mXEQ0ifM.js.map +1 -0
  179. package/dist/Tab.js +1 -1
  180. package/dist/Table.js +1 -1
  181. package/dist/{Text-CZccJAnm.js → Text-dONmlARH.js} +2 -2
  182. package/dist/Text-dONmlARH.js.map +1 -0
  183. package/dist/Text.js +1 -1
  184. package/dist/{TextField-D0f9LwgQ.js → TextField-CQ7e3mC4.js} +3 -3
  185. package/dist/TextField-CQ7e3mC4.js.map +1 -0
  186. package/dist/{TextField-DX5qyWPo.js → TextField-CtXjbtqa.js} +2 -2
  187. package/dist/TextField-CtXjbtqa.js.map +1 -0
  188. package/dist/TextField.js +1 -1
  189. package/dist/{Textarea-CdTcekFd.js → Textarea-DGVHQktZ.js} +3 -3
  190. package/dist/Textarea-DGVHQktZ.js.map +1 -0
  191. package/dist/Textarea.js +1 -1
  192. package/dist/{TimeField-BxNglWQt.js → TimeField-AttXPsQw.js} +5 -9
  193. package/dist/TimeField-AttXPsQw.js.map +1 -0
  194. package/dist/TimeField.js +1 -1
  195. package/dist/TimezoneMessage-BrKB_psP.js.map +1 -1
  196. package/dist/Toast.js +2 -2
  197. package/dist/{Toaster-C-Z_FMbW.js → Toaster-CNtAl-tF.js} +6 -18
  198. package/dist/Toaster-CNtAl-tF.js.map +1 -0
  199. package/dist/{Toaster-nyQgF9Ki.js → Toaster-DYO8NLTo.js} +3 -6
  200. package/dist/Toaster-DYO8NLTo.js.map +1 -0
  201. package/dist/{Toolbar-BUbMtBVz.js → Toolbar-BIbbaCxh.js} +8 -77
  202. package/dist/Toolbar-BIbbaCxh.js.map +1 -0
  203. package/dist/{Toolbar-BxAFPvbn.js → Toolbar-B_lHD0c2.js} +5 -5
  204. package/dist/{Toolbar-BxAFPvbn.js.map → Toolbar-B_lHD0c2.js.map} +1 -1
  205. package/dist/Toolbar.js +2 -2
  206. package/dist/{ToolbarButtonToggle-NSJ2XfXT.js → ToolbarButtonToggle-BMBmBdw1.js} +2 -2
  207. package/dist/{ToolbarButtonToggle-NSJ2XfXT.js.map → ToolbarButtonToggle-BMBmBdw1.js.map} +1 -1
  208. package/dist/{Tooltip-B4MSqIpg.js → Tooltip-C_VcYS9P.js} +3 -37
  209. package/dist/Tooltip-C_VcYS9P.js.map +1 -0
  210. package/dist/Tooltip.js +1 -1
  211. package/dist/TreeSelectField.js +1 -1
  212. package/dist/{TreeSelectFieldSync-DpvwlM7B.js → TreeSelectFieldSync-CKnFwROC.js} +5 -5
  213. package/dist/{TreeSelectFieldSync-DpvwlM7B.js.map → TreeSelectFieldSync-CKnFwROC.js.map} +1 -1
  214. package/dist/TreeSelectMenu.js +1 -1
  215. package/dist/{TreeSelectMenuSync-BDitYX_k.js → TreeSelectMenuSync-CK-x2_ne.js} +3 -3
  216. package/dist/{TreeSelectMenuSync-BDitYX_k.js.map → TreeSelectMenuSync-CK-x2_ne.js.map} +1 -1
  217. package/dist/{TypeaheadTextField-Cj09sEji.js → TypeaheadTextField-DqnUGXj0.js} +3 -3
  218. package/dist/{TypeaheadTextField-Cj09sEji.js.map → TypeaheadTextField-DqnUGXj0.js.map} +1 -1
  219. package/dist/TypeaheadTextField.js +1 -1
  220. package/dist/{YearlessDateInputWithPicker-CoomgSEK.js → YearlessDateInputWithPicker-aI4UIyMD.js} +5 -7
  221. package/dist/YearlessDateInputWithPicker-aI4UIyMD.js.map +1 -0
  222. package/dist/assets/icons/st/gnav_analytics_active.svg +1 -0
  223. package/dist/assets/icons/st/gnav_analytics_inactive.svg +1 -0
  224. package/dist/assets/icons/st.ts +3 -1
  225. package/dist/beta.js +17 -17
  226. package/dist/{bulkActionTypes-DAo3_ECS.js → bulkActionTypes-sbwWLsDi.js} +2 -2
  227. package/dist/{bulkActionTypes-DAo3_ECS.js.map → bulkActionTypes-sbwWLsDi.js.map} +1 -1
  228. package/dist/{filter-state-CZcczj37.js → filter-state-DW8YmRHb.js} +20 -20
  229. package/dist/{filter-state-CZcczj37.js.map → filter-state-DW8YmRHb.js.map} +1 -1
  230. package/dist/{index-BwV_Pz7v.js → index-Bldaza5t.js} +5 -1
  231. package/dist/index-Bldaza5t.js.map +1 -0
  232. package/dist/{index-BFxzUzoz.js → index-Cw2HFh0a.js} +2 -2
  233. package/dist/{index-BFxzUzoz.js.map → index-Cw2HFh0a.js.map} +1 -1
  234. package/dist/index.js +61 -171
  235. package/dist/index.js.map +1 -1
  236. package/dist/{makeZeroShortcutPreprocessor-CxsiGTRW.js → makeZeroShortcutPreprocessor-D5KWcgUA.js} +2 -4
  237. package/dist/makeZeroShortcutPreprocessor-D5KWcgUA.js.map +1 -0
  238. package/dist/src/components/AiMark/AiMark.d.ts +9 -69
  239. package/dist/src/components/AiMark/internal/AiMarkIconAnimated.d.ts +2 -20
  240. package/dist/src/components/AiMark/internal/AiMarkInteractive.d.ts +4 -0
  241. package/dist/src/components/Alert/Alert.d.ts +10 -54
  242. package/dist/src/components/Announcement/Announcement.d.ts +7 -49
  243. package/dist/src/components/Avatar/Avatar.d.ts +5 -41
  244. package/dist/src/components/Avatar/AvatarGroup.d.ts +4 -25
  245. package/dist/src/components/Avatar/internal/Avatar.d.ts +1 -44
  246. package/dist/src/components/Avatar/internal/AvatarBase.d.ts +13 -53
  247. package/dist/src/components/Badge/Badge.d.ts +9 -42
  248. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +6 -33
  249. package/dist/src/components/Breadcrumbs/BreadcrumbsLink.d.ts +1 -15
  250. package/dist/src/components/Button/Button.d.ts +19 -41
  251. package/dist/src/components/Button/internal/buttonAiMarkUtils.d.ts +2 -5
  252. package/dist/src/components/ButtonCompound/ButtonCompound.d.ts +5 -28
  253. package/dist/src/components/ButtonLink/ButtonLink.d.ts +23 -59
  254. package/dist/src/components/ButtonToggle/ButtonToggle.d.ts +14 -51
  255. package/dist/src/components/Calendar/Calendar.d.ts +43 -239
  256. package/dist/src/components/Calendar/CalendarContext.d.ts +32 -102
  257. package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -6
  258. package/dist/src/components/Calendar/CalendarMonthButton.d.ts +2 -11
  259. package/dist/src/components/Calendar/CalendarNextButton.d.ts +1 -8
  260. package/dist/src/components/Calendar/CalendarNowButton.d.ts +5 -12
  261. package/dist/src/components/Calendar/CalendarPrevButton.d.ts +1 -8
  262. package/dist/src/components/Calendar/CalendarYearButton.d.ts +2 -10
  263. package/dist/src/components/Calendar/internal/CalendarDay.d.ts +3 -13
  264. package/dist/src/components/Calendar/internal/CalendarMonthSelection.d.ts +3 -17
  265. package/dist/src/components/Calendar/internal/CalendarWeek.d.ts +5 -18
  266. package/dist/src/components/Calendar/internal/utils.d.ts +1 -0
  267. package/dist/src/components/Card/Card.d.ts +4 -21
  268. package/dist/src/components/Checkbox/Checkbox.d.ts +3 -50
  269. package/dist/src/components/Checkbox/CheckboxGroup.d.ts +21 -65
  270. package/dist/src/components/Checkbox/internal/Checkbox.d.ts +32 -90
  271. package/dist/src/components/Checkbox/internal/CheckboxGroupContext.d.ts +2 -14
  272. package/dist/src/components/Checkbox/types.d.ts +2 -0
  273. package/dist/src/components/Chip/Chip.d.ts +5 -41
  274. package/dist/src/components/Chip/internal/Chip.d.ts +13 -84
  275. package/dist/src/components/DateFieldRange/DateFieldRange.d.ts +27 -44
  276. package/dist/src/components/DateFieldRange/internal/DateFieldRangeCalendar.d.ts +7 -0
  277. package/dist/src/components/DateFieldRange/internal/MaskedDateRangeInput.d.ts +18 -11
  278. package/dist/src/components/DateFieldRange/internal/maskito/dateRangePlaceholderMask.d.ts +2 -0
  279. package/dist/src/components/DateFieldRange/internal/useDateFieldRangeConversion.d.ts +1 -7
  280. package/dist/src/components/DateFieldRange/internal/useDateFieldRangeState.d.ts +11 -33
  281. package/dist/src/components/DateFieldRange/internal/utils.d.ts +4 -0
  282. package/dist/src/components/DateFieldRange/parts.d.ts +2 -7
  283. package/dist/src/components/DateFieldSingle/DateFieldSingle.d.ts +24 -46
  284. package/dist/src/components/DateFieldSingle/internal/DateFieldSingleCalendar.d.ts +4 -0
  285. package/dist/src/components/DateFieldSingle/internal/MaskedDateInput.d.ts +15 -8
  286. package/dist/src/components/DateFieldSingle/internal/TimezoneMessage.d.ts +2 -0
  287. package/dist/src/components/DateFieldSingle/internal/maskito/datePlaceholderMask.d.ts +1 -0
  288. package/dist/src/components/DateFieldSingle/internal/maskito/makeZeroShortcutPreprocessor.d.ts +3 -5
  289. package/dist/src/components/DateFieldSingle/internal/useDateFieldSingleConversion.d.ts +3 -29
  290. package/dist/src/components/DateFieldSingle/internal/useDateFieldSingleState.d.ts +13 -22
  291. package/dist/src/components/DateFieldSingle/internal/utils.d.ts +6 -16
  292. package/dist/src/components/DateFieldSingle/parts.d.ts +2 -7
  293. package/dist/src/components/DateFieldSingle/types.d.ts +1 -0
  294. package/dist/src/components/DateFieldYearless/DateFieldYearless.d.ts +31 -96
  295. package/dist/src/components/DateFieldYearless/internal/PickerList.d.ts +12 -40
  296. package/dist/src/components/DateFieldYearless/internal/PickerListOption.d.ts +5 -22
  297. package/dist/src/components/DateFieldYearless/internal/YearlessDateInput.d.ts +23 -8
  298. package/dist/src/components/DateFieldYearless/internal/YearlessDateInputWithPicker.d.ts +31 -90
  299. package/dist/src/components/DateFieldYearless/internal/YearlessDateSelectionPopover.d.ts +6 -8
  300. package/dist/src/components/DateFieldYearless/internal/maskito/yearlessDatePlaceholderMask.d.ts +1 -0
  301. package/dist/src/components/DateFieldYearless/internal/maskito/yearlessDateSegmentsStepping.d.ts +3 -5
  302. package/dist/src/components/DateFieldYearless/internal/utils.d.ts +7 -36
  303. package/dist/src/components/DateFieldYearless/parts.d.ts +2 -4
  304. package/dist/src/components/DateFieldYearless/types.d.ts +3 -0
  305. package/dist/src/components/DateFieldYearlessRange/DateFieldYearlessRange.d.ts +32 -48
  306. package/dist/src/components/DateFieldYearlessRange/parts.d.ts +2 -4
  307. package/dist/src/components/DaysOfTheWeek/DaysOfTheWeek.d.ts +32 -93
  308. package/dist/src/components/Details/Details.d.ts +10 -38
  309. package/dist/src/components/Details/DetailsContent.d.ts +6 -30
  310. package/dist/src/components/Details/DetailsSummary.d.ts +2 -18
  311. package/dist/src/components/Details/internal/DetailsArrow.d.ts +1 -17
  312. package/dist/src/components/Dialog/Dialog.d.ts +41 -218
  313. package/dist/src/components/Dialog/DialogCancelButton.d.ts +2 -17
  314. package/dist/src/components/Dialog/DialogContent.d.ts +4 -35
  315. package/dist/src/components/Dialog/DialogFooter.d.ts +4 -26
  316. package/dist/src/components/Dialog/DialogHeader.d.ts +2 -17
  317. package/dist/src/components/Dialog/internal/DialogContext.d.ts +0 -3
  318. package/dist/src/components/Dialog/internal/useInitialFocus.d.ts +3 -14
  319. package/dist/src/components/Divider/Divider.d.ts +8 -44
  320. package/dist/src/components/Dnd/DndHandle.d.ts +1 -18
  321. package/dist/src/components/Dnd/DndHandleButton.d.ts +2 -26
  322. package/dist/src/components/Dnd/DndSortLine.d.ts +4 -31
  323. package/dist/src/components/Dnd/DndZone.d.ts +6 -43
  324. package/dist/src/components/Dnd/index.d.ts +8 -0
  325. package/dist/src/components/DndSort/DndSort.d.ts +2 -34
  326. package/dist/src/components/DndSort/DndSortCard.d.ts +7 -51
  327. package/dist/src/components/DndSort/DndSortZone.d.ts +17 -99
  328. package/dist/src/components/DndSort/index.d.ts +6 -0
  329. package/dist/src/components/DndSort/internal/DndSortContextProvider.d.ts +1 -3
  330. package/dist/src/components/DndSort/internal/DndSortItem.d.ts +0 -11
  331. package/dist/src/components/DndSort/internal/DndSortOverlay.d.ts +0 -4
  332. package/dist/src/components/DndSort/internal/DndSortZoneContextProvider.d.ts +1 -9
  333. package/dist/src/components/DndSort/internal/test-utils.d.ts +2 -9
  334. package/dist/src/components/DndSort/internal/utils.d.ts +6 -32
  335. package/dist/src/components/DndSort/types.d.ts +14 -35
  336. package/dist/src/components/Drawer/Drawer.d.ts +25 -151
  337. package/dist/src/components/Drawer/DrawerCancelButton.d.ts +2 -21
  338. package/dist/src/components/Drawer/DrawerContent.d.ts +4 -38
  339. package/dist/src/components/Drawer/DrawerFooter.d.ts +4 -30
  340. package/dist/src/components/Drawer/DrawerHeader.d.ts +9 -41
  341. package/dist/src/components/Drawer/index.d.ts +1 -1
  342. package/dist/src/components/Drawer/internal/DrawerContext.d.ts +0 -15
  343. package/dist/src/components/Drawer/internal/useDrawerContext.d.ts +1 -6
  344. package/dist/src/components/DrillDown/DrillDown.d.ts +20 -48
  345. package/dist/src/components/DrillDown/DrillDownContent.d.ts +1 -21
  346. package/dist/src/components/DrillDown/DrillDownFooter.d.ts +1 -25
  347. package/dist/src/components/DrillDown/DrillDownHeader.d.ts +3 -25
  348. package/dist/src/components/DrillDown/DrillDownNextButton.d.ts +2 -22
  349. package/dist/src/components/DrillDown/DrillDownPrevButton.d.ts +2 -22
  350. package/dist/src/components/DrillDown/internal/DrillDownContext.d.ts +3 -0
  351. package/dist/src/components/DrillDown/internal/useDrillDownContext.d.ts +1 -0
  352. package/dist/src/components/DrillDown/internal/useDrillDownContextState.d.ts +4 -0
  353. package/dist/src/components/DrillDown/useDrilldown.d.ts +4 -23
  354. package/dist/src/components/EditCard/EditCard.d.ts +21 -77
  355. package/dist/src/components/FieldLabel/FieldLabel.d.ts +13 -46
  356. package/dist/src/components/FieldLabel/internal/FieldLabelButton.d.ts +1 -20
  357. package/dist/src/components/FieldLabel/internal/FieldLabelMoreInfoIcon.d.ts +2 -5
  358. package/dist/src/components/FieldMessage/FieldMessage.d.ts +18 -56
  359. package/dist/src/components/FieldMessage/utils.d.ts +2 -3
  360. package/dist/src/components/Flex/Flex.d.ts +12 -63
  361. package/dist/src/components/Flex/internal/FlexSpecificProps.d.ts +6 -22
  362. package/dist/src/components/Grid/Grid.d.ts +15 -92
  363. package/dist/src/components/Grid/internal/GridItem.d.ts +0 -23
  364. package/dist/src/components/Grid/internal/GridSpecificProps.d.ts +5 -19
  365. package/dist/src/components/Icon/Icon.d.ts +10 -58
  366. package/dist/src/components/Layout/Layout.d.ts +60 -124
  367. package/dist/src/components/Link/Link.d.ts +12 -38
  368. package/dist/src/components/Link/internal/Link.d.ts +7 -52
  369. package/dist/src/components/Link/internal/LinkHeadless.d.ts +3 -19
  370. package/dist/src/components/Link/useLinkStyles.d.ts +3 -8
  371. package/dist/src/components/LinkButton/LinkButton.d.ts +9 -28
  372. package/dist/src/components/List/List.d.ts +10 -48
  373. package/dist/src/components/List/ListItem.d.ts +1 -4
  374. package/dist/src/components/ListView/ListView.d.ts +4 -46
  375. package/dist/src/components/ListView/ListViewOption.d.ts +9 -20
  376. package/dist/src/components/ListView/ListViewOptionCell.d.ts +1 -11
  377. package/dist/src/components/ListView/internal/ListViewContext.d.ts +2 -13
  378. package/dist/src/components/ListView/internal/types.d.ts +17 -35
  379. package/dist/src/components/Listbox/Listbox.d.ts +32 -99
  380. package/dist/src/components/Listbox/ListboxOption.d.ts +7 -28
  381. package/dist/src/components/Listbox/ListboxOptionGroup.d.ts +6 -23
  382. package/dist/src/components/Listbox/internal/ListboxContext.d.ts +2 -20
  383. package/dist/src/components/Menu/Menu.d.ts +8 -48
  384. package/dist/src/components/Menu/MenuItem.d.ts +8 -41
  385. package/dist/src/components/Menu/internal/MenuContext.d.ts +0 -9
  386. package/dist/src/components/Menu/internal/MenuNested.d.ts +2 -35
  387. package/dist/src/components/Menu/internal/menuSelectors.d.ts +0 -3
  388. package/dist/src/components/Menu/types.d.ts +32 -40
  389. package/dist/src/components/MultiSelectField/MultiSelectField.d.ts +1 -19
  390. package/dist/src/components/MultiSelectField/MultiSelectFieldSync.d.ts +10 -65
  391. package/dist/src/components/MultiSelectField/internal/MultiSelectFieldComboboxMode.d.ts +1 -3
  392. package/dist/src/components/MultiSelectField/internal/MultiSelectFieldInput.d.ts +1 -49
  393. package/dist/src/components/MultiSelectField/internal/MultiSelectFieldSelectMode.d.ts +1 -4
  394. package/dist/src/components/MultiSelectField/internal/MultiSelectFieldTrigger.d.ts +1 -4
  395. package/dist/src/components/MultiSelectField/internal/types.d.ts +0 -2
  396. package/dist/src/components/MultiSelectField/internal/useChipLayout.d.ts +1 -7
  397. package/dist/src/components/MultiSelectField/internal/useComboMultiple.d.ts +3 -20
  398. package/dist/src/components/MultiSelectField/internal/useSelectModeMultiple.d.ts +1 -6
  399. package/dist/src/components/MultiSelectField/parts.d.ts +0 -12
  400. package/dist/src/components/MultiSelectField/types.d.ts +97 -215
  401. package/dist/src/components/MultiSelectMenu/MultiSelectMenu.d.ts +1 -30
  402. package/dist/src/components/MultiSelectMenu/MultiSelectMenuSync.d.ts +10 -34
  403. package/dist/src/components/MultiSelectMenu/types.d.ts +75 -98
  404. package/dist/src/components/NumberField/NumberField.d.ts +76 -40
  405. package/dist/src/components/Overflow/Overflow.d.ts +17 -61
  406. package/dist/src/components/Overflow/OverflowText.d.ts +10 -60
  407. package/dist/src/components/Overflow/index.d.ts +4 -21
  408. package/dist/src/components/Page/Page.d.ts +8 -156
  409. package/dist/src/components/Page/PageContent.d.ts +4 -19
  410. package/dist/src/components/Page/PageContext.d.ts +9 -0
  411. package/dist/src/components/Page/PageFooter.d.ts +2 -15
  412. package/dist/src/components/Page/PageHeader.d.ts +34 -85
  413. package/dist/src/components/Page/PagePanel.d.ts +13 -52
  414. package/dist/src/components/Page/PageSidebar.d.ts +8 -41
  415. package/dist/src/components/Page/PageSidebarHeader.d.ts +2 -20
  416. package/dist/src/components/Page/pageBreakpoint.d.ts +6 -19
  417. package/dist/src/components/Pagination/Pagination.d.ts +44 -31
  418. package/dist/src/components/Pagination/internal/Pagination.d.ts +6 -23
  419. package/dist/src/components/Pagination/internal/PaginationItem.d.ts +5 -38
  420. package/dist/src/components/Pagination/internal/PaginationItemsPerPageMenu.d.ts +5 -35
  421. package/dist/src/components/Pagination/internal/PaginationOverflowMenu.d.ts +12 -52
  422. package/dist/src/components/Pagination/internal/usePaginationArray.d.ts +4 -19
  423. package/dist/src/components/Pagination/parts.d.ts +3 -14
  424. package/dist/src/components/Popover/Popover.d.ts +55 -296
  425. package/dist/src/components/Popover/PopoverButton.d.ts +2 -29
  426. package/dist/src/components/Popover/PopoverClose.d.ts +2 -28
  427. package/dist/src/components/Popover/PopoverContent.d.ts +8 -38
  428. package/dist/src/components/Popover/PopoverTrigger.d.ts +6 -32
  429. package/dist/src/components/Popover/internal/compareElements.d.ts +1 -0
  430. package/dist/src/components/Popover/internal/usePopoverContext.d.ts +1 -0
  431. package/dist/src/components/ProgressBar/ProgressBar.d.ts +17 -69
  432. package/dist/src/components/Radio/Radio.d.ts +3 -82
  433. package/dist/src/components/Radio/RadioGroup.d.ts +21 -73
  434. package/dist/src/components/Radio/internal/Radio.d.ts +22 -117
  435. package/dist/src/components/Radio/internal/RadioGroupContext.d.ts +2 -14
  436. package/dist/src/components/Radio/types.d.ts +2 -9
  437. package/dist/src/components/SearchField/SearchField.d.ts +5 -43
  438. package/dist/src/components/SearchField/internal/SearchField.d.ts +6 -53
  439. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +12 -82
  440. package/dist/src/components/SegmentedControl/SegmentedControlSegment.d.ts +12 -43
  441. package/dist/src/components/SegmentedControl/internal/SegmentedControlContext.d.ts +0 -15
  442. package/dist/src/components/SelectCard/SelectCard.d.ts +13 -78
  443. package/dist/src/components/SelectCard/SelectCardGroup.d.ts +13 -47
  444. package/dist/src/components/SelectCard/internal/SelectCardContext.d.ts +14 -51
  445. package/dist/src/components/SelectCard/internal/SelectCardProvider.d.ts +3 -29
  446. package/dist/src/components/SelectField/SelectField.d.ts +1 -21
  447. package/dist/src/components/SelectField/SelectFieldSync.d.ts +6 -44
  448. package/dist/src/components/SelectField/internal/SelectFieldComboboxMode.d.ts +1 -4
  449. package/dist/src/components/SelectField/internal/SelectFieldInput.d.ts +1 -41
  450. package/dist/src/components/SelectField/internal/SelectFieldLabel.d.ts +3 -30
  451. package/dist/src/components/SelectField/internal/SelectFieldSelectMode.d.ts +1 -4
  452. package/dist/src/components/SelectField/internal/SelectFieldTrigger.d.ts +2 -5
  453. package/dist/src/components/SelectField/internal/useCombo.d.ts +1 -3
  454. package/dist/src/components/SelectField/internal/useSelectMode.d.ts +1 -4
  455. package/dist/src/components/SelectField/types.d.ts +95 -171
  456. package/dist/src/components/SelectMenu/SelectMenu.d.ts +1 -26
  457. package/dist/src/components/SelectMenu/SelectMenuSync.d.ts +6 -30
  458. package/dist/src/components/SelectMenu/internal/useMenuInteraction.d.ts +2 -0
  459. package/dist/src/components/SelectMenu/types.d.ts +65 -64
  460. package/dist/src/components/SelectTrigger/SelectTrigger.d.ts +19 -11
  461. package/dist/src/components/SelectTrigger/internal/SelectTriggerBase.d.ts +18 -2
  462. package/dist/src/components/SideNav/SideNav.d.ts +10 -77
  463. package/dist/src/components/SideNav/SideNavCollapsible.d.ts +14 -49
  464. package/dist/src/components/SideNav/SideNavContext.d.ts +0 -18
  465. package/dist/src/components/SideNav/SideNavGroup.d.ts +2 -27
  466. package/dist/src/components/SideNav/SideNavLink.d.ts +8 -35
  467. package/dist/src/components/SideNav/internal/SideNavContext.d.ts +1 -13
  468. package/dist/src/components/SideNav/internal/SideNavLink.d.ts +14 -50
  469. package/dist/src/components/SideNav/internal/SideNavProvider.d.ts +1 -17
  470. package/dist/src/components/SideNav/internal/utils.d.ts +1 -13
  471. package/dist/src/components/SideNav/useSideNav.d.ts +2 -3
  472. package/dist/src/components/Skeleton/SkeletonCircle.d.ts +5 -39
  473. package/dist/src/components/Skeleton/SkeletonPill.d.ts +5 -39
  474. package/dist/src/components/Skeleton/SkeletonRectangle.d.ts +5 -40
  475. package/dist/src/components/Skeleton/SkeletonText.d.ts +6 -43
  476. package/dist/src/components/Skeleton/index.d.ts +5 -0
  477. package/dist/src/components/Spinner/Spinner.d.ts +5 -34
  478. package/dist/src/components/SrOnly/SrOnly.d.ts +2 -13
  479. package/dist/src/components/Stepper/Stepper.d.ts +34 -210
  480. package/dist/src/components/Stepper/StepperFinalPanel.d.ts +2 -23
  481. package/dist/src/components/Stepper/StepperList.d.ts +1 -22
  482. package/dist/src/components/Stepper/StepperNextButton.d.ts +12 -52
  483. package/dist/src/components/Stepper/StepperPanel.d.ts +6 -37
  484. package/dist/src/components/Stepper/StepperPrevButton.d.ts +6 -32
  485. package/dist/src/components/Stepper/StepperStep.d.ts +8 -43
  486. package/dist/src/components/Stepper/base/StepperBase.d.ts +18 -67
  487. package/dist/src/components/Stepper/base/StepperBaseList.d.ts +1 -15
  488. package/dist/src/components/Stepper/base/StepperBasePanel.d.ts +6 -23
  489. package/dist/src/components/Stepper/base/StepperBaseStep.d.ts +14 -37
  490. package/dist/src/components/Stepper/internal/StepperWizardBootstrap.d.ts +4 -0
  491. package/dist/src/components/Stepper/internal/countRegisteredSteps.d.ts +1 -0
  492. package/dist/src/components/Switch/Switch.d.ts +14 -61
  493. package/dist/src/components/Tab/Tab.d.ts +14 -115
  494. package/dist/src/components/Tab/TabButton.d.ts +7 -39
  495. package/dist/src/components/Tab/TabList.d.ts +1 -20
  496. package/dist/src/components/Tab/TabPanel.d.ts +3 -24
  497. package/dist/src/components/Text/Text.d.ts +3 -32
  498. package/dist/src/components/Text/types.d.ts +13 -69
  499. package/dist/src/components/TextField/TextField.d.ts +6 -14
  500. package/dist/src/components/TextField/internal/TextField.d.ts +21 -11
  501. package/dist/src/components/Textarea/Textarea.d.ts +18 -57
  502. package/dist/src/components/Textarea/types.d.ts +7 -20
  503. package/dist/src/components/TimeField/TimeField.d.ts +14 -65
  504. package/dist/src/components/TimeField/internal/MaskedTimeInput.d.ts +10 -64
  505. package/dist/src/components/TimeField/internal/constants.d.ts +2 -12
  506. package/dist/src/components/TimeField/internal/maskito/timePlaceholderMask.d.ts +1 -13
  507. package/dist/src/components/TimeField/internal/types.d.ts +9 -14
  508. package/dist/src/components/TimeField/internal/utils/timeFormatting.d.ts +1 -8
  509. package/dist/src/components/TimeField/internal/utils/timeOptions.d.ts +2 -16
  510. package/dist/src/components/TimeField/internal/utils/timeParsing.d.ts +3 -29
  511. package/dist/src/components/TimeField/internal/utils/timeRounding.d.ts +5 -47
  512. package/dist/src/components/TimeField/internal/utils/timeValidation.d.ts +4 -22
  513. package/dist/src/components/Toast/Toaster.d.ts +2 -40
  514. package/dist/src/components/Toast/internal/Toast.d.ts +14 -75
  515. package/dist/src/components/Toast/internal/ToastProvider.d.ts +2 -64
  516. package/dist/src/components/Toast/internal/ToastStack.d.ts +13 -59
  517. package/dist/src/components/Toast/internal/Toaster.d.ts +18 -61
  518. package/dist/src/components/Toast/internal/ToasterPopover.d.ts +1 -16
  519. package/dist/src/components/Toast/internal/addOrUpdateToastHeight.d.ts +1 -6
  520. package/dist/src/components/Toast/internal/constants.d.ts +0 -15
  521. package/dist/src/components/Toast/internal/types.d.ts +1 -0
  522. package/dist/src/components/Toast/internal/useCloseToast.d.ts +1 -5
  523. package/dist/src/components/Toast/internal/useHotkeyFocus.d.ts +2 -10
  524. package/dist/src/components/Toast/internal/useShowMoreButtonPositionStyles.d.ts +1 -4
  525. package/dist/src/components/Toast/internal/useToastPositionStyles.d.ts +1 -5
  526. package/dist/src/components/Toast/internal/useToasts.d.ts +1 -5
  527. package/dist/src/components/Toast/toast.d.ts +14 -63
  528. package/dist/src/components/Toolbar/Toolbar.d.ts +16 -138
  529. package/dist/src/components/Toolbar/ToolbarButton.d.ts +4 -29
  530. package/dist/src/components/Toolbar/ToolbarButtonLink.d.ts +3 -28
  531. package/dist/src/components/Toolbar/ToolbarButtonToggle.d.ts +2 -24
  532. package/dist/src/components/Toolbar/ToolbarSelect.d.ts +12 -65
  533. package/dist/src/components/Toolbar/internal/ToolbarContext.d.ts +0 -31
  534. package/dist/src/components/Toolbar/internal/ToolbarItemOverflowContext.d.ts +0 -13
  535. package/dist/src/components/Toolbar/internal/ToolbarItemWrapper.d.ts +1 -24
  536. package/dist/src/components/Toolbar/internal/ToolbarOverflowMenu.d.ts +1 -23
  537. package/dist/src/components/Toolbar/internal/utils/accessibility.d.ts +4 -15
  538. package/dist/src/components/Toolbar/types.d.ts +7 -21
  539. package/dist/src/components/Tooltip/Tooltip.d.ts +17 -96
  540. package/dist/src/components/Tooltip/TooltipContent.d.ts +1 -23
  541. package/dist/src/components/Tooltip/TooltipTrigger.d.ts +3 -22
  542. package/dist/src/components/Tooltip/internal/TooltipContext.d.ts +0 -66
  543. package/dist/src/components/Tooltip/internal/useTooltipContext.d.ts +1 -14
  544. package/dist/{stripInlineMarkdown-CosQSmBr.js → stripInlineMarkdown-DmU2adBb.js} +2 -2
  545. package/dist/{stripInlineMarkdown-CosQSmBr.js.map → stripInlineMarkdown-DmU2adBb.js.map} +1 -1
  546. package/dist/{syncFilterUtils-_uwyt6FD.js → syncFilterUtils-CP4dhWVs.js} +3 -3
  547. package/dist/{syncFilterUtils-_uwyt6FD.js.map → syncFilterUtils-CP4dhWVs.js.map} +1 -1
  548. package/dist/{treeSync-Bp80Xduj.js → treeSync-CDrgjuw8.js} +3 -3
  549. package/dist/{treeSync-Bp80Xduj.js.map → treeSync-CDrgjuw8.js.map} +1 -1
  550. package/dist/useChipLayout-BBe6Tzyl.js.map +1 -1
  551. package/dist/useDrillDownContext-D5_NjqY4.js.map +1 -1
  552. package/dist/{useDrilldown-D5XGfAUT.js → useDrilldown-DV4qyVOI.js} +8 -3
  553. package/dist/{useDrilldown-D5XGfAUT.js.map → useDrilldown-DV4qyVOI.js.map} +1 -1
  554. package/dist/{useInfiniteCombobox-ORhH44Rp.js → useInfiniteCombobox-DvyQpdwv.js} +5 -5
  555. package/dist/{useInfiniteCombobox-ORhH44Rp.js.map → useInfiniteCombobox-DvyQpdwv.js.map} +1 -1
  556. package/dist/{useInitialFocus-CGybEc6x.js → useInitialFocus-0TZ78bPz.js} +2 -2
  557. package/dist/useInitialFocus-0TZ78bPz.js.map +1 -0
  558. package/dist/{useInvalidateOnOptionsChange-ieSgbkwT.js → useInvalidateOnOptionsChange-D3KWg4qK.js} +5 -5
  559. package/dist/{useInvalidateOnOptionsChange-ieSgbkwT.js.map → useInvalidateOnOptionsChange-D3KWg4qK.js.map} +1 -1
  560. package/dist/useMenuInteraction-nNF1dsrp.js.map +1 -1
  561. package/dist/{usePopoverTransitionStates-CDXCdyKa.js → usePopoverTransitionStates-B1opfxxn.js} +1 -2
  562. package/dist/{usePopoverTransitionStates-CDXCdyKa.js.map → usePopoverTransitionStates-B1opfxxn.js.map} +1 -1
  563. package/dist/utils-CM48ODEJ.js.map +1 -1
  564. package/package.json +1 -1
  565. package/dist/AiMark-CWufA6pV.js.map +0 -1
  566. package/dist/Alert-RkvFtmRP.js.map +0 -1
  567. package/dist/Avatar-DZxHhMTP.js.map +0 -1
  568. package/dist/Avatar-DkWoRhJu.js +0 -35
  569. package/dist/Avatar-DkWoRhJu.js.map +0 -1
  570. package/dist/Breadcrumbs-DbOrdao2.js.map +0 -1
  571. package/dist/Calendar-CK-AAaSG.js.map +0 -1
  572. package/dist/Checkbox-CboZhOtU.js.map +0 -1
  573. package/dist/Checkbox-Cn4iNLW_.js.map +0 -1
  574. package/dist/Chip-UbrxYEqs.js.map +0 -1
  575. package/dist/DateFieldRange-CpTxlASD.js.map +0 -1
  576. package/dist/DateFieldSingle-DR2kfrzh.js.map +0 -1
  577. package/dist/DateFieldYearless-4mS_2Mgw.js.map +0 -1
  578. package/dist/DateFieldYearlessRange-C-yvKBkJ.js.map +0 -1
  579. package/dist/DaysOfTheWeek-Bo4w8SsT.js.map +0 -1
  580. package/dist/Details-CVA5zbrR.js.map +0 -1
  581. package/dist/Dialog-Ds25dKQp.js.map +0 -1
  582. package/dist/Drawer-Da-bj_6o.js.map +0 -1
  583. package/dist/EditCard-CocV93gS.js.map +0 -1
  584. package/dist/FieldLabel-6aFKQfyD.js.map +0 -1
  585. package/dist/Grid-CvGQrIhE.js.map +0 -1
  586. package/dist/Layout-C2Q2hyLG.js.map +0 -1
  587. package/dist/List-BvzfZ9TW.js.map +0 -1
  588. package/dist/ListView-DFAWrwzi.js.map +0 -1
  589. package/dist/Listbox-BErqErNN.js.map +0 -1
  590. package/dist/Menu-BjPE_ODh.js.map +0 -1
  591. package/dist/MultiSelectFieldSync-CqWUidCm.js.map +0 -1
  592. package/dist/MultiSelectMenuSync-DG3rKyQc.js.map +0 -1
  593. package/dist/NumberField-DRYYJHec.js.map +0 -1
  594. package/dist/Pagination-Bc4fhdNm.js.map +0 -1
  595. package/dist/Popover-BgVOsP4J.js.map +0 -1
  596. package/dist/ProgressBar-Chb0uKfL.js.map +0 -1
  597. package/dist/Radio-DcNlFfSu.js.map +0 -1
  598. package/dist/Radio-gpMEsFss.js +0 -60
  599. package/dist/Radio-gpMEsFss.js.map +0 -1
  600. package/dist/SegmentedControl-CQ6DrbDc.js.map +0 -1
  601. package/dist/SelectCard-bp5hRyHK.js.map +0 -1
  602. package/dist/SelectFieldLabel-DZqxaZsp.js.map +0 -1
  603. package/dist/SelectFieldSync-Wkx6DGpg.js.map +0 -1
  604. package/dist/SelectMenuSync-O55TODxn.js.map +0 -1
  605. package/dist/SelectTrigger-BfJ7DWYq.js.map +0 -1
  606. package/dist/SelectTriggerBase-DvsI-kSG.js.map +0 -1
  607. package/dist/SideNav-BLXgM918.js.map +0 -1
  608. package/dist/Stepper-CCKHWlUr.js.map +0 -1
  609. package/dist/Switch-CrDmBj4D.js.map +0 -1
  610. package/dist/Tab-Bqfvg8Ce.js.map +0 -1
  611. package/dist/Text-CZccJAnm.js.map +0 -1
  612. package/dist/TextField-D0f9LwgQ.js.map +0 -1
  613. package/dist/TextField-DX5qyWPo.js.map +0 -1
  614. package/dist/Textarea-CdTcekFd.js.map +0 -1
  615. package/dist/TimeField-BxNglWQt.js.map +0 -1
  616. package/dist/Toaster-C-Z_FMbW.js.map +0 -1
  617. package/dist/Toaster-nyQgF9Ki.js.map +0 -1
  618. package/dist/Toolbar-BUbMtBVz.js.map +0 -1
  619. package/dist/Tooltip-B4MSqIpg.js.map +0 -1
  620. package/dist/YearlessDateInputWithPicker-CoomgSEK.js.map +0 -1
  621. package/dist/index-BwV_Pz7v.js.map +0 -1
  622. package/dist/makeZeroShortcutPreprocessor-CxsiGTRW.js.map +0 -1
  623. package/dist/useInitialFocus-CGybEc6x.js.map +0 -1
@@ -3,31 +3,26 @@ import { ToastUpdateProps } from './types';
3
3
  import { ToastProps } from './Toast';
4
4
  import { ToastStackProps } from './ToastStack';
5
5
  export type ToastEventType = {
6
+ /** Lifecycle operation reported by the toaster. */
6
7
  eventType: "add" | "update" | "dismiss" | "dismiss-all";
8
+ /** Number of toasts remaining when the callback runs. */
7
9
  toastCount: number;
10
+ /** Toast affected by the operation. Omitted for `dismiss-all`. */
8
11
  id?: string;
12
+ /** Toaster that handled the operation. */
9
13
  toasterId?: string;
14
+ /** Values used to add or update the toast. */
10
15
  toastProps?: ToastProps | ToastUpdateProps;
11
16
  };
12
- /**
13
- * Props for the Toaster component
14
- * @extends ComponentPropsWithoutRef<"div">
15
- * @extends Omit<ToastStackProps, "toasts">
16
- */
17
17
  export type ToasterProps = ComponentPropsWithoutRef<"div"> & Omit<ToastStackProps, "toasts"> & {
18
18
  /**
19
- * When `true`, the toaster will not listen for custom events to add, update, or dismiss toasts.
20
- * Use this to prevent multiple toasters from displaying the same toasts.
21
- * @default false
19
+ * Prevents this instance from handling shared toast events. Defaults to
20
+ * `false`.
22
21
  */
23
22
  disableEvents?: boolean;
24
- /**
25
- * Unique toaster id.
26
- */
23
+ /** Identifies this toaster in lifecycle callbacks and targeted add events. */
27
24
  id: string;
28
- /**
29
- * Callback function that is called when toasts are added, updated, or dismissed.
30
- */
25
+ /** Runs after a shared toast event is handled. */
31
26
  onToastEvent?: (toastEvent: ToastEventType) => void;
32
27
  /**
33
28
  * Callback function that is called with the number of toasts this toaster is
@@ -37,49 +32,16 @@ export type ToasterProps = ComponentPropsWithoutRef<"div"> & Omit<ToastStackProp
37
32
  */
38
33
  onToastCountChange?: (toastCount: number) => void;
39
34
  };
40
- /**
41
- * Toaster component for managing and displaying toast notifications.
42
- *
43
- * Features:
44
- * - Manages multiple toast notifications in a stack
45
- * - Handles toast positioning and stacking behavior
46
- * - Supports custom events for toast management
47
- * - Automatic toast dismissal with configurable duration
48
- * - Keyboard navigation and accessibility support
49
- * - Dialog-aware positioning for modal contexts
50
- * - Session storage for dialog toaster state
51
- * - Custom event system for toast lifecycle management
52
- * - Responsive design with mobile support
53
- *
54
- * @example
55
- * <Toaster
56
- * id="main-toaster"
57
- * duration={5000}
58
- * toastsBeforeStack={3}
59
- * onToastEvent={(event) => console.log('Toast event:', event)}
60
- * />
61
- *
62
- * @example
63
- * <Toaster
64
- * id="dialog-toaster"
65
- * disableEvents={false}
66
- * focusKey="t"
67
- * />
68
- */
35
+ /** Event-driven toaster content shared by page and dialog hosts. */
69
36
  export declare const ToasterContent: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<ToastStackProps, "toasts"> & {
70
37
  /**
71
- * When `true`, the toaster will not listen for custom events to add, update, or dismiss toasts.
72
- * Use this to prevent multiple toasters from displaying the same toasts.
73
- * @default false
38
+ * Prevents this instance from handling shared toast events. Defaults to
39
+ * `false`.
74
40
  */
75
41
  disableEvents?: boolean;
76
- /**
77
- * Unique toaster id.
78
- */
42
+ /** Identifies this toaster in lifecycle callbacks and targeted add events. */
79
43
  id: string;
80
- /**
81
- * Callback function that is called when toasts are added, updated, or dismissed.
82
- */
44
+ /** Runs after a shared toast event is handled. */
83
45
  onToastEvent?: (toastEvent: ToastEventType) => void;
84
46
  /**
85
47
  * Callback function that is called with the number of toasts this toaster is
@@ -91,18 +53,13 @@ export declare const ToasterContent: import('react').ForwardRefExoticComponent<O
91
53
  } & import('react').RefAttributes<HTMLDivElement>>;
92
54
  export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<ToastStackProps, "toasts"> & {
93
55
  /**
94
- * When `true`, the toaster will not listen for custom events to add, update, or dismiss toasts.
95
- * Use this to prevent multiple toasters from displaying the same toasts.
96
- * @default false
56
+ * Prevents this instance from handling shared toast events. Defaults to
57
+ * `false`.
97
58
  */
98
59
  disableEvents?: boolean;
99
- /**
100
- * Unique toaster id.
101
- */
60
+ /** Identifies this toaster in lifecycle callbacks and targeted add events. */
102
61
  id: string;
103
- /**
104
- * Callback function that is called when toasts are added, updated, or dismissed.
105
- */
62
+ /** Runs after a shared toast event is handled. */
106
63
  onToastEvent?: (toastEvent: ToastEventType) => void;
107
64
  /**
108
65
  * Callback function that is called with the number of toasts this toaster is
@@ -1,19 +1,4 @@
1
- /**
2
- * ToasterPopover component for displaying toast notifications in a popover.
3
- *
4
- * Features:
5
- * - Displays toast notifications in a native popover element
6
- * - Automatically shows/hides based on toast count
7
- * - Handles dialog toaster state management
8
- * - Browser compatibility checking for popover support
9
- * - Smooth transitions between show/hide states
10
- * - Integration with toast provider context
11
- *
12
- * @example
13
- * <ToasterPopover>
14
- * <ToastStack toasts={toastList} />
15
- * </ToasterPopover>
16
- */
1
+ /** Keeps active notifications in the browser's top layer. */
17
2
  export declare const ToasterPopover: import('react').ForwardRefExoticComponent<{
18
3
  children?: import('react').ReactNode | undefined;
19
4
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,3 @@
1
1
  import { ToastProviderContextProps } from './ToastProvider';
2
- /**
3
- * Adds or updates the height of a toast in the height tracking system
4
- * @param toastId - The unique identifier of the toast
5
- * @param toastHeight - The height of the toast in pixels
6
- * @param setToastHeights - Function to update toast heights
7
- */
2
+ /** Records the latest measured height for a toast. */
8
3
  export declare const addOrUpdateToastHeight: (toastId: string, toastHeight: number, setToastHeights: ToastProviderContextProps["setToastHeights"]) => void;
@@ -1,20 +1,5 @@
1
- /**
2
- * Animation duration for toast transitions in milliseconds
3
- */
4
1
  export declare const ANIMATION_DURATION = 300;
5
- /**
6
- * Total padding around the toast stack (top + bottom approximation)
7
- */
8
2
  export declare const TOAST_STACK_PADDING = 48;
9
- /**
10
- * Height of the expand/collapse button plus its padding
11
- */
12
3
  export declare const EXPAND_BUTTON_HEIGHT_WITH_PADDING = 64;
13
- /**
14
- * Scroll threshold in pixels from bottom to hide bottom gradient
15
- */
16
4
  export declare const SCROLL_THRESHOLD = 64;
17
- /**
18
- * Throttle interval for scroll and resize event handlers in milliseconds
19
- */
20
5
  export declare const EVENT_THROTTLE_MS = 16;
@@ -2,6 +2,7 @@ import { ToastProps } from './Toast';
2
2
  import { toastProps } from '../toast';
3
3
  export type ToastUpdateProps = Partial<toastProps> & {
4
4
  id: string;
5
+ /** Replaces the alert treatment and status icon when provided. */
5
6
  status?: ToastProps["status"];
6
7
  };
7
8
  export type ToastCustomEventDetailAdd = ToastProps & {
@@ -1,7 +1,3 @@
1
1
  import { ToastProps } from './Toast';
2
- /**
3
- * Hook that returns a function to close toasts
4
- * @param closingToastClassName - CSS class for closing animation
5
- * @returns Function to close toasts by ID or all toasts
6
- */
2
+ /** Returns a callback that closes one toast, or every toast when passed no ID. */
7
3
  export declare const useCloseToast: (closingToastClassName: ToastProps["toastClassName"]) => (id?: string) => void;
@@ -8,16 +8,8 @@ type HotkeyFocusParams = {
8
8
  rootRef: MutableRefObject<HTMLElement>;
9
9
  };
10
10
  /**
11
- * A hook that listens for a hotkey press and focuses an element when the hotkey is pressed.
12
- * The hook also listens for the Escape key to blur the element and refocus the previous element.
13
- *
14
- * @param params
15
- * @param params.disabled - If true, the hotkey will not be active
16
- * @param params.hotkey - The key to press to focus the element
17
- * @param params.onHotkeyIn - A function to run when the hotkey is pressed; this runs before the element is focused
18
- * @param params.onHotkeyOut - A function to run when the user presses Escape after focusing the element
19
- * @param params.refToFocus - The ref to the element that will be focused when the hotkey is pressed
20
- * @param params.rootRef - The ref to the element that will listen for changes to focus, disabling the Escape key
11
+ * Moves focus into a region on a hotkey and restores the previous target on
12
+ * Escape.
21
13
  */
22
14
  export declare const useHotkeyFocus: ({ disabled, hotkey, onHotkeyIn, onHotkeyOut, refToFocus, rootRef, }: HotkeyFocusParams) => {
23
15
  returnFocusRef: MutableRefObject<HTMLElement | null>;
@@ -1,6 +1,3 @@
1
1
  import { CSSProperties } from 'react';
2
- /**
3
- * Hook for calculating position styles for the show more button
4
- * @returns CSS properties for positioning the show more button
5
- */
2
+ /** Positions the expand button after the visible toast heights. */
6
3
  export declare const useShowMoreButtonPositionStyles: () => CSSProperties;
@@ -1,7 +1,3 @@
1
1
  import { CSSProperties } from 'react';
2
- /**
3
- * Hook for calculating position styles for individual toasts
4
- * @param index - The index of the toast in the stack
5
- * @returns CSS properties for positioning the toast
6
- */
2
+ /** Positions one toast within the visible or collapsed stack. */
7
3
  export declare const useToastPositionStyles: (index: number) => CSSProperties | undefined;
@@ -1,6 +1,2 @@
1
- /**
2
- * Hook for accessing toast context and state management functions
3
- * @returns ToastProviderContextProps - The toast context with state and functions
4
- * @throws Error when used outside of ToastProvider
5
- */
1
+ /** Returns the nearest toast provider state; throws outside `ToastProvider`. */
6
2
  export declare const useToasts: () => import('./ToastProvider').ToastProviderContextProps;
@@ -1,92 +1,40 @@
1
1
  import { ToastUpdateProps } from './internal/types';
2
2
  import { ToastProps } from './internal/Toast';
3
+ /** Content and behavior shared by the status-specific toast methods. */
3
4
  export type toastProps = Pick<ToastProps, "actions" | "aiMark" | "containerClassName" | "duration" | "message" | "onClose" | "onDismiss" | "progress" | "title" | "toastClassName">;
4
5
  /**
5
- * Use to run toast methods for adding, updating, and dismissing toasts.
6
- *
7
- * @method info
8
- * @method success
9
- * @method warning
10
- * @method danger
11
- * @method promise
12
- * @method update
13
- * @method dismiss
6
+ * Imperative methods for adding, updating, and dismissing notifications in a
7
+ * mounted {@link Toaster}.
14
8
  */
15
9
  export declare const toast: {
16
10
  (): void;
17
11
  /**
18
- * Use to add info toast to the stack.
19
- *
20
- * @example
21
- * import { toast } from "@servicetitan/anvil2";
22
- * const id = toast.info({
23
- * message: "This is an info toast",
24
- * title: "Info",
25
- * });
12
+ * Adds an informational toast and returns its generated ID.
26
13
  */
27
14
  info: (props: toastProps) => string;
28
15
  /**
29
- * Use to add success toast to the stack.
30
- *
31
- * @example
32
- * import { toast } from "@servicetitan/anvil2";
33
- * const id = toast.success({
34
- * message: "This is an info toast",
35
- * title: "Info",
36
- * });
16
+ * Adds a success toast and returns its generated ID.
37
17
  */
38
18
  success: (props: toastProps) => string;
39
19
  /**
40
- * Use to add warning toast to the stack.
41
- *
42
- * @example
43
- * import { toast } from "@servicetitan/anvil2";
44
- * const id = toast.warning({
45
- * message: "This is an info toast",
46
- * title: "Info",
47
- * });
20
+ * Adds a warning toast and returns its generated ID.
48
21
  */
49
22
  warning: (props: toastProps) => string;
50
23
  /**
51
- * Use to add danger toast to the stack.
52
- *
53
- * @example
54
- * import { toast } from "@servicetitan/anvil2";
55
- * const id = toast.danger({
56
- * message: "This is an info toast",
57
- * title: "Info",
58
- * });
24
+ * Adds a danger toast and returns its generated ID.
59
25
  */
60
26
  danger: (props: toastProps) => string;
61
27
  /**
62
- * Use to update a specific toast in the stack.
63
- *
64
- * @example
65
- * import { toast } from "@servicetitan/anvil2";
66
- * const id = toast.info({
67
- * message: "This is an info toast",
68
- * title: "Info",
69
- * });
70
- * toast.update(id, {
71
- * message: "This is an updated toast",
72
- * title: "Updated",
73
- * });
28
+ * Updates the toast with the matching ID.
74
29
  */
75
30
  update: (id: string, props: Omit<ToastUpdateProps, "id">) => void;
76
31
  /**
77
- * Use to dismiss a specific toast in the stack.
78
- *
79
- * @example
80
- * import { toast } from "@servicetitan/anvil2";
81
- * const id = toast.info({
82
- * message: "This is an info toast",
83
- * title: "Info",
84
- * });
85
- * toast.dismiss(id);
32
+ * Dismisses the matching toast, or every toast when no ID is provided.
86
33
  */
87
34
  dismiss: (id?: string) => void;
88
35
  /**
89
- * Use to create a toast that updates itself based on a Promise state.
36
+ * Shows a non-expiring loading toast, then replaces it with the resolved or
37
+ * rejected configuration. Closing it while pending creates a new result toast.
90
38
  *
91
39
  * @example
92
40
  * ```ts
@@ -115,8 +63,11 @@ export declare const toast: {
115
63
  * ```
116
64
  */
117
65
  promise: (promise: Promise<string>, toastConfig: {
66
+ /** Content shown while the promise is pending. */
118
67
  loading: toastProps;
68
+ /** Maps the resolved value to the result toast. */
119
69
  success: (data: string) => Omit<toastProps, "id">;
70
+ /** Maps the rejection value to the result toast. */
120
71
  error: (error: string) => Omit<toastProps, "id">;
121
72
  }) => Promise<string>;
122
73
  };
@@ -1,163 +1,41 @@
1
1
  import { ToolbarOverflowTypes, ToolbarSize } from './types';
2
2
  import { ComponentPropsWithoutRef, ReactElement } from 'react';
3
3
  import { DataAttributes, LayoutUtilProps } from '../../types';
4
- /**
5
- * Props for the Toolbar component
6
- * @extends ComponentPropsWithoutRef<"div">
7
- * @extends LayoutUtilProps
8
- */
9
4
  export type ToolbarProps = ComponentPropsWithoutRef<"div"> & LayoutUtilProps & DataAttributes & {
10
- /**
11
- * Description of the content this toolbar is associated with, used for accessibility
12
- */
5
+ /** Names the content associated with the toolbar in its accessible label. */
13
6
  associatedContent: string;
14
- /**
15
- * Orientation of the toolbar
16
- * @default horizontal
17
- */
7
+ /** Sets both the visual layout and arrow-key axis. Defaults to `horizontal`. */
18
8
  direction?: "vertical" | "horizontal";
19
- /**
20
- * How to handle overflow when items don't fit
21
- * @default wrap
22
- */
9
+ /** Wraps items or moves clipped items into a menu. Defaults to `wrap`. */
23
10
  overflow?: ToolbarOverflowTypes;
24
- /**
25
- * Additional items to display in the overflow menu
26
- */
11
+ /** Appends custom actions to the overflow menu, even when no toolbar items overflow. */
27
12
  additionalItems?: ReactElement[];
28
- /**
29
- * Size of toolbar items
30
- * @default xsmall
31
- */
13
+ /** Size inherited by the toolbar controls. Defaults to `xsmall`. */
32
14
  size?: ToolbarSize;
33
15
  };
34
16
  /**
35
- * Toolbar component for grouping related interactive elements with anvil2 tracking.
36
- *
37
- * Features:
38
- * - Horizontal or vertical orientation
39
- * - Overflow handling with wrap or collapse behavior
40
- * - Keyboard navigation following ARIA best practices
41
- * - Screen reader announcements and accessibility
42
- * - Automatic overflow menu for collapsed items
43
- * - Support for buttons, toggles, selects, and links
44
- * - Layout utilities for positioning and spacing
45
- * - Context-based state management for child components
46
- * - Automatic tracking ID generation for analytics
47
- * - Integration with anvil2 tracking system
48
- *
49
- * @example
50
- * <Toolbar associatedContent="document editor" overflow="collapse">
51
- * <Toolbar.Button icon={BoldIcon} aria-label="Bold" />
52
- * <Toolbar.ButtonToggle icon={ItalicIcon} aria-label="Italic" />
53
- * <Toolbar.Select
54
- * items={fontOptions}
55
- * selected="arial"
56
- * accessibleLabel="Font family"
57
- * />
58
- * </Toolbar>
17
+ * Groups related controls with roving keyboard focus. Items can wrap or move
18
+ * into an overflow menu when space is constrained.
59
19
  */
60
20
  export declare const Toolbar: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & LayoutUtilProps & DataAttributes & {
61
- /**
62
- * Description of the content this toolbar is associated with, used for accessibility
63
- */
21
+ /** Names the content associated with the toolbar in its accessible label. */
64
22
  associatedContent: string;
65
- /**
66
- * Orientation of the toolbar
67
- * @default horizontal
68
- */
23
+ /** Sets both the visual layout and arrow-key axis. Defaults to `horizontal`. */
69
24
  direction?: "vertical" | "horizontal";
70
- /**
71
- * How to handle overflow when items don't fit
72
- * @default wrap
73
- */
25
+ /** Wraps items or moves clipped items into a menu. Defaults to `wrap`. */
74
26
  overflow?: ToolbarOverflowTypes;
75
- /**
76
- * Additional items to display in the overflow menu
77
- */
27
+ /** Appends custom actions to the overflow menu, even when no toolbar items overflow. */
78
28
  additionalItems?: ReactElement[];
79
- /**
80
- * Size of toolbar items
81
- * @default xsmall
82
- */
29
+ /** Size inherited by the toolbar controls. Defaults to `xsmall`. */
83
30
  size?: ToolbarSize;
84
31
  } & import('react').RefAttributes<HTMLDivElement>> & {
85
- /**
86
- * ToolbarButton component for standard clickable actions within a toolbar with anvil2 tracking.
87
- *
88
- * Features:
89
- * - Designed specifically for toolbar integration
90
- * - Consistent styling with other toolbar items
91
- * - Automatic tooltip for icon-only buttons
92
- * - Overflow menu support
93
- * - Accessibility enforcement for aria-labels
94
- * - Ghost and primary appearance options
95
- * - Automatic tracking ID generation for analytics
96
- *
97
- * @example
98
- * <Toolbar.Button icon={BoldIcon} aria-label="Bold text" />
99
- *
100
- * @example
101
- * <Toolbar.Button appearance="primary">
102
- * Save
103
- * </Toolbar.Button>
104
- */
32
+ /** Button action that participates in toolbar sizing and overflow. */
105
33
  Button: import('react').ForwardRefExoticComponent<import('./ToolbarButton').ToolbarButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
106
- /**
107
- * ToolbarButtonToggle component for toggleable actions within a toolbar with anvil2 tracking.
108
- *
109
- * Features:
110
- * - Toggle state management
111
- * - Designed specifically for toolbar integration
112
- * - Consistent styling with other toolbar items
113
- * - Overflow menu support
114
- * - Accessibility enforcement for aria-labels
115
- * - Ghost and primary appearance options
116
- * - Automatic tracking ID generation for analytics
117
- *
118
- * @example
119
- * <Toolbar.ButtonToggle icon={BoldIcon} aria-label="Bold" checked={isBold} />
120
- */
34
+ /** Toggle action that participates in toolbar sizing and overflow. */
121
35
  ButtonToggle: import('react').ForwardRefExoticComponent<import('./ToolbarButtonToggle').ToolbarButtonToggleProps & import('react').RefAttributes<HTMLButtonElement>>;
122
- /**
123
- * ToolbarButtonLink component for link actions within a toolbar with anvil2 tracking.
124
- *
125
- * Features:
126
- * - Link functionality with href support
127
- * - Designed specifically for toolbar integration
128
- * - Consistent styling with other toolbar items
129
- * - Overflow menu support
130
- * - Accessibility enforcement for aria-labels
131
- * - Ghost and primary appearance options
132
- * - Automatic tracking ID generation for analytics
133
- *
134
- * @example
135
- * <Toolbar.ButtonLink href="/help">
136
- * Help
137
- * </Toolbar.ButtonLink>
138
- */
36
+ /** Link action that participates in toolbar sizing and overflow. */
139
37
  ButtonLink: import('react').ForwardRefExoticComponent<import('./ToolbarButtonLink').ToolbarButtonLinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
140
- /**
141
- * ToolbarSelect component provides a dropdown selector within a toolbar with anvil2 tracking.
142
- *
143
- * Features:
144
- * - Dropdown menu with selectable options
145
- * - Controlled and uncontrolled usage patterns
146
- * - Automatic overflow menu integration
147
- * - Accessibility support with proper ARIA labels
148
- * - Ghost and primary appearance options
149
- * - Dropdown arrow icon indicator
150
- * - Listbox integration for keyboard navigation
151
- * - Automatic tracking ID generation for analytics
152
- *
153
- * @example
154
- * <Toolbar.Select
155
- * items={fontOptions}
156
- * selected="arial"
157
- * accessibleLabel="Font family"
158
- * onChange={(id) => setFont(id)}
159
- * />
160
- */
38
+ /** Listbox selector that participates in toolbar sizing and overflow. */
161
39
  Select: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children"> & LayoutUtilProps & import('../..').DataTrackingId & {
162
40
  aiMark?: boolean | import('..').AiIconName;
163
41
  appearance?: import('../..').ButtonAppearance;
@@ -1,44 +1,19 @@
1
1
  import { ButtonProps } from '../Button';
2
2
  import { ToolbarItemAppearance, WithAriaLabelEnforcement } from './types';
3
3
  import { DataTrackingId } from '../../types';
4
- /**
5
- * Base props for the ToolbarButton component
6
- * @extends Omit<ButtonProps, "appearance" | "aria-label" | "children" "onClick">
7
- */
8
4
  type ToolbarButtonBaseProps = Omit<ButtonProps, "appearance" | "aria-label" | "children" | "onClick"> & {
9
- /**
10
- * Visual appearance of the button
11
- * @default ghost
12
- */
5
+ /** Limited to Toolbar-supported appearances. Defaults to `ghost`. */
13
6
  appearance?: ToolbarItemAppearance;
14
- /**
15
- * Click event handler for the button
16
- */
7
+ /** Handles activation in either the toolbar or its overflow menu. */
17
8
  onClick: ButtonProps["onClick"];
18
9
  };
19
- /**
20
- * Props for the ToolbarButton component
21
- * @extends WithAriaLabelEnforcement<ToolbarButtonBaseProps>
22
- */
23
10
  export type ToolbarButtonProps = WithAriaLabelEnforcement<ToolbarButtonBaseProps> & DataTrackingId;
24
11
  /**
25
- * ToolbarButton component for standard clickable actions within a toolbar.
26
- *
27
- * Features:
28
- * - Designed specifically for toolbar integration
29
- * - Consistent styling with other toolbar items
30
- * - Automatic tooltip for icon-only buttons
31
- * - Overflow menu support
32
- * - Accessibility enforcement for aria-labels
33
- * - Ghost and primary appearance options
12
+ * Button action that inherits its size from Toolbar. In collapse mode,
13
+ * clipped actions move into the overflow menu; icon-only actions show a tooltip.
34
14
  *
35
15
  * @example
36
16
  * <ToolbarButton icon={BoldIcon} aria-label="Bold text" />
37
- *
38
- * @example
39
- * <ToolbarButton appearance="primary">
40
- * Save
41
- * </ToolbarButton>
42
17
  */
43
18
  export declare const ToolbarButton: import('react').ForwardRefExoticComponent<ToolbarButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
44
19
  export {};
@@ -1,39 +1,14 @@
1
1
  import { ButtonLinkProps } from '../ButtonLink';
2
2
  import { ToolbarItemAppearance, WithAriaLabelEnforcement } from './types';
3
3
  import { DataTrackingId } from '../../types';
4
- /**
5
- * Base props for the ToolbarButtonLink component
6
- * @extends Omit<ButtonLinkProps, "appearance" | "aria-label" | "children">
7
- */
8
4
  type ToolbarButtonLinkBaseProps = Omit<ButtonLinkProps, "appearance" | "aria-label" | "children"> & {
9
- /**
10
- * Visual appearance of the button link
11
- * @default ghost
12
- */
5
+ /** Limited to Toolbar-supported appearances. Defaults to `ghost`. */
13
6
  appearance?: ToolbarItemAppearance;
14
7
  };
15
- /**
16
- * Props for the ToolbarButtonLink component
17
- * @extends WithAriaLabelEnforcement<ToolbarButtonLinkBaseProps>
18
- */
19
8
  export type ToolbarButtonLinkProps = WithAriaLabelEnforcement<ToolbarButtonLinkBaseProps> & DataTrackingId;
20
9
  /**
21
- * ToolbarButtonLink component for link actions within a toolbar.
22
- *
23
- * Features:
24
- * - Link functionality with href support
25
- * - Designed specifically for toolbar integration
26
- * - Consistent styling with other toolbar items
27
- * - Automatic tooltip for icon-only links
28
- * - Overflow menu support
29
- * - Accessibility enforcement for aria-labels
30
- * - Ghost and primary appearance options
31
- * - Proper anchor element semantics
32
- *
33
- * @example
34
- * <ToolbarButtonLink href="/help">
35
- * Help
36
- * </ToolbarButtonLink>
10
+ * Link action that inherits its size from Toolbar. In collapse mode, clipped
11
+ * links move into the overflow menu; icon-only links show a tooltip.
37
12
  *
38
13
  * @example
39
14
  * <ToolbarButtonLink icon={ExternalLinkIcon} href="/docs" aria-label="Documentation" />