@servicetitan/anvil2 3.13.0 → 3.13.2

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 (284) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{AiMark-Bf0x9FF3.js → AiMark-DvxF40mc.js} +6 -5
  3. package/dist/{AiMark-Bf0x9FF3.js.map → AiMark-DvxF40mc.js.map} +1 -1
  4. package/dist/AiMark.js +1 -1
  5. package/dist/{Alert-S4D2DGx7.js → Alert-jMcoYnn3.js} +4 -4
  6. package/dist/{Alert-S4D2DGx7.js.map → Alert-jMcoYnn3.js.map} +1 -1
  7. package/dist/Alert.js +1 -1
  8. package/dist/{Announcement-CGglhMfd.js → Announcement-CGTv6M31.js} +6 -5
  9. package/dist/Announcement-CGTv6M31.js.map +1 -0
  10. package/dist/Announcement.js +1 -1
  11. package/dist/{AnvilProvider-Deh-Vgep.js → AnvilProvider-CgYBk3YP.js} +2 -2
  12. package/dist/{AnvilProvider-Deh-Vgep.js.map → AnvilProvider-CgYBk3YP.js.map} +1 -1
  13. package/dist/AnvilProvider.js +1 -1
  14. package/dist/{Avatar-lLiNUrxq.js → Avatar-D31JDNrs.js} +2 -2
  15. package/dist/{Avatar-lLiNUrxq.js.map → Avatar-D31JDNrs.js.map} +1 -1
  16. package/dist/{Avatar-ioIwH1KT.js → Avatar-DXI-w1Vi.js} +2 -2
  17. package/dist/{Avatar-ioIwH1KT.js.map → Avatar-DXI-w1Vi.js.map} +1 -1
  18. package/dist/Avatar.js +2 -2
  19. package/dist/{Breadcrumbs-CR1od1rZ.js → Breadcrumbs-lrFI8Kq5.js} +2 -2
  20. package/dist/{Breadcrumbs-CR1od1rZ.js.map → Breadcrumbs-lrFI8Kq5.js.map} +1 -1
  21. package/dist/Breadcrumbs.js +1 -1
  22. package/dist/{Calendar-B-K7eGua.js → Calendar-BDIucj98.js} +2 -2
  23. package/dist/{Calendar-B-K7eGua.js.map → Calendar-BDIucj98.js.map} +1 -1
  24. package/dist/{Calendar-DZnnO3m_.js → Calendar-PMw2HhYu.js} +2 -2
  25. package/dist/{Calendar-DZnnO3m_.js.map → Calendar-PMw2HhYu.js.map} +1 -1
  26. package/dist/Calendar.js +2 -2
  27. package/dist/{Checkbox-D5-HJC6_.js → Checkbox-D6F6szD5.js} +2 -2
  28. package/dist/{Checkbox-D5-HJC6_.js.map → Checkbox-D6F6szD5.js.map} +1 -1
  29. package/dist/{Checkbox-CXfrIo6I.js → Checkbox-laf_32U2.js} +5 -5
  30. package/dist/{Checkbox-CXfrIo6I.js.map → Checkbox-laf_32U2.js.map} +1 -1
  31. package/dist/Checkbox.js +1 -1
  32. package/dist/{Chip-DLK31FkK.js → Chip-DbmQFaSy.js} +4 -4
  33. package/dist/{Chip-DLK31FkK.js.map → Chip-DbmQFaSy.js.map} +1 -1
  34. package/dist/Chip.js +1 -1
  35. package/dist/Combobox.js +1 -1
  36. package/dist/{DataTable-ZczGbHZT.js → DataTable-B3Nctek_.js} +53 -52
  37. package/dist/DataTable-B3Nctek_.js.map +1 -0
  38. package/dist/DataTable.css +96 -115
  39. package/dist/{DateFieldRange-8JO-rJm-.js → DateFieldRange-Babt-rTV.js} +4 -4
  40. package/dist/{DateFieldRange-8JO-rJm-.js.map → DateFieldRange-Babt-rTV.js.map} +1 -1
  41. package/dist/DateFieldRange.js +1 -1
  42. package/dist/{DateFieldSingle-CrTMTL9v.js → DateFieldSingle-DMcfJwxk.js} +4 -4
  43. package/dist/{DateFieldSingle-CrTMTL9v.js.map → DateFieldSingle-DMcfJwxk.js.map} +1 -1
  44. package/dist/DateFieldSingle.js +1 -1
  45. package/dist/{DateFieldYearless-Bo1V-4K2.js → DateFieldYearless-cX9tklg3.js} +5 -5
  46. package/dist/{DateFieldYearless-Bo1V-4K2.js.map → DateFieldYearless-cX9tklg3.js.map} +1 -1
  47. package/dist/DateFieldYearless.js +1 -1
  48. package/dist/{DateFieldYearlessRange-rj36AQhR.js → DateFieldYearlessRange-B5q1JJ4o.js} +4 -4
  49. package/dist/{DateFieldYearlessRange-rj36AQhR.js.map → DateFieldYearlessRange-B5q1JJ4o.js.map} +1 -1
  50. package/dist/DateFieldYearlessRange.js +1 -1
  51. package/dist/{DaysOfTheWeek-B39FZ-TR.js → DaysOfTheWeek-BGeOcpvH.js} +4 -4
  52. package/dist/{DaysOfTheWeek-B39FZ-TR.js.map → DaysOfTheWeek-BGeOcpvH.js.map} +1 -1
  53. package/dist/DaysOfTheWeek.js +1 -1
  54. package/dist/{Dialog-PcuDCqK7.js → Dialog-DHheusQG.js} +3 -3
  55. package/dist/{Dialog-PcuDCqK7.js.map → Dialog-DHheusQG.js.map} +1 -1
  56. package/dist/Dialog.js +1 -1
  57. package/dist/{Drawer-CEsvth0Z.js → Drawer-ZpS1rSAo.js} +4 -4
  58. package/dist/{Drawer-CEsvth0Z.js.map → Drawer-ZpS1rSAo.js.map} +1 -1
  59. package/dist/Drawer.js +1 -1
  60. package/dist/DrillDown.js +1 -1
  61. package/dist/{EditCard-CtWVEAsA.js → EditCard-Cfi2Vz2n.js} +2 -2
  62. package/dist/{EditCard-CtWVEAsA.js.map → EditCard-Cfi2Vz2n.js.map} +1 -1
  63. package/dist/EditCard.js +1 -1
  64. package/dist/{FieldLabel-BFJdJP_W.js → FieldLabel-8AZcbhoO.js} +3 -3
  65. package/dist/{FieldLabel-BFJdJP_W.js.map → FieldLabel-8AZcbhoO.js.map} +1 -1
  66. package/dist/FieldLabel.js +1 -1
  67. package/dist/{FieldMessage-mTGdycSA.js → FieldMessage-8c9yA_kw.js} +4 -4
  68. package/dist/{FieldMessage-mTGdycSA.js.map → FieldMessage-8c9yA_kw.js.map} +1 -1
  69. package/dist/FieldMessage.js +1 -1
  70. package/dist/{FilterBar-lIGh4xIl.js → FilterBar-BBG7xChV.js} +5 -6
  71. package/dist/FilterBar-BBG7xChV.js.map +1 -0
  72. package/dist/FilterBar.js +1 -1
  73. package/dist/{Helper-Bq6Npkgh.js → Helper-BHpOgh7k.js} +2 -2
  74. package/dist/{Helper-Bq6Npkgh.js.map → Helper-BHpOgh7k.js.map} +1 -1
  75. package/dist/{InputMask-DJTXKPmK.js → InputMask-l91oggrN.js} +3 -3
  76. package/dist/{InputMask-DJTXKPmK.js.map → InputMask-l91oggrN.js.map} +1 -1
  77. package/dist/InputMask.js +1 -1
  78. package/dist/{ListView-CPDHEpD-.js → ListView-CZhtsHeq.js} +2 -2
  79. package/dist/{ListView-CPDHEpD-.js.map → ListView-CZhtsHeq.js.map} +1 -1
  80. package/dist/ListView.js +1 -1
  81. package/dist/{Listbox-Of-WaRWI.js → Listbox-XzguYMmw.js} +2 -2
  82. package/dist/{Listbox-Of-WaRWI.js.map → Listbox-XzguYMmw.js.map} +1 -1
  83. package/dist/Listbox.js +1 -1
  84. package/dist/{Menu-CM0EndhK.js → Menu-BjPE_ODh.js} +45 -38
  85. package/dist/Menu-BjPE_ODh.js.map +1 -0
  86. package/dist/Menu.css +21 -21
  87. package/dist/Menu.js +1 -1
  88. package/dist/Menu.module-CMDgSO9k.js +13 -0
  89. package/dist/Menu.module-CMDgSO9k.js.map +1 -0
  90. package/dist/MultiSelectField.js +1 -1
  91. package/dist/{MultiSelectFieldSync-CFw607cm.js → MultiSelectFieldSync-LbZxIXJ1.js} +58 -34
  92. package/dist/MultiSelectFieldSync-LbZxIXJ1.js.map +1 -0
  93. package/dist/MultiSelectMenu.js +1 -1
  94. package/dist/{MultiSelectMenuSync-C6afc80f.js → MultiSelectMenuSync-jlTj0prP.js} +6 -5
  95. package/dist/{MultiSelectMenuSync-C6afc80f.js.map → MultiSelectMenuSync-jlTj0prP.js.map} +1 -1
  96. package/dist/{NumberField-ASyiQu5l.js → NumberField-KO51fZ_O.js} +4 -4
  97. package/dist/{NumberField-ASyiQu5l.js.map → NumberField-KO51fZ_O.js.map} +1 -1
  98. package/dist/NumberField.js +1 -1
  99. package/dist/{Page-D5NbV2Y8.js → Page-Z_ttFQJZ.js} +219 -148
  100. package/dist/Page-Z_ttFQJZ.js.map +1 -0
  101. package/dist/Page.css +123 -88
  102. package/dist/Page.js +1 -1
  103. package/dist/{Pagination-B4HCZNYw.js → Pagination-C0x5v_yk.js} +3 -3
  104. package/dist/{Pagination-B4HCZNYw.js.map → Pagination-C0x5v_yk.js.map} +1 -1
  105. package/dist/Pagination.js +1 -1
  106. package/dist/{Popover-CjsE5FG0.js → Popover-BPg2nwm3.js} +5 -5
  107. package/dist/Popover-BPg2nwm3.js.map +1 -0
  108. package/dist/Popover.js +1 -1
  109. package/dist/{ProgressBar-C_HXy_Hx.js → ProgressBar-Dc8PTakM.js} +4 -5
  110. package/dist/{ProgressBar-C_HXy_Hx.js.map → ProgressBar-Dc8PTakM.js.map} +1 -1
  111. package/dist/ProgressBar.js +1 -1
  112. package/dist/{Radio-B5KxT85j.js → Radio-BDBjGCJR.js} +5 -5
  113. package/dist/{Radio-B5KxT85j.js.map → Radio-BDBjGCJR.js.map} +1 -1
  114. package/dist/{Radio-CBQpuxLP.js → Radio-kONDu2uD.js} +2 -2
  115. package/dist/{Radio-CBQpuxLP.js.map → Radio-kONDu2uD.js.map} +1 -1
  116. package/dist/Radio.js +1 -1
  117. package/dist/{RichTextEditor-C7CCeqGW.js → RichTextEditor-U5xv9w8O.js} +10 -10
  118. package/dist/{RichTextEditor-C7CCeqGW.js.map → RichTextEditor-U5xv9w8O.js.map} +1 -1
  119. package/dist/RichTextEditor.js +1 -1
  120. package/dist/{SavedFiltersButton-BwnP6fuk.js → SavedFiltersButton-LViLmMde.js} +9 -9
  121. package/dist/{SavedFiltersButton-BwnP6fuk.js.map → SavedFiltersButton-LViLmMde.js.map} +1 -1
  122. package/dist/SavedFiltersButton.js +1 -1
  123. package/dist/{SelectCard-DbWOdnuI.js → SelectCard-BhVmrXxS.js} +3 -3
  124. package/dist/{SelectCard-DbWOdnuI.js.map → SelectCard-BhVmrXxS.js.map} +1 -1
  125. package/dist/SelectCard.js +1 -1
  126. package/dist/SelectField.js +1 -1
  127. package/dist/{SelectFieldLabel-CujwhWLB.js → SelectFieldLabel-hJwER0Gc.js} +2 -2
  128. package/dist/{SelectFieldLabel-CujwhWLB.js.map → SelectFieldLabel-hJwER0Gc.js.map} +1 -1
  129. package/dist/{SelectFieldSync-BdYCHwPd.js → SelectFieldSync-DDL_XnSP.js} +6 -6
  130. package/dist/{SelectFieldSync-BdYCHwPd.js.map → SelectFieldSync-DDL_XnSP.js.map} +1 -1
  131. package/dist/SelectMenu.js +1 -1
  132. package/dist/{SelectMenuSync-DlqmXr04.js → SelectMenuSync-BdrLS1Jg.js} +4 -4
  133. package/dist/{SelectMenuSync-DlqmXr04.js.map → SelectMenuSync-BdrLS1Jg.js.map} +1 -1
  134. package/dist/{SelectOptions-Cz4mU7WG.js → SelectOptions-BbQaDz-p.js} +2 -2
  135. package/dist/{SelectOptions-Cz4mU7WG.js.map → SelectOptions-BbQaDz-p.js.map} +1 -1
  136. package/dist/{SelectTrigger-QkI2I04A.js → SelectTrigger-CKiKG_Z_.js} +3 -3
  137. package/dist/{SelectTrigger-QkI2I04A.js.map → SelectTrigger-CKiKG_Z_.js.map} +1 -1
  138. package/dist/SelectTrigger.js +1 -1
  139. package/dist/{SelectTriggerBase-C5C6JmDF.js → SelectTriggerBase-C53mpZ6G.js} +4 -4
  140. package/dist/{SelectTriggerBase-C5C6JmDF.js.map → SelectTriggerBase-C53mpZ6G.js.map} +1 -1
  141. package/dist/{StatusIcon-BwULopyH.js → StatusIcon-BqorkNJf.js} +13 -9
  142. package/dist/{StatusIcon-BwULopyH.js.map → StatusIcon-BqorkNJf.js.map} +1 -1
  143. package/dist/StatusIcon.css +16 -10
  144. package/dist/{Switch-MfbL3JVk.js → Switch-BuIZ8Peh.js} +3 -3
  145. package/dist/{Switch-MfbL3JVk.js.map → Switch-BuIZ8Peh.js.map} +1 -1
  146. package/dist/Switch.js +1 -1
  147. package/dist/Table.js +1 -1
  148. package/dist/{Text-CEJHoh0p.js → Text-Ci-L0y2z.js} +2 -2
  149. package/dist/{Text-CEJHoh0p.js.map → Text-Ci-L0y2z.js.map} +1 -1
  150. package/dist/Text.js +1 -1
  151. package/dist/{TextField-DTbZOxwI.js → TextField-C5db78Nb.js} +4 -4
  152. package/dist/{TextField-DTbZOxwI.js.map → TextField-C5db78Nb.js.map} +1 -1
  153. package/dist/{TextField-DWbDQfHY.js → TextField-CIF-Ibkg.js} +2 -2
  154. package/dist/{TextField-DWbDQfHY.js.map → TextField-CIF-Ibkg.js.map} +1 -1
  155. package/dist/TextField.js +1 -1
  156. package/dist/{Textarea-CSXwaDf6.js → Textarea-90BDBw_L.js} +4 -4
  157. package/dist/{Textarea-CSXwaDf6.js.map → Textarea-90BDBw_L.js.map} +1 -1
  158. package/dist/Textarea.js +1 -1
  159. package/dist/{ThemeProvider-BlEOL-sk.js → ThemeProvider-D4dbBfHd.js} +33 -24
  160. package/dist/ThemeProvider-D4dbBfHd.js.map +1 -0
  161. package/dist/ThemeProvider.js +1 -1
  162. package/dist/ThemeProviderContext-l52GohYT.js.map +1 -1
  163. package/dist/{TimeField-BZQP8KSf.js → TimeField-C_K-uPrE.js} +4 -4
  164. package/dist/{TimeField-BZQP8KSf.js.map → TimeField-C_K-uPrE.js.map} +1 -1
  165. package/dist/TimeField.js +1 -1
  166. package/dist/Toast.js +2 -2
  167. package/dist/{Toaster-C2z5rCrc.js → Toaster-CC34KRD9.js} +60 -32
  168. package/dist/Toaster-CC34KRD9.js.map +1 -0
  169. package/dist/{Toaster-B1xZq1bs.js → Toaster-CRoqsuBq.js} +41 -30
  170. package/dist/Toaster-CRoqsuBq.js.map +1 -0
  171. package/dist/{Toolbar-BDjgSnCU.js → Toolbar-C1fBdJiE.js} +5 -5
  172. package/dist/{Toolbar-BDjgSnCU.js.map → Toolbar-C1fBdJiE.js.map} +1 -1
  173. package/dist/{Toolbar-neulke7h.js → Toolbar-CKgEX5iE.js} +4 -4
  174. package/dist/{Toolbar-neulke7h.js.map → Toolbar-CKgEX5iE.js.map} +1 -1
  175. package/dist/Toolbar.js +2 -2
  176. package/dist/{ToolbarButtonToggle-C_Dq_qyS.js → ToolbarButtonToggle-DEPfji6E.js} +2 -2
  177. package/dist/{ToolbarButtonToggle-C_Dq_qyS.js.map → ToolbarButtonToggle-DEPfji6E.js.map} +1 -1
  178. package/dist/{Tooltip-CzrJgl98.js → Tooltip-DM63W1Np.js} +6 -6
  179. package/dist/Tooltip-DM63W1Np.js.map +1 -0
  180. package/dist/Tooltip.js +1 -1
  181. package/dist/TreeSelectField.js +1 -1
  182. package/dist/{TreeSelectFieldSync-D7ntJmDF.js → TreeSelectFieldSync-D7ou3LDX.js} +6 -6
  183. package/dist/{TreeSelectFieldSync-D7ntJmDF.js.map → TreeSelectFieldSync-D7ou3LDX.js.map} +1 -1
  184. package/dist/TreeSelectMenu.js +1 -1
  185. package/dist/{TreeSelectMenuSync-CTm2n1vJ.js → TreeSelectMenuSync-DVbQ-6UN.js} +5 -4
  186. package/dist/{TreeSelectMenuSync-CTm2n1vJ.js.map → TreeSelectMenuSync-DVbQ-6UN.js.map} +1 -1
  187. package/dist/{TypeaheadTextField-CEWM_N-N.js → TypeaheadTextField-C1uO5wgs.js} +4 -4
  188. package/dist/{TypeaheadTextField-CEWM_N-N.js.map → TypeaheadTextField-C1uO5wgs.js.map} +1 -1
  189. package/dist/TypeaheadTextField.js +1 -1
  190. package/dist/{YearlessDateInputWithPicker-D6N_mYDe.js → YearlessDateInputWithPicker-Cav1QK7J.js} +2 -2
  191. package/dist/{YearlessDateInputWithPicker-D6N_mYDe.js.map → YearlessDateInputWithPicker-Cav1QK7J.js.map} +1 -1
  192. package/dist/arrayIdsEqual-DnevhwqN.js +13 -0
  193. package/dist/arrayIdsEqual-DnevhwqN.js.map +1 -0
  194. package/dist/beta.js +17 -16
  195. package/dist/beta.js.map +1 -1
  196. package/dist/{bulkActionTypes-jKqcdwuO.js → bulkActionTypes-DHvrhDC5.js} +2 -2
  197. package/dist/{bulkActionTypes-jKqcdwuO.js.map → bulkActionTypes-DHvrhDC5.js.map} +1 -1
  198. package/dist/check_circle-C3DDoVXp.js +8 -0
  199. package/dist/check_circle-C3DDoVXp.js.map +1 -0
  200. package/dist/{confirmationTypes-CG7xl50f.js → confirmationTypes-DeRtO_Cw.js} +2 -13
  201. package/dist/confirmationTypes-DeRtO_Cw.js.map +1 -0
  202. package/dist/{filter-state-TEgOgQVy.js → filter-state-CaOTUqh1.js} +25 -30
  203. package/dist/filter-state-CaOTUqh1.js.map +1 -0
  204. package/dist/filter-state.css +27 -14
  205. package/dist/{floating-ui.react-dom-CyrxPiI-.js → floating-ui.react-dom-BIKT960u.js} +2 -2
  206. package/dist/{floating-ui.react-dom-CyrxPiI-.js.map → floating-ui.react-dom-BIKT960u.js.map} +1 -1
  207. package/dist/{index-lV_kQQH8.js → index-BObnJSIh.js} +2 -2
  208. package/dist/{index-lV_kQQH8.js.map → index-BObnJSIh.js.map} +1 -1
  209. package/dist/index.js +916 -58
  210. package/dist/index.js.map +1 -1
  211. package/dist/index2.css +407 -0
  212. package/dist/portalScopeClassNames--sU7fdKW.js +16 -0
  213. package/dist/portalScopeClassNames--sU7fdKW.js.map +1 -0
  214. package/dist/settings-Bsahaln8.js +10 -0
  215. package/dist/settings-Bsahaln8.js.map +1 -0
  216. package/dist/src/beta/components/Page/Page.d.ts +231 -0
  217. package/dist/src/beta/components/Page/Page.figma.d.ts +1 -0
  218. package/dist/src/beta/components/Page/PageContent.d.ts +22 -0
  219. package/dist/src/beta/components/Page/PageContext.d.ts +6 -0
  220. package/dist/src/beta/components/Page/PageFooter.d.ts +25 -0
  221. package/dist/src/beta/components/Page/PageHeader.d.ts +157 -0
  222. package/dist/src/beta/components/Page/PagePanel.d.ts +145 -0
  223. package/dist/src/beta/components/Page/PagePanelContent.d.ts +46 -0
  224. package/dist/src/beta/components/Page/PagePanelFooter.d.ts +34 -0
  225. package/dist/src/beta/components/Page/PagePanelHeader.d.ts +21 -0
  226. package/dist/src/beta/components/Page/PageSidebar.d.ts +57 -0
  227. package/dist/src/beta/components/Page/PageSidebarContext.d.ts +5 -0
  228. package/dist/src/beta/components/Page/PageSidebarHeader.d.ts +23 -0
  229. package/dist/src/beta/components/Page/index.d.ts +11 -0
  230. package/dist/src/beta/components/Page/internal/PagePanelContext.d.ts +11 -0
  231. package/dist/src/beta/components/Page/pageBreakpoint.d.ts +25 -0
  232. package/dist/src/beta/components/index.d.ts +1 -0
  233. package/dist/src/components/Menu/internal/menuSelectors.d.ts +4 -0
  234. package/dist/src/components/Menu/types.d.ts +24 -4
  235. package/dist/src/components/Toast/Toaster.d.ts +5 -4
  236. package/dist/src/components/Toast/internal/Toaster.d.ts +21 -0
  237. package/dist/src/integration-testing/beta-page-native-scroll.spec.d.ts +1 -0
  238. package/dist/src/internal/components/StatusIcon/StatusIcon.d.ts +1 -1
  239. package/dist/src/internal/functions/portalScopeClassNames.d.ts +15 -0
  240. package/dist/src/internal/hooks/useCommitSelectionIfChanged.d.ts +20 -0
  241. package/dist/src/providers/ThemeProvider/internal/ThemeProviderContext.d.ts +8 -0
  242. package/dist/src/providers/ThemeProvider/themeToCssVars.d.ts +16 -0
  243. package/dist/{stripInlineMarkdown-BGdIj-cj.js → stripInlineMarkdown-aIDVZDGr.js} +2 -2
  244. package/dist/{stripInlineMarkdown-BGdIj-cj.js.map → stripInlineMarkdown-aIDVZDGr.js.map} +1 -1
  245. package/dist/{syncFilterUtils-9Pqeq8J4.js → syncFilterUtils-BPuSOFJn.js} +3 -3
  246. package/dist/{syncFilterUtils-9Pqeq8J4.js.map → syncFilterUtils-BPuSOFJn.js.map} +1 -1
  247. package/dist/{treeSync-tEqZxxHQ.js → treeSync-IYtVu8Jq.js} +3 -3
  248. package/dist/{treeSync-tEqZxxHQ.js.map → treeSync-IYtVu8Jq.js.map} +1 -1
  249. package/dist/{useDrilldown-D5iDWSx7.js → useDrilldown-CHukLz7z.js} +2 -2
  250. package/dist/{useDrilldown-D5iDWSx7.js.map → useDrilldown-CHukLz7z.js.map} +1 -1
  251. package/dist/{useInfiniteCombobox-DRd_Fp1w.js → useInfiniteCombobox-DNXkXJN5.js} +5 -5
  252. package/dist/{useInfiniteCombobox-DRd_Fp1w.js.map → useInfiniteCombobox-DNXkXJN5.js.map} +1 -1
  253. package/dist/{useInvalidateOnOptionsChange-CC_6sRp9.js → useInvalidateOnOptionsChange-C92u1JZc.js} +8 -6
  254. package/dist/useInvalidateOnOptionsChange-C92u1JZc.js.map +1 -0
  255. package/dist/usePrefersColorScheme-CwOF0TjZ.js +31 -0
  256. package/dist/usePrefersColorScheme-CwOF0TjZ.js.map +1 -0
  257. package/dist/usePrefersColorScheme.js +1 -1
  258. package/package.json +2 -2
  259. package/dist/Announcement-CGglhMfd.js.map +0 -1
  260. package/dist/DataTable-ZczGbHZT.js.map +0 -1
  261. package/dist/FilterBar-lIGh4xIl.js.map +0 -1
  262. package/dist/Menu-CM0EndhK.js.map +0 -1
  263. package/dist/Menu.module-CoyI86tZ.js +0 -13
  264. package/dist/Menu.module-CoyI86tZ.js.map +0 -1
  265. package/dist/MultiSelectFieldSync-CFw607cm.js.map +0 -1
  266. package/dist/Page-D5NbV2Y8.js.map +0 -1
  267. package/dist/Popover-CjsE5FG0.js.map +0 -1
  268. package/dist/ThemeProvider-BlEOL-sk.js.map +0 -1
  269. package/dist/Toaster-B1xZq1bs.js.map +0 -1
  270. package/dist/Toaster-C2z5rCrc.js.map +0 -1
  271. package/dist/Tooltip-CzrJgl98.js.map +0 -1
  272. package/dist/check_circle-CM0ukqXv.js +0 -6
  273. package/dist/check_circle-CM0ukqXv.js.map +0 -1
  274. package/dist/confirmationTypes-CG7xl50f.js.map +0 -1
  275. package/dist/error-DR_wWdYY.js +0 -6
  276. package/dist/error-DR_wWdYY.js.map +0 -1
  277. package/dist/filter-state-TEgOgQVy.js.map +0 -1
  278. package/dist/portalScopeClassNames-BTyv0FY8.js +0 -7
  279. package/dist/portalScopeClassNames-BTyv0FY8.js.map +0 -1
  280. package/dist/useInvalidateOnOptionsChange-CC_6sRp9.js.map +0 -1
  281. package/dist/usePrefersColorScheme-_hT7dK7_.js +0 -31
  282. package/dist/usePrefersColorScheme-_hT7dK7_.js.map +0 -1
  283. package/dist/warning-c4Wj1rI4.js +0 -6
  284. package/dist/warning-c4Wj1rI4.js.map +0 -1
