@astryx-vue/core 0.14.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BOyx3Owt.js → AlertDialog-B6EU-qoC.js} +7 -7
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-CHN80IBy.js → AppShell-NvIT99xw.js} +49 -6
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-B-dg3imS.js → Avatar-BECb_pnL.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/Banner/index.d.ts +1 -1
  9. package/dist/Banner/index.js +1 -1
  10. package/dist/{Banner-qEMqg2D8.js → Banner-BL7ztCU4.js} +1 -1
  11. package/dist/BottomSheet/index.js +2 -2
  12. package/dist/{BottomSheet-qD8zeVYQ.js → BottomSheet-CCW58Kl3.js} +4 -4
  13. package/dist/{BottomSheet-CFrcT1Lr.js → BottomSheet-HQpcSkPH.js} +6 -5
  14. package/dist/Breadcrumbs/index.js +1 -1
  15. package/dist/{Breadcrumbs-61TGNa4M.js → Breadcrumbs-BpgUZDh3.js} +1 -1
  16. package/dist/Button/index.d.ts +1 -1
  17. package/dist/Button/index.js +1 -1
  18. package/dist/{Button-47s3ZBYa.js → Button-Bi1evguV.js} +16 -8
  19. package/dist/ButtonGroup/index.d.ts +1 -1
  20. package/dist/ButtonGroup/index.js +1 -1
  21. package/dist/{ButtonGroup-BFl-0uOp.js → ButtonGroup-IIN-hAJl.js} +2 -2
  22. package/dist/Calendar/index.d.ts +1 -1
  23. package/dist/Calendar/index.js +1 -1
  24. package/dist/{Calendar-D029GXOJ.js → Calendar-Bk2nGoT-.js} +69 -20
  25. package/dist/Carousel/index.d.ts +1 -1
  26. package/dist/Carousel/index.js +1 -1
  27. package/dist/{Carousel-CYjVpChx.js → Carousel-r6KuUnE1.js} +1 -1
  28. package/dist/Chat/index.d.ts +1 -1
  29. package/dist/Chat/index.js +1 -1
  30. package/dist/{Chat-BfekV9OQ.js → Chat-JwOWSmvy.js} +7 -8
  31. package/dist/CheckboxInput/index.d.ts +1 -1
  32. package/dist/CheckboxInput/index.js +1 -1
  33. package/dist/{CheckboxInput-Cr0qhZpZ.js → CheckboxInput-3yFIGqYj.js} +1 -1
  34. package/dist/CheckboxList/index.d.ts +1 -1
  35. package/dist/CheckboxList/index.js +1 -1
  36. package/dist/{CheckboxList-DOAdqkXD.js → CheckboxList-2GMj8LSo.js} +3 -3
  37. package/dist/ClickableCard/index.d.ts +1 -1
  38. package/dist/Code/index.d.ts +2 -2
  39. package/dist/Code/index.js +3 -3
  40. package/dist/{Code-6GS0nAkR.js → Code-rmiC0XfO.js} +1 -1
  41. package/dist/{CodeBlock-CuNiGAhQ.js → CodeBlock-AeyHA3sX.js} +21 -9
  42. package/dist/CommandPalette/index.js +1 -1
  43. package/dist/{CommandPalette-DU4VBuWx.js → CommandPalette-CccNmfH_.js} +4 -4
  44. package/dist/ComplexSelector/index.d.ts +1 -1
  45. package/dist/ComplexSelector/index.js +1 -1
  46. package/dist/{ComplexSelector-CdeoaX2o.js → ComplexSelector-BQNwK1Rx.js} +2 -2
  47. package/dist/ContextMenu/index.d.ts +1 -1
  48. package/dist/ContextMenu/index.js +1 -1
  49. package/dist/{ContextMenu-Cw34CTey.js → ContextMenu-DlkuMtXc.js} +8 -8
  50. package/dist/DateInput/index.d.ts +1 -1
  51. package/dist/DateInput/index.js +1 -1
  52. package/dist/{DateInput-vxaVpM2X.js → DateInput-BAEJLiKU.js} +7 -7
  53. package/dist/DateRangeInput/index.d.ts +1 -1
  54. package/dist/DateRangeInput/index.js +1 -1
  55. package/dist/{DateRangeInput-X5VDZkfk.js → DateRangeInput-BM1__kku.js} +4 -4
  56. package/dist/DateTimeInput/index.d.ts +1 -1
  57. package/dist/DateTimeInput/index.js +1 -1
  58. package/dist/{DateTimeInput-B8HeL3dk.js → DateTimeInput-CqPuS2Wb.js} +6 -6
  59. package/dist/Dialog/index.js +3 -3
  60. package/dist/{Dialog-CprMsTku.js → Dialog-BoV6-sZg.js} +4 -4
  61. package/dist/{Dialog-DCsuevxA.js → Dialog-CvRMUDsx.js} +1 -1
  62. package/dist/{DialogHeader-DyMQBW1_.js → DialogHeader-DywC9gTH.js} +2 -2
  63. package/dist/Divider/index.d.ts +1 -1
  64. package/dist/Drawer/index.d.ts +1 -1
  65. package/dist/Drawer/index.js +1 -1
  66. package/dist/{Drawer-BkFF7krL.js → Drawer-BYXbMeXz.js} +2 -2
  67. package/dist/DropdownMenu/index.js +2 -2
  68. package/dist/{DropdownMenu-Dt88fMAT.js → DropdownMenu-1qD5NjRZ.js} +6 -6
  69. package/dist/{DropdownMenu-DEEcKIHY.js → DropdownMenu-DFD4_snt.js} +10 -10
  70. package/dist/EmptyState/index.js +1 -1
  71. package/dist/{EmptyState-BS8ESteS.js → EmptyState-DHogz6sS.js} +60 -9
  72. package/dist/Field/index.js +3 -3
  73. package/dist/{Field-Dxacpe9d.js → Field-CqIDpjny.js} +1 -1
  74. package/dist/{FieldInfoTip-DS4OAl2Q.js → FieldInfoTip-tETk5JH_.js} +1 -1
  75. package/dist/{FieldLabel-DjzTYhCM.js → FieldLabel-DL8r5Jzc.js} +1 -1
  76. package/dist/FileInput/index.d.ts +1 -1
  77. package/dist/FileInput/index.js +1 -1
  78. package/dist/{FileInput-Dak2gIXU.js → FileInput-Bwvb-tQk.js} +3 -3
  79. package/dist/Heading/index.d.ts +1 -1
  80. package/dist/Heading/index.js +1 -1
  81. package/dist/{Heading-BYB7QXkT.js → Heading-CkHUa3bI.js} +1 -1
  82. package/dist/HoverCard/index.d.ts +1 -1
  83. package/dist/HoverCard/index.js +1 -1
  84. package/dist/{HoverCard-CtDr234t.js → HoverCard-Ddcu9mBO.js} +4 -4
  85. package/dist/IconButton/index.js +1 -1
  86. package/dist/{IconButton-DvgueAEp.js → IconButton-eGsozJhK.js} +1 -1
  87. package/dist/InfoTip/index.d.ts +1 -1
  88. package/dist/InfoTip/index.js +1 -1
  89. package/dist/{InfoTip-DshbO5eW.js → InfoTip-DH9gvEPg.js} +2 -2
  90. package/dist/{InputClearButton-DEb-bGsY.js → InputClearButton-tztlFeqp.js} +1 -1
  91. package/dist/InputGroup/index.js +1 -1
  92. package/dist/{InputGroup-DLu11Lsd.js → InputGroup-ew0kllZw.js} +1 -1
  93. package/dist/InternationalizationProvider/index.d.ts +1 -1
  94. package/dist/InternationalizationProvider/index.js +1 -1
  95. package/dist/{InternationalizationProvider-CqCxB9ku.js → InternationalizationProvider-7rA65NO7.js} +1 -1
  96. package/dist/{LayerContentBoundary-Cx5xXZzg.js → LayerContentBoundary-CpqXMTyU.js} +1 -1
  97. package/dist/Layout/index.d.ts +1 -1
  98. package/dist/Layout/index.js +2 -2
  99. package/dist/{Layout-BeYYiLFm.js → Layout-DP2vrvTv.js} +1 -1
  100. package/dist/{LayoutPanel-DDLcJgzG.js → LayoutPanel-DuroKU_A.js} +23 -4
  101. package/dist/Lightbox/index.js +1 -1
  102. package/dist/{Lightbox-f_0_73Zi.js → Lightbox-CwRSUkkH.js} +4 -4
  103. package/dist/Link/index.d.ts +1 -1
  104. package/dist/Link/index.js +1 -1
  105. package/dist/{Link-CFxZ9W2X.js → Link-DKeXWgvF.js} +1 -1
  106. package/dist/List/index.d.ts +1 -1
  107. package/dist/Markdown/index.d.ts +1 -1
  108. package/dist/Markdown/index.js +1 -1
  109. package/dist/{Markdown-DTqTIKbq.js → Markdown-umUpz0Pf.js} +3 -3
  110. package/dist/{MediaTheme-BVKUsMfC.js → MediaTheme-Bkj-_DFN.js} +1 -1
  111. package/dist/MobileNav/index.js +1 -1
  112. package/dist/{MobileNavToggle-D_J_uTW-.js → MobileNavToggle-DlQmYaBx.js} +4 -4
  113. package/dist/MoreMenu/index.d.ts +1 -1
  114. package/dist/MoreMenu/index.js +1 -1
  115. package/dist/{MoreMenu-BY1t1_QA.js → MoreMenu-YTZfzTM_.js} +5 -5
  116. package/dist/MultiSelector/index.d.ts +1 -1
  117. package/dist/MultiSelector/index.js +1 -1
  118. package/dist/{MultiSelector-BmdODQAC.js → MultiSelector-wNUnwrLr.js} +24 -13
  119. package/dist/{NavDisclosure-mXBWmRDC.js → NavDisclosure-Dg6U7pc7.js} +1 -1
  120. package/dist/{NavHeadingSurface-foJo5bLT.js → NavHeadingSurface-C17cbKn9.js} +1 -1
  121. package/dist/NavItem/index.d.ts +1 -1
  122. package/dist/NavMenu/index.js +3 -3
  123. package/dist/{NavMenu-CG9Bthba.js → NavMenu-CTbvZnO2.js} +26 -6
  124. package/dist/{NavMenuItem-BiFZUPxC.js → NavMenuItem-BbT97LNz.js} +14 -7
  125. package/dist/NumberInput/index.d.ts +1 -1
  126. package/dist/NumberInput/index.js +1 -1
  127. package/dist/{NumberInput-BDNiEgzf.js → NumberInput-C8ymESEK.js} +3 -3
  128. package/dist/OverflowList/index.d.ts +1 -1
  129. package/dist/OverflowList/index.js +1 -1
  130. package/dist/{OverflowList-CR96Nr5t.js → OverflowList-Buzyq2be.js} +25 -10
  131. package/dist/Pagination/index.d.ts +1 -1
  132. package/dist/Pagination/index.js +1 -1
  133. package/dist/{Pagination-CA3yJwyk.js → Pagination-BREwZINI.js} +1 -1
  134. package/dist/Popover/index.d.ts +1 -1
  135. package/dist/Popover/index.js +1 -1
  136. package/dist/{Popover-Mj71LwjH.js → Popover-CBXTOdtZ.js} +7 -7
  137. package/dist/PowerSearch/index.d.ts +1 -1
  138. package/dist/PowerSearch/index.js +1 -1
  139. package/dist/{PowerSearch-CajkGExd.js → PowerSearch-8ali3Cze.js} +19 -19
  140. package/dist/ProgressBar/index.d.ts +1 -1
  141. package/dist/ProgressBar/index.js +1 -1
  142. package/dist/{ProgressBar-sGSCEtHC.js → ProgressBar-B0IjJKEy.js} +1 -1
  143. package/dist/Radio/index.d.ts +1 -1
  144. package/dist/Radio/index.js +1 -1
  145. package/dist/{RadioGroup-D58Fy-bM.js → RadioGroup-fNJoHMK0.js} +2 -2
  146. package/dist/RadioList/index.d.ts +1 -1
  147. package/dist/RadioList/index.js +1 -1
  148. package/dist/{RadioList-u9PoRBXY.js → RadioList-Dt301fwV.js} +1 -1
  149. package/dist/Resizable/index.d.ts +1 -1
  150. package/dist/Resizable/index.js +1 -1
  151. package/dist/{ResizeHandle-Bon51yNV.js → ResizeHandle-4-krI-cQ.js} +1 -1
  152. package/dist/ScrollableArea/index.d.ts +1 -1
  153. package/dist/ScrollableArea/index.js +1 -1
  154. package/dist/{ScrollableArea-C2GBp55Z.js → ScrollableArea-Cflez3d4.js} +1 -1
  155. package/dist/SegmentedControl/index.d.ts +1 -1
  156. package/dist/SegmentedControl/index.js +1 -1
  157. package/dist/{SegmentedControl-COVOdCq2.js → SegmentedControl-DoTaOwPI.js} +16 -9
  158. package/dist/SelectableCard/index.d.ts +1 -1
  159. package/dist/Selector/index.d.ts +1 -1
  160. package/dist/Selector/index.js +1 -1
  161. package/dist/{Selector-jA_SESFs.js → Selector-DJiziplk.js} +15 -10
  162. package/dist/SideNav/index.d.ts +1 -1
  163. package/dist/SideNav/index.js +1 -1
  164. package/dist/{SideNav-BgmpUELq.js → SideNav-CcgrhUXF.js} +6 -6
  165. package/dist/Slider/index.js +1 -1
  166. package/dist/{Slider-Depy9L-Y.js → Slider-W9T8GaFW.js} +2 -2
  167. package/dist/Stack/index.js +1 -1
  168. package/dist/{Stack-Tw4I_dt-.js → Stack-Byxur1jV.js} +19 -2
  169. package/dist/StatusDot/index.js +1 -1
  170. package/dist/{StatusDot-D0Wy2ggp.js → StatusDot-EQ8y4vq2.js} +1 -1
  171. package/dist/Stepper/index.d.ts +1 -1
  172. package/dist/Switch/index.d.ts +1 -1
  173. package/dist/Switch/index.js +1 -1
  174. package/dist/{Switch-dD4OQLkI.js → Switch-YXDRo4ei.js} +2 -2
  175. package/dist/TabList/index.js +1 -1
  176. package/dist/{TabList-CoiyQidC.js → TabList-QBE7ojy4.js} +20 -8
  177. package/dist/Table/index.d.ts +3 -3
  178. package/dist/Table/index.js +2 -2
  179. package/dist/{Table-Cb0ec1PS.js → Table-uPs9O7-T.js} +1336 -220
  180. package/dist/Text/index.d.ts +1 -1
  181. package/dist/Text/index.js +1 -1
  182. package/dist/{Text-BWSmB93V.js → Text-vw2_AIxf.js} +1 -1
  183. package/dist/TextArea/index.d.ts +1 -1
  184. package/dist/TextArea/index.js +1 -1
  185. package/dist/{TextArea-CbY2w_ic.js → TextArea-BNiJxKXr.js} +9 -6
  186. package/dist/TextInput/index.d.ts +1 -1
  187. package/dist/TextInput/index.js +1 -1
  188. package/dist/{TextInput-C8f89GV8.js → TextInput-CiKL_mGp.js} +8 -5
  189. package/dist/Theme/index.js +2 -2
  190. package/dist/{Theme-PyAl8nM0.js → Theme-8bDq2nud.js} +1 -1
  191. package/dist/Thumbnail/index.js +1 -1
  192. package/dist/{Thumbnail-DENhXd9-.js → Thumbnail-BJSDUhEI.js} +3 -3
  193. package/dist/{TimeField-DcZ9wYGn.js → TimeField-Cc6LnM1G.js} +5 -5
  194. package/dist/TimeInput/index.d.ts +1 -1
  195. package/dist/TimeInput/index.js +1 -1
  196. package/dist/{TimeInput-DyiU7_IA.js → TimeInput-DAd4fwAj.js} +2 -2
  197. package/dist/Timer/index.js +1 -1
  198. package/dist/{Timer-CgBSMr9E.js → Timer-DWdMqvhQ.js} +1 -1
  199. package/dist/Timestamp/index.d.ts +1 -1
  200. package/dist/Timestamp/index.js +1 -1
  201. package/dist/{Timestamp-B-VgG6l8.js → Timestamp-HUDZSHZO.js} +27 -8
  202. package/dist/Toast/index.js +1 -1
  203. package/dist/{Toast-CRSZV9K-.js → Toast-y_XAIj6o.js} +2 -2
  204. package/dist/ToggleButton/index.d.ts +1 -1
  205. package/dist/ToggleButton/index.js +1 -1
  206. package/dist/{ToggleButton-Bm5IQUy5.js → ToggleButton-Bo3FU3Fw.js} +3 -3
  207. package/dist/Token/index.d.ts +1 -1
  208. package/dist/Tokenizer/index.d.ts +1 -1
  209. package/dist/Tokenizer/index.js +1 -1
  210. package/dist/{Tokenizer-DmjNQLDl.js → Tokenizer-IlXAt3yW.js} +7 -8
  211. package/dist/Toolbar/index.d.ts +2 -2
  212. package/dist/Tooltip/index.d.ts +1 -1
  213. package/dist/Tooltip/index.js +2 -2
  214. package/dist/{Tooltip-BwrJVZ8X.js → Tooltip-nEgotJlb.js} +1 -1
  215. package/dist/TopNav/index.d.ts +1 -1
  216. package/dist/TopNav/index.js +1 -1
  217. package/dist/{TopNav-C3gyHUVv.js → TopNav-CzTYtsm4.js} +5 -5
  218. package/dist/TreeList/index.d.ts +1 -1
  219. package/dist/TreeList/index.js +1 -1
  220. package/dist/{TreeList-Dc3A72iY.js → TreeList-TEh2PChT.js} +15 -2
  221. package/dist/Typeahead/index.js +2 -2
  222. package/dist/{Typeahead-LdmEDCOU.js → Typeahead-Ck5wA5fs.js} +5 -5
  223. package/dist/announce-GU01Oix2.js +179 -0
  224. package/dist/busyAnnouncement-CExubuYm.js +55 -0
  225. package/dist/clipboardWrite-Ds6fxmZc.js +58 -0
  226. package/dist/composables/index.d.ts +4 -4
  227. package/dist/composables/index.js +18 -18
  228. package/dist/{composables-Bi0Rt0Uj.js → composables-CCsHfpCS.js} +25 -5
  229. package/dist/focusReturn-D7Y7Pwwb.js +41 -0
  230. package/dist/{index-6kd7pher.d.ts → index-51CkIKnI.d.ts} +4 -6
  231. package/dist/{index-BbXwtkv6.d.ts → index-B99LFtEg.d.ts} +6 -6
  232. package/dist/{index-Cr9uPUc5.d.ts → index-BYEcUSBq.d.ts} +102 -55
  233. package/dist/{index-CdvmnNMH.d.ts → index-BaFphczL.d.ts} +1 -1
  234. package/dist/{index-YfMHAQ_D.d.ts → index-Bc-ChXDo.d.ts} +2 -2
  235. package/dist/{index-B3yTdknp.d.ts → index-C1zwvxPH.d.ts} +1 -1
  236. package/dist/{index-BHYhTZzp.d.ts → index-C2cH8OLC.d.ts} +1 -1
  237. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  238. package/dist/{index-DneQgJfI.d.ts → index-CMLnSg3T.d.ts} +3 -1
  239. package/dist/{index-DfdtDWSP.d.ts → index-CQ1bsxLC.d.ts} +1 -1
  240. package/dist/{index-CLHJybQY.d.ts → index-ChqMaV6N.d.ts} +12 -1
  241. package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
  242. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  243. package/dist/{index-BPymttXR.d.ts → index-Cv0FsOgj.d.ts} +51 -17
  244. package/dist/{index-B449gOMC.d.ts → index-Cy1rEWC-.d.ts} +2 -2
  245. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  246. package/dist/{index-Dg0JsBpI.d.ts → index-D2p8EVVV.d.ts} +2 -2
  247. package/dist/{index-wTwhcFQx.d.ts → index-DMN_JVEt.d.ts} +2 -2
  248. package/dist/{index-s0Ezq3U-.d.ts → index-DTvnURvQ.d.ts} +4 -4
  249. package/dist/{index--kbwaSXW.d.ts → index-Dpz-JUMl.d.ts} +2 -2
  250. package/dist/{index-DG7FmGCE.d.ts → index-FzAAjCFZ.d.ts} +5 -5
  251. package/dist/{index-eCp-ElSp.d.ts → index-MvrDMqnQ.d.ts} +1 -1
  252. package/dist/{index-B-3EGjfQ.d.ts → index-Q1oG9yIT.d.ts} +2 -2
  253. package/dist/{index-DpYJBFJj.d.ts → index-QRzXr6ME.d.ts} +1 -1
  254. package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
  255. package/dist/{index-CcYSAva-.d.ts → index-fd--aE4B.d.ts} +1 -1
  256. package/dist/{index-Djf0M7PH.d.ts → index-lmd9LZKB.d.ts} +1 -1
  257. package/dist/{index-C5VJoanX.d.ts → index-r1zpDegp.d.ts} +6 -6
  258. package/dist/index.d.ts +33 -33
  259. package/dist/index.js +110 -110
  260. package/dist/{layerDepth-I6d28O4d.js → interactionModality-B5dR7nnb.js} +125 -1
  261. package/dist/{layerFocusReturn-BrS5RTx6.js → layerFocusReturn-13azEIdn.js} +1 -1
  262. package/dist/{layout-DzxSsBe8.js → layout-DhX4-SyE.js} +4 -2
  263. package/dist/{loadCatalog-DYuZZRtf.js → loadCatalog-C3MSknfx.js} +10 -2
  264. package/dist/{loadCatalog-Cvf-xgDD.d.ts → loadCatalog-DFyDz_4e.d.ts} +5 -0
  265. package/dist/locale/index.d.ts +2 -2
  266. package/dist/locale/index.js +4 -4
  267. package/dist/{locale-B-DrJCMs.js → locale-OCGw4bi6.js} +1 -1
  268. package/dist/scrollGeometry-ivD7aoBo.js +104 -0
  269. package/dist/{scrollKeyboardDelegation-BSpUCTlO.js → scrollKeyboardDelegation-DZ4t5PvC.js} +2 -82
  270. package/dist/scrollLock-CoVg9lLU.js +212 -0
  271. package/dist/{stillPointerGate-DlAU_J_M.js → stillPointerGate-0vdn-hSa.js} +1 -1
  272. package/dist/strayClick-_QKRT5aH.js +99 -0
  273. package/dist/{timestamp-CFBVCsHF.js → timestamp-BMYQsFDj.js} +2 -0
  274. package/dist/{useActionGroupTracking-CDclbV3Y.js → useActionGroupTracking-CbE8fwYb.js} +1 -1
  275. package/dist/{useChatStreamScroll-oDfybEos.js → useChatStreamScroll-BIMKffDA.js} +1 -1
  276. package/dist/{useClipboard-i4a_x_Io.js → useClipboard-CTY3GwFz.js} +24 -10
  277. package/dist/{useClipboard-ZdT7wKBL.d.ts → useClipboard-DeO8fCW_.d.ts} +12 -3
  278. package/dist/{useDismiss-21Gk7uWk.js → useDismiss-Dfb0Ky7T.js} +1 -1
  279. package/dist/useFocusTrap-BUd-fvUH.js +238 -0
  280. package/dist/{useHoverLayerDismiss-Chfty2wT.js → useHoverLayerDismiss-CFGjvYi4.js} +1 -1
  281. package/dist/{useInputStatusIcon-Yd0hvw5K.js → useInputStatusIcon-lln4Pl9h.js} +1 -1
  282. package/dist/{selectorEscape-FjiU_5WC.js → useKeyboardHighlight-CGCf1O57.js} +24 -3
  283. package/dist/{useLayer-vK4-yRk_.js → useLayer-D34yqEqr.js} +1 -1
  284. package/dist/useMediaQuery-BzXGT1Aw.js +64 -0
  285. package/dist/{useMenuHover-CbjjfzAd.js → useMenuHover-CQYo0XCC.js} +4 -2
  286. package/dist/{useMenuPress-9vsHzbRX.js → useMenuPress-9dOj2hvC.js} +71 -26
  287. package/dist/{useOverflow-VrwF5oek.js → useOverflow-GU0pxGaU.js} +43 -3
  288. package/dist/{useResizable-DYlc06-H.js → useResizable-BMlG1oxA.js} +1 -1
  289. package/dist/{useResizable-DziUYD5W.d.ts → useResizable-CJd4JkbJ.d.ts} +30 -1
  290. package/dist/{useResolvedColorMode-CHOh3Yz-.js → useResolvedColorMode-Df97_9w_.js} +1 -1
  291. package/dist/{useRestoreFocus-BhcXCJwM.js → useRestoreFocus-Cz_jM_nW.js} +2 -2
  292. package/dist/useScrollRegionProps-DwkPUb-O.js +119 -0
  293. package/dist/{useScrollableArea-Bwn75HDg.js → useScrollableArea-BaHkGWbX.js} +73 -10
  294. package/dist/{useTooltip-DIg3ZE9P.js → useTooltip-CCPg2zcB.js} +7 -7
  295. package/dist/{useTouchHitArea-B3jx01C3.js → useTouchHitArea-CzCtdSt9.js} +1 -1
  296. package/dist/{useTouchTriggerInternal-CrLW-7kT.js → useTouchTriggerInternal-Bs7obOrb.js} +1 -2
  297. package/dist/{useTruncationTooltip-D9_lzxpF.js → useTruncationTooltip-BLNzBuiG.js} +3 -3
  298. package/dist/{useTypeahead-CiLt-yEg.js → useTypeahead-BrWvmOu9.js} +1 -1
  299. package/dist/{useTypeaheadAnnouncement-C59m2nSx.js → useTypeaheadAnnouncement-CSikDlpK.js} +2 -2
  300. package/package.json +1 -1
  301. package/styles/app-shell.css +13 -0
  302. package/styles/calendar.css +6 -0
  303. package/styles/card.css +3 -0
  304. package/styles/dropdown-menu.css +16 -0
  305. package/styles/multi-selector.css +6 -0
  306. package/styles/nav-menu.css +6 -0
  307. package/styles/segmented-control.css +3 -8
  308. package/styles/selector.css +6 -0
  309. package/styles/tab-menu.css +6 -0
  310. package/styles/table.css +44 -1
  311. package/styles/toolbar.css +12 -0
  312. package/dist/announce-B210eJVf.js +0 -104
  313. package/dist/busyAnnouncement-D3eGqdsf.js +0 -88
  314. package/dist/interactionModality-BPvyShJT.js +0 -125
  315. package/dist/scrollLock-C3aT4-0z.js +0 -102
  316. package/dist/strayClick-CY-_ImKv.js +0 -60
  317. package/dist/useFocusTrap-BFQ7Goue.js +0 -176
  318. package/dist/useMediaQuery-GMmgp28-.js +0 -32
  319. package/dist/{index-CHx33xGa.d.ts → index-BqhgeAT4.d.ts} +2 -2
