@servicetitan/anvil2 3.13.1 → 3.13.3

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 (230) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{AiMark-DkHvwBwf.js → AiMark-ByzCOJ1h.js} +5 -5
  3. package/dist/{AiMark-DkHvwBwf.js.map → AiMark-ByzCOJ1h.js.map} +1 -1
  4. package/dist/AiMark.js +1 -1
  5. package/dist/{Alert-C7Y5DG99.js → Alert-DtU9dbmz.js} +2 -2
  6. package/dist/{Alert-C7Y5DG99.js.map → Alert-DtU9dbmz.js.map} +1 -1
  7. package/dist/Alert.js +1 -1
  8. package/dist/{AnvilProvider-CgYBk3YP.js → AnvilProvider-DMiXqhL4.js} +3 -3
  9. package/dist/{AnvilProvider-CgYBk3YP.js.map → AnvilProvider-DMiXqhL4.js.map} +1 -1
  10. package/dist/AnvilProvider.js +1 -1
  11. package/dist/{Breadcrumbs-d1lHjb_U.js → Breadcrumbs-CIKIEq9H.js} +2 -2
  12. package/dist/{Breadcrumbs-d1lHjb_U.js.map → Breadcrumbs-CIKIEq9H.js.map} +1 -1
  13. package/dist/Breadcrumbs.js +1 -1
  14. package/dist/{Calendar-Db-cjtFN.js → Calendar-C0xoZZge.js} +2 -2
  15. package/dist/{Calendar-Db-cjtFN.js.map → Calendar-C0xoZZge.js.map} +1 -1
  16. package/dist/{Calendar-DCyfWmSV.js → Calendar-DG0mwBfm.js} +2 -2
  17. package/dist/{Calendar-DCyfWmSV.js.map → Calendar-DG0mwBfm.js.map} +1 -1
  18. package/dist/Calendar.js +2 -2
  19. package/dist/{Checkbox-CHVDkrNO.js → Checkbox-BmMJ1cZX.js} +2 -2
  20. package/dist/{Checkbox-CHVDkrNO.js.map → Checkbox-BmMJ1cZX.js.map} +1 -1
  21. package/dist/{Checkbox-BP2sw3SJ.js → Checkbox-DDGDVzsz.js} +3 -3
  22. package/dist/{Checkbox-BP2sw3SJ.js.map → Checkbox-DDGDVzsz.js.map} +1 -1
  23. package/dist/Checkbox.js +1 -1
  24. package/dist/{Chip-B3pbD3hQ.js → Chip-DR6fqTHq.js} +2 -2
  25. package/dist/{Chip-B3pbD3hQ.js.map → Chip-DR6fqTHq.js.map} +1 -1
  26. package/dist/Chip.js +1 -1
  27. package/dist/Combobox.js +1 -1
  28. package/dist/{DataTable-Cl_sbvzn.js → DataTable-CNhm17Dh.js} +10 -10
  29. package/dist/{DataTable-Cl_sbvzn.js.map → DataTable-CNhm17Dh.js.map} +1 -1
  30. package/dist/{DateFieldRange-DCHAzabV.js → DateFieldRange-CTAVMszB.js} +4 -4
  31. package/dist/{DateFieldRange-DCHAzabV.js.map → DateFieldRange-CTAVMszB.js.map} +1 -1
  32. package/dist/DateFieldRange.js +1 -1
  33. package/dist/{DateFieldSingle-TGaSOGki.js → DateFieldSingle-xpye28Jn.js} +4 -4
  34. package/dist/{DateFieldSingle-TGaSOGki.js.map → DateFieldSingle-xpye28Jn.js.map} +1 -1
  35. package/dist/DateFieldSingle.js +1 -1
  36. package/dist/{DateFieldYearless-eKv8F4KX.js → DateFieldYearless-CqjxABxj.js} +4 -4
  37. package/dist/{DateFieldYearless-eKv8F4KX.js.map → DateFieldYearless-CqjxABxj.js.map} +1 -1
  38. package/dist/DateFieldYearless.js +1 -1
  39. package/dist/{DateFieldYearlessRange-Cl2pWyFn.js → DateFieldYearlessRange-_633hUT2.js} +3 -3
  40. package/dist/{DateFieldYearlessRange-Cl2pWyFn.js.map → DateFieldYearlessRange-_633hUT2.js.map} +1 -1
  41. package/dist/DateFieldYearlessRange.js +1 -1
  42. package/dist/{DaysOfTheWeek-Dbgb0RsL.js → DaysOfTheWeek-BIA6nA6P.js} +3 -3
  43. package/dist/{DaysOfTheWeek-Dbgb0RsL.js.map → DaysOfTheWeek-BIA6nA6P.js.map} +1 -1
  44. package/dist/DaysOfTheWeek.js +1 -1
  45. package/dist/{Dialog-Clg6Kd96.js → Dialog-JLZ-kN1_.js} +4 -4
  46. package/dist/{Dialog-Clg6Kd96.js.map → Dialog-JLZ-kN1_.js.map} +1 -1
  47. package/dist/Dialog.js +1 -1
  48. package/dist/{Drawer-Mnne1lfM.js → Drawer-B-98XNZ_.js} +5 -5
  49. package/dist/{Drawer-Mnne1lfM.js.map → Drawer-B-98XNZ_.js.map} +1 -1
  50. package/dist/Drawer.js +1 -1
  51. package/dist/DrillDown.js +1 -1
  52. package/dist/{EditCard-NAN7IqhO.js → EditCard-Bj-HPjfg.js} +2 -2
  53. package/dist/{EditCard-NAN7IqhO.js.map → EditCard-Bj-HPjfg.js.map} +1 -1
  54. package/dist/EditCard.js +1 -1
  55. package/dist/{FieldLabel-DpYGFXmG.js → FieldLabel-D45uUkys.js} +3 -3
  56. package/dist/{FieldLabel-DpYGFXmG.js.map → FieldLabel-D45uUkys.js.map} +1 -1
  57. package/dist/FieldLabel.js +1 -1
  58. package/dist/{FilterBar-Dhl_hi_5.js → FilterBar-0CarAaah.js} +6 -6
  59. package/dist/FilterBar-0CarAaah.js.map +1 -0
  60. package/dist/FilterBar.js +1 -1
  61. package/dist/{InputMask-DkT6npDV.js → InputMask-D7xKQiKw.js} +3 -3
  62. package/dist/{InputMask-DkT6npDV.js.map → InputMask-D7xKQiKw.js.map} +1 -1
  63. package/dist/InputMask.js +1 -1
  64. package/dist/{ListView-DeA9TBIT.js → ListView-DW5wEyR6.js} +2 -2
  65. package/dist/{ListView-DeA9TBIT.js.map → ListView-DW5wEyR6.js.map} +1 -1
  66. package/dist/ListView.js +1 -1
  67. package/dist/{Listbox-qjgO_Hoo.js → Listbox-Nwm29Z0z.js} +2 -2
  68. package/dist/{Listbox-qjgO_Hoo.js.map → Listbox-Nwm29Z0z.js.map} +1 -1
  69. package/dist/Listbox.js +1 -1
  70. package/dist/{Menu-CM0EndhK.js → Menu-BjPE_ODh.js} +45 -38
  71. package/dist/Menu-BjPE_ODh.js.map +1 -0
  72. package/dist/Menu.css +21 -21
  73. package/dist/Menu.js +1 -1
  74. package/dist/Menu.module-CMDgSO9k.js +13 -0
  75. package/dist/Menu.module-CMDgSO9k.js.map +1 -0
  76. package/dist/MultiSelectField.js +1 -1
  77. package/dist/{MultiSelectFieldSync-D_09Osn3.js → MultiSelectFieldSync-KYwyzshU.js} +6 -6
  78. package/dist/{MultiSelectFieldSync-D_09Osn3.js.map → MultiSelectFieldSync-KYwyzshU.js.map} +1 -1
  79. package/dist/MultiSelectMenu.js +1 -1
  80. package/dist/{MultiSelectMenuSync-DkXlWa6p.js → MultiSelectMenuSync-DXnRNK14.js} +4 -4
  81. package/dist/{MultiSelectMenuSync-DkXlWa6p.js.map → MultiSelectMenuSync-DXnRNK14.js.map} +1 -1
  82. package/dist/{NumberField-BWRgy-Xq.js → NumberField-B_WHisen.js} +3 -3
  83. package/dist/{NumberField-BWRgy-Xq.js.map → NumberField-B_WHisen.js.map} +1 -1
  84. package/dist/NumberField.js +1 -1
  85. package/dist/{Page-B-Wjr7sP.js → Page-D6U5W_ek.js} +57 -134
  86. package/dist/Page-D6U5W_ek.js.map +1 -0
  87. package/dist/Page.css +87 -95
  88. package/dist/Page.js +1 -1
  89. package/dist/{Pagination-DRIKAkuE.js → Pagination-8hkJz0QJ.js} +3 -3
  90. package/dist/{Pagination-DRIKAkuE.js.map → Pagination-8hkJz0QJ.js.map} +1 -1
  91. package/dist/Pagination.js +1 -1
  92. package/dist/{Popover-CVroO0T0.js → Popover-BeAE-h5z.js} +4 -4
  93. package/dist/{Popover-CVroO0T0.js.map → Popover-BeAE-h5z.js.map} +1 -1
  94. package/dist/Popover.js +1 -1
  95. package/dist/{ProgressBar-Cc6JQ2EH.js → ProgressBar-DJNobbcj.js} +2 -2
  96. package/dist/{ProgressBar-Cc6JQ2EH.js.map → ProgressBar-DJNobbcj.js.map} +1 -1
  97. package/dist/ProgressBar.js +1 -1
  98. package/dist/{Radio-BWEUnuHt.js → Radio-DO89Gm9G.js} +3 -3
  99. package/dist/{Radio-BWEUnuHt.js.map → Radio-DO89Gm9G.js.map} +1 -1
  100. package/dist/{Radio-CxPskh2k.js → Radio-QIdbcbHE.js} +2 -2
  101. package/dist/{Radio-CxPskh2k.js.map → Radio-QIdbcbHE.js.map} +1 -1
  102. package/dist/Radio.js +1 -1
  103. package/dist/{RichTextEditor-B_8D0VD3.js → RichTextEditor-BQNdQfGc.js} +9 -9
  104. package/dist/{RichTextEditor-B_8D0VD3.js.map → RichTextEditor-BQNdQfGc.js.map} +1 -1
  105. package/dist/RichTextEditor.js +1 -1
  106. package/dist/{SavedFiltersButton-vZ38Mty8.js → SavedFiltersButton-CXm73nb9.js} +10 -9
  107. package/dist/SavedFiltersButton-CXm73nb9.js.map +1 -0
  108. package/dist/SavedFiltersButton.js +1 -1
  109. package/dist/{SelectCard-CLQ8X_Xv.js → SelectCard-XRdnzJGg.js} +3 -3
  110. package/dist/{SelectCard-CLQ8X_Xv.js.map → SelectCard-XRdnzJGg.js.map} +1 -1
  111. package/dist/SelectCard.js +1 -1
  112. package/dist/SelectField.js +1 -1
  113. package/dist/{SelectFieldLabel-LzRCSbOL.js → SelectFieldLabel-DBW3gWNy.js} +2 -2
  114. package/dist/{SelectFieldLabel-LzRCSbOL.js.map → SelectFieldLabel-DBW3gWNy.js.map} +1 -1
  115. package/dist/{SelectFieldSync-klbql5_5.js → SelectFieldSync-BRlVLUx1.js} +5 -5
  116. package/dist/{SelectFieldSync-klbql5_5.js.map → SelectFieldSync-BRlVLUx1.js.map} +1 -1
  117. package/dist/SelectMenu.js +1 -1
  118. package/dist/{SelectMenuSync-Bn_ksCG5.js → SelectMenuSync-B5IcJFmI.js} +4 -4
  119. package/dist/{SelectMenuSync-Bn_ksCG5.js.map → SelectMenuSync-B5IcJFmI.js.map} +1 -1
  120. package/dist/{SelectOptions-BjwYqKH3.js → SelectOptions-B8_ulYXi.js} +2 -2
  121. package/dist/{SelectOptions-BjwYqKH3.js.map → SelectOptions-B8_ulYXi.js.map} +1 -1
  122. package/dist/{SelectTrigger-BO9QQqxo.js → SelectTrigger-BGeAJOiy.js} +2 -2
  123. package/dist/{SelectTrigger-BO9QQqxo.js.map → SelectTrigger-BGeAJOiy.js.map} +1 -1
  124. package/dist/SelectTrigger.js +1 -1
  125. package/dist/{SelectTriggerBase-CeEaDrSV.js → SelectTriggerBase-IsPdL6xK.js} +3 -3
  126. package/dist/{SelectTriggerBase-CeEaDrSV.js.map → SelectTriggerBase-IsPdL6xK.js.map} +1 -1
  127. package/dist/{Switch-CZjpzkol.js → Switch-D4LWmhWZ.js} +2 -2
  128. package/dist/{Switch-CZjpzkol.js.map → Switch-D4LWmhWZ.js.map} +1 -1
  129. package/dist/Switch.js +1 -1
  130. package/dist/Table.js +1 -1
  131. package/dist/{Text-DdNE3hPR.js → Text-BPlp1ja1.js} +2 -2
  132. package/dist/{Text-DdNE3hPR.js.map → Text-BPlp1ja1.js.map} +1 -1
  133. package/dist/Text.js +1 -1
  134. package/dist/{TextField-DQ0i2nlz.js → TextField-DrifGXan.js} +2 -2
  135. package/dist/{TextField-DQ0i2nlz.js.map → TextField-DrifGXan.js.map} +1 -1
  136. package/dist/{TextField-DkM8v9DE.js → TextField-oF-dTYbB.js} +3 -3
  137. package/dist/{TextField-DkM8v9DE.js.map → TextField-oF-dTYbB.js.map} +1 -1
  138. package/dist/TextField.js +1 -1
  139. package/dist/{Textarea-Cg5saqcU.js → Textarea-Bq9AK5w9.js} +3 -3
  140. package/dist/{Textarea-Cg5saqcU.js.map → Textarea-Bq9AK5w9.js.map} +1 -1
  141. package/dist/Textarea.js +1 -1
  142. package/dist/{ThemeProvider-D4dbBfHd.js → ThemeProvider-Cx7wqUQh.js} +2 -2
  143. package/dist/{ThemeProvider-D4dbBfHd.js.map → ThemeProvider-Cx7wqUQh.js.map} +1 -1
  144. package/dist/ThemeProvider.css +20 -4
  145. package/dist/ThemeProvider.js +1 -1
  146. package/dist/ThemeProvider.module-ByAsjx7c.js +8 -0
  147. package/dist/ThemeProvider.module-ByAsjx7c.js.map +1 -0
  148. package/dist/{TimeField-DVYSA-Az.js → TimeField-BW9PKqWA.js} +4 -4
  149. package/dist/{TimeField-DVYSA-Az.js.map → TimeField-BW9PKqWA.js.map} +1 -1
  150. package/dist/TimeField.js +1 -1
  151. package/dist/Toast.js +2 -2
  152. package/dist/{Toaster-D1a3ysMN.js → Toaster-7AYHdH-v.js} +2 -2
  153. package/dist/{Toaster-D1a3ysMN.js.map → Toaster-7AYHdH-v.js.map} +1 -1
  154. package/dist/{Toaster-BiPZIPzH.js → Toaster-Bllufg1v.js} +5 -5
  155. package/dist/{Toaster-BiPZIPzH.js.map → Toaster-Bllufg1v.js.map} +1 -1
  156. package/dist/{Toolbar-Dw_xAGRP.js → Toolbar-Bapm516g.js} +4 -4
  157. package/dist/{Toolbar-Dw_xAGRP.js.map → Toolbar-Bapm516g.js.map} +1 -1
  158. package/dist/{Toolbar-DYu1UIoW.js → Toolbar-D8uWXitV.js} +5 -5
  159. package/dist/{Toolbar-DYu1UIoW.js.map → Toolbar-D8uWXitV.js.map} +1 -1
  160. package/dist/Toolbar.js +2 -2
  161. package/dist/{ToolbarButtonToggle-0A61CKru.js → ToolbarButtonToggle-L-9HgAbf.js} +2 -2
  162. package/dist/{ToolbarButtonToggle-0A61CKru.js.map → ToolbarButtonToggle-L-9HgAbf.js.map} +1 -1
  163. package/dist/{Tooltip-hen6P8WV.js → Tooltip-D4sgiNLd.js} +4 -4
  164. package/dist/{Tooltip-hen6P8WV.js.map → Tooltip-D4sgiNLd.js.map} +1 -1
  165. package/dist/Tooltip.js +1 -1
  166. package/dist/TreeSelectField.js +1 -1
  167. package/dist/{TreeSelectFieldSync-IFAs-lci.js → TreeSelectFieldSync-Bf4GWDGN.js} +5 -5
  168. package/dist/{TreeSelectFieldSync-IFAs-lci.js.map → TreeSelectFieldSync-Bf4GWDGN.js.map} +1 -1
  169. package/dist/TreeSelectMenu.js +1 -1
  170. package/dist/{TreeSelectMenuSync-BATdOysJ.js → TreeSelectMenuSync-CsB30zKZ.js} +3 -3
  171. package/dist/{TreeSelectMenuSync-BATdOysJ.js.map → TreeSelectMenuSync-CsB30zKZ.js.map} +1 -1
  172. package/dist/{TypeaheadTextField-BVtaGlCX.js → TypeaheadTextField-ByvfTXI_.js} +4 -4
  173. package/dist/{TypeaheadTextField-BVtaGlCX.js.map → TypeaheadTextField-ByvfTXI_.js.map} +1 -1
  174. package/dist/TypeaheadTextField.js +1 -1
  175. package/dist/{YearlessDateInputWithPicker-Cs2IQ0ma.js → YearlessDateInputWithPicker-BrECzF1z.js} +2 -2
  176. package/dist/{YearlessDateInputWithPicker-Cs2IQ0ma.js.map → YearlessDateInputWithPicker-BrECzF1z.js.map} +1 -1
  177. package/dist/beta.js +17 -17
  178. package/dist/{bulkActionTypes-B683cPWf.js → bulkActionTypes-Cykjdbzi.js} +2 -2
  179. package/dist/{bulkActionTypes-B683cPWf.js.map → bulkActionTypes-Cykjdbzi.js.map} +1 -1
  180. package/dist/{filter-state-ClXbmO_I.js → filter-state-BCYYvluK.js} +30 -30
  181. package/dist/filter-state-BCYYvluK.js.map +1 -0
  182. package/dist/filter-state.css +27 -14
  183. package/dist/{floating-ui.react-dom-CyrxPiI-.js → floating-ui.react-dom-BIKT960u.js} +2 -2
  184. package/dist/{floating-ui.react-dom-CyrxPiI-.js.map → floating-ui.react-dom-BIKT960u.js.map} +1 -1
  185. package/dist/{index-tWkeAVJW.js → index-BSX9WOFX.js} +2 -2
  186. package/dist/{index-tWkeAVJW.js.map → index-BSX9WOFX.js.map} +1 -1
  187. package/dist/index.js +45 -45
  188. package/dist/{portalScopeClassNames--sU7fdKW.js → portalScopeClassNames-DR6qlli0.js} +2 -2
  189. package/dist/{portalScopeClassNames--sU7fdKW.js.map → portalScopeClassNames-DR6qlli0.js.map} +1 -1
  190. package/dist/src/beta/components/FilterBar/FilterDateList.d.ts +4 -2
  191. package/dist/src/beta/components/FilterBar/index.d.ts +1 -1
  192. package/dist/src/beta/components/FilterBar/internal/types.d.ts +15 -0
  193. package/dist/src/beta/components/Page/Page.d.ts +3 -4
  194. package/dist/src/beta/components/Page/PageContent.d.ts +2 -4
  195. package/dist/src/beta/components/Page/pageBreakpoint.d.ts +10 -11
  196. package/dist/src/components/Menu/internal/menuSelectors.d.ts +4 -0
  197. package/dist/src/components/Menu/types.d.ts +24 -4
  198. package/dist/src/integration-testing/beta-page-native-scroll.spec.d.ts +1 -0
  199. package/dist/{stripInlineMarkdown-Dz6vTyS_.js → stripInlineMarkdown-Vq3E88gC.js} +2 -2
  200. package/dist/{stripInlineMarkdown-Dz6vTyS_.js.map → stripInlineMarkdown-Vq3E88gC.js.map} +1 -1
  201. package/dist/{syncFilterUtils-BbK2BCsr.js → syncFilterUtils-DITilMLU.js} +3 -3
  202. package/dist/{syncFilterUtils-BbK2BCsr.js.map → syncFilterUtils-DITilMLU.js.map} +1 -1
  203. package/dist/token/core/semantic-variables.scss +16 -0
  204. package/dist/token/core/semantic.d.ts +8 -0
  205. package/dist/token/core/semantic.js +104 -0
  206. package/dist/token/core/semantic.scss +8 -0
  207. package/dist/token.js +112 -0
  208. package/dist/token.js.map +1 -1
  209. package/dist/{treeSync-De2jGdy-.js → treeSync-Du7ryXiO.js} +3 -3
  210. package/dist/{treeSync-De2jGdy-.js.map → treeSync-Du7ryXiO.js.map} +1 -1
  211. package/dist/{useDrilldown-BDKQkqA_.js → useDrilldown-Cj1GQ-wc.js} +3 -3
  212. package/dist/{useDrilldown-BDKQkqA_.js.map → useDrilldown-Cj1GQ-wc.js.map} +1 -1
  213. package/dist/{useInfiniteCombobox-D7saAttF.js → useInfiniteCombobox-NqrF4TiC.js} +4 -4
  214. package/dist/{useInfiniteCombobox-D7saAttF.js.map → useInfiniteCombobox-NqrF4TiC.js.map} +1 -1
  215. package/dist/{useInitialFocus-BIvXK1Rp.js → useInitialFocus-BUxEDMEG.js} +2 -2
  216. package/dist/{useInitialFocus-BIvXK1Rp.js.map → useInitialFocus-BUxEDMEG.js.map} +1 -1
  217. package/dist/{useInvalidateOnOptionsChange-DcYuWdMC.js → useInvalidateOnOptionsChange-BdWCXlhy.js} +6 -6
  218. package/dist/{useInvalidateOnOptionsChange-DcYuWdMC.js.map → useInvalidateOnOptionsChange-BdWCXlhy.js.map} +1 -1
  219. package/dist/{usePopoverTransitionStates-B1opfxxn.js → usePopoverTransitionStates-CDXCdyKa.js} +2 -1
  220. package/dist/{usePopoverTransitionStates-B1opfxxn.js.map → usePopoverTransitionStates-CDXCdyKa.js.map} +1 -1
  221. package/package.json +3 -3
  222. package/dist/FilterBar-Dhl_hi_5.js.map +0 -1
  223. package/dist/Menu-CM0EndhK.js.map +0 -1
  224. package/dist/Menu.module-CoyI86tZ.js +0 -13
  225. package/dist/Menu.module-CoyI86tZ.js.map +0 -1
  226. package/dist/Page-B-Wjr7sP.js.map +0 -1
  227. package/dist/SavedFiltersButton-vZ38Mty8.js.map +0 -1
  228. package/dist/ThemeProvider.module-_7m6Tav-.js +0 -8
  229. package/dist/ThemeProvider.module-_7m6Tav-.js.map +0 -1
  230. package/dist/filter-state-ClXbmO_I.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,92 +1,92 @@
