@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,5 +1,53 @@
1
1
  import { FlexProps as CoreFlexProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the Flex component
4
+ * @property {boolean} [inline] - Applies display: inline-flex instead of flex
5
+ * @property {string} [direction] - The flex direction of the container
6
+ * @property {string | number} [grow] - The flex grow value for the container
7
+ * @property {string | number} [shrink] - The flex shrink value for the container
8
+ * @property {string | number} [basis] - The flex basis value for the container
9
+ * @property {string} [wrap] - The flex wrap value for the container
10
+ * @property {object} [sm] - Responsive props for small screens (sm breakpoint)
11
+ * @property {object} [md] - Responsive props for medium screens (md breakpoint)
12
+ * @property {object} [lg] - Responsive props for large screens (lg breakpoint)
13
+ * @property {object} [xl] - Responsive props for extra large screens (xl breakpoint)
14
+ * @property {object} [xxl] - Responsive props for extra extra large screens (xxl breakpoint)
15
+ * @extends ComponentPropsWithoutRef<"div">
16
+ * @extends LayoutUtilProps
17
+ */
2
18
  export type FlexProps = CoreFlexProps;
19
+ /**
20
+ * Flex component for creating flexible layouts using CSS Flexbox.
21
+ *
22
+ * Features:
23
+ * - CSS Flexbox layout with full control over flex properties
24
+ * - Support for both flex and inline-flex display modes
25
+ * - Responsive design with breakpoint-specific props (sm, md, lg, xl, xxl)
26
+ * - Comprehensive layout utilities for spacing, alignment, and positioning
27
+ * - Automatic style generation and class management
28
+ * - Support for all standard div element props
29
+ * - Flexible direction, grow, shrink, basis, and wrap controls
30
+ * - Deprecated flexShrink prop with modern shrink alternative
31
+ * - Automatic tracking ID generation for analytics
32
+ *
33
+ * @example
34
+ * <Flex direction="row" gap="4" alignItems="center">
35
+ * <div>Item 1</div>
36
+ * <div>Item 2</div>
37
+ * <div>Item 3</div>
38
+ * </Flex>
39
+ *
40
+ * @example
41
+ * <Flex
42
+ * direction="column"
43
+ * gap="2"
44
+ * md={{ direction: "row", gap: "4" }}
45
+ * >
46
+ * <div>Item 1</div>
47
+ * <div>Item 2</div>
48
+ * <div>Item 3</div>
49
+ * </Flex>
50
+ */
3
51
  export declare const Flex: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flexDirection" | "flexGrow" | "flexShrink" | "flexBasis" | "flexWrap"> & {
4
52
  inline?: boolean;
5
53
  direction?: import('react').CSSProperties["flexDirection"];
@@ -1,6 +1,61 @@
1
1
  import { GridProps as CoreGridProps, GridItemProps as CoreGridItemProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the Grid component
4
+ * @property {boolean} [inline] - Applies display: inline-grid instead of grid
5
+ * @property {string} [templateColumns] - The grid template columns definition
6
+ * @property {string} [templateRows] - The grid template rows definition
7
+ * @property {string} [templateAreas] - The grid template areas definition
8
+ * @property {string} [autoColumns] - The grid auto columns definition
9
+ * @property {string} [autoRows] - The grid auto rows definition
10
+ * @property {object} [sm] - Responsive props for small screens (sm breakpoint)
11
+ * @property {object} [md] - Responsive props for medium screens (md breakpoint)
12
+ * @property {object} [lg] - Responsive props for large screens (lg breakpoint)
13
+ * @property {object} [xl] - Responsive props for extra large screens (xl breakpoint)
14
+ * @property {object} [xxl] - Responsive props for extra extra large screens (xxl breakpoint)
15
+ * @extends ComponentPropsWithoutRef<"div">
16
+ * @extends LayoutUtilProps
17
+ */
2
18
  export type GridProps = CoreGridProps;
19
+ /**
20
+ * Props for the GridItem component
21
+ * @extends ComponentPropsWithoutRef<"div">
22
+ * @extends LayoutUtilProps
23
+ */
3
24
  export type GridItemProps = CoreGridItemProps;
25
+ /**
26
+ * Grid component for creating CSS Grid layouts with responsive design.
27
+ *
28
+ * Features:
29
+ * - CSS Grid layout with full control over grid properties
30
+ * - Support for both grid and inline-grid display modes
31
+ * - Responsive design with breakpoint-specific props (sm, md, lg, xl, xxl)
32
+ * - Comprehensive layout utilities for spacing, alignment, and positioning
33
+ * - Template columns, rows, and areas configuration
34
+ * - Auto columns and rows sizing
35
+ * - Automatic style generation and class management
36
+ * - Support for all standard div element props
37
+ * - Flexible grid template and auto-sizing controls
38
+ * - Automatic tracking ID generation for analytics
39
+ * - Compound component structure with Item sub-component
40
+ *
41
+ * @example
42
+ * <Grid templateColumns="repeat(3, 1fr)" gap="4">
43
+ * <Grid.Item>Grid Item 1</Grid.Item>
44
+ * <Grid.Item>Grid Item 2</Grid.Item>
45
+ * <Grid.Item>Grid Item 3</Grid.Item>
46
+ * </Grid>
47
+ *
48
+ * @example
49
+ * <Grid
50
+ * templateColumns="repeat(1, 1fr)"
51
+ * gap="2"
52
+ * md={{ templateColumns: "repeat(3, 1fr)", gap: "4" }}
53
+ * >
54
+ * <Grid.Item>Grid Item 1</Grid.Item>
55
+ * <Grid.Item>Grid Item 2</Grid.Item>
56
+ * <Grid.Item>Grid Item 3</Grid.Item>
57
+ * </Grid>
58
+ */
4
59
  export declare const Grid: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
60
  inline?: boolean;
6
61
  } & import('@servicetitan/hammer-react').LayoutUtilProps & {
@@ -16,5 +71,24 @@ export declare const Grid: import('react').ForwardRefExoticComponent<Omit<import
16
71
  xl?: import('@servicetitan/hammer-react/dist/components/Grid/Grid').GridSpecificProps;
17
72
  xxl?: import('@servicetitan/hammer-react/dist/components/Grid/Grid').GridSpecificProps;
18
73
  } & import('react').RefAttributes<HTMLDivElement>> & {
74
+ /**
75
+ * GridItem component for individual items within a CSS Grid layout.
76
+ *
77
+ * Features:
78
+ * - Individual grid item with full layout utility support
79
+ * - Automatic grid item styling and class management
80
+ * - Comprehensive layout utilities for positioning and sizing
81
+ * - Support for all standard div element props
82
+ * - Flexible grid positioning and sizing controls
83
+ * - Automatic style generation and class management
84
+ * - Works seamlessly with Grid component
85
+ * - Automatic tracking ID generation for analytics
86
+ *
87
+ * @example
88
+ * <Grid templateColumns="repeat(2, 1fr)" gap="4">
89
+ * <Grid.Item>Grid Item 1</Grid.Item>
90
+ * <Grid.Item>Grid Item 2</Grid.Item>
91
+ * </Grid>
92
+ */
19
93
  Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLDivElement>>;
20
94
  };
@@ -1,5 +1,44 @@
1
1
  import { IconProps as CoreIconProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the Icon component
4
+ * @property {string} [color] - Apply a specific color to the icon
5
+ * @property {string} [size] - The size of the icon (small, medium, large, xlarge)
6
+ * @property {Svg} svg - Assets passed in using svgr
7
+ * @property {boolean} [inherit] - Whether the icon should inherit the color from its parent element
8
+ * @extends Omit<ComponentPropsWithoutRef<"span">, "children">
9
+ * @extends Omit<LayoutUtilProps, "flex" | "flexBasis" | "flexGrow" | "flexShrink">
10
+ */
2
11
  export type IconProps = CoreIconProps;
12
+ /**
13
+ * Icon component for displaying SVG icons with consistent styling and sizing.
14
+ *
15
+ * Features:
16
+ * - SVG icon rendering with consistent styling
17
+ * - Four predefined sizes: small, medium, large, xlarge
18
+ * - Custom color support with optional inheritance
19
+ * - Layout utilities for positioning and spacing
20
+ * - Focus management with visible focus indicators
21
+ * - Automatic style generation and class management
22
+ * - Support for all standard span element props
23
+ * - Flexible color inheritance and custom color options
24
+ * - Consistent sizing across different icon sets
25
+ * - Automatic tracking ID generation for analytics
26
+ *
27
+ * @example
28
+ * import Close from "@servicetitan/hammer-icon/mdi/round/close.svg";
29
+ *
30
+ * <Icon svg={Close} size="medium" />
31
+ *
32
+ * @example
33
+ * import Info from "@servicetitan/hammer-icon/mdi/round/info.svg";
34
+ *
35
+ * <Icon
36
+ * svg={Info}
37
+ * size="large"
38
+ * color="#007bff"
39
+ * inherit={false}
40
+ * />
41
+ */
3
42
  export declare const Icon: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
4
43
  color?: string;
5
44
  size?: Extract<import('@servicetitan/hammer-react').Size, "small" | "medium" | "large" | "xlarge">;
@@ -1,5 +1,62 @@
1
1
  import { InputMaskProps as CoreInputMaskProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the InputMask component
4
+ * @property {string} mask - The mask pattern to apply to the input (9 for digits, a for letters, * for alphanumeric)
5
+ * @property {string} [defaultMaskCharacter] - Character to display for unfilled mask positions
6
+ * @property {array} [customMaskHandler] - Array of custom mask handlers for advanced transformations
7
+ * @property {object} [inputProps] - Props to pass to the input component
8
+ * @property {ReactElement} [children] - Custom input element to be wrapped with mask functionality
9
+ * @property {string} [data-tracking-id] - Custom tracking ID for analytics
10
+ */
2
11
  export type InputMaskProps = CoreInputMaskProps & {
3
12
  ["data-tracking-id"]?: string;
4
13
  };
14
+ /**
15
+ * InputMask component for applying input masks and formatting to text inputs.
16
+ *
17
+ * Features:
18
+ * - Input masking with configurable patterns (9, a, *, fixed characters)
19
+ * - Support for both controlled and uncontrolled inputs
20
+ * - Custom input elements or default TextField integration
21
+ * - Advanced cursor positioning and selection management
22
+ * - Custom mask handlers for complex transformations
23
+ * - Paste and keyboard event handling
24
+ * - Automatic mask character replacement
25
+ * - Focus and blur event management
26
+ * - Accessible with proper ARIA attributes
27
+ * - Support for all standard input element props
28
+ * - Flexible mask pattern configuration
29
+ * - Real-time input validation and formatting
30
+ * - Automatic tracking ID generation for analytics
31
+ *
32
+ * @example
33
+ * <InputMask
34
+ * mask="99/99/9999"
35
+ * inputProps={{ label: "Date", hint: "mm/dd/yyyy" }}
36
+ * />
37
+ *
38
+ * @example
39
+ * <InputMask mask="(999) 999-9999">
40
+ * <TextField label="Phone Number" hint="(555) 123-4567" />
41
+ * </InputMask>
42
+ *
43
+ * @example
44
+ * <InputMask
45
+ * mask="99/99/9999"
46
+ * customMaskHandler={[
47
+ * {
48
+ * match: {
49
+ * matchPattern: /^(\d)\//,
50
+ * startPosition: 0,
51
+ * endPosition: 2,
52
+ * },
53
+ * apply: {
54
+ * applyPattern: "0$1",
55
+ * caretOffset: 2,
56
+ * },
57
+ * },
58
+ * ]}
59
+ * inputProps={{ label: "Date with custom handler" }}
60
+ * />
61
+ */
5
62
  export declare const InputMask: import('react').ForwardRefExoticComponent<InputMaskProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,41 +1,172 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
+ /**
3
+ * Props for the Layout component.
4
+ */
2
5
  export type LayoutProps = ComponentPropsWithoutRef<"div"> & {
6
+ /** Whether the layout should be fluid (full width) instead of constrained */
3
7
  fluid?: boolean;
8
+ /** The spacing variant for the layout grid */
4
9
  variant?: "default" | "wide" | "narrow";
5
10
  };
11
+ /**
12
+ * Layout container component that provides a responsive grid system.
13
+ *
14
+ * Features:
15
+ * - CSS Grid-based responsive layout system
16
+ * - Container with max-width constraint (1280px) by default
17
+ * - Fluid option for full-width layouts
18
+ * - Three spacing variants: default, wide, and narrow
19
+ * - Container queries for responsive behavior
20
+ * - Automatic tracking ID generation for analytics
21
+ * - Semantic HTML structure with proper accessibility
22
+ * - Flexible content area for child Layout.Item components
23
+ * - Consistent spacing and alignment across breakpoints
24
+ *
25
+ * @example
26
+ * <Layout>
27
+ * <Layout.Item span={6}>Left Column</Layout.Item>
28
+ * <Layout.Item span={6}>Right Column</Layout.Item>
29
+ * </Layout>
30
+ *
31
+ * @example
32
+ * <Layout fluid variant="wide">
33
+ * <Layout.Item span={4}>Column 1</Layout.Item>
34
+ * <Layout.Item span={4}>Column 2</Layout.Item>
35
+ * <Layout.Item span={4}>Column 3</Layout.Item>
36
+ * </Layout>
37
+ *
38
+ * @example
39
+ * <Layout variant="narrow">
40
+ * <Layout.Item span={12}>
41
+ * <h1>Full Width Content</h1>
42
+ * <p>This content spans the full width of the layout.</p>
43
+ * </Layout.Item>
44
+ * </Layout>
45
+ */
6
46
  export declare const LayoutElement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
47
+ /** Whether the layout should be fluid (full width) instead of constrained */
7
48
  fluid?: boolean;
49
+ /** The spacing variant for the layout grid */
8
50
  variant?: "default" | "wide" | "narrow";
9
51
  } & import('react').RefAttributes<HTMLDivElement>>;
52
+ /**
53
+ * Props for the Layout.Item component.
54
+ */
10
55
  export type LayoutItemProps = ComponentPropsWithoutRef<"div"> & {
56
+ /** Default span across all breakpoints (1-12) */
11
57
  span?: number;
58
+ /** Extra small breakpoint span (1-12) */
12
59
  xs?: number;
60
+ /** Small breakpoint span (1-12) */
13
61
  sm?: number;
62
+ /** Medium breakpoint span (1-12) */
14
63
  md?: number;
64
+ /** Large breakpoint span (1-12) */
15
65
  lg?: number;
66
+ /** Extra large breakpoint span (1-12) */
16
67
  xl?: number;
68
+ /** Extra extra large breakpoint span (1-12) */
17
69
  xxl?: number;
18
70
  };
71
+ /**
72
+ * Layout item component that defines grid columns within a Layout container.
73
+ *
74
+ * Features:
75
+ * - Responsive grid columns with breakpoint-specific spans
76
+ * - 12-column grid system for flexible layouts
77
+ * - Breakpoint-specific span controls (xs, sm, md, lg, xl, xxl)
78
+ * - Default span fallback for all breakpoints
79
+ * - Automatic responsive behavior using container queries
80
+ * - Semantic HTML structure with proper accessibility
81
+ * - Flexible content area for any child components
82
+ * - Consistent spacing and alignment with parent Layout
83
+ * - Automatic tracking ID generation for analytics
84
+ *
85
+ * Breakpoints:
86
+ * - xs: Extra small (mobile)
87
+ * - sm: Small (tablet portrait)
88
+ * - md: Medium (tablet landscape)
89
+ * - lg: Large (desktop)
90
+ * - xl: Extra large (large desktop)
91
+ * - xxl: Extra extra large (ultra-wide)
92
+ *
93
+ * @example
94
+ * <Layout>
95
+ * <Layout.Item span={6} md={4} lg={3}>
96
+ * <Card>Responsive Card</Card>
97
+ * </Layout.Item>
98
+ * <Layout.Item span={6} md={8} lg={9}>
99
+ * <Card>Main Content</Card>
100
+ * </Layout.Item>
101
+ * </Layout>
102
+ *
103
+ * @example
104
+ * <Layout>
105
+ * <Layout.Item span={12} md={6}>
106
+ * <h2>Left Column</h2>
107
+ * <p>This takes full width on mobile, half width on medium+ screens.</p>
108
+ * </Layout.Item>
109
+ * <Layout.Item span={12} md={6}>
110
+ * <h2>Right Column</h2>
111
+ * <p>This also takes full width on mobile, half width on medium+ screens.</p>
112
+ * </Layout.Item>
113
+ * </Layout>
114
+ *
115
+ * @example
116
+ * <Layout variant="wide">
117
+ * <Layout.Item span={1} sm={2} md={3} lg={4}>
118
+ * <Button>Small Button</Button>
119
+ * </Layout.Item>
120
+ * <Layout.Item span={11} sm={10} md={9} lg={8}>
121
+ * <TextField placeholder="Search..." />
122
+ * </Layout.Item>
123
+ * </Layout>
124
+ */
19
125
  export declare const LayoutItem: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
126
+ /** Default span across all breakpoints (1-12) */
20
127
  span?: number;
128
+ /** Extra small breakpoint span (1-12) */
21
129
  xs?: number;
130
+ /** Small breakpoint span (1-12) */
22
131
  sm?: number;
132
+ /** Medium breakpoint span (1-12) */
23
133
  md?: number;
134
+ /** Large breakpoint span (1-12) */
24
135
  lg?: number;
136
+ /** Extra large breakpoint span (1-12) */
25
137
  xl?: number;
138
+ /** Extra extra large breakpoint span (1-12) */
26
139
  xxl?: number;
27
140
  } & import('react').RefAttributes<HTMLDivElement>>;
141
+ /**
142
+ * Layout component with compound component pattern.
143
+ *
144
+ * @example
145
+ * <Layout>
146
+ * <Layout.Item span={6}>Left</Layout.Item>
147
+ * <Layout.Item span={6}>Right</Layout.Item>
148
+ * </Layout>
149
+ */
28
150
  export declare const Layout: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
151
+ /** Whether the layout should be fluid (full width) instead of constrained */
29
152
  fluid?: boolean;
153
+ /** The spacing variant for the layout grid */
30
154
  variant?: "default" | "wide" | "narrow";
31
155
  } & import('react').RefAttributes<HTMLDivElement>> & {
32
156
  Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
157
+ /** Default span across all breakpoints (1-12) */
33
158
  span?: number;
159
+ /** Extra small breakpoint span (1-12) */
34
160
  xs?: number;
161
+ /** Small breakpoint span (1-12) */
35
162
  sm?: number;
163
+ /** Medium breakpoint span (1-12) */
36
164
  md?: number;
165
+ /** Large breakpoint span (1-12) */
37
166
  lg?: number;
167
+ /** Extra large breakpoint span (1-12) */
38
168
  xl?: number;
169
+ /** Extra extra large breakpoint span (1-12) */
39
170
  xxl?: number;
40
171
  } & import('react').RefAttributes<HTMLDivElement>>;
