@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,6 +1,66 @@
1
1
  import { SelectCardProps as CoreSelectCardProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the SelectCard component
4
+ * @property {Omit<CheckboxProps, "label">} [checkboxProps] - Passes props to the underlying Checkbox component
5
+ * @property {boolean} [checked] - Controlled state. When provided, the component becomes controlled
6
+ * @property {boolean} [defaultChecked] - Uncontrolled state
7
+ * @property {boolean} [disabled] - When true, disables the card
8
+ * @property {boolean} [errored] - When true, sets error styling on the card
9
+ * @property {string | number} id - A unique identifier for the card, used to track the selection state
10
+ * @property {(value: boolean) => void} onChange - Function called on selection state change
11
+ * @property {Omit<RadioProps, "label">} [radioProps] - Passes props to the underlying Radio component
12
+ * @extends CoreSelectCardProps
13
+ */
2
14
  export type SelectCardProps = CoreSelectCardProps;
3
15
  export declare const SelectCardElement: import('react').ForwardRefExoticComponent<CoreSelectCardProps & import('react').RefAttributes<HTMLInputElement>>;
16
+ /**
17
+ * SelectCard component for creating interactive card-based selection interfaces.
18
+ *
19
+ * Features:
20
+ * - Supports both single selection (radio) and multiple selection (checkbox) modes
21
+ * - Automatic context detection for selection behavior
22
+ * - Visual feedback for selected, disabled, and error states
23
+ * - Accessible with proper ARIA roles and keyboard navigation
24
+ * - Customizable styling through Card component props
25
+ * - Hover and focus states with smooth transitions
26
+ * - Integration with SelectCardGroup for grouped selection
27
+ * - Automatic tracking ID generation for analytics
28
+ *
29
+ * @example
30
+ * <SelectCard
31
+ * id="option-1"
32
+ * onChange={(checked) => console.log('Selected:', checked)}
33
+ * >
34
+ * <Text variant="headline" size="small">Option 1</Text>
35
+ * <Text>Description of option 1</Text>
36
+ * </SelectCard>
37
+ */
4
38
  export declare const SelectCard: import('react').ForwardRefExoticComponent<CoreSelectCardProps & import('react').RefAttributes<HTMLInputElement>> & {
39
+ /**
40
+ * SelectCardGroup component for managing groups of selectable cards.
41
+ *
42
+ * Features:
43
+ * - Manages selection state for multiple SelectCard components
44
+ * - Supports both single and multiple selection modes
45
+ * - Provides proper accessibility with legends and ARIA labels
46
+ * - Handles required field validation
47
+ * - Automatic radio button grouping for single selection
48
+ * - Context provider for child SelectCard components
49
+ * - Automatic tracking ID generation for analytics
50
+ *
51
+ * @example
52
+ * <SelectCard.Group
53
+ * legend="Choose your plan"
54
+ * selectionMode="single"
55
+ * onChange={(e, state) => console.log('Selection changed:', state)}
56
+ * >
57
+ * <SelectCard id="basic" onChange={() => {}}>
58
+ * <Text variant="headline" size="small">Basic Plan</Text>
59
+ * </SelectCard>
60
+ * <SelectCard id="premium" onChange={() => {}}>
61
+ * <Text variant="headline" size="small">Premium Plan</Text>
62
+ * </SelectCard>
63
+ * </SelectCard.Group>
64
+ */
5
65
  Group: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').SelectCardGroupProps & import('react').RefAttributes<HTMLInputElement>>;
6
66
  };
@@ -1,3 +1,40 @@
1
1
  import { SelectCardGroupProps as CoreSelectCardGroupProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the SelectCardGroup component
4
+ * @property {string} [ariaLabelledBy] - Associates the legend with content below
5
+ * @property {ReactNode} [children] - Child SelectCard components
6
+ * @property {CheckboxGroupProps["legend"]} legend - Sets the legend on the group
7
+ * @property {boolean} [required] - When true, sets "required" text in label. This does not enforce error when nothing is selected
8
+ * @property {(e?: ChangeEvent<HTMLInputElement>, state?: ISelectCardState) => void} onChange - Callback function that is triggered when the selection state changes
9
+ * @property {"single" | "multiple"} selectionMode - Sets how many cards the user can select, either 'single' (radio buttons) or 'multiple' (checkboxes)
10
+ * @extends CoreSelectCardGroupProps
11
+ */
2
12
  export type SelectCardGroupProps = CoreSelectCardGroupProps;
13
+ /**
14
+ * SelectCardGroup component for managing groups of selectable cards.
15
+ *
16
+ * Features:
17
+ * - Manages selection state for multiple SelectCard components
18
+ * - Supports both single and multiple selection modes
19
+ * - Provides proper accessibility with legends and ARIA labels
20
+ * - Handles required field validation
21
+ * - Automatic radio button grouping for single selection
22
+ * - Context provider for child SelectCard components
23
+ * - Integrates with CheckboxGroup and RadioGroup for proper form semantics
24
+ * - Automatic tracking ID generation for analytics
25
+ *
26
+ * @example
27
+ * <SelectCardGroup
28
+ * legend="Choose your plan"
29
+ * selectionMode="single"
30
+ * onChange={(e, state) => console.log('Selection changed:', state)}
31
+ * >
32
+ * <SelectCard id="basic" onChange={() => {}}>
33
+ * <Text variant="headline" size="small">Basic Plan</Text>
34
+ * </SelectCard>
35
+ * <SelectCard id="premium" onChange={() => {}}>
36
+ * <Text variant="headline" size="small">Premium Plan</Text>
37
+ * </SelectCard>
38
+ * </SelectCardGroup>
39
+ */
3
40
  export declare const SelectCardGroup: import('react').ForwardRefExoticComponent<CoreSelectCardGroupProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,7 +1,44 @@
1
1
  import { SideNavProps as CoreSideNavProps, SideNavCollapsibleProps as CoreSideNavCollapsibleProps, SideNavGroupProps as CoreSideNavGroupProps, SideNavLinkProps as CoreSideNavLinkProps } from '@servicetitan/hammer-react';
2
- export type SideNavProps = CoreSideNavProps;
2
+ import { DataTrackingId } from '../../types';
3
+ /**
4
+ * Props for the SideNav component
5
+ */
6
+ export type SideNavProps = CoreSideNavProps & DataTrackingId;
7
+ /**
8
+ * Props for the SideNavCollapsible component
9
+ * @property {string} label - The label text displayed for the collapsible section
10
+ * @property {boolean} [defaultExpanded] - Initial expansion state for uncontrolled usage
11
+ * @property {boolean} [expanded] - Controlled expansion state
12
+ */
3
13
  export type SideNavCollapsibleProps = CoreSideNavCollapsibleProps;
14
+ /**
15
+ * Props for the SideNavGroup component
16
+ * @property {string} label - The label text displayed for the navigation group
17
+ */
4
18
  export type SideNavGroupProps = CoreSideNavGroupProps;
19
+ /**
20
+ * SideNavCollapsible component for expandable navigation sections within a SideNav.
21
+ *
22
+ * Features:
23
+ * - Expandable/collapsible navigation sections
24
+ * - Controlled and uncontrolled expansion states
25
+ * - Keyboard navigation with arrow keys for expansion
26
+ * - Automatic expansion when child links are active
27
+ * - Accessible with proper ARIA expanded states
28
+ * - Visual indicators for active children
29
+ * - Integration with SideNav keyboard navigation
30
+ * - Automatic tracking ID generation for analytics
31
+ *
32
+ * @example
33
+ * <SideNav.Collapsible label="Components">
34
+ * <SideNav.Link id="button" href="/components/button">
35
+ * Button
36
+ * </SideNav.Link>
37
+ * <SideNav.Link id="input" href="/components/input">
38
+ * Input
39
+ * </SideNav.Link>
40
+ * </SideNav.Collapsible>
41
+ */
5
42
  export declare const SideNavCollapsible: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "onClick"> & {
6
43
  label: string;
7
44
  onClick?: import('react').ComponentPropsWithoutRef<"button">["onClick"];
@@ -9,16 +46,149 @@ export declare const SideNavCollapsible: import('react').ForwardRefExoticCompone
9
46
  defaultExpanded?: boolean;
10
47
  expanded?: boolean;
11
48
  } & import('react').RefAttributes<HTMLLIElement>>;
49
+ /**
50
+ * SideNavGroup component for grouping related navigation links within a SideNav.
51
+ *
52
+ * Features:
53
+ * - Groups related navigation links with labels
54
+ * - Accessible with proper ARIA labeling
55
+ * - Semantic grouping for screen readers
56
+ * - Consistent styling and spacing
57
+ * - Unique ID generation for accessibility
58
+ * - Automatic tracking ID generation for analytics
59
+ *
60
+ * @example
61
+ * <SideNav.Group label="Getting Started">
62
+ * <SideNav.Link id="intro" href="/intro">
63
+ * Introduction
64
+ * </SideNav.Link>
65
+ * <SideNav.Link id="installation" href="/installation">
66
+ * Installation
67
+ * </SideNav.Link>
68
+ * </SideNav.Group>
69
+ */
12
70
  export declare const SideNavGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
13
71
  label: string;
14
72
  } & import('react').RefAttributes<HTMLLIElement>>;
73
+ /**
74
+ * Props for SideNavLink with routing support
75
+ * @property {string} [href] - URL for the link (used when pathname is not provided)
76
+ * @property {string} pathname - Pathname for client-side routing
77
+ * @property {string} [search] - Optional search parameters for the URL
78
+ * @property {boolean} [active] - When true, marks the link as the current active page
79
+ * @property {boolean} [disabled] - When true, disables the link and prevents interaction
80
+ * @extends CoreSideNavLinkProps
81
+ */
15
82
  type SideNavLinkWithRoutingProps = CoreSideNavLinkProps & {
83
+ /**
84
+ * Pathname for client-side routing
85
+ */
16
86
  pathname: string;
87
+ /**
88
+ * Optional search parameters for the URL
89
+ */
17
90
  search?: string;
18
91
  };
92
+ /**
93
+ * SideNavLink component for individual navigation links within a SideNav.
94
+ *
95
+ * Features:
96
+ * - Individual navigation links with active state support
97
+ * - Keyboard navigation integration with arrow keys
98
+ * - Focus management and tabindex handling
99
+ * - Accessible with proper ARIA attributes
100
+ * - Click and keyboard event handling
101
+ * - Disabled state support
102
+ * - Automatic active state tracking through context
103
+ * - Client-side routing support with pathname prop
104
+ * - Automatic tracking ID generation for analytics
105
+ *
106
+ * @example
107
+ * <SideNav.Link id="intro" href="/intro" active>
108
+ * Introduction
109
+ * </SideNav.Link>
110
+ *
111
+ * <SideNav.Link id="intro" pathname="/intro" active>
112
+ * Introduction (with routing)
113
+ * </SideNav.Link>
114
+ */
19
115
  export declare const SideNavLink: import('react').ForwardRefExoticComponent<(CoreSideNavLinkProps | SideNavLinkWithRoutingProps) & import('react').RefAttributes<HTMLLIElement>>;
20
- export declare const SideNav: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLDivElement>> & {
116
+ /**
117
+ * SideNav component for creating hierarchical navigation menus.
118
+ *
119
+ * Features:
120
+ * - Hierarchical navigation structure with links, groups, and collapsible sections
121
+ * - Keyboard navigation support with arrow keys and focus management
122
+ * - Active state tracking for current page/section
123
+ * - Accessible with proper ARIA roles and labels
124
+ * - Automatic link recalculation for dynamic content
125
+ * - Context provider for child components
126
+ * - Layout utility props for positioning and spacing
127
+ * - Client-side routing integration
128
+ * - Automatic tracking ID generation for analytics
129
+ *
130
+ * @example
131
+ * <SideNav>
132
+ * <SideNav.Group label="Getting Started">
133
+ * <SideNav.Link id="intro" href="/intro" active>
134
+ * Introduction
135
+ * </SideNav.Link>
136
+ * <SideNav.Link id="installation" href="/installation">
137
+ * Installation
138
+ * </SideNav.Link>
139
+ * </SideNav.Group>
140
+ * <SideNav.Collapsible label="Components">
141
+ * <SideNav.Link id="button" href="/components/button">
142
+ * Button
143
+ * </SideNav.Link>
144
+ * <SideNav.Link id="input" href="/components/input">
145
+ * Input
146
+ * </SideNav.Link>
147
+ * </SideNav.Collapsible>
148
+ * </SideNav>
149
+ */
150
+ export declare const SideNav: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & DataTrackingId & import('react').RefAttributes<HTMLDivElement>> & {
151
+ /**
152
+ * SideNavLink component for individual navigation links.
153
+ *
154
+ * Features:
155
+ * - Individual navigation links with active state support
156
+ * - Keyboard navigation integration with arrow keys
157
+ * - Focus management and tabindex handling
158
+ * - Accessible with proper ARIA attributes
159
+ * - Click and keyboard event handling
160
+ * - Disabled state support
161
+ * - Client-side routing support with pathname prop
162
+ * - Automatic tracking ID generation for analytics
163
+ *
164
+ * @example
165
+ * <SideNav.Link id="intro" href="/intro" active>
166
+ * Introduction
167
+ * </SideNav.Link>
168
+ */
21
169
  Link: import('react').ForwardRefExoticComponent<(CoreSideNavLinkProps | SideNavLinkWithRoutingProps) & import('react').RefAttributes<HTMLLIElement>>;
170
+ /**
171
+ * SideNavCollapsible component for expandable navigation sections.
172
+ *
173
+ * Features:
174
+ * - Expandable/collapsible navigation sections
175
+ * - Controlled and uncontrolled expansion states
176
+ * - Keyboard navigation with arrow keys for expansion
177
+ * - Automatic expansion when child links are active
178
+ * - Accessible with proper ARIA expanded states
179
+ * - Visual indicators for active children
180
+ * - Automatic tracking ID generation for analytics
181
+ *
182
+ * @example
183
+ * <SideNav.Collapsible label="Components">
184
+ * <SideNav.Link id="button" href="/components/button">
185
+ * Button
186
+ * </SideNav.Link>
187
+ * <SideNav.Link id="input" href="/components/input">
188
+ * Input
189
+ * </SideNav.Link>
190
+ * </SideNav.Collapsible>
191
+ */
22
192
  Collapsible: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "onClick"> & {
23
193
  label: string;
24
194
  onClick?: import('react').ComponentPropsWithoutRef<"button">["onClick"];
@@ -26,6 +196,26 @@ export declare const SideNav: import('react').ForwardRefExoticComponent<Omit<imp
26
196
  defaultExpanded?: boolean;
27
197
  expanded?: boolean;
28
198
  } & import('react').RefAttributes<HTMLLIElement>>;
199
+ /**
200
+ * SideNavGroup component for grouping related navigation links.
201
+ *
202
+ * Features:
203
+ * - Groups related navigation links with labels
204
+ * - Accessible with proper ARIA labeling
205
+ * - Semantic grouping for screen readers
206
+ * - Consistent styling and spacing
207
+ * - Automatic tracking ID generation for analytics
208
+ *
209
+ * @example
210
+ * <SideNav.Group label="Getting Started">
211
+ * <SideNav.Link id="intro" href="/intro">
212
+ * Introduction
213
+ * </SideNav.Link>
214
+ * <SideNav.Link id="installation" href="/installation">
215
+ * Installation
216
+ * </SideNav.Link>
217
+ * </SideNav.Group>
218
+ */
29
219
  Group: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
30
220
  label: string;
31
221
  } & import('react').RefAttributes<HTMLLIElement>>;
@@ -1,8 +1,38 @@
1
1
  import { PropsWithChildren } from 'react';
2
+ /**
3
+ * Interface for the side navigation context
4
+ */
2
5
  interface ISideNavContext {
6
+ /**
7
+ * Current location pathname for routing
8
+ */
3
9
  location: string;
10
+ /**
11
+ * Function to update the current location
12
+ */
4
13
  setLocation: (location: string) => void;
5
14
  }
15
+ /**
16
+ * Custom hook for accessing the SideNav context.
17
+ * @returns The SideNav context with location and setLocation
18
+ */
6
19
  export declare const useSideNavContext: () => ISideNavContext;
20
+ /**
21
+ * SideNavProvider component for managing routing state in SideNav components.
22
+ *
23
+ * Features:
24
+ * - Provides routing context for SideNav components
25
+ * - Manages current location state
26
+ * - Enables client-side routing without page reloads
27
+ * - Integrates with browser history API
28
+ * - Context provider for child components
29
+ *
30
+ * @example
31
+ * <SideNavProvider>
32
+ * <SideNav>
33
+ * <SideNav.Link pathname="/intro">Introduction</SideNav.Link>
34
+ * </SideNav>
35
+ * </SideNavProvider>
36
+ */
7
37
  export declare const SideNavProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
8
38
  export {};
@@ -1,23 +1,153 @@
1
1
  import { SkeletonTextProps as CoreSkeletonTextProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the SkeletonCircle component
4
+ * @property {string} [diameter] - The diameter of the circular skeleton in CSS units
5
+ * @property {string} [aria-label] - Accessible label for screen readers
6
+ */
2
7
  export declare const SkeletonCircle: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
3
8
  diameter?: string;
4
9
  } & import('react').RefAttributes<HTMLDivElement>>;
10
+ /**
11
+ * Props for the SkeletonPill component
12
+ * @property {string} [width] - The width of the pill skeleton in CSS units
13
+ * @property {string} [aria-label] - Accessible label for screen readers
14
+ */
5
15
  export declare const SkeletonPill: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
6
16
  width?: string;
7
17
  } & import('react').RefAttributes<HTMLDivElement>>;
18
+ /**
19
+ * Props for the SkeletonRectangle component
20
+ * @property {string} [height] - The height of the rectangular skeleton in CSS units
21
+ * @property {string} [aria-label] - Accessible label for screen readers
22
+ */
8
23
  export declare const SkeletonRectangle: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
9
24
  height?: string;
10
25
  } & import('react').RefAttributes<HTMLDivElement>>;
