@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,8 +1,54 @@
1
1
  import { ComboboxProps as CoreComboboxProps, ComboboxSelectProps as CoreComboboxSelectProps, ComboboxContentProps as CoreComboboxContentProps, ComboboxSearchFieldProps as CoreComboboxSearchFieldProps, ComboboxSelectTriggerProps as CoreComboboxSelectTriggerProps, ComboboxListProps as CoreComboboxListProps, ComboboxItemProps as CoreComboboxItemProps, ComboboxItemAddNewProps as CoreComboboxItemAddNewProps, ComboboxEmptyProps as CoreComboboxEmptyProps, IconProps as CoreIconProps, AvatarProps as CoreAvatarProps } from '@servicetitan/hammer-react';
2
2
  import { DataTrackingId } from '../../types/DataTrackingId';
3
3
  import { DistributiveOmit } from '../../types';
4
+ /**
5
+ * Props for the Combobox component
6
+ * @property {Item[]} items - Array of items to display in the combobox
7
+ * @property {(item: Item | null) => string} itemToString - Function to convert item to string
8
+ * @property {(item: Item) => string | number} itemToKey - Function to get unique key for item
9
+ * @property {Item | null} [selectedItem] - Currently selected item
10
+ * @property {Item[] | null} [selectedItems] - Currently selected items for multiple selection
11
+ * @property {boolean} [multiple] - Enable multiple selection mode
12
+ * @property {boolean} [loading] - Show loading state
13
+ * @property {Object} [filterOptions] - Options for filtering items
14
+ * @property {boolean} [disableFilter] - Disable automatic filtering
15
+ * @property {string} [groupBy] - Property to group items by
16
+ * @property {(groupValue: any) => string} [groupToString] - Function to convert group value to string
17
+ * @property {(a: any, b: any) => number} [groupSorter] - Function to sort groups
18
+ * @extends DataTrackingId
19
+ */
4
20
  export type ComboboxProps<Item> = CoreComboboxProps<Item>;
21
+ /**
22
+ * Props for the ComboboxSelect component
23
+ * @property {Item[]} items - Array of items to display in the select
24
+ * @property {(item: Item | null) => string} itemToString - Function to convert item to string
25
+ * @property {(item: Item) => string | number} itemToKey - Function to get unique key for item
26
+ * @property {Item | null} [selectedItem] - Currently selected item
27
+ * @property {Item[] | null} [selectedItems] - Currently selected items for multiple selection
28
+ * @property {boolean} [multiple] - Enable multiple selection mode
29
+ * @property {boolean} [loading] - Show loading state
30
+ * @property {string} [groupBy] - Property to group items by
31
+ * @property {(groupValue: any) => string} [groupToString] - Function to convert group value to string
32
+ * @extends DataTrackingId
33
+ */
5
34
  export type ComboboxSelectProps<Item> = CoreComboboxSelectProps<Item>;
35
+ /**
36
+ * Props for the ComboboxContent component
37
+ * @property {({ items: Item[], inputValue: string }) => ReactNode} children - Function that receives items and input value and renders content
38
+ * @property {boolean} [disablePopover] - Whether to disable popover behavior and render inline
39
+ */
40
+ export type ComboboxContentProps<Item> = CoreComboboxContentProps<Item>;
41
+ /**
42
+ * Props for the ComboboxSearchField component
43
+ * @property {string} label - Label for the search field
44
+ * @property {string} [placeholder] - Placeholder text
45
+ * @property {string} [description] - Helper text description
46
+ * @property {string} [moreInfo] - Additional information text
47
+ * @property {boolean} [required] - Mark field as required
48
+ * @property {string | { icon: IconProps } | { avatar: AvatarProps }} [prefix] - Prefix content (string, icon, or avatar)
49
+ * @property {(item: Item) => Partial<ChipProps>} [selectedItemProps] - Allows Combobox to display custom-colored Chips
50
+ * @extends DataTrackingId
51
+ */
6
52
  export type ComboboxSearchFieldProps = DistributiveOmit<CoreComboboxSearchFieldProps, "prefix"> & DataTrackingId & {
7
53
  prefix?: string | {
8
54
  icon: DistributiveOmit<CoreIconProps, "size">;
@@ -10,6 +56,17 @@ export type ComboboxSearchFieldProps = DistributiveOmit<CoreComboboxSearchFieldP
10
56
  avatar: DistributiveOmit<CoreAvatarProps, "size">;
11
57
  };
12
58
  };