@@ -0,0 +1,179 @@
1
+ //#region src/composables/internal/announceChannel.ts
2
+ const CONTAINER_ATTR = "data-astryx-live-region";
3
+ const CLEAR_DELAY_MS = 2e3;
4
+ const VISUALLY_HIDDEN_CSS = [
5
+ "position:absolute",
6
+ "width:1px",
7
+ "height:1px",
8
+ "margin:-1px",
9
+ "padding:0",
10
+ "overflow:hidden",
11
+ "clip:rect(0,0,0,0)",
12
+ "white-space:nowrap",
13
+ "border:0",
14
+ "inset-block-start:0",
15
+ "inset-inline-start:0",
16
+ "pointer-events:none",
17
+ "user-select:none"
18
+ ].join(";");
19
+ const channels = /* @__PURE__ */ new WeakMap();
20
+ const liveChannels = /* @__PURE__ */ new Set();
21
+ let bodyRegions = null;
22
+ function channelOf(region) {
23
+ let channel = channels.get(region);
24
+ if (channel == null) {
25
+ channel = {
26
+ region,
27
+ frame: null,
28
+ pending: [],
29
+ clearTimer: null
30
+ };
31
+ channels.set(region, channel);
32
+ liveChannels.add(channel);
33
+ }
34
+ return channel;
35
+ }
36
+ function createRegion(politeness, parent) {
37
+ const el = parent.ownerDocument.createElement("div");
38
+ el.setAttribute(CONTAINER_ATTR, politeness);
39
+ el.setAttribute("aria-live", politeness);
40
+ el.setAttribute("aria-atomic", "true");
41
+ el.setAttribute("role", politeness === "assertive" ? "alert" : "status");
42
+ el.style.cssText = VISUALLY_HIDDEN_CSS;
43
+ parent.appendChild(el);
44
+ return el;
45
+ }
46
+ function getBodyRegion(politeness) {
47
+ if (typeof document === "undefined") return null;
48
+ bodyRegions ??= {
49
+ polite: createRegion("polite", document.body),
50
+ assertive: createRegion("assertive", document.body)
51
+ };
52
+ const region = bodyRegions[politeness];
53
+ if (!region.isConnected) document.body.appendChild(region);
54
+ return region;
55
+ }
56
+ function isOpenModal(dialog) {
57
+ if (!dialog.open) return false;
58
+ try {
59
+ return dialog.matches(":modal");
60
+ } catch {
61
+ return false;
62
+ }
63
+ }
64
+ /** 离开 `within` 最近的、正开着的原生模态对话框;没有传 `within` 时取文档里最后开的那个。 */
65
+ function findOpenModal(within) {
66
+ if (within != null) {
67
+ const dialog = within.closest("dialog");
68
+ return dialog != null && isOpenModal(dialog) ? dialog : null;
69
+ }
70
+ if (typeof document === "undefined") return null;
71
+ const open = Array.from(document.querySelectorAll("dialog")).filter(isOpenModal);
72
+ return open[open.length - 1] ?? null;
73
+ }
74
+ /**
75
+ * 播报该写进哪块区域。原生模态对话框打开时,挂在 body 上的区域被挡在外面,读屏念不到,
76
+ * 所以改用对话框里一块常驻的区域:先空着插进去,下一帧再写字。
77
+ */
78
+ function resolveRegion(politeness, within) {
79
+ const dialog = findOpenModal(within);
80
+ if (dialog == null) return getBodyRegion(politeness);
81
+ const selector = `:scope > [${CONTAINER_ATTR}="${politeness}"]`;
82
+ return dialog.querySelector(selector) ?? createRegion(politeness, dialog);
83
+ }
84
+ function cancelFrame(channel) {
85
+ if (channel.frame != null && typeof cancelAnimationFrame === "function") cancelAnimationFrame(channel.frame);
86
+ channel.frame = null;
87
+ }
88
+ function cancelClear(channel) {
89
+ if (channel.clearTimer != null) clearTimeout(channel.clearTimer);
90
+ channel.clearTimer = null;
91
+ }
92
+ function scheduleClear(channel) {
93
+ cancelClear(channel);
94
+ channel.clearTimer = setTimeout(() => {
95
+ channel.clearTimer = null;
96
+ channel.region.textContent = "";
97
+ }, CLEAR_DELAY_MS);
98
+ }
99
+ function flush(channel) {
100
+ channel.frame = null;
101
+ channel.region.textContent = channel.pending.map((message) => message.text).join(" ");
102
+ channel.pending = [];
103
+ }
104
+ function receiptFor(channel, message) {
105
+ let isTaken = false;
106
+ return { withdraw: () => {
107
+ if (isTaken) return;
108
+ isTaken = true;
109
+ const at = channel.pending.indexOf(message);
110
+ if (at < 0) return;
111
+ message.holders -= 1;
112
+ if (message.holders > 0) return;
113
+ channel.pending.splice(at, 1);
114
+ if (channel.pending.length === 0) cancelFrame(channel);
115
+ } };
116
+ }
117
+ /** 写一条播报。返回的收据用来收回还没念出去的这一份。 */
118
+ function writeAnnouncement(message, politeness, target = {}) {
119
+ const region = resolveRegion(politeness, target.within);
120
+ if (region == null) return null;
121
+ const channel = channelOf(region);
122
+ const repeat = channel.pending.find((pending) => pending.text === message);
123
+ if (repeat != null) {
124
+ repeat.holders += 1;
125
+ return receiptFor(channel, repeat);
126
+ }
127
+ const pending = {
128
+ text: message,
129
+ holders: 1
130
+ };
131
+ const isFirst = channel.pending.length === 0;
132
+ channel.pending.push(pending);
133
+ if (typeof requestAnimationFrame !== "function") {
134
+ channel.region.textContent = channel.pending.map((entry) => entry.text).join(" ");
135
+ channel.pending = [];
136
+ } else if (isFirst || channel.frame == null) {
137
+ region.textContent = "";
138
+ cancelFrame(channel);
139
+ channel.frame = requestAnimationFrame(() => flush(channel));
140
+ }
141
+ scheduleClear(channel);
142
+ return receiptFor(channel, pending);
143
+ }
144
+ /** 清掉一种紧迫度的播报,包括排队还没念的。传了 `within` 时清那个对话框里的。 */
145
+ function clearAnnouncements(politeness, target = {}) {
146
+ const region = resolveRegion(politeness, target.within);
147
+ if (region == null) return;
148
+ const channel = channelOf(region);
149
+ cancelFrame(channel);
150
+ cancelClear(channel);
151
+ channel.pending = [];
152
+ region.textContent = "";
153
+ }
154
+ //#endregion
155
+ //#region src/composables/internal/announce.ts
156
+ function useAnnouncer(options = {}) {
157
+ let lastReceipt = null;
158
+ return (message, politeness = "polite", target = {}) => {
159
+ if (options.hasReplace === true) {
160
+ lastReceipt?.withdraw();
161
+ lastReceipt = null;
162
+ }
163
+ if (message === "") {
164
+ clearAnnouncements(politeness, target);
165
+ return null;
166
+ }
167
+ const receipt = writeAnnouncement(message, politeness, target);
168
+ if (options.hasReplace === true) lastReceipt = receipt;
169
+ return receipt;
170
+ };
171
+ }
172
+ function useAnnounce(options = {}) {
173
+ const announcer = useAnnouncer(options);
174
+ return (message, politeness) => {
175
+ announcer(message, politeness);
176
+ };
177
+ }
178
+ //#endregion
179
+ export { useAnnouncer as n, useAnnounce as t };
@@ -0,0 +1,55 @@
1
+ import { n as useAnnouncer } from "./announce-GU01Oix2.js";
2
+ import { onScopeDispose, toValue, watch } from "vue";
3
+ //#region src/composables/internal/busyAnnouncement.ts
4
+ /**
5
+ * 忙碌控件的读屏播报。
6
+ *
7
+ * 控件里的 Spinner 只是装饰(`aria-hidden`,没有 live 角色),忙碌由控件自己播报:
8
+ * 每次进入忙碌念一次,重渲染不重复,忙完再忙会再念。
9
+ *
10
+ * 原生模态对话框打开时,挂在 body 上的公共播报区域被挡在外面,读屏念不到:
11
+ * 传了 `element` 就写进它所在的那个对话框里的播报区域。路线在下一帧再选,
12
+ * 同一轮里打开的对话框要等它自己的 `showModal()` 跑完。
13
+ *
14
+ * 返回的函数在控件要播报这次忙碌的结果时调用:还没念出去的忙碌开始随即收回,
15
+ * 不会跟在结果后面、或者和结果念成一句(「Loading」念在已经出来的结果之后是假的)。
16
+ * 同一次忙碌里不会再补念。
17
+ */
18
+ function useBusyAnnouncement(busy, message, element) {
19
+ const announce = useAnnouncer();
20
+ let frame = null;
21
+ let receipt = null;
22
+ let isSettled = false;
23
+ function cancel() {
24
+ if (frame != null && typeof cancelAnimationFrame === "function") cancelAnimationFrame(frame);
25
+ frame = null;
26
+ }
27
+ function speak() {
28
+ receipt = announce(toValue(message), "polite", { within: element == null ? null : toValue(element) });
29
+ }
30
+ /** 这次忙碌的结果要播报了:没念出去的开始收回,之后也不再补念。 */
31
+ function settle() {
32
+ isSettled = true;
33
+ cancel();
34
+ receipt?.withdraw();
35
+ receipt = null;
36
+ }
37
+ watch(() => toValue(busy), (isBusy) => {
38
+ cancel();
39
+ receipt = null;
40
+ isSettled = false;
41
+ if (!isBusy) return;
42
+ if (element == null || typeof requestAnimationFrame !== "function") {
43
+ speak();
44
+ return;
45
+ }
46
+ frame = requestAnimationFrame(() => {
47
+ frame = null;
48
+ if (!isSettled) speak();
49
+ });
50
+ }, { immediate: true });
51
+ onScopeDispose(cancel);
52
+ return settle;
53
+ }
54
+ //#endregion
55
+ export { useBusyAnnouncement as t };
@@ -0,0 +1,58 @@
1
+ //#region src/composables/internal/clipboardWrite.ts
2
+ /**
3
+ * 这个文档能不能用异步 Clipboard API 写入。权限策略不允许 `clipboard-write` 的框架会拒绝它,
4
+ * 每试一次浏览器还会记一条策略违规。没有策略 API 时照常尝试。
5
+ */
6
+ function clipboardWriteAllowed() {
7
+ const doc = document;
8
+ const policy = doc.permissionsPolicy ?? doc.featurePolicy;
9
+ return typeof policy?.allowsFeature === "function" ? policy.allowsFeature("clipboard-write") : true;
10
+ }
11
+ /**
12
+ * 用浏览器的复制命令复制文字。异步 API 被拒绝的地方,一次点击或按键里仍然能跑它。
13
+ * 文字通过复制命令触发的 `copy` 事件放进去,不用让任何元素拿焦点或改选区,
14
+ * 所以 HoverCard 或打开的模态对话框里的控件两样都保得住。
15
+ * @throws 浏览器没有复制时
16
+ */
17
+ function copyThroughCopyCommand(text) {
18
+ if (navigator.userActivation?.isActive === false) throw new Error("The copy command runs only in a click or a key press.");
19
+ let written = false;
20
+ const write = (event) => {
21
+ if (event.clipboardData == null) return;
22
+ event.clipboardData.setData("text/plain", text);
23
+ event.preventDefault();
24
+ event.stopImmediatePropagation();
25
+ written = true;
26
+ };
27
+ window.addEventListener("copy", write, true);
28
+ let copied;
29
+ try {
30
+ copied = document.execCommand("copy");
31
+ } finally {
32
+ window.removeEventListener("copy", write, true);
33
+ }
34
+ if (!copied || !written) throw new Error("The browser did not copy the text.");
35
+ }
36
+ /**
37
+ * 把文字写进剪贴板。异步 Clipboard API 优先;框架的策略事先说不允许时直接用复制命令,
38
+ * 免得浏览器记违规;浏览器事后拒绝写入(NotAllowedError)时也改用复制命令。
39
+ * @throws 两条路都没写进去时,抛出更能说明原因的那个错误
40
+ */
41
+ async function writeClipboardText(text) {
42
+ if (!clipboardWriteAllowed()) {
43
+ copyThroughCopyCommand(text);
44
+ return;
45
+ }
46
+ try {
47
+ await navigator.clipboard.writeText(text);
48
+ } catch (error) {
49
+ if (!(error instanceof DOMException && error.name === "NotAllowedError")) throw error;
50
+ try {
51
+ copyThroughCopyCommand(text);
52
+ } catch {
53
+ throw error;
54
+ }
55
+ }
56
+ }
57
+ //#endregion
58
+ export { writeClipboardText as t };
@@ -1,7 +1,7 @@
1
- import { $ as MergedRef, $n as useContainerReveal, $t as useHandleRef, A as useRestoreFocus, An as DateSurface, Ar as applyRangeClick, At as KeyboardHintOrientation, B as UseOverflowReturn, Bn as formatISOTime, Bt as useInputContainer, C as ScrollStickyContainment, Cn as useDismiss, Cr as AnnouncePoliteness, Ct as useLayerMountTarget, D as useScrollableArea, Dn as devWarn, Dr as ISODateRange, Dt as UseLayerOptions, E as UseScrollableAreaResult, En as useDisclosureHandle, Er as SnapPagingOptions, Et as LayerMode, F as PendingChange, Fn as NativePicker, Fr as isSameRange, Ft as UseInteractiveRoleOptions, G as UseNumberFieldOptions, Gn as shiftTime, Gt as ImageSampleRegion, H as useOverflow, Hn as parseDisplayTime, Ht as UseIndicatorFocusRingOptions, I as usePendingChange, In as ParsedTime, Ir as orderRange, It as UseInteractiveRoleReturn, J as addMonths, Jn as useControllableState, Jt as perceptualLightness, K as computeSteppedValue, Kn as ControllableState, Kt as UseImageModeOptions, L as ComputeOverflowInput, Ln as TimePresentation, Lr as resolveWeekStart, Lt as useInteractiveRole, M as UsePressFeedbackOptions, Mn as resolveDateSurface, Mr as formatDateRange, Mt as UseKeyboardHintOptions, N as UsePressFeedbackReturn, Nn as HourFormat, Nr as isDayOutsideSpan, Nt as useKeyboardHint, O as RestoreFocus, On as useDevWarning, Or as RangeClickResult, Ot as UseLayerReturn, P as usePressFeedback, Pn as ISOTimeString, Pr as isRangeWithinSpan, Pt as InteractiveRole, Q as todayISODate, Qn as UseContainerRevealOptions, Qt as HandleRef, R as ComputeOverflowResult, Rn as TimeSurface, Rr as spanDays, Rt as InputContainerHandlers, S as ScrollRole, Sn as UseDismissOptions, Sr as AnnounceFn, St as useListFocus, T as UseScrollableAreaOptions, Tn as DisclosureHandleRef, Tr as SnapPaging, Tt as useResolvedLayerTeleport, U as NumberField, Un as parseISOTime, Ut as UseIndicatorFocusRingReturn, V as computeOverflow, Vn as isTimeInRange, Vt as IndicatorFocusRingHandlers, W as NumberStepDirection, Wn as resolveTimeSurface, Wt as useIndicatorFocusRing, X as parseISODate, Xn as ContentRevealOptions, Xt as Hotkey, Y as buildMonthGrid, Yn as ContainerRevealOptions, Yt as useImageMode, Z as toISODate, Zn as UseContainerReveal, Zt as useHotkeys, _ as useScrollLock, _n as useFieldControlState, _r as UseChatNewMessagesReturn, _t as LongPressOptions, a as UseTouchTriggerOptions, an as useGridFocus, ar as ClickableContainerHandlers, at as isMenuPressActivation, b as ScrollKeyboardAccess, bn as UseEntryAnimationReturn, br as appShellMobileKey, bt as ListFocusOrientation, c as isActionTrigger, cn as useFocusTrap, cr as hasInteractiveAncestor, ct as MENU_PRESS_SETTLE_MS, d as snapToGraphemeBoundary, dn as FileSelectionResult, dr as ChatScrollToBottomOptions, dt as MenuPressGesture, en as GridRovingFocus, er as Combobox, et as MergedRefHandle, f as useStreamingText, fn as FileSizeUnits, fr as UseChatStreamScrollOptions, ft as MenuPressPointerType, g as useScrollOverflow, gn as FieldControlStateInput, gr as UseChatNewMessagesOptions, gt as LongPressHandlers, h as UseScrollOverflowResult, hn as FieldControlState, hr as CHAT_MESSAGE_CLASS, ht as useMediaQuery, i as LayerTouchTrigger, in as UseGridFocusReturn, ir as useCoarsePointer, it as useMenuPress, j as useResolvedLabelHidden, jn as resolveDatePresentation, jr as compareISODate, jt as UseKeyboardHint, k as UseRestoreFocusOptions, kn as DatePresentation, kr as WeekStartsOn, kt as useLayer, l as StreamingTextSpeed, ln as FileRejection, lr as hasTextSelection, lt as MenuPressEffect, m as ScrollOverflowState, mn as selectFiles, mr as useChatStreamScroll, mt as menuPressStep, n as UseTypeaheadReturn, nn as useGridRovingFocus, nr as UseComboboxOptions, nt as MenuPress, o as UseTouchTriggerReturn, on as FocusTrap, or as INTERACTIVE_SELECTORS, ot as resetMenuPress, p as useSnapPaging, pn as formatFileSize, pr as UseChatStreamScrollReturn, pt as MenuPressStep, q as useNumberField, qn as UseControllableStateOptions, qt as imageModeFromPixels, r as useTypeahead, rn as UseGridFocusOptions, rr as useCombobox, rt as MenuPressOptions, s as useTouchTrigger, sn as UseFocusTrapOptions, sr as UseClickableContainerOptions, st as MENU_PRESS_MARKER, t as UseTypeaheadOptions, tn as UseGridRovingFocusOptions, tr as ComboboxOption, tt as useMergedRefs, u as UseStreamingTextOptions, un as FileSelectionOptions, ur as useClickableContainer, ut as MenuPressEvent, v as ScrollAxis, vn as EntryAnimationPreset, vr as useChatNewMessages, vt as useLongPress, w as ScrollableAreaState, wn as DisclosureHandle, wr as useAnnounce, wt as useLayerTeleportTarget, x as ScrollOverscroll, xn as useEntryAnimation, xr as useAppShellMobile, xt as UseListFocusOptions, y as ScrollAxisState, yn as UseEntryAnimationOptions, yr as AppShellMobile, yt as ListFocus, z as UseOverflowOptions, zn as formatDisplayTime, zt as UseInputContainerOptions } from "../index-BPymttXR.js";
1
+ import { $ as todayISODate, $n as UseContainerRevealOptions, $t as HandleRef, A as useRestoreFocus, An as DatePresentation, Ar as RangeClickResult, At as useLayer, B as useOverflow, Bn as formatDisplayTime, Br as spanDays, Bt as UseInputContainerOptions, C as ScrollStickyContainment, Cn as UseDismissOptions, Cr as AnnounceFn, Ct as useListFocus, D as useScrollableArea, Dn as useDisclosureHandle, Dr as SnapPaging, Dt as LayerMode, E as UseScrollableAreaResult, En as DisclosureHandleRef, Er as AnnouncePoliteness, Et as useResolvedLayerTeleport, F as PendingChange, Fn as ISOTimeString, Fr as isDayOutsideSpan, Ft as InteractiveRole, G as NumberStepDirection, Gn as resolveTimeSurface, Gt as useIndicatorFocusRing, H as ComputeOverflowResult, Hn as isTimeInRange, Ht as IndicatorFocusRingHandlers, I as usePendingChange, In as NativePicker, Ir as isRangeWithinSpan, It as UseInteractiveRoleOptions, J as useNumberField, Jn as UseControllableStateOptions, Jt as imageModeFromPixels, K as UseNumberFieldOptions, Kn as shiftTime, Kt as ImageSampleRegion, L as OverflowInlineBounds, Ln as ParsedTime, Lr as isSameRange, Lt as UseInteractiveRoleReturn, M as UsePressFeedbackOptions, Mn as resolveDatePresentation, Mr as applyRangeClick, Mt as UseKeyboardHint, N as UsePressFeedbackReturn, Nn as resolveDateSurface, Nr as compareISODate, Nt as UseKeyboardHintOptions, O as RestoreFocus, On as devWarn, Or as SnapPagingOptions, Ot as UseLayerOptions, P as usePressFeedback, Pn as HourFormat, Pr as formatDateRange, Pt as useKeyboardHint, Q as toISODate, Qn as UseContainerReveal, Qt as useHotkeys, R as UseOverflowOptions, Rn as TimePresentation, Rr as orderRange, Rt as useInteractiveRole, S as ScrollRole, Sn as useEntryAnimation, Sr as useAppShellMobile, St as UseListFocusOptions, T as UseScrollableAreaOptions, Tn as DisclosureHandle, Tr as useAnnounce, Tt as useLayerTeleportTarget, U as computeOverflow, Un as parseDisplayTime, Ut as UseIndicatorFocusRingOptions, V as ComputeOverflowInput, Vn as formatISOTime, Vt as useInputContainer, W as NumberField, Wn as parseISOTime, Wt as UseIndicatorFocusRingReturn, X as buildMonthGrid, Xn as ContainerRevealOptions, Xt as useImageMode, Y as addMonths, Yn as useControllableState, Yt as perceptualLightness, Z as parseISODate, Zn as ContentRevealOptions, Zt as Hotkey, _ as useScrollLock, _n as FieldControlStateInput, _r as UseChatNewMessagesOptions, _t as LongPressHandlers, a as UseTouchTriggerOptions, an as UseGridFocusReturn, ar as useCoarsePointer, at as useMenuPress, b as ScrollKeyboardAccess, bn as UseEntryAnimationOptions, br as AppShellMobile, bt as ListFocus, c as isActionTrigger, cn as UseFocusTrapOptions, cr as UseClickableContainerOptions, ct as MENU_PRESS_MARKER, d as snapToGraphemeBoundary, dn as FileSelectionOptions, dr as useClickableContainer, dt as MenuPressEvent, en as useHandleRef, er as useContainerReveal, et as MergedRef, f as useStreamingText, fn as FileSelectionResult, fr as ChatScrollToBottomOptions, ft as MenuPressGesture, g as useScrollOverflow, gn as FieldControlState, gr as CHAT_MESSAGE_CLASS, gt as useMediaQuery, h as UseScrollOverflowResult, hn as selectFiles, hr as useChatStreamScroll, ht as menuPressStep, i as LayerTouchTrigger, in as UseGridFocusOptions, ir as useCombobox, it as MenuPressOptions, j as useResolvedLabelHidden, jn as DateSurface, jr as WeekStartsOn, jt as KeyboardHintOrientation, k as UseRestoreFocusOptions, kn as useDevWarning, kr as ISODateRange, kt as UseLayerReturn, l as StreamingTextSpeed, ln as useFocusTrap, lr as hasInteractiveAncestor, lt as MENU_PRESS_SETTLE_MS, m as ScrollOverflowState, mn as formatFileSize, mr as UseChatStreamScrollReturn, mt as MenuPressStep, n as UseTypeaheadReturn, nn as UseGridRovingFocusOptions, nr as ComboboxOption, nt as useMergedRefs, o as UseTouchTriggerReturn, on as useGridFocus, or as ClickableContainerHandlers, ot as isMenuPressActivation, p as useSnapPaging, pn as FileSizeUnits, pr as UseChatStreamScrollOptions, pt as MenuPressPointerType, q as computeSteppedValue, qn as ControllableState, qt as UseImageModeOptions, r as useTypeahead, rn as useGridRovingFocus, rr as UseComboboxOptions, rt as MenuPress, s as useTouchTrigger, sn as FocusTrap, sr as INTERACTIVE_SELECTORS, st as resetMenuPress, t as UseTypeaheadOptions, tn as GridRovingFocus, tr as Combobox, tt as MergedRefHandle, u as UseStreamingTextOptions, un as FileRejection, ur as hasTextSelection, ut as MenuPressEffect, v as ScrollAxis, vn as useFieldControlState, vr as UseChatNewMessagesReturn, vt as LongPressOptions, w as ScrollableAreaState, wn as useDismiss, wr as UseAnnounceOptions, wt as useLayerMountTarget, x as ScrollOverscroll, xn as UseEntryAnimationReturn, xr as appShellMobileKey, xt as ListFocusOrientation, y as ScrollAxisState, yn as EntryAnimationPreset, yr as useChatNewMessages, yt as useLongPress, z as UseOverflowReturn, zn as TimeSurface, zr as resolveWeekStart, zt as InputContainerHandlers } from "../index-Cv0FsOgj.js";
2
2
  import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-aGzrvRkI.js";