1
1
  import './index2.css';export { DndSort, DndSortCard, DndSortZone } from './DndSort.js';
2
- export { A as Alert } from './Alert-C7Y5DG99.js';
3
- import { P as Popover, a as usePopoverContext } from './AiMark-DkHvwBwf.js';
4
- export { A as AiMark } from './AiMark-DkHvwBwf.js';
2
+ export { A as Alert } from './Alert-DtU9dbmz.js';
3
+ import { P as Popover, a as usePopoverContext } from './AiMark-ByzCOJ1h.js';
4
+ export { A as AiMark } from './AiMark-ByzCOJ1h.js';
5
5
  export { A as Announcement } from './Announcement-CGTv6M31.js';
6
6
  export { A as Avatar } from './Avatar-DXI-w1Vi.js';
7
7
  export { A as AvatarGroup } from './Avatar-D31JDNrs.js';
8
8
  export { B as Badge } from './Badge-BNrYBFiU.js';
9
- import { B as Breadcrumbs } from './Breadcrumbs-d1lHjb_U.js';
9
+ import { B as Breadcrumbs } from './Breadcrumbs-CIKIEq9H.js';
10
10
  import { B as Button } from './Button-Dwh_Nd4l.js';
11
11
  export { B as ButtonCompound } from './ButtonCompound-D7kA0qXr.js';