59
+ /**
60
+ * Props for the ComboboxSelectTrigger component
61
+ * @property {string} label - Label for the select trigger
62
+ * @property {string} [placeholder] - Placeholder text
63
+ * @property {string} [description] - Helper text description
64
+ * @property {string} [moreInfo] - Additional information text
65
+ * @property {boolean} [required] - Mark field as required
66
+ * @property {string | { icon: IconProps } | { avatar: AvatarProps }} [prefix] - Prefix content (string, icon, or avatar)
67
+ * @property {(item: Item) => Partial<ChipProps>} [selectedItemProps] - Allows Combobox to display custom-colored Chips
68
+ * @extends DataTrackingId
69
+ */
13
70
  export type ComboboxSelectTriggerProps = DistributiveOmit<CoreComboboxSelectTriggerProps, "prefix"> & DataTrackingId & {
14
71
  prefix?: string | {
15
72
  icon: DistributiveOmit<CoreIconProps, "size">;
@@ -17,27 +74,410 @@ export type ComboboxSelectTriggerProps = DistributiveOmit<CoreComboboxSelectTrig
17
74
  avatar: DistributiveOmit<CoreAvatarProps, "size">;
18
75
  };
19
76
  };
20
- export type ComboboxContentProps<Item> = CoreComboboxContentProps<Item>;
77
+ /**
78
+ * Props for the ComboboxList component
79
+ * @property {ReactNode} children - List items to render
80
+ */
21
81
  export type ComboboxListProps = CoreComboboxListProps;
82
+ /**
83
+ * Props for the ComboboxItem component
84
+ * @property {Item} item - The item to render
85
+ * @property {number} index - Index of the item in the list
86
+ * @property {ReactNode} children - Content to render for the item
87
+ * @property {boolean} [disabled] - Disable the item
88
+ * @extends DataTrackingId
89
+ */
22
90
  export type ComboboxItemProps<Item> = CoreComboboxItemProps<Item> & DataTrackingId;
91
+ /**
92
+ * Props for the ComboboxItemAddNew component
93
+ * @property {(inputValue: string) => void} onSelection - Callback when "Add New" is selected
94
+ * @property {ReactNode} children - Content to render for the "Add New" item
95
+ * @property {boolean} [disabled] - Disable the "Add New" item
96
+ * @extends DataTrackingId
97
+ */
23
98
  export type ComboboxItemAddNewProps<Item> = CoreComboboxItemAddNewProps<Item> & DataTrackingId;
99
+ /**
100
+ * Props for the ComboboxEmpty component
101
+ * @property {ReactNode} children - Content to render when no items are available
102
+ */
24
103
  export type ComboboxEmptyProps = CoreComboboxEmptyProps;
25
104
  export declare const ComboboxElement: <Item = any>(props: ComboboxProps<Item>) => import("react/jsx-runtime").JSX.Element;
105
+ /**
106
+ * ComboboxSelect component for selecting items from a predefined list.
107
+ *
108
+ * Features:
109
+ * - Single and multiple item selection from predefined options
110
+ * - Dropdown-style selection interface
111
+ * - Grouping support with custom group labels and sorting
112
+ * - Loading states with spinner indicators
113
+ * - Disabled and read-only states
114
+ * - Customizable popover behavior and positioning
115
+ * - Full accessibility support with ARIA attributes
116
+ * - Keyboard navigation support
117
+ * - Layout utility props for positioning and spacing
118
+ * - Automatic tracking ID generation for analytics
119
+ *
120
+ * @example
121
+ * <Combobox.Select
122
+ * items={items}
123
+ * itemToString={(item) => item.name}
124
+ * onChange={setSelectedItem}
125
+ * >
126
+ * <Combobox.SelectTrigger label="Select an item" />
127
+ * <Combobox.Content>
128
+ * {({ items }) => (
129
+ * <Combobox.List>
130
+ * {items.map((item, i) => (
131
+ * <Combobox.Item key={item.id} item={item} index={i}>
132
+ * {item.name}
133
+ * </Combobox.Item>
134
+ * ))}
135
+ * </Combobox.List>
136
+ * )}
137
+ * </Combobox.Content>
138
+ * </Combobox.Select>
139
+ */
26
140
  export declare const ComboboxSelect: <Item = any>(props: ComboboxSelectProps<Item>) => import("react/jsx-runtime").JSX.Element;