3
- import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-ZdT7wKBL.js";
3
+ import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-DeO8fCW_.js";
4
4
  import { t as characterCount } from "../characters-rcDbGt71.js";
5
5
  import { i as useInputStatusIcon, n as UseInputStatusIconOptions, r as UseInputStatusIconReturn, t as InputStatusVariant } from "../useInputStatusIcon-B6m_t8cK.js";
6
- import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as percent, f as useResizable, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-DziUYD5W.js";
7
- export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type SnapPaging, type SnapPagingOptions, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
6
+ import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as percent, f as useResizable, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-CJd4JkbJ.js";
7
+ export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type OverflowInlineBounds, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type SnapPaging, type SnapPagingOptions, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAnnounceOptions, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
@@ -1,44 +1,44 @@
1
1
  import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
2
- import { n as isMenuPressActivation, r as resetMenuPress } from "../strayClick-CY-_ImKv.js";
2
+ import { n as isMenuPressActivation, r as resetMenuPress } from "../strayClick-_QKRT5aH.js";
3
3
  import { t as usePressFeedback } from "../usePressFeedback-Cxu4-mCe.js";
4
4
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
5
- import { t as useDismiss } from "../useDismiss-21Gk7uWk.js";
6
- import { t as useLayer } from "../useLayer-vK4-yRk_.js";
5
+ import { t as useDismiss } from "../useDismiss-Dfb0Ky7T.js";
6
+ import { t as useLayer } from "../useLayer-D34yqEqr.js";
7
7
  import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