@@ -0,0 +1,21 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ /**
3
+ * Props for the PagePanelHeader component
4
+ * @extends ComponentPropsWithoutRef<"header">
5
+ */
6
+ export type PagePanelHeaderProps = ComponentPropsWithoutRef<"header">;
7
+ /**
8
+ * Header component for the panel that stays pinned to the top of the panel's scrollable area.
9
+ *
10
+ * Features:
11
+ * - Sticky positioning at the top of the panel's scrollable content
12
+ * - Proper semantic HTML structure
13
+ * - Consistent padding and styling with the design system
14
+ * - Supports all standard header element props
15
+ *
16
+ * @example
17
+ * <Page.Panel.Header>
18
+ * <Text variant="headline" el="h3">Panel Title</Text>
19
+ * </Page.Panel.Header>
20
+ */
21
+ export declare const PagePanelHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
@@ -0,0 +1,57 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ /**
3
+ * Props for the PageSidebar component
4
+ * @extends ComponentPropsWithoutRef<"div">
5
+ */
6
+ export type PageSidebarProps = ComponentPropsWithoutRef<"div"> & {
7
+ /**
8
+ * Key for storing sidebar collapsed state in localStorage
9
+ * @default "sidebar-collapsed"
10
+ */
11
+ localStorageKey?: string;
12
+ /**
13
+ * Custom tracking ID for analytics
14
+ */
15
+ ["data-tracking-id"]?: string;
16
+ /**
17
+ * Title to display in the adaptive trigger button
18
+ */
19
+ currentPageTitle?: string;
20
+ };
21
+ /**
22
+ * PageSidebar component for creating collapsible navigation sidebars.
23
+ *
24
+ * Features:
25
+ * - Collapsible sidebar with localStorage persistence
26
+ * - Responsive design with adaptive popover on mobile
27
+ * - Automatic tracking ID generation for analytics
28
+ * - Keyboard navigation and accessibility support
29
+ * - Toggle button with tooltip
30
+ * - Context provider for sidebar state
31
+ * - Mobile-friendly popover navigation
32
+ *
33
+ * @example
34
+ * <Page.Sidebar currentPageTitle="Navigation">
35
+ * <Page.SidebarHeader>
36
+ * <Text variant="headline" el="h2">Sidebar Title</Text>
37
+ * </Page.SidebarHeader>
38
+ * <SideNav>
39
+ * <SideNavLink pathname="/">Home</SideNavLink>
40
+ * </SideNav>
41
+ * </Page.Sidebar>
42
+ */
43
+ export declare const PageSidebar: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
44
+ /**
45
+ * Key for storing sidebar collapsed state in localStorage
46
+ * @default "sidebar-collapsed"
47
+ */
48
+ localStorageKey?: string;
49
+ /**
50
+ * Custom tracking ID for analytics
51
+ */
52
+ "data-tracking-id"?: string;
53
+ /**
54
+ * Title to display in the adaptive trigger button
55
+ */
56
+ currentPageTitle?: string;
57
+ } & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ type PageSideBarContextProps = {
2
+ collapsed: boolean;
3
+ };
4
+ export declare const PageSideBarContext: import('react').Context<PageSideBarContextProps | null>;
5
+ export {};
@@ -0,0 +1,23 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ /**
3
+ * Props for the PageSidebarHeader component
4
+ * @extends ComponentPropsWithoutRef<"div">
5
+ */
6
+ export type PageSidebarHeaderProps = ComponentPropsWithoutRef<"div">;
7
+ /**
8
+ * PageSidebarHeader component for creating header sections within sidebars.
9
+ *
10
+ * Features:
11
+ * - Container for sidebar header content
12
+ * - Automatic visibility handling based on sidebar collapsed state
13
+ * - Supports all standard div props
14
+ * - Context-aware styling
15
+ *
16
+ * @example
17
+ * <Page.SidebarHeader>
18
+ * <Text variant="headline" el="h2" size="medium">
19
+ * Sidebar Title
20
+ * </Text>
21
+ * </Page.SidebarHeader>
22
+ */
23
+ export declare const PageSidebarHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,11 @@
1
+ export * from './Page';
2
+ export { Page as default } from './Page';
3
+ export type { PageContentProps } from './PageContent';
4
+ export type { PageSidebarProps } from './PageSidebar';
5
+ export type { PagePanelProps } from './PagePanel';
6
+ export type { PagePanelHeaderProps } from './PagePanelHeader';
7
+ export type { PagePanelContentProps } from './PagePanelContent';
8
+ export type { PagePanelFooterProps } from './PagePanelFooter';
9
+ export type { PageFooterProps } from './PageFooter';
10
+ export type { PageHeaderProps } from './PageHeader';
11
+ export type { PageContextProps } from './PageContext';
@@ -0,0 +1,11 @@
1
+ import { RefObject } from 'react';
2
+ /**
3
+ * Context props for the PagePanel component
4
+ */
5
+ export type PagePanelContextProps = {
6
+ /**
7
+ * Reference to the panel header element for sticky content positioning.
8
+ */
9
+ headerRef?: RefObject<HTMLElement>;
10
+ };
11
+ export declare const PagePanelContext: import('react').Context<PagePanelContextProps>;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The Page's `lg` breakpoint width in px — the boundary between the stacked
3
+ * "mobile" layout (sidebar collapses to a popover trigger, panel becomes a
4
+ * dialog) and the desktop layout. Parsed once from the design token; falls
5
+ * back to `0` if the token is unavailable.
6
+ *
7
+ * Single source of truth for every width-driven layout decision in Page
8
+ * (`PageSidebar`, `PagePanel`, `PageContent`) so they can never drift apart.
9
+ */
10
+ export declare const PAGE_LG_BREAKPOINT: number;
11
+ /**
12
+ * Whether the given page width should use the mobile layout (below `lg`).
13
+ * Used by `PageSidebar`/`PagePanel` to swap to their popover/dialog forms.
14
+ */
15
+ export declare const isPageMobileWidth: (pageWidth: number | undefined) => boolean;
16
+ /**
17
+ * Whether `Page`'s content wrapper — the `main` landmark every `Page.Content`
18
+ * portals into — is a native scroll container (desktop, `lg` and above). Below
19
+ * `lg`, `Page` is stacked into a single mobile column and the whole document
20
+ * scrolls together, so the wrapper stays in normal flow instead of becoming an
21
+ * independently-scrolling, keyboard-focusable region — matching when `Page`'s
22
+ * stylesheet switches `.sidebar`/`.panel` into their own sticky, self-scrolling
23
+ * desktop layout.
24
+ */
25
+ export declare const isPageContentScrollContainerActive: (pageWidth: number | undefined) => boolean;
@@ -12,3 +12,4 @@ export * from './InteractiveCard';
12
12
  export * from './RichTextEditor';
