@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,29 +1,242 @@
1
1
  import { StepperProps as CoreStepperProps, StepperListProps as CoreStepperListProps, StepperStepProps as CoreStepperStepProps, StepperPanelProps as CoreStepperPanelProps, StepperNextButtonProps as CoreStepperNextButtonProps, StepperPrevButtonProps as CoreStepperPrevButtonProps, StepperFinalPanelProps as CoreStepperFinalPanelProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Stepper component
5
+ * @property {number} [defaultIndex] - Default step to start on
6
+ * @property {boolean} [allowNavigateToPrevStep] - Allows users to navigate to previous steps
7
+ * @property {function} [onChange] - Returns current step data when step changes
8
+ * @property {function} [onComplete] - Called when all steps are completed
9
+ * @extends ComponentPropsWithoutRef<"div">
10
+ * @extends LayoutUtilProps
11
+ */
3
12
  export type StepperProps = CoreStepperProps;
13
+ /**
14
+ * Props for the StepperList component
15
+ * @extends ComponentPropsWithoutRef<"div">
16
+ */
4
17
  export type StepperListProps = CoreStepperListProps;
18
+ /**
19
+ * Props for the StepperStep component
20
+ * @property {string} controls - ID of the panel that this step is controlling
21
+ * @property {function} [onClick] - Called when the step is clicked
22
+ * @extends ComponentPropsWithoutRef<"button">
23
+ */
5
24
  export type StepperStepProps = CoreStepperStepProps;
25
+ /**
26
+ * Props for the StepperPanel component
27
+ * @property {string} id - Unique identifier for the panel
28
+ * @extends ComponentPropsWithoutRef<"div">
29
+ * @extends LayoutUtilProps
30
+ */
6
31
  export type StepperPanelProps = CoreStepperPanelProps;
32
+ /**
33
+ * Props for the StepperNextButton component
34
+ * @property {string} [nextLabel] - Label for the next button
35
+ * @property {string} [completeLabel] - Label for the complete button
36
+ * @property {function} [onClick] - Called when the "Next" button is clicked
37
+ * @extends ButtonProps
38
+ * @extends DataTrackingId
39
+ */
7
40
  export type StepperNextButtonProps = CoreStepperNextButtonProps & DataTrackingId;
41
+ /**
42
+ * Props for the StepperPrevButton component
43
+ * @property {string} [label] - Label for the previous button
44
+ * @extends ButtonProps
45
+ * @extends DataTrackingId
46
+ */
8
47
  export type StepperPrevButtonProps = CoreStepperPrevButtonProps & DataTrackingId;
48
+ /**
49
+ * Props for the StepperFinalPanel component
50
+ * @extends ComponentPropsWithoutRef<"div">
51
+ * @extends LayoutUtilProps
52
+ */
9
53
  export type StepperFinalPanelProps = CoreStepperFinalPanelProps;
54
+ /**
55
+ * Container component for organizing and displaying stepper steps.
56
+ *
57
+ * Features:
58
+ * - Groups multiple stepper steps together
59
+ * - Displays current step label
60
+ * - Responsive design with mobile-friendly layout
61
+ * - Accessible with proper ARIA roles
62
+ * - Automatic step organization
63
+ * - Visual step indicators
64
+ * - Context-based current step display
65
+ * - Flexible layout with CSS Grid/Flexbox
66
+ * - Container queries for responsive behavior
67
+ *
68
+ * @example
69
+ * <Stepper.List>
70
+ * <Stepper.Step controls="step1">Step 1</Stepper.Step>
71
+ * <Stepper.Step controls="step2">Step 2</Stepper.Step>
72
+ * <Stepper.Step controls="step3">Step 3</Stepper.Step>
73
+ * </Stepper.List>
74
+ */
10
75
  export declare const StepperList: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
76
+ /**
77
+ * Individual step component for the Stepper.
78
+ *
79
+ * Features:
80
+ * - Visual progress indicator with animated bar
81
+ * - Check icon for completed steps
82
+ * - Keyboard navigation support
83
+ * - Accessible with proper ARIA attributes
84
+ * - Click handling for step navigation
85
+ * - Visual states for current, completed, and future steps
86
+ * - Responsive design with mobile-friendly layout
87
+ * - Focus management for keyboard users
88
+ * - Custom styling support
89
+ *
90
+ * @example
91
+ * <Stepper.Step controls="step1">
92
+ * Personal Information
93
+ * </Stepper.Step>
94
+ */
11
95
  export declare const StepperStep: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onClick" | "disabled"> & {
12
96
  controls: string;
13
97
  onClick?: (e: import('react').MouseEvent<HTMLButtonElement>, index?: number) => void;
14
98
  } & import('react').RefAttributes<HTMLButtonElement>>;