8
- import { t as useMediaQuery } from "../useMediaQuery-GMmgp28-.js";
8
+ import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
9
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
10
- import { t as useAnnounce } from "../announce-B210eJVf.js";
10
+ import { t as useAnnounce } from "../announce-GU01Oix2.js";
11
11
  import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
12
12
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
13
- import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
14
- import { t as useClipboard } from "../useClipboard-i4a_x_Io.js";
13
+ import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-BIMKffDA.js";
14
+ import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
15
15
  import { t as useCombobox } from "../useCombobox-D374_pT8.js";
16
- import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "../composables-Bi0Rt0Uj.js";
16
+ import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "../composables-CCsHfpCS.js";
17
17
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
18
18
  import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-CIXoE_8k.js";
19
19
  import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
20
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
21
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
22
22
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
23
- import { t as useFocusTrap } from "../useFocusTrap-BFQ7Goue.js";
23
+ import { t as useFocusTrap } from "../useFocusTrap-BUd-fvUH.js";
24
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
25
- import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-DYlc06-H.js";
25
+ import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-BMlG1oxA.js";
26
26
  import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
27
- import { t as useInputStatusIcon } from "../useInputStatusIcon-Yd0hvw5K.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-lln4Pl9h.js";
28
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
29
29
  import { t as useListFocus } from "../useListFocus-CbHkLT-X.js";