13
13
  export * from './SavedFiltersButton';
14
14
  export * from './TypeaheadTextField';
15
+ export * from './Page';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Returns a selector for focusable menu items within a scroller element.
3
+ */
4
+ export declare const getMenuFocusableItemsSelector: (scrollerId: string) => string;
@@ -1,14 +1,33 @@
1
1
  import { Placement, UseFloatingOptions } from '@floating-ui/react';
2
- import { AriaAttributes, KeyboardEvent, ReactElement, RefObject } from 'react';
2
+ import { AriaAttributes, FocusEvent, KeyboardEvent, MouseEvent, ReactElement, Ref } from 'react';
3
+ /**
4
+ * Props supplied to a `trigger` render function, for both root and nested menus.
5
+ *
6
+ * Spread all of them onto the returned element. Every prop is optional, so
7
+ * dropping one still type-checks — but `role`, `data-anv`, and `tabIndex` are what
8
+ * the parent menu's focus query matches on, and a trigger missing them is skipped
9
+ * by keyboard navigation.
10
+ */
3
11
  export type MenuReturnProps = {
4
12
  "data-open"?: boolean;
5
13
  "aria-controls"?: AriaAttributes["aria-controls"];
6
14
  "aria-expanded"?: AriaAttributes["aria-expanded"];
7
15
  "aria-haspopup"?: AriaAttributes["aria-haspopup"];
8
16
  "data-state": "open" | "close";
17
+ /** Marks the trigger as a focusable menu item. Nested menus only. */
18
+ "data-anv"?: "menu-item";
19
+ /** Nested menus only. */
20
+ role?: "menuitem";
21
+ id?: string;
22
+ /** Roving tab index — `0` while the item is focused, `-1` otherwise. */
23
+ tabIndex?: number;
24
+ className?: string;
9
25
  onClick?: () => void;
10
- onKeyDown?: (e: KeyboardEvent<HTMLButtonElement>) => void;
11
- ref?: RefObject<HTMLButtonElement>;
26
+ onKeyDown?: (e: KeyboardEvent<HTMLElement>) => void;
27
+ onFocus?: (e: FocusEvent<HTMLElement>) => void;
28
+ onBlur?: (e: FocusEvent<HTMLElement>) => void;
29
+ onMouseEnter?: (e: MouseEvent<HTMLElement>) => void;
30
+ ref?: Ref<HTMLButtonElement>;
12
31
  };