12
12
  import { B as ButtonLink } from './ButtonLink-DOFAxNvC.js';
13
13
  export { B as ButtonToggle } from './ButtonToggle-DKDBD1g3.js';
14
- export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-Db-cjtFN.js';
14
+ export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-C0xoZZge.js';
15
15
  export { C as Card } from './Card-Bt0F6RTq.js';
16
- export { C as Checkbox } from './Checkbox-CHVDkrNO.js';
17
- import { C as Chip } from './Chip-B3pbD3hQ.js';
18
- export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, u as useInfiniteCombobox } from './useInfiniteCombobox-D7saAttF.js';
19
- export { D as DateFieldRange } from './DateFieldRange-DCHAzabV.js';
20
- export { D as DateFieldSingle } from './DateFieldSingle-TGaSOGki.js';
21
- export { D as DateFieldYearless } from './DateFieldYearless-eKv8F4KX.js';
22
- export { D as DateFieldYearlessRange } from './DateFieldYearlessRange-Cl2pWyFn.js';
23
- export { D as DaysOfTheWeek } from './DaysOfTheWeek-Dbgb0RsL.js';
16
+ export { C as Checkbox } from './Checkbox-BmMJ1cZX.js';
17
+ import { C as Chip } from './Chip-DR6fqTHq.js';
18
+ export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, u as useInfiniteCombobox } from './useInfiniteCombobox-NqrF4TiC.js';
19
+ export { D as DateFieldRange } from './DateFieldRange-CTAVMszB.js';
20
+ export { D as DateFieldSingle } from './DateFieldSingle-xpye28Jn.js';
21
+ export { D as DateFieldYearless } from './DateFieldYearless-CqjxABxj.js';
22
+ export { D as DateFieldYearlessRange } from './DateFieldYearlessRange-_633hUT2.js';
23
+ export { D as DaysOfTheWeek } from './DaysOfTheWeek-BIA6nA6P.js';
24
24
  export { D as Details } from './Details-CVA5zbrR.js';
