@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
@@ -2,13 +2,13 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { forwardRef, useContext, createContext, useRef, useState, useEffect, useMemo } from 'react';
3
3
  import { useTrackingId } from './useTrackingId.js';
4
4
  import { c as cx } from './index-tZvMCc77.js';
5
- import { a as Overflow } from './Overflow-ENfRRD_5-DLHLZ02e.js';
5
+ import { a as Overflow } from './Overflow-BrXwlYpn-CtqaiNgb.js';
6
6
  import { m as motion } from './proxy-CreWmH-e.js';
7
7
  import { e as DurationSlow } from './primitive-BoyEHaOo.js';
8
- import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-GT5myWCm-Clw_nEze.js';
9
- import { B as Button } from './Button-C-QpfgfF-CRBE7KiD.js';
8
+ import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js';
9
+ import { B as Button } from './Button-BaHFf1AT-BQy-PFB5.js';
10
10
  import { u as useMergeRefs } from './useMergeRefs-Bde85AWI-Bde85AWI.js';
11
- import { I as Icon } from './Icon-BrdmZw1i-CG-LzgEz.js';
11
+ import { I as Icon } from './Icon-B6HmlQiR-BxQkO3X5.js';
12
12
  import { S as SvgCheck } from './check-Cf67OWrZ.js';
13
13
 
14
14
  import './Stepper.css';const bar = "_bar_txl4u_26";
