@servicetitan/anvil2 1.37.2 → 1.38.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 (388) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{Alert-DMk5bG5T-kR7Uzp64.js → Alert-C3WoRkeN-D_6Yf63F.js} +5 -5
  3. package/dist/{Alert-DMk5bG5T-kR7Uzp64.js.map → Alert-C3WoRkeN-D_6Yf63F.js.map} +1 -1
  4. package/dist/{Alert-BsFFiu7g.js → Alert-DipY5OlC.js} +3 -2
  5. package/dist/Alert-DipY5OlC.js.map +1 -0
  6. package/dist/Alert.js +1 -1
  7. package/dist/{Announcement-BawOyXV3.js → Announcement-ButSjdLn.js} +5 -4
  8. package/dist/Announcement-ButSjdLn.js.map +1 -0
  9. package/dist/Announcement.js +1 -1
  10. package/dist/{AnvilProvider-DJ4lYJVW.js → AnvilProvider-Lh8YtV03.js} +2 -2
  11. package/dist/{AnvilProvider-DJ4lYJVW.js.map → AnvilProvider-Lh8YtV03.js.map} +1 -1
  12. package/dist/AnvilProvider.js +1 -1
  13. package/dist/{Avatar-C2IfIAxL-BUio7c00.js → Avatar-B20IdOEO-Di14brYV.js} +23 -4
  14. package/dist/Avatar-B20IdOEO-Di14brYV.js.map +1 -0
  15. package/dist/Avatar-hNOToS9S.js +42 -0
  16. package/dist/Avatar-hNOToS9S.js.map +1 -0
  17. package/dist/Avatar.js +1 -1
  18. package/dist/{Badge-Bko3Cw3L.js → Badge-7aZfE-LH.js} +3 -2
  19. package/dist/{Badge-Bko3Cw3L.js.map → Badge-7aZfE-LH.js.map} +1 -1
  20. package/dist/Badge.js +1 -1
  21. package/dist/{Breadcrumbs-BP5QXVje.js → Breadcrumbs-DJbCkSeD.js} +35 -5
  22. package/dist/Breadcrumbs-DJbCkSeD.js.map +1 -0
  23. package/dist/Breadcrumbs.js +1 -1
  24. package/dist/{Button-C-QpfgfF-CRBE7KiD.js → Button-BaHFf1AT-BQy-PFB5.js} +3 -3
  25. package/dist/{Button-C-QpfgfF-CRBE7KiD.js.map → Button-BaHFf1AT-BQy-PFB5.js.map} +1 -1
  26. package/dist/{Button-NTFmgcbr.js → Button-DMQKV2sV.js} +4 -3
  27. package/dist/Button-DMQKV2sV.js.map +1 -0
  28. package/dist/Button.js +1 -1
  29. package/dist/{ButtonCompound-Dp5J4W81-BkZ68L4-.js → ButtonCompound-Cs2A5X-Z-Dl3InVab.js} +2 -2
  30. package/dist/{ButtonCompound-Dp5J4W81-BkZ68L4-.js.map → ButtonCompound-Cs2A5X-Z-Dl3InVab.js.map} +1 -1
  31. package/dist/{ButtonCompound-DlgIyoB9.js → ButtonCompound-DGuF0zzT.js} +3 -2
  32. package/dist/ButtonCompound-DGuF0zzT.js.map +1 -0
  33. package/dist/ButtonCompound.js +1 -1
  34. package/dist/{ButtonLink-CSaxjhI2-KLVGwWjE.js → ButtonLink-5qlX0uZx-b9H7MGhk.js} +6 -4
  35. package/dist/ButtonLink-5qlX0uZx-b9H7MGhk.js.map +1 -0
  36. package/dist/{ButtonLink-B_uUWBLY.js → ButtonLink-B0NJuVk5.js} +4 -3
  37. package/dist/ButtonLink-B0NJuVk5.js.map +1 -0
  38. package/dist/ButtonLink.js +1 -1
  39. package/dist/{ButtonToggle-CvXIngRd-BiWpOOWr.js → ButtonToggle-Bm4KRl3o-B1-LbfjY.js} +3 -3
  40. package/dist/{ButtonToggle-CvXIngRd-BiWpOOWr.js.map → ButtonToggle-Bm4KRl3o-B1-LbfjY.js.map} +1 -1
  41. package/dist/{ButtonToggle-D3tcTRq9.js → ButtonToggle-CKVyEODc.js} +3 -2
  42. package/dist/ButtonToggle-CKVyEODc.js.map +1 -0
  43. package/dist/ButtonToggle.js +1 -1
  44. package/dist/{Calendar-Bn00Dnc--DcCNi1xz.js → Calendar-CohGSWFp-DFYJkf7Y.js} +9 -9
  45. package/dist/{Calendar-Bn00Dnc--DcCNi1xz.js.map → Calendar-CohGSWFp-DFYJkf7Y.js.map} +1 -1
  46. package/dist/Calendar-jl0s6W7p.js +130 -0
  47. package/dist/Calendar-jl0s6W7p.js.map +1 -0
  48. package/dist/Calendar.js +1 -1
  49. package/dist/{Card-DgxiRqS_.js → Card-U2IJPk8B.js} +3 -2
  50. package/dist/Card-U2IJPk8B.js.map +1 -0
  51. package/dist/{Card-BNT0qpxt-OPUNKZW6.js → Card-ZknG-yim-7W6rYSFV.js} +3 -3
  52. package/dist/{Card-BNT0qpxt-OPUNKZW6.js.map → Card-ZknG-yim-7W6rYSFV.js.map} +1 -1
  53. package/dist/Card.js +1 -1
  54. package/dist/{Checkbox-BIlp8xmW.js → Checkbox-DbDwtefR.js} +25 -2
  55. package/dist/Checkbox-DbDwtefR.js.map +1 -0
  56. package/dist/{Checkbox-CRurfeRE-BR_NXfh6.js → Checkbox-TIcImbEx-EgjesTNn.js} +6 -5
  57. package/dist/Checkbox-TIcImbEx-EgjesTNn.js.map +1 -0
  58. package/dist/Checkbox.js +1 -1
  59. package/dist/{Chip-BQ58RQ3v.js → Chip-BlLavyIK.js} +2 -2
  60. package/dist/Chip-BlLavyIK.js.map +1 -0
  61. package/dist/{Chip-DwiMFYBm-CIDM1d8e.js → Chip-_daV8CmM-CTke7zH4.js} +5 -5
  62. package/dist/{Chip-DwiMFYBm-CIDM1d8e.js.map → Chip-_daV8CmM-CTke7zH4.js.map} +1 -1
  63. package/dist/Chip.js +1 -1
  64. package/dist/{Combobox-Dde7-7tv.js → Combobox-7ADxZKDE.js} +187 -24
  65. package/dist/Combobox-7ADxZKDE.js.map +1 -0
  66. package/dist/Combobox.js +1 -1
  67. package/dist/{DateField-D-eVP6xh.js → DateField-CUO_26rh.js} +18 -13
  68. package/dist/DateField-CUO_26rh.js.map +1 -0
  69. package/dist/DateField.js +1 -1
  70. package/dist/{DaysOfTheWeek-Dz-aZ-LW.js → DaysOfTheWeek-CEKoAJSv.js} +7 -7
  71. package/dist/DaysOfTheWeek-CEKoAJSv.js.map +1 -0
  72. package/dist/DaysOfTheWeek.js +1 -1
  73. package/dist/{Details-ChZdA5Yo.js → Details-DVg0EOkv.js} +51 -3
  74. package/dist/Details-DVg0EOkv.js.map +1 -0
  75. package/dist/Details.js +1 -1
  76. package/dist/{Dialog-DJhN8QWP.js → Dialog-D6zpW-GE.js} +125 -4
  77. package/dist/Dialog-D6zpW-GE.js.map +1 -0
  78. package/dist/Dialog.js +1 -1
  79. package/dist/{Divider-Crum3dyV.js → Divider-CN36wX4s.js} +3 -2
  80. package/dist/Divider-CN36wX4s.js.map +1 -0
  81. package/dist/Divider.js +1 -1
  82. package/dist/Dnd.js +1 -1
  83. package/dist/{DndSort-Dy_D1EnT.js → DndSort-Cl0FCNQm.js} +6 -6
  84. package/dist/{DndSort-Dy_D1EnT.js.map → DndSort-Cl0FCNQm.js.map} +1 -1
  85. package/dist/DndSort.js +1 -1
  86. package/dist/Drawer-qb7Q0BAm.js +142 -0
  87. package/dist/Drawer-qb7Q0BAm.js.map +1 -0
  88. package/dist/Drawer.js +1 -1
  89. package/dist/{EditCard-BNwoKJ_6.js → EditCard-C0hD1VPA.js} +7 -6
  90. package/dist/EditCard-C0hD1VPA.js.map +1 -0
  91. package/dist/EditCard.js +1 -1
  92. package/dist/{FieldMessage-CERWyhwG.js → FieldMessage-Cg3zcgk5.js} +2 -2
  93. package/dist/FieldMessage-Cg3zcgk5.js.map +1 -0
  94. package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js → FieldMessage-ChFXWVDb-loVSCnCM.js} +3 -3
  95. package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js.map → FieldMessage-ChFXWVDb-loVSCnCM.js.map} +1 -1
  96. package/dist/FieldMessage.js +1 -1
  97. package/dist/{Flex-EX9xObMl-BPBQ7nb5.js → Flex-CiK7uNUu-BfxHG4L0.js} +3 -3
  98. package/dist/{Flex-EX9xObMl-BPBQ7nb5.js.map → Flex-CiK7uNUu-BfxHG4L0.js.map} +1 -1
  99. package/dist/{Flex-DT1l-wJc.js → Flex-Ln6PmaDl.js} +3 -2
  100. package/dist/Flex-Ln6PmaDl.js.map +1 -0
  101. package/dist/Flex.js +1 -1
  102. package/dist/Grid-CMcDeSYT.js +33 -0
  103. package/dist/Grid-CMcDeSYT.js.map +1 -0
  104. package/dist/{Grid-BmNHm7Fa.js → Grid-DFAd8mTe.js} +2 -2
  105. package/dist/{Grid-BmNHm7Fa.js.map → Grid-DFAd8mTe.js.map} +1 -1
  106. package/dist/Grid.js +1 -1
  107. package/dist/{HammerProvider-BEJW4XcH-BBKdl0zs.js → HammerProvider-CYP98rq3-Dd9GVIyP.js} +3 -3
  108. package/dist/{HammerProvider-BEJW4XcH-BBKdl0zs.js.map → HammerProvider-CYP98rq3-Dd9GVIyP.js.map} +1 -1
  109. package/dist/Helper-C9sHaTrI-C5fAsK6i.js +46 -0
  110. package/dist/Helper-C9sHaTrI-C5fAsK6i.js.map +1 -0
  111. package/dist/Helper-C9sHaTrI.css +21 -0
  112. package/dist/{Icon-BrdmZw1i-CG-LzgEz.js → Icon-B6HmlQiR-BxQkO3X5.js} +3 -3
  113. package/dist/{Icon-BrdmZw1i-CG-LzgEz.js.map → Icon-B6HmlQiR-BxQkO3X5.js.map} +1 -1
  114. package/dist/{Icon-CcUV8glf.js → Icon-BgKqBmlj.js} +3 -2
  115. package/dist/Icon-BgKqBmlj.js.map +1 -0
  116. package/dist/Icon.js +1 -1
  117. package/dist/{InputMask-CeqX68uX.js → InputMask-DKPqOpHs.js} +3 -2
  118. package/dist/InputMask-DKPqOpHs.js.map +1 -0
  119. package/dist/InputMask-kJ-hlK0O-Ctwa0U7r.js +231 -0
  120. package/dist/InputMask-kJ-hlK0O-Ctwa0U7r.js.map +1 -0
  121. package/dist/InputMask.js +1 -1
  122. package/dist/Layout-CUUb2PVr.js.map +1 -1
  123. package/dist/{Link-K3nk4QAp.js → Link-DZa0wmkA.js} +3 -3
  124. package/dist/Link-DZa0wmkA.js.map +1 -0
  125. package/dist/{Link-CVN5Mwtx-B08PO1ef.js → Link-Dqp_XXl_-Bv20l_tY.js} +4 -4
  126. package/dist/{Link-CVN5Mwtx-B08PO1ef.js.map → Link-Dqp_XXl_-Bv20l_tY.js.map} +1 -1
  127. package/dist/Link.js +1 -1
  128. package/dist/{ListView-zlg5FlKW.js → ListView-0xHc5wT6.js} +87 -47
  129. package/dist/ListView-0xHc5wT6.js.map +1 -0
  130. package/dist/ListView.js +1 -1
  131. package/dist/{Listbox-DLlT8qbJ-BvhkfmIf.js → Listbox-BvJLSAVO-Br5k6fmq.js} +51 -10
  132. package/dist/Listbox-BvJLSAVO-Br5k6fmq.js.map +1 -0
  133. package/dist/Listbox-dVARiucB.js +67 -0
  134. package/dist/Listbox-dVARiucB.js.map +1 -0
  135. package/dist/Listbox.js +1 -1
  136. package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js} +2 -2
  137. package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js.map → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js.map} +1 -1
  138. package/dist/LocalizationProvider.js +1 -1
  139. package/dist/{Menu-BjzTwENs.js → Menu-BAuADOyt.js} +60 -10
  140. package/dist/Menu-BAuADOyt.js.map +1 -0
  141. package/dist/Menu.js +1 -1
  142. package/dist/{Overflow-vc1mxjUD.js → Overflow-B6rIOkAI.js} +27 -2
  143. package/dist/Overflow-B6rIOkAI.js.map +1 -0
  144. package/dist/{Overflow-ENfRRD_5-DLHLZ02e.js → Overflow-BrXwlYpn-CtqaiNgb.js} +25 -4
  145. package/dist/Overflow-BrXwlYpn-CtqaiNgb.js.map +1 -0
  146. package/dist/Overflow.js +1 -1
  147. package/dist/{Page-CSM-a2UE.js → Page-CtwsyE3i.js} +131 -15
  148. package/dist/Page-CtwsyE3i.js.map +1 -0
  149. package/dist/Page.js +1 -1
  150. package/dist/Popover-Bnkwq99S.js +135 -0
  151. package/dist/Popover-Bnkwq99S.js.map +1 -0
  152. package/dist/{Popover-CpyYXmal-I-E-B4u8.js → Popover-VztF0YHt-ci3tYiye.js} +80 -8
  153. package/dist/Popover-VztF0YHt-ci3tYiye.js.map +1 -0
  154. package/dist/Popover.js +1 -1
  155. package/dist/{ProgressBar-B25Wxpaf.js → ProgressBar-BotOFymw.js} +3 -2
  156. package/dist/ProgressBar-BotOFymw.js.map +1 -0
  157. package/dist/{ProgressBar-CeClhdcf-Dcft7ZjO.js → ProgressBar-Cfi5zZRy-BpESsdh_.js} +164 -99
  158. package/dist/ProgressBar-Cfi5zZRy-BpESsdh_.js.map +1 -0
  159. package/dist/ProgressBar-Cfi5zZRy.css +671 -0
  160. package/dist/ProgressBar.js +1 -1
  161. package/dist/{Radio-BlMDLvPw-DUeywcYR.js → Radio-7U7IBI58-BDhdZJoC.js} +25 -5
  162. package/dist/Radio-7U7IBI58-BDhdZJoC.js.map +1 -0
  163. package/dist/Radio-D4rRt1a6.js +66 -0
  164. package/dist/Radio-D4rRt1a6.js.map +1 -0
  165. package/dist/Radio.js +1 -1
  166. package/dist/{SearchField-D3z4LjJg.js → SearchField-Bz4HPxCQ.js} +5 -4
  167. package/dist/SearchField-Bz4HPxCQ.js.map +1 -0
  168. package/dist/SearchField.js +1 -1
  169. package/dist/{SegmentedControl-D_ADGpVy.js → SegmentedControl-DKMQuf7s.js} +41 -2
  170. package/dist/SegmentedControl-DKMQuf7s.js.map +1 -0
  171. package/dist/SegmentedControl.js +1 -1
  172. package/dist/{SelectCard-D26y01WZ-BWN9G09J.js → SelectCard-B5EqtxOK-CpCgVjV8.js} +46 -17
  173. package/dist/SelectCard-B5EqtxOK-CpCgVjV8.js.map +1 -0
  174. package/dist/SelectCard.js +1 -1
  175. package/dist/SelectCardGroup-DsHZgCqA.js +49 -0
  176. package/dist/SelectCardGroup-DsHZgCqA.js.map +1 -0
  177. package/dist/{SideNav-C7wc1_JK.js → SideNav-DEoGpeqJ.js} +130 -10
  178. package/dist/SideNav-DEoGpeqJ.js.map +1 -0
  179. package/dist/SideNav.js +1 -1
  180. package/dist/Skeleton-COxTdwjO.js +398 -0
  181. package/dist/Skeleton-COxTdwjO.js.map +1 -0
  182. package/dist/Skeleton.js +1 -1
  183. package/dist/{Spinner-Bc5-_6pK.js → Spinner-C1r3COiQ.js} +2 -1
  184. package/dist/Spinner-C1r3COiQ.js.map +1 -0
  185. package/dist/Spinner.js +1 -1
  186. package/dist/SrOnly-C_I8eH4C.js.map +1 -1
  187. package/dist/{Stepper-Bp0w8eRW.js → Stepper-CwIV7ZiT.js} +281 -6
  188. package/dist/Stepper-CwIV7ZiT.js.map +1 -0
  189. package/dist/Stepper.js +1 -1
  190. package/dist/{Switch-BbHIwrGc.js → Switch-Dd9tJFmG.js} +20 -10
  191. package/dist/Switch-Dd9tJFmG.js.map +1 -0
  192. package/dist/Switch.css +23 -24
  193. package/dist/Switch.js +1 -1
  194. package/dist/{Tab-DcOQTX5Z.js → Tab-BSC7e4rM.js} +127 -10
  195. package/dist/Tab-BSC7e4rM.js.map +1 -0
  196. package/dist/Tab.js +1 -1
  197. package/dist/{Text-BDYfD8j4.js → Text-B91g6xKn.js} +3 -2
  198. package/dist/Text-B91g6xKn.js.map +1 -0
  199. package/dist/{Text-CN_-FF7J-Dzoy8A70.js → Text-DCvcLCvf-DlmnnjTR.js} +3 -3
  200. package/dist/{Text-CN_-FF7J-Dzoy8A70.js.map → Text-DCvcLCvf-DlmnnjTR.js.map} +1 -1
  201. package/dist/Text.js +1 -1
  202. package/dist/{TextField-Ds9EKvSs.js → TextField-BYyyw3m2.js} +3 -2
  203. package/dist/{TextField-Ds9EKvSs.js.map → TextField-BYyyw3m2.js.map} +1 -1
  204. package/dist/{TextField-Bp1q4hMI-2jGZG2k2.js → TextField-CGJtMoil-CJqYM83o.js} +4 -3
  205. package/dist/TextField-CGJtMoil-CJqYM83o.js.map +1 -0
  206. package/dist/TextField.js +1 -1
  207. package/dist/{Textarea-CMELRfU8.js → Textarea-AczEXhHB.js} +5 -3
  208. package/dist/Textarea-AczEXhHB.js.map +1 -0
  209. package/dist/Textarea.js +1 -1
  210. package/dist/{ThemeProvider-D2x18Y1l.js → ThemeProvider-BKave7Ha.js} +2 -2
  211. package/dist/{ThemeProvider-D2x18Y1l.js.map → ThemeProvider-BKave7Ha.js.map} +1 -1
  212. package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js → ThemeProvider-CR67FJg0-DYVRlJRA.js} +3 -3
  213. package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js.map → ThemeProvider-CR67FJg0-DYVRlJRA.js.map} +1 -1
  214. package/dist/ThemeProvider.js +1 -1
  215. package/dist/Toast.js +1 -1
  216. package/dist/{Toolbar-CYwR6GQG.js → Toolbar-Cu3u0TRX.js} +183 -14
  217. package/dist/Toolbar-Cu3u0TRX.js.map +1 -0
  218. package/dist/Toolbar.css +1 -11
  219. package/dist/Toolbar.js +1 -1
  220. package/dist/Tooltip-BL_bgvwA.js +73 -0
  221. package/dist/Tooltip-BL_bgvwA.js.map +1 -0
  222. package/dist/Tooltip.js +1 -1
  223. package/dist/assets/icons/st/insurance_work_queue.svg +1 -0
  224. package/dist/assets/icons/st/production_work_queue.svg +1 -0
  225. package/dist/assets/icons/st.ts +2 -0
  226. package/dist/components/Alert/Alert.d.ts +37 -0
  227. package/dist/components/Announcement/Announcement.d.ts +37 -0
  228. package/dist/components/Avatar/Avatar.d.ts +73 -0
  229. package/dist/components/Badge/Badge.d.ts +27 -0
  230. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +39 -0
  231. package/dist/components/Button/Button.d.ts +28 -0
  232. package/dist/components/ButtonCompound/ButtonCompound.d.ts +24 -0
  233. package/dist/components/ButtonLink/ButtonLink.d.ts +30 -0
  234. package/dist/components/ButtonToggle/ButtonToggle.d.ts +32 -0
  235. package/dist/components/Calendar/Calendar.d.ts +114 -0
  236. package/dist/components/Card/Card.d.ts +24 -0
  237. package/dist/components/Checkbox/Checkbox.d.ts +77 -0
  238. package/dist/components/Chip/Chip.d.ts +34 -0
  239. package/dist/components/Combobox/Combobox.d.ts +442 -2
  240. package/dist/components/DateField/DateField.d.ts +65 -0
  241. package/dist/components/DaysOfTheWeek/DaysOfTheWeek.d.ts +44 -6
  242. package/dist/components/Details/Details.d.ts +68 -0
  243. package/dist/components/Dialog/Dialog.d.ts +178 -0
  244. package/dist/components/Divider/Divider.d.ts +24 -0
  245. package/dist/components/Drawer/Drawer.d.ts +200 -0
  246. package/dist/components/EditCard/EditCard.d.ts +50 -0
  247. package/dist/components/FieldMessage/FieldMessage.d.ts +31 -0
  248. package/dist/components/Flex/Flex.d.ts +48 -0
  249. package/dist/components/Grid/Grid.d.ts +74 -0
  250. package/dist/components/Icon/Icon.d.ts +39 -0
  251. package/dist/components/InputMask/InputMask.d.ts +57 -0
  252. package/dist/components/Layout/Layout.d.ts +131 -0
  253. package/dist/components/Link/Link.d.ts +47 -0
  254. package/dist/components/ListView/ListView.d.ts +85 -0
  255. package/dist/components/Listbox/Listbox.d.ts +124 -0
  256. package/dist/components/Menu/Menu.d.ts +85 -1
  257. package/dist/components/Overflow/Overflow.d.ts +84 -0
  258. package/dist/components/Page/Page.d.ts +443 -0
  259. package/dist/components/Popover/Popover.d.ts +268 -0
  260. package/dist/components/ProgressBar/ProgressBar.d.ts +52 -0
  261. package/dist/components/Radio/Radio.d.ts +121 -0
  262. package/dist/components/SearchField/SearchField.d.ts +37 -0
  263. package/dist/components/SegmentedControl/SegmentedControl.d.ts +98 -0
  264. package/dist/components/SelectCard/SelectCard.d.ts +60 -0
  265. package/dist/components/SelectCard/SelectCardGroup.d.ts +37 -0
  266. package/dist/components/SideNav/SideNav.d.ts +192 -2
  267. package/dist/components/SideNav/SideNavProvider.d.ts +30 -0
  268. package/dist/components/Skeleton/Skeleton.d.ts +130 -0
  269. package/dist/components/Spinner/Spinner.d.ts +25 -0
  270. package/dist/components/SrOnly/SrOnly.d.ts +19 -0
  271. package/dist/components/Stepper/Stepper.d.ts +335 -0
  272. package/dist/components/Switch/Switch.d.ts +33 -0
  273. package/dist/components/Tab/Tab.d.ts +152 -0
  274. package/dist/components/Text/Text.d.ts +37 -0
  275. package/dist/components/Textarea/Textarea.d.ts +50 -0
  276. package/dist/components/Toast/Toaster.d.ts +43 -0
  277. package/dist/components/Toast/toast.d.ts +31 -0
  278. package/dist/components/Toolbar/Toolbar.d.ts +251 -0
  279. package/dist/components/Tooltip/Tooltip.d.ts +123 -0
  280. package/dist/{floating-ui.react-Domgunz0.js → floating-ui.react-BFNinq1w.js} +2 -2
  281. package/dist/{floating-ui.react-Domgunz0.js.map → floating-ui.react-BFNinq1w.js.map} +1 -1
  282. package/dist/hooks/useSize/index.d.ts +15 -0
  283. package/dist/hooks/useTrackingId/index.d.ts +19 -0
  284. package/dist/{index-CdSSO4ct-elKOdXPf.js → index-CKfiQx8n-4nziUo7G.js} +4 -4
  285. package/dist/{index-CdSSO4ct-elKOdXPf.js.map → index-CKfiQx8n-4nziUo7G.js.map} +1 -1
  286. package/dist/index.js +57 -57
  287. package/dist/{toast-C-6NdR43.js → toast-B39L6vJ0.js} +3 -3
  288. package/dist/toast-B39L6vJ0.js.map +1 -0
  289. package/dist/{useLayoutPropsUtil-GT5myWCm-Clw_nEze.js → useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js} +6 -4
  290. package/dist/useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js.map +1 -0
  291. package/dist/useLinkStyles.js +1 -1
  292. package/dist/useSize.js.map +1 -1
  293. package/dist/{useSwipe-DIUHs7T5-DIUHs7T5.js → useSwipe-CULmVQEk-CULmVQEk.js} +2 -2
  294. package/dist/useSwipe-CULmVQEk-CULmVQEk.js.map +1 -0
  295. package/dist/useSwipe.js +1 -1
  296. package/dist/useTrackingId.js.map +1 -1
  297. package/package.json +3 -2
  298. package/dist/Alert-BsFFiu7g.js.map +0 -1
  299. package/dist/Announcement-BawOyXV3.js.map +0 -1
  300. package/dist/Avatar-C2IfIAxL-BUio7c00.js.map +0 -1
  301. package/dist/Avatar-DYCN2A_l.js +0 -20
  302. package/dist/Avatar-DYCN2A_l.js.map +0 -1
  303. package/dist/Breadcrumbs-BP5QXVje.js.map +0 -1
  304. package/dist/Button-NTFmgcbr.js.map +0 -1
  305. package/dist/Button2.css +0 -8
  306. package/dist/ButtonCompound-DlgIyoB9.js.map +0 -1
  307. package/dist/ButtonLink-B_uUWBLY.js.map +0 -1
  308. package/dist/ButtonLink-CSaxjhI2-KLVGwWjE.js.map +0 -1
  309. package/dist/ButtonLink.css +0 -10
  310. package/dist/ButtonToggle-D3tcTRq9.js.map +0 -1
  311. package/dist/Calendar-B4MO-Uhv.js +0 -57
  312. package/dist/Calendar-B4MO-Uhv.js.map +0 -1
  313. package/dist/Card-DgxiRqS_.js.map +0 -1
  314. package/dist/Checkbox-BIlp8xmW.js.map +0 -1
  315. package/dist/Checkbox-CRurfeRE-BR_NXfh6.js.map +0 -1
  316. package/dist/Chip-BQ58RQ3v.js.map +0 -1
  317. package/dist/Combobox-Dde7-7tv.js.map +0 -1
  318. package/dist/DateField-D-eVP6xh.js.map +0 -1
  319. package/dist/DaysOfTheWeek-Dz-aZ-LW.js.map +0 -1
  320. package/dist/Details-ChZdA5Yo.js.map +0 -1
  321. package/dist/Dialog-DJhN8QWP.js.map +0 -1
  322. package/dist/Divider-Crum3dyV.js.map +0 -1
  323. package/dist/Drawer-BFfakO8h.js +0 -66
  324. package/dist/Drawer-BFfakO8h.js.map +0 -1
  325. package/dist/EditCard-BNwoKJ_6.js.map +0 -1
  326. package/dist/FieldMessage-CERWyhwG.js.map +0 -1
  327. package/dist/Flex-DT1l-wJc.js.map +0 -1
  328. package/dist/Grid-h9VbEjJe.js +0 -14
  329. package/dist/Grid-h9VbEjJe.js.map +0 -1
  330. package/dist/Icon-CcUV8glf.js.map +0 -1
  331. package/dist/InputMask-CeqX68uX.js.map +0 -1
  332. package/dist/InputMask-DfpkWGmY-D8QEut94.js +0 -323
  333. package/dist/InputMask-DfpkWGmY-D8QEut94.js.map +0 -1
  334. package/dist/Link-K3nk4QAp.js.map +0 -1
  335. package/dist/ListView-zlg5FlKW.js.map +0 -1
  336. package/dist/Listbox-36Mda5DS.js +0 -37
  337. package/dist/Listbox-36Mda5DS.js.map +0 -1
  338. package/dist/Listbox-DLlT8qbJ-BvhkfmIf.js.map +0 -1
  339. package/dist/Menu-BjzTwENs.js.map +0 -1
  340. package/dist/Overflow-ENfRRD_5-DLHLZ02e.js.map +0 -1
  341. package/dist/Overflow-vc1mxjUD.js.map +0 -1
  342. package/dist/Page-CSM-a2UE.js.map +0 -1
  343. package/dist/Popover-CpyYXmal-I-E-B4u8.js.map +0 -1
  344. package/dist/Popover-a81z9wSj.js +0 -56
  345. package/dist/Popover-a81z9wSj.js.map +0 -1
  346. package/dist/ProgressBar-B25Wxpaf.js.map +0 -1
  347. package/dist/ProgressBar-CeClhdcf-Dcft7ZjO.js.map +0 -1
  348. package/dist/ProgressBar-CeClhdcf.css +0 -666
  349. package/dist/Radio-BlMDLvPw-DUeywcYR.js.map +0 -1
  350. package/dist/Radio-D3CqAXiM.js +0 -34
  351. package/dist/Radio-D3CqAXiM.js.map +0 -1
  352. package/dist/SearchField-D3z4LjJg.js.map +0 -1
  353. package/dist/SegmentedControl-D_ADGpVy.js.map +0 -1
  354. package/dist/SelectCard-D26y01WZ-BWN9G09J.js.map +0 -1
  355. package/dist/SelectCardGroup-DxA6P-Q7.js +0 -21
  356. package/dist/SelectCardGroup-DxA6P-Q7.js.map +0 -1
  357. package/dist/SideNav-C7wc1_JK.js.map +0 -1
  358. package/dist/Skeleton-CdzDKQi4.js +0 -215
  359. package/dist/Skeleton-CdzDKQi4.js.map +0 -1
  360. package/dist/Spinner-Bc5-_6pK.js.map +0 -1
  361. package/dist/Stepper-Bp0w8eRW.js.map +0 -1
  362. package/dist/Switch-BbHIwrGc.js.map +0 -1
  363. package/dist/Tab-DcOQTX5Z.js.map +0 -1
  364. package/dist/Text-BDYfD8j4.js.map +0 -1
  365. package/dist/TextField-Bp1q4hMI-2jGZG2k2.js.map +0 -1
  366. package/dist/Textarea-CMELRfU8.js.map +0 -1
  367. package/dist/Toolbar-CYwR6GQG.js.map +0 -1
  368. package/dist/Tooltip-C-UNrFz3.js +0 -34
  369. package/dist/Tooltip-C-UNrFz3.js.map +0 -1
  370. package/dist/toast-C-6NdR43.js.map +0 -1
  371. package/dist/useLayoutPropsUtil-GT5myWCm-Clw_nEze.js.map +0 -1
  372. package/dist/useSwipe-DIUHs7T5-DIUHs7T5.js.map +0 -1
  373. /package/dist/{Alert-DMk5bG5T.css → Alert-C3WoRkeN.css} +0 -0
  374. /package/dist/{Avatar-C2IfIAxL.css → Avatar-B20IdOEO.css} +0 -0
  375. /package/dist/{Calendar-Bn00Dnc-.css → Calendar-CohGSWFp.css} +0 -0
  376. /package/dist/{Card-BNT0qpxt.css → Card-ZknG-yim.css} +0 -0
  377. /package/dist/{Chip-DwiMFYBm.css → Chip-_daV8CmM.css} +0 -0
  378. /package/dist/{FieldMessage-Js4e1ezw.css → FieldMessage-ChFXWVDb.css} +0 -0
  379. /package/dist/{Flex-EX9xObMl.css → Flex-CiK7uNUu.css} +0 -0
  380. /package/dist/{Icon-BrdmZw1i.css → Icon-B6HmlQiR.css} +0 -0
  381. /package/dist/{Link-CVN5Mwtx.css → Link-Dqp_XXl_.css} +0 -0
  382. /package/dist/{Overflow-ENfRRD_5.css → Overflow-BrXwlYpn.css} +0 -0
  383. /package/dist/{Popover-CpyYXmal.css → Popover-VztF0YHt.css} +0 -0
  384. /package/dist/{Radio-BlMDLvPw.css → Radio-7U7IBI58.css} +0 -0
  385. /package/dist/{SelectCard-D26y01WZ.css → SelectCard-B5EqtxOK.css} +0 -0
  386. /package/dist/{Text-CN_-FF7J.css → Text-DCvcLCvf.css} +0 -0
  387. /package/dist/{ThemeProvider-BIeaAmWx.css → ThemeProvider-CR67FJg0.css} +0 -0
  388. /package/dist/{index-CdSSO4ct.css → index-CKfiQx8n.css} +0 -0