25
- import { D as Dialog } from './Dialog-Clg6Kd96.js';
25
+ import { D as Dialog } from './Dialog-JLZ-kN1_.js';
26
26
  export { D as Divider } from './Divider-C7fp5Xb6.js';
27
27
  export { D as Dnd } from './index-BwV_Pz7v.js';
28
- export { D as Drawer } from './Drawer-Mnne1lfM.js';
29
- export { D as DrillDown, b as DrillDownContent, c as DrillDownFooter, a as DrillDownHeader, d as DrillDownNextButton, e as DrillDownPrevButton, u as useDrillDown } from './useDrilldown-BDKQkqA_.js';
30
- export { E as EditCard } from './EditCard-NAN7IqhO.js';
31
- export { F as FieldLabel } from './FieldLabel-DpYGFXmG.js';
28
+ export { D as Drawer } from './Drawer-B-98XNZ_.js';
29
+ export { D as DrillDown, b as DrillDownContent, c as DrillDownFooter, a as DrillDownHeader, d as DrillDownNextButton, e as DrillDownPrevButton, u as useDrillDown } from './useDrilldown-Cj1GQ-wc.js';
30
+ export { E as EditCard } from './EditCard-Bj-HPjfg.js';
31
+ export { F as FieldLabel } from './FieldLabel-D45uUkys.js';
32
32
  export { w as warnDeprecatedErrorUsage } from './utils-CM48ODEJ.js';