26
+ /**
27
+ * Props for the SkeletonText component
28
+ * @property {"body" | "headline"} [variant] - Text variant for body or headline skeleton
29
+ * @property {number} [rows] - Number of text lines to display (body variant only)
30
+ * @property {string} [aria-label] - Accessible label for screen readers
31
+ */
11
32
  export declare const SkeletonText: import('react').ForwardRefExoticComponent<CoreSkeletonTextProps & import('react').RefAttributes<HTMLDivElement>>;
33
+ /**
34
+ * Skeleton component for displaying loading placeholders.
35
+ *
36
+ * Features:
37
+ * - Multiple skeleton variants for different content types
38
+ * - Animated pulsing effect for loading indication
39
+ * - Accessible with proper ARIA attributes
40
+ * - Layout utility props for positioning and spacing
41
+ * - Customizable styling through className and style props
42
+ * - Progress bar role for screen readers
43
+ * - Compound component pattern with dot exports
44
+ * - Automatic tracking ID generation for analytics
45
+ *
46
+ * @example
47
+ * <Skeleton.Text variant="body" rows={3} />
48
+ * <Skeleton.Circle diameter="40px" />
49
+ * <Skeleton.Rectangle height="100px" />
50
+ * <Skeleton.Pill width="120px" />
51
+ */
12
52
  export declare const Skeleton: {
53
+ /**
54
+ * SkeletonCircle component for displaying circular loading placeholders.
55
+ *
56
+ * Features:
57
+ * - Circular skeleton placeholder with customizable diameter
58
+ * - Animated pulsing effect for loading indication
59
+ * - Accessible with proper ARIA attributes
60
+ * - Layout utility props for positioning and spacing
61
+ * - Customizable styling through className and style props
62
+ * - Progress bar role for screen readers
63
+ * - Automatic tracking ID generation for analytics
64
+ *
65
+ * @example
66
+ * <Skeleton.Circle diameter="40px" />
67
+ *
68
+ * <Skeleton.Circle
69
+ * diameter="60px"
70
+ * className="custom-skeleton"
71
+ * aria-label="Loading avatar"
72
+ * />
73
+ */
13
74
  Circle: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
14
75
  diameter?: string;
15
76
  } & import('react').RefAttributes<HTMLDivElement>>;