13
32
  /**
14
33
  * Common props shared between Menu components
@@ -52,7 +71,8 @@ export type MenuCommonProps = {
52
71
  */
53
72
  disableAutoHeight?: boolean;
54
73
  /**
55
- * Custom trigger element render function
74
+ * Custom trigger element render function. Spread the supplied props onto the
75
+ * element you return, including `ref`.
56
76
  */
57
77
  trigger?: (props: MenuReturnProps) => ReactElement;
58
78
  /**
@@ -1,4 +1,4 @@
1
- import { ToasterProps as BaseToasterProps, ToastEventType } from './internal/Toaster';
1
+ import { ToasterProps as BaseToasterProps } from './internal/Toaster';
2
2
  /**
3
3
  * Props for the Toaster component
4
4
  * @property {number | false} [duration] - Timeout, in ms, before toasts auto-closes. If set to false, toasts will not auto-close
@@ -6,9 +6,9 @@ import { ToasterProps as BaseToasterProps, ToastEventType } from './internal/Toa
6
6
  * @property {(toastEvent: ToastEventType) => void} [onToastEvent] - Callback function that is called when toasts are added, updated, or dismissed
7
7
  * @property {string} [focusKey] - How a screen-reader will announce the hotkey used to set focus on the first toast
8
8
  * @property {number} [toastsBeforeStack] - How many toasts to display before they start stacking
9
- * @extends Omit<BaseToasterProps, "disableEvents">
9
+ * @extends Omit<BaseToasterProps, "disableEvents" | "onToastCountChange">
10
10
  */