99
+ /**
100
+ * Content panel component for displaying step content in the Stepper.
101
+ *
102
+ * Features:
103
+ * - Displays content for the current step only
104
+ * - Smooth fade-in/fade-out animations
105
+ * - Automatic overflow handling with scroll support
106
+ * - Accessible with proper ARIA roles
107
+ * - Layout utilities for positioning and spacing
108
+ * - Motion animations for smooth transitions
109
+ * - Focus management for keyboard navigation
110
+ * - Responsive design with flexible layout
111
+ * - Context-based visibility control
112
+ *
113
+ * @example
114
+ * <Stepper.Panel id="step1">
115
+ * <h2>Personal Information</h2>
116
+ * <form>
117
+ * <label htmlFor="name">Name:</label>
118
+ * <input id="name" type="text" />
119
+ * </form>
120
+ * </Stepper.Panel>
121
+ */
15
122
  export declare const StepperPanel: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
16
123
  id: string;
17
124
  } & import('react').RefAttributes<HTMLDivElement>>;
125
+ /**
126
+ * Final panel component displayed when all stepper steps are completed.
127
+ *
128
+ * Features:
129
+ * - Displays only when all steps are completed
130
+ * - Smooth fade-in animation on completion
131
+ * - Automatic overflow handling with scroll support
132
+ * - Accessible with proper ARIA roles
133
+ * - Layout utilities for positioning and spacing
134
+ * - Motion animations for smooth transitions
135
+ * - Focus management for keyboard navigation
136
+ * - Responsive design with flexible layout
137
+ * - Context-based visibility control
138
+ *
139
+ * @example
140
+ * <Stepper.FinalPanel>
141
+ * <h2>Congratulations!</h2>
142
+ * <p>You have successfully completed all steps.</p>
143
+ * <Button onClick={handleSubmit}>Submit</Button>
144
+ * </Stepper.FinalPanel>
145
+ */
18
146
  export declare const StepperFinalPanel: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLDivElement>>;
147
+ /**
148
+ * Next button component for navigating to the next step in the Stepper.
149
+ *
150
+ * Features:
151
+ * - Automatically advances to the next step
152
+ * - Changes label to "Complete" on the final step
153
+ * - Supports async validation with Promise return
154
+ * - Prevents navigation when validation fails
155
+ * - Hides when all steps are completed
156
+ * - Accessible with proper button semantics
157
+ * - Customizable appearance and styling
158
+ * - Integration with stepper context
159
+ * - Automatic completion handling
160
+ * - Automatic tracking ID generation for analytics
161
+ *
162
+ * @example
163
+ * <Stepper.NextButton
164
+ * nextLabel="Continue"
165
+ * completeLabel="Finish"
166
+ * />
167
+ */
19
168
  export declare const StepperNextButton: import('react').ForwardRefExoticComponent<Omit<import('@servicetitan/hammer-react').ButtonProps, "children"> & {
20
169
  nextLabel?: string;
21
170
  completeLabel?: string;
22
171
  onClick?: (e: import('react').MouseEvent<HTMLButtonElement>) => void | boolean | Promise<boolean>;
23
172
  } & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