33
33
  export { F as FieldMessage } from './FieldMessage-8c9yA_kw.js';
34
34
  import { F as Flex } from './Flex-CRF7gj0_.js';
35
35
  export { G as Grid } from './Grid-CvGQrIhE.js';
36
36
  import { I as Icon } from './Icon-B5zwN7GD.js';
37
- export { I as InputMask } from './InputMask-DkT6npDV.js';
37
+ export { I as InputMask } from './InputMask-D7xKQiKw.js';
38
38
  import { L as Layout } from './Layout-C2Q2hyLG.js';
39
39
  export { b as LayoutElement, a as LayoutItem } from './Layout-C2Q2hyLG.js';
40
40
  export { L as Link, u as useLinkStyles } from './Link-D7ycmfQ_.js';
41
41
  export { L as LinkButton } from './LinkButton-C0wps8r1.js';
42
42
  export { L as List } from './List-BvzfZ9TW.js';
43
- export { L as Listbox } from './Listbox-qjgO_Hoo.js';
44
- export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-DeA9TBIT.js';
45
- import { M as Menu } from './Menu-CM0EndhK.js';
46
- export { N as NumberField } from './NumberField-BWRgy-Xq.js';
43
+ export { L as Listbox } from './Listbox-Nwm29Z0z.js';
44
+ export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-DW5wEyR6.js';
45
+ import { M as Menu } from './Menu-BjPE_ODh.js';
46
+ export { N as NumberField } from './NumberField-B_WHisen.js';
47
47
  export { Overflow, OverflowText } from './Overflow.js';
48
48
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
49
49
  import { createContext, forwardRef, useContext, useState, useLayoutEffect, useRef, useEffect, useMemo, useCallback } from 'react';
50
50
  import { c as cx } from './index-De1g9FRV.js';
51
51
  import { u as useMergeRefs } from './useMergeRefs-Dfmtq9cI.js';
52
- export { P as Pagination } from './Pagination-DRIKAkuE.js';
53
- export { P as Popover } from './Popover-CVroO0T0.js';
54
- export { P as ProgressBar } from './ProgressBar-Cc6JQ2EH.js';
55
- export { R as Radio } from './Radio-CxPskh2k.js';
52
+ export { P as Pagination } from './Pagination-8hkJz0QJ.js';
53
+ export { P as Popover } from './Popover-BeAE-h5z.js';
54
+ export { P as ProgressBar } from './ProgressBar-DJNobbcj.js';
55
+ export { R as Radio } from './Radio-QIdbcbHE.js';
56
56
  export { S as SearchField } from './SearchField-ChoNtw8w.js';
57
57
  export { S as SegmentedControl, a as SegmentedControlSegment } from './SegmentedControl-CQ6DrbDc.js';
58
- export { S as SelectCard } from './SelectCard-CLQ8X_Xv.js';
59
- export { S as SelectField, a as SelectFieldSync } from './SelectFieldSync-klbql5_5.js';
60
- export { M as MultiSelectField, a as MultiSelectFieldSync } from './MultiSelectFieldSync-D_09Osn3.js';
61
- export { S as SelectMenu, a as SelectMenuSync } from './SelectMenuSync-Bn_ksCG5.js';
62
- export { M as MultiSelectMenu, a as MultiSelectMenuSync } from './MultiSelectMenuSync-DkXlWa6p.js';
63
- export { S as SelectTrigger } from './SelectTrigger-BO9QQqxo.js';
58
+ export { S as SelectCard } from './SelectCard-XRdnzJGg.js';
59
+ export { S as SelectField, a as SelectFieldSync } from './SelectFieldSync-BRlVLUx1.js';
60
+ export { M as MultiSelectField, a as MultiSelectFieldSync } from './MultiSelectFieldSync-KYwyzshU.js';
61
+ export { S as SelectMenu, a as SelectMenuSync } from './SelectMenuSync-B5IcJFmI.js';
62
+ export { M as MultiSelectMenu, a as MultiSelectMenuSync } from './MultiSelectMenuSync-DXnRNK14.js';
63
+ export { S as SelectTrigger } from './SelectTrigger-BGeAJOiy.js';
64
64
  export { S as SideNav } from './SideNav-BLXgM918.js';
65
65
  export { Skeleton, SkeletonCircle, SkeletonPill, SkeletonRectangle, SkeletonText } from './Skeleton.js';