77
+ /**
78
+ * SkeletonPill component for displaying pill-shaped loading placeholders.
79
+ *
80
+ * Features:
81
+ * - Pill-shaped skeleton placeholder with customizable width
82
+ * - Animated pulsing effect for loading indication
83
+ * - Accessible with proper ARIA attributes
84
+ * - Layout utility props for positioning and spacing
85
+ * - Customizable styling through className and style props
86
+ * - Progress bar role for screen readers
87
+ * - Large border radius for pill appearance
88
+ * - Fixed height for consistent styling
89
+ * - Automatic tracking ID generation for analytics
90
+ *
91
+ * @example
92
+ * <Skeleton.Pill width="120px" />
93
+ *
94
+ * <Skeleton.Pill
95
+ * width="8rem"
96
+ * className="custom-skeleton"
97
+ * aria-label="Loading tag"
98
+ * />
99
+ */
16
100
  Pill: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
17
101
  width?: string;
18
102
  } & import('react').RefAttributes<HTMLDivElement>>;
103
+ /**
104
+ * SkeletonRectangle component for displaying rectangular loading placeholders.
105
+ *
106
+ * Features:
107
+ * - Rectangular skeleton placeholder with customizable height
108
+ * - Animated pulsing effect for loading indication
109
+ * - Accessible with proper ARIA attributes
110
+ * - Layout utility props for positioning and spacing
111
+ * - Customizable styling through className and style props
112
+ * - Progress bar role for screen readers
113
+ * - Medium border radius for consistent styling
114
+ * - Automatic tracking ID generation for analytics
115
+ *
116
+ * @example
117
+ * <Skeleton.Rectangle height="100px" />
118
+ *
119
+ * <Skeleton.Rectangle
120
+ * height="2rem"
121
+ * className="custom-skeleton"
122
+ * aria-label="Loading image"
123
+ * />
124
+ */
19
125
  Rectangle: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