11
- export type ToasterProps = Omit<BaseToasterProps, "disableEvents">;
11
+ export type ToasterProps = Omit<BaseToasterProps, "disableEvents" | "onToastCountChange">;
12
12
  /**
13
13
  * Toaster component for managing and displaying toast notifications with anvil2-specific features.
14
14
  *
@@ -45,5 +45,6 @@ export type ToasterProps = Omit<BaseToasterProps, "disableEvents">;
45
45
  export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<import('./internal/ToastStack').ToastStackProps, "toasts"> & {
46
46
  disableEvents?: boolean;
47
47
  id: string;
48
- onToastEvent?: (toastEvent: ToastEventType) => void;
48
+ onToastEvent?: (toastEvent: import('./internal/Toaster').ToastEventType) => void;
49
+ onToastCountChange?: (toastCount: number) => void;
49
50
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -29,6 +29,13 @@ export type ToasterProps = ComponentPropsWithoutRef<"div"> & Omit<ToastStackProp
29
29
  * Callback function that is called when toasts are added, updated, or dismissed.
30
30
  */
31
31
  onToastEvent?: (toastEvent: ToastEventType) => void;
32
+ /**
33
+ * Callback function that is called with the number of toasts this toaster is
34
+ * rendering, whenever that number changes. Unlike `onToastEvent` it also
35
+ * reports dismissals that dispatch no event, such as an elapsed `duration`,
36
+ * so it is safe to gate work on.
37
+ */
38
+ onToastCountChange?: (toastCount: number) => void;
32
39
  };
