@servicetitan/anvil2 3.15.0 → 3.15.2

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 (414) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{AiMark-D57s1e0T.js → AiMark-N8UfGfcV.js} +2 -2
  3. package/dist/{AiMark-D57s1e0T.js.map → AiMark-N8UfGfcV.js.map} +1 -1
  4. package/dist/AiMark.js +1 -1
  5. package/dist/{Alert-DExHiAbM.js → Alert-DTKIlitZ.js} +3 -3
  6. package/dist/{Alert-DExHiAbM.js.map → Alert-DTKIlitZ.js.map} +1 -1
  7. package/dist/Alert.js +1 -1
  8. package/dist/{Announcement-CGTv6M31.js → Announcement-Cnz80WGx.js} +2 -2
  9. package/dist/{Announcement-CGTv6M31.js.map → Announcement-Cnz80WGx.js.map} +1 -1
  10. package/dist/Announcement.js +1 -1
  11. package/dist/{Breadcrumbs-DtLSS0PJ.js → Breadcrumbs-B8UGx4Mq.js} +2 -2
  12. package/dist/{Breadcrumbs-DtLSS0PJ.js.map → Breadcrumbs-B8UGx4Mq.js.map} +1 -1
  13. package/dist/Breadcrumbs.js +1 -1
  14. package/dist/{Button-Dwh_Nd4l.js → Button-Dn6-01xl.js} +230 -67
  15. package/dist/Button-Dn6-01xl.js.map +1 -0
  16. package/dist/Button.js +1 -1
  17. package/dist/{ButtonToggle-DKDBD1g3.js → ButtonToggle-BSU8GBxr.js} +2 -2
  18. package/dist/{ButtonToggle-DKDBD1g3.js.map → ButtonToggle-BSU8GBxr.js.map} +1 -1
  19. package/dist/ButtonToggle.js +1 -1
  20. package/dist/{Calendar-CEf7ke8X.js → Calendar-CpmaI3b6.js} +3 -3
  21. package/dist/Calendar-CpmaI3b6.js.map +1 -0
  22. package/dist/{Calendar-BUFPc5UN.js → Calendar-Cv07q_tE.js} +2 -2
  23. package/dist/Calendar-Cv07q_tE.js.map +1 -0
  24. package/dist/Calendar.js +2 -2
  25. package/dist/{Checkbox-DVy-QESI.js → Checkbox-cB0D9W0a.js} +3 -3
  26. package/dist/{Checkbox-DVy-QESI.js.map → Checkbox-cB0D9W0a.js.map} +1 -1
  27. package/dist/{Checkbox-DBE35nMv.js → Checkbox-jomKCuAj.js} +2 -2
  28. package/dist/{Checkbox-DBE35nMv.js.map → Checkbox-jomKCuAj.js.map} +1 -1
  29. package/dist/Checkbox.js +1 -1
  30. package/dist/{Chip-B4G4zaP-.js → Chip-DivZ3OuB.js} +2 -2
  31. package/dist/{Chip-B4G4zaP-.js.map → Chip-DivZ3OuB.js.map} +1 -1
  32. package/dist/Chip.js +1 -1
  33. package/dist/Combobox.js +1 -1
  34. package/dist/{DataTable-DbuXfDNJ.js → DataTable-_XXxSbvH.js} +16 -41
  35. package/dist/DataTable-_XXxSbvH.js.map +1 -0
  36. package/dist/{DateFieldRange-nyj8mtUP.js → DateFieldRange-31zIfcR2.js} +4 -4
  37. package/dist/{DateFieldRange-nyj8mtUP.js.map → DateFieldRange-31zIfcR2.js.map} +1 -1
  38. package/dist/DateFieldRange.js +1 -1
  39. package/dist/{DateFieldSingle-BmCghXba.js → DateFieldSingle-DDFe1inZ.js} +4 -4
  40. package/dist/{DateFieldSingle-BmCghXba.js.map → DateFieldSingle-DDFe1inZ.js.map} +1 -1
  41. package/dist/DateFieldSingle.js +1 -1
  42. package/dist/{DateFieldYearless-Df7fA85i.js → DateFieldYearless-Cv34myLZ.js} +4 -4
  43. package/dist/{DateFieldYearless-Df7fA85i.js.map → DateFieldYearless-Cv34myLZ.js.map} +1 -1
  44. package/dist/DateFieldYearless.js +1 -1
  45. package/dist/{DateFieldYearlessRange-DYpY4K1c.js → DateFieldYearlessRange-D_ftkt3w.js} +3 -3
  46. package/dist/{DateFieldYearlessRange-DYpY4K1c.js.map → DateFieldYearlessRange-D_ftkt3w.js.map} +1 -1
  47. package/dist/DateFieldYearlessRange.js +1 -1
  48. package/dist/{DaysOfTheWeek-CyWGRqFG.js → DaysOfTheWeek-D4tUHUay.js} +3 -3
  49. package/dist/{DaysOfTheWeek-CyWGRqFG.js.map → DaysOfTheWeek-D4tUHUay.js.map} +1 -1
  50. package/dist/DaysOfTheWeek.js +1 -1
  51. package/dist/{Details-oM-nR4ju.js → Details-BxqP-5vp.js} +11 -9
  52. package/dist/Details-BxqP-5vp.js.map +1 -0
  53. package/dist/Details.css +18 -14
  54. package/dist/Details.js +1 -1
  55. package/dist/{Dialog-vSiZAR1y.js → Dialog-B2QAFibn.js} +4 -4
  56. package/dist/{Dialog-vSiZAR1y.js.map → Dialog-B2QAFibn.js.map} +1 -1
  57. package/dist/Dialog.js +1 -1
  58. package/dist/{DialogCancelButton-DBL0aKTK.js → DialogCancelButton-C0r8hJ8Z.js} +2 -2
  59. package/dist/{DialogCancelButton-DBL0aKTK.js.map → DialogCancelButton-C0r8hJ8Z.js.map} +1 -1
  60. package/dist/{Drawer-B4pxj_2P.js → Drawer-CBIOWwh3.js} +5 -5
  61. package/dist/{Drawer-B4pxj_2P.js.map → Drawer-CBIOWwh3.js.map} +1 -1
  62. package/dist/Drawer.js +1 -1
  63. package/dist/DrillDown.js +1 -1
  64. package/dist/{EditCard-CX1G7G2Q.js → EditCard-Q6WlsM4O.js} +3 -3
  65. package/dist/{EditCard-CX1G7G2Q.js.map → EditCard-Q6WlsM4O.js.map} +1 -1
  66. package/dist/EditCard.js +1 -1
  67. package/dist/{FieldLabel-CAusaqUY.js → FieldLabel-FsNIjn8T.js} +2 -2
  68. package/dist/{FieldLabel-CAusaqUY.js.map → FieldLabel-FsNIjn8T.js.map} +1 -1
  69. package/dist/FieldLabel.js +1 -1
  70. package/dist/{FilterBar-CKYf-1oU.js → FilterBar-PXv7_svO.js} +7 -7
  71. package/dist/FilterBar-PXv7_svO.js.map +1 -0
  72. package/dist/FilterBar.js +1 -1
  73. package/dist/{InputMask-xMpquXPU.js → InputMask-BgZX650-.js} +3 -3
  74. package/dist/{InputMask-xMpquXPU.js.map → InputMask-BgZX650-.js.map} +1 -1
  75. package/dist/InputMask.js +1 -1
  76. package/dist/{InteractiveCard-C0g5PxB6.js → InteractiveCard-C2CYRtgQ.js} +3 -3
  77. package/dist/InteractiveCard-C2CYRtgQ.js.map +1 -0
  78. package/dist/InteractiveCard.js +1 -1
  79. package/dist/{ListView-D6l1KY92.js → ListView-aRwUEGI3.js} +2 -2
  80. package/dist/{ListView-D6l1KY92.js.map → ListView-aRwUEGI3.js.map} +1 -1
  81. package/dist/ListView.js +1 -1
  82. package/dist/{Listbox-Dep1eJ3u.js → Listbox-BCszel4v.js} +2 -2
  83. package/dist/{Listbox-Dep1eJ3u.js.map → Listbox-BCszel4v.js.map} +1 -1
  84. package/dist/Listbox.js +1 -1
  85. package/dist/{Menu-eLxQwmZk.js → Menu-Da2OEN0o.js} +2 -2
  86. package/dist/{Menu-eLxQwmZk.js.map → Menu-Da2OEN0o.js.map} +1 -1
  87. package/dist/Menu.js +1 -1
  88. package/dist/{MenuFooter-fGSZYh8e.js → MenuFooter-D__gg92C.js} +2 -2
  89. package/dist/{MenuFooter-fGSZYh8e.js.map → MenuFooter-D__gg92C.js.map} +1 -1
  90. package/dist/MultiSelectField.js +1 -1
  91. package/dist/{MultiSelectFieldSync-ZNoNOm6d.js → MultiSelectFieldSync-DY5wr7cT.js} +7 -7
  92. package/dist/{MultiSelectFieldSync-ZNoNOm6d.js.map → MultiSelectFieldSync-DY5wr7cT.js.map} +1 -1
  93. package/dist/MultiSelectMenu.js +1 -1
  94. package/dist/{MultiSelectMenuSync-DrgqaUJj.js → MultiSelectMenuSync-D3sfHivW.js} +5 -5
  95. package/dist/{MultiSelectMenuSync-DrgqaUJj.js.map → MultiSelectMenuSync-D3sfHivW.js.map} +1 -1
  96. package/dist/{NumberField-D5ZzEHg1.js → NumberField-CrvEEy_h.js} +4 -4
  97. package/dist/{NumberField-D5ZzEHg1.js.map → NumberField-CrvEEy_h.js.map} +1 -1
  98. package/dist/NumberField.js +1 -1
  99. package/dist/{Page-B2HZzNGP.js → Page-CS6x6C7Y.js} +18 -187
  100. package/dist/Page-CS6x6C7Y.js.map +1 -0
  101. package/dist/Page.js +1 -1
  102. package/dist/{Pagination-CAgXtt9t.js → Pagination-DianLtHs.js} +5 -5
  103. package/dist/{Pagination-CAgXtt9t.js.map → Pagination-DianLtHs.js.map} +1 -1
  104. package/dist/Pagination.js +1 -1
  105. package/dist/{Popover-CjL2ixjB.js → Popover-BsEwcuu4.js} +2 -2
  106. package/dist/{Popover-CjL2ixjB.js.map → Popover-BsEwcuu4.js.map} +1 -1
  107. package/dist/Popover.js +1 -1
  108. package/dist/{ProgressBar-ClKcOcXq.js → ProgressBar-0pebwBJ0.js} +2 -2
  109. package/dist/{ProgressBar-ClKcOcXq.js.map → ProgressBar-0pebwBJ0.js.map} +1 -1
  110. package/dist/ProgressBar.js +1 -1
  111. package/dist/{Radio-_ftIQSru.js → Radio-BxXN612_.js} +3 -3
  112. package/dist/{Radio-_ftIQSru.js.map → Radio-BxXN612_.js.map} +1 -1
  113. package/dist/{Radio-C2BJqWlV.js → Radio-CU2--1uW.js} +2 -2
  114. package/dist/{Radio-C2BJqWlV.js.map → Radio-CU2--1uW.js.map} +1 -1
  115. package/dist/Radio.js +1 -1
  116. package/dist/{RichTextEditor-TcZUnqcp.js → RichTextEditor-Dnc7vOjq.js} +18831 -20238
  117. package/dist/RichTextEditor-Dnc7vOjq.js.map +1 -0
  118. package/dist/RichTextEditor.js +1 -1
  119. package/dist/{SavedFiltersButton-B8lf3L2T.js → SavedFiltersButton-BWlE7UnI.js} +10 -24
  120. package/dist/SavedFiltersButton-BWlE7UnI.js.map +1 -0
  121. package/dist/SavedFiltersButton.js +1 -1
  122. package/dist/{SegmentedControl-CtKoYHoO.js → SegmentedControl-BHVJmmTH.js} +3 -3
  123. package/dist/{SegmentedControl-CtKoYHoO.js.map → SegmentedControl-BHVJmmTH.js.map} +1 -1
  124. package/dist/SegmentedControl.js +1 -1
  125. package/dist/{SelectCard-BwIbfore.js → SelectCard-D2PAyR7T.js} +3 -3
  126. package/dist/{SelectCard-BwIbfore.js.map → SelectCard-D2PAyR7T.js.map} +1 -1
  127. package/dist/SelectCard.js +1 -1
  128. package/dist/SelectField.js +1 -1
  129. package/dist/{SelectFieldLabel-7VTZ83QJ.js → SelectFieldLabel-BXJJQ0zt.js} +2 -2
  130. package/dist/{SelectFieldLabel-7VTZ83QJ.js.map → SelectFieldLabel-BXJJQ0zt.js.map} +1 -1
  131. package/dist/{SelectFieldSync-CB75kkka.js → SelectFieldSync-CkWoMhrv.js} +6 -6
  132. package/dist/{SelectFieldSync-CB75kkka.js.map → SelectFieldSync-CkWoMhrv.js.map} +1 -1
  133. package/dist/SelectMenu.js +1 -1
  134. package/dist/{SelectMenuSync-DIMfovCI.js → SelectMenuSync-C-6mULc_.js} +5 -5
  135. package/dist/{SelectMenuSync-DIMfovCI.js.map → SelectMenuSync-C-6mULc_.js.map} +1 -1
  136. package/dist/{SelectOptions-si_rVLEZ.js → SelectOptions-pAkVhulQ.js} +2 -2
  137. package/dist/{SelectOptions-si_rVLEZ.js.map → SelectOptions-pAkVhulQ.js.map} +1 -1
  138. package/dist/{SelectTrigger-C3-Cne3D.js → SelectTrigger-B9WUUdIu.js} +2 -2
  139. package/dist/{SelectTrigger-C3-Cne3D.js.map → SelectTrigger-B9WUUdIu.js.map} +1 -1
  140. package/dist/SelectTrigger.js +1 -1
  141. package/dist/{SelectTriggerBase-BnsTYWVb.js → SelectTriggerBase-Dq7QDlPS.js} +4 -4
  142. package/dist/{SelectTriggerBase-BnsTYWVb.js.map → SelectTriggerBase-Dq7QDlPS.js.map} +1 -1
  143. package/dist/{Stepper-C-QC9QHx.js → Stepper-l_P6VPOv.js} +3 -3
  144. package/dist/{Stepper-C-QC9QHx.js.map → Stepper-l_P6VPOv.js.map} +1 -1
  145. package/dist/Stepper.js +1 -1
  146. package/dist/{Switch-DWq4QI8M.js → Switch-BS4bw5KF.js} +2 -2
  147. package/dist/{Switch-DWq4QI8M.js.map → Switch-BS4bw5KF.js.map} +1 -1
  148. package/dist/Switch.js +1 -1
  149. package/dist/{Tab-mXEQ0ifM.js → Tab-DR5YYXkq.js} +124 -19
  150. package/dist/Tab-DR5YYXkq.js.map +1 -0
  151. package/dist/Tab.js +1 -1
  152. package/dist/Table.js +1 -1
  153. package/dist/{Text-dONmlARH.js → Text-B_-Ldn9K.js} +2 -2
  154. package/dist/{Text-dONmlARH.js.map → Text-B_-Ldn9K.js.map} +1 -1
  155. package/dist/Text.js +1 -1
  156. package/dist/{TextField-CtXjbtqa.js → TextField-B6tVKoxq.js} +2 -2
  157. package/dist/{TextField-CtXjbtqa.js.map → TextField-B6tVKoxq.js.map} +1 -1
  158. package/dist/{TextField-CQ7e3mC4.js → TextField-DxQ6-IhP.js} +3 -3
  159. package/dist/{TextField-CQ7e3mC4.js.map → TextField-DxQ6-IhP.js.map} +1 -1
  160. package/dist/TextField.js +1 -1
  161. package/dist/{Textarea-DGVHQktZ.js → Textarea-oChzBuWz.js} +3 -3
  162. package/dist/{Textarea-DGVHQktZ.js.map → Textarea-oChzBuWz.js.map} +1 -1
  163. package/dist/Textarea.js +1 -1
  164. package/dist/{TimeField-AttXPsQw.js → TimeField-Dq7l8xNU.js} +4 -4
  165. package/dist/{TimeField-AttXPsQw.js.map → TimeField-Dq7l8xNU.js.map} +1 -1
  166. package/dist/TimeField.js +1 -1
  167. package/dist/Toast.js +2 -2
  168. package/dist/{Toaster-DYO8NLTo.js → Toaster-CsZkAOVn.js} +2 -2
  169. package/dist/{Toaster-DYO8NLTo.js.map → Toaster-CsZkAOVn.js.map} +1 -1
  170. package/dist/{Toaster-CNtAl-tF.js → Toaster-oK4dSBPK.js} +4 -4
  171. package/dist/{Toaster-CNtAl-tF.js.map → Toaster-oK4dSBPK.js.map} +1 -1
  172. package/dist/{Toolbar-BIbbaCxh.js → Toolbar-Bp-A2P4L.js} +5 -5
  173. package/dist/{Toolbar-BIbbaCxh.js.map → Toolbar-Bp-A2P4L.js.map} +1 -1
  174. package/dist/{Toolbar-B_lHD0c2.js → Toolbar-Do8KEjJJ.js} +11 -105
  175. package/dist/Toolbar-Do8KEjJJ.js.map +1 -0
  176. package/dist/Toolbar.js +2 -2
  177. package/dist/{ToolbarButtonToggle-BMBmBdw1.js → ToolbarButtonToggle-T8YnSJ5x.js} +2 -3
  178. package/dist/ToolbarButtonToggle-T8YnSJ5x.js.map +1 -0
  179. package/dist/TreeSelectField.js +1 -1
  180. package/dist/{TreeSelectFieldSync-CKnFwROC.js → TreeSelectFieldSync-BXfLbDBM.js} +7 -7
  181. package/dist/TreeSelectFieldSync-BXfLbDBM.js.map +1 -0
  182. package/dist/TreeSelectMenu.js +1 -1
  183. package/dist/{TreeSelectMenuSync-CK-x2_ne.js → TreeSelectMenuSync-D7fQIyHr.js} +4 -4
  184. package/dist/TreeSelectMenuSync-D7fQIyHr.js.map +1 -0
  185. package/dist/{TypeaheadTextField-DqnUGXj0.js → TypeaheadTextField-Dkh84OCF.js} +10 -19
  186. package/dist/TypeaheadTextField-Dkh84OCF.js.map +1 -0
  187. package/dist/TypeaheadTextField.js +1 -1
  188. package/dist/{YearlessDateInputWithPicker-aI4UIyMD.js → YearlessDateInputWithPicker-7y8xhacx.js} +2 -2
  189. package/dist/{YearlessDateInputWithPicker-aI4UIyMD.js.map → YearlessDateInputWithPicker-7y8xhacx.js.map} +1 -1
  190. package/dist/assets/icons/material.ts +184 -184
  191. package/dist/assets/icons/st.ts +9 -9
  192. package/dist/beta.js +18 -18
  193. package/dist/{bulkActionTypes-sbwWLsDi.js → bulkActionTypes-BVJZ01mE.js} +2 -2
  194. package/dist/{bulkActionTypes-sbwWLsDi.js.map → bulkActionTypes-BVJZ01mE.js.map} +1 -1
  195. package/dist/{filter-state-DW8YmRHb.js → filter-state-CPCn-owS.js} +55 -37
  196. package/dist/filter-state-CPCn-owS.js.map +1 -0
  197. package/dist/{index-Cw2HFh0a.js → index-D1WfdON1.js} +1549 -1582
  198. package/dist/index-D1WfdON1.js.map +1 -0
  199. package/dist/index.js +48 -48
  200. package/dist/{proxy-DEehATlA.js → react-ORV84FjM.js} +6862 -5814
  201. package/dist/react-ORV84FjM.js.map +1 -0
  202. package/dist/src/beta/components/Calendar/Calendar.d.ts +8 -17
  203. package/dist/src/beta/components/Calendar/CalendarBetaPropsContext.d.ts +1 -0
  204. package/dist/src/beta/components/Calendar/useCalendarBetaProps.d.ts +1 -0
  205. package/dist/src/beta/components/FilterBar/FilterBar.d.ts +12 -53
  206. package/dist/src/beta/components/FilterBar/FilterDateList.d.ts +8 -0
  207. package/dist/src/beta/components/FilterBar/FilterDateRange.d.ts +15 -9
  208. package/dist/src/beta/components/FilterBar/FilterDateSingle.d.ts +15 -9
  209. package/dist/src/beta/components/FilterBar/FilterDrawer.d.ts +1 -14
  210. package/dist/src/beta/components/FilterBar/FilterItemWrapper.d.ts +0 -7
  211. package/dist/src/beta/components/FilterBar/FilterNumericRange.d.ts +4 -13
  212. package/dist/src/beta/components/FilterBar/FilterPopoverButton.d.ts +6 -8
  213. package/dist/src/beta/components/FilterBar/FilterSearchField.d.ts +3 -6
  214. package/dist/src/beta/components/FilterBar/FilterTextInput.d.ts +4 -13
  215. package/dist/src/beta/components/FilterBar/FilterToggleButton.d.ts +3 -14
  216. package/dist/src/beta/components/FilterBar/FilterTriggerButton.d.ts +3 -3
  217. package/dist/src/beta/components/FilterBar/internal/FilterGroupContext.d.ts +6 -20
  218. package/dist/src/beta/components/FilterBar/internal/adapters/index.d.ts +3 -8
  219. package/dist/src/beta/components/FilterBar/internal/adapters/types.d.ts +7 -19
  220. package/dist/src/beta/components/FilterBar/internal/types.d.ts +48 -57
  221. package/dist/src/beta/components/FilterBar/internal/utils/dateConstraints.d.ts +3 -3
  222. package/dist/src/beta/components/FilterBar/internal/utils/dateListLibraryOptions.d.ts +4 -7
  223. package/dist/src/beta/components/FilterBar/internal/utils/filter-state.d.ts +3 -24
  224. package/dist/src/beta/components/InteractiveCard/InteractiveCard.d.ts +2 -47
  225. package/dist/src/beta/components/InteractiveCard/types.d.ts +13 -71
  226. package/dist/src/beta/components/Page/Page.d.ts +8 -166
  227. package/dist/src/beta/components/Page/PageContent.d.ts +3 -17
  228. package/dist/src/beta/components/Page/PageContext.d.ts +9 -0
  229. package/dist/src/beta/components/Page/PageFooter.d.ts +2 -15
  230. package/dist/src/beta/components/Page/PageHeader.d.ts +38 -91
  231. package/dist/src/beta/components/Page/PagePanel.d.ts +17 -115
  232. package/dist/src/beta/components/Page/PagePanelContent.d.ts +5 -37
  233. package/dist/src/beta/components/Page/PagePanelFooter.d.ts +4 -27
  234. package/dist/src/beta/components/Page/PagePanelHeader.d.ts +3 -16
  235. package/dist/src/beta/components/Page/PageSidebar.d.ts +8 -41
  236. package/dist/src/beta/components/Page/PageSidebarHeader.d.ts +2 -20
  237. package/dist/src/beta/components/Page/internal/PagePanelContext.d.ts +1 -6
  238. package/dist/src/beta/components/Page/pageBreakpoint.d.ts +5 -18
  239. package/dist/src/beta/components/RichTextEditor/RichTextEditor.d.ts +2 -25
  240. package/dist/src/beta/components/RichTextEditor/internal/LinkPopover.d.ts +1 -0
  241. package/dist/src/beta/components/RichTextEditor/internal/MentionList.d.ts +1 -0
  242. package/dist/src/beta/components/RichTextEditor/internal/MentionPopover.d.ts +1 -0
  243. package/dist/src/beta/components/RichTextEditor/internal/RichTextEditorToolbar.d.ts +1 -0
  244. package/dist/src/beta/components/RichTextEditor/internal/YouTubeEmbedPrompt.d.ts +1 -0
  245. package/dist/src/beta/components/RichTextEditor/internal/YouTubePopover.d.ts +1 -0
  246. package/dist/src/beta/components/RichTextEditor/internal/extensions/ImageUploadExtension.d.ts +1 -0
  247. package/dist/src/beta/components/RichTextEditor/internal/extensions/LinkKeyboardShortcutExtension.d.ts +1 -0
  248. package/dist/src/beta/components/RichTextEditor/internal/extensions/MentionExtension.d.ts +5 -0
  249. package/dist/src/beta/components/RichTextEditor/internal/extensions/SafeImageExtension.d.ts +3 -10
  250. package/dist/src/beta/components/RichTextEditor/internal/extensions/YoutubeExtension.d.ts +4 -0
  251. package/dist/src/beta/components/RichTextEditor/internal/useRichTextEditor.d.ts +3 -17
  252. package/dist/src/beta/components/RichTextEditor/types.d.ts +46 -71
  253. package/dist/src/beta/components/SavedFiltersButton/SavedFiltersButton.d.ts +2 -33
  254. package/dist/src/beta/components/SavedFiltersButton/internal/AddSavedFilterDrawer.d.ts +2 -12
  255. package/dist/src/beta/components/SavedFiltersButton/internal/EditSavedFiltersDrawer.d.ts +2 -20
  256. package/dist/src/beta/components/SavedFiltersButton/parts.d.ts +0 -23
  257. package/dist/src/beta/components/SavedFiltersButton/types.d.ts +36 -85
  258. package/dist/src/beta/components/Table/DataTable/DataTable.d.ts +34 -84
  259. package/dist/src/beta/components/Table/DataTable/internal/DataTableBody.d.ts +15 -22
  260. package/dist/src/beta/components/Table/DataTable/internal/DataTableBodyRow.d.ts +47 -18
  261. package/dist/src/beta/components/Table/DataTable/internal/DataTableCellAffordance.d.ts +8 -0
  262. package/dist/src/beta/components/Table/DataTable/internal/DataTableFooter.d.ts +17 -23
  263. package/dist/src/beta/components/Table/DataTable/internal/DataTableHeader.d.ts +6 -9
  264. package/dist/src/beta/components/Table/DataTable/internal/DataTablePagination.d.ts +16 -0
  265. package/dist/src/beta/components/Table/DataTable/internal/cells/CellFocusContext.d.ts +2 -11
  266. package/dist/src/beta/components/Table/DataTable/internal/cells/CellStatus.d.ts +7 -5
  267. package/dist/src/beta/components/Table/DataTable/internal/cells/DataTableBodyCell.d.ts +4 -8
  268. package/dist/src/beta/components/Table/DataTable/internal/cells/DataTableBodyImmutableCell.d.ts +4 -17
  269. package/dist/src/beta/components/Table/DataTable/internal/cells/DataTableBodyMutableCell.d.ts +4 -18
  270. package/dist/src/beta/components/Table/DataTable/internal/cells/DataTableFooterCell.d.ts +3 -10
  271. package/dist/src/beta/components/Table/DataTable/internal/cells/DataTableHeaderCell.d.ts +3 -15
  272. package/dist/src/beta/components/Table/DataTable/internal/cells/DataTableOverflowCell.d.ts +4 -0
  273. package/dist/src/beta/components/Table/DataTable/internal/cells/useCellFocusListener.d.ts +2 -6
  274. package/dist/src/beta/components/Table/DataTable/internal/constants.d.ts +13 -30
  275. package/dist/src/beta/components/Table/DataTable/internal/context/focus/DTFocusContext.d.ts +1 -6
  276. package/dist/src/beta/components/Table/DataTable/internal/context/focus/DTFocusProvider.d.ts +3 -0
  277. package/dist/src/beta/components/Table/DataTable/internal/context/focus/useDTFocusDispatchContext.d.ts +1 -0
  278. package/dist/src/beta/components/Table/DataTable/internal/context/focus/useDTFocusStateContext.d.ts +1 -0
  279. package/dist/src/beta/components/Table/DataTable/internal/context/rowClick/DataTableRowClickContext.d.ts +2 -5
  280. package/dist/src/beta/components/Table/DataTable/internal/context/rowClick/DataTableRowClickProvider.d.ts +2 -5
  281. package/dist/src/beta/components/Table/DataTable/internal/context/rowClick/useDataTableRowClick.d.ts +1 -0
  282. package/dist/src/beta/components/Table/DataTable/internal/context/surface/DataTableSurfaceCoordinatorContext.d.ts +4 -0
  283. package/dist/src/beta/components/Table/DataTable/internal/context/surface/DataTableSurfaceCoordinatorProvider.d.ts +1 -0
  284. package/dist/src/beta/components/Table/DataTable/internal/context/surface/useDataTableSurfaceCoordinator.d.ts +1 -0
  285. package/dist/src/beta/components/Table/DataTable/internal/dataTableCellAffordanceHostClassName.d.ts +1 -0
  286. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableBooleanCell.d.ts +6 -0
  287. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableCellEditIcon.d.ts +1 -4
  288. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableCustomCell.d.ts +4 -0
  289. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableMultiselectAsyncCell.d.ts +5 -25
  290. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableMultiselectCell.d.ts +3 -13
  291. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableNumberCell.d.ts +4 -0
  292. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableSelectAsyncCell.d.ts +5 -0
  293. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableSelectCell.d.ts +4 -0
  294. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableTextCell.d.ts +4 -0
  295. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/types.d.ts +7 -20
  296. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/useCustomEditHelpers.d.ts +13 -26
  297. package/dist/src/beta/components/Table/DataTable/internal/editable-cells/useEditableMenuCell.d.ts +2 -10
  298. package/dist/src/beta/components/Table/DataTable/internal/useAsyncData.d.ts +8 -0
  299. package/dist/src/beta/components/Table/DataTable/internal/useColumnOrder.d.ts +2 -2
  300. package/dist/src/beta/components/Table/DataTable/internal/useDataTableVirtualizer.d.ts +7 -18
  301. package/dist/src/beta/components/Table/DataTable/internal/usePageDataCache.d.ts +6 -10
  302. package/dist/src/beta/components/Table/DataTable/internal/util/cellPositionHelpers.d.ts +0 -3
  303. package/dist/src/beta/components/Table/DataTable/internal/util/cellTypeHelpers.d.ts +7 -24
  304. package/dist/src/beta/components/Table/DataTable/internal/util/getCellInteractives.d.ts +4 -17
  305. package/dist/src/beta/components/Table/DataTable/internal/util/getTanStackColumnDef.d.ts +5 -29
  306. package/dist/src/beta/components/Table/DataTable/internal/util/shallowSortingEqual.d.ts +1 -0
  307. package/dist/src/beta/components/Table/DataTable/parts.d.ts +3 -17
  308. package/dist/src/beta/components/Table/DataTable/types.d.ts +41 -64
  309. package/dist/src/beta/components/Table/base/TableBase.d.ts +8 -26
  310. package/dist/src/beta/components/Table/base/TableBody.d.ts +5 -14
  311. package/dist/src/beta/components/Table/base/TableContainer.d.ts +1 -11
  312. package/dist/src/beta/components/Table/base/TableFooter.d.ts +5 -14
  313. package/dist/src/beta/components/Table/base/TableHeader.d.ts +5 -14
  314. package/dist/src/beta/components/Table/base/cells/TableBodyCell.d.ts +4 -13
  315. package/dist/src/beta/components/Table/base/cells/TableEmptyCellContent.d.ts +1 -1
  316. package/dist/src/beta/components/Table/base/cells/TableFooterCell.d.ts +5 -13
  317. package/dist/src/beta/components/Table/base/cells/TableHeaderCell.d.ts +8 -25
  318. package/dist/src/beta/components/Table/base/cells/types.d.ts +2 -6
  319. package/dist/src/beta/components/Table/columnTypeDefaults.d.ts +7 -36
  320. package/dist/src/beta/components/Table/createColumnHelper.d.ts +38 -153
  321. package/dist/src/beta/components/Table/formatters/booleanFormatter.d.ts +4 -15
  322. package/dist/src/beta/components/Table/formatters/chipsFormatter.d.ts +7 -9
  323. package/dist/src/beta/components/Table/formatters/currencyFormatter.d.ts +3 -15
  324. package/dist/src/beta/components/Table/formatters/dateFormatter.d.ts +10 -23
  325. package/dist/src/beta/components/Table/formatters/dateTimeFormatter.d.ts +23 -46
  326. package/dist/src/beta/components/Table/formatters/htmlFormatter.d.ts +2 -11
  327. package/dist/src/beta/components/Table/formatters/htmlToMarkdown.d.ts +5 -10
  328. package/dist/src/beta/components/Table/formatters/markdownFormatter.d.ts +3 -8
  329. package/dist/src/beta/components/Table/formatters/numberFormatter.d.ts +8 -27
  330. package/dist/src/beta/components/Table/formatters/percentFormatter.d.ts +4 -15
  331. package/dist/src/beta/components/Table/formatters/presets.d.ts +4 -12
  332. package/dist/src/beta/components/Table/formatters/timeFormatter.d.ts +7 -17
  333. package/dist/src/beta/components/Table/formatters/yearlessDateFormatter.d.ts +9 -21
  334. package/dist/src/beta/components/Table/internal/ResizeHandle.d.ts +5 -9
  335. package/dist/src/beta/components/Table/internal/TruncateChips.d.ts +2 -11
  336. package/dist/src/beta/components/Table/internal/getCommonPinningClasses.d.ts +2 -1
  337. package/dist/src/beta/components/Table/internal/getCommonPinningStyles.d.ts +6 -2
  338. package/dist/src/beta/components/Table/internal/scrollCellIntoView.d.ts +3 -7
  339. package/dist/src/beta/components/Table/internal/types.d.ts +2 -7
  340. package/dist/src/beta/components/Table/types.d.ts +183 -462
  341. package/dist/src/beta/components/Toolbar/Toolbar.d.ts +35 -267
  342. package/dist/src/beta/components/Toolbar/ToolbarButton.d.ts +5 -26
  343. package/dist/src/beta/components/Toolbar/ToolbarButtonLink.d.ts +5 -28
  344. package/dist/src/beta/components/Toolbar/ToolbarButtonToggle.d.ts +5 -27
  345. package/dist/src/beta/components/Toolbar/ToolbarControlGroup.d.ts +6 -8
  346. package/dist/src/beta/components/Toolbar/ToolbarSearchField.d.ts +3 -14
  347. package/dist/src/beta/components/Toolbar/ToolbarSelect.d.ts +13 -65
  348. package/dist/src/beta/components/Toolbar/internal/ToolbarContext.d.ts +0 -32
  349. package/dist/src/beta/components/Toolbar/internal/ToolbarItemOverflowContext.d.ts +0 -13
  350. package/dist/src/beta/components/Toolbar/internal/ToolbarItemWrapper.d.ts +2 -28
  351. package/dist/src/beta/components/Toolbar/internal/ToolbarOverflowMenu.d.ts +4 -21
  352. package/dist/src/beta/components/Toolbar/internal/utils/accessibility.d.ts +7 -15
  353. package/dist/src/beta/components/Toolbar/types.d.ts +7 -26
  354. package/dist/src/beta/components/TreeSelectField/TreeSelectField.d.ts +2 -23
  355. package/dist/src/beta/components/TreeSelectField/TreeSelectFieldSync.d.ts +10 -46
  356. package/dist/src/beta/components/TreeSelectField/internal/TreeContent.d.ts +5 -21
  357. package/dist/src/beta/components/TreeSelectField/internal/TreePanel.d.ts +1 -38
  358. package/dist/src/beta/components/TreeSelectField/internal/TreeRow.d.ts +6 -38
  359. package/dist/src/beta/components/TreeSelectField/internal/TreeSelectFieldInput.d.ts +2 -50
  360. package/dist/src/beta/components/TreeSelectField/internal/VirtualizedTreePanel.d.ts +2 -39
  361. package/dist/src/beta/components/TreeSelectField/internal/treeSync.d.ts +6 -21
  362. package/dist/src/beta/components/TreeSelectField/internal/treeUtils.d.ts +3 -19
  363. package/dist/src/beta/components/TreeSelectField/internal/useTree.d.ts +9 -50
  364. package/dist/src/beta/components/TreeSelectField/internal/useTreeCascade.d.ts +8 -79
  365. package/dist/src/beta/components/TreeSelectField/internal/useTreeKeyboard.d.ts +3 -29
  366. package/dist/src/beta/components/TreeSelectField/internal/useTreeLazyCascade.d.ts +8 -36
  367. package/dist/src/beta/components/TreeSelectField/internal/useTreeLoader.d.ts +10 -34
  368. package/dist/src/beta/components/TreeSelectField/parts.d.ts +3 -9
  369. package/dist/src/beta/components/TreeSelectField/types.d.ts +82 -68
  370. package/dist/src/beta/components/TreeSelectMenu/TreeSelectMenu.d.ts +4 -18
  371. package/dist/src/beta/components/TreeSelectMenu/TreeSelectMenuSync.d.ts +9 -47
  372. package/dist/src/beta/components/TreeSelectMenu/parts.d.ts +4 -4
  373. package/dist/src/beta/components/TreeSelectMenu/types.d.ts +44 -54
  374. package/dist/src/beta/components/TypeaheadTextField/TypeaheadTextField.d.ts +15 -43
  375. package/dist/src/beta/components/TypeaheadTextField/internal/SuggestionItem.d.ts +1 -18
  376. package/dist/src/beta/hooks/useAdaptiveView/useAdaptiveView.d.ts +6 -41
  377. package/dist/src/integration-testing/stepper-panel-flicker.spec.d.ts +1 -0
  378. package/dist/{stripInlineMarkdown-DmU2adBb.js → stripInlineMarkdown-CcwDEdw0.js} +2 -2
  379. package/dist/{stripInlineMarkdown-DmU2adBb.js.map → stripInlineMarkdown-CcwDEdw0.js.map} +1 -1
  380. package/dist/{syncFilterUtils-CP4dhWVs.js → syncFilterUtils-ubEYuRGQ.js} +4 -4
  381. package/dist/{syncFilterUtils-CP4dhWVs.js.map → syncFilterUtils-ubEYuRGQ.js.map} +1 -1
  382. package/dist/{treeSync-CDrgjuw8.js → treeSync-CkjyJSVq.js} +5 -11
  383. package/dist/treeSync-CkjyJSVq.js.map +1 -0
  384. package/dist/{use-reduced-motion-CqjZZ5QB.js → use-reduced-motion-yYB9Tb0D.js} +2 -2
  385. package/dist/use-reduced-motion-yYB9Tb0D.js.map +1 -0
  386. package/dist/{useDrilldown-DV4qyVOI.js → useDrilldown-DOXav1An.js} +3 -3
  387. package/dist/{useDrilldown-DV4qyVOI.js.map → useDrilldown-DOXav1An.js.map} +1 -1
  388. package/dist/{useInfiniteCombobox-DvyQpdwv.js → useInfiniteCombobox-15_SoeWw.js} +4 -4
  389. package/dist/{useInfiniteCombobox-DvyQpdwv.js.map → useInfiniteCombobox-15_SoeWw.js.map} +1 -1
  390. package/dist/{useInvalidateOnOptionsChange-D3KWg4qK.js → useInvalidateOnOptionsChange-DiRbyJFp.js} +4 -4
  391. package/dist/useInvalidateOnOptionsChange-DiRbyJFp.js.map +1 -0
  392. package/package.json +22 -20
  393. package/dist/Button-Dwh_Nd4l.js.map +0 -1
  394. package/dist/Calendar-BUFPc5UN.js.map +0 -1
  395. package/dist/Calendar-CEf7ke8X.js.map +0 -1
  396. package/dist/DataTable-DbuXfDNJ.js.map +0 -1
  397. package/dist/Details-oM-nR4ju.js.map +0 -1
  398. package/dist/FilterBar-CKYf-1oU.js.map +0 -1
  399. package/dist/InteractiveCard-C0g5PxB6.js.map +0 -1
  400. package/dist/Page-B2HZzNGP.js.map +0 -1
  401. package/dist/RichTextEditor-TcZUnqcp.js.map +0 -1
  402. package/dist/SavedFiltersButton-B8lf3L2T.js.map +0 -1
  403. package/dist/Tab-mXEQ0ifM.js.map +0 -1
  404. package/dist/Toolbar-B_lHD0c2.js.map +0 -1
  405. package/dist/ToolbarButtonToggle-BMBmBdw1.js.map +0 -1
  406. package/dist/TreeSelectFieldSync-CKnFwROC.js.map +0 -1
  407. package/dist/TreeSelectMenuSync-CK-x2_ne.js.map +0 -1
  408. package/dist/TypeaheadTextField-DqnUGXj0.js.map +0 -1
  409. package/dist/filter-state-DW8YmRHb.js.map +0 -1
  410. package/dist/index-Cw2HFh0a.js.map +0 -1
  411. package/dist/proxy-DEehATlA.js.map +0 -1
  412. package/dist/treeSync-CDrgjuw8.js.map +0 -1
  413. package/dist/use-reduced-motion-CqjZZ5QB.js.map +0 -1
  414. package/dist/useInvalidateOnOptionsChange-D3KWg4qK.js.map +0 -1