141
+ /**
142
+ * ComboboxContent component for rendering the content area of a combobox.
143
+ *
144
+ * Features:
145
+ * - Supports both popover and inline rendering modes
146
+ * - Provides render props pattern for flexible content rendering
147
+ * - Handles grouped items with proper ARIA labels
148
+ * - Integrates with combobox state management
149
+ * - Supports custom styling and layout
150
+ * - Manages focus and blur events for popover behavior
151
+ *
152
+ * @example
153
+ * <Combobox.Content>
154
+ * {({ items }) => (
155
+ * <Combobox.List>
156
+ * {items.map((item, index) => (
157
+ * <Combobox.Item key={item.id} item={item} index={index}>
158
+ * {item.name}
159
+ * </Combobox.Item>
160
+ * ))}
161
+ * </Combobox.List>
162
+ * )}
163
+ * </Combobox.Content>
164
+ */
165
+ export declare const ComboboxContent: <Item = any>(props: ComboboxContentProps<Item>) => import("react/jsx-runtime").JSX.Element;
166
+ /**
167
+ * ComboboxSearchField component for the search input field.
168
+ *
169
+ * Features:
170
+ * - Search input with clear button functionality
171
+ * - Supports multiple selection with chip display
172
+ * - Handles keyboard navigation and accessibility
173
+ * - Integrates with combobox state management
174
+ * - Supports custom styling and layout
175
+ * - Manages focus and blur events
176
+ * - Enhanced prefix support for icons and avatars
177
+ * - Automatic tracking ID generation for analytics
178
+ *
179
+ * @example
180
+ * <Combobox.SearchField
181
+ * label="Search users"
182
+ * placeholder="Type to search..."
183
+ * prefix={{ icon: { svg: SearchIcon } }}
184
+ * />
185
+ */
27
186
  export declare const ComboboxSearchField: ({ prefix: prefixProp, ...props }: ComboboxSearchFieldProps) => import("react/jsx-runtime").JSX.Element;