20
126
  height?: string;
21
127
  } & import('react').RefAttributes<HTMLDivElement>>;
128
+ /**
129
+ * SkeletonText component for displaying text loading placeholders.
130
+ *
131
+ * Features:
132
+ * - Text skeleton placeholder with body and headline variants
133
+ * - Configurable number of rows for body variant
134
+ * - Animated pulsing effect for loading indication
135
+ * - Accessible with proper ARIA attributes
136
+ * - Layout utility props for positioning and spacing
137
+ * - Customizable styling through className and style props
138
+ * - Progress bar role for screen readers
139
+ * - Different line heights for body vs headline variants
140
+ * - Last line shorter for body variant to simulate natural text
141
+ * - Automatic tracking ID generation for analytics
142
+ *
143
+ * @example
144
+ * <Skeleton.Text variant="body" rows={3} />
145
+ *
146
+ * <Skeleton.Text
147
+ * variant="headline"
148
+ * className="custom-skeleton"
149
+ * aria-label="Loading title"
150
+ * />
151
+ */
22
152
  Text: import('react').ForwardRefExoticComponent<CoreSkeletonTextProps & import('react').RefAttributes<HTMLDivElement>>;
23
153
  };
@@ -1,5 +1,30 @@
1
1
  import { SpinnerProps as CoreSpinnerProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the Spinner component
4
+ * @property {boolean} [inherit] - When true, the spinner inherits the current text color instead of using the default primary background color
5
+ */
2
6
  export type SpinnerProps = CoreSpinnerProps;
7
+ /**
8
+ * A loading spinner component that displays an animated circular indicator.
9
+ *
10
+ * The Spinner component provides a visual indication that content is loading or processing.
11
+ * It renders as a circular animation that continuously rotates to show activity.
12
+ * This is an anvil2 wrapper around the hammer-react Spinner component with additional tracking capabilities.
13
+ *
14
+ * Features:
15
+ * - Animated circular loading indicator
16
+ * - Configurable color inheritance
17
+ * - Accessible with proper ARIA attributes
18
+ * - Customizable styling through className and style props
19
+ * - Forwarded ref support
20
+ * - Anvil2 tracking integration
21
+ * - Automatic data-anv attribute for analytics
22
+ *
23
+ * @example
24
+ * <Spinner />
25
+ *
26
+ * <Spinner inherit />
27
+ */
3
28
  export declare const Spinner: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
4
29
  inherit?: boolean;
5
30
  } & import('react').RefAttributes<HTMLSpanElement>>;
@@ -1,2 +1,21 @@
1
1
  import { SrOnly as CoreSrOnly } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Screen reader only component for providing accessible content that is visually hidden.
4
+ *
5
+ * Features:
6
+ * - Visually hidden content that remains accessible to screen readers
7
+ * - Preserves all standard span element functionality
8
+ * - Supports custom styling and className overrides
9
+ * - Maintains proper semantic structure
10
+ * - Essential for accessibility compliance
11
+ * - Works with all screen reader technologies
12
+ * - Supports all standard HTML span attributes
13
+ * - Automatic tracking ID generation for analytics
14
+ *
15
+ * @example
16
+ * <div>
17
+ * <span aria-hidden="true">$100</span>
18
+ * <SrOnly>One hundred dollars</SrOnly>
19
+ * </div>
20
+ */
2
21
  export declare function SrOnly(props: Parameters<typeof CoreSrOnly>[0]): import("react/jsx-runtime").JSX.Element;