@@ -1,47 +1,76 @@
1
1
  import { Row } from '@tanstack/react-table';
2
2
  import { useColumnOrder } from './useColumnOrder';
3
3
  export type DataTableBodyRowProps<T> = {
4
+ /**
5
+ * Column-order identity for `areRowPropsEqual` only. Render uses
6
+ * `columnIndexMap`; a new array still re-renders after pin/reorder.
7
+ */
4
8
  columnOrder: ReturnType<typeof useColumnOrder>["columnOrder"];
5
9
  /**
6
- * O(1) lookup of leaf-column-index → visual position. Replaces
7
- * `columnOrder.indexOf(...)` per cell to keep large-table renders cheap.
10
+ * O(1) leaf-column-index → visual position. Avoids
11
+ * `columnOrder.indexOf(...)` per cell.
8
12
  */
9
13
  columnIndexMap: ReturnType<typeof useColumnOrder>["columnIndexMap"];
14
+ /** TanStack row. `id` is `data-row-id`; `original.subComponent` is the sibling slot. */
10
15
  row: Row<T>;
16
+ /**
17
+ * Index among header + body rows (headers counted first). Converted to
18
+ * 1-based `aria-rowindex`.
19
+ */
11
20
  rowIndex: number;
21
+ /**
22
+ * Table-wide grouping flag. Gates `aria-expanded` / `aria-level` even when
23
+ * this row cannot expand.
24
+ */
12
25
  tableHasSubRows: boolean;
26
+ /**
27
+ * When true: `aria-expanded` if this row can expand, and the sibling
28
+ * `subComponent` slot if `original` has one.
29
+ */
13
30
  isExpanded: boolean;
31
+ /** With `tableHasSubRows`, exposes `aria-expanded`. */
14
32
  canExpand: boolean;
33
+ /**
34
+ * Nesting level (0 = root). When greater than 0, sets `--a2-row-depth` for
35
+ * indent on the expand-arrow and first data cell.
36
+ */
15
37
  depth: number;
38
+ /**
39
+ * Parent can expand. Nested leaves still get `aria-level` when the table
40
+ * has subrows.
41
+ */
16
42
  parentRowCanExpand: boolean;
43
+ /**
44
+ * `isSelected`, `isSomeSelected`, and `isAncestorSelected` OR together for
45
+ * `data-anv-is-selected-row` (full, indeterminate, and inherited paint).
46
+ */
17
47
  isSelected: boolean;
48
+ /** Some but not all descendants selected. */
18
49
  isSomeSelected: boolean;
19
50
  /**
20
- * True when any ancestor row (parent, grandparent, etc.) is currently
21
- * selected. Combined with `isSelected` to drive the row's
22
- * `data-anv-is-selected-row` attribute so descendants visually adopt
23
- * an ancestor's selection state without painting the ancestor itself.
24
- * Computed at the parent level (`DataTableBody.tsx`) so the prop
25
- * remains a serializable boolean — preserving `React.memo`
26
- * comparator semantics in `areRowPropsEqual`.
51
+ * Passed as a boolean so `areRowPropsEqual` stays a cheap identity check
52
+ * instead of walking ancestors per compare.
27
53
  */
28
54
  isAncestorSelected: boolean;
29
55
  /**
30
- * True when the row is flagged read-only via `readOnlyRowIds`. Grays the
31
- * row's plain-text cell content. Checkbox disabling is gated separately
32
- * at the DataTable level via `enableRowSelection`.
56
+ * From `readOnlyRowIds`. Grays plain-text cells; skips the row-click
57
+ * handler and affordance. Checkbox disabling is gated separately via
58
+ * `enableRowSelection`.
33
59
  */
34
60
  isReadOnly: boolean;
35
61
  /**
36
- * Optional consumer-provided function that returns a value expressing
37
- * "this row has changed." When supplied, the row is memoized: a row will
38
- * only re-render when the returned value differs from the previous render,
39
- * the row's internal UI state changes (expansion, selection, etc.), or
40
- * any row it depends on changes structurally. When omitted, every row
41
- * re-renders whenever the parent re-renders.
62
+ * Opt-in memo key. When omitted, the row always re-renders with its parent.
63
+ * When set, skip re-render only if this value and the table-managed props
64
+ * compared in `areRowPropsEqual` are unchanged. Include any extra-row
65
+ * input the cells read (for example a highlight id).
42
66
  */
43
67
  getRowVersion?: (row: T) => unknown;
44
68
  };