66
66
  export { S as Spinner } from './Spinner-B7tTWcP6.js';
67
67
  export { S as SrOnly } from './SrOnly-pnf8ajnh.js';
68
68
  export { S as Stepper, a as StepperBase } from './Stepper-CCKHWlUr.js';
69
- export { S as Switch } from './Switch-CZjpzkol.js';
69
+ export { S as Switch } from './Switch-D4LWmhWZ.js';
70
70
  export { T as Tab } from './Tab-Bqfvg8Ce.js';
71
- import { T as Text } from './Text-DdNE3hPR.js';
72
- export { T as Textarea } from './Textarea-Cg5saqcU.js';
73
- import { T as TextField } from './TextField-DQ0i2nlz.js';
74
- export { T as TimeField } from './TimeField-DVYSA-Az.js';
75
- export { T as Toaster } from './Toaster-D1a3ysMN.js';
76
- export { t as toast } from './Toaster-BiPZIPzH.js';
77
- export { T as Toolbar } from './Toolbar-Dw_xAGRP.js';
78
- import { T as Tooltip } from './Tooltip-hen6P8WV.js';
71
+ import { T as Text } from './Text-BPlp1ja1.js';
72
+ export { T as Textarea } from './Textarea-Bq9AK5w9.js';
73
+ import { T as TextField } from './TextField-DrifGXan.js';
74
+ export { T as TimeField } from './TimeField-BW9PKqWA.js';
75
+ export { T as Toaster } from './Toaster-7AYHdH-v.js';
76
+ export { t as toast } from './Toaster-Bllufg1v.js';
77
+ export { T as Toolbar } from './Toolbar-Bapm516g.js';
78
+ import { T as Tooltip } from './Tooltip-D4sgiNLd.js';
79
79
  export { u as useAccessibleColor } from './useAccessibleColor-BYKjkGRg.js';
80
80
  export { u as useBreakpoint } from './useBreakpoint-BBNRlMGZ.js';
81
81
  export { u as usePrefersColorScheme } from './usePrefersColorScheme-CwOF0TjZ.js';
82
82
  export { u as usePrefersReducedMotion } from './usePrefersReducedMotion-DR9B_D6w.js';
83
83
  export { u as useSwipe } from './useSwipe-Cp-CJxLU.js';
84
84
  import { useTrackingId } from './useTrackingId.js';
85
- export { A as AnvilProvider, a as AnvilProviderContext } from './AnvilProvider-CgYBk3YP.js';
85
+ export { A as AnvilProvider, a as AnvilProviderContext } from './AnvilProvider-DMiXqhL4.js';
86
86
  export { L as LocalizationProvider } from './LocalizationProvider-BPcOU7YX.js';
87
87
  export { L as LocalizationContext, u as useLocalizationContext } from './LocalizationContext-UsmB5mnR.js';
88
88
  export { P as PortalProvider, a as PortalProviderContext } from './PortalProvider-Cj_y3gbC.js';
89
- export { T as ThemeProvider } from './ThemeProvider-D4dbBfHd.js';
89
+ export { T as ThemeProvider } from './ThemeProvider-Cx7wqUQh.js';
90
90
  export { u as useTheme } from './useTheme-B4i6a3bM.js';
91
91
  export { T as TrackingProvider } from './TrackingProvider-Co4lyoI9.js';
92
92
  export { u as useTrackingContext } from './useTrackingContext-C522P4sv.js';
@@ -101,7 +101,7 @@ import { S as SvgCheck } from './check-Cf67OWrZ.js';
101
101
  import { S as SvgClose } from './close-DZj38AEh.js';
102
102
  import { createPortal } from 'react-dom';
103
103
  import { d as drillDownStyles, D as DrillDownContext } from './DrillDown.module-1VBKDZRA.js';
104
- import { u as useDrillDownContextState } from './useInitialFocus-BIvXK1Rp.js';
104
+ import { u as useDrillDownContextState } from './useInitialFocus-BUxEDMEG.js';
105
105
  import { u as useDrillDownContext } from './useDrillDownContext-D5_NjqY4.js';
106
106
  import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DjqeAJZ9.js';
107
107
 
@@ -1,7 +1,7 @@
1
1
  import { c as cx } from './index-De1g9FRV.js';
2
2
  import { useContext } from 'react';
3
3
  import { T as ThemeProviderContext } from './ThemeProviderContext-l52GohYT.js';
4
- import { t as themeStyles } from './ThemeProvider.module-_7m6Tav-.js';
4
+ import { t as themeStyles } from './ThemeProvider.module-ByAsjx7c.js';
5
5
 
6
6
  const portalScopeClassNames = cx("anvil2", themeStyles["theme-core"]);