187
+ /**
188
+ * ComboboxSelectTrigger component for the select trigger field.
189
+ *
190
+ * Features:
191
+ * - Select input with dropdown trigger
192
+ * - Supports single selection display
193
+ * - Handles keyboard navigation and accessibility
194
+ * - Integrates with combobox state management
195
+ * - Supports custom styling and layout
196
+ * - Manages focus and blur events
197
+ * - Enhanced prefix support for icons and avatars
198
+ * - Automatic tracking ID generation for analytics
199
+ *
200
+ * @example
201
+ * <Combobox.SelectTrigger
202
+ * label="Select user"
203
+ * placeholder="Choose a user..."
204
+ * prefix={{ avatar: { name: "User" } }}
205
+ * />
206
+ */
28
207
  export declare const ComboboxSelectTrigger: ({ prefix: prefixProp, ...props }: ComboboxSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
29
- export declare const ComboboxContent: <Item = any>(props: ComboboxContentProps<Item>) => import("react/jsx-runtime").JSX.Element;
208
+ /**
209
+ * ComboboxList component for rendering the list of items.
210
+ *
211
+ * Features:
212
+ * - Renders list of items with proper accessibility
213
+ * - Supports both single and multiple selection modes
214
+ * - Loading state with spinner
215
+ * - Empty state handling
216
+ * - Automatic tracking ID generation for analytics
217
+ *
218
+ * @example
219
+ * <Combobox.List>
220
+ * {items.map((item, i) => (
221
+ * <Combobox.Item key={item.id} item={item} index={i}>
222
+ * {item.name}
223
+ * </Combobox.Item>
224
+ * ))}
225
+ * </Combobox.List>
226
+ */
30
227
  export declare const ComboboxList: <Item = any>(props: ComboboxListProps) => import("react/jsx-runtime").JSX.Element;
228
+ /**
229
+ * ComboboxItem component for rendering individual items in the list.
230
+ *
231
+ * Features:
232
+ * - Individual item rendering with proper accessibility
233
+ * - Support for disabled state
234
+ * - Custom content rendering
235
+ * - Automatic tracking ID generation for analytics
236
+ *
237
+ * @example
238
+ * <Combobox.Item item={item} index={index}>
239
+ * <Flex direction="column">
240
+ * <Text>{item.name}</Text>
241
+ * <Text size="small" subdued>{item.description}</Text>
242
+ * </Flex>
243
+ * </Combobox.Item>
244
+ */
31
245
  export declare const ComboboxItem: <Item = any>(props: ComboboxItemProps<Item>) => import("react/jsx-runtime").JSX.Element;
246
+ /**
247
+ * ComboboxItemAddNew component for rendering an "Add New" option.
248
+ *
249
+ * Features:
250
+ * - "Add New" option that appears when no exact match is found
251
+ * - Customizable content rendering
252
+ * - Callback when selected
253
+ * - Automatic tracking ID generation for analytics
254
+ *
255
+ * @example
256
+ * <Combobox.ItemAddNew onSelection={(inputValue) => addNewItem(inputValue)}>
257
+ * Add "{inputValue}" as new item
258
+ * </Combobox.ItemAddNew>
259
+ */
32
260
  export declare const ComboboxItemAddNew: <Item = any>(props: ComboboxItemAddNewProps<Item>) => import("react/jsx-runtime").JSX.Element;
261
+ /**
262
+ * ComboboxEmpty component for rendering content when no items are available.
263
+ *
264
+ * Features:
265
+ * - Renders content when list is empty
266
+ * - Customizable empty state message
267
+ * - Automatic tracking ID generation for analytics
268
+ *
269
+ * @example
270
+ * <Combobox.Empty>
271
+ * <Text>No items found. Try adjusting your search.</Text>
272
+ * </Combobox.Empty>
273
+ */
33
274
  export declare const ComboboxEmpty: <Item = any>(props: ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
275
+ /**
276
+ * Combobox component for selecting items with search and filtering capabilities.
277
+ *
278
+ * Features:
279
+ * - Single and multiple item selection
280
+ * - Search and filtering with configurable options
281
+ * - Optional "Add New" item functionality
282
+ * - Grouping support with custom group labels and sorting
283
+ * - Loading states with spinner indicators
284
+ * - Disabled and read-only states
285
+ * - Customizable popover behavior and positioning
286
+ * - Full accessibility support with ARIA attributes
287
+ * - Keyboard navigation support
288
+ * - Layout utility props for positioning and spacing
289
+ * - Automatic tracking ID generation for analytics
290
+ *
291
+ * @example
292
+ * <Combobox
293
+ * items={items}
294
+ * itemToString={(item) => item.name}
295
+ * onChange={setSelectedItem}
296
+ * filterOptions={{ keys: ["name"] }}
297
+ * >
298
+ * <Combobox.SearchField label="Select an item" />
299
+ * <Combobox.Content>
300
+ * {({ items }) => (
301
+ * <Combobox.List>
302
+ * {items.map((item, i) => (
303
+ * <Combobox.Item key={item.id} item={item} index={i}>
304
+ * {item.name}
305
+ * </Combobox.Item>
306
+ * ))}
307
+ * </Combobox.List>
308
+ * )}
309
+ * </Combobox.Content>
310
+ * </Combobox>
311
+ */
34
312
  export declare const Combobox: (<Item = any>(props: ComboboxProps<Item>) => import("react/jsx-runtime").JSX.Element) & {
313
+ /**
314
+ * ComboboxSelect component for selecting items from a predefined list.
315
+ *
316
+ * Features:
317
+ * - Single and multiple item selection from predefined options
318
+ * - Dropdown-style selection interface
319
+ * - Grouping support with custom group labels and sorting
320
+ * - Loading states with spinner indicators
321
+ * - Disabled and read-only states
322
+ * - Customizable popover behavior and positioning
323
+ * - Full accessibility support with ARIA attributes
324
+ * - Keyboard navigation support
325
+ * - Layout utility props for positioning and spacing
326
+ * - Automatic tracking ID generation for analytics
327
+ *
328
+ * @example
329
+ * <Combobox.Select
330
+ * items={items}
331
+ * itemToString={(item) => item.name}
332
+ * onChange={setSelectedItem}
333
+ * >
334
+ * <Combobox.SelectTrigger label="Select an item" />
335
+ * <Combobox.Content>
336
+ * {({ items }) => (
337
+ * <Combobox.List>
338
+ * {items.map((item, i) => (
339
+ * <Combobox.Item key={item.id} item={item} index={i}>
340
+ * {item.name}
341
+ * </Combobox.Item>
342
+ * ))}
343
+ * </Combobox.List>
344
+ * )}
345
+ * </Combobox.Content>
346
+ * </Combobox.Select>
347
+ */
35
348
  Select: <Item = any>(props: ComboboxSelectProps<Item>) => import("react/jsx-runtime").JSX.Element;
349
+ /**
350
+ * ComboboxSearchField component for the search input field.
351
+ *
352
+ * Features:
353
+ * - Search input with clear button functionality
354
+ * - Supports multiple selection with chip display
355
+ * - Handles keyboard navigation and accessibility
356
+ * - Integrates with combobox state management
357
+ * - Supports custom styling and layout
358
+ * - Manages focus and blur events
359
+ * - Enhanced prefix support for icons and avatars
360
+ * - Automatic tracking ID generation for analytics
361
+ *
362
+ * @example
363
+ * <Combobox.SearchField
364
+ * label="Search users"
365
+ * placeholder="Type to search..."
366
+ * prefix={{ icon: { svg: SearchIcon } }}
367
+ * />
368
+ */
36
369
  SearchField: ({ prefix: prefixProp, ...props }: ComboboxSearchFieldProps) => import("react/jsx-runtime").JSX.Element;
370
+ /**
371
+ * ComboboxSelectTrigger component for the select trigger field.
372
+ *
373
+ * Features:
374
+ * - Select input with dropdown trigger
375
+ * - Supports single selection display
376
+ * - Handles keyboard navigation and accessibility
377
+ * - Integrates with combobox state management
378
+ * - Supports custom styling and layout
379
+ * - Manages focus and blur events
380
+ * - Enhanced prefix support for icons and avatars
381
+ * - Automatic tracking ID generation for analytics
382
+ *
383
+ * @example
384
+ * <Combobox.SelectTrigger
385
+ * label="Select user"
386
+ * placeholder="Choose a user..."
387
+ * prefix={{ avatar: { name: "User" } }}
388
+ * />
389
+ */
37
390
  SelectTrigger: ({ prefix: prefixProp, ...props }: ComboboxSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
391
+ /**
392
+ * ComboboxContent component for rendering the content area of a combobox.
393
+ *
394
+ * Features:
395
+ * - Supports both popover and inline rendering modes
396
+ * - Provides render props pattern for flexible content rendering
397
+ * - Handles grouped items with proper ARIA labels
398
+ * - Integrates with combobox state management
399
+ * - Supports custom styling and layout
400
+ * - Manages focus and blur events for popover behavior
401
+ *
402
+ * @example
403
+ * <Combobox.Content>
404
+ * {({ items }) => (
405
+ * <Combobox.List>
406
+ * {items.map((item, index) => (
407
+ * <Combobox.Item key={item.id} item={item} index={index}>
408
+ * {item.name}
409
+ * </Combobox.Item>
410
+ * ))}
411
+ * </Combobox.List>
412
+ * )}
413
+ * </Combobox.Content>
414
+ */
38
415
  Content: <Item = any>(props: ComboboxContentProps<Item>) => import("react/jsx-runtime").JSX.Element;
416
+ /**
417
+ * ComboboxList component for rendering the list of items.
418
+ *
419
+ * Features:
420
+ * - Renders list of items with proper accessibility
421
+ * - Supports both single and multiple selection modes
422
+ * - Loading state with spinner
423
+ * - Empty state handling
424
+ * - Automatic tracking ID generation for analytics
425
+ *
426
+ * @example
427
+ * <Combobox.List>
428
+ * {items.map((item, i) => (
429
+ * <Combobox.Item key={item.id} item={item} index={i}>
430
+ * {item.name}
431
+ * </Combobox.Item>
432
+ * ))}
433
+ * </Combobox.List>
434
+ */
39
435
  List: <Item = any>(props: ComboboxListProps) => import("react/jsx-runtime").JSX.Element;
436
+ /**
437
+ * ComboboxItem component for rendering individual items in the list.
438
+ *
439
+ * Features:
440
+ * - Individual item rendering with proper accessibility
441
+ * - Support for disabled state
442
+ * - Custom content rendering
443
+ * - Automatic tracking ID generation for analytics
444
+ *
445
+ * @example
446
+ * <Combobox.Item item={item} index={index}>
447
+ * <Flex direction="column">
448
+ * <Text>{item.name}</Text>
449
+ * <Text size="small" subdued>{item.description}</Text>
450
+ * </Flex>
451
+ * </Combobox.Item>
452
+ */
40
453
  Item: <Item = any>(props: ComboboxItemProps<Item>) => import("react/jsx-runtime").JSX.Element;
454
+ /**
455
+ * ComboboxItemAddNew component for rendering an "Add New" option.
456
+ *
457
+ * Features:
458
+ * - "Add New" option that appears when no exact match is found
459
+ * - Customizable content rendering
460
+ * - Callback when selected
461
+ * - Automatic tracking ID generation for analytics
462
+ *
463
+ * @example
464
+ * <Combobox.ItemAddNew onSelection={(inputValue) => addNewItem(inputValue)}>
465
+ * Add "{inputValue}" as new item
466
+ * </Combobox.ItemAddNew>
467
+ */
41
468
  ItemAddNew: <Item = any>(props: ComboboxItemAddNewProps<Item>) => import("react/jsx-runtime").JSX.Element;
469
+ /**
470
+ * ComboboxEmpty component for rendering content when no items are available.
471
+ *
472
+ * Features:
473
+ * - Renders content when list is empty
474
+ * - Customizable empty state message
475
+ * - Automatic tracking ID generation for analytics
476
+ *
477
+ * @example
478
+ * <Combobox.Empty>
479
+ * <Text>No items found. Try adjusting your search.</Text>
480
+ * </Combobox.Empty>
481
+ */
42
482
  Empty: <Item = any>(props: ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
43
483
  };
@@ -1,7 +1,72 @@
1
1
  import { DateFieldProps as CoreDateFieldProps, DateSelect as CoreDateSelect, DateRangeSelect as CoreDateRangeSelect } from '@servicetitan/hammer-react';
2
+ /**
3
+ * Props for the DateField component
4
+ * @property {string} label - Label for the date field
5
+ * @property {string} [placeholder] - Placeholder text for the input
6
+ * @property {string} [description] - Helper text description
7
+ * @property {string} [moreInfo] - Additional information text
8
+ * @property {string} [format] - Date format (MM/dd/yyyy or dd/MM/yyyy)
9
+ * @property {boolean} [range] - Enable date range selection mode
10
+ * @property {Date} [minDate] - Minimum selectable date
11
+ * @property {Date} [maxDate] - Maximum selectable date
12
+ * @property {Date[]} [unavailableDates] - Dates that cannot be selected
13
+ * @property {Locale} [locale] - Locale for date formatting
14
+ * @property {IanaZone} [defaultTimeZone] - Default timezone for date operations
15
+ * @property {boolean} [openCalendar] - Whether to open calendar on mount
16
+ * @property {boolean} [disableHint] - Whether to disable the format hint
17
+ * @property {string} [value] - Controlled value for the date field
18
+ * @property {string} [defaultValue] - Default value for the date field
19
+ * @property {(event: ChangeEvent<HTMLInputElement>, data: DateSelect | DateRangeSelect) => void} [onChange] - Callback when date selection changes
20
+ * @extends DataTrackingId
21
+ */
2
22
  export type DateFieldProps = CoreDateFieldProps & {
3
23
  ["data-tracking-id"]?: string;
4
24
  };
25
+ /**
26
+ * Data structure for a single date selection
27
+ * @property {string} value - The formatted date string value
28
+ * @property {string | null | undefined} date - The ISO date string or null if invalid
29
+ * @property {boolean} isValid - Whether the date is valid according to constraints
30
+ */
5
31
  export type DateSelect = CoreDateSelect;
32
+ /**
33
+ * Data structure for a date range selection
34
+ * @property {DateSelect} [start] - The start date selection
35
+ * @property {DateSelect} [end] - The end date selection
36
+ * @property {string} value - The combined formatted range string
37
+ */
6
38
  export type DateRangeSelect = CoreDateRangeSelect;
39
+ /**
40
+ * DateField component for selecting dates with calendar popup and input validation
41
+ *
42
+ * Features:
43
+ * - Single date and date range selection modes
44
+ * - Calendar popup with keyboard navigation
45
+ * - Input mask validation with format hints
46
+ * - Configurable date formats (MM/dd/yyyy, dd/MM/yyyy)
47
+ * - Min/max date constraints and unavailable dates
48
+ * - Locale and timezone support
49
+ * - Accessibility with ARIA attributes
50
+ * - Keyboard navigation and focus management
51
+ * - Popover and legacy fallback modes
52
+ * - Automatic tracking ID generation for analytics
53
+ *
54
+ * @param props - The component props
55
+ * @param ref - Forwarded ref to the input element
56
+ * @returns A date field component with calendar integration
57
+ *
58
+ * @example
59
+ * <DateField
60
+ * label="Select Date"
61
+ * format="MM/dd/yyyy"
62
+ * onChange={(event, data) => console.log(data.date)}
63
+ * />
64
+ *
65
+ * @example
66
+ * <DateField
67
+ * label="Date Range"
68
+ * range={true}
69
+ * onChange={(event, data) => console.log(data.start?.date, data.end?.date)}
70
+ * />
71
+ */
7
72
  export declare const DateField: import('react').ForwardRefExoticComponent<DateFieldProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,7 +1,45 @@
1
1
  import { DaysOfTheWeekProps as CoreDaysOfTheWeekProps } from '@servicetitan/hammer-react';
2
- export type DaysOfTheWeekProps = CoreDaysOfTheWeekProps & {
3
- ["data-tracking-id"]?: string;
4
- };
5
- export declare const DaysOfTheWeek: import('react').ForwardRefExoticComponent<CoreDaysOfTheWeekProps & {
6
- "data-tracking-id"?: string;
7
- } & import('react').RefAttributes<HTMLDivElement>>;
2
+ import { DataTrackingId } from '../../types/DataTrackingId';
3
+ /**
4
+ * Props for the DaysOfTheWeek component
5
+ * @property {number[]} [selectedDays] - The selected days (1-7, where 1 is Monday and 7 is Sunday)
6
+ * @property {(selectedDays: number[]) => void} [onChange] - Callback fired when the selection changes
7
+ * @property {boolean | number[]} [disabled] - Whether the component is disabled. Can be a boolean to disable all days, or an array of day numbers (1-7) to disable specific days
8
+ * @property {number} [firstDay] - The first day of the week (1-7, where 1 is Monday and 7 is Sunday)
9
+ * @default 1
10
+ * @property {ReactElement | string} [hint] - Hint text or element to display above the component
11
+ * @property {string} [id] - ID for the component
12
+ * @property {ReactElement | string} [description] - Description text or element to display below the component
13
+ * @property {ReactElement | string} [errorMessage] - Error message to display when there is an error
14
+ * @property {AriaAttributes['aria-live']} [errorAriaLive] - aria-live for the error message
15
+ * @default assertive
16
+ * @property {LabelProps['children']} [label] - Label text or element
17
+ * @property {boolean} [required] - Whether the field is required
18
+ * @property {LabelProps['moreInfo']} [moreInfo] - Additional info to display in a tooltip next to the label
19
+ * @property {Omit<LabelProps, 'children' | 'moreInfo' | 'required' | 'id' | 'htmlFor'>} [labelProps] - Additional props to pass to the Label component
20
+ * @extends DataTrackingId
21
+ */
22
+ export type DaysOfTheWeekProps = CoreDaysOfTheWeekProps & DataTrackingId;
23
+ /**
24
+ * DaysOfTheWeek component for selecting multiple days of the week.
25
+ *
26
+ * Features:
27
+ * - Displays days of the week as toggleable buttons
28
+ * - Supports custom first day of the week (Monday-Sunday)
29
+ * - Individual day selection and deselection
30
+ * - Optional label, hint, description, and error messaging
31
+ * - Full accessibility support with ARIA attributes
32
+ * - Tooltips showing full day names on hover
33
+ * - Responsive design with flexible layout
34
+ * - Support for disabling specific days or the entire component
35
+ * - Automatic tracking ID generation for analytics
36
+ *
37
+ * @example
38
+ * <DaysOfTheWeek
39
+ * selectedDays={[2, 4, 6]}
40
+ * onChange={(days) => console.log('Selected days:', days)}
41
+ * label="Working Days"
42
+ * firstDay={1}
43
+ * />
44
+ */
45
+ export declare const DaysOfTheWeek: import('react').ForwardRefExoticComponent<CoreDaysOfTheWeekProps & DataTrackingId & import('react').RefAttributes<HTMLDivElement>>;