41
172
  };
@@ -1,5 +1,10 @@
1
1
  import { LinkProps as CoreLinkProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Link component.
5
+ * @extends Omit<CoreLinkProps, "href">
6
+ * @extends DataTrackingId
7
+ */
3
8
  export type LinkProps = Omit<CoreLinkProps, "href"> & DataTrackingId & ({
4
9
  pathname?: never;
5
10
  search?: never;
@@ -14,12 +19,54 @@ export type LinkProps = Omit<CoreLinkProps, "href"> & DataTrackingId & ({
14
19
  href?: never;
15
20
  }) & ({
16
21
  /**
22
+ * The visual appearance of the link.
17
23
  * @default "primary"
18
24
  */
19
25
  appearance?: "primary";
26
+ /** Whether the link should have a quieter, less prominent appearance */
20
27
  quiet?: boolean;
21
28
  } | {
29
+ /** The visual appearance of the link. Secondary appearance cannot be quiet. */
22
30
  appearance: "secondary";
23
31
  quiet?: false;
24
32
  });
33
+ /**
34
+ * Link component for creating accessible, styled hyperlinks with tracking support.
35
+ *
36
+ * Features:
37
+ * - Two visual appearances: primary (default) and secondary
38
+ * - Quiet mode for less prominent styling
39
+ * - Automatic external link icon for target="_blank" links
40
+ * - Security attributes (rel="noopener noreferrer") for external links
41
+ * - Full accessibility support with proper focus management
42
+ * - Supports layout utilities for positioning and spacing
43
+ * - Flexible content support for text and other elements
44
+ * - Responsive design with consistent typography
45
+ * - Hover and focus states with proper visual feedback
46
+ * - Screen reader support for external link announcements
47
+ * - Automatic tracking ID generation for analytics
48
+ * - Client-side navigation support with pathname and search params
49
+ * - History API integration for single-page application navigation
50
+ *
51
+ * @example
52
+ * <Link href="/dashboard" appearance="primary">
53
+ * Go to Dashboard
54
+ * </Link>
55
+ *
56
+ * @example
57
+ * <Link pathname="/settings" search="?tab=profile">
58
+ * Profile Settings
59
+ * </Link>
60
+ *
61
+ * @example
62
+ * <Link href="https://example.com" target="_blank" quiet>
63
+ * External Documentation
64
+ * </Link>
65
+ *
66
+ * @example
67
+ * <Link href="/profile" gap="2" alignItems="center">
68
+ * <Avatar name="John Doe" size="small" />
69
+ * View Profile
70
+ * </Link>
71
+ */
25
72
  export declare const Link: import('react').ForwardRefExoticComponent<LinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
@@ -1,15 +1,100 @@
1
1
  import { ListViewProps as CoreListViewProps, ListViewOptionProps as CoreListViewOptionProps } from '@servicetitan/hammer-react';
2
2
  import { ForwardedRef } from 'react';
3
3
  import { DataTrackingId } from '../../types/DataTrackingId';
4
+ /**
5
+ * Props for the ListView component
6
+ * @property {function} [onSelectionChange] - Callback when selection changes
7
+ * @property {Array} [selected] - Currently selected items (controlled)
8
+ * @property {Array} [items] - Array of items to render
9
+ * @property {Array} [defaultSelected] - Default selected items (uncontrolled)
10
+ * @property {function} [children] - Optional render function for items
11
+ * @extends LayoutUtilProps
12
+ */
4
13
  export type ListViewProps<T> = CoreListViewProps<T>;
14
+ /**
15
+ * Props for the ListViewOption component
16
+ * @property {boolean} [disabled] - Whether the option is disabled
17
+ * @property {function} [onChange] - Callback when the option changes
18
+ * @property {object} [item] - The item object when using items prop
19
+ * @property {string} [label] - The display label for the option
20
+ * @extends ComponentPropsWithoutRef<"div">
21
+ */
5
22
  export type ListViewOptionProps = CoreListViewOptionProps & DataTrackingId;
6
23
  declare const ListViewElement: <T>(props: ListViewProps<T>, ref: ForwardedRef<HTMLUListElement>) => import("react/jsx-runtime").JSX.Element;
24
+ /**
25
+ * ListViewOption component for individual selectable items within a listview.
26
+ *
27
+ * Features:
28
+ * - Displays selectable options with proper ARIA attributes
29
+ * - Supports disabled state for non-selectable options
30
+ * - Keyboard navigation support
31
+ * - Accessible with screen reader support
32
+ * - Automatic tracking ID generation for analytics
33
+ *
34
+ * @example
35
+ * <ListView.Option item={{ label: "Option 1" }} />
36
+ */
7
37
  export declare const ListViewOption: import('react').ForwardRefExoticComponent<ListViewOptionProps & import('react').RefAttributes<HTMLDivElement>>;
38
+ /**
39
+ * ListViewOptionCell component for rendering a cell within a listview option.
40
+ *
41
+ * Features:
42
+ * - Renders a grid cell for option content
43
+ * - Supports custom content and layout
44
+ * - Accessible with proper ARIA attributes
45
+ *
46
+ * @example
47
+ * <ListView.OptionCell>Custom cell content</ListView.OptionCell>
48
+ */
8
49
  export declare const ListViewOptionCell: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
50
+ /**
51
+ * ListView component for displaying a list of selectable items in a grid layout.
52
+ *
53
+ * Features:
54
+ * - Supports single and multiple selection modes
55
+ * - Keyboard navigation with arrow keys
56
+ * - Customizable item rendering
57
+ * - Controlled and uncontrolled modes
58
+ * - Accessible with proper ARIA attributes
59
+ * - Focus management for interactive elements
60
+ * - Layout utilities for positioning and spacing
61
+ * - Automatic tracking ID generation for analytics
62
+ *
63
+ * @example
64
+ * <ListView items={[{ label: "Item 1" }, { label: "Item 2" }]} onSelectionChange={handleSelection}>
65
+ * {({ items }) => items.map(item => (
66
+ * <ListView.Option key={item.label} item={item} />
67
+ * ))}
68
+ * </ListView>
69
+ */
9
70
  export declare const ListView: (<T>(props: ListViewProps<T> & {
10
71
  ref?: React.ForwardedRef<HTMLUListElement>;
11
72
  }) => ReturnType<typeof ListViewElement>) & {
73
+ /**
74
+ * ListViewOption component for individual selectable items within a listview.
75
+ *
76
+ * Features:
77
+ * - Displays selectable options with proper ARIA attributes
78
+ * - Supports disabled state for non-selectable options
79
+ * - Keyboard navigation support
80
+ * - Accessible with screen reader support
81
+ * - Automatic tracking ID generation for analytics
82
+ *
83
+ * @example
84
+ * <ListView.Option item={{ label: "Option 1" }} />
85
+ */
12
86
  Option: import('react').ForwardRefExoticComponent<ListViewOptionProps & import('react').RefAttributes<HTMLDivElement>>;
87
+ /**
88
+ * ListViewOptionCell component for rendering a cell within a listview option.
89
+ *
90
+ * Features:
91
+ * - Renders a grid cell for option content
92
+ * - Supports custom content and layout
93
+ * - Accessible with proper ARIA attributes
94
+ *
95
+ * @example
96
+ * <ListView.OptionCell>Custom cell content</ListView.OptionCell>
97
+ */
13
98
  OptionCell: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
14
99
  };
15
100
  export {};