@@ -1,4 +1,54 @@
1
1
  import { TextareaProps as CoreTextareaProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Textarea component
5
+ * @property {HelperProps["errorMessage"] | boolean} [error] - Sets error style on textarea. If string or ReactElement provided, places it under the label and sets error style
6
+ * @property {HelperProps["errorAriaLive"] | boolean} [errorAriaLive] - ARIA live region setting for error announcements
7
+ * @property {ReactElement | string} [hint] - Hint text displayed below the textarea
8
+ * @property {ReactElement | string} [description] - Description text displayed below the textarea
9
+ * @property {string | ReactElement} [label] - Label for textarea (required for accessibility)
10
+ * @property {boolean} [disableResize] - Sets textarea's element no user-controllable method for resizing
11
+ * @property {(e?: ChangeEvent<HTMLTextAreaElement>, state?: TextareaState) => void} [onChange] - Fires on each change of textarea's value
12
+ * @property {boolean} [showCounter] - Show character counter
13
+ * @property {number} [maxLength] - Maximum number of characters allowed
14
+ * @property {boolean} [autoHeight] - Auto height mode on typing
15
+ * @property {number} [maxRows] - Maximum number of rows when auto-height is enabled
16
+ * @property {number} [minRows] - Minimum number of rows when auto-height is enabled
17
+ * @extends Omit<ComponentPropsWithoutRef<"textarea">, "onChange" | "required">
18
+ * @extends LayoutUtilProps
19
+ * @extends FieldLabelProps
20
+ * @extends DataTrackingId
21
+ */
3
22
  export type TextareaProps = CoreTextareaProps & DataTrackingId;
23
+ /**
24
+ * Textarea component for multi-line text input with advanced features.
25
+ *
26
+ * Features:
27
+ * - Character counter with maxLength validation
28
+ * - Auto-height adjustment based on content
29
+ * - Error state handling with custom error messages
30
+ * - Hint and description text support
31
+ * - Disable resize functionality
32
+ * - Accessible with proper ARIA attributes
33
+ * - Label association and required field support
34
+ * - Focus and blur event handling
35
+ * - Supports layout utilities for positioning and spacing
36
+ * - SSR-safe auto-height implementation
37
+ * - Automatic tracking ID generation for analytics
38
+ *
39
+ * @example
40
+ * <Textarea
41
+ * label="Description"
42
+ * placeholder="Enter your description here"
43
+ * onChange={(e, state) => console.log('Value:', state?.value)}
44
+ * />
45
+ *
46
+ * @example
47
+ * <Textarea
48
+ * label="Bio"
49
+ * showCounter
50
+ * maxLength={500}
51
+ * hint="Tell us about yourself"
52
+ * />
53
+ */
4
54
  export declare const Textarea: import('react').ForwardRefExoticComponent<TextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
@@ -1,4 +1,14 @@
1
1
  import { ToasterProps as HammerToasterProps, ToastEventType } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the Toaster component
4
+ * @property {number | false} [duration] - Timeout, in ms, before toasts auto-closes. If set to false, toasts will not auto-close
5
+ * @property {string} id - Unique toaster id
6
+ * @property {(toastEvent: ToastEventType) => void} [onToastEvent] - Callback function that is called when toasts are added, updated, or dismissed
7
+ * @property {number | false} [duration] - Duration of the toast in milliseconds. If set to false, the toast will not auto-dismiss
8
+ * @property {string} [focusKey] - How a screen-reader will announce the hotkey used to set focus on the first toast
9
+ * @property {number} [toastsBeforeStack] - How many toasts to display before they start stacking
10
+ * @extends Omit<HammerToasterProps, "disableEvents" | "duration">
11
+ */
2
12
  export type ToasterProps = Omit<HammerToasterProps, "disableEvents" | "duration"> & {
3
13
  /**
4
14
  * Timeout, in ms, before toasts auto-closes. If set to false, toasts will not auto-close.
@@ -7,6 +17,39 @@ export type ToasterProps = Omit<HammerToasterProps, "disableEvents" | "duration"
7
17
  */
8
18
  duration?: number | false;
9
19
  };
20
+ /**
21
+ * Toaster component for managing and displaying toast notifications with anvil2-specific features.
22
+ *
23
+ * Features:
24
+ * - Manages multiple toast notifications in a stack
25
+ * - Handles toast positioning and stacking behavior
26
+ * - Supports custom events for toast management
27
+ * - Automatic toast dismissal with configurable duration
28
+ * - Keyboard navigation and accessibility support
29
+ * - Dialog-aware positioning for modal contexts
30
+ * - Session storage for dialog toaster state
31
+ * - Custom event system for toast lifecycle management
32
+ * - Responsive design with mobile support
33
+ * - Automatic tracking ID generation for analytics
34
+ * - Monolith toaster integration and coordination
35
+ * - Shadow DOM support for micro-frontend environments
36
+ * - A1 toast group compatibility and positioning
37
+ *
38
+ * @example
39
+ * <Toaster
40
+ * id="main-toaster"
41
+ * duration={5000}
42
+ * toastsBeforeStack={3}
43
+ * onToastEvent={(event) => console.log('Toast event:', event)}
44
+ * />
45
+ *
46
+ * @example
47
+ * <Toaster
48
+ * id="dialog-toaster"
49
+ * disableEvents={false}
50
+ * focusKey="t"
51
+ * />
52
+ */
10
53
  export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<import('@servicetitan/hammer-react/dist/components/Toast/ToastStack').ToastStackProps, "toasts"> & {
11
54
  disableEvents?: boolean;
12
55
  forceRender?: boolean;
@@ -1,5 +1,36 @@
1
1
  import { toastProps as coreToastProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for creating toast notifications
4
+ * @property {string} id - Unique identifier for the toast
5
+ * @property {AlertProps["status"]} status - Visual status of the toast (info, success, warning, danger)
6
+ * @property {string} title - Title text displayed in the toast
7
+ * @property {string} [message] - Additional message content to display below the title
8
+ * @property {number | false} [duration] - Duration in milliseconds before auto-dismiss. Set to false to disable auto-dismiss
9
+ * @property {ToastAction & { secondary?: ToastAction }} [actions] - Action buttons to display in the toast
10
+ * @property {ProgressBarProps["value"] | "indeterminate"} [progress] - Progress bar value or indeterminate state
11
+ * @property {() => void} [onDismiss] - Callback function called when toast is dismissed, expired, or closed
12
+ * @property {() => void} [onClose] - Callback function called only when the close button is clicked
13
+ * @property {string} [toasterId] - ID of the specific toaster to display the toast in
14
+ */
2
15
  export type toastProps = coreToastProps;
16
+ /**
17
+ * Toast utility functions for creating and managing toast notifications.
18
+ *
19
+ * Features:
20
+ * - Create toast notifications with various status types
21
+ * - Update existing toasts with new content
22
+ * - Dismiss individual toasts or all toasts
23
+ * - Support for action buttons and progress bars
24
+ * - Automatic tracking ID generation for analytics
25
+ * - Integration with anvil2 toaster system
26
+ *
27
+ * @example
28
+ * toast.success({
29
+ * id: "success-toast",
30
+ * title: "Success!",
31
+ * message: "Your changes have been saved."
32
+ * });
33
+ */
3
34
  export declare const toast: {
4
35
  (): void;
5
36
  info: (props: coreToastProps) => string;
@@ -1,20 +1,271 @@
1
1
  import { ToolbarProps as CoreToolbarProps, ToolbarButtonProps as CoreToolbarButtonProps, ToolbarButtonToggleProps as CoreToolbarButtonToggleProps, ToolbarButtonLinkProps as CoreToolbarButtonLinkProps, ToolbarSelectProps as CoreToolbarSelectProps, ToolbarOverflowTypes as CoreToolbarOverflowTypes, ToolbarItemAppearance as CoreToolbarItemAppearance } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Toolbar component with tracking support
5
+ * @property {string} associatedContent - Description of the content this toolbar is associated with, used for accessibility
6
+ * @property {"vertical" | "horizontal"} [direction] - Orientation of the toolbar
7
+ * @property {ToolbarOverflowTypes} [overflow] - How to handle overflow when items don't fit
8
+ * @property {ReactElement[]} [additionalItems] - Additional items to display in the overflow menu
9
+ * @extends DataTrackingId
10
+ */
3
11
  export type ToolbarProps = CoreToolbarProps & DataTrackingId;
12
+ /**
13
+ * Props for the ToolbarButton component with tracking support
14
+ * @property {ToolbarItemAppearance} [appearance] - Visual appearance of the button
15
+ * @property {string} [aria-label] - Accessible label for the button
16
+ * @property {React.ReactNode} [children] - Button content
17
+ * @property {boolean} [disabled] - Whether the button is disabled
18
+ * @extends DataTrackingId
19
+ */
4
20
  export type ToolbarButtonProps = CoreToolbarButtonProps & DataTrackingId;
21
+ /**
22
+ * Props for the ToolbarButtonToggle component with tracking support
23
+ * @property {boolean} [checked] - Whether the toggle is checked
24
+ * @property {boolean} [disabled] - Whether the toggle is disabled
25
+ * @property {string} [aria-label] - Accessible label for the toggle
26
+ * @property {React.ReactNode} [children] - Toggle content
27
+ * @extends DataTrackingId
28
+ */
5
29
  export type ToolbarButtonToggleProps = CoreToolbarButtonToggleProps & DataTrackingId;
30
+ /**
31
+ * Props for the ToolbarButtonLink component with tracking support
32
+ * @property {string} [href] - Link destination URL
33
+ * @property {boolean} [disabled] - Whether the link is disabled
34
+ * @property {string} [aria-label] - Accessible label for the link
35
+ * @property {React.ReactNode} [children] - Link content
36
+ * @property {string} [target] - Link target attribute
37
+ * @extends DataTrackingId
38
+ */
6
39
  export type ToolbarButtonLinkProps = CoreToolbarButtonLinkProps & DataTrackingId;
40
+ /**
41
+ * Props for the ToolbarSelect component with tracking support
42
+ * @property {string} [selected] - Currently selected item ID
43
+ * @property {boolean} [disabled] - Whether the select is disabled
44
+ * @property {string} [aria-label] - Accessible label for the select
45
+ * @property {unknown[]} [items] - Array of selectable items
46
+ * @extends DataTrackingId
47
+ */
7
48
  export type ToolbarSelectProps<T> = CoreToolbarSelectProps<T> & DataTrackingId;
49
+ /**
50
+ * Toolbar overflow behavior options
51
+ */
8
52
  export type ToolbarOverflowTypes = CoreToolbarOverflowTypes;
53
+ /**
54
+ * Toolbar item appearance options
55
+ */
9
56
  export type ToolbarItemAppearance = CoreToolbarItemAppearance;
57
+ /**
58
+ * Toolbar component for grouping related interactive elements with anvil2 tracking.
59
+ *
60
+ * Features:
61
+ * - Horizontal or vertical orientation
62
+ * - Overflow handling with wrap or collapse behavior
63
+ * - Keyboard navigation following ARIA best practices
64
+ * - Screen reader announcements and accessibility
65
+ * - Automatic overflow menu for collapsed items
66
+ * - Support for buttons, toggles, selects, and links
67
+ * - Layout utilities for positioning and spacing
68
+ * - Context-based state management for child components
69
+ * - Automatic tracking ID generation for analytics
70
+ * - Integration with anvil2 tracking system
71
+ *
72
+ * @example
73
+ * <Toolbar associatedContent="document editor" overflow="collapse">
74
+ * <Toolbar.Button icon={BoldIcon} aria-label="Bold" />
75
+ * <Toolbar.ButtonToggle icon={ItalicIcon} aria-label="Italic" />
76
+ * <Toolbar.Select
77
+ * items={fontOptions}
78
+ * selected="arial"
79
+ * accessibleLabel="Font family"
80
+ * />
81
+ * </Toolbar>
82
+ */
10
83
  export declare function ToolbarElement(props: ToolbarProps): import("react/jsx-runtime").JSX.Element;
84
+ /**
85
+ * ToolbarButton component for standard clickable actions within a toolbar with anvil2 tracking.
86
+ *
87
+ * Features:
88
+ * - Designed specifically for toolbar integration
89
+ * - Consistent styling with other toolbar items
90
+ * - Automatic tooltip for icon-only buttons
91
+ * - Overflow menu support
92
+ * - Accessibility enforcement for aria-labels
93
+ * - Small size optimized for toolbar layout
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
+ */
11
105
  export declare function ToolbarButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
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
+ * - Small size optimized for toolbar layout
116
+ * - Ghost and primary appearance options
117
+ * - Automatic tracking ID generation for analytics
118
+ *
119
+ * @example
120
+ * <Toolbar.ButtonToggle icon={BoldIcon} aria-label="Bold" checked={isBold} />
121
+ */
12
122
  export declare function ToolbarButtonToggle(props: ToolbarButtonToggleProps): import("react/jsx-runtime").JSX.Element;
123
+ /**
124
+ * ToolbarButtonLink component for link actions within a toolbar with anvil2 tracking.
125
+ *
126
+ * Features:
127
+ * - Link functionality with href support
128
+ * - Designed specifically for toolbar integration
129
+ * - Consistent styling with other toolbar items
130
+ * - Overflow menu support
131
+ * - Accessibility enforcement for aria-labels
132
+ * - Small size optimized for toolbar layout
133
+ * - Ghost and primary appearance options
134
+ * - Automatic tracking ID generation for analytics
135
+ *
136
+ * @example
137
+ * <Toolbar.ButtonLink href="/help">
138
+ * Help
139
+ * </Toolbar.ButtonLink>
140
+ */
13
141
  export declare function ToolbarButtonLink(props: ToolbarButtonLinkProps): import("react/jsx-runtime").JSX.Element;
142
+ /**
143
+ * ToolbarSelect component provides a dropdown selector within a toolbar with anvil2 tracking.
144
+ *
145
+ * Features:
146
+ * - Dropdown menu with selectable options
147
+ * - Controlled and uncontrolled usage patterns
148
+ * - Automatic overflow menu integration
149
+ * - Accessibility support with proper ARIA labels
150
+ * - Small size optimized for toolbar layout
151
+ * - Ghost and primary appearance options
152
+ * - Dropdown arrow icon indicator
153
+ * - Listbox integration for keyboard navigation
154
+ * - Automatic tracking ID generation for analytics
155
+ *
156
+ * @example
157
+ * <Toolbar.Select
158
+ * items={fontOptions}
159
+ * selected="arial"
160
+ * accessibleLabel="Font family"
161
+ * onChange={(id) => setFont(id)}
162
+ * />
163
+ */
14
164
  export declare function ToolbarSelect(props: ToolbarSelectProps<unknown>): import("react/jsx-runtime").JSX.Element;
165
+ /**
166
+ * Toolbar component for grouping related interactive elements.
167
+ *
168
+ * Features:
169
+ * - Horizontal or vertical orientation
170
+ * - Overflow handling with wrap or collapse behavior
171
+ * - Keyboard navigation following ARIA best practices
172
+ * - Screen reader announcements and accessibility
173
+ * - Automatic overflow menu for collapsed items
174
+ * - Support for buttons, toggles, selects, and links
175
+ * - Layout utilities for positioning and spacing
176
+ * - Context-based state management for child components
177
+ *
178
+ * @example
179
+ * <Toolbar associatedContent="document editor" overflow="collapse">
180
+ * <Toolbar.Button icon={BoldIcon} aria-label="Bold" />
181
+ * <Toolbar.ButtonToggle icon={ItalicIcon} aria-label="Italic" />
182
+ * <Toolbar.Select
183
+ * items={fontOptions}
184
+ * selected="arial"
185
+ * accessibleLabel="Font family"
186
+ * />
187
+ * </Toolbar>
188
+ */
15
189
  export declare const Toolbar: typeof ToolbarElement & {
190
+ /**
191
+ * ToolbarButton component for standard clickable actions within a toolbar with anvil2 tracking.
192
+ *
193
+ * Features:
194
+ * - Designed specifically for toolbar integration
195
+ * - Consistent styling with other toolbar items
196
+ * - Automatic tooltip for icon-only buttons
197
+ * - Overflow menu support
198
+ * - Accessibility enforcement for aria-labels
199
+ * - Small size optimized for toolbar layout
200
+ * - Ghost and primary appearance options
201
+ * - Automatic tracking ID generation for analytics
202
+ *
203
+ * @example
204
+ * <Toolbar.Button icon={BoldIcon} aria-label="Bold text" />
205
+ *
206
+ * @example
207
+ * <Toolbar.Button appearance="primary">
208
+ * Save
209
+ * </Toolbar.Button>
210
+ */
16
211
  Button: typeof ToolbarButton;
212
+ /**
213
+ * ToolbarButtonToggle component for toggleable actions within a toolbar with anvil2 tracking.
214
+ *
215
+ * Features:
216
+ * - Toggle state management
217
+ * - Designed specifically for toolbar integration
218
+ * - Consistent styling with other toolbar items
219
+ * - Overflow menu support
220
+ * - Accessibility enforcement for aria-labels
221
+ * - Small size optimized for toolbar layout
222
+ * - Ghost and primary appearance options
223
+ * - Automatic tracking ID generation for analytics
224
+ *
225
+ * @example
226
+ * <Toolbar.ButtonToggle icon={BoldIcon} aria-label="Bold" checked={isBold} />
227
+ */
17
228
  ButtonToggle: typeof ToolbarButtonToggle;
229
+ /**
230
+ * ToolbarButtonLink component for link actions within a toolbar with anvil2 tracking.
231
+ *
232
+ * Features:
233
+ * - Link functionality with href support
234
+ * - Designed specifically for toolbar integration
235
+ * - Consistent styling with other toolbar items
236
+ * - Overflow menu support
237
+ * - Accessibility enforcement for aria-labels
238
+ * - Small size optimized for toolbar layout
239
+ * - Ghost and primary appearance options
240
+ * - Automatic tracking ID generation for analytics
241
+ *
242
+ * @example
243
+ * <Toolbar.ButtonLink href="/help">
244
+ * Help
245
+ * </Toolbar.ButtonLink>
246
+ */
18
247
  ButtonLink: typeof ToolbarButtonLink;
248
+ /**
249
+ * ToolbarSelect component provides a dropdown selector within a toolbar with anvil2 tracking.
250
+ *
251
+ * Features:
252
+ * - Dropdown menu with selectable options
253
+ * - Controlled and uncontrolled usage patterns
254
+ * - Automatic overflow menu integration
255
+ * - Accessibility support with proper ARIA labels
256
+ * - Small size optimized for toolbar layout
257
+ * - Ghost and primary appearance options
258
+ * - Dropdown arrow icon indicator
259
+ * - Listbox integration for keyboard navigation
260
+ * - Automatic tracking ID generation for analytics
261
+ *
262
+ * @example
263
+ * <Toolbar.Select
264
+ * items={fontOptions}
265
+ * selected="arial"
266
+ * accessibleLabel="Font family"
267
+ * onChange={(id) => setFont(id)}
268
+ * />
269
+ */
19
270
  Select: typeof ToolbarSelect;
20
271
  };
@@ -1,11 +1,134 @@
1
1
  import { TooltipProps as CoreTooltipProps, TooltipTriggerProps as CoreTooltipTriggerProps, TooltipContentProps as CoreTooltipContentProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Tooltip component
5
+ * @property {ComponentPropsWithoutRef<"div">["children"]} [children] - The content to be wrapped by the tooltip
6
+ * @property {string} [id] - Unique identifier for the tooltip
7
+ * @property {boolean} [disableShift] - Disables the shift of floating element
8
+ * @property {boolean} [disableFlip] - Disables the flip of floating element
9
+ * @property {boolean} [disableFlipFallback] - Disables the flip cross-axis fallback of floating element
10
+ * @property {boolean} [openOnHover] - Changes interaction to use hover
11
+ * @property {Placement} [placement] - Changes height and positioning for select/combobox
12
+ * @property {boolean} [open] - Controls the open state of the tooltip
13
+ * @property {boolean} [defaultOpen] - Default open state of the tooltip
14
+ * @property {UseFloatingOptions["onOpenChange"]} [onOpenChange] - Callback when open state changes
15
+ * @property {number} [delay] - Delay before showing the tooltip
16
+ * @property {number} [offset] - Offset distance from the trigger element
17
+ * @property {Placement[]} [fallbackPlacements] - Fallback placement options
18
+ * @property {HTMLElement | React.MutableRefObject<HTMLElement | null> | null} [root] - Root element for the tooltip
19
+ * @extends DataTrackingId
20
+ */
3
21
  export type TooltipProps = CoreTooltipProps;
22
+ /**
23
+ * Props for the TooltipTrigger component
24
+ * @property {ReactElement} children - The element that triggers the tooltip
25
+ * @extends DataTrackingId
26
+ */
4
27
  export type TooltipTriggerProps = CoreTooltipTriggerProps & DataTrackingId;
28
+ /**
29
+ * Props for the TooltipContent component
30
+ */
5
31
  export type TooltipContentProps = CoreTooltipContentProps;
32
+ /**
33
+ * TooltipTrigger component that wraps the element that triggers the tooltip.
34
+ *
35
+ * Features:
36
+ * - Wraps any React element to make it a tooltip trigger
37
+ * - Handles mouse and keyboard interactions
38
+ * - Provides proper ARIA attributes for accessibility
39
+ * - Automatic tracking ID generation for analytics
40
+ * - Supports all standard HTML element props
41
+ * - Automatically clones child elements with proper refs
42
+ * - Handles both focusable and non-focusable children
43
+ * - Manages mouse enter/leave events for hover behavior
44
+ *
45
+ * @example
46
+ * <Tooltip.Trigger>
47
+ * <Button>Click me</Button>
48
+ * </Tooltip.Trigger>
49
+ */
6
50
  export declare const TooltipTrigger: import('react').ForwardRefExoticComponent<Omit<TooltipTriggerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
51
+ /**
52
+ * TooltipContent component that displays the tooltip content.
53
+ *
54
+ * Features:
55
+ * - Displays the tooltip content with proper positioning
56
+ * - Includes an arrow pointing to the trigger element
57
+ * - Supports keyboard navigation and escape key to close
58
+ * - Handles mouse interactions for hover behavior
59
+ * - Accessible with proper ARIA roles
60
+ * - Supports all standard div element props
61
+ * - Automatic focus management for keyboard navigation
62
+ * - Real-time position updates
63
+ * - Handles both string and complex content
64
+ *
65
+ * @example
66
+ * <Tooltip.Content>
67
+ * This tooltip provides helpful context
68
+ * </Tooltip.Content>
69
+ */
7
70
  export declare const TooltipContent: import('react').ForwardRefExoticComponent<CoreTooltipContentProps & import('react').RefAttributes<HTMLDivElement>>;
71
+ /**
72
+ * Tooltip component for displaying contextual information on hover or focus.
73
+ *
74
+ * Features:
75
+ * - Displays contextual information when hovering over or focusing on elements
76
+ * - Supports multiple placement options (top, bottom, left, right)
77
+ * - Automatic positioning with fallback placements
78
+ * - Accessible with proper ARIA roles and keyboard navigation
79
+ * - Supports controlled and uncontrolled open states
80
+ * - Configurable delay and offset settings
81
+ * - Automatic tracking ID generation for analytics
82
+ * - Uses modern Popover API with fallback to legacy implementation
83
+ * - Automatic arrow positioning and rotation
84
+ * - Real-time position updates during scroll and resize
85
+ *
86
+ * @example
87
+ * <Tooltip placement="top" delay={200}>
88
+ * <Tooltip.Trigger>
89
+ * <Button>Hover me</Button>
90
+ * </Tooltip.Trigger>
91
+ * <Tooltip.Content>This is helpful information</Tooltip.Content>
92
+ * </Tooltip>
93
+ */
8
94
  export declare const Tooltip: ((props: TooltipProps) => import("react/jsx-runtime").JSX.Element) & {
95
+ /**
96
+ * TooltipTrigger component that wraps the element that triggers the tooltip.
97
+ *
98
+ * Features:
99
+ * - Wraps any React element to make it a tooltip trigger
100
+ * - Handles mouse and keyboard interactions
101
+ * - Provides proper ARIA attributes for accessibility
102
+ * - Automatic tracking ID generation for analytics
103
+ * - Supports all standard HTML element props
104
+ * - Automatically clones child elements with proper refs
105
+ * - Handles both focusable and non-focusable children
106
+ * - Manages mouse enter/leave events for hover behavior
107
+ *
108
+ * @example
109
+ * <Tooltip.Trigger>
110
+ * <Button>Click me</Button>
111
+ * </Tooltip.Trigger>
112
+ */
9
113
  Trigger: import('react').ForwardRefExoticComponent<Omit<TooltipTriggerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
114
+ /**
115
+ * TooltipContent component that displays the tooltip content.
116
+ *
117
+ * Features:
118
+ * - Displays the tooltip content with proper positioning
119
+ * - Includes an arrow pointing to the trigger element
120
+ * - Supports keyboard navigation and escape key to close
121
+ * - Handles mouse interactions for hover behavior
122
+ * - Accessible with proper ARIA roles
123
+ * - Supports all standard div element props
124
+ * - Automatic focus management for keyboard navigation
125
+ * - Real-time position updates
126
+ * - Handles both string and complex content
127
+ *
128
+ * @example
129
+ * <Tooltip.Content>
130
+ * This tooltip provides helpful context
131
+ * </Tooltip.Content>
132
+ */
10
133
  Content: import('react').ForwardRefExoticComponent<CoreTooltipContentProps & import('react').RefAttributes<HTMLDivElement>>;
11
134
  };
@@ -6528,5 +6528,5 @@ function safePolygon(options) {
6528
6528
  return fn;
6529
6529
  }
6530
6530
 
6531
- export { useListNavigation as A, useTypeahead as B, FloatingNode as C, FloatingList as D, FloatingTree as E, FloatingPortal as F, FloatingFocusManager as a, FloatingArrow as b, useFloating as c, shift as d, arrow as e, flip as f, useClick as g, useHover as h, safePolygon as i, useDismiss as j, useRole as k, limitShift as l, useInteractions as m, autoUpdate as n, offset as o, computePosition as p, useDelayGroup as q, useDelayGroupContext as r, size as s, tabbable as t, useMergeRefs as u, useFocus as v, useListItem as w, useFloatingTree as x, useFloatingNodeId as y, useFloatingParentNodeId as z };
6532
- //# sourceMappingURL=floating-ui.react-Domgunz0.js.map
6531
+ export { FloatingTree as A, tabbable as B, useDelayGroup as C, useDelayGroupContext as D, useFocus as E, FloatingPortal as F, FloatingFocusManager as a, FloatingArrow as b, useFloating as c, shift as d, arrow as e, flip as f, useClick as g, useHover as h, safePolygon as i, useDismiss as j, useRole as k, limitShift as l, useInteractions as m, autoUpdate as n, offset as o, computePosition as p, useListItem as q, useFloatingTree as r, size as s, useFloatingNodeId as t, useMergeRefs as u, useFloatingParentNodeId as v, useListNavigation as w, useTypeahead as x, FloatingNode as y, FloatingList as z };
6532
+ //# sourceMappingURL=floating-ui.react-BFNinq1w.js.map