45
69
  declare function DataTableBodyRowInner<T>({ columnOrder: _columnOrder, columnIndexMap, row, rowIndex, tableHasSubRows, isExpanded, canExpand, depth, parentRowCanExpand, isSelected, isSomeSelected, isAncestorSelected, isReadOnly, }: DataTableBodyRowProps<T>): import("react/jsx-runtime").JSX.Element;
70
+ /**
71
+ * One body row plus an optional sibling `subComponent` slot. Hover and
72
+ * selection paint via data attributes (including descendants) so they stay
73
+ * off the React render path. Memoization is opt-in through `getRowVersion`.
74
+ */
46
75
  export declare const DataTableBodyRow: typeof DataTableBodyRowInner;
47
76
  export {};
@@ -1,6 +1,14 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type DataTableCellAffordanceProps = {
3
3
  children: ReactNode;
4
+ /**
5
+ * Lets the overlay receive pointer events. Defaults to `false` (display-only
6
+ * icons such as edit).
7
+ */
4
8
  interactive?: boolean;
5
9
  };
10
+ /**
11
+ * Decorative overlay shown on a host cell's hover/focus. Hidden from the
12
+ * accessibility tree.
13
+ */
6
14
  export declare function DataTableCellAffordance({ children, interactive, }: DataTableCellAffordanceProps): import("react/jsx-runtime").JSX.Element;
