@servicetitan/anvil2 1.37.1 → 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 (393) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/{Alert-BNbD8EQd-D2ZerUYD.js → Alert-C3WoRkeN-D_6Yf63F.js} +5 -5
  3. package/dist/{Alert-BNbD8EQd-D2ZerUYD.js.map → Alert-C3WoRkeN-D_6Yf63F.js.map} +1 -1
  4. package/dist/{Alert-DwdMxzH0.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-CiHTmcmB.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-DX3kc-St-Bi0Fl0-E.js → Button-BaHFf1AT-BQy-PFB5.js} +4 -4
  25. package/dist/{Button-DX3kc-St-Bi0Fl0-E.js.map → Button-BaHFf1AT-BQy-PFB5.js.map} +1 -1
  26. package/dist/{Button-CPyDYPAg.js → Button-DMQKV2sV.js} +3 -2
  27. package/dist/Button-DMQKV2sV.js.map +1 -0
  28. package/dist/Button.css +45 -49
  29. package/dist/Button.js +1 -1
  30. package/dist/Button.module-BqTaW8HK-BqTaW8HK.js +25 -0
  31. package/dist/Button.module-BqTaW8HK-BqTaW8HK.js.map +1 -0
  32. package/dist/{ButtonCompound-CYU1LNHq-Bc1kbNSB.js → ButtonCompound-Cs2A5X-Z-Dl3InVab.js} +3 -3
  33. package/dist/{ButtonCompound-CYU1LNHq-Bc1kbNSB.js.map → ButtonCompound-Cs2A5X-Z-Dl3InVab.js.map} +1 -1
  34. package/dist/{ButtonCompound-CZn9FsxS.js → ButtonCompound-DGuF0zzT.js} +3 -2
  35. package/dist/ButtonCompound-DGuF0zzT.js.map +1 -0
  36. package/dist/ButtonCompound.js +1 -1
  37. package/dist/{ButtonLink-B_tyWgz5-fw-d4WQs.js → ButtonLink-5qlX0uZx-b9H7MGhk.js} +7 -5
  38. package/dist/ButtonLink-5qlX0uZx-b9H7MGhk.js.map +1 -0
  39. package/dist/{ButtonLink-T1aDDrwY.js → ButtonLink-B0NJuVk5.js} +3 -2
  40. package/dist/ButtonLink-B0NJuVk5.js.map +1 -0
  41. package/dist/ButtonLink.js +1 -1
  42. package/dist/{ButtonToggle-6n5-CX2P-DBxJwDzw.js → ButtonToggle-Bm4KRl3o-B1-LbfjY.js} +4 -4
  43. package/dist/{ButtonToggle-6n5-CX2P-DBxJwDzw.js.map → ButtonToggle-Bm4KRl3o-B1-LbfjY.js.map} +1 -1
  44. package/dist/{ButtonToggle-5RNkPmop.js → ButtonToggle-CKVyEODc.js} +3 -2
  45. package/dist/ButtonToggle-CKVyEODc.js.map +1 -0
  46. package/dist/ButtonToggle.js +1 -1
  47. package/dist/{Calendar-ccK3_s_h-85O26aWv.js → Calendar-CohGSWFp-DFYJkf7Y.js} +9 -9
  48. package/dist/{Calendar-ccK3_s_h-85O26aWv.js.map → Calendar-CohGSWFp-DFYJkf7Y.js.map} +1 -1
  49. package/dist/Calendar-jl0s6W7p.js +130 -0
  50. package/dist/Calendar-jl0s6W7p.js.map +1 -0
  51. package/dist/Calendar.js +1 -1
  52. package/dist/{Card-DgxiRqS_.js → Card-U2IJPk8B.js} +3 -2
  53. package/dist/Card-U2IJPk8B.js.map +1 -0
  54. package/dist/{Card-BNT0qpxt-OPUNKZW6.js → Card-ZknG-yim-7W6rYSFV.js} +3 -3
  55. package/dist/{Card-BNT0qpxt-OPUNKZW6.js.map → Card-ZknG-yim-7W6rYSFV.js.map} +1 -1
  56. package/dist/Card.js +1 -1
  57. package/dist/{Checkbox-eAxcQnNg.js → Checkbox-DbDwtefR.js} +25 -2
  58. package/dist/Checkbox-DbDwtefR.js.map +1 -0
  59. package/dist/{Checkbox-DEAra-BQ-bF-q1M2I.js → Checkbox-TIcImbEx-EgjesTNn.js} +6 -5
  60. package/dist/Checkbox-TIcImbEx-EgjesTNn.js.map +1 -0
  61. package/dist/Checkbox.js +1 -1
  62. package/dist/{Chip-BQ58RQ3v.js → Chip-BlLavyIK.js} +2 -2
  63. package/dist/Chip-BlLavyIK.js.map +1 -0
  64. package/dist/{Chip-DwiMFYBm-CIDM1d8e.js → Chip-_daV8CmM-CTke7zH4.js} +5 -5
  65. package/dist/{Chip-DwiMFYBm-CIDM1d8e.js.map → Chip-_daV8CmM-CTke7zH4.js.map} +1 -1
  66. package/dist/Chip.js +1 -1
  67. package/dist/{Combobox-CKmh6XXv.js → Combobox-7ADxZKDE.js} +187 -24
  68. package/dist/Combobox-7ADxZKDE.js.map +1 -0
  69. package/dist/Combobox.js +1 -1
  70. package/dist/{DateField-CPJzhs_q.js → DateField-CUO_26rh.js} +18 -13
  71. package/dist/DateField-CUO_26rh.js.map +1 -0
  72. package/dist/DateField.js +1 -1
  73. package/dist/{DaysOfTheWeek-2z-ObNCZ.js → DaysOfTheWeek-CEKoAJSv.js} +7 -7
  74. package/dist/DaysOfTheWeek-CEKoAJSv.js.map +1 -0
  75. package/dist/DaysOfTheWeek.js +1 -1
  76. package/dist/{Details-ChZdA5Yo.js → Details-DVg0EOkv.js} +51 -3
  77. package/dist/Details-DVg0EOkv.js.map +1 -0
  78. package/dist/Details.js +1 -1
  79. package/dist/{Dialog-DzHVBIH3.js → Dialog-D6zpW-GE.js} +125 -4
  80. package/dist/Dialog-D6zpW-GE.js.map +1 -0
  81. package/dist/Dialog.js +1 -1
  82. package/dist/{Divider-Crum3dyV.js → Divider-CN36wX4s.js} +3 -2
  83. package/dist/Divider-CN36wX4s.js.map +1 -0
  84. package/dist/Divider.js +1 -1
  85. package/dist/Dnd.js +1 -1
  86. package/dist/{DndSort-D6o8LHzn.js → DndSort-Cl0FCNQm.js} +6 -6
  87. package/dist/{DndSort-D6o8LHzn.js.map → DndSort-Cl0FCNQm.js.map} +1 -1
  88. package/dist/DndSort.js +1 -1
  89. package/dist/Drawer-qb7Q0BAm.js +142 -0
  90. package/dist/Drawer-qb7Q0BAm.js.map +1 -0
  91. package/dist/Drawer.js +1 -1
  92. package/dist/{EditCard-Cz1Cn4A2.js → EditCard-C0hD1VPA.js} +7 -6
  93. package/dist/EditCard-C0hD1VPA.js.map +1 -0
  94. package/dist/EditCard.js +1 -1
  95. package/dist/{FieldMessage-CERWyhwG.js → FieldMessage-Cg3zcgk5.js} +2 -2
  96. package/dist/FieldMessage-Cg3zcgk5.js.map +1 -0
  97. package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js → FieldMessage-ChFXWVDb-loVSCnCM.js} +3 -3
  98. package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js.map → FieldMessage-ChFXWVDb-loVSCnCM.js.map} +1 -1
  99. package/dist/FieldMessage.js +1 -1
  100. package/dist/{Flex-EX9xObMl-BPBQ7nb5.js → Flex-CiK7uNUu-BfxHG4L0.js} +3 -3
  101. package/dist/{Flex-EX9xObMl-BPBQ7nb5.js.map → Flex-CiK7uNUu-BfxHG4L0.js.map} +1 -1
  102. package/dist/{Flex-DT1l-wJc.js → Flex-Ln6PmaDl.js} +3 -2
  103. package/dist/Flex-Ln6PmaDl.js.map +1 -0
  104. package/dist/Flex.js +1 -1
  105. package/dist/Grid-CMcDeSYT.js +33 -0
  106. package/dist/Grid-CMcDeSYT.js.map +1 -0
  107. package/dist/{Grid-BmNHm7Fa.js → Grid-DFAd8mTe.js} +2 -2
  108. package/dist/{Grid-BmNHm7Fa.js.map → Grid-DFAd8mTe.js.map} +1 -1
  109. package/dist/Grid.js +1 -1
  110. package/dist/{HammerProvider-BEJW4XcH-BBKdl0zs.js → HammerProvider-CYP98rq3-Dd9GVIyP.js} +3 -3
  111. package/dist/{HammerProvider-BEJW4XcH-BBKdl0zs.js.map → HammerProvider-CYP98rq3-Dd9GVIyP.js.map} +1 -1
  112. package/dist/Helper-C9sHaTrI-C5fAsK6i.js +46 -0
  113. package/dist/Helper-C9sHaTrI-C5fAsK6i.js.map +1 -0
  114. package/dist/Helper-C9sHaTrI.css +21 -0
  115. package/dist/{Icon-BrdmZw1i-CG-LzgEz.js → Icon-B6HmlQiR-BxQkO3X5.js} +3 -3
  116. package/dist/{Icon-BrdmZw1i-CG-LzgEz.js.map → Icon-B6HmlQiR-BxQkO3X5.js.map} +1 -1
  117. package/dist/{Icon-CcUV8glf.js → Icon-BgKqBmlj.js} +3 -2
  118. package/dist/Icon-BgKqBmlj.js.map +1 -0
  119. package/dist/Icon.js +1 -1
  120. package/dist/{InputMask-vaQYg_Vf.js → InputMask-DKPqOpHs.js} +3 -2
  121. package/dist/InputMask-DKPqOpHs.js.map +1 -0
  122. package/dist/InputMask-kJ-hlK0O-Ctwa0U7r.js +231 -0
  123. package/dist/InputMask-kJ-hlK0O-Ctwa0U7r.js.map +1 -0
  124. package/dist/InputMask.js +1 -1
  125. package/dist/Layout-CUUb2PVr.js.map +1 -1
  126. package/dist/{Link-K3nk4QAp.js → Link-DZa0wmkA.js} +3 -3
  127. package/dist/Link-DZa0wmkA.js.map +1 -0
  128. package/dist/{Link-CVN5Mwtx-B08PO1ef.js → Link-Dqp_XXl_-Bv20l_tY.js} +4 -4
  129. package/dist/{Link-CVN5Mwtx-B08PO1ef.js.map → Link-Dqp_XXl_-Bv20l_tY.js.map} +1 -1
  130. package/dist/Link.js +1 -1
  131. package/dist/{ListView-BBLIz8d_.js → ListView-0xHc5wT6.js} +87 -47
  132. package/dist/ListView-0xHc5wT6.js.map +1 -0
  133. package/dist/ListView.js +1 -1
  134. package/dist/{Listbox-DLlT8qbJ-BvhkfmIf.js → Listbox-BvJLSAVO-Br5k6fmq.js} +51 -10
  135. package/dist/Listbox-BvJLSAVO-Br5k6fmq.js.map +1 -0
  136. package/dist/Listbox-dVARiucB.js +67 -0
  137. package/dist/Listbox-dVARiucB.js.map +1 -0
  138. package/dist/Listbox.js +1 -1
  139. package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js} +2 -2
  140. package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js.map → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js.map} +1 -1
  141. package/dist/LocalizationProvider.js +1 -1
  142. package/dist/{Menu-DDBvbj8J.js → Menu-BAuADOyt.js} +60 -10
  143. package/dist/Menu-BAuADOyt.js.map +1 -0
  144. package/dist/Menu.js +1 -1
  145. package/dist/{Overflow-vc1mxjUD.js → Overflow-B6rIOkAI.js} +27 -2
  146. package/dist/Overflow-B6rIOkAI.js.map +1 -0
  147. package/dist/{Overflow-ENfRRD_5-DLHLZ02e.js → Overflow-BrXwlYpn-CtqaiNgb.js} +25 -4
  148. package/dist/Overflow-BrXwlYpn-CtqaiNgb.js.map +1 -0
  149. package/dist/Overflow.js +1 -1
  150. package/dist/{Page-BY98czM-.js → Page-CtwsyE3i.js} +165 -49
  151. package/dist/Page-CtwsyE3i.js.map +1 -0
  152. package/dist/Page.css +72 -72
  153. package/dist/Page.js +1 -1
  154. package/dist/Popover-Bnkwq99S.js +135 -0
  155. package/dist/Popover-Bnkwq99S.js.map +1 -0
  156. package/dist/{Popover-C31e7pyQ-BKY8Cu9r.js → Popover-VztF0YHt-ci3tYiye.js} +80 -8
  157. package/dist/Popover-VztF0YHt-ci3tYiye.js.map +1 -0
  158. package/dist/Popover.js +1 -1
  159. package/dist/{ProgressBar-D1zZ2s7L.js → ProgressBar-BotOFymw.js} +3 -2
  160. package/dist/ProgressBar-BotOFymw.js.map +1 -0
  161. package/dist/{ProgressBar-dl-MpiLN-CxX2edlK.js → ProgressBar-Cfi5zZRy-BpESsdh_.js} +202 -122
  162. package/dist/ProgressBar-Cfi5zZRy-BpESsdh_.js.map +1 -0
  163. package/dist/ProgressBar-Cfi5zZRy.css +671 -0
  164. package/dist/ProgressBar.js +1 -1
  165. package/dist/{Radio-DiKeatJz-CJv-wiPU.js → Radio-7U7IBI58-BDhdZJoC.js} +25 -5
  166. package/dist/Radio-7U7IBI58-BDhdZJoC.js.map +1 -0
  167. package/dist/Radio-D4rRt1a6.js +66 -0
  168. package/dist/Radio-D4rRt1a6.js.map +1 -0
  169. package/dist/Radio.js +1 -1
  170. package/dist/{SearchField-D3z4LjJg.js → SearchField-Bz4HPxCQ.js} +5 -4
  171. package/dist/SearchField-Bz4HPxCQ.js.map +1 -0
  172. package/dist/SearchField.js +1 -1
  173. package/dist/{SegmentedControl-D_ADGpVy.js → SegmentedControl-DKMQuf7s.js} +41 -2
  174. package/dist/SegmentedControl-DKMQuf7s.js.map +1 -0
  175. package/dist/SegmentedControl.js +1 -1
  176. package/dist/{SelectCard-DvQKJBNF-BtUX2vxS.js → SelectCard-B5EqtxOK-CpCgVjV8.js} +46 -17
  177. package/dist/SelectCard-B5EqtxOK-CpCgVjV8.js.map +1 -0
  178. package/dist/SelectCard.js +1 -1
  179. package/dist/SelectCardGroup-DsHZgCqA.js +49 -0
  180. package/dist/SelectCardGroup-DsHZgCqA.js.map +1 -0
  181. package/dist/{SideNav-C7wc1_JK.js → SideNav-DEoGpeqJ.js} +130 -10
  182. package/dist/SideNav-DEoGpeqJ.js.map +1 -0
  183. package/dist/SideNav.js +1 -1
  184. package/dist/Skeleton-COxTdwjO.js +398 -0
  185. package/dist/Skeleton-COxTdwjO.js.map +1 -0
  186. package/dist/Skeleton.js +1 -1
  187. package/dist/{Spinner-Bc5-_6pK.js → Spinner-C1r3COiQ.js} +2 -1
  188. package/dist/Spinner-C1r3COiQ.js.map +1 -0
  189. package/dist/Spinner.js +1 -1
  190. package/dist/SrOnly-C_I8eH4C.js.map +1 -1
  191. package/dist/{Stepper-M8VmWN_m.js → Stepper-CwIV7ZiT.js} +281 -6
  192. package/dist/Stepper-CwIV7ZiT.js.map +1 -0
  193. package/dist/Stepper.js +1 -1
  194. package/dist/{Switch-BbHIwrGc.js → Switch-Dd9tJFmG.js} +20 -10
  195. package/dist/Switch-Dd9tJFmG.js.map +1 -0
  196. package/dist/Switch.css +23 -24
  197. package/dist/Switch.js +1 -1
  198. package/dist/{Tab-DcOQTX5Z.js → Tab-BSC7e4rM.js} +127 -10
  199. package/dist/Tab-BSC7e4rM.js.map +1 -0
  200. package/dist/Tab.js +1 -1
  201. package/dist/{Text-BDYfD8j4.js → Text-B91g6xKn.js} +3 -2
  202. package/dist/Text-B91g6xKn.js.map +1 -0
  203. package/dist/{Text-CN_-FF7J-Dzoy8A70.js → Text-DCvcLCvf-DlmnnjTR.js} +3 -3
  204. package/dist/{Text-CN_-FF7J-Dzoy8A70.js.map → Text-DCvcLCvf-DlmnnjTR.js.map} +1 -1
  205. package/dist/Text.js +1 -1
  206. package/dist/{TextField-BgHGtMb-.js → TextField-BYyyw3m2.js} +3 -2
  207. package/dist/{TextField-BgHGtMb-.js.map → TextField-BYyyw3m2.js.map} +1 -1
  208. package/dist/{TextField-D4HFeTaC-DBJfcnz7.js → TextField-CGJtMoil-CJqYM83o.js} +4 -3
  209. package/dist/TextField-CGJtMoil-CJqYM83o.js.map +1 -0
  210. package/dist/TextField.js +1 -1
  211. package/dist/{Textarea-R3cktsYz.js → Textarea-AczEXhHB.js} +5 -3
  212. package/dist/Textarea-AczEXhHB.js.map +1 -0
  213. package/dist/Textarea.js +1 -1
  214. package/dist/{ThemeProvider-D2x18Y1l.js → ThemeProvider-BKave7Ha.js} +2 -2
  215. package/dist/{ThemeProvider-D2x18Y1l.js.map → ThemeProvider-BKave7Ha.js.map} +1 -1
  216. package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js → ThemeProvider-CR67FJg0-DYVRlJRA.js} +3 -3
  217. package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js.map → ThemeProvider-CR67FJg0-DYVRlJRA.js.map} +1 -1
  218. package/dist/ThemeProvider.js +1 -1
  219. package/dist/Toast.js +1 -1
  220. package/dist/{Toolbar-BePAKdaW.js → Toolbar-Cu3u0TRX.js} +191 -22
  221. package/dist/Toolbar-Cu3u0TRX.js.map +1 -0
  222. package/dist/Toolbar.css +18 -28
  223. package/dist/Toolbar.js +1 -1
  224. package/dist/Tooltip-BL_bgvwA.js +73 -0
  225. package/dist/Tooltip-BL_bgvwA.js.map +1 -0
  226. package/dist/Tooltip.js +1 -1
  227. package/dist/assets/icons/st/column_editor.svg +1 -1
  228. package/dist/assets/icons/st/insurance_work_queue.svg +1 -0
  229. package/dist/assets/icons/st/production_work_queue.svg +1 -0
  230. package/dist/assets/icons/st.ts +2 -0
  231. package/dist/components/Alert/Alert.d.ts +37 -0
  232. package/dist/components/Announcement/Announcement.d.ts +37 -0
  233. package/dist/components/Avatar/Avatar.d.ts +73 -0
  234. package/dist/components/Badge/Badge.d.ts +27 -0
  235. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +39 -0
  236. package/dist/components/Button/Button.d.ts +28 -0
  237. package/dist/components/ButtonCompound/ButtonCompound.d.ts +24 -0
  238. package/dist/components/ButtonLink/ButtonLink.d.ts +30 -0
  239. package/dist/components/ButtonToggle/ButtonToggle.d.ts +32 -0
  240. package/dist/components/Calendar/Calendar.d.ts +114 -0
  241. package/dist/components/Card/Card.d.ts +24 -0
  242. package/dist/components/Checkbox/Checkbox.d.ts +77 -0
  243. package/dist/components/Chip/Chip.d.ts +34 -0
  244. package/dist/components/Combobox/Combobox.d.ts +442 -2
  245. package/dist/components/DateField/DateField.d.ts +65 -0
  246. package/dist/components/DaysOfTheWeek/DaysOfTheWeek.d.ts +44 -6
  247. package/dist/components/Details/Details.d.ts +68 -0
  248. package/dist/components/Dialog/Dialog.d.ts +178 -0
  249. package/dist/components/Divider/Divider.d.ts +24 -0
  250. package/dist/components/Drawer/Drawer.d.ts +200 -0
  251. package/dist/components/EditCard/EditCard.d.ts +50 -0
  252. package/dist/components/FieldMessage/FieldMessage.d.ts +31 -0
  253. package/dist/components/Flex/Flex.d.ts +48 -0
  254. package/dist/components/Grid/Grid.d.ts +74 -0
  255. package/dist/components/Icon/Icon.d.ts +39 -0
  256. package/dist/components/InputMask/InputMask.d.ts +57 -0
  257. package/dist/components/Layout/Layout.d.ts +131 -0
  258. package/dist/components/Link/Link.d.ts +47 -0
  259. package/dist/components/ListView/ListView.d.ts +85 -0
  260. package/dist/components/Listbox/Listbox.d.ts +124 -0
  261. package/dist/components/Menu/Menu.d.ts +85 -1
  262. package/dist/components/Overflow/Overflow.d.ts +84 -0
  263. package/dist/components/Page/Page.d.ts +443 -0
  264. package/dist/components/Popover/Popover.d.ts +268 -0
  265. package/dist/components/ProgressBar/ProgressBar.d.ts +52 -0
  266. package/dist/components/Radio/Radio.d.ts +121 -0
  267. package/dist/components/SearchField/SearchField.d.ts +37 -0
  268. package/dist/components/SegmentedControl/SegmentedControl.d.ts +98 -0
  269. package/dist/components/SelectCard/SelectCard.d.ts +60 -0
  270. package/dist/components/SelectCard/SelectCardGroup.d.ts +37 -0
  271. package/dist/components/SideNav/SideNav.d.ts +192 -2
  272. package/dist/components/SideNav/SideNavProvider.d.ts +30 -0
  273. package/dist/components/Skeleton/Skeleton.d.ts +130 -0
  274. package/dist/components/Spinner/Spinner.d.ts +25 -0
  275. package/dist/components/SrOnly/SrOnly.d.ts +19 -0
  276. package/dist/components/Stepper/Stepper.d.ts +335 -0
  277. package/dist/components/Switch/Switch.d.ts +33 -0
  278. package/dist/components/Tab/Tab.d.ts +152 -0
  279. package/dist/components/Text/Text.d.ts +37 -0
  280. package/dist/components/Textarea/Textarea.d.ts +50 -0
  281. package/dist/components/Toast/Toaster.d.ts +43 -0
  282. package/dist/components/Toast/toast.d.ts +31 -0
  283. package/dist/components/Toolbar/Toolbar.d.ts +251 -0
  284. package/dist/components/Tooltip/Tooltip.d.ts +123 -0
  285. package/dist/{floating-ui.react-Domgunz0.js → floating-ui.react-BFNinq1w.js} +2 -2
  286. package/dist/{floating-ui.react-Domgunz0.js.map → floating-ui.react-BFNinq1w.js.map} +1 -1
  287. package/dist/hooks/useSize/index.d.ts +15 -0
  288. package/dist/hooks/useTrackingId/index.d.ts +19 -0
  289. package/dist/{index-CyGNSK4Y-Dv0IKCva.js → index-CKfiQx8n-4nziUo7G.js} +4 -4
  290. package/dist/{index-CyGNSK4Y-Dv0IKCva.js.map → index-CKfiQx8n-4nziUo7G.js.map} +1 -1
  291. package/dist/index.js +57 -57
  292. package/dist/{toast-BUVHNidk.js → toast-B39L6vJ0.js} +3 -3
  293. package/dist/toast-B39L6vJ0.js.map +1 -0
  294. package/dist/{useLayoutPropsUtil-GT5myWCm-Clw_nEze.js → useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js} +6 -4
  295. package/dist/useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js.map +1 -0
  296. package/dist/useLinkStyles.js +1 -1
  297. package/dist/useSize.js.map +1 -1
  298. package/dist/{useSwipe-DIUHs7T5-DIUHs7T5.js → useSwipe-CULmVQEk-CULmVQEk.js} +2 -2
  299. package/dist/useSwipe-CULmVQEk-CULmVQEk.js.map +1 -0
  300. package/dist/useSwipe.js +1 -1
  301. package/dist/useTrackingId.js.map +1 -1
  302. package/package.json +3 -2
  303. package/dist/Alert-DwdMxzH0.js.map +0 -1
  304. package/dist/Announcement-CiHTmcmB.js.map +0 -1
  305. package/dist/Avatar-C2IfIAxL-BUio7c00.js.map +0 -1
  306. package/dist/Avatar-DYCN2A_l.js +0 -20
  307. package/dist/Avatar-DYCN2A_l.js.map +0 -1
  308. package/dist/Breadcrumbs-BP5QXVje.js.map +0 -1
  309. package/dist/Button-CPyDYPAg.js.map +0 -1
  310. package/dist/Button.module-D8SjARtW-D8SjARtW.js +0 -25
  311. package/dist/Button.module-D8SjARtW-D8SjARtW.js.map +0 -1
  312. package/dist/ButtonCompound-CZn9FsxS.js.map +0 -1
  313. package/dist/ButtonLink-B_tyWgz5-fw-d4WQs.js.map +0 -1
  314. package/dist/ButtonLink-T1aDDrwY.js.map +0 -1
  315. package/dist/ButtonToggle-5RNkPmop.js.map +0 -1
  316. package/dist/Calendar-CdlkJi-V.js +0 -57
  317. package/dist/Calendar-CdlkJi-V.js.map +0 -1
  318. package/dist/Card-DgxiRqS_.js.map +0 -1
  319. package/dist/Checkbox-DEAra-BQ-bF-q1M2I.js.map +0 -1
  320. package/dist/Checkbox-eAxcQnNg.js.map +0 -1
  321. package/dist/Chip-BQ58RQ3v.js.map +0 -1
  322. package/dist/Combobox-CKmh6XXv.js.map +0 -1
  323. package/dist/DateField-CPJzhs_q.js.map +0 -1
  324. package/dist/DaysOfTheWeek-2z-ObNCZ.js.map +0 -1
  325. package/dist/Details-ChZdA5Yo.js.map +0 -1
  326. package/dist/Dialog-DzHVBIH3.js.map +0 -1
  327. package/dist/Divider-Crum3dyV.js.map +0 -1
  328. package/dist/Drawer-ohNSRGI4.js +0 -66
  329. package/dist/Drawer-ohNSRGI4.js.map +0 -1
  330. package/dist/EditCard-Cz1Cn4A2.js.map +0 -1
  331. package/dist/FieldMessage-CERWyhwG.js.map +0 -1
  332. package/dist/Flex-DT1l-wJc.js.map +0 -1
  333. package/dist/Grid-h9VbEjJe.js +0 -14
  334. package/dist/Grid-h9VbEjJe.js.map +0 -1
  335. package/dist/Icon-CcUV8glf.js.map +0 -1
  336. package/dist/InputMask-B2_O_tIf-BMv7gEby.js +0 -323
  337. package/dist/InputMask-B2_O_tIf-BMv7gEby.js.map +0 -1
  338. package/dist/InputMask-vaQYg_Vf.js.map +0 -1
  339. package/dist/Link-K3nk4QAp.js.map +0 -1
  340. package/dist/ListView-BBLIz8d_.js.map +0 -1
  341. package/dist/Listbox-36Mda5DS.js +0 -37
  342. package/dist/Listbox-36Mda5DS.js.map +0 -1
  343. package/dist/Listbox-DLlT8qbJ-BvhkfmIf.js.map +0 -1
  344. package/dist/Menu-DDBvbj8J.js.map +0 -1
  345. package/dist/Overflow-ENfRRD_5-DLHLZ02e.js.map +0 -1
  346. package/dist/Overflow-vc1mxjUD.js.map +0 -1
  347. package/dist/Page-BY98czM-.js.map +0 -1
  348. package/dist/Popover-C31e7pyQ-BKY8Cu9r.js.map +0 -1
  349. package/dist/Popover-D9YlXxdx.js +0 -56
  350. package/dist/Popover-D9YlXxdx.js.map +0 -1
  351. package/dist/ProgressBar-D1zZ2s7L.js.map +0 -1
  352. package/dist/ProgressBar-dl-MpiLN-CxX2edlK.js.map +0 -1
  353. package/dist/ProgressBar-dl-MpiLN.css +0 -665
  354. package/dist/Radio-DiKeatJz-CJv-wiPU.js.map +0 -1
  355. package/dist/Radio-DmKsVmvI.js +0 -34
  356. package/dist/Radio-DmKsVmvI.js.map +0 -1
  357. package/dist/SearchField-D3z4LjJg.js.map +0 -1
  358. package/dist/SegmentedControl-D_ADGpVy.js.map +0 -1
  359. package/dist/SelectCard-DvQKJBNF-BtUX2vxS.js.map +0 -1
  360. package/dist/SelectCardGroup-BMtIW3Er.js +0 -21
  361. package/dist/SelectCardGroup-BMtIW3Er.js.map +0 -1
  362. package/dist/SideNav-C7wc1_JK.js.map +0 -1
  363. package/dist/Skeleton-CdzDKQi4.js +0 -215
  364. package/dist/Skeleton-CdzDKQi4.js.map +0 -1
  365. package/dist/Spinner-Bc5-_6pK.js.map +0 -1
  366. package/dist/Stepper-M8VmWN_m.js.map +0 -1
  367. package/dist/Switch-BbHIwrGc.js.map +0 -1
  368. package/dist/Tab-DcOQTX5Z.js.map +0 -1
  369. package/dist/Text-BDYfD8j4.js.map +0 -1
  370. package/dist/TextField-D4HFeTaC-DBJfcnz7.js.map +0 -1
  371. package/dist/Textarea-R3cktsYz.js.map +0 -1
  372. package/dist/Toolbar-BePAKdaW.js.map +0 -1
  373. package/dist/Tooltip-CFKD9Xsq.js +0 -34
  374. package/dist/Tooltip-CFKD9Xsq.js.map +0 -1
  375. package/dist/toast-BUVHNidk.js.map +0 -1
  376. package/dist/useLayoutPropsUtil-GT5myWCm-Clw_nEze.js.map +0 -1
  377. package/dist/useSwipe-DIUHs7T5-DIUHs7T5.js.map +0 -1
  378. /package/dist/{Alert-BNbD8EQd.css → Alert-C3WoRkeN.css} +0 -0
  379. /package/dist/{Avatar-C2IfIAxL.css → Avatar-B20IdOEO.css} +0 -0
  380. /package/dist/{Calendar-ccK3_s_h.css → Calendar-CohGSWFp.css} +0 -0
  381. /package/dist/{Card-BNT0qpxt.css → Card-ZknG-yim.css} +0 -0
  382. /package/dist/{Chip-DwiMFYBm.css → Chip-_daV8CmM.css} +0 -0
  383. /package/dist/{FieldMessage-Js4e1ezw.css → FieldMessage-ChFXWVDb.css} +0 -0
  384. /package/dist/{Flex-EX9xObMl.css → Flex-CiK7uNUu.css} +0 -0
  385. /package/dist/{Icon-BrdmZw1i.css → Icon-B6HmlQiR.css} +0 -0
  386. /package/dist/{Link-CVN5Mwtx.css → Link-Dqp_XXl_.css} +0 -0
  387. /package/dist/{Overflow-ENfRRD_5.css → Overflow-BrXwlYpn.css} +0 -0
  388. /package/dist/{Popover-C31e7pyQ.css → Popover-VztF0YHt.css} +0 -0
  389. /package/dist/{Radio-DiKeatJz.css → Radio-7U7IBI58.css} +0 -0
  390. /package/dist/{SelectCard-DvQKJBNF.css → SelectCard-B5EqtxOK.css} +0 -0
  391. /package/dist/{Text-CN_-FF7J.css → Text-DCvcLCvf.css} +0 -0
  392. /package/dist/{ThemeProvider-BIeaAmWx.css → ThemeProvider-CR67FJg0.css} +0 -0
  393. /package/dist/{index-CyGNSK4Y.css → index-CKfiQx8n.css} +0 -0