173
+ /**
174
+ * Previous button component for navigating to the previous step in the Stepper.
175
+ *
176
+ * Features:
177
+ * - Navigates to the previous step when available
178
+ * - Hides when on the first step
179
+ * - Restores navigation when returning from completion
180
+ * - Accessible with proper button semantics
181
+ * - Customizable label and styling
182
+ * - Integration with stepper context
183
+ * - Automatic focus management
184
+ * - Support for completion state handling
185
+ * - Automatic tracking ID generation for analytics
186
+ *
187
+ * @example
188
+ * <Stepper.PrevButton label="Go Back" />
189
+ */
24
190
  export declare const StepperPrevButton: import('react').ForwardRefExoticComponent<Omit<import('@servicetitan/hammer-react').ButtonProps, "children"> & {
25
191
  label?: string;
26
192
  } & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
193
+ /**
194
+ * Stepper component for creating multi-step workflows and forms.
195
+ *
196
+ * Features:
197
+ * - Multi-step navigation with visual progress indicators
198
+ * - Keyboard navigation support with arrow keys
199
+ * - Optional navigation to previous steps
200
+ * - Smooth animations and transitions
201
+ * - Accessible with proper ARIA roles and attributes
202
+ * - Customizable step labels and content
203
+ * - Completion state handling
204
+ * - Layout utilities for positioning and spacing
205
+ * - Motion animations for step transitions
206
+ * - Context-based state management
207
+ *
208
+ * @example
209
+ * <Stepper defaultIndex={0} allowNavigateToPrevStep>
210
+ * <Stepper.List>
211
+ * <Stepper.Step controls="step1">Step 1</Stepper.Step>
212
+ * <Stepper.Step controls="step2">Step 2</Stepper.Step>
213
+ * <Stepper.Step controls="step3">Step 3</Stepper.Step>
214
+ * </Stepper.List>
215
+ *
216
+ * <Stepper.Panel id="step1">
217
+ * <h2>Step 1 Content</h2>
218
+ * <p>This is the first step content.</p>
219
+ * </Stepper.Panel>
220
+ *
221
+ * <Stepper.Panel id="step2">
222
+ * <h2>Step 2 Content</h2>
223
+ * <p>This is the second step content.</p>
224
+ * </Stepper.Panel>
225
+ *
226
+ * <Stepper.Panel id="step3">
227
+ * <h2>Step 3 Content</h2>
228
+ * <p>This is the final step content.</p>
229
+ * </Stepper.Panel>
230
+ *
231
+ * <Stepper.FinalPanel>
232
+ * <h2>Completed!</h2>
233
+ * <p>All steps have been completed successfully.</p>
234
+ * </Stepper.FinalPanel>
235
+ *
236
+ * <Stepper.PrevButton />
237
+ * <Stepper.NextButton />
238
+ * </Stepper>
239
+ */
27
240
  export declare const Stepper: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onChange" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
28
241
  defaultIndex?: number;
29
242
  allowNavigateToPrevStep?: boolean;
@@ -33,20 +246,142 @@ export declare const Stepper: import('react').ForwardRefExoticComponent<Omit<Omi
33
246
  }) => void;
34
247
  onComplete?: () => void;
35
248
  } & import('react').RefAttributes<HTMLDivElement>> & {
249
+ /**
250
+ * Container component for organizing and displaying stepper steps.
251
+ *
252
+ * Features:
253
+ * - Groups multiple stepper steps together
254
+ * - Displays current step label
255
+ * - Responsive design with mobile-friendly layout
256
+ * - Accessible with proper ARIA roles
257
+ * - Automatic step organization
258
+ * - Visual step indicators
259
+ * - Context-based current step display
260
+ * - Flexible layout with CSS Grid/Flexbox
261
+ * - Container queries for responsive behavior
262
+ *
263
+ * @example
264
+ * <Stepper.List>
265
+ * <Stepper.Step controls="step1">Step 1</Stepper.Step>
266
+ * <Stepper.Step controls="step2">Step 2</Stepper.Step>
267
+ * <Stepper.Step controls="step3">Step 3</Stepper.Step>
268
+ * </Stepper.List>
269
+ */
36
270
  List: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
271
+ /**
272
+ * Individual step component for the Stepper.
273
+ *
274
+ * Features:
275
+ * - Visual progress indicator with animated bar
276
+ * - Check icon for completed steps
277
+ * - Keyboard navigation support
278
+ * - Accessible with proper ARIA attributes
279
+ * - Click handling for step navigation
280
+ * - Visual states for current, completed, and future steps
281
+ * - Responsive design with mobile-friendly layout
282
+ * - Focus management for keyboard users
283
+ * - Custom styling support
284
+ *
285
+ * @example
286
+ * <Stepper.Step controls="step1">
287
+ * Personal Information
288
+ * </Stepper.Step>
289
+ */
37
290
  Step: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onClick" | "disabled"> & {
38
291
  controls: string;
39
292
  onClick?: (e: import('react').MouseEvent<HTMLButtonElement>, index?: number) => void;
40
293
  } & import('react').RefAttributes<HTMLButtonElement>>;