@@ -298,7 +298,9 @@ const StepperPrevButton$1 = forwardRef((props, ref) => {
298
298
  const onClickHandler = (e) => {
299
299
  if (allCompleted) {
300
300
  setAllCompleted?.(false);
301
- allowNavigateToPrevStep && items?.[current].setAttribute("tabindex", "0");
301
+ if (allowNavigateToPrevStep) {
302
+ items?.[current].setAttribute("tabindex", "0");
303
+ }
302
304
  } else {
303
305
  setCurrent(current - 1);
304
306
  setFocus(current - 1);
@@ -440,11 +442,155 @@ const StepperElement$1 = forwardRef(
440
442
  );
441
443
  StepperElement$1.displayName = "Stepper";
442
444
  const Stepper$1 = Object.assign(StepperElement$1, {
445
+ /**
446
+ * Individual step component for the Stepper.
447
+ *
448
+ * Features:
449
+ * - Visual progress indicator with animated bar
450
+ * - Check icon for completed steps
451
+ * - Keyboard navigation support
452
+ * - Accessible with proper ARIA attributes
453
+ * - Click handling for step navigation
454
+ * - Visual states for current, completed, and future steps
455
+ * - Responsive design with mobile-friendly layout
456
+ * - Focus management for keyboard users
457
+ * - Custom styling support
458
+ *
459
+ * @example
460
+ * <Stepper.Step controls="step1">
461
+ * Personal Information
462
+ * </Stepper.Step>
463
+ *
464
+ * @example
465
+ * <Stepper.Step
466
+ * controls="step2"
467
+ * onClick={(e, index) => console.log(`Clicked step ${index}`)}
468
+ * >
469
+ * Contact Details
470
+ * </Stepper.Step>
471
+ */
443
472
  Step: StepperStep$1,
473
+ /**
474
+ * Container component for organizing and displaying stepper steps.
475
+ *
476
+ * Features:
477
+ * - Groups multiple stepper steps together
478
+ * - Displays current step label
479
+ * - Responsive design with mobile-friendly layout
480
+ * - Accessible with proper ARIA roles
481
+ * - Automatic step organization
482
+ * - Visual step indicators
483
+ * - Context-based current step display
484
+ * - Flexible layout with CSS Grid/Flexbox
485
+ * - Container queries for responsive behavior
486
+ *
487
+ * @example
488
+ * <Stepper.List>
489
+ * <Stepper.Step controls="step1">Step 1</Stepper.Step>
490
+ * <Stepper.Step controls="step2">Step 2</Stepper.Step>
491
+ * <Stepper.Step controls="step3">Step 3</Stepper.Step>
492
+ * </Stepper.List>
493
+ */
444
494
  List: StepperList$1,
495
+ /**
496
+ * Content panel component for displaying step content in the Stepper.
497
+ *
498
+ * Features:
499
+ * - Displays content for the current step only
500
+ * - Smooth fade-in/fade-out animations
501
+ * - Automatic overflow handling with scroll support
502
+ * - Accessible with proper ARIA roles
503
+ * - Layout utilities for positioning and spacing
504
+ * - Motion animations for smooth transitions
505
+ * - Focus management for keyboard navigation
506
+ * - Responsive design with flexible layout
507
+ * - Context-based visibility control
508
+ *
509
+ * @example
510
+ * <Stepper.Panel id="step1">
511
+ * <h2>Personal Information</h2>
512
+ * <form>
513
+ * <label htmlFor="name">Name:</label>
514
+ * <input id="name" type="text" />
515
+ * </form>
516
+ * </Stepper.Panel>
517
+ */
445
518
  Panel: StepperPanel$1,
519
+ /**
520
+ * Next button component for navigating to the next step in the Stepper.
521
+ *
522
+ * Features:
523
+ * - Automatically advances to the next step
524
+ * - Changes label to "Complete" on the final step
525
+ * - Supports async validation with Promise return
526
+ * - Prevents navigation when validation fails
527
+ * - Hides when all steps are completed
528
+ * - Accessible with proper button semantics
529
+ * - Customizable appearance and styling
530
+ * - Integration with stepper context
531
+ * - Automatic completion handling
532
+ *
533
+ * @example
534
+ * <Stepper.NextButton
535
+ * nextLabel="Continue"
536
+ * completeLabel="Finish"
537
+ * />
538
+ *
539
+ * @example
540
+ * <Stepper.NextButton
541
+ * onClick={async (e) => {
542
+ * const isValid = await validateForm();
543
+ * return isValid;
544
+ * }}
545
+ * appearance="primary"
546
+ * />
547
+ */
446
548
  NextButton: StepperNextButton$1,
549
+ /**
550
+ * Previous button component for navigating to the previous step in the Stepper.
551
+ *
552
+ * Features:
553
+ * - Navigates to the previous step when available
554
+ * - Hides when on the first step
555
+ * - Restores navigation when returning from completion
556
+ * - Accessible with proper button semantics
557
+ * - Customizable label and styling
558
+ * - Integration with stepper context
559
+ * - Automatic focus management
560
+ * - Support for completion state handling
561
+ *
562
+ * @example
563
+ * <Stepper.PrevButton label="Go Back" />
564
+ *
565
+ * @example
566
+ * <Stepper.PrevButton
567
+ * label="Previous Step"
568
+ * appearance="secondary"
569
+ * onClick={(e) => console.log('Going back')}
570
+ * />
571
+ */
447
572
  PrevButton: StepperPrevButton$1,
573
+ /**
574
+ * Final panel component displayed when all stepper steps are completed.
575
+ *
576
+ * Features:
577
+ * - Displays only when all steps are completed
578
+ * - Smooth fade-in animation on completion
579
+ * - Automatic overflow handling with scroll support
580
+ * - Accessible with proper ARIA roles
581
+ * - Layout utilities for positioning and spacing
582
+ * - Motion animations for smooth transitions
583
+ * - Focus management for keyboard navigation
584
+ * - Responsive design with flexible layout
585
+ * - Context-based visibility control
586
+ *
587
+ * @example
588
+ * <Stepper.FinalPanel>
589
+ * <h2>Congratulations!</h2>
590
+ * <p>You have successfully completed all steps.</p>
591
+ * <Button onClick={handleSubmit}>Submit</Button>
592
+ * </Stepper.FinalPanel>
593
+ */
448
594
  FinalPanel: StepperFinalPanel$1
449
595
  });
450
596
 
@@ -453,26 +599,31 @@ const StepperElement = forwardRef(
453
599
  return /* @__PURE__ */ jsx(Stepper$1, { ref, ...props });
454
600
  }
455
601
  );
602
+ StepperElement.displayName = Stepper$1.displayName;
456
603
  const StepperList = forwardRef(
457
604
  (props, ref) => {
458
605
  return /* @__PURE__ */ jsx(StepperList$1, { ref, ...props });
459
606
  }
460
607
  );
608
+ StepperList.displayName = StepperList$1.displayName;
461
609
  const StepperStep = forwardRef(
462
610
  (props, ref) => {
463
611
  return /* @__PURE__ */ jsx(StepperStep$1, { ref, ...props });
464
612
  }
465
613
  );
614
+ StepperStep.displayName = StepperStep$1.displayName;
466
615
  const StepperPanel = forwardRef(
467
616
  (props, ref) => {
468
617
  return /* @__PURE__ */ jsx(StepperPanel$1, { ref, ...props });
469
618
  }
470
619
  );
620
+ StepperPanel.displayName = StepperPanel$1.displayName;
471
621
  const StepperFinalPanel = forwardRef(
472
622
  (props, ref) => {
473
623
  return /* @__PURE__ */ jsx(StepperFinalPanel$1, { ref, ...props });
474
624
  }
475
625
  );
626
+ StepperFinalPanel.displayName = StepperFinalPanel$1.displayName;
476
627
  const StepperNextButton = forwardRef(
477
628
  (props, ref) => {
478
629
  const data = {
@@ -494,6 +645,7 @@ const StepperNextButton = forwardRef(
494
645
  );
495
646
  }
496
647
  );
648
+ StepperNextButton.displayName = StepperNextButton$1.displayName;
497
649
  const StepperPrevButton = forwardRef(
498
650
  (props, ref) => {
499
651
  const data = {
@@ -514,14 +666,137 @@ const StepperPrevButton = forwardRef(
514
666
  );
515
667
  }
516
668
  );
669
+ StepperPrevButton.displayName = StepperPrevButton$1.displayName;
517
670
  const Stepper = Object.assign(StepperElement, {
671
+ /**
672
+ * Container component for organizing and displaying stepper steps.
673
+ *
674
+ * Features:
675
+ * - Groups multiple stepper steps together
676
+ * - Displays current step label
677
+ * - Responsive design with mobile-friendly layout
678
+ * - Accessible with proper ARIA roles
679
+ * - Automatic step organization
680
+ * - Visual step indicators
681
+ * - Context-based current step display
682
+ * - Flexible layout with CSS Grid/Flexbox
683
+ * - Container queries for responsive behavior
684
+ *
685
+ * @example
686
+ * <Stepper.List>
687
+ * <Stepper.Step controls="step1">Step 1</Stepper.Step>
688
+ * <Stepper.Step controls="step2">Step 2</Stepper.Step>
689
+ * <Stepper.Step controls="step3">Step 3</Stepper.Step>
690
+ * </Stepper.List>
691
+ */
518
692
  List: StepperList,
693
+ /**
694
+ * Individual step component for the Stepper.
695
+ *
696
+ * Features:
697
+ * - Visual progress indicator with animated bar
698
+ * - Check icon for completed steps
699
+ * - Keyboard navigation support
700
+ * - Accessible with proper ARIA attributes
701
+ * - Click handling for step navigation
702
+ * - Visual states for current, completed, and future steps
703
+ * - Responsive design with mobile-friendly layout
704
+ * - Focus management for keyboard users
705
+ * - Custom styling support
706
+ *
707
+ * @example
708
+ * <Stepper.Step controls="step1">
709
+ * Personal Information
710
+ * </Stepper.Step>
711
+ */
519
712
  Step: StepperStep,
713
+ /**
714
+ * Content panel component for displaying step content in the Stepper.
715
+ *
716
+ * Features:
717
+ * - Displays content for the current step only
718
+ * - Smooth fade-in/fade-out animations
719
+ * - Automatic overflow handling with scroll support
720
+ * - Accessible with proper ARIA roles
721
+ * - Layout utilities for positioning and spacing
722
+ * - Motion animations for smooth transitions
723
+ * - Focus management for keyboard navigation
724
+ * - Responsive design with flexible layout
725
+ * - Context-based visibility control
726
+ *
727
+ * @example
728
+ * <Stepper.Panel id="step1">
729
+ * <h2>Personal Information</h2>
730
+ * <form>
731
+ * <label htmlFor="name">Name:</label>
732
+ * <input id="name" type="text" />
733
+ * </form>
734
+ * </Stepper.Panel>
735
+ */
520
736
  Panel: StepperPanel,
737
+ /**
738
+ * Final panel component displayed when all stepper steps are completed.
739
+ *
740
+ * Features:
741
+ * - Displays only when all steps are completed
742
+ * - Smooth fade-in animation on completion
743
+ * - Automatic overflow handling with scroll support
744
+ * - Accessible with proper ARIA roles
745
+ * - Layout utilities for positioning and spacing
746
+ * - Motion animations for smooth transitions
747
+ * - Focus management for keyboard navigation
748
+ * - Responsive design with flexible layout
749
+ * - Context-based visibility control
750
+ *
751
+ * @example
752
+ * <Stepper.FinalPanel>
753
+ * <h2>Congratulations!</h2>
754
+ * <p>You have successfully completed all steps.</p>
755
+ * <Button onClick={handleSubmit}>Submit</Button>
756
+ * </Stepper.FinalPanel>
757
+ */
521
758
  FinalPanel: StepperFinalPanel,
759
+ /**
760
+ * Next button component for navigating to the next step in the Stepper.
761
+ *
762
+ * Features:
763
+ * - Automatically advances to the next step
764
+ * - Changes label to "Complete" on the final step
765
+ * - Supports async validation with Promise return
766
+ * - Prevents navigation when validation fails
767
+ * - Hides when all steps are completed
768
+ * - Accessible with proper button semantics
769
+ * - Customizable appearance and styling
770
+ * - Integration with stepper context
771
+ * - Automatic completion handling
772
+ * - Automatic tracking ID generation for analytics
773
+ *
774
+ * @example
775
+ * <Stepper.NextButton
776
+ * nextLabel="Continue"
777
+ * completeLabel="Finish"
778
+ * />
779
+ */
522
780
  NextButton: StepperNextButton,
781
+ /**
782
+ * Previous button component for navigating to the previous step in the Stepper.
783
+ *
784
+ * Features:
785
+ * - Navigates to the previous step when available
786
+ * - Hides when on the first step
787
+ * - Restores navigation when returning from completion
788
+ * - Accessible with proper button semantics
789
+ * - Customizable label and styling
790
+ * - Integration with stepper context
791
+ * - Automatic focus management
792
+ * - Support for completion state handling
793
+ * - Automatic tracking ID generation for analytics
794
+ *
795
+ * @example
796
+ * <Stepper.PrevButton label="Go Back" />
797
+ */
523
798
  PrevButton: StepperPrevButton
524
799
  });
525
800
 
526
801
  export { Stepper as S, StepperList as a, StepperStep as b, StepperPanel as c, StepperFinalPanel as d, StepperNextButton as e, StepperPrevButton as f };
527
- //# sourceMappingURL=Stepper-Bp0w8eRW.js.map
802
+ //# sourceMappingURL=Stepper-CwIV7ZiT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stepper-CwIV7ZiT.js","sources":["../../hammer-react/dist/Stepper-DMaF9Zis.js","../src/components/Stepper/Stepper.tsx"],"sourcesContent":["import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport { forwardRef, useRef, useContext, useState, useEffect, createContext, useMemo } from 'react';\nimport cx from 'classnames';\nimport { O as Overflow } from './Overflow-BrXwlYpn.js';\nimport { motion } from '/home/runner/work/hammer/hammer/node_modules/.pnpm/motion@12.4.10_@emotion+is-prop-valid@1.3.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/motion/dist/es/motion/lib/react.mjs';\nimport { core } from '@servicetitan/hammer-token';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v.js';\nimport { B as Button } from './Button-BaHFf1AT.js';\nimport { u as useMergeRefs } from './useMergeRefs-Bde85AWI.js';\nimport { I as Icon } from './Icon-B6HmlQiR.js';\nimport Check from '@servicetitan/hammer-icon/mdi/round/check.svg';\n\nimport './Stepper.css';const bar = \"_bar_txl4u_26\";\nconst label$1 = \"_label_txl4u_42\";\nconst circle = \"_circle_txl4u_49\";\nconst styles$3 = {\n\t\"stepper-step\": \"_stepper-step_txl4u_2\",\n\tbar: bar,\n\tlabel: label$1,\n\tcircle: circle,\n\t\"all-completed\": \"_all-completed_txl4u_80\",\n\t\"can-navigate\": \"_can-navigate_txl4u_83\"\n};\n\nconst StepperStep = forwardRef(\n (props, ref) => {\n const stepRef = useRef(null);\n const {\n current,\n items,\n setCurrent,\n focus,\n setFocus,\n allCompleted,\n allowNavigateToPrevStep\n } = useContext(StepperContext);\n const {\n onClick,\n children,\n onFocus,\n onKeyDown,\n controls,\n className,\n ...rest\n } = props;\n const index = useRef();\n const [selected, setSelected] = useState(false);\n const [completed, setCompleted] = useState(\n // Below is to be used for custom overriding\n // completed state for a step\n // Check Stepper.stories.tsx#103 for the use case\n stepRef.current?.getAttribute(\"data-completed\") === \"true\" ? true : void 0\n );\n useEffect(() => {\n if (!items) return;\n index.current = Array.prototype.indexOf.call(items, stepRef.current);\n setCompleted(index.current < current);\n setSelected(index.current === current);\n }, [current, items]);\n const stepClassNames = cx(styles$3[\"stepper-step\"], className, {\n [styles$3[\"can-navigate\"]]: allowNavigateToPrevStep,\n [styles$3[\"all-completed\"]]: allCompleted\n });\n const onClickHandler = (e) => {\n onClick?.(e, index.current);\n if (!allowNavigateToPrevStep || selected || index.current === void 0 || !items || index.current > current) {\n return;\n }\n setCurrent(index.current ?? 0);\n setFocus(index.current);\n items[index.current].focus();\n };\n const onKeyDownHandler = (e) => {\n onKeyDown?.(e);\n const focusableItems = Array.prototype.filter.call(\n items,\n (item) => item.getAttribute(\"data-completed\") === \"true\" || item.getAttribute(\"aria-selected\") === \"true\"\n );\n const prevFocus = focus - 1;\n const nextFocus = focus + 1;\n switch (e.code) {\n case \"Enter\":\n case \"Space\":\n e.preventDefault();\n setCurrent(focus);\n break;\n case \"ArrowRight\":\n e.preventDefault();\n if (nextFocus === focusableItems.length) {\n setFocus(0);\n focusableItems[0].focus();\n focusableItems[0].setAttribute(\"tabindex\", \"0\");\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n return;\n }\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n setFocus(nextFocus);\n focusableItems[nextFocus].focus();\n focusableItems[nextFocus].setAttribute(\"tabindex\", \"0\");\n break;\n case \"ArrowLeft\":\n e.preventDefault();\n if (focus === 0) {\n const lastItemIndex = focusableItems.length - 1;\n setFocus(lastItemIndex);\n focusableItems[lastItemIndex].focus();\n focusableItems[lastItemIndex].setAttribute(\"tabindex\", \"0\");\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n return;\n }\n stepRef.current?.setAttribute(\"tabindex\", \"-1\");\n setFocus(prevFocus);\n focusableItems[prevFocus].focus();\n focusableItems[prevFocus].setAttribute(\"tabindex\", \"0\");\n break;\n }\n };\n return /* @__PURE__ */ jsxs(\n \"button\",\n {\n type: \"button\",\n role: \"tab\",\n \"data-anv\": \"stepper-step\",\n className: stepClassNames,\n \"aria-selected\": selected,\n \"aria-controls\": controls,\n tabIndex: allowNavigateToPrevStep && selected ? 0 : -1,\n \"data-completed\": completed,\n onClick: onClickHandler,\n onKeyDown: allowNavigateToPrevStep ? onKeyDownHandler : onKeyDown,\n ...rest,\n ref: useMergeRefs([stepRef, ref]),\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: styles$3.bar }),\n /* @__PURE__ */ jsxs(\"span\", { className: styles$3.label, children: [\n /* @__PURE__ */ jsx(\"span\", { className: styles$3.circle, children: /* @__PURE__ */ jsx(Icon, { svg: Check, inherit: true, \"aria-hidden\": true }) }),\n children\n ] })\n ]\n }\n );\n }\n);\nStepperStep.displayName = \"StepperStep\";\n\nconst label = \"_label_qeq4d_33\";\nconst styles$2 = {\n\t\"stepper-list\": \"_stepper-list_qeq4d_2\",\n\t\"stepper-steps\": \"_stepper-steps_qeq4d_24\",\n\tlabel: label\n};\n\nconst StepperList = forwardRef(\n (props, ref) => {\n const { className, children, onKeyDown, ...rest } = props;\n const { current, items } = useContext(StepperContext);\n const tabListClassNames = cx(styles$2[\"stepper-list\"], className);\n const currentLabel = items?.[current].querySelectorAll(\"span\")[1].textContent;\n return /* @__PURE__ */ jsxs(\n \"div\",\n {\n ...rest,\n className: tabListClassNames,\n \"data-anv\": \"stepper-list\",\n ref,\n role: \"tablist\",\n children: [\n /* @__PURE__ */ jsx(\"div\", { className: styles$2[\"stepper-steps\"], children }),\n /* @__PURE__ */ jsx(\"span\", { className: styles$2.label, children: currentLabel })\n ]\n }\n );\n }\n);\nStepperList.displayName = \"StepperList\";\n\nconst styles$1 = {\n\t\"stepper-panel\": \"_stepper-panel_4h550_2\"\n};\n\nconst StepperPanel = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const { id, className, style, children, ...rest } = componentProps;\n const { current, items, allCompleted, setCurrentId } = useContext(StepperContext);\n const currentId = items?.[current].getAttribute(\"aria-controls\");\n const isCurrent = currentId === id;\n useEffect(() => {\n if (isCurrent && !allCompleted) {\n setCurrentId(currentId ?? \"\");\n }\n }, [allCompleted, isCurrent, currentId, setCurrentId]);\n const tabPanelClassNames = cx(styles$1[\"stepper-panel\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n if (isCurrent && !allCompleted) {\n return /* @__PURE__ */ jsx(\n motion.div,\n {\n style: styleCombined,\n className: tabPanelClassNames,\n transition: {\n opacity: {\n duration: +core.primitive.DurationSlow.value.replace(\"ms\", \"\") / 1e3\n }\n },\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n layout: true,\n ...rest,\n role: \"tabpanel\",\n \"data-anv\": \"stepper-panel\",\n id,\n ref,\n children: /* @__PURE__ */ jsx(Overflow, { flexGrow: 1, children })\n }\n );\n }\n return /* @__PURE__ */ jsx(Fragment, {});\n }\n);\nStepperPanel.displayName = \"StepperPanel\";\n\nconst stepper = \"_stepper_1czb4_2\";\nconst styles = {\n\tstepper: stepper\n};\n\nconst StepperNextButton = forwardRef((props, ref) => {\n const {\n setAllCompleted,\n onComplete,\n setCurrent,\n setFocus,\n items,\n current,\n allCompleted\n } = useContext(StepperContext);\n const {\n onClick,\n onFocus,\n nextLabel = \"Next\",\n completeLabel = \"Complete\",\n appearance = \"primary\",\n ...rest\n } = props;\n const proceedToNextStep = () => {\n if (items && current === items.length - 1) {\n items.forEach((item) => item.setAttribute(\"tabindex\", \"-1\"));\n setAllCompleted?.(true);\n onComplete?.();\n return;\n }\n setCurrent(current + 1);\n setFocus(current + 1);\n };\n const onClickHandler = (e) => {\n const onClickResult = onClick?.(e);\n if (onClickResult !== void 0 && !!onClickResult && onClickResult instanceof Promise) {\n onClickResult.then((result) => {\n if (result === false) return;\n proceedToNextStep();\n });\n } else {\n if (onClickResult === false) return;\n proceedToNextStep();\n }\n };\n return allCompleted ? null : /* @__PURE__ */ jsx(\n Button,\n {\n \"data-anv\": \"stepper-next-button\",\n onClick: onClickHandler,\n appearance,\n ref,\n ...rest,\n children: items && current === items.length - 1 ? completeLabel : nextLabel\n }\n );\n});\nStepperNextButton.displayName = \"StepperNextButton\";\n\nconst StepperPrevButton = forwardRef((props, ref) => {\n const {\n setCurrent,\n setFocus,\n allCompleted,\n setAllCompleted,\n items,\n current,\n allowNavigateToPrevStep\n } = useContext(StepperContext);\n const { onClick, label = \"Previous\", onFocus, ...rest } = props;\n const onClickHandler = (e) => {\n if (allCompleted) {\n setAllCompleted?.(false);\n if (allowNavigateToPrevStep) {\n items?.[current].setAttribute(\"tabindex\", \"0\");\n }\n } else {\n setCurrent(current - 1);\n setFocus(current - 1);\n }\n onClick?.(e);\n };\n return current === 0 ? null : /* @__PURE__ */ jsx(\n Button,\n {\n \"data-anv\": \"stepper-prev-button\",\n onClick: onClickHandler,\n ref,\n ...rest,\n children: label\n }\n );\n});\nStepperPrevButton.displayName = \"StepperPrevButton\";\n\nconst StepperFinalPanel = forwardRef((props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const { id, className, style, children, ...rest } = componentProps;\n const { allCompleted, setCurrentId } = useContext(StepperContext);\n useEffect(() => {\n if (allCompleted) {\n setCurrentId(\"final-panel\");\n }\n }, [allCompleted, setCurrentId]);\n const tabPanelClassNames = cx(styles$1[\"stepper-panel\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n if (allCompleted) {\n return /* @__PURE__ */ jsx(\n motion.div,\n {\n style: styleCombined,\n className: tabPanelClassNames,\n transition: {\n opacity: {\n duration: +core.primitive.DurationSlow.value.replace(\"ms\", \"\") / 1e3\n }\n },\n initial: { opacity: 0 },\n animate: { opacity: 1 },\n exit: { opacity: 0 },\n layout: true,\n ...rest,\n role: \"tabpanel\",\n \"data-anv\": \"stepper-final-panel\",\n tabIndex: 0,\n ref,\n children: /* @__PURE__ */ jsx(Overflow, { children })\n }\n );\n }\n return null;\n});\nStepperFinalPanel.displayName = \"StepperFinalPanel\";\n\nconst StepperContext = createContext({\n current: 0,\n currentId: \"\",\n focus: 0,\n setFocus: () => void 0,\n setCurrent: () => void 0,\n setCurrentId: () => void 0\n});\nconst StepperElement = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n defaultIndex,\n className,\n allowNavigateToPrevStep,\n children,\n onChange,\n onComplete,\n style,\n ...rest\n } = componentProps;\n const tabRef = useRef(null);\n const [items, setItems] = useState();\n const [allCompleted, setAllCompleted] = useState(false);\n const [current, setCurrent] = useState(defaultIndex ?? 0);\n const [currentId, setCurrentId] = useState(\"\");\n const [focus, setFocus] = useState(defaultIndex ?? 0);\n const stepperClassNames = cx(styles[\"stepper\"], className);\n useEffect(() => {\n setItems(tabRef.current?.querySelectorAll(\"[role=tab]:not([disabled])\"));\n }, []);\n useEffect(() => {\n onChange?.({\n currentStepId: currentId,\n currentStepIndex: allCompleted ? void 0 : current\n });\n }, [allCompleted, currentId, onChange]);\n const styleCombined = { ...style, ...layoutStyles };\n const value = useMemo(\n () => ({\n current,\n setCurrent,\n currentId,\n setCurrentId,\n focus,\n setFocus,\n onComplete,\n items,\n allCompleted,\n setAllCompleted,\n allowNavigateToPrevStep\n }),\n [\n current,\n currentId,\n focus,\n onComplete,\n items,\n allCompleted,\n setAllCompleted,\n allowNavigateToPrevStep\n ]\n );\n return /* @__PURE__ */ jsx(StepperContext.Provider, { value, children: /* @__PURE__ */ jsx(\n motion.div,\n {\n transition: { duration: 0 },\n layout: true,\n className: stepperClassNames,\n \"data-anv\": \"stepper\",\n style: styleCombined,\n ...rest,\n ref: useMergeRefs([tabRef, ref]),\n children\n }\n ) });\n }\n);\nStepperElement.displayName = \"Stepper\";\nconst Stepper = Object.assign(StepperElement, {\n /**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n *\n * @example\n * <Stepper.Step\n * controls=\"step2\"\n * onClick={(e, index) => console.log(`Clicked step ${index}`)}\n * >\n * Contact Details\n * </Stepper.Step>\n */\n Step: StepperStep,\n /**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\n List: StepperList,\n /**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\n Panel: StepperPanel,\n /**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n *\n * @example\n * <Stepper.NextButton\n * onClick={async (e) => {\n * const isValid = await validateForm();\n * return isValid;\n * }}\n * appearance=\"primary\"\n * />\n */\n NextButton: StepperNextButton,\n /**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n *\n * @example\n * <Stepper.PrevButton\n * label=\"Previous Step\"\n * appearance=\"secondary\"\n * onClick={(e) => console.log('Going back')}\n * />\n */\n PrevButton: StepperPrevButton,\n /**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\n FinalPanel: StepperFinalPanel\n});\n\nexport { Stepper as S, StepperList as a, StepperStep as b, StepperPanel as c, StepperNextButton as d, StepperPrevButton as e, StepperFinalPanel as f };\n//# sourceMappingURL=Stepper-DMaF9Zis.js.map\n","import {\n StepperProps as CoreStepperProps,\n Stepper as CoreStepper,\n StepperListProps as CoreStepperListProps,\n StepperList as CoreStepperList,\n StepperStepProps as CoreStepperStepProps,\n StepperStep as CoreStepperStep,\n StepperPanelProps as CoreStepperPanelProps,\n StepperPanel as CoreStepperPanel,\n StepperNextButton as CoreStepperNextButton,\n StepperNextButtonProps as CoreStepperNextButtonProps,\n StepperPrevButton as CoreStepperPrevButton,\n StepperPrevButtonProps as CoreStepperPrevButtonProps,\n StepperFinalPanel as CoreStepperFinalPanel,\n StepperFinalPanelProps as CoreStepperFinalPanelProps,\n} from \"@servicetitan/hammer-react\";\nimport { Ref, forwardRef } from \"react\";\nimport { useTrackingId } from \"../../hooks/useTrackingId\";\nimport { DataTrackingId } from \"../../types/DataTrackingId\";\n\n/**\n * Props for the Stepper component\n * @property {number} [defaultIndex] - Default step to start on\n * @property {boolean} [allowNavigateToPrevStep] - Allows users to navigate to previous steps\n * @property {function} [onChange] - Returns current step data when step changes\n * @property {function} [onComplete] - Called when all steps are completed\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperProps = CoreStepperProps;\n\n/**\n * Props for the StepperList component\n * @extends ComponentPropsWithoutRef<\"div\">\n */\nexport type StepperListProps = CoreStepperListProps;\n\n/**\n * Props for the StepperStep component\n * @property {string} controls - ID of the panel that this step is controlling\n * @property {function} [onClick] - Called when the step is clicked\n * @extends ComponentPropsWithoutRef<\"button\">\n */\nexport type StepperStepProps = CoreStepperStepProps;\n\n/**\n * Props for the StepperPanel component\n * @property {string} id - Unique identifier for the panel\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperPanelProps = CoreStepperPanelProps;\n\n/**\n * Props for the StepperNextButton component\n * @property {string} [nextLabel] - Label for the next button\n * @property {string} [completeLabel] - Label for the complete button\n * @property {function} [onClick] - Called when the \"Next\" button is clicked\n * @extends ButtonProps\n * @extends DataTrackingId\n */\nexport type StepperNextButtonProps = CoreStepperNextButtonProps &\n DataTrackingId;\n\n/**\n * Props for the StepperPrevButton component\n * @property {string} [label] - Label for the previous button\n * @extends ButtonProps\n * @extends DataTrackingId\n */\nexport type StepperPrevButtonProps = CoreStepperPrevButtonProps &\n DataTrackingId;\n\n/**\n * Props for the StepperFinalPanel component\n * @extends ComponentPropsWithoutRef<\"div\">\n * @extends LayoutUtilProps\n */\nexport type StepperFinalPanelProps = CoreStepperFinalPanelProps;\n\nconst StepperElement = forwardRef(\n (props: StepperProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepper ref={ref} {...props} />;\n },\n);\nStepperElement.displayName = CoreStepper.displayName;\n\n/**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\nexport const StepperList = forwardRef(\n (props: StepperListProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperList ref={ref} {...props} />;\n },\n);\nStepperList.displayName = CoreStepperList.displayName;\n\n/**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n */\nexport const StepperStep = forwardRef(\n (props: StepperStepProps, ref: Ref<HTMLButtonElement>) => {\n return <CoreStepperStep ref={ref} {...props} />;\n },\n);\nStepperStep.displayName = CoreStepperStep.displayName;\n\n/**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\nexport const StepperPanel = forwardRef(\n (props: StepperPanelProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperPanel ref={ref} {...props} />;\n },\n);\nStepperPanel.displayName = CoreStepperPanel.displayName;\n\n/**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\nexport const StepperFinalPanel = forwardRef(\n (props: StepperFinalPanelProps, ref: Ref<HTMLDivElement>) => {\n return <CoreStepperFinalPanel ref={ref} {...props} />;\n },\n);\nStepperFinalPanel.displayName = CoreStepperFinalPanel.displayName;\n\n// TODO: Update A2 to export NextButton and PrevButton\n/**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n */\nexport const StepperNextButton = forwardRef(\n (props: StepperNextButtonProps, ref: Ref<HTMLButtonElement>) => {\n const data = {\n nextLabel: props.nextLabel,\n completeLabel: props.completeLabel,\n };\n\n const trackingId = useTrackingId({\n name: \"StepperNextButton\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return (\n <CoreStepperNextButton\n ref={ref}\n data-tracking-id={trackingId}\n {...props}\n />\n );\n },\n);\nStepperNextButton.displayName = CoreStepperNextButton.displayName;\n\n/**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n */\nexport const StepperPrevButton = forwardRef(\n (props: StepperPrevButtonProps, ref: Ref<HTMLButtonElement>) => {\n const data = {\n label: props.label,\n };\n\n const trackingId = useTrackingId({\n name: \"StepperPrevButton\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return (\n <CoreStepperPrevButton\n ref={ref}\n data-tracking-id={trackingId}\n {...props}\n />\n );\n },\n);\nStepperPrevButton.displayName = CoreStepperPrevButton.displayName;\n\n/**\n * Stepper component for creating multi-step workflows and forms.\n *\n * Features:\n * - Multi-step navigation with visual progress indicators\n * - Keyboard navigation support with arrow keys\n * - Optional navigation to previous steps\n * - Smooth animations and transitions\n * - Accessible with proper ARIA roles and attributes\n * - Customizable step labels and content\n * - Completion state handling\n * - Layout utilities for positioning and spacing\n * - Motion animations for step transitions\n * - Context-based state management\n *\n * @example\n * <Stepper defaultIndex={0} allowNavigateToPrevStep>\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n *\n * <Stepper.Panel id=\"step1\">\n * <h2>Step 1 Content</h2>\n * <p>This is the first step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.Panel id=\"step2\">\n * <h2>Step 2 Content</h2>\n * <p>This is the second step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.Panel id=\"step3\">\n * <h2>Step 3 Content</h2>\n * <p>This is the final step content.</p>\n * </Stepper.Panel>\n *\n * <Stepper.FinalPanel>\n * <h2>Completed!</h2>\n * <p>All steps have been completed successfully.</p>\n * </Stepper.FinalPanel>\n *\n * <Stepper.PrevButton />\n * <Stepper.NextButton />\n * </Stepper>\n */\nexport const Stepper = Object.assign(StepperElement, {\n /**\n * Container component for organizing and displaying stepper steps.\n *\n * Features:\n * - Groups multiple stepper steps together\n * - Displays current step label\n * - Responsive design with mobile-friendly layout\n * - Accessible with proper ARIA roles\n * - Automatic step organization\n * - Visual step indicators\n * - Context-based current step display\n * - Flexible layout with CSS Grid/Flexbox\n * - Container queries for responsive behavior\n *\n * @example\n * <Stepper.List>\n * <Stepper.Step controls=\"step1\">Step 1</Stepper.Step>\n * <Stepper.Step controls=\"step2\">Step 2</Stepper.Step>\n * <Stepper.Step controls=\"step3\">Step 3</Stepper.Step>\n * </Stepper.List>\n */\n List: StepperList,\n\n /**\n * Individual step component for the Stepper.\n *\n * Features:\n * - Visual progress indicator with animated bar\n * - Check icon for completed steps\n * - Keyboard navigation support\n * - Accessible with proper ARIA attributes\n * - Click handling for step navigation\n * - Visual states for current, completed, and future steps\n * - Responsive design with mobile-friendly layout\n * - Focus management for keyboard users\n * - Custom styling support\n *\n * @example\n * <Stepper.Step controls=\"step1\">\n * Personal Information\n * </Stepper.Step>\n */\n Step: StepperStep,\n\n /**\n * Content panel component for displaying step content in the Stepper.\n *\n * Features:\n * - Displays content for the current step only\n * - Smooth fade-in/fade-out animations\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.Panel id=\"step1\">\n * <h2>Personal Information</h2>\n * <form>\n * <label htmlFor=\"name\">Name:</label>\n * <input id=\"name\" type=\"text\" />\n * </form>\n * </Stepper.Panel>\n */\n Panel: StepperPanel,\n\n /**\n * Final panel component displayed when all stepper steps are completed.\n *\n * Features:\n * - Displays only when all steps are completed\n * - Smooth fade-in animation on completion\n * - Automatic overflow handling with scroll support\n * - Accessible with proper ARIA roles\n * - Layout utilities for positioning and spacing\n * - Motion animations for smooth transitions\n * - Focus management for keyboard navigation\n * - Responsive design with flexible layout\n * - Context-based visibility control\n *\n * @example\n * <Stepper.FinalPanel>\n * <h2>Congratulations!</h2>\n * <p>You have successfully completed all steps.</p>\n * <Button onClick={handleSubmit}>Submit</Button>\n * </Stepper.FinalPanel>\n */\n FinalPanel: StepperFinalPanel,\n\n /**\n * Next button component for navigating to the next step in the Stepper.\n *\n * Features:\n * - Automatically advances to the next step\n * - Changes label to \"Complete\" on the final step\n * - Supports async validation with Promise return\n * - Prevents navigation when validation fails\n * - Hides when all steps are completed\n * - Accessible with proper button semantics\n * - Customizable appearance and styling\n * - Integration with stepper context\n * - Automatic completion handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.NextButton\n * nextLabel=\"Continue\"\n * completeLabel=\"Finish\"\n * />\n */\n NextButton: StepperNextButton,\n\n /**\n * Previous button component for navigating to the previous step in the Stepper.\n *\n * Features:\n * - Navigates to the previous step when available\n * - Hides when on the first step\n * - Restores navigation when returning from completion\n * - Accessible with proper button semantics\n * - Customizable label and styling\n * - Integration with stepper context\n * - Automatic focus management\n * - Support for completion state handling\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Stepper.PrevButton label=\"Go Back\" />\n */\n PrevButton: StepperPrevButton,\n});\n"],"names":["StepperStep","Check","StepperList","StepperPanel","core.primitive.DurationSlow","StepperNextButton","StepperPrevButton","StepperFinalPanel","StepperElement","Stepper","CoreStepper","CoreStepperList","CoreStepperStep","CoreStepperPanel","CoreStepperFinalPanel","CoreStepperNextButton","CoreStepperPrevButton"],"mappings":";;;;;;;;;;;;;AAYuB,MAAM,GAAG,GAAG,eAAe;AAClD,MAAM,OAAO,GAAG,iBAAiB;AACjC,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C;AACDA,gBAAc,CAAC,WAAW,GAAG,SAAS;AACtC,MAAMC,SAAO,GAAG,MAAM,CAAC,MAAM,CAACD,gBAAc,EAAE;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAER,aAAW;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,EAAEE,aAAW;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,KAAK,EAAEC,cAAY;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEE,mBAAiB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEC,mBAAiB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEC;AACd,CAAC,CAAC;;ACjgBF,MAAM,cAAiB,GAAA,UAAA;AAAA,EACrB,CAAC,OAAqB,GAA6B,KAAA;AACjD,IAAA,uBAAQ,GAAA,CAAAG,SAAA,EAAA,EAAY,GAAW,EAAA,GAAG,KAAO,EAAA,CAAA;AAAA;AAE7C,CAAA;AACA,cAAA,CAAe,cAAcA,SAAY,CAAA,WAAA;AAuBlC,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AA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBP,UAAY,EAAA,iBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBZ,UAAY,EAAA,iBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBZ,UAAY,EAAA;AACd,CAAC;;;;"}
package/dist/Stepper.js CHANGED
@@ -1,2 +1,2 @@
1
- export { S as Stepper, d as StepperFinalPanel, a as StepperList, e as StepperNextButton, c as StepperPanel, f as StepperPrevButton, b as StepperStep, S as default } from './Stepper-Bp0w8eRW.js';
1
+ export { S as Stepper, d as StepperFinalPanel, a as StepperList, e as StepperNextButton, c as StepperPanel, f as StepperPrevButton, b as StepperStep, S as default } from './Stepper-CwIV7ZiT.js';
2
2
  //# sourceMappingURL=Stepper.js.map
@@ -1,17 +1,19 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { forwardRef } from 'react';
2
+ import { forwardRef, useId } from 'react';
3
3
  import { useTrackingId } from './useTrackingId.js';
4
4
  import { c as childrenToString } from './childrenToString-Bz9MqbHb-Bz9MqbHb.js';
5
5
  import { c as cx } from './index-tZvMCc77.js';
6
- import { I as Icon } from './Icon-BrdmZw1i-CG-LzgEz.js';
6
+ import { I as Icon } from './Icon-B6HmlQiR-BxQkO3X5.js';
7
7
  import { S as SvgCheck } from './check-Cf67OWrZ.js';
8
- import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-GT5myWCm-Clw_nEze.js';
8
+ import { F as Flex } from './Flex-CiK7uNUu-BfxHG4L0.js';
9
+ import { H as Helper } from './Helper-C9sHaTrI-C5fAsK6i.js';
10
+ import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js';
9
11
 
10
- import './Switch.css';const toggle = "_toggle_z38tb_24";
11
- const indicator = "_indicator_z38tb_38";
12
- const check = "_check_z38tb_52";
12
+ import './Switch.css';const toggle = "_toggle_142h4_23";
13
+ const indicator = "_indicator_142h4_37";
14
+ const check = "_check_142h4_51";
13
15
  const styles = {
14
- "switch": "_switch_z38tb_2",
16
+ "switch": "_switch_142h4_2",
15
17
  toggle: toggle,
16
18
  indicator: indicator,
17
19
  check: check
@@ -21,6 +23,8 @@ const Switch$1 = forwardRef(
21
23
  (props, ref) => {
22
24
  const { layoutStyles, componentProps } = useLayoutPropsUtil(props);
23
25
  const {
26
+ label,
27
+ description,
24
28
  className,
25
29
  onChange,
26
30
  checked,
@@ -29,13 +33,15 @@ const Switch$1 = forwardRef(
29
33
  style,
30
34
  ...rest
31
35
  } = componentProps;
36
+ const helperUid = useId();
32
37
  const onChangeHandler = (e) => {
33
38
  onChange?.(e, { value, checked: e.target.checked });
34
39
  };
35
40
  const switchClassNames = cx(styles["switch"], className);
36
41
  const styleCombined = {
37
42
  ...style,
38
- ...layoutStyles
43
+ ...layoutStyles,
44
+ alignItems: description ? "flex-start" : "center"
39
45
  };
40
46
  return /* @__PURE__ */ jsxs("label", { className: switchClassNames, style: styleCombined, children: [
41
47
  /* @__PURE__ */ jsx(
@@ -54,7 +60,10 @@ const Switch$1 = forwardRef(
54
60
  }
55
61
  ),
56
62
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: styles["toggle"], children: /* @__PURE__ */ jsx("span", { className: styles["indicator"], children: /* @__PURE__ */ jsx(Icon, { svg: SvgCheck, className: styles["check"] }) }) }),
57
- "label" in props && props.label
63
+ label || description ? /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 1, children: [
64
+ label && label,
65
+ description && /* @__PURE__ */ jsx(Helper, { id: helperUid, description })
66
+ ] }) : null
58
67
  ] });
59
68
  }
60
69
  );
@@ -76,6 +85,7 @@ const Switch = forwardRef(
76
85
  return /* @__PURE__ */ jsx(Switch$1, { ref, "data-tracking-id": trackingId, ...props });
77
86
  }
78
87
  );
88
+ Switch.displayName = Switch$1.displayName;
79
89
 
80
90
  export { Switch as S };
81
- //# sourceMappingURL=Switch-BbHIwrGc.js.map
91
+ //# sourceMappingURL=Switch-Dd9tJFmG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch-Dd9tJFmG.js","sources":["../../hammer-react/dist/Switch-C8_Tviq1.js","../src/components/Switch/Switch.tsx"],"sourcesContent":["import { jsxs, jsx } from 'react/jsx-runtime';\nimport { forwardRef, useId } from 'react';\nimport cx from 'classnames';\nimport { I as Icon } from './Icon-B6HmlQiR.js';\nimport Check from '@servicetitan/hammer-icon/mdi/round/check.svg';\nimport { F as Flex } from './Flex-CiK7uNUu.js';\nimport { H as Helper } from './Helper-C9sHaTrI.js';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v.js';\n\nimport './Switch.css';const toggle = \"_toggle_142h4_23\";\nconst indicator = \"_indicator_142h4_37\";\nconst check = \"_check_142h4_51\";\nconst styles = {\n\t\"switch\": \"_switch_142h4_2\",\n\ttoggle: toggle,\n\tindicator: indicator,\n\tcheck: check\n};\n\nconst Switch = forwardRef(\n (props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n label,\n description,\n className,\n onChange,\n checked,\n defaultChecked,\n value,\n style,\n ...rest\n } = componentProps;\n const helperUid = useId();\n const onChangeHandler = (e) => {\n onChange?.(e, { value, checked: e.target.checked });\n };\n const switchClassNames = cx(styles[\"switch\"], className);\n const styleCombined = {\n ...style,\n ...layoutStyles,\n alignItems: description ? \"flex-start\" : \"center\"\n };\n return /* @__PURE__ */ jsxs(\"label\", { className: switchClassNames, style: styleCombined, children: [\n /* @__PURE__ */ jsx(\n \"input\",\n {\n \"data-anv\": \"switch\",\n ref,\n type: \"checkbox\",\n role: \"switch\",\n value,\n \"aria-checked\": checked ?? defaultChecked,\n checked,\n defaultChecked,\n onChange: onChangeHandler,\n ...rest\n }\n ),\n /* @__PURE__ */ jsx(\"span\", { \"aria-hidden\": true, className: styles[\"toggle\"], children: /* @__PURE__ */ jsx(\"span\", { className: styles[\"indicator\"], children: /* @__PURE__ */ jsx(Icon, { svg: Check, className: styles[\"check\"] }) }) }),\n label || description ? /* @__PURE__ */ jsxs(Flex, { direction: \"column\", gap: 1, children: [\n label && label,\n description && /* @__PURE__ */ jsx(Helper, { id: helperUid, description })\n ] }) : null\n ] });\n }\n);\nSwitch.displayName = \"Switch\";\n\nexport { Switch as S };\n//# sourceMappingURL=Switch-C8_Tviq1.js.map\n","import {\n SwitchProps as CoreSwitchProps,\n Switch as CoreSwitch,\n childrenToString,\n} from \"@servicetitan/hammer-react\";\nimport { Ref, forwardRef } from \"react\";\nimport { useTrackingId } from \"../../hooks/useTrackingId\";\nimport { DataTrackingId } from \"../../types/DataTrackingId\";\n\n/**\n * Props for the Switch component\n * @property {function} [onChange] - Callback when switch is changed\n * @property {ReactElement | string} [label] - Label for the switch\n * @property {boolean} [checked] - Controlled checked state\n * @property {boolean} [defaultChecked] - Default checked state\n * @extends ComponentPropsWithoutRef<\"input\">\n * @extends LayoutUtilProps\n * @extends DataTrackingId\n */\nexport type SwitchProps = CoreSwitchProps & DataTrackingId;\n\n/**\n * Switch component for toggling between on/off states.\n *\n * Features:\n * - Toggle switch with smooth animations\n * - Check icon indicator when active\n * - Accessible with proper ARIA roles and attributes\n * - Keyboard navigation support (Space/Enter)\n * - Controlled and uncontrolled state management\n * - Customizable label and styling\n * - Layout utilities for positioning and spacing\n * - Focus management with visible focus indicators\n * - Hover states and visual feedback\n * - Disabled state support\n * - Automatic tracking ID generation for analytics\n *\n * @example\n * <Switch\n * label=\"Enable notifications\"\n * onChange={(e, state) => console.log('Switch toggled:', state.checked)}\n * />\n */\nexport const Switch = forwardRef(\n (props: SwitchProps, ref: Ref<HTMLInputElement>) => {\n const data = {\n label: childrenToString(props.label),\n ariaLabel: props[\"aria-label\"],\n ariaLabelledBy: props[\"aria-labelledby\"],\n value: props.value,\n };\n\n const trackingId = useTrackingId({\n name: \"Switch\",\n data,\n hasOverride: !!props[\"data-tracking-id\"],\n });\n return <CoreSwitch ref={ref} data-tracking-id={trackingId} {...props} />;\n },\n);\nSwitch.displayName = CoreSwitch.displayName;\n"],"names":["Switch","Check","CoreSwitch"],"mappings":";;;;;;;;;;;AASsB,MAAM,MAAM,GAAG,kBAAkB;AACvD,MAAM,SAAS,GAAG,qBAAqB;AACvC,MAAM,KAAK,GAAG,iBAAiB;AAC/B,MAAM,MAAM,GAAG;AACf,CAAC,QAAQ,EAAE,iBAAiB;AAC5B,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,SAAS,EAAE,SAAS;AACrB,CAAC,KAAK,EAAE;AACR,CAAC;;AAED,MAAMA,QAAM,GAAG,UAAU;AACzB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK;AAClB,IAAI,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,kBAAkB,CAAC,KAAK,CAAC;AACtE,IAAI,MAAM;AACV,MAAM,KAAK;AACX,MAAM,WAAW;AACjB,MAAM,SAAS;AACf,MAAM,QAAQ;AACd,MAAM,OAAO;AACb,MAAM,cAAc;AACpB,MAAM,KAAK;AACX,MAAM,KAAK;AACX,MAAM,GAAG;AACT,KAAK,GAAG,cAAc;AACtB,IAAI,MAAM,SAAS,GAAG,KAAK,EAAE;AAC7B,IAAI,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK;AACnC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;AACzD,KAAK;AACL,IAAI,MAAM,gBAAgB,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;AAC5D,IAAI,MAAM,aAAa,GAAG;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