7
7
  function usePortalScopeStyle(style) {
@@ -13,4 +13,4 @@ function usePortalScopeStyle(style) {
13
13
  }
14
14
 
15
15
  export { portalScopeClassNames as p, usePortalScopeStyle as u };
16
- //# sourceMappingURL=portalScopeClassNames--sU7fdKW.js.map
16
+ //# sourceMappingURL=portalScopeClassNames-DR6qlli0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"portalScopeClassNames--sU7fdKW.js","sources":["../src/internal/functions/portalScopeClassNames.ts"],"sourcesContent":["import cx from \"classnames\";\nimport { type CSSProperties, useContext } from \"react\";\n\nimport { ThemeProviderContext } from \"../../providers/ThemeProvider/internal/ThemeProviderContext\";\nimport themeStyles from \"../../providers/ThemeProvider/ThemeProvider.module.scss\";\n\n/**\n * Class names that re-establish the Anvil2 styling scope on a container.\n *\n * Native `popover` / top-layer elements (toasts, popovers, tooltips, surfaces)\n * are promoted to the top layer and live high in the DOM, escaping any ancestor\n * `AnvilProvider`'s `.anvil2` scope. Without the scope, descendants resolve none\n * of the `--a2-*` design tokens (defined on `.anvil2.theme-core`) and miss the\n * scoped component rules, so they render unstyled.\n *\n * Spread/append these class names onto such containers so they self-scope and\n * render correctly in any host context (including outside an `AnvilProvider`,\n * e.g. when an Anvil2 component is used from a legacy host).\n *\n * Pair with `usePortalScopeStyle` so custom `ThemeProvider` tokens (e.g. Carto\n * Inter) are re-applied on top of `.theme-core`, which otherwise resets those\n * variables to core defaults (Nunito Sans).\n */\nexport const portalScopeClassNames = cx(\"anvil2\", themeStyles[\"theme-core\"]);\n\n/**\n * Merge custom-theme CSS variables onto a top-layer surface's `style`.\n *\n * `.theme-core` on the same node redefines `--a2-*` to core defaults, which\n * wins over inherited `ThemeProvider` variables. Re-applying `themeStyle`\n * after that reset keeps Carto (and other custom themes) intact.\n *\n * Pass the element's own styles so positioning / UA resets still win.\n */\nexport function usePortalScopeStyle(style?: CSSProperties): CSSProperties {\n const { themeStyle } = useContext(ThemeProviderContext);\n if (!themeStyle) {\n return style ?? {};\n }\n return { ...themeStyle, ...style };\n}\n"],"names":[],"mappings":";;;;;AAuBO,MAAM,qBAAA,GAAwB,EAAA,CAAG,QAAA,EAAU,WAAA,CAAY,YAAY,CAAC;AAWpE,SAAS,oBAAoB,KAAA,EAAsC;AACxE,EAAA,MAAM,EAAE,UAAA,EAAW,GAAI,UAAA,CAAW,oBAAoB,CAAA;AACtD,EAAA,IAAI,CAAC,UAAA,EAAY;AACf,IAAA,OAAO,SAAS,EAAC;AAAA,EACnB;AACA,EAAA,OAAO,EAAE,GAAG,UAAA,EAAY,GAAG,KAAA,EAAM;AACnC;;;;"}
1
+ {"version":3,"file":"portalScopeClassNames-DR6qlli0.js","sources":["../src/internal/functions/portalScopeClassNames.ts"],"sourcesContent":["import cx from \"classnames\";\nimport { type CSSProperties, useContext } from \"react\";\n\nimport { ThemeProviderContext } from \"../../providers/ThemeProvider/internal/ThemeProviderContext\";\nimport themeStyles from \"../../providers/ThemeProvider/ThemeProvider.module.scss\";\n\n/**\n * Class names that re-establish the Anvil2 styling scope on a container.\n *\n * Native `popover` / top-layer elements (toasts, popovers, tooltips, surfaces)\n * are promoted to the top layer and live high in the DOM, escaping any ancestor\n * `AnvilProvider`'s `.anvil2` scope. Without the scope, descendants resolve none\n * of the `--a2-*` design tokens (defined on `.anvil2.theme-core`) and miss the\n * scoped component rules, so they render unstyled.\n *\n * Spread/append these class names onto such containers so they self-scope and\n * render correctly in any host context (including outside an `AnvilProvider`,\n * e.g. when an Anvil2 component is used from a legacy host).\n *\n * Pair with `usePortalScopeStyle` so custom `ThemeProvider` tokens (e.g. Carto\n * Inter) are re-applied on top of `.theme-core`, which otherwise resets those\n * variables to core defaults (Nunito Sans).\n */\nexport const portalScopeClassNames = cx(\"anvil2\", themeStyles[\"theme-core\"]);\n\n/**\n * Merge custom-theme CSS variables onto a top-layer surface's `style`.\n *\n * `.theme-core` on the same node redefines `--a2-*` to core defaults, which\n * wins over inherited `ThemeProvider` variables. Re-applying `themeStyle`\n * after that reset keeps Carto (and other custom themes) intact.\n *\n * Pass the element's own styles so positioning / UA resets still win.\n */\nexport function usePortalScopeStyle(style?: CSSProperties): CSSProperties {\n const { themeStyle } = useContext(ThemeProviderContext);\n if (!themeStyle) {\n return style ?? {};\n }\n return { ...themeStyle, ...style };\n}\n"],"names":[],"mappings":";;;;;AAuBO,MAAM,qBAAA,GAAwB,EAAA,CAAG,QAAA,EAAU,WAAA,CAAY,YAAY,CAAC;AAWpE,SAAS,oBAAoB,KAAA,EAAsC;AACxE,EAAA,MAAM,EAAE,UAAA,EAAW,GAAI,UAAA,CAAW,oBAAoB,CAAA;AACtD,EAAA,IAAI,CAAC,UAAA,EAAY;AACf,IAAA,OAAO,SAAS,EAAC;AAAA,EACnB;AACA,EAAA,OAAO,EAAE,GAAG,UAAA,EAAY,GAAG,KAAA,EAAM;AACnC;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { DateFieldSingleProps } from '../../../components/DateFieldSingle';
3
- import { DateListFilter, DateListLibraryOptionId, DateListOption } from './internal/types';
3
+ import { DateListFilter, DateListLibraryOptionId, DateListOption, DateListCustomRangeConfig } from './internal/types';
4
4
  interface DateListDialogProps {
5
5
  /** Library option whose dialog is open; null when closed. */
6
6
  libraryId: DateListLibraryOptionId | null;
@@ -12,6 +12,8 @@ interface DateListDialogProps {
12
12
  endDate: string;
13
13
  };
14
14
  mode?: DateFieldSingleProps["mode"];
15
+ /** Constraints applied only when the Custom Range picker is open. */
16
+ customRange?: DateListCustomRangeConfig;
15
17
  /** Primary CTA label. "Apply" in popover, "Save" in drawer. */
16
18
  dialogCtaLabel: "Apply" | "Save";
17
19
  onCommit: (option: DateListOption) => void;
@@ -22,7 +24,7 @@ interface DateListDialogProps {
22
24
  * Renders a date or range picker for the chosen library option and commits
23
25
  * up on Apply/Save.
24
26
  */
25
- export declare const DateListDialog: ({ libraryId, parentFilterId, initialValue, mode, dialogCtaLabel, onCommit, onCancel, }: DateListDialogProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const DateListDialog: ({ libraryId, parentFilterId, initialValue, mode, customRange, dialogCtaLabel, onCommit, onCancel, }: DateListDialogProps) => import("react/jsx-runtime").JSX.Element;
26
28
  interface FilterDateListProps {
27
29
  filter: DateListFilter;
28
30
  committedValue: DateListOption | undefined;
@@ -1,3 +1,3 @@
1
1
  export * from './FilterBar';
2
2
  export { FilterBar as default, type FilterBarProps } from './FilterBar';
3
- export type { Filter, BooleanFilter, CustomFilter, SingleSelectFilter, MultiSelectFilter, DateFilter, DateRangeFilter, DateListFilter, DateListOption, DateListLibraryOptionId, AsyncSelectFilter, AsyncMultiSelectFilter, TreeFilter, AsyncTreeFilter, NumericRangeFilter, NumericRangeValue, TextInputFilter, SearchFilter, FilterValue, FilterRenderProps, BaseFilter, } from './internal/types';
3
+ export type { Filter, BooleanFilter, CustomFilter, SingleSelectFilter, MultiSelectFilter, DateFilter, DateRangeFilter, DateListFilter, DateListOption, DateListLibraryOptionId, DateListCustomRangeConfig, AsyncSelectFilter, AsyncMultiSelectFilter, TreeFilter, AsyncTreeFilter, NumericRangeFilter, NumericRangeValue, TextInputFilter, SearchFilter, FilterValue, FilterRenderProps, BaseFilter, } from './internal/types';
@@ -187,11 +187,21 @@ export type DateListOption = {
187
187
  endDate: string;
188
188
  } | null;
189
189
  };
190
+ /**
191
+ * Constraints for the built-in Custom Range picker on a dateList filter.
192
+ * On, Before, After, and consumer-supplied presets are not affected.
193
+ */
194
+ export type DateListCustomRangeConfig = Pick<DateFieldRangeProps, "minDate" | "maxDate" | "unavailable">;
190
195
  /**
191
196
  * Date list filter type. Renders the consumer's options followed by built-in
192
197
  * default options (On…, Before…, After…, Custom Range…) that open a Dialog
193
198
  * with the appropriate date picker. Use `excludeDefaultOptions` to omit any
194
199
  * of those defaults.
200
+ *
201
+ * `customRange.minDate` / `customRange.maxDate` (ISO 8601) and
202
+ * `customRange.unavailable` restrict which dates are selectable in the Custom
203
+ * Range dialog only. Typing a value outside those constraints is still
204
+ * allowed, but surfaces an error message on the field.
195
205
  */
196
206
  export type DateListFilter = BaseFilter & Pick<DateFieldSingleProps, "mode"> & {
197
207
  /** Identifies this as a date list filter */
@@ -205,6 +215,11 @@ export type DateListFilter = BaseFilter & Pick<DateFieldSingleProps, "mode"> & {
205
215
  * `customRange`). Defaults to showing all four built-in options.
206
216
  */
207
217
  excludeDefaultOptions?: DateListLibraryOptionId[];
218
+ /**
219
+ * Constraints for the built-in Custom Range picker. Does not apply to On,
220
+ * Before, After, or consumer-supplied options.
221
+ */
222
+ customRange?: DateListCustomRangeConfig;
208
223
  };
209
224
  /**
210
225
  * Async select filter type. Backed by SelectMenu in the toolbar and SelectField
@@ -11,7 +11,7 @@ export type PageProps = ComponentPropsWithoutRef<"div">;
11
11
  * - Container for complete page layouts
12
12
  * - Supports sidebar navigation with collapsible state
13
13
  * - Header with breadcrumbs, chips, and action buttons
14
- * - Main content area with virtual scrolling
14
+ * - Main content area with its own native scroll container
15
15
  * - Optional slide-out panels with responsive dialog fallback
16
16
  * - Footer with layout utilities
17
17
  * - Responsive design with mobile adaptations
@@ -158,11 +158,10 @@ export declare const Page: import('react').ForwardRefExoticComponent<Omit<import
158
158
  *
159
159
  * Features:
160
160
  * - Renders as a section element inside Page's main landmark
161
- * - Virtual scrolling support for long content
162
- * - Automatic scroll synchronization
161
+ * - Native scroll container for long content at desktop breakpoints
162
+ * - Keyboard operable (Page Up / Page Down) when focus is within Page.Content
163
163
  * - Responsive design
164
164
  * - Portals into Page's content wrapper via context
165
- * - Scroll position management
166
165
  *
167
166
  * @example
168
167
  * <Page.Content>
@@ -9,11 +9,9 @@ export type PageContentProps = ComponentPropsWithoutRef<"section">;
9
9
  *
10
10
  * Features:
11
11
  * - Renders as a section element inside Page's main landmark
12
- * - Virtual scrolling support for long content
13
- * - Automatic scroll synchronization
12
+ * - Portals into Page's content wrapper via context, which is the native scroll
13
+ * container at desktop breakpoints — sibling sections scroll together as one
14
14
  * - Responsive design
15
- * - Portals into Page's content wrapper via context
16
- * - Scroll position management
17
15
  *
18
16
  * @example
19
17
  * <Page.Content>
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * The Page's `lg` breakpoint width in px — the boundary between the stacked
3
3
  * "mobile" layout (sidebar collapses to a popover trigger, panel becomes a
4
- * dialog, virtual scrollbar hidden) and the desktop layout. Parsed once from the
5
- * design token; falls back to `0` if the token is unavailable.
4
+ * dialog) and the desktop layout. Parsed once from the design token; falls
5
+ * back to `0` if the token is unavailable.
6
6
  *
7
7
  * Single source of truth for every width-driven layout decision in Page
8
8
  * (`PageSidebar`, `PagePanel`, `PageContent`) so they can never drift apart.
@@ -14,13 +14,12 @@ export declare const PAGE_LG_BREAKPOINT: number;
14
14
  */
15
15
  export declare const isPageMobileWidth: (pageWidth: number | undefined) => boolean;
16
16
  /**
17
- * Whether the virtual scrollbar should render (desktop, `lg` and above).
18
- *
19
- * Gating the sized virtual-scroll spacer on this rather than rendering it
20
- * unconditionally is what prevents the `Page.Content` feedback loop: during
21
- * SSR/hydration `pageWidth` is `0` and the Page stylesheet has not yet pulled
22
- * the spacer out of flow, so an always-rendered spacer would round-trip through
23
- * the `document.scrollHeight` the ResizeObserver measures ("Maximum update depth
24
- * exceeded"). Below `lg` the spacer is never rendered, so it can never feed back.
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.
25
24
  */
26
- export declare const showsPageVirtualScroll: (pageWidth: number | undefined) => boolean;
25
+ export declare const isPageContentScrollContainerActive: (pageWidth: number | undefined) => boolean;
@@ -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 { I as INLINE_MARKDOWN_REGEX } from './FieldLabel-DpYGFXmG.js';
1
+ import { I as INLINE_MARKDOWN_REGEX } from './FieldLabel-D45uUkys.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-Dz6vTyS_.js.map
25
+ //# sourceMappingURL=stripInlineMarkdown-Vq3E88gC.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripInlineMarkdown-Dz6vTyS_.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-Vq3E88gC.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-DdNE3hPR.js';
8
+ import { T as Text } from './Text-BPlp1ja1.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-DcYuWdMC.js';
14
+ import { i as isThenable, c as OptionRow, d as OptionRowSideContent, e as OptionCheckbox, f as OptionContentArea, b as useAdaptiveView } from './useInvalidateOnOptionsChange-BdWCXlhy.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-BbK2BCsr.js.map
1243
+ //# sourceMappingURL=syncFilterUtils-DITilMLU.js.map