294
+ /**
295
+ * Content panel component for displaying step content in the Stepper.
296
+ *
297
+ * Features:
298
+ * - Displays content for the current step only
299
+ * - Smooth fade-in/fade-out animations
300
+ * - Automatic overflow handling with scroll support
301
+ * - Accessible with proper ARIA roles
302
+ * - Layout utilities for positioning and spacing
303
+ * - Motion animations for smooth transitions
304
+ * - Focus management for keyboard navigation
305
+ * - Responsive design with flexible layout
306
+ * - Context-based visibility control
307
+ *
308
+ * @example
309
+ * <Stepper.Panel id="step1">
310
+ * <h2>Personal Information</h2>
311
+ * <form>
312
+ * <label htmlFor="name">Name:</label>
313
+ * <input id="name" type="text" />
314
+ * </form>
315
+ * </Stepper.Panel>
316
+ */
41
317
  Panel: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
42
318
  id: string;
43
319
  } & import('react').RefAttributes<HTMLDivElement>>;
320
+ /**
321
+ * Final panel component displayed when all stepper steps are completed.
322
+ *
323
+ * Features:
324
+ * - Displays only when all steps are completed
325
+ * - Smooth fade-in animation on completion
326
+ * - Automatic overflow handling with scroll support
327
+ * - Accessible with proper ARIA roles
328
+ * - Layout utilities for positioning and spacing
329
+ * - Motion animations for smooth transitions
330
+ * - Focus management for keyboard navigation
331
+ * - Responsive design with flexible layout
332
+ * - Context-based visibility control
333
+ *
334
+ * @example
335
+ * <Stepper.FinalPanel>
336
+ * <h2>Congratulations!</h2>
337
+ * <p>You have successfully completed all steps.</p>
338
+ * <Button onClick={handleSubmit}>Submit</Button>
339
+ * </Stepper.FinalPanel>
340
+ */
44
341
  FinalPanel: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLDivElement>>;
342
+ /**
343
+ * Next button component for navigating to the next step in the Stepper.
344
+ *
345
+ * Features:
346
+ * - Automatically advances to the next step
347
+ * - Changes label to "Complete" on the final step
348
+ * - Supports async validation with Promise return
349
+ * - Prevents navigation when validation fails
350
+ * - Hides when all steps are completed
351
+ * - Accessible with proper button semantics
352
+ * - Customizable appearance and styling
353
+ * - Integration with stepper context
354
+ * - Automatic completion handling
355
+ * - Automatic tracking ID generation for analytics
356
+ *
357
+ * @example
358
+ * <Stepper.NextButton
359
+ * nextLabel="Continue"
360
+ * completeLabel="Finish"
361
+ * />
362
+ */
45
363
  NextButton: import('react').ForwardRefExoticComponent<Omit<import('@servicetitan/hammer-react').ButtonProps, "children"> & {
46
364
  nextLabel?: string;
47
365
  completeLabel?: string;
48
366
  onClick?: (e: import('react').MouseEvent<HTMLButtonElement>) => void | boolean | Promise<boolean>;
49
367
  } & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