33
40
  /**
34
41
  * Toaster component for managing and displaying toast notifications.
@@ -74,6 +81,13 @@ export declare const ToasterContent: import('react').ForwardRefExoticComponent<O
74
81
  * Callback function that is called when toasts are added, updated, or dismissed.
75
82
  */
76
83
  onToastEvent?: (toastEvent: ToastEventType) => void;
84
+ /**
85
+ * Callback function that is called with the number of toasts this toaster is
86
+ * rendering, whenever that number changes. Unlike `onToastEvent` it also
87
+ * reports dismissals that dispatch no event, such as an elapsed `duration`,
88
+ * so it is safe to gate work on.
89
+ */
90
+ onToastCountChange?: (toastCount: number) => void;
77
91
  } & import('react').RefAttributes<HTMLDivElement>>;
78
92
  export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<ToastStackProps, "toasts"> & {
79
93
  /**
@@ -90,4 +104,11 @@ export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<imp
90
104
  * Callback function that is called when toasts are added, updated, or dismissed.
91
105
  */
92
106
  onToastEvent?: (toastEvent: ToastEventType) => void;
107
+ /**
108
+ * Callback function that is called with the number of toasts this toaster is
109
+ * rendering, whenever that number changes. Unlike `onToastEvent` it also
110
+ * reports dismissals that dispatch no event, such as an elapsed `duration`,
111
+ * so it is safe to gate work on.
112
+ */
113
+ onToastCountChange?: (toastCount: number) => void;
93
114
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -23,7 +23,7 @@ export type StatusIconProps = {
23
23
  /**
24
24
  * The size of the status icon.
25
25
  */
26
- size?: Extract<Size, "small" | "medium">;
26
+ size?: Extract<Size, "small" | "medium" | "large" | "xlarge">;
27
27
  };
28
28
  /**
29
29
  * StatusIcon component for displaying a status indicator icon.
@@ -1,3 +1,4 @@
1
+ import { CSSProperties } from 'react';
1
2
  /**
2
3
  * Class names that re-establish the Anvil2 styling scope on a container.
3
4
  *
@@ -10,5 +11,19 @@
10
11
  * Spread/append these class names onto such containers so they self-scope and
11
12
  * render correctly in any host context (including outside an `AnvilProvider`,
12
13
  * e.g. when an Anvil2 component is used from a legacy host).
14
+ *
15
+ * Pair with `usePortalScopeStyle` so custom `ThemeProvider` tokens (e.g. Carto
16
+ * Inter) are re-applied on top of `.theme-core`, which otherwise resets those
17
+ * variables to core defaults (Nunito Sans).
13
18
  */
14
19
  export declare const portalScopeClassNames: string;
20
+ /**
21
+ * Merge custom-theme CSS variables onto a top-layer surface's `style`.
22
+ *
23
+ * `.theme-core` on the same node redefines `--a2-*` to core defaults, which
24
+ * wins over inherited `ThemeProvider` variables. Re-applying `themeStyle`
25
+ * after that reset keeps Carto (and other custom themes) intact.
26
+ *
27
+ * Pass the element's own styles so positioning / UA resets still win.
28
+ */
29
+ export declare function usePortalScopeStyle(style?: CSSProperties): CSSProperties;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Returns a stable commit function that invokes `onChange` only when `next`
3
+ * is a different set of `id`s than the latest `selected` value.
4
+ *
5
+ * Downshift can re-invoke a click handler captured on an earlier render.
6
+ * That stale handler still sees the pre-click selection, so it reports an
7
+ * add of ids the parent already holds. Consumers that write a new array from
8
+ * that callback (MobX `observer`, `setState(next.map(...))`) re-render, and
9
+ * the stale handler fires again.
10
+ *
11
+ * Comparing against the latest selection — not the closed-over one — breaks
12
+ * that loop without treating the stale add as a toggle/deselect.
13
+ *
14
+ * @param selected The current selected options
15
+ * @param onChange Called when the id set actually changes
16
+ * @returns A stable function that commits `next` only when ids differ
17
+ */
18
+ export declare function useCommitSelectionIfChanged<T extends {
19
+ id: string | number;
20
+ }>(selected: T[], onChange: (next: T[]) => void): (next: T[]) => void;
@@ -2,5 +2,13 @@ import { CustomThemeType } from '../ThemeProvider';
2
2
  export type ThemeProviderContextProps = {
3
3
  theme?: CustomThemeType;
4
4
  mode?: "light" | "dark";
5
+ /**
6
+ * CSS custom properties derived from `theme`. Top-layer surfaces that
7
+ * self-scope with `.theme-core` must re-apply these so custom themes are
8
+ * not reset to core token defaults.
9
+ */
10
+ themeStyle?: {
11
+ [key: string]: string;
12
+ };
5
13
  };
6
14
  export declare const ThemeProviderContext: import('react').Context<ThemeProviderContextProps>;
@@ -0,0 +1,16 @@
1
+ import { TokenObj } from '@servicetitan/hammer-token';
2
+ type ThemeTokenBags = {
3
+ primitive?: Record<string, TokenObj>;
4
+ semantic?: Record<string, TokenObj>;
5
+ component?: Record<string, TokenObj>;
6
+ };
7
+ /**
8
+ * Convert a custom theme object into CSS custom properties (`--a2-*`).
9
+ *
10
+ * Used by `ThemeProvider` on its wrapper and by top-layer surfaces that
11
+ * re-apply `.theme-core` (which otherwise resets tokens to core defaults).
12
+ */
13
+ export declare function themeToCssVars(theme: ThemeTokenBags | undefined, prefix?: string): {
14
+ [key: string]: string;
15
+ } | undefined;
16
+ export {};
@@ -1,4 +1,4 @@
1
- import { I as INLINE_MARKDOWN_REGEX } from './FieldLabel-BFJdJP_W.js';
1
+ import { I as INLINE_MARKDOWN_REGEX } from './FieldLabel-8AZcbhoO.js';
2
2
 
3
3
  const stripInlineMarkdown = (str) => {
4
4
  const parts = [];
@@ -22,4 +22,4 @@ const stripInlineMarkdown = (str) => {
22
22
  };
23
23
 
24
24
  export { stripInlineMarkdown as s };
25
- //# sourceMappingURL=stripInlineMarkdown-BGdIj-cj.js.map
25
+ //# sourceMappingURL=stripInlineMarkdown-aIDVZDGr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripInlineMarkdown-BGdIj-cj.js","sources":["../src/internal/functions/stripInlineMarkdown.ts"],"sourcesContent":["import { INLINE_MARKDOWN_REGEX } from \"../utils/inlineMarkdownRegex\";\n\n/**\n * Strips inline markdown syntax from a string, returning plain text.\n * Intended for accessibility contexts (e.g. `aria-label`) where only plain text is appropriate.\n *\n * @param str - The string to strip\n * @returns The string with all inline markdown syntax removed\n */\nexport const stripInlineMarkdown = (str: string): string => {\n const parts: string[] = [];\n let lastIndex = 0;\n\n INLINE_MARKDOWN_REGEX.lastIndex = 0;\n let match: RegExpExecArray | null;\n\n while ((match = INLINE_MARKDOWN_REGEX.exec(str)) !== null) {\n if (match.index > lastIndex) {\n parts.push(str.substring(lastIndex, match.index));\n }\n\n const savedIndex = INLINE_MARKDOWN_REGEX.lastIndex;\n const inner =\n match[1] ?? match[2] ?? match[3] ?? match[4] ?? match[5] ?? \"\";\n\n // code spans don't support nested markdown, matching parseInlineMarkdown behavior\n parts.push(match[5] ? inner : stripInlineMarkdown(inner));\n\n INLINE_MARKDOWN_REGEX.lastIndex = savedIndex;\n lastIndex = savedIndex;\n }\n\n if (lastIndex < str.length) {\n parts.push(str.substring(lastIndex));\n }\n\n return parts.join(\"\");\n};\n"],"names":[],"mappings":";;AASO,MAAM,mBAAA,GAAsB,CAAC,GAAA,KAAwB;AAC1D,EAAA,MAAM,QAAkB,EAAC;AACzB,EAAA,IAAI,SAAA,GAAY,CAAA;AAEhB,EAAA,qBAAA,CAAsB,SAAA,GAAY,CAAA;AAClC,EAAA,IAAI,KAAA;AAEJ,EAAA,OAAA,CAAQ,KAAA,GAAQ,qBAAA,CAAsB,IAAA,CAAK,GAAG,OAAO,IAAA,EAAM;AACzD,IAAA,IAAI,KAAA,CAAM,QAAQ,SAAA,EAAW;AAC3B,MAAA,KAAA,CAAM,KAAK,GAAA,CAAI,SAAA,CAAU,SAAA,EAAW,KAAA,CAAM,KAAK,CAAC,CAAA;AAAA,IAClD;AAEA,IAAA,MAAM,aAAa,qBAAA,CAAsB,SAAA;AACzC,IAAA,MAAM,KAAA,GACJ,KAAA,CAAM,CAAC,CAAA,IAAK,MAAM,CAAC,CAAA,IAAK,KAAA,CAAM,CAAC,KAAK,KAAA,CAAM,CAAC,CAAA,IAAK,KAAA,CAAM,CAAC,CAAA,IAAK,EAAA;AAG9D,IAAA,KAAA,CAAM,KAAK,KAAA,CAAM,CAAC,IAAI,KAAA,GAAQ,mBAAA,CAAoB,KAAK,CAAC,CAAA;AAExD,IAAA,qBAAA,CAAsB,SAAA,GAAY,UAAA;AAClC,IAAA,SAAA,GAAY,UAAA;AAAA,EACd;AAEA,EAAA,IAAI,SAAA,GAAY,IAAI,MAAA,EAAQ;AAC1B,IAAA,KAAA,CAAM,IAAA,CAAK,GAAA,CAAI,SAAA,CAAU,SAAS,CAAC,CAAA;AAAA,EACrC;AAEA,EAAA,OAAO,KAAA,CAAM,KAAK,EAAE,CAAA;AACtB;;;;"}
1
+ {"version":3,"file":"stripInlineMarkdown-aIDVZDGr.js","sources":["../src/internal/functions/stripInlineMarkdown.ts"],"sourcesContent":["import { INLINE_MARKDOWN_REGEX } from \"../utils/inlineMarkdownRegex\";\n\n/**\n * Strips inline markdown syntax from a string, returning plain text.\n * Intended for accessibility contexts (e.g. `aria-label`) where only plain text is appropriate.\n *\n * @param str - The string to strip\n * @returns The string with all inline markdown syntax removed\n */\nexport const stripInlineMarkdown = (str: string): string => {\n const parts: string[] = [];\n let lastIndex = 0;\n\n INLINE_MARKDOWN_REGEX.lastIndex = 0;\n let match: RegExpExecArray | null;\n\n while ((match = INLINE_MARKDOWN_REGEX.exec(str)) !== null) {\n if (match.index > lastIndex) {\n parts.push(str.substring(lastIndex, match.index));\n }\n\n const savedIndex = INLINE_MARKDOWN_REGEX.lastIndex;\n const inner =\n match[1] ?? match[2] ?? match[3] ?? match[4] ?? match[5] ?? \"\";\n\n // code spans don't support nested markdown, matching parseInlineMarkdown behavior\n parts.push(match[5] ? inner : stripInlineMarkdown(inner));\n\n INLINE_MARKDOWN_REGEX.lastIndex = savedIndex;\n lastIndex = savedIndex;\n }\n\n if (lastIndex < str.length) {\n parts.push(str.substring(lastIndex));\n }\n\n return parts.join(\"\");\n};\n"],"names":[],"mappings":";;AASO,MAAM,mBAAA,GAAsB,CAAC,GAAA,KAAwB;AAC1D,EAAA,MAAM,QAAkB,EAAC;AACzB,EAAA,IAAI,SAAA,GAAY,CAAA;AAEhB,EAAA,qBAAA,CAAsB,SAAA,GAAY,CAAA;AAClC,EAAA,IAAI,KAAA;AAEJ,EAAA,OAAA,CAAQ,KAAA,GAAQ,qBAAA,CAAsB,IAAA,CAAK,GAAG,OAAO,IAAA,EAAM;AACzD,IAAA,IAAI,KAAA,CAAM,QAAQ,SAAA,EAAW;AAC3B,MAAA,KAAA,CAAM,KAAK,GAAA,CAAI,SAAA,CAAU,SAAA,EAAW,KAAA,CAAM,KAAK,CAAC,CAAA;AAAA,IAClD;AAEA,IAAA,MAAM,aAAa,qBAAA,CAAsB,SAAA;AACzC,IAAA,MAAM,KAAA,GACJ,KAAA,CAAM,CAAC,CAAA,IAAK,MAAM,CAAC,CAAA,IAAK,KAAA,CAAM,CAAC,KAAK,KAAA,CAAM,CAAC,CAAA,IAAK,KAAA,CAAM,CAAC,CAAA,IAAK,EAAA;AAG9D,IAAA,KAAA,CAAM,KAAK,KAAA,CAAM,CAAC,IAAI,KAAA,GAAQ,mBAAA,CAAoB,KAAK,CAAC,CAAA;AAExD,IAAA,qBAAA,CAAsB,SAAA,GAAY,UAAA;AAClC,IAAA,SAAA,GAAY,UAAA;AAAA,EACd;AAEA,EAAA,IAAI,SAAA,GAAY,IAAI,MAAA,EAAQ;AAC1B,IAAA,KAAA,CAAM,IAAA,CAAK,GAAA,CAAI,SAAA,CAAU,SAAS,CAAC,CAAA;AAAA,EACrC;AAEA,EAAA,OAAO,KAAA,CAAM,KAAK,EAAE,CAAA;AACtB;;;;"}
@@ -5,13 +5,13 @@ import { c as cx } from './index-De1g9FRV.js';
5
5
  import { useState, useRef, useCallback, useEffect, useMemo, forwardRef, useId, useImperativeHandle } from 'react';
6
6
  import { C as COMMON_PART, A as ANV_PART_ATTR } from './anvParts-BGg5dgfl.js';
7
7
  import { u as useIntersectionObserver } from './useIntersectionObserver-BEmMDO3P.js';
8
- import { T as Text } from './Text-CEJHoh0p.js';
8
+ import { T as Text } from './Text-Ci-L0y2z.js';
9
9
  import { D as Divider } from './Divider-C7fp5Xb6.js';
10
10
  import { u as useMergeRefs } from './useMergeRefs-Dfmtq9cI.js';
11
11
  import { S as SrOnly } from './SrOnly-pnf8ajnh.js';
12
12
  import { I as Icon } from './Icon-B5zwN7GD.js';
13
13
  import { S as SvgCheck } from './check-Cf67OWrZ.js';
14
- import { i as isThenable, c as OptionRow, d as OptionRowSideContent, e as OptionCheckbox, f as OptionContentArea, b as useAdaptiveView } from './useInvalidateOnOptionsChange-CC_6sRp9.js';
14
+ import { i as isThenable, c as OptionRow, d as OptionRowSideContent, e as OptionCheckbox, f as OptionContentArea, b as useAdaptiveView } from './useInvalidateOnOptionsChange-C92u1JZc.js';
15
15
  import { d as defaultRangeExtractor, u as useVirtualizer } from './index-DXeGMe23.js';
16
16
  import { S as SvgAdd } from './add-BcQkAUip.js';
17
17
  import { m as matchSorter } from './match-sorter.esm-CGAauEiU.js';
@@ -1240,4 +1240,4 @@ const sortByGroup = (options, groupSorter) => {
1240
1240
  };
1241
1241
 
1242
1242
  export { AddNewItemButton as A, OptionsPanel as O, VirtualizedOptionsPanel as V, useProcessedOptions as a, buildSelectItems as b, sortByGroup as c, defaultSyncFilter as d, toSelectItem as e, shouldShowAddNewItem as s, toSyncFilterFn as t, useSelectOrchestration as u };
1243
- //# sourceMappingURL=syncFilterUtils-9Pqeq8J4.js.map
1243
+ //# sourceMappingURL=syncFilterUtils-BPuSOFJn.js.map