@@ -2,47 +2,41 @@ import { ComponentPropsWithoutRef } from 'react';
2
2
  import { Table as TanstackTable } from '@tanstack/react-table';
3
3
  import { ColumnDef } from '../../types';
4
4
  import { DataTableProps, DataTableRowData } from '../DataTable';
5
- /**
6
- * Props for the default/configured table footer rows
7
- * @extends TanstackTable<T>
8
- * @extends ColumnDef<T>[]
9
- */
10
5
  export type DefaultTableFooterRowsProps<T extends DataTableRowData> = {
6
+ /** Supplies header/row counts for `aria-rowindex` and the visual column order. */
11
7
  table: TanstackTable<T>;
8
+ /**
9
+ * Column tree used to look up `footerContent` on leaves. Group columns are
10
+ * skipped so nested headers do not get a footer cell.
11
+ */
12
12
  columns: ColumnDef<T>[];
13
13
  };
14
- /**
15
- * Props for the custom table footer rows
16
- * @extends DataTableProps<T>
17
- */
18
14
  export type CustomTableFooterRowsProps<T extends DataTableRowData> = {
15
+ /**
16
+ * Visible leaf header count (`table.getFlatHeaders().length`).
17
+ */
19
18
  columnCount: number;
19
+ /** Row-major `{ content, colSpan }` cells for the custom path. */
20
20
  customFooter: DataTableProps<T>["customFooter"];
21
+ /** Supplies header/row counts for `aria-rowindex`. */
21
22
  table: TanstackTable<T>;
22
23
  };