368
+ /**
369
+ * Previous button component for navigating to the previous step in the Stepper.
370
+ *
371
+ * Features:
372
+ * - Navigates to the previous step when available
373
+ * - Hides when on the first step
374
+ * - Restores navigation when returning from completion
375
+ * - Accessible with proper button semantics
376
+ * - Customizable label and styling
377
+ * - Integration with stepper context
378
+ * - Automatic focus management
379
+ * - Support for completion state handling
380
+ * - Automatic tracking ID generation for analytics
381
+ *
382
+ * @example
383
+ * <Stepper.PrevButton label="Go Back" />
384
+ */
50
385
  PrevButton: import('react').ForwardRefExoticComponent<Omit<import('@servicetitan/hammer-react').ButtonProps, "children"> & {
51
386
  label?: string;
52
387
  } & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,40 @@
1
1
  import { SwitchProps as CoreSwitchProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Switch component
5
+ * @property {function} [onChange] - Callback when switch is changed
6
+ * @property {ReactElement | string} [label] - Label for the switch
7
+ * @property {boolean} [checked] - Controlled checked state
8
+ * @property {boolean} [defaultChecked] - Default checked state
9
+ * @extends ComponentPropsWithoutRef<"input">
10
+ * @extends LayoutUtilProps
11
+ * @extends DataTrackingId
12
+ */
3
13
  export type SwitchProps = CoreSwitchProps & DataTrackingId;
14
+ /**
15
+ * Switch component for toggling between on/off states.
16
+ *
17
+ * Features:
18
+ * - Toggle switch with smooth animations
19
+ * - Check icon indicator when active
20
+ * - Accessible with proper ARIA roles and attributes
21
+ * - Keyboard navigation support (Space/Enter)
22
+ * - Controlled and uncontrolled state management
23
+ * - Customizable label and styling
24
+ * - Layout utilities for positioning and spacing
25
+ * - Focus management with visible focus indicators
26
+ * - Hover states and visual feedback
27
+ * - Disabled state support
28
+ * - Automatic tracking ID generation for analytics
29
+ *
30
+ * @example
31
+ * <Switch
32
+ * label="Enable notifications"
33
+ * onChange={(e, state) => console.log('Switch toggled:', state.checked)}
34
+ * />
35
+ */
4
36
  export declare const Switch: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
5
37
  onChange?: (e: import('react').ChangeEvent<HTMLInputElement>, state: import('@servicetitan/hammer-react/dist/components/Switch/Switch').SwitchState) => void;
6
38
  label?: import('react').ReactElement | string;
39
+ description?: string;
7
40
  } & DataTrackingId & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,28 +1,180 @@
1
1
  import { TabProps as CoreTabProps, TabListProps as CoreTabListProps, TabButtonProps as CoreTabButtonProps, TabPanelProps as CoreTabPanelProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Tab component
5
+ * @property {number} defaultIndex - The index of the tab that should be active by default
6
+ * @property {boolean} [fill] - Whether the tabs should fill the available width
7
+ * @extends Omit<ComponentPropsWithoutRef<"div">, "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag">
8
+ * @extends LayoutUtilProps
9
+ */
3
10
  export type TabProps = CoreTabProps;
11
+ /**
12
+ * Props for the TabList component
13
+ * @extends ComponentPropsWithoutRef<"div">
14
+ */
4
15
  export type TabListProps = CoreTabListProps;
16
+ /**
17
+ * Props for the TabButton component
18
+ * @property {string} id - Unique identifier for the tab button
19
+ * @property {string} controls - ID of the tab panel that this button controls
20
+ * @property {(e: MouseEvent<HTMLButtonElement>, index?: number) => void} [onClick] - Callback function called when the tab button is clicked
21
+ * @extends Omit<ComponentPropsWithoutRef<"button">, "onClick" | "disabled">
22
+ */
5
23
  export type TabButtonProps = CoreTabButtonProps & DataTrackingId;
24
+ /**
25
+ * Props for the TabPanel component
26
+ * @property {string} id - Unique identifier for the tab panel
27
+ * @extends Omit<ComponentPropsWithoutRef<"div">, "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag">
28
+ */
6
29
  export type TabPanelProps = CoreTabPanelProps;
30
+ /**
31
+ * TabButton component for individual tab navigation buttons.
32
+ *
33
+ * Features:
34
+ * - Automatic ARIA attributes for accessibility
35
+ * - Visual indicator for active state
36
+ * - Keyboard navigation support
37
+ * - Smooth animations with reduced motion support
38
+ * - Proper focus management
39
+ * - RTL language support
40
+ * - Automatic tracking ID generation for analytics
41
+ *
42
+ * @example
43
+ * <Tab.Button id="tab1" controls="panel1" onClick={(e, index) => console.log('Tab clicked:', index)}>
44
+ * First Tab
45
+ * </Tab.Button>
46
+ */
7
47
  export declare const TabButton: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onClick" | "disabled"> & {
8
48
  id: string;
9
49
  controls: string;
10
50
  onClick?: (e: import('react').MouseEvent<HTMLButtonElement>, index?: number) => void;
11
51
  } & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