30
- import { a as useLongPress, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, r as menuPressStep, t as useMenuPress } from "../useMenuPress-9vsHzbRX.js";
30
+ import { a as useLongPress, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, r as menuPressStep, t as useMenuPress } from "../useMenuPress-9dOj2hvC.js";
31
31
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
32
32
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-fGHSSrFc.js";
33
33
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
34
- import { n as useOverflow, t as computeOverflow } from "../useOverflow-VrwF5oek.js";
34
+ import { n as computeOverflow, t as useOverflow } from "../useOverflow-GU0pxGaU.js";
35
35
  import { t as usePendingChange } from "../usePendingChange-ib-h8FZK.js";
36
36
  import { t as useResolvedLabelHidden } from "../useResolvedLabelHidden-B2rlWiaI.js";
37
- import { t as useRestoreFocus } from "../useRestoreFocus-BhcXCJwM.js";
38
- import { t as useScrollableArea } from "../useScrollableArea-Bwn75HDg.js";
39
- import { t as useScrollLock } from "../scrollLock-C3aT4-0z.js";
37
+ import { t as useRestoreFocus } from "../useRestoreFocus-Cz_jM_nW.js";
38
+ import { t as useScrollableArea } from "../useScrollableArea-BaHkGWbX.js";
39
+ import { t as useScrollLock } from "../scrollLock-CoVg9lLU.js";
40
40
  import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