23
- /**
24
- * Props for the DataTableFooter component
25
- * @extends ComponentPropsWithoutRef<"div">
26
- */
27
24
  export type DataTableFooterProps<T extends DataTableRowData> = {
28
- /**
29
- * The table instance from @tanstack/react-table to render
30
- */
25
+ /** Supplies header/row counts for `aria-rowindex` and the visual column order. */
31
26
  table: TanstackTable<T>;
32
27
  /**
33
- * The columns of the table
28
+ * Column tree for leaf `footerContent`. Array values become extra rows; a
29
+ * scalar fills row 0.
34
30
  */
35
31
  columns: ColumnDef<T>[];
36
32
  /**
37
- * The custom footer of the table
33
+ * Row-major custom cells. When set (even empty), this path is used instead
34
+ * of column `footerContent`.
38
35
  */
39
36
  customFooter?: DataTableProps<T>["customFooter"];
40
37
  } & ComponentPropsWithoutRef<"div">;
41
38
  /**
42
- * Data table footer, which can be either a configured or custom footer
43
- * @param props - The props for the DataTableFooter component
44
- * @param props.table - The table instance from @tanstack/react-table to render
45
- * @param props.customFooter - The custom footer of the table
46
- * @param props.columns - The columns of the table
39
+ * Footer region. `customFooter` replaces column `footerContent` when set.
40
+ * `aria-rowindex` continues after header and body rows.
47
41
  */