@@ -1,21 +1,289 @@
1
1
  import { PopoverProps as CorePopoverProps, PopoverTriggerProps as CorePopoverTriggerProps, PopoverContentProps as CorePopoverContentProps, PopoverCloseProps as CorePopoverCloseProps, PopoverButtonProps as CorePopoverButtonProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Popover component
5
+ * @property {ReactNode} [children] - The content to be rendered inside the popover
6
+ * @property {string} [id] - Unique identifier for the popover
7
+ * @property {boolean} [modal] - Whether the popover should be modal (traps focus)
8
+ * @property {boolean} [openOnHover] - Changes interaction to use hover instead of click
9
+ * @property {boolean} [fillAvailableHeight] - Changes height and positioning for select/combobox
10
+ * @property {number | string} [maxHeight] - Maximum height of the popover content
11
+ * @property {boolean} [fitScreen] - Whether the popover should fit within the screen bounds
12
+ * @property {number | string} [minHeight] - Minimum height of the popover content
13
+ * @property {boolean} [matchReferenceWidth] - Whether the popover width should match the trigger element
14
+ * @property {boolean} [fixedWidth] - Whether the popover should have a fixed width
15
+ * @property {string} [placement] - Placement of the popover relative to the trigger
16
+ * @property {boolean} [open] - Controlled open state
17
+ * @property {boolean} [defaultOpen] - Default open state for uncontrolled mode
18
+ * @property {Function} [onOpenChange] - Callback when open state changes
19
+ * @property {Function} [onOutsidePress] - Callback when clicking outside the popover
20
+ * @property {Function} [onClose] - Fires when the floating element is requested to be closed
21
+ * @property {boolean} [disableCaret] - Whether to disable the caret/arrow indicator
22
+ * @property {boolean} [noPadding] - Whether to remove default padding from content
23
+ * @property {boolean} [disableAutoUpdate] - Whether to disable automatic position updates
24
+ * @property {boolean} [disableTriggerFocus] - Whether to disable focus on the trigger element
25
+ * @property {number} [delay] - Delay before opening the popover (for hover mode)
26
+ * @property {boolean} [disableCloseOnClickOutside] - Whether to disable closing on outside click
27
+ * @property {boolean} [disableCloseOnEscape] - Whether to disable closing on escape key
28
+ */
3
29
  export type PopoverProps = CorePopoverProps;
30
+ /**
31
+ * Props for the PopoverTrigger component
32
+ * @property {Function} children - Render function that receives trigger props and returns a React element
33
+ */
4
34
  export type PopoverTriggerProps = CorePopoverTriggerProps & DataTrackingId;
35
+ /**
36
+ * Props for the PopoverContent component
37
+ * @property {ReactNode} [children] - The content to be displayed in the popover
38
+ * @property {RefObject<HTMLDivElement>} [scrollerRef] - Reference to the scrollable content area
39
+ */
5
40
  export type PopoverContentProps = CorePopoverContentProps;
41
+ /**
42
+ * Props for the PopoverClose component
43
+ * @property {ReactNode} [children] - The close button content
44
+ * @property {string} [appearance] - The button appearance
45
+ * @property {string} [size] - The button size
46
+ * @property {string} [type] - The button type
47
+ * @property {Function} [onClick] - Click handler for the close button
48
+ */
6
49
  export type PopoverCloseProps = CorePopoverCloseProps & DataTrackingId;
50
+ /**
51
+ * Props for the PopoverButton component
52
+ * @property {ReactNode} [children] - The button content
53
+ * @property {string} [appearance] - The button appearance
54
+ * @property {string} [icon] - The button icon
55
+ * @property {string} [size] - The button size
56
+ * @property {string} [type] - The button type
57
+ * @property {Function} [onClick] - Click handler for the button
58
+ */
7
59
  export type PopoverButtonProps = CorePopoverButtonProps & DataTrackingId;
60
+ /**
61
+ * PopoverTrigger component for creating custom trigger elements.
62
+ *
63
+ * Features:
64
+ * - Supports custom trigger elements via render prop pattern
65
+ * - Automatic focus management and keyboard interaction
66
+ * - Hover and click event handling
67
+ * - Accessibility attributes (aria-haspopup, aria-expanded, aria-details)
68
+ * - Legacy popover support with fallback
69
+ * - Context integration with parent popover
70
+ * - Automatic tracking ID generation for analytics
71
+ *
72
+ * @example
73
+ * <Popover>
74
+ * <Popover.Trigger>
75
+ * {(props) => (
76
+ * <button {...props}>
77
+ * Click to open popover
78
+ * </button>
79
+ * )}
80
+ * </Popover.Trigger>
81
+ * <Popover.Content>
82
+ * <p>Content here</p>
83
+ * </Popover.Content>
84
+ * </Popover>
85
+ */
8
86
  export declare function PopoverTrigger(props: PopoverTriggerProps): import("react/jsx-runtime").JSX.Element;
87
+ /**
88
+ * PopoverContent component for the main popover content area.
89
+ *
90
+ * Features:
91
+ * - Automatic positioning and sizing based on trigger
92
+ * - Screen boundary detection and fitting
93
+ * - Scroll handling with custom scroller reference
94
+ * - Focus management and keyboard navigation
95
+ * - Hover interaction support for tooltip mode
96
+ * - Escape key handling for closing
97
+ * - Tab key trapping for modal popovers
98
+ * - Arrow/caret indicator with automatic positioning
99
+ * - Legacy popover support with fallback
100
+ * - Context integration with parent popover
101
+ * - Accessibility support with proper ARIA roles
102
+ *
103
+ * @example
104
+ * <Popover>
105
+ * <Popover.Button>Click to open</Popover.Button>
106
+ * <Popover.Content>
107
+ * <p>This is the popover content</p>
108
+ * <Popover.Close>Close</Popover.Close>
109
+ * </Popover.Content>
110
+ * </Popover>
111
+ */
9
112
  export declare const PopoverContent: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "popover"> & {
10
113
  scrollerRef?: import('react').RefObject<HTMLDivElement>;
11
114
  } & import('react').RefAttributes<HTMLDivElement>>;
115
+ /**
116
+ * PopoverClose component for closing the popover.
117
+ *
118
+ * Features:
119
+ * - Automatic popover closing on click
120
+ * - Supports all Button component props and styling
121
+ * - Controlled and uncontrolled mode support
122
+ * - Legacy popover support with fallback
123
+ * - Context integration with parent popover
124
+ * - Accessibility support with proper button semantics
125
+ * - Delayed closing for controlled mode
126
+ * - Automatic tracking ID generation for analytics
127
+ *
128
+ * @example
129
+ * <Popover>
130
+ * <Popover.Button>Click to open</Popover.Button>
131
+ * <Popover.Content>
132
+ * <p>Content here</p>
133
+ * <Popover.Close>Close</Popover.Close>
134
+ * </Popover.Content>
135
+ * </Popover>
136
+ */
12
137
  export declare const PopoverClose: import('react').ForwardRefExoticComponent<PopoverCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
138
+ /**
139
+ * PopoverButton component for creating button-style triggers.
140
+ *
141
+ * Features:
142
+ * - Button styling and behavior with all Button props
143
+ * - Automatic popover opening on click
144
+ * - Hover interaction support for tooltip mode
145
+ * - Focus management and keyboard navigation
146
+ * - Accessibility attributes (aria-haspopup, aria-expanded, aria-details)
147
+ * - Legacy popover support with fallback
148
+ * - Context integration with parent popover
149
+ * - Event handling for mouse, keyboard, and focus events
150
+ * - Automatic tracking ID generation for analytics
151
+ *
152
+ * @example
153
+ * <Popover>
154
+ * <Popover.Button>Click to open</Popover.Button>
155
+ * <Popover.Content>
156
+ * <p>Content here</p>
157
+ * </Popover.Content>
158
+ * </Popover>
159
+ */
13
160
  export declare const PopoverButton: import('react').ForwardRefExoticComponent<PopoverButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
161
+ /**
162
+ * Popover component for displaying floating content relative to a trigger element.
163
+ *
164
+ * Features:
165
+ * - Supports both controlled and uncontrolled modes
166
+ * - Automatic positioning with fallback strategies
167
+ * - Hover and click interaction modes
168
+ * - Modal and non-modal variants
169
+ * - Custom trigger elements
170
+ * - Automatic height and width management
171
+ * - Screen boundary detection and fitting
172
+ * - Keyboard navigation and accessibility
173
+ * - Popover API support with legacy fallback
174
+ * - Outside click detection and handling
175
+ * - Focus management and trapping
176
+ * - Arrow/caret indicators
177
+ * - Delay support for hover interactions
178
+ * - Automatic tracking ID generation for analytics
179
+ *
180
+ * @example
181
+ * <Popover>
182
+ * <Popover.Button>Click to open</Popover.Button>
183
+ * <Popover.Content>
184
+ * <p>This is the popover content</p>
185
+ * <Popover.Close>Close</Popover.Close>
186
+ * </Popover.Content>
187
+ * </Popover>
188
+ *
189
+ * @example
190
+ * <Popover openOnHover delay={1000}>
191
+ * <Popover.Button>Hover to open</Popover.Button>
192
+ * <Popover.Content>Tooltip content</Popover.Content>
193
+ * </Popover>
194
+ *
195
+ * @example
196
+ * <Popover modal>
197
+ * <Popover.Trigger>
198
+ * {(props) => <button {...props}>Custom trigger</button>}
199
+ * </Popover.Trigger>
200
+ * <Popover.Content>
201
+ * <TextField label="Form field" />
202
+ * <Popover.Close>Done</Popover.Close>
203
+ * </Popover.Content>
204
+ * </Popover>
205
+ */
14
206
  export declare const Popover: ((props: PopoverProps) => import("react/jsx-runtime").JSX.Element) & {
207
+ /**
208
+ * PopoverTrigger component for creating custom trigger elements.
209
+ *
210
+ * Features:
211
+ * - Supports custom trigger elements via render prop pattern
212
+ * - Automatic focus management and keyboard interaction
213
+ * - Hover and click event handling
214
+ * - Accessibility attributes (aria-haspopup, aria-expanded, aria-details)
215
+ * - Legacy popover support with fallback
216
+ * - Context integration with parent popover
217
+ * - Automatic tracking ID generation for analytics
218
+ *
219
+ * @example
220
+ * <Popover.Trigger>
221
+ * {(props) => (
222
+ * <button {...props}>
223
+ * Click to open popover
224
+ * </button>
225
+ * )}
226
+ * </Popover.Trigger>
227
+ */
15
228
  Trigger: typeof PopoverTrigger;
229
+ /**
230
+ * PopoverContent component for the main popover content area.
231
+ *
232
+ * Features:
233
+ * - Automatic positioning and sizing based on trigger
234
+ * - Screen boundary detection and fitting
235
+ * - Scroll handling with custom scroller reference
236
+ * - Focus management and keyboard navigation
237
+ * - Hover interaction support for tooltip mode
238
+ * - Escape key handling for closing
239
+ * - Tab key trapping for modal popovers
240
+ * - Arrow/caret indicator with automatic positioning
241
+ * - Legacy popover support with fallback
242
+ * - Context integration with parent popover
243
+ * - Accessibility support with proper ARIA roles
244
+ *
245
+ * @example
246
+ * <Popover.Content>
247
+ * <p>This is the popover content</p>
248
+ * <Popover.Close>Close</Popover.Close>
249
+ * </Popover.Content>
250
+ */
16
251
  Content: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "popover"> & {
17
252
  scrollerRef?: import('react').RefObject<HTMLDivElement>;
18
253
  } & import('react').RefAttributes<HTMLDivElement>>;
254
+ /**
255
+ * PopoverClose component for closing the popover.
256
+ *
257
+ * Features:
258
+ * - Automatic popover closing on click
259
+ * - Supports all Button component props and styling
260
+ * - Controlled and uncontrolled mode support
261
+ * - Legacy popover support with fallback
262
+ * - Context integration with parent popover
263
+ * - Accessibility support with proper button semantics
264
+ * - Delayed closing for controlled mode
265
+ * - Automatic tracking ID generation for analytics
266
+ *
267
+ * @example
268
+ * <Popover.Close>Close</Popover.Close>
269
+ */
19
270
  Close: import('react').ForwardRefExoticComponent<PopoverCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
271
+ /**
272
+ * PopoverButton component for creating button-style triggers.
273
+ *
274
+ * Features:
275
+ * - Button styling and behavior with all Button props
276
+ * - Automatic popover opening on click
277
+ * - Hover interaction support for tooltip mode
278
+ * - Focus management and keyboard navigation
279
+ * - Accessibility attributes (aria-haspopup, aria-expanded, aria-details)
280
+ * - Legacy popover support with fallback
281
+ * - Context integration with parent popover
282
+ * - Event handling for mouse, keyboard, and focus events
283
+ * - Automatic tracking ID generation for analytics
284
+ *
285
+ * @example
286
+ * <Popover.Button>Click to open</Popover.Button>
287
+ */
20
288
  Button: import('react').ForwardRefExoticComponent<PopoverButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
21
289
  };
@@ -1,3 +1,55 @@
1
1
  import { ProgressBarProps as CoreProgressBarProps } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the ProgressBar component
4
+ * @property {ReactElement | string | boolean} [error] - Error state or error message to display
5
+ * @property {string} [errorAriaLive] - ARIA live region setting for error announcements
6
+ * @property {string} [description] - Description text to display below the progress bar
7
+ * @property {string} [label] - Label text for the progress bar
8
+ * @property {object} [labelProps] - Additional props for the label component
9
+ * @property {string} [aria-label] - Accessible label for the progress bar (alternative to label)
10
+ * @property {string} [aria-labelledby] - ID of element that labels the progress bar (alternative to label)
11
+ * @property {string | number} [value] - Current progress value (0-100 or 0-max)
12
+ * @property {boolean} [indeterminate] - Whether the progress bar is in indeterminate state
13
+ * @property {number} [max] - Maximum value for the progress bar
14
+ * @extends Omit<ComponentPropsWithoutRef<"progress">, "value">
15
+ * @extends LayoutUtilProps
16
+ */
2
17
  export type ProgressBarProps = CoreProgressBarProps;
18
+ /**
19
+ * ProgressBar component for displaying progress indicators.
20
+ *
21
+ * Features:
22
+ * - Supports both determinate and indeterminate progress states
23
+ * - Optional label with customizable label props
24
+ * - Error state with error message display
25
+ * - Success state with check icon when value equals max
26
+ * - Description text support
27
+ * - Accessibility support with proper ARIA attributes
28
+ * - Layout utility props for positioning and spacing
29
+ * - Automatic tracking ID generation for analytics
30
+ * - Flexible labeling options (label, aria-label, aria-labelledby)
31
+ * - Error and success visual indicators
32
+ *
33
+ * @example
34
+ * <ProgressBar
35
+ * label="Upload Progress"
36
+ * value={75}
37
+ * max={100}
38
+ * description="Uploading files..."
39
+ * />
40
+ *
41
+ * @example
42
+ * <ProgressBar
43
+ * label="Processing"
44
+ * indeterminate
45
+ * description="Please wait..."
46
+ * />
47
+ *
48
+ * @example
49
+ * <ProgressBar
50
+ * aria-label="Download progress"
51
+ * value={50}
52
+ * error="Download failed"
53
+ * />
54
+ */
3
55
  export declare const ProgressBar: import('react').ForwardRefExoticComponent<CoreProgressBarProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,12 +1,133 @@
1
1
  import { RadioProps as CoreRadioProps, RadioGroupProps as CoreRadioGroupProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the Radio component
5
+ * @property {boolean} [checked] - Controlled state
6
+ * @property {boolean} [defaultChecked] - Uncontrolled state
7
+ * @property {Function} [onChange] - Callback when radio is changed
8
+ * @property {ReactElement | string} [label] - Label for Radio
9
+ * @property {boolean} [error] - Error state for the radio
10
+ * @property {object} [icons] - Icon overrides for checked and unchecked states
11
+ * @property {string} [description] - Description text to display below the radio
12
+ * @property {string} [aria-label] - Accessible label for the radio
13
+ * @property {string} [aria-labelledby] - ID of element that labels the radio
14
+ * @property {string} [name] - Name attribute for the radio
15
+ * @property {string} [data-tracking-id] - Custom tracking ID for analytics
16
+ * @extends DataTrackingId
17
+ */
3
18
  export type RadioProps = Omit<CoreRadioProps, "hideRadio"> & DataTrackingId;
19
+ /**
20
+ * Props for the RadioGroup component
21
+ * @property {string | ReactElement} [legend] - Legend for the fieldset
22
+ * @property {boolean} [required] - Required flag for label
23
+ * @property {string} [moreInfo] - Additional information for the group
24
+ */
4
25
  export type RadioGroupProps = CoreRadioGroupProps;
26
+ /**
27
+ * RadioGroup component for grouping related radio options.
28
+ *
29
+ * Features:
30
+ * - Groups multiple radio options together
31
+ * - Legend support for group labeling
32
+ * - Required field indication
33
+ * - Accessibility support with proper fieldset semantics
34
+ * - Layout utility props for positioning and spacing
35
+ * - Focus and blur event handling
36
+ * - More info support for additional context
37
+ * - Automatic alignment based on flex direction
38
+ *
39
+ * @example
40
+ * <RadioGroup legend="Choose your preference" required>
41
+ * <Radio label="Option A" value="a" />
42
+ * <Radio label="Option B" value="b" />
43
+ * <Radio label="Option C" value="c" />
44
+ * </RadioGroup>
45
+ *
46
+ * @example
47
+ * <RadioGroup
48
+ * legend="Horizontal layout"
49
+ * flexDirection="row"
50
+ * gap="4"
51
+ * >
52
+ * <Radio label="Yes" value="yes" />
53
+ * <Radio label="No" value="no" />
54
+ * </RadioGroup>
55
+ */
5
56
  export declare const RadioGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & Omit<import('@servicetitan/hammer-react').FieldLabelProps, "labelProps"> & {
6
57
  required?: boolean;
7
58
  legend?: string | import('react').ReactElement;
8
59
  } & import('react').RefAttributes<HTMLFieldSetElement>>;
60
+ /**
61
+ * Radio component for single selection from a group of options.
62
+ *
63
+ * Features:
64
+ * - Supports both controlled and uncontrolled modes
65
+ * - Customizable icons for checked and unchecked states
66
+ * - Error state with visual indicators
67
+ * - Description text support
68
+ * - Accessibility support with proper ARIA attributes
69
+ * - Layout utility props for positioning and spacing
70
+ * - Flexible labeling options
71
+ * - Group support via Radio.Group
72
+ * - Automatic tracking ID generation for analytics
73
+ *
74
+ * @example
75
+ * <Radio
76
+ * label="Option 1"
77
+ * value="option1"
78
+ * checked={selectedValue === "option1"}
79
+ * onChange={(e, state) => setSelectedValue(state?.value)}
80
+ * />
81
+ *
82
+ * @example
83
+ * <Radio
84
+ * label="Custom styled option"
85
+ * value="custom"
86
+ * icons={{
87
+ * checked: CustomCheckedIcon,
88
+ * unchecked: CustomUncheckedIcon
89
+ * }}
90
+ * description="This option has custom styling"
91
+ * />
92
+ *
93
+ * @example
94
+ * <Radio.Group legend="Choose your preference" required>
95
+ * <Radio label="Option A" value="a" />
96
+ * <Radio label="Option B" value="b" />
97
+ * <Radio label="Option C" value="c" />
98
+ * </Radio.Group>
99
+ */
9
100
  export declare const Radio: import('react').ForwardRefExoticComponent<Omit<CoreRadioProps, "hideRadio"> & DataTrackingId & import('react').RefAttributes<HTMLInputElement>> & {
101
+ /**
102
+ * RadioGroup component for grouping related radio options.
103
+ *
104
+ * Features:
105
+ * - Groups multiple radio options together
106
+ * - Legend support for group labeling
107
+ * - Required field indication
108
+ * - Accessibility support with proper fieldset semantics
109
+ * - Layout utility props for positioning and spacing
110
+ * - Focus and blur event handling
111
+ * - More info support for additional context
112
+ * - Automatic alignment based on flex direction
113
+ *
114
+ * @example
115
+ * <RadioGroup legend="Choose your preference" required>
116
+ * <Radio label="Option A" value="a" />
117
+ * <Radio label="Option B" value="b" />
118
+ * <Radio label="Option C" value="c" />
119
+ * </RadioGroup>
120
+ *
121
+ * @example
122
+ * <RadioGroup
123
+ * legend="Horizontal layout"
124
+ * flexDirection="row"
125
+ * gap="4"
126
+ * >
127
+ * <Radio label="Yes" value="yes" />
128
+ * <Radio label="No" value="no" />
129
+ * </RadioGroup>
130
+ */
10
131
  Group: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & Omit<import('@servicetitan/hammer-react').FieldLabelProps, "labelProps"> & {
11
132
  required?: boolean;
12
133
  legend?: string | import('react').ReactElement;
@@ -1,6 +1,43 @@
1
1
  import { SearchFieldProps as CoreSearchFieldProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the SearchField component
5
+ * @property {string} [size] - Size of the search field (small, medium, large)
6
+ * @property {Function} [onClear] - Callback when the clear button is clicked
7
+ * @extends DataTrackingId
8
+ */
3
9
  export type SearchFieldProps = CoreSearchFieldProps & DataTrackingId;
10
+ /**
11
+ * SearchField component for text input with search functionality.
12
+ *
13
+ * Features:
14
+ * - Search icon prefix for visual clarity
15
+ * - Clear button that appears when input has value
16
+ * - Multiple size variants (small, medium, large)
17
+ * - Controlled and uncontrolled modes
18
+ * - Disabled and read-only states
19
+ * - Accessibility support with proper ARIA attributes
20
+ * - Layout utility props for positioning and spacing
21
+ * - Automatic value detection for clear button visibility
22
+ * - Search-specific input type and autocomplete settings
23
+ * - Screen reader support with placeholder announcements
24
+ * - Automatic tracking ID generation for analytics
25
+ *
26
+ * @example
27
+ * <SearchField
28
+ * placeholder="Search users..."
29
+ * onChange={(e) => setSearchTerm(e.target.value)}
30
+ * onClear={() => setSearchTerm("")}
31
+ * />
32
+ *
33
+ * @example
34
+ * <SearchField
35
+ * size="large"
36
+ * value={searchValue}
37
+ * onChange={(e) => setSearchValue(e.target.value)}
38
+ * disabled={isLoading}
39
+ * />
40
+ */
4
41
  export declare const SearchField: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children" | "prefix" | "size" | "required"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
5
42
  size?: Extract<import('@servicetitan/hammer-react').Size, "small" | "medium" | "large">;
6
43
  disabled?: boolean;
@@ -1,14 +1,112 @@
1
1
  import { SegmentedControlProps as CoreSegmentedControlProps, SegmentedControlSegmentProps as CoreSegmentedControlSegmentProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the SegmentedControl component
5
+ * @property {string} [size] - Size of the segment (small, medium)
6
+ * @property {boolean} [fill] - Whether to fill available width
7
+ * @property {string} [name] - Name attribute for radio inputs
8
+ * @property {Function} [onChange] - Callback when segment is changed
9
+ * @property {string} [selected] - Selected segment (controlled mode)
10
+ * @property {string} [defaultSelected] - Initial selection (uncontrolled mode)
11
+ * @property {string} [data-tracking-id] - Custom tracking ID for analytics
12
+ * @extends DataTrackingId
13
+ */
3
14
  export type SegmentedControlProps = CoreSegmentedControlProps & DataTrackingId;
15
+ /**
16
+ * Props for the SegmentedControlSegment component
17
+ * @property {string} value - Value of the segment
18
+ * @property {object} [icon] - Optional icon to display in the segment
19
+ * @property {string} [data-tracking-id] - Custom tracking ID for analytics
20
+ * @extends DataTrackingId
21
+ */
4
22
  export type SegmentedControlSegmentProps = CoreSegmentedControlSegmentProps & DataTrackingId;
23
+ /**
24
+ * SegmentedControlSegment component for individual segments within a segmented control.
25
+ *
26
+ * Features:
27
+ * - Individual segment with radio input
28
+ * - Optional icon support
29
+ * - Animated selection indicator
30
+ * - Accessibility support with proper ARIA attributes
31
+ * - Context integration with parent SegmentedControl
32
+ * - Motion animations with reduced motion support
33
+ * - Icon-only mode when no children provided
34
+ * - Automatic tracking ID generation for analytics
35
+ *
36
+ * @example
37
+ * <SegmentedControl.Segment value="option1" icon={Icon1}>
38
+ * Option 1
39
+ * </SegmentedControl.Segment>
40
+ *
41
+ * @example
42
+ * <SegmentedControl.Segment value="icon-only" icon={IconOnly} />
43
+ */
5
44
  export declare const SegmentedControlSegment: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
6
45
  icon?: import('@servicetitan/hammer-react').IconProps["svg"];
7
46
  value: string;
47
+ children?: React.ReactNode;
8
48
  } & DataTrackingId & import('react').RefAttributes<HTMLLabelElement>>;
49
+ /**
50
+ * SegmentedControl component for selecting one option from a group of related choices.
51
+ *
52
+ * Features:
53
+ * - Supports both controlled and uncontrolled modes
54
+ * - Multiple size variants (small, medium)
55
+ * - Optional fill width mode
56
+ * - Smooth animations with motion
57
+ * - Accessibility support with proper radio group semantics
58
+ * - Layout utility props for positioning and spacing
59
+ * - Context-based state management
60
+ * - Auto-generated or custom name attributes
61
+ * - Segment support via SegmentedControl.Segment
62
+ * - Automatic tracking ID generation for analytics
63
+ *
64
+ * @example
65
+ * <SegmentedControl
66
+ * selected={selectedValue}
67
+ * onChange={setSelectedValue}
68
+ * size="medium"
69
+ * >
70
+ * <SegmentedControl.Segment value="option1">Option 1</SegmentedControl.Segment>
71
+ * <SegmentedControl.Segment value="option2">Option 2</SegmentedControl.Segment>
72
+ * <SegmentedControl.Segment value="option3">Option 3</SegmentedControl.Segment>
73
+ * </SegmentedControl>
74
+ *
75
+ * @example
76
+ * <SegmentedControl
77
+ * defaultSelected="small"
78
+ * size="small"
79
+ * fill
80
+ * >
81
+ * <SegmentedControl.Segment value="small" icon={SmallIcon}>Small</SegmentedControl.Segment>
82
+ * <SegmentedControl.Segment value="large" icon={LargeIcon}>Large</SegmentedControl.Segment>
83
+ * </SegmentedControl>
84
+ */
9
85
  export declare const SegmentedControl: import('react').ForwardRefExoticComponent<SegmentedControlProps & import('react').RefAttributes<HTMLDivElement>> & {
86
+ /**
87
+ * SegmentedControlSegment component for individual segments within a segmented control.
88
+ *
89
+ * Features:
90
+ * - Individual segment with radio input
91
+ * - Optional icon support
92
+ * - Animated selection indicator
93
+ * - Accessibility support with proper ARIA attributes
94
+ * - Context integration with parent SegmentedControl
95
+ * - Motion animations with reduced motion support
96
+ * - Icon-only mode when no children provided
97
+ * - Automatic tracking ID generation for analytics
98
+ *
99
+ * @example
100
+ * <SegmentedControl.Segment value="option1" icon={Icon1}>
101
+ * Option 1
102
+ * </SegmentedControl.Segment>
103
+ *
104
+ * @example
105
+ * <SegmentedControl.Segment value="icon-only" icon={IconOnly} />
106
+ */
10
107
  Segment: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
11
108
  icon?: import('@servicetitan/hammer-react').IconProps["svg"];
12
109
  value: string;
110
+ children?: React.ReactNode;
13
111
  } & DataTrackingId & import('react').RefAttributes<HTMLLabelElement>>;
14
112
  };