52
+ /**
53
+ * TabList component for containing and managing tab buttons.
54
+ *
55
+ * Features:
56
+ * - Horizontal scrolling for overflow tabs
57
+ * - Navigation arrows for overflow content
58
+ * - RTL language support
59
+ * - Automatic overflow detection
60
+ * - Proper ARIA roles for accessibility
61
+ * - Smooth scrolling behavior
62
+ * - Visual indicator positioning
63
+ *
64
+ * @example
65
+ * <Tab.List>
66
+ * <Tab.Button id="tab1" controls="panel1">First Tab</Tab.Button>
67
+ * <Tab.Button id="tab2" controls="panel2">Second Tab</Tab.Button>
68
+ * <Tab.Button id="tab3" controls="panel3">Third Tab</Tab.Button>
69
+ * </Tab.List>
70
+ */
12
71
  export declare const TabList: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
72
+ /**
73
+ * TabPanel component for displaying tab content.
74
+ *
75
+ * Features:
76
+ * - Automatic visibility based on active tab
77
+ * - Smooth fade animations
78
+ * - Proper ARIA attributes for accessibility
79
+ * - Automatic association with tab buttons
80
+ * - Focus management
81
+ * - Layout animations
82
+ *
83
+ * @example
84
+ * <Tab.Panel id="panel1">
85
+ * <h2>First Tab Content</h2>
86
+ * <p>This is the content for the first tab.</p>
87
+ * </Tab.Panel>
88
+ */
13
89
  export declare const TabPanel: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & {
14
90
  id: string;
15
91
  } & import('react').RefAttributes<HTMLDivElement>>;
92
+ /**
93
+ * Tab component for organizing content into multiple sections with navigation.
94
+ *
95
+ * Features:
96
+ * - Keyboard navigation support (arrow keys, Enter, Space)
97
+ * - Accessible with proper ARIA roles and attributes
98
+ * - Smooth animations and transitions
99
+ * - RTL language support
100
+ * - Automatic focus management
101
+ * - Scroll behavior for overflow tabs
102
+ * - Compound component pattern with Tab.Button, Tab.List, and Tab.Panel
103
+ * - Supports layout utilities for positioning and spacing
104
+ *
105
+ * @example
106
+ * <Tab defaultIndex={0}>
107
+ * <Tab.List>
108
+ * <Tab.Button id="tab1" controls="panel1">First Tab</Tab.Button>
109
+ * <Tab.Button id="tab2" controls="panel2">Second Tab</Tab.Button>
110
+ * </Tab.List>
111
+ * <Tab.Panel id="panel1">Content for first tab</Tab.Panel>
112
+ * <Tab.Panel id="panel2">Content for second tab</Tab.Panel>
113
+ * </Tab>
114
+ */
16
115
  export declare const Tab: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
17
116
  defaultIndex: number;
18
117
  fill?: boolean;
19
118
  } & import('react').RefAttributes<HTMLDivElement>> & {
119
+ /**
120
+ * TabButton component for individual tab navigation buttons.
121
+ *
122
+ * Features:
123
+ * - Automatic ARIA attributes for accessibility
124
+ * - Visual indicator for active state
125
+ * - Keyboard navigation support
126
+ * - Smooth animations with reduced motion support
127
+ * - Proper focus management
128
+ * - RTL language support
129
+ * - Automatic tracking ID generation for analytics
130
+ *
131
+ * @example
132
+ * <Tab.Button id="tab1" controls="panel1" onClick={(e, index) => console.log('Tab clicked:', index)}>
133
+ * First Tab
134
+ * </Tab.Button>
135
+ */
20
136
  Button: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onClick" | "disabled"> & {
21
137
  id: string;
22
138
  controls: string;
23
139
  onClick?: (e: import('react').MouseEvent<HTMLButtonElement>, index?: number) => void;
24
140
  } & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