48
42
  export declare function DataTableFooter<T extends DataTableRowData>({ table, customFooter, columns, ...rest }: DataTableFooterProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,19 +1,16 @@
1
1
  import { ComponentPropsWithoutRef, RefObject } from 'react';
2
2
  import { Table as TanstackTable } from '@tanstack/react-table';
3
- /**
4
- * Props for the DataTableHeader component
5
- * @extends TanstackTable<T>
6
- * @extends ComponentPropsWithoutRef<"div">
7
- */
8
3
  type DataTableHeaderProps<T> = {
4
+ /** Supplies header groups plus column sorting, sizing, and metadata. */
9
5
  table: TanstackTable<T>;
6
+ /**
7
+ * Table root used to scope imperative column-hover attributes to this table.
8
+ */
10
9
  tableRef: RefObject<HTMLDivElement>;
11
10
  } & ComponentPropsWithoutRef<"div">;
12
11
  /**
13
- * Data table header container
14
- * @param props - The props for the DataTableHeader component
15
- * @param props.table - The table instance from @tanstack/react-table to render
16
- * @param props.tableRef - Ref to the table root element for imperative DOM writes
12
+ * Renders DataTable header rows from TanStack header groups, including group
13
+ * spans, sort indicators, and column resize handles.
17
14
  */
18
15
  export declare function DataTableHeader<T>({ table, tableRef, }: DataTableHeaderProps<T>): import("react/jsx-runtime").JSX.Element;
19
16
  export {};
@@ -1,9 +1,25 @@
1
1
  import { PaginationProps } from '../../../../../components/Pagination';
2
2
  type DataTableCursorPaginationProps = Pick<PaginationProps, "page" | "itemsPerPage" | "onPageChange" | "onItemsPerPageChange" | "itemsPerPageOptions"> & {
3
+ /** Explicit `true` enables Next. Omitted or false leaves it disabled. */
3
4
  hasNextPage?: boolean;
5
+ /**
6
+ * Explicit `true` enables Previous when `page` is greater than 1. Omitted
7
+ * or false leaves it disabled.
8
+ */
4
9
  hasPrevPage?: boolean;
5
10
  };
11
+ /**
12
+ * Numbered pagination fields picked from {@link PaginationProps}, including
13
+ * `totalItemCount`.
14
+ */
6
15
  export type DataTablePaginationProps = Pick<PaginationProps, "page" | "itemsPerPage" | "totalItemCount" | "showCount" | "onPageChange" | "onItemsPerPageChange" | "itemsPerPageOptions">;
16
+ /**
17
+ * Numbered page chrome for DataTable. `showCount` defaults to `true`.
18
+ */
7
19
  export declare const DataTablePagination: ({ showCount, ...props }: DataTablePaginationProps) => import("react/jsx-runtime").JSX.Element;
20
+ /**
21
+ * Prev/next chrome when the table has no `totalItemCount`. Next/Previous stay
22
+ * disabled unless the matching flag is exactly `true`.
23
+ */
8
24
  export declare const DataTableCursorPagination: ({ page, itemsPerPage, itemsPerPageOptions, hasNextPage, hasPrevPage, onPageChange, onItemsPerPageChange, }: DataTableCursorPaginationProps) => import("react/jsx-runtime").JSX.Element;
9
25
  export {};
@@ -1,16 +1,7 @@
1
1
  export type CellFocusContextValue = {
2
- /**
3
- * Whether the cell currently has focus
4
- */
2
+ /** True while the owning cell holds keyboard or pointer focus. */
5
3
  isCellFocused: boolean;
6
4
  };
7
- /**
8
- * Context for communicating cell focus state to child components.
9
- * Used by CellStatus to show tooltips when the cell is focused via keyboard.
10
- */
11
5
  export declare const CellFocusContext: import('react').Context<CellFocusContextValue | null>;
12
- /**
13
- * Hook to consume the CellFocusContext.
14
- * Returns null if used outside of a CellFocusContext.Provider.
15
- */
6
+ /** Reads the optional cell-focus bag. */
16
7
  export declare function useCellFocusContext(): CellFocusContextValue | null;
@@ -1,12 +1,14 @@
1
1
  export type CellStatusProps = {
2
- /** Status value - true for status without message, string for status with accessible message */
2
+ /**
3
+ * `true` shows the icon only. A string is the tooltip and is appended to the
4
+ * icon's accessible name.
5
+ */
3
6
  status: boolean | string;
4
- /** The variant determines the icon, color, and aria-label */
7
+ /** Picks the icon, color, and default accessible name. */
5
8
  variant: "error" | "warning";
6
9
  };
7
10
  /**
8
- * Renders a status icon (error or warning) for cells.
9
- * When status is a string, it's used as the aria-label for accessibility and shown in a tooltip.
10
- * When the parent cell is focused, the tooltip is displayed for keyboard accessibility.
11
+ * Error or warning icon for a cell. A string `status` also opens a tooltip
12
+ * while the cell is focused or the icon is hovered.
11
13
  */
12
14
  export declare function CellStatus({ status, variant }: CellStatusProps): import("react/jsx-runtime").JSX.Element;
@@ -3,18 +3,14 @@ import { Cell } from '@tanstack/react-table';
3
3
  import { ReactNode } from 'react';
4
4
  import { CellPosition } from '../../../internal/types';
5
5
  export type DataTableBodyCellProps<T> = Omit<BaseDataTableBodyCellProps, "onChange"> & {
6
+ /** Grid coordinates used for roving tabindex and `data-cell-pos`. */
6
7
  cellPosition: CellPosition;
8
+ /** TanStack cell; column meta chooses the renderer. */
7
9
  cell: Cell<T, unknown>;
8
10
  children: ReactNode;
9
11
  };
10
12
  /**
11
- * Renders a body cell in a DataTable, delegating to either a mutable (editable) or immutable cell
12
- * based on the column's editMode configuration.
13
- *
14
- * @param props - The props for the DataTableBodyCell component
15
- * @param props.cell - The TanStack table cell instance
16
- * @param props.cellPosition - The position of the cell in the table
17
- * @param props.children - The content to render in the cell
18
- * @returns The rendered cell component
13
+ * Body-cell dispatcher: editable when `editMode` is set, overflow surface when
14
+ * `overflow.mode` is `"surface"`, otherwise the immutable cell.
19
15
  */
20
16
  export declare function DataTableBodyCell<T>(props: DataTableBodyCellProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,27 +1,14 @@
1
1
  import { DataTableBodyCellProps as BaseDataTableBodyCellProps } from '../../../base/cells/TableBodyCell';
2
2
  import { Cell } from '@tanstack/react-table';
3
3
  import { CellPosition } from '../../../internal/types';
4
- /**
5
- * Props for the DataTableBodyImmutableCell component
6
- */
7
4
  export type DataTableBodyImmutableCellProps<T> = Omit<BaseDataTableBodyCellProps, "onChange"> & {
8
- /**
9
- * The position of the cell in the table
10
- */
5
+ /** Coordinates used by the grid's roving-focus manager. */
11
6
  cellPosition: CellPosition;
12
- /**
13
- * The TanStack table cell instance
14
- */
7
+ /** Supplies row and column state for actions and validation styling. */
15
8
  cell: Cell<T, unknown>;
16
9
  };
17
10
  /**
18
- * Renders an immutable (non-editable) body cell in a DataTable. This component handles keyboard
19
- * navigation for focus management and row expansion/selection, but does not support cell editing.
20
- *
21
- * @param props - The props for the DataTableBodyImmutableCell component
22
- * @param props.cell - The TanStack table cell instance
23
- * @param props.cellPosition - The position of the cell in the table
24
- * @param props.children - The content to render in the cell
25
- * @returns The rendered immutable cell component
11
+ * Read-only ARIA grid cell with roving navigation and keyboard activation for
12
+ * row actions or embedded controls.
26
13
  */
27
14
  export declare function DataTableBodyImmutableCell<T>(props: DataTableBodyImmutableCellProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,28 +1,14 @@
1
1
  import { DataTableBodyCellProps as BaseDataTableBodyCellProps } from '../../../base/cells/TableBodyCell';
2
2
  import { Cell } from '@tanstack/react-table';
3
3
  import { CellPosition } from '../../../internal/types';
4
- /**
5
- * Props for the DataTableBodyMutableCell component
6
- */
7
4
  export type DataTableBodyMutableCellProps<T> = Omit<BaseDataTableBodyCellProps, "onChange"> & {
8
- /**
9
- * The position of the cell in the table
10
- */
5
+ /** Coordinates used by the grid's roving-focus manager. */
11
6
  cellPosition: CellPosition;
12
- /**
13
- * The TanStack table cell instance
14
- */
7
+ /** Supplies row and column state for the configured editor and validation styling. */
15
8
  cell: Cell<T, unknown>;
16
9
  };
17
10
  /**
18
- * Renders a mutable (editable) body cell in a DataTable. This component handles keyboard navigation
19
- * and delegates to the appropriate editable cell component (text, select, or multiselect) based on
20
- * the column's editMode configuration.
21
- *
22
- * @param props - The props for the DataTableBodyMutableCell component
23
- * @param props.cell - The TanStack table cell instance
24
- * @param props.cellPosition - The position of the cell in the table
25
- * @param props.children - The content to render in the cell
26
- * @returns The rendered editable cell component or null if no editMode is configured
11
+ * Editable ARIA grid cell with roving navigation. Delegates to the editor
12
+ * configured by the column and invokes it with Enter, Space, or F2.
27
13
  */
28
14
  export declare function DataTableBodyMutableCell<T>(props: DataTableBodyMutableCellProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,20 +1,13 @@
1
1
  import { DataTableFooterCellProps as BaseDataTableFooterCellProps } from '../../../base/cells/TableFooterCell';
2
- /**
3
- * Props for the DataTableFooterCell component
4
- * @extends BaseDataTableFooterCellProps
5
- */
6
2
  export type DataTableFooterCellProps = BaseDataTableFooterCellProps & {
3
+ /** Grid coordinates used for roving tabindex and `data-cell-pos`. */
7
4
  cellPosition: {
8
5
  rowIndex: number;
9
6
  columnIndex: number;
10
7
  };
11
8
  };
12
9
  /**
13
- * Data table footer cell with focus management
14
- * @param props - The props for the DataTableFooterCell component
15
- * @param props.cellPosition - The cell position of the cell
16
- * @param props.children - The children of the DataTableFooterCell component
17
- * @param props.className - The class name of the DataTableFooterCell component
18
- * @param props.tabIndex - The tab index of the cell
10
+ * Footer gridcell. Tabindex is written by `DTFocusProvider`; this cell only
11
+ * handles arrow/Home/End movement.
19
12
  */
20
13
  export declare function DataTableFooterCell(props: DataTableFooterCellProps): import("react/jsx-runtime").JSX.Element;
@@ -1,29 +1,17 @@
1
1
  import { Ref } from 'react';
2
2
  import { HeaderContext } from '@tanstack/react-table';
3
3
  import { DataTableHeaderCellProps as BaseDataTableHeaderCellProps } from '../../../base/cells/TableHeaderCell';
4
- /**
5
- * Props for the DataTableHeaderCell component
6
- * @extends BaseDataTableHeaderCellProps
7
- */
8
4
  export type DataTableHeaderCellProps<T, TValue> = BaseDataTableHeaderCellProps & {
5
+ /** Coordinates used by the grid's roving-focus manager. */
9
6
  cellPosition: {
10
7
  rowIndex: number;
11
8
  columnIndex: number;
12
9
  };
10
+ /** Supplies column actions and sort state for this rendered header. */
13
11
  header: HeaderContext<T, TValue>;
14
12
  };
15
- /**
16
- * Data table header cell with focus management
17
- * @param props - The props for the DataTableHeaderCell component
18
- * @param props.cellPosition - The cell position of the cell
19
- * @param props.children - The children of the DataTableHeaderCell component
20
- * @param props.header - The header of the DataTableHeaderCell component
21
- * @param props.isFocused - Whether the cell is focused
22
- */
23
13
  declare function DataTableHeaderCellInner<T, TValue>(props: DataTableHeaderCellProps<T, TValue>, forwardedRef: Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
24
- /**
25
- * Data table header cell with focus management and ref forwarding
26
- */
14
+ /** ARIA grid header cell with roving focus and column-specific actions. */
27
15
  export declare const DataTableHeaderCell: <T, TValue>(props: DataTableHeaderCellProps<T, TValue> & {
28
16
  ref?: Ref<HTMLDivElement>;
29
17
  }) => ReturnType<typeof DataTableHeaderCellInner>;
@@ -1,2 +1,6 @@
1
1
  import { DataTableBodyImmutableCellProps } from './DataTableBodyImmutableCell';
2
+ /**
3
+ * Read-only ARIA grid cell that opens clipped content in a disclosure surface.
4
+ * Supports pointer activation and the grid's disclosure and navigation keys.
5
+ */
2
6
  export declare function DataTableOverflowCell<T>(props: DataTableBodyImmutableCellProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,6 @@
1
1
  import { RefObject } from 'react';
2
2
  /**
3
- * Tracks whether the nearest DataTable cell ancestor of `elementRef` is focused.
4
- * Replaces CellFocusContext for status cells — avoids a React context for the
5
- * common case while keeping reactive state where needed (tooltip visibility).
6
- *
7
- * @param elementRef Ref to the element whose cell-focus state we want to track.
8
- * @returns True when the cell ancestor currently contains document.activeElement.
3
+ * Whether the nearest `[data-anv="table-body-cell"]` ancestor currently
4
+ * contains focus. Starts `false` until a `focusin` on that cell.
9
5
  */
10
6
  export declare function useCellFocusListener(elementRef: RefObject<HTMLElement>): boolean;
@@ -1,48 +1,31 @@
1
1
  /**
2
- * Internal column ID for the primary row action column.
3
- * This column typically contains expand buttons, but may also contain
4
- * checkboxes for nested rows when selection is enabled.
2
+ * Expand-arrow column.
5
3
  */
6
4
  export declare const INTERNAL_ROW_ACTION_PRIMARY_COLUMN_ID = "a2-table-internal-row-action-primary";
7
5
  /**
8
- * Internal column ID for the secondary row action column.
9
- * This column contains checkboxes for row selection when enabled.
10
- * For nested rows, this column renders nothing (selection is handled
11
- * in the primary action column instead).
6
+ * Row-selection checkbox column.
12
7
  */
13
8
  export declare const INTERNAL_ROW_ACTION_SECONDARY_COLUMN_ID = "a2-table-internal-row-action-secondary";
14
9
  /**
15
- * Initial per-row height estimate used before measurement. Individual rows are
16
- * measured via `measureElement` and corrected after first paint, so this value
17
- * only affects the pre-measurement scroll range.
10
+ * Per-row height for the virtualizer `estimateSize` and the first-load spacer
11
+ * (`rowsPerPage * this`, then clamped). Measurement replaces it after first
12
+ * paint, so it only shapes the pre-measurement scroll range and spacer.
18
13
  */
19
14
  export declare const DEFAULT_ESTIMATED_ROW_HEIGHT = 35;
20
15
  /**
21
- * Upper bound for the estimated loading spacer height on the first load.
22
- *
23
- * The estimate is `rowsPerPage * DEFAULT_ESTIMATED_ROW_HEIGHT`, which is taller
24
- * than most viewports at large page sizes (1750px at 50 rows per page) and
25
- * renders as a large empty area with a spinner in it. There is no real height
26
- * to preserve before the body has been measured, so cap the estimate at
27
- * something that still reads as a table.
16
+ * Ceiling for the first-load loading spacer. Uncapped `rowsPerPage * estimated
17
+ * row height` is taller than the viewport at large page sizes and leaves a
18
+ * tall empty spinner well.
28
19
  */
29
20
  export declare const MAX_INITIAL_LOADING_HEIGHT = 400;
30
21
  /**
31
- * Lower bound for the estimated loading spacer height on the first load.
32
- *
33
- * The spacer centers a medium `Spinner`, which is 40px square, so a very small
34
- * page size would otherwise render a spacer too short to contain its own
35
- * spinner (35px at `rowsPerPage: 1`). Leave room for it.
22
+ * Floor for the first-load loading spacer so a small page size still contains
23
+ * the centered medium Spinner.
36
24
  */
37
25
  export declare const MIN_INITIAL_LOADING_HEIGHT = 80;
38
26
  /**
39
- * Loading spacer height used on the first load when the page size cannot be
40
- * turned into an estimate.
41
- *
42
- * `rowsPerPage` comes from `paginationObject?.rowsPerPage ?? 25`, and `??` only
43
- * substitutes for null and undefined — an explicit `0`, a negative, or a `NaN`
44
- * parsed from user input all survive it. Multiplying any of them out would
45
- * render `0px`, a negative height, or `NaNpx`, collapsing the spacer that this
46
- * exists to prevent.
27
+ * First-load spacer height when `rowsPerPage` is not a positive number.
28
+ * `paginationObject?.rowsPerPage ?? 25` only replaces nullish values, so `0`,
29
+ * negatives, and `NaN` skip the estimated-height clamp and use this instead.
47
30
  */
48
31
  export declare const DEFAULT_INITIAL_LOADING_HEIGHT = 200;
@@ -1,12 +1,7 @@
1
1
  import { CellPosition } from '../../../../internal/types';
2
2
  export type DTFocusState = {
3
- /**
4
- * The currently focused cell or null if no cell is focused
5
- */
6
3
  focusedCell: CellPosition | null;
7
- /**
8
- * The last focused cell when the table was blurred or { rowIndex: 0, columnIndex: 0 } if never focused
9
- */
4
+ /** Cell that receives focus when the grid root is entered. */
10
5
  focusRestorePoint: CellPosition;
11
6
  };
12
7
  export type DTFocusStateContextValue = {
@@ -9,4 +9,7 @@ export interface DTFocusProviderProps {
9
9
  virtualizer?: DataTableVirtualizer;
10
10
  headerRowCount: number;
11
11
  }
12
+ /**
13
+ * Coordinates roving focus across rendered and virtualized data-table cells.
14
+ */
12
15
  export declare function DTFocusProvider({ children, rowCount, columnCount, tableRef, leftPinnedWidth, rightPinnedWidth, virtualizer, headerRowCount, }: DTFocusProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { CellPosition } from '../../../../internal/types';
2
+ /** Returns focus commands from the nearest data-table focus provider. */
2
3
  export declare function useDTFocusDispatchContext(): {
3
4
  focusTableGenerally: () => void;
4
5
  moveFocusToCell: (cellPosition: CellPosition) => void;
@@ -1 +1,2 @@
1
+ /** Returns a non-reactive getter for the latest focused cell. */
1
2
  export declare function useDTFocusStateContext(): import('./DTFocusContext').DTFocusStateContextValue;
@@ -1,10 +1,7 @@
1
1
  export type DataTableRowClickContextValue = {
2
- /** Whether an `onClickRow` handler is set on the DataTable. */
2
+ /** Enables row-click affordances when the consumer supplied a handler. */
3
3
  isRowClickEnabled: boolean;
4
- /**
5
- * Fire the row-click callback for the given (TanStack) row id. No-ops when
6
- * row click is disabled or the row is read-only.
7
- */
4
+ /** Invokes the latest callback when present unless the row is read-only. */
8
5
  clickRow: (rowId: string) => void;
9
6
  };
10
7
  export declare const DataTableRowClickContext: import('react').Context<DataTableRowClickContextValue>;
@@ -10,10 +10,7 @@ export type DataTableRowClickProviderProps = {
10
10
  children: ReactNode;
11
11
  };
12
12
  /**
13
- * Provides a stable, ref-backed `clickRow` to the DataTable body (rows handle
14
- * pointer clicks; immutable cells handle Enter). Keeping `clickRow` identity
15
- * stable means consuming rows/cells never re-render just because the consumer
16
- * passed a new `onClickRow` reference, while the ref read always sees the
17
- * latest handler and read-only map.
13
+ * Keeps `clickRow` stable while reading the latest callback and read-only map
14
+ * from refs.
18
15
  */
19
16
  export declare function DataTableRowClickProvider({ onClickRow, readOnlyRowMap, children, }: DataTableRowClickProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1,2 @@
1
+ /** Defaults to disabled + no-op `clickRow` when no provider is mounted. */
1
2
  export declare function useDataTableRowClick(): import('./DataTableRowClickContext').DataTableRowClickContextValue;
@@ -1,13 +1,17 @@
1
1
  import { RefObject } from 'react';
2
2
  export type DataTableSurfaceRegistration = {
3
3
  id: string;
4
+ /** Closes the surface, optionally suppressing focus restoration. */
4
5
  close: (options?: {
5
6
  restoreFocus?: boolean;
6
7
  }) => void;
7
8
  };
8
9
  export type DataTableSurfaceCoordinator = {
10
+ /** Closes the previous surface without restoring focus, then registers this one. */
9
11
  requestOpen: (registration: DataTableSurfaceRegistration) => void;
12
+ /** Clears the active registration only when its id matches. */
10
13
  clear: (id: string) => void;
14
+ /** After place/drag/resize, keep overlapping this element's box; DataTable passes the table container. */
11
15
  intersectionBoundaryRef?: RefObject<HTMLElement | null>;
12
16
  };
13
17
  export declare const DataTableSurfaceCoordinatorContext: import('react').Context<DataTableSurfaceCoordinator | null>;
@@ -3,5 +3,6 @@ type DataTableSurfaceCoordinatorProviderProps = {
3
3
  children: React.ReactNode;
4
4
  intersectionBoundaryRef?: RefObject<HTMLElement | null>;
5
5
  };
6
+ /** Ensures only one cell-owned surface remains open at a time. */
6
7
  export declare function DataTableSurfaceCoordinatorProvider({ children, intersectionBoundaryRef, }: DataTableSurfaceCoordinatorProviderProps): import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1 +1,2 @@
1
+ /** Returns the nearest surface coordinator, or `null` outside its provider. */
1
2
  export declare function useDataTableSurfaceCoordinator(): import('./DataTableSurfaceCoordinatorContext').DataTableSurfaceCoordinator | null;
@@ -1 +1,2 @@
1
+ /** Host class that reveals {@link DataTableCellAffordance} on hover or focus. */
1
2
  export declare const dataTableCellAffordanceHostClassName: any;
@@ -1,5 +1,11 @@
1
1
  import { EditableCellImperativeHandle, BaseEditableCellProps } from './types';
2
2
  export type DataTableEditableBooleanCellProps<T> = BaseEditableCellProps<T>;
3
+ /**
4
+ * Menu editor for boolean cells. Missing boolean `editConfig`, or a value that
5
+ * is neither boolean nor nullish, falls back to a read-only body cell. Labels
6
+ * prefer `editConfig`, then formatter options, then True/False; Unset only when
7
+ * `allowNull`.
8
+ */
3
9
  export declare const DataTableEditableBooleanCell: (<T>(props: DataTableEditableBooleanCellProps<T> & {
4
10
  ref?: React.Ref<EditableCellImperativeHandle>;
5
11
  }) => React.ReactElement) & {