41
41
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-_XW9g2V1.js";
42
- import { n as isActionTrigger } from "../useTouchTriggerInternal-CrLW-7kT.js";
43
- import { t as useTypeahead } from "../useTypeahead-CiLt-yEg.js";
42
+ import { n as isActionTrigger } from "../useTouchTriggerInternal-Bs7obOrb.js";
43
+ import { t as useTypeahead } from "../useTypeahead-BrWvmOu9.js";
44
44
  export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
@@ -1,11 +1,11 @@
1
- import { o as pushLayer } from "./layerDepth-I6d28O4d.js";
2
- import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
1
+ import { f as pushLayer } from "./interactionModality-B5dR7nnb.js";
2
+ import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
3
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
4
4
  import { t as _sfc_main$1 } from "./Kbd-CbD993ig.js";
5
5
  import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
6
6
  import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.js";
7
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-CrLW-7kT.js";
8
- import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Bs7obOrb.js";
8
+ import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
9
9
  import "../styles/indicator-focus-ring.css";
10
10
  import "../styles/keyboard-hint.css";
11
11
  //#region src/composables/useContainerReveal.ts
@@ -105,8 +105,16 @@ function isAfterFirstPaint() {
105
105
  */
106
106
  function useEntryAnimation(options = {}) {
107
107
  const preset = options.preset ?? "slideDown";
108
+ if (isHydrating()) return { entryClass: null };
108
109
  return { entryClass: isAfterFirstPaint() ? ENTRY_ANIMATION_CLASSES[preset] : null };
109
110
  }
111
+ /**
112
+ * 当前组件是否在接管服务端渲染的 DOM。Vue 接管时先把已有的 DOM 节点交给组件的 vnode,
113
+ * 再运行 setup;普通挂载时这里还是 null。不在组件里调用时返回 false。
114
+ */
115
+ function isHydrating() {
116
+ return getCurrentInstance()?.vnode.el != null;
117
+ }
110
118
  trackFirstPaint();
111
119
  //#endregion
112
120
  //#region src/composables/useGridFocus.ts
@@ -442,7 +450,19 @@ function useImageMode(src, options = {}) {
442
450
  if (current === request) mode.value = fallback;
443
451
  }
444
452
  }