141
+ /**
142
+ * TabList component for containing and managing tab buttons.
143
+ *
144
+ * Features:
145
+ * - Horizontal scrolling for overflow tabs
146
+ * - Navigation arrows for overflow content
147
+ * - RTL language support
148
+ * - Automatic overflow detection
149
+ * - Proper ARIA roles for accessibility
150
+ * - Smooth scrolling behavior
151
+ * - Visual indicator positioning
152
+ *
153
+ * @example
154
+ * <Tab.List>
155
+ * <Tab.Button id="tab1" controls="panel1">First Tab</Tab.Button>
156
+ * <Tab.Button id="tab2" controls="panel2">Second Tab</Tab.Button>
157
+ * <Tab.Button id="tab3" controls="panel3">Third Tab</Tab.Button>
158
+ * </Tab.List>
159
+ */
25
160
  List: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
161
+ /**
162
+ * TabPanel component for displaying tab content.
163
+ *
164
+ * Features:
165
+ * - Automatic visibility based on active tab
166
+ * - Smooth fade animations
167
+ * - Proper ARIA attributes for accessibility
168
+ * - Automatic association with tab buttons
169
+ * - Focus management
170
+ * - Layout animations
171
+ *
172
+ * @example
173
+ * <Tab.Panel id="panel1">
174
+ * <h2>First Tab Content</h2>
175
+ * <p>This is the content for the first tab.</p>
176
+ * </Tab.Panel>
177
+ */
26
178
  Panel: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart"> & {
27
179
  id: string;
28
180
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,40 @@
1
1
  import { TextProps as CoreTextProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the Text component
4
+ * @property {"headline"} [variant] - Headline text variant
5
+ * @property {"eyebrow"} [variant] - Eyebrow text variant
6
+ * @property {"body"} [variant] - Body text variant (default)
7
+ * @property {"h1" | "h2" | "h3" | "h4" | "h5" | "h6"} [el] - Set the wrapping element's tagname for headlines
8
+ * @property {"small" | "medium" | "large" | "xlarge"} [size] - Size of the text
9
+ * @property {boolean} [subdued] - Deemphasized text styling
10
+ * @property {boolean} [inline] - Inline flag used for nesting BodyText inside BodyText
11
+ * @extends ComponentPropsWithoutRef<"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span">
12
+ * @extends LayoutUtilProps
13
+ */
2
14
  export type TextProps = CoreTextProps;
15
+ /**
16
+ * Text component for displaying various types of text content with consistent styling.
17
+ *
18
+ * Features:
19
+ * - Multiple text variants (headline, eyebrow, body)
20
+ * - Semantic HTML elements (h1-h6, p, span)
21
+ * - Multiple size options for each variant
22
+ * - Deemphasized text styling option
23
+ * - Inline text support for nesting
24
+ * - Supports layout utilities for positioning and spacing
25
+ * - Accessible with proper semantic markup
26
+ * - Responsive typography scaling
27
+ *
28
+ * @example
29
+ * <Text variant="headline" el="h1" size="large">Main Heading</Text>
30
+ * <Text variant="headline" el="h2" size="medium">Sub Heading</Text>
31
+ *
32
+ * @example
33
+ * <Text variant="eyebrow" size="small">Category Label</Text>
34
+ *
35
+ * @example
36
+ * <Text size="large">Large body text</Text>
37
+ * <Text subdued>Deemphasized text</Text>
38
+ * <Text inline>Inline text within other text</Text>
39
+ */
3
40
  export declare const Text: import('react').ForwardRefExoticComponent<CoreTextProps & import('react').RefAttributes<HTMLSpanElement | HTMLHeadingElement | HTMLParagraphElement>>;