445
- watch(() => toValue(src), (url) => {
453
+ const sampleKey = computed(() => {
454
+ const { region, threshold } = toValue(options);
455
+ return [
456
+ toValue(src),
457
+ region?.x,
458
+ region?.y,
459
+ region?.width,
460
+ region?.height,
461
+ threshold
462
+ ].join("|");
463
+ });
464
+ watch(sampleKey, () => {
465
+ const url = toValue(src);
446
466
  if (!url) {
447
467
  request += 1;
448
468
  mode.value = toValue(options).fallback ?? null;
@@ -0,0 +1,41 @@
1
+ import { i as trackInteractionModality, t as getInteractionModality } from "./interactionModality-B5dR7nnb.js";
2
+ //#region src/composables/internal/focusReturn.ts
3
+ /**
4
+ * 焦点归还的两个小工具。浮层关闭、把焦点还给触发器时用。
5
+ */
6
+ /**
7
+ * 焦点现在是不是「哪儿都不在」:没有活动元素,或者落在 body / 根元素上。
8
+ *
9
+ * 浮层关闭时只在这种情况下把焦点还给触发器。`popover="auto"` 的点外关闭和指针事件同步发生,
10
+ * 关闭回调跑的时候焦点已经落在用户点的那个地方了,再抢回来就和那一下点击打架。
11
+ * 只有按 Escape、或者点在不可聚焦的空白处,焦点才会掉到 body,这时触发器才该接回来。
12
+ */
13
+ function isFocusDetached(doc = document) {
14
+ const active = doc.activeElement;
15
+ return active == null || active === doc.body || active === doc.documentElement;
16
+ }
17
+ function isTextEntry(element) {
18
+ return element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement || element.isContentEditable;
19
+ }
20
+ /**
21
+ * 程序移动焦点,焦点环跟着上一次的输入走:
22
+ * 上一次是键盘就照常画环,上一次是鼠标或手指就不画。
23
+ *
24
+ * 用鼠标或手指关掉浮层后,焦点回到触发器上,但触发器不会突然亮起一圈焦点环。
25
+ * 文本输入类元素例外:它们本来就要画出「打字会落在这里」,多一次 blur 还可能触发校验,
26
+ * 所以一律直接聚焦。`options` 原样交给 `focus()`,例如 `preventScroll`。
27
+ */
28
+ function focusForLastInput(element, options) {
29
+ trackInteractionModality();
30
+ if (isTextEntry(element) || getInteractionModality() !== "pointer") {
31
+ element.focus(options);
32
+ return;
33
+ }
34
+ if (element.matches(":focus-visible")) element.blur();
35
+ element.focus({
36
+ ...options,
37
+ focusVisible: false
38
+ });
39
+ }
40
+ //#endregion
41
+ export { isFocusDetached as n, focusForLastInput as t };
@@ -100,12 +100,10 @@ interface SegmentedControlContextValue {
100
100
  size: ComputedRef<SegmentedControlSize>;
101
101
  layout: ComputedRef<SegmentedControlLayout>;
102
102
  isDisabled: ComputedRef<boolean>;
103
- /**
104
- * True when the whole control is disabled and has a `disabledMessage`, the
105
- * one case where the selected segment stays in the tab order so the reason
106
- * is reachable by keyboard.
107
- */
103
+ /** True when the whole control is disabled and has a `disabledMessage`. */
108
104
  hasDisabledMessage: ComputedRef<boolean>;
105
+ /** 禁用原因提示的 id,原因同时描述每一个分段;没有原因时为空。 */
106
+ disabledReasonId: ComputedRef<string | undefined>;
109
107
  select: (value: string) => void;
110
108
  }
111
109
  //#endregion
@@ -125,8 +123,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
125
123
  onChange?: ((value: string) => any) | undefined;
126
124
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
127
125
  }>, {
128
- isDisabled: boolean;
129
126
  layout: SegmentedControlLayout;
127
+ isDisabled: boolean;
130
128
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
131
129
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
132
130
  declare const _default$1: typeof __VLS_export$1;
@@ -175,34 +175,34 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
175
175
  blur: () => void | undefined;
176
176
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
177
177
  search: (query: string) => any;
178
- change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
179
178
  click: (event: MouseEvent) => any;
180
179
  focus: (event: FocusEvent) => any;
180
+ change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
181
181
  keydown: (event: KeyboardEvent) => any;
182
182
  openChange: (isOpen: boolean) => any;
183
183
  "update:modelValue": (value: (string | number)[]) => any;
184
184
  }, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
185
185
  onSearch?: ((query: string) => any) | undefined;
186
- onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
187
186
  onClick?: ((event: MouseEvent) => any) | undefined;
188
187
  onFocus?: ((event: FocusEvent) => any) | undefined;
188
+ onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
189
189
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
190
190
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
191
191
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
192
192
  }>, {
193
193
  required: boolean;
194
- status: MultiSelectorStatus;
195
194
  isLoading: boolean;
196
195
  variant: MultiSelectorVariant;
196
+ status: MultiSelectorStatus;
197
197
  modelValue: readonly (string | number)[];
198
198
  statusVariant: MultiSelectorStatusVariant;
199
+ labelHidden: boolean;
199
200
  disabled: boolean;
200
- isReadOnly: boolean;
201
201
  clearable: boolean;
202
- presentation: MultiSelectorPresentation;
203
- labelHidden: boolean;
204
202
  hasCreate: boolean;
205
203
  optional: boolean;
204
+ presentation: MultiSelectorPresentation;
205
+ isReadOnly: boolean;
206
206
  searchable: boolean;
207
207
  selectAll: boolean;
208
208
  triggerDisplay: MultiSelectorTriggerDisplay;