@astryx-vue/core 0.24.0 → 0.26.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 (352) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-DXOTr1D7.js → AlertDialog-Sku86l_R.js} +194 -8
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-Cmu6bMY6.js → AppShell-CJWvaqgZ.js} +5 -5
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-dMcn3j8Z.js → Avatar-C5KaulzE.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-BUXjzekw.js → AvatarGroup-DT5RbxDa.js} +1 -1
  10. package/dist/Badge/index.d.ts +1 -2
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-CTY9qV89.js → Banner-cg2nXT_4.js} +1 -1
  14. package/dist/BottomSheet/index.d.ts +1 -1
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-DyJJtZZU.js → BottomSheet-BtuF3uH6.js} +114 -11
  17. package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-DKrJyrhw.js} +1 -1
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-Nv-089W0.js → Breadcrumbs-Cvzwy6sZ.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.js} +2 -2
  26. package/dist/Calendar/index.d.ts +1 -1
  27. package/dist/Carousel/index.d.ts +1 -1
  28. package/dist/Carousel/index.js +1 -1
  29. package/dist/{Carousel-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
  30. package/dist/Chat/index.d.ts +1 -1
  31. package/dist/Chat/index.js +1 -1
  32. package/dist/{Chat-DqYT_S9M.js → Chat-BIHEfSec.js} +205 -43
  33. package/dist/CheckboxInput/index.d.ts +1 -1
  34. package/dist/CheckboxInput/index.js +1 -1
  35. package/dist/{CheckboxInput-FKfsoLcl.js → CheckboxInput-wmX3Ekj-.js} +7 -7
  36. package/dist/CheckboxList/index.d.ts +1 -1
  37. package/dist/CheckboxList/index.js +1 -1
  38. package/dist/{CheckboxList-DuSVBtMk.js → CheckboxList-JWXHHU-u.js} +6 -6
  39. package/dist/ClickableCard/index.d.ts +1 -1
  40. package/dist/ClickableCard/index.js +1 -1
  41. package/dist/{ClickableCard-dNmSVHBu.js → ClickableCard-CwGxO0GU.js} +1 -1
  42. package/dist/Code/index.js +1 -1
  43. package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
  44. package/dist/Collapsible/index.js +1 -1
  45. package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BDCJRfFN.js} +3 -3
  46. package/dist/CommandPalette/index.js +1 -1
  47. package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-CJyQd7P-.js} +2 -2
  48. package/dist/ComplexSelector/index.d.ts +1 -1
  49. package/dist/ComplexSelector/index.js +1 -1
  50. package/dist/{ComplexSelector-C4CO8Fd2.js → ComplexSelector-DIb8LjYJ.js} +4 -4
  51. package/dist/ContextMenu/index.d.ts +1 -1
  52. package/dist/ContextMenu/index.js +2 -2
  53. package/dist/{ContextMenu-SzsWZf18.js → ContextMenu-HLvsROcS.js} +13 -26
  54. package/dist/DateInput/index.d.ts +1 -1
  55. package/dist/DateInput/index.js +1 -1
  56. package/dist/{DateInput-D9Jv70H7.js → DateInput-D5YBijbb.js} +14 -33
  57. package/dist/DateRangeInput/index.d.ts +1 -1
  58. package/dist/DateRangeInput/index.js +1 -1
  59. package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-BlcHsqgx.js} +6 -6
  60. package/dist/DateTimeInput/index.d.ts +1 -1
  61. package/dist/DateTimeInput/index.js +1 -1
  62. package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-Bx3LWb9Y.js} +7 -7
  63. package/dist/Dialog/index.js +3 -3
  64. package/dist/{Dialog-DUlWQH8R.js → Dialog-CNLEL4Mf.js} +1 -1
  65. package/dist/{Dialog-JCB5s-T-.js → Dialog-CxeXQTqH.js} +10 -0
  66. package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CjXS_wba.js} +2 -2
  67. package/dist/Divider/index.d.ts +1 -1
  68. package/dist/Drawer/index.d.ts +1 -1
  69. package/dist/Drawer/index.js +1 -1
  70. package/dist/{Drawer-BDuiw1-g.js → Drawer-B_4HN6v5.js} +2 -2
  71. package/dist/DropdownMenu/index.js +3 -3
  72. package/dist/{DropdownMenu-Der2x_k_.js → DropdownMenu-CvdeExRQ.js} +5 -5
  73. package/dist/{DropdownMenu-BhxKnh6D.js → DropdownMenu-D_fBzKvf.js} +52 -23
  74. package/dist/EmptyState/index.js +1 -1
  75. package/dist/{EmptyState-CnFkYtcS.js → EmptyState-DUaFClsX.js} +4 -50
  76. package/dist/Field/index.d.ts +3 -3
  77. package/dist/Field/index.js +3 -3
  78. package/dist/{Field-D4UmRHlD.js → Field-Btyrw1hd.js} +2 -2
  79. package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
  80. package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-B4l3sS4O.js} +3 -3
  81. package/dist/FieldStatus/index.d.ts +1 -1
  82. package/dist/FileInput/index.d.ts +1 -1
  83. package/dist/FileInput/index.js +1 -1
  84. package/dist/{FileInput-8oYiJsq_.js → FileInput-BUwV9fQa.js} +135 -85
  85. package/dist/FormLayout/index.js +1 -1
  86. package/dist/{FormLayout-CGJVeNsL.js → FormLayout-0_X9o-L4.js} +1 -1
  87. package/dist/Heading/index.d.ts +1 -1
  88. package/dist/Heading/index.js +1 -1
  89. package/dist/{Heading-COtyAhtB.js → Heading-BuZaxfIK.js} +1 -1
  90. package/dist/HoverCard/index.d.ts +1 -1
  91. package/dist/HoverCard/index.js +1 -1
  92. package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
  93. package/dist/IconButton/index.js +1 -1
  94. package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
  95. package/dist/Indicator/index.d.ts +2 -2
  96. package/dist/InfoTip/index.d.ts +1 -1
  97. package/dist/InfoTip/index.js +1 -1
  98. package/dist/{InfoTip-CNZateDb.js → InfoTip-BDo2xI8h.js} +2 -2
  99. package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
  100. package/dist/InputGroup/index.d.ts +1 -1
  101. package/dist/InputGroup/index.js +1 -1
  102. package/dist/{InputGroup-CfUGHDNz.js → InputGroup-1Ukiu-dg.js} +6 -6
  103. package/dist/InternationalizationProvider/index.d.ts +1 -1
  104. package/dist/InternationalizationProvider/index.js +1 -1
  105. package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-B2Gv5yAm.js} +1 -1
  106. package/dist/{Item-DyaYlbyE.js → Item-DUI1Qnnd.js} +1 -1
  107. package/dist/Lightbox/index.js +1 -1
  108. package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
  109. package/dist/Link/index.d.ts +1 -1
  110. package/dist/Link/index.js +1 -1
  111. package/dist/{Link-B7OJQ0zl.js → Link-ruNSnGtC.js} +2 -2
  112. package/dist/List/index.d.ts +1 -1
  113. package/dist/List/index.js +2 -2
  114. package/dist/{ListItem-gj_lOvEt.js → ListItem-C8SqSrU6.js} +1 -1
  115. package/dist/Markdown/index.js +1 -1
  116. package/dist/{Markdown-Cbj-nqhN.js → Markdown-C-KT_riK.js} +3 -3
  117. package/dist/MobileNav/index.js +1 -1
  118. package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-BGNYwwfI.js} +12 -0
  119. package/dist/MoreMenu/index.d.ts +1 -1
  120. package/dist/MoreMenu/index.js +1 -1
  121. package/dist/{MoreMenu-Dokwc4Mg.js → MoreMenu-DnwzVBEE.js} +17 -31
  122. package/dist/MultiSelector/index.d.ts +1 -1
  123. package/dist/MultiSelector/index.js +1 -1
  124. package/dist/{MultiSelector-CId8-qAX.js → MultiSelector-Cl_HzKvn.js} +25 -26
  125. package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
  126. package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
  127. package/dist/NavItem/index.d.ts +1 -1
  128. package/dist/NavItem/index.js +1 -1
  129. package/dist/{NavItem-_eIEwV41.js → NavItem-c1ScHEJY.js} +1 -1
  130. package/dist/NavMenu/index.js +3 -3
  131. package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-pCZjhMHe.js} +2 -2
  132. package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BIqpJmH6.js} +3 -3
  133. package/dist/NumberInput/index.d.ts +2 -2
  134. package/dist/NumberInput/index.js +1 -1
  135. package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-Dz0H_XPw.js} +386 -99
  136. package/dist/Outline/index.js +1 -1
  137. package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
  138. package/dist/OverflowList/index.d.ts +1 -1
  139. package/dist/OverflowList/index.js +1 -1
  140. package/dist/{OverflowList-CumJl6X_.js → OverflowList-MCN1PhBB.js} +2 -2
  141. package/dist/Overlay/index.d.ts +1 -1
  142. package/dist/Pagination/index.d.ts +1 -1
  143. package/dist/Pagination/index.js +1 -1
  144. package/dist/{Pagination-C0Bx80Tu.js → Pagination-Cq9BIzPe.js} +59 -48
  145. package/dist/Popover/index.d.ts +3 -3
  146. package/dist/Popover/index.js +1 -1
  147. package/dist/Popover-BJAyg1Qh.js +1247 -0
  148. package/dist/PowerSearch/index.js +1 -1
  149. package/dist/{PowerSearch-Dq6Gi9z1.js → PowerSearch-wXnusKnz.js} +19 -19
  150. package/dist/ProgressBar/index.d.ts +1 -1
  151. package/dist/ProgressBar/index.js +1 -1
  152. package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-C6x0E-BF.js} +1 -1
  153. package/dist/Radio/index.d.ts +1 -1
  154. package/dist/Radio/index.js +1 -1
  155. package/dist/{RadioGroup-IKBXLzYU.js → RadioGroup-LUDji_LA.js} +7 -7
  156. package/dist/RadioList/index.d.ts +1 -1
  157. package/dist/RadioList/index.js +1 -1
  158. package/dist/{RadioList-NW4fGKgm.js → RadioList-CmeUUgn-.js} +1 -1
  159. package/dist/Resizable/index.d.ts +1 -1
  160. package/dist/ScrollableArea/index.d.ts +1 -1
  161. package/dist/SegmentedControl/index.js +1 -1
  162. package/dist/{SegmentedControl-DRxcUlVP.js → SegmentedControl-BkWz-I2J.js} +2 -2
  163. package/dist/SelectableCard/index.d.ts +1 -1
  164. package/dist/SelectableCard/index.js +1 -1
  165. package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
  166. package/dist/Selector/index.d.ts +1 -1
  167. package/dist/Selector/index.js +1 -1
  168. package/dist/{Selector-BW_oxWDM.js → Selector-BL_JH51H.js} +30 -25
  169. package/dist/SideNav/index.d.ts +1 -1
  170. package/dist/SideNav/index.js +2 -2
  171. package/dist/{SideNav-B5mMRj98.js → SideNav-DtAQA-o-.js} +9 -9
  172. package/dist/Slider/index.d.ts +1 -1
  173. package/dist/Slider/index.js +1 -1
  174. package/dist/{Slider-oD3AY4jh.js → Slider-DEMdW9An.js} +4 -4
  175. package/dist/StatusDot/index.js +1 -1
  176. package/dist/{StatusDot-B3oOyRF7.js → StatusDot-_rucEf3d.js} +1 -1
  177. package/dist/Stepper/index.d.ts +1 -1
  178. package/dist/Stepper/index.js +1 -1
  179. package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
  180. package/dist/Switch/index.d.ts +1 -1
  181. package/dist/Switch/index.js +1 -1
  182. package/dist/{Switch-DG_A9cD0.js → Switch-BxRYZTQV.js} +6 -6
  183. package/dist/TabList/index.d.ts +1 -1
  184. package/dist/TabList/index.js +1 -1
  185. package/dist/{TabList-FkoypUk0.js → TabList-D8KzfcGB.js} +3 -3
  186. package/dist/Table/index.d.ts +1 -1
  187. package/dist/Table/index.js +1 -1
  188. package/dist/{Table-zNW23VwP.js → Table-DYDBgr3y.js} +15 -15
  189. package/dist/Text/index.d.ts +1 -1
  190. package/dist/Text/index.js +1 -1
  191. package/dist/{Text-v1ep26uD.js → Text-CHauN5So.js} +1 -1
  192. package/dist/TextArea/index.d.ts +1 -1
  193. package/dist/TextArea/index.js +1 -1
  194. package/dist/{TextArea-BilHnmSs.js → TextArea-BJl6YH4p.js} +56 -22
  195. package/dist/TextInput/index.d.ts +1 -1
  196. package/dist/TextInput/index.js +1 -1
  197. package/dist/{TextInput-D6tHM2sA.js → TextInput-CGOVY0Zk.js} +78 -34
  198. package/dist/Theme/index.d.ts +2 -2
  199. package/dist/Thumbnail/index.js +1 -1
  200. package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-C3MvJ67s.js} +3 -3
  201. package/dist/{TimeField-C5rcoaVu.js → TimeField-C2of7Ok5.js} +14 -33
  202. package/dist/TimeInput/index.d.ts +1 -1
  203. package/dist/TimeInput/index.js +1 -1
  204. package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B_YY-IHW.js} +3 -3
  205. package/dist/Timer/index.d.ts +1 -1
  206. package/dist/Timer/index.js +1 -1
  207. package/dist/{Timer-65PfuoQ7.js → Timer-OULaFQFf.js} +1 -1
  208. package/dist/Timestamp/index.d.ts +1 -1
  209. package/dist/Timestamp/index.js +1 -1
  210. package/dist/{Timestamp-rYC8mE3r.js → Timestamp-B6J0nfYH.js} +3 -3
  211. package/dist/Toast/index.js +1 -1
  212. package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
  213. package/dist/ToggleButton/index.d.ts +1 -1
  214. package/dist/ToggleButton/index.js +1 -1
  215. package/dist/{ToggleButton-Bnn_MiOn.js → ToggleButton-DfpsuhMa.js} +3 -3
  216. package/dist/Token/index.js +1 -1
  217. package/dist/{Token-B-j3AKxB.js → Token-C7Dt5ygK.js} +1 -1
  218. package/dist/Tokenizer/index.d.ts +1 -1
  219. package/dist/Tokenizer/index.js +1 -1
  220. package/dist/{Tokenizer-Cpdy_L00.js → Tokenizer-CSmIMDc4.js} +6 -6
  221. package/dist/Toolbar/index.d.ts +1 -1
  222. package/dist/Tooltip/index.d.ts +1 -1
  223. package/dist/Tooltip/index.js +2 -2
  224. package/dist/{Tooltip-CByjfHBZ.js → Tooltip-gT9_hIEv.js} +1 -1
  225. package/dist/TopNav/index.d.ts +1 -1
  226. package/dist/TopNav/index.js +1 -1
  227. package/dist/{TopNav-q8xDVlM_.js → TopNav-BsrhSbkn.js} +5 -5
  228. package/dist/TreeList/index.d.ts +1 -1
  229. package/dist/TreeList/index.js +1 -1
  230. package/dist/{TreeList-CEGInQtF.js → TreeList-BEPHdVYu.js} +3 -3
  231. package/dist/Typeahead/index.d.ts +2 -2
  232. package/dist/Typeahead/index.js +2 -2
  233. package/dist/{Typeahead-C-PdRnRQ.js → Typeahead-CdLc7S2v.js} +7 -7
  234. package/dist/{types-fRasDCe4.d.ts → adaptationTypes-Cn_pfrsw.d.ts} +155 -155
  235. package/dist/animator-BooLoGyI.js +3164 -0
  236. package/dist/announceRenderedText-CslZ0cev.js +50 -0
  237. package/dist/{assertOptions-og3t30Fh.js → assertOptions-CFn7Gdcr.js} +22 -2
  238. package/dist/{batch-oTkSbtVz.js → batch-CM-vJhQg.js} +3 -279
  239. package/dist/{handle-CSHfxBie.js → bezier-Cts7gENO.js} +3 -22
  240. package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
  241. package/dist/coarsePointer-BfMx3H23.js +86 -0
  242. package/dist/composables/index.d.ts +2 -2
  243. package/dist/composables/index.js +7 -7
  244. package/dist/{composables-COCeg92e.js → composables-D9DVeNnL.js} +10 -3271
  245. package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
  246. package/dist/context-DH8E-qjm.js +173 -0
  247. package/dist/{edge-3sC8-cbB.js → edge-BYXwSggM.js} +1 -1
  248. package/dist/{edgeRide-DOxmVxTM.js → edgeRide-B5mlN2Q4.js} +4 -4
  249. package/dist/escape-DzSxSmez.js +10 -0
  250. package/dist/{field-CehUqCe0.js → field-BaUBjqf5.js} +4 -2
  251. package/dist/{fieldParts-CbWvZLhH.js → fieldParts-CuE5V12i.js} +1 -1
  252. package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
  253. package/dist/handle-BazRxHwq.js +22 -0
  254. package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
  255. package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
  256. package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
  257. package/dist/{index-_FjbcSgD.d.ts → index-7Q-wnbe7.d.ts} +1 -1
  258. package/dist/{index-Q1oG9yIT.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  259. package/dist/{index-HULXozsK.d.ts → index-B3uBbehw.d.ts} +8 -8
  260. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  261. package/dist/{index-CnVjgLP5.d.ts → index-BCW6qCcS.d.ts} +1 -1
  262. package/dist/{index-QnlWyUxN.d.ts → index-BFGtLIp8.d.ts} +2 -2
  263. package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
  264. package/dist/{index-BWcZ-L80.d.ts → index-BcRvRqWU.d.ts} +1 -1
  265. package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
  266. package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
  267. package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
  268. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  269. package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
  270. package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
  271. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  272. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  273. package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
  274. package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  275. package/dist/{index-lmd9LZKB.d.ts → index-ClJINYPl.d.ts} +5 -2
  276. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  277. package/dist/index-CuFLztiI.d.ts +49 -0
  278. package/dist/{index-BOCb89V9.d.ts → index-DFLPv9io.d.ts} +2 -2
  279. package/dist/index-DHUCHxn2.d.ts +69 -0
  280. package/dist/{index-85RFPeV0.d.ts → index-DHsYyqMP.d.ts} +5 -5
  281. package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
  282. package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
  283. package/dist/{index-DRDOArzq.d.ts → index-DSEEgvak.d.ts} +1152 -214
  284. package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
  285. package/dist/{index-etx25Eq-.d.ts → index-NOxH5oYj.d.ts} +1 -1
  286. package/dist/{index-CH-xSiJz.d.ts → index-XY0rleGM.d.ts} +2 -2
  287. package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
  288. package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
  289. package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
  290. package/dist/index.d.ts +43 -44
  291. package/dist/index.js +101 -101
  292. package/dist/inputHold-BmChuR9x.js +525 -0
  293. package/dist/inputHoldState-pblUT4oh.js +39 -0
  294. package/dist/inputStream-LZdK8luP.js +239 -0
  295. package/dist/{landing-DFC97kl9.js → landing-B9Uvex6x.js} +3 -2
  296. package/dist/lazyBottomSheet-CL_PrTxb.js +16 -0
  297. package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-2Hu-xisJ.d.ts} +2 -0
  298. package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-umh_C97k.js} +2 -1
  299. package/dist/locale/index.d.ts +2 -2
  300. package/dist/locale/index.js +3 -3
  301. package/dist/{locale-B4FpGKpc.js → locale-BDPlcO62.js} +1 -1
  302. package/dist/presentationHold-7IkbR4d8.js +118 -0
  303. package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
  304. package/dist/progress-FQfSgLZC.js +38 -0
  305. package/dist/renderedText-BwJdmps3.js +32 -0
  306. package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
  307. package/dist/textEntryTraits-cb0LZSNl.js +11 -0
  308. package/dist/themeTiming-CWEvdh31.js +287 -0
  309. package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
  310. package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
  311. package/dist/touchHold-CFJlSClt.js +30 -0
  312. package/dist/{context-DQPBIsl5.js → transientCopy-VAsg2a46.js} +1 -172
  313. package/dist/{types-OGMYGejX.d.ts → types-BA1veIoa.d.ts} +25 -2
  314. package/dist/{types-bAQk3F8G.d.ts → types-Cvh2VwQZ.d.ts} +4 -2
  315. package/dist/{types-C1ydeFiu.d.ts → types-DL-hRibg.d.ts} +1 -1
  316. package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
  317. package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
  318. package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
  319. package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
  320. package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
  321. package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
  322. package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
  323. package/dist/{useMenuDrillIn-CQrzwZvx.js → useMenuDrillIn-CP0P49ej.js} +9 -8
  324. package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-Di_3jhOx.js} +5 -3
  325. package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
  326. package/dist/{useTooltip-BwqzEtoF.js → useTooltip-BpBMQ815.js} +4 -34
  327. package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
  328. package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-t5G978XB.js} +3 -3
  329. package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
  330. package/package.json +1 -1
  331. package/styles/alert-dialog.css +5 -0
  332. package/styles/chat.css +45 -17
  333. package/styles/context-menu.css +17 -73
  334. package/styles/dialog.css +18 -1
  335. package/styles/dropdown-menu.css +47 -38
  336. package/styles/file-input.css +8 -1
  337. package/styles/hover-card.css +13 -72
  338. package/styles/input-group.css +0 -15
  339. package/styles/layer.css +68 -0
  340. package/styles/multi-selector.css +17 -30
  341. package/styles/number-input.css +49 -4
  342. package/styles/pagination.css +0 -22
  343. package/styles/popover.css +26 -72
  344. package/styles/selector.css +17 -30
  345. package/styles/text-area.css +16 -1
  346. package/styles/text-input.css +26 -5
  347. package/styles/tooltip.css +12 -71
  348. package/styles/typeahead.css +17 -30
  349. package/dist/Popover-DpR4rwiW.js +0 -374
  350. package/dist/index-B9WzWqzk.d.ts +0 -18
  351. package/dist/index-CyMStZq4.d.ts +0 -957
  352. package/dist/types-DIYwbkpe.d.ts +0 -33
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-DXOTr1D7.js";
1
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-Sku86l_R.js";
2
2
  export { _sfc_main as AlertDialog, useImperativeAlertDialog };
@@ -1,18 +1,196 @@
1
- import { a as pressGroupItemProps } from "./useTouchHitArea-BMDBe36j.js";
2
- import { t as useActionGroupTracking } from "./useActionGroupTracking-PVBCtLUE.js";
3
- import { t as _sfc_main$1 } from "./Button-TiYG0btL.js";
1
+ import { a as pressGroupItemProps } from "./useTouchHitArea-CNZyA18Y.js";
2
+ import { t as createMotionEngine } from "./animator-BooLoGyI.js";
3
+ import { t as useActionGroupTracking } from "./useActionGroupTracking-C6BzQzvp.js";
4
+ import { t as _sfc_main$1 } from "./Button-D8AGK5oT.js";
4
5
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
5
6
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
6
- import { t as _sfc_main$2 } from "./Dialog-JCB5s-T-.js";
7
- import { t as _sfc_main$3 } from "./Heading-COtyAhtB.js";
7
+ import { n as readThemeTimingOrInstant } from "./themeTiming-CWEvdh31.js";
8
+ import { t as holdInput } from "./inputHold-BmChuR9x.js";
9
+ import { t as _sfc_main$2 } from "./Dialog-CxeXQTqH.js";
10
+ import { t as _sfc_main$3 } from "./Heading-BuZaxfIK.js";
8
11
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
9
12
  import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
10
- import { t as _sfc_main$5 } from "./Text-v1ep26uD.js";
11
- import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
13
+ import { t as _sfc_main$5 } from "./Text-CHauN5So.js";
14
+ import { n as mapRange, t as mapProgress } from "./progress-FQfSgLZC.js";
15
+ import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, watch, withCtx } from "vue";
12
16
  import "../styles/alert-dialog.css";
13
17
  //#region src/AlertDialog/context.ts
14
18
  const ALERT_DIALOG_CONTEXT_KEY = Symbol("astryx-alert-dialog");
15
19
  //#endregion
20
+ //#region src/AlertDialog/useAlertMotion.ts
21
+ /** 进场用主题的进场曲线,时长取最接近 UIKit 实测 404ms 弹窗呈现的一档。轻点没有速度,不放弹簧。 */
22
+ const ALERT_ENTRANCE_TOKENS = {
23
+ duration: "--duration-medium-max",
24
+ easing: "--ease-entrance"
25
+ };
26
+ /** 退场用所有浮层共用的退场时长和曲线。 */
27
+ const ALERT_EXIT_TOKENS = {
28
+ duration: "--duration-exit",
29
+ easing: "--ease-exit"
30
+ };
31
+ /** iOS 的弹窗从 1.2 倍大小开始。 */
32
+ const PRESENT_SCALE_FROM = 1.2;
33
+ /** 错过退场结束通知的对话框,在退场时长之后再过这么久也会关闭。 */
34
+ const EXIT_BACKSTOP_MS = 100;
35
+ /** 1.2 倍的起点,但不比视口宽:宽弹窗不会从屏幕边缘外开始。打开时读一次布局。 */
36
+ function presentScaleFrom(element) {
37
+ const width = element?.offsetWidth ?? 0;
38
+ const viewport = element?.ownerDocument.documentElement.clientWidth ?? 0;
39
+ return width > 0 && viewport > 0 ? Math.max(1, Math.min(PRESENT_SCALE_FROM, viewport / width)) : PRESENT_SCALE_FROM;
40
+ }
41
+ function between(progress, from, to) {
42
+ return mapProgress(progress, mapRange([0, 1], [from, to], { clamp: false }));
43
+ }
44
+ /** 弹窗和遮罩从屏幕上的样子淡到 `opacity`;还在动的缩放保留自己的曲线。 */
45
+ function fadeFromHere({ panel, backdrop }, opacity, progress) {
46
+ backdrop.play({ opacity: between(progress, backdrop.get("opacity"), opacity) });
47
+ return panel.play({ opacity: between(progress, panel.get("opacity"), opacity) });
48
+ }
49
+ function useAlertMotion({ isOpen, isEnabled, element }) {
50
+ const isLeaving = shallowRef(false);
51
+ watch(isOpen, (open) => {
52
+ isLeaving.value = !open && isEnabled();
53
+ }, { flush: "sync" });
54
+ const isPresented = computed(() => isOpen() || isLeaving.value);
55
+ const isDriving = computed(() => isEnabled());
56
+ let engines = null;
57
+ const attachEngines = (target) => {
58
+ engines ??= {
59
+ panel: createMotionEngine(null),
60
+ backdrop: createMotionEngine(null, {
61
+ pseudoElement: "::backdrop",
62
+ base: { opacity: 1 }
63
+ })
64
+ };
65
+ if (engines.panel.element !== target) {
66
+ engines.panel.attach(target);
67
+ engines.backdrop.attach(target);
68
+ }
69
+ return engines;
70
+ };
71
+ watch([isDriving, element], ([driving, target]) => {
72
+ if (driving) {
73
+ attachEngines(target);
74
+ return;
75
+ }
76
+ if (engines == null) return;
77
+ if (engines.panel.element != null) {
78
+ engines.panel.set({
79
+ opacity: 1,
80
+ scale: 1
81
+ });
82
+ engines.backdrop.set({ opacity: 1 });
83
+ }
84
+ engines.panel.attach(null);
85
+ engines.backdrop.attach(null);
86
+ }, { flush: "post" });
87
+ let status = "hidden";
88
+ let exit = null;
89
+ let exitMs = 0;
90
+ let backstop = null;
91
+ let releaseHold = null;
92
+ let blurredByDismissal = null;
93
+ let isUnmounted = false;
94
+ const hold = (target, until, scope) => {
95
+ releaseHold?.();
96
+ releaseHold = target == null ? null : holdInput(target, {
97
+ until,
98
+ scope
99
+ });
100
+ };
101
+ const clearBackstop = () => {
102
+ if (backstop != null) clearTimeout(backstop);
103
+ backstop = null;
104
+ };
105
+ const finishExit = () => {
106
+ exit = null;
107
+ clearBackstop();
108
+ isLeaving.value = false;
109
+ };
110
+ const enterFromHidden = ({ panel, backdrop }, target) => {
111
+ const scaleFrom = presentScaleFrom(target);
112
+ panel.set({
113
+ opacity: 0,
114
+ scale: scaleFrom
115
+ });
116
+ backdrop.set({ opacity: 0 });
117
+ const progress = readThemeTimingOrInstant(target, ALERT_ENTRANCE_TOKENS);
118
+ const handle = panel.play({
119
+ opacity: between(progress, 0, 1),
120
+ scale: between(progress, scaleFrom, 1)
121
+ });
122
+ backdrop.play({ opacity: between(progress, 0, 1) });
123
+ hold(target, handle.finished, "viewport");
124
+ };
125
+ const reopen = (attached, target) => {
126
+ exit = null;
127
+ clearBackstop();
128
+ const handle = fadeFromHere(attached, 1, readThemeTimingOrInstant(target, ALERT_ENTRANCE_TOKENS));
129
+ hold(target, handle.finished, "viewport");
130
+ const blurred = blurredByDismissal;
131
+ blurredByDismissal = null;
132
+ const doc = target?.ownerDocument;
133
+ if (blurred?.isConnected === true && doc != null && (doc.activeElement == null || doc.activeElement === doc.body)) blurred.focus({ preventScroll: true });
134
+ };
135
+ const leave = (attached, target) => {
136
+ const progress = readThemeTimingOrInstant(target, ALERT_EXIT_TOKENS);
137
+ exitMs = progress.duration * 1e3;
138
+ const handle = fadeFromHere(attached, 0, progress);
139
+ const focused = target?.ownerDocument.activeElement;
140
+ blurredByDismissal = focused instanceof HTMLElement && focused !== target && target?.contains(focused) === true ? focused : null;
141
+ hold(target, handle.finished, "layer");
142
+ exit = handle;
143
+ handle.finished.then((isDone) => {
144
+ if (isDone && exit === handle) finishExit();
145
+ });
146
+ clearBackstop();
147
+ backstop = setTimeout(() => {
148
+ if (exit === handle || exit == null) finishExit();
149
+ }, exitMs + EXIT_BACKSTOP_MS);
150
+ };
151
+ const sync = () => {
152
+ if (isUnmounted) return;
153
+ const was = status;
154
+ const now = !isPresented.value ? "hidden" : isOpen() ? "open" : "leaving";
155
+ status = now;
156
+ if (!isEnabled() || was === now) return;
157
+ const target = element();
158
+ const attached = attachEngines(target);
159
+ if (now === "open" && was === "hidden") {
160
+ enterFromHidden(attached, target);
161
+ return;
162
+ }
163
+ if (now === "open") {
164
+ reopen(attached, target);
165
+ return;
166
+ }
167
+ if (now === "leaving") {
168
+ leave(attached, target);
169
+ return;
170
+ }
171
+ exit = null;
172
+ blurredByDismissal = null;
173
+ releaseHold?.();
174
+ releaseHold = null;
175
+ };
176
+ watch([isOpen, isPresented], () => {
177
+ nextTick(sync);
178
+ }, { flush: "post" });
179
+ onMounted(sync);
180
+ onBeforeUnmount(() => {
181
+ isUnmounted = true;
182
+ clearBackstop();
183
+ releaseHold?.();
184
+ releaseHold = null;
185
+ engines?.panel.dispose();
186
+ engines?.backdrop.dispose();
187
+ });
188
+ return {
189
+ isPresented,
190
+ isDriving
191
+ };
192
+ }
193
+ //#endregion
16
194
  //#region src/AlertDialog/AlertDialog.vue
17
195
  const _hoisted_1 = {
18
196
  ref: "content",
@@ -109,6 +287,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
109
287
  const tracksPress = useCoarsePointer();
110
288
  useActionGroupTracking(footer, { isEnabled: tracksPress });
111
289
  const actionTrackingProps = computed(() => tracksPress.value ? pressGroupItemProps() : void 0);
290
+ const motion = useAlertMotion({
291
+ isOpen: () => props.isOpen,
292
+ isEnabled: () => tracksPress.value && !props.isInline,
293
+ element: () => element.value
294
+ });
295
+ const isPresented = motion.isPresented;
112
296
  const dialogRole = computed(() => props.isInline ? "group" : "alertdialog");
113
297
  const layout = computed(() => isSmallScreen.value ? "stacked" : "row");
114
298
  return (_ctx, _cache) => {
@@ -121,7 +305,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
121
305
  "aria-labelledby": titleId,
122
306
  "data-layout": layout.value,
123
307
  "is-inline": __props.isInline,
124
- "is-open": __props.isOpen,
308
+ "is-open": unref(isPresented),
309
+ "data-touch-motion": unref(motion).isDriving.value || void 0,
125
310
  purpose: "form",
126
311
  role: dialogRole.value,
127
312
  width: width.value,
@@ -183,6 +368,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
183
368
  "data-layout",
184
369
  "is-inline",
185
370
  "is-open",
371
+ "data-touch-motion",
186
372
  "role",
187
373
  "width"
188
374
  ]);
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../AppShell-Cmu6bMY6.js";
1
+ import { t as _sfc_main } from "../AppShell-CJWvaqgZ.js";
2
2
  export { _sfc_main as AppShell };
@@ -1,8 +1,8 @@
1
1
  import { n as themeContextKey } from "./context-Cws_tXTr.js";
2
- import { n as createAnimatedLayout } from "./handle-CSHfxBie.js";
3
- import { g as layoutStartFor } from "./batch-oTkSbtVz.js";
4
- import { c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, r as sideNavRenderModeKey, u as playLayoutSwap } from "./context-DQPBIsl5.js";
5
- import { i as reportLayoutChange, n as landLayoutGlide, r as layoutMotionFor } from "./landing-DFC97kl9.js";
2
+ import { g as layoutStartFor } from "./batch-CM-vJhQg.js";
3
+ import { n as createAnimatedLayout } from "./handle-BazRxHwq.js";
4
+ import { c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, r as sideNavRenderModeKey, u as playLayoutSwap } from "./context-DH8E-qjm.js";
5
+ import { i as reportLayoutChange, n as landLayoutGlide, r as layoutMotionFor } from "./landing-B9Uvex6x.js";
6
6
  import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
7
7
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
8
8
  import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
@@ -11,7 +11,7 @@ import { n as observeMainOverflow } from "./useScrollRegionProps-DwkPUb-O.js";
11
11
  import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-C7Wsid2W.js";
12
12
  import { t as layoutMessages } from "./layout-DhX4-SyE.js";
13
13
  import { t as navMessages } from "./nav-DpKQUHqR.js";
14
- import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-BlcdCg8M.js";
14
+ import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-BGNYwwfI.js";
15
15
  import { t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
16
16
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, shallowReactive, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
17
17
  import "../styles/app-shell.css";
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-dMcn3j8Z.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-C5KaulzE.js";
2
2
  export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
@@ -4,7 +4,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
5
  import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
6
6
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
7
- import { t as _sfc_main$2 } from "./Tooltip-CByjfHBZ.js";
7
+ import { t as _sfc_main$2 } from "./Tooltip-gT9_hIEv.js";
8
8
  import { t as navMessages } from "./nav-DpKQUHqR.js";
9
9
  import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-BTkg5Ie9.js";
10
10
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-DRDOArzq.js";
1
+ import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-DSEEgvak.js";
2
2
  export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-BUXjzekw.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-DT5RbxDa.js";
2
2
  export { _sfc_main as AvatarGroup, _sfc_main$1 as AvatarGroupOverflow };
@@ -1,4 +1,4 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
2
2
  import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
3
3
  import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
4
4
  import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
@@ -1,3 +1,2 @@
1
- import { n as BadgeVariant, r as BadgeVariantMap, t as BadgeProps } from "../types-DIYwbkpe.js";
2
- import { t as _default } from "../index-B9WzWqzk.js";
1
+ import { i as BadgeVariantMap, n as BadgeProps, r as BadgeVariant, t as _default } from "../index-CuFLztiI.js";
3
2
  export { _default as Badge, type BadgeProps, type BadgeVariant, type BadgeVariantMap };
@@ -1,2 +1,2 @@
1
- import { Ao as BannerContainer, Mo as BannerProps, No as BannerSlots, Po as BannerStatus, jo as BannerEmits, ko as _default } from "../index-DRDOArzq.js";
1
+ import { dc as BannerContainer, fc as BannerEmits, hc as BannerStatus, mc as BannerSlots, pc as BannerProps, uc as _default } from "../index-DSEEgvak.js";
2
2
  export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Banner-CTY9qV89.js";
1
+ import { t as _sfc_main } from "../Banner-cg2nXT_4.js";
2
2
  export { _sfc_main as Banner };
@@ -1,6 +1,6 @@
1
1
  import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
2
2
  import { t as _sfc_main$1 } from "./FieldIcon-BU1ZWAuo.js";
3
- import { t as _sfc_main$2 } from "./IconButton-CwjHTIBg.js";
3
+ import { t as _sfc_main$2 } from "./IconButton-D9ZRJ7vD.js";
4
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
5
5
  import { t as bannerMessages } from "./banner-Bv76b50U.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-BOCb89V9.js";
1
+ import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-DFLPv9io.js";
2
2
  export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
@@ -1,3 +1,3 @@
1
- import { n as _sfc_main } from "../BottomSheet-DyJJtZZU.js";
2
- import { t as _sfc_main$1 } from "../BottomSheet-ZOjuZya0.js";
1
+ import { n as _sfc_main } from "../BottomSheet-BtuF3uH6.js";
2
+ import { t as _sfc_main$1 } from "../BottomSheet-DKrJyrhw.js";
3
3
  export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
@@ -1,3 +1,4 @@
1
+ import { c as isHTMLElement, l as isNode, n as deepActiveElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
1
2
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
3
  import { i as isTopLayer, n as useLayerDepth, o as pushLayer, s as isImeKeyEvent, t as provideLayerDepth } from "./layerDepth-D3Rh8T5C.js";
3
4
  import { t as focusForLastInput } from "./focusReturn-C1cFL3WM.js";
@@ -8,7 +9,8 @@ import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
8
9
  import { t as createModalOutletHandle } from "./modalOutlet-Drr9a16b.js";
9
10
  import { o as provideLayoutContainer } from "./context-D-Hwh-Jf.js";
10
11
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
11
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, toValue, unref, useAttrs, useModel, useTemplateRef, watch, withCtx } from "vue";
12
+ import { t as bottomSheetEscapeKey } from "./escape-DzSxSmez.js";
13
+ import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, toValue, unref, useAttrs, useModel, useTemplateRef, watch, withCtx } from "vue";
12
14
  import "../styles/bottom-sheet.css";
13
15
  //#region \0rolldown/runtime.js
14
16
  var __defProp = Object.defineProperty;
@@ -22,6 +24,100 @@ var __exportAll = (all, no_symbols) => {
22
24
  return target;
23
25
  };
24
26
  //#endregion
27
+ //#region src/layer/inputHoldKeptInside.ts
28
+ /** 焦点留在退场浮层里时,还放行的键。 */
29
+ const KEPT_INSIDE_KEYS = /* @__PURE__ */ new Set(["Tab"]);
30
+ const WATCHED_ATTRIBUTES = [
31
+ "disabled",
32
+ "hidden",
33
+ "inert"
34
+ ];
35
+ /**
36
+ * 退场期间挡住 `layer`,页面照常可用:浮层让所有指针穿过去,不加挡板。
37
+ * 焦点还在里面时,内容照样露给辅助技术,但除了 Tab 什么键、什么点击都到不了它;
38
+ * 焦点一离开(或者本来就不在里面),浮层自己变成 `inert` + `aria-hidden`,
39
+ * 直到暂挡结束。放开之后,排在放开前的焦点检查不再改动浮层。返回提前放开的函数。
40
+ */
41
+ function holdKeptInside(layer, until) {
42
+ const doc = layer.ownerDocument;
43
+ const style = isHTMLElement(layer) ? layer.style : null;
44
+ const previousPointerEvents = style?.pointerEvents ?? "";
45
+ if (style != null) style.pointerEvents = "none";
46
+ const wasInert = layer.hasAttribute("inert");
47
+ const previousAriaHidden = layer.getAttribute("aria-hidden");
48
+ let isInert = false;
49
+ let isReleased = false;
50
+ const stops = [];
51
+ const hasFocusInside = () => {
52
+ const focused = deepActiveElement(doc);
53
+ return focused != null && containsAlongFlatTree(layer, focused);
54
+ };
55
+ const stopWatching = () => {
56
+ for (const stop of stops.splice(0)) stop();
57
+ };
58
+ const makeInert = () => {
59
+ if (isInert || isReleased) return;
60
+ isInert = true;
61
+ stopWatching();
62
+ layer.setAttribute("inert", "");
63
+ layer.setAttribute("aria-hidden", "true");
64
+ };
65
+ if (!hasFocusInside()) makeInert();
66
+ else {
67
+ const isInLayer = (event) => {
68
+ const target = typeof event.composedPath === "function" ? event.composedPath()[0] : event.target;
69
+ return isNode(target) && containsAlongFlatTree(layer, target);
70
+ };
71
+ const stopActivation = (event) => {
72
+ if (isInLayer(event)) {
73
+ event.preventDefault();
74
+ event.stopImmediatePropagation();
75
+ }
76
+ };
77
+ const stopKey = (event) => {
78
+ if (!KEPT_INSIDE_KEYS.has(event.key)) stopActivation(event);
79
+ };
80
+ const captures = [
81
+ ["click", stopActivation],
82
+ ["keydown", stopKey],
83
+ ["keyup", stopKey]
84
+ ];
85
+ for (const [type, listener] of captures) {
86
+ doc.addEventListener(type, listener, { capture: true });
87
+ stops.push(() => doc.removeEventListener(type, listener, { capture: true }));
88
+ }
89
+ const makeInertIfFocusLeft = () => {
90
+ if (!hasFocusInside()) makeInert();
91
+ };
92
+ const onFocusOut = () => queueMicrotask(makeInertIfFocusLeft);
93
+ layer.addEventListener("focusout", onFocusOut);
94
+ stops.push(() => layer.removeEventListener("focusout", onFocusOut));
95
+ if (typeof MutationObserver !== "undefined") {
96
+ const observer = new MutationObserver(makeInertIfFocusLeft);
97
+ observer.observe(layer, {
98
+ childList: true,
99
+ subtree: true,
100
+ attributeFilter: WATCHED_ATTRIBUTES
101
+ });
102
+ stops.push(() => observer.disconnect());
103
+ }
104
+ }
105
+ const release = () => {
106
+ if (isReleased) return;
107
+ isReleased = true;
108
+ stopWatching();
109
+ if (style != null) style.pointerEvents = previousPointerEvents;
110
+ if (isInert) {
111
+ if (!wasInert) layer.removeAttribute("inert");
112
+ if (previousAriaHidden == null) layer.removeAttribute("aria-hidden");
113
+ else layer.setAttribute("aria-hidden", previousAriaHidden);
114
+ }
115
+ };
116
+ const end = "finished" in until ? until.finished : until;
117
+ Promise.resolve(end).then(release, release);
118
+ return release;
119
+ }
120
+ //#endregion
25
121
  //#region src/BottomSheet/sheetTransition.ts
26
122
  const BACKSTOP_BUFFER_MS = 50;
27
123
  function parseTransitionTime(value) {
@@ -844,9 +940,7 @@ const _hoisted_4 = [
844
940
  "aria-label",
845
941
  "aria-labelledby",
846
942
  "aria-modal",
847
- "aria-hidden",
848
- "role",
849
- "inert"
943
+ "role"
850
944
  ];
851
945
  const _hoisted_5 = { class: "astryx-bottom-sheet__positioner" };
852
946
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -889,6 +983,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
889
983
  const emit = __emit;
890
984
  const isOpen = useModel(__props, "isOpen");
891
985
  const switcher = inject(bottomSheetSwitcherKey, null);
986
+ const isEscapeAllowed = inject(bottomSheetEscapeKey, () => true);
987
+ provide(bottomSheetEscapeKey, () => true);
892
988
  const hosted = computed(() => switcher != null && props.sheetId != null);
893
989
  const retained = computed(() => {
894
990
  if (!hosted.value || switcher == null) return false;
@@ -978,7 +1074,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
978
1074
  const layer = useSheetLayerDismiss({
979
1075
  isActive: computed(() => !hosted.value && !props.isInline && (isOpen.value || isPresented.value)),
980
1076
  escape: computed(() => {
981
- if (!isOpen.value || props.purpose === "required") return "block";
1077
+ if (!isOpen.value || props.purpose === "required" || !isEscapeAllowed()) return "block";
982
1078
  if (!props.hasScrim) return "ignore";
983
1079
  return "close";
984
1080
  }),
@@ -999,7 +1095,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
999
1095
  emit("openChange", false);
1000
1096
  }
1001
1097
  function dismissOnEscape() {
1002
- if (props.purpose === "required") return;
1098
+ if (props.purpose === "required" || !isEscapeAllowed()) return;
1003
1099
  requestClose();
1004
1100
  }
1005
1101
  function onKeydown(event) {
@@ -1026,6 +1122,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1026
1122
  if (hosted.value || !value) return;
1027
1123
  openSheet();
1028
1124
  }, { flush: "post" });
1125
+ const isExiting = computed(() => !hosted.value && !props.isInline && !isOpen.value && isPresented.value);
1126
+ let releaseExitHold = null;
1127
+ watch(isExiting, (exiting) => {
1128
+ releaseExitHold?.();
1129
+ releaseExitHold = null;
1130
+ const element = dialog.value;
1131
+ if (exiting && element != null) releaseExitHold = holdKeptInside(element, new Promise(() => {}));
1132
+ }, { flush: "post" });
1029
1133
  onMounted(() => {
1030
1134
  if (hosted.value && props.sheetId != null) {
1031
1135
  switcher?.register(props.sheetId, {
@@ -1038,6 +1142,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1038
1142
  if (isOpen.value) openSheet();
1039
1143
  });
1040
1144
  onBeforeUnmount(() => {
1145
+ releaseExitHold?.();
1146
+ releaseExitHold = null;
1041
1147
  modalOutlet.detach();
1042
1148
  if (props.sheetId != null) switcher?.unregister(props.sheetId);
1043
1149
  unlockScroll();
@@ -1097,8 +1203,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1097
1203
  "height",
1098
1204
  "padding",
1099
1205
  "snap-points"
1100
- ])])) : createCommentVNode("v-if", true)])) : (openBlock(), createElementBlock("dialog", {
1101
- key: 2,
1206
+ ])])) : createCommentVNode("v-if", true)])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [createCommentVNode(" eslint-disable-next-line vue-a11y/no-static-element-interactions -- 点在 dialog 自身上等于点遮罩;键盘走原生 cancel 和下面的 keydown。 "), createElementVNode("dialog", {
1102
1207
  ref_key: "dialog",
1103
1208
  ref: dialog,
1104
1209
  class: normalizeClass(["astryx-bottom-sheet-dialog", {
@@ -1108,9 +1213,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1108
1213
  "aria-label": dialogLabel.value,
1109
1214
  "aria-labelledby": labelledBy.value,
1110
1215
  "aria-modal": __props.hasScrim && isOpen.value ? "true" : void 0,
1111
- "aria-hidden": !isOpen.value && isPresented.value ? "true" : void 0,
1112
1216
  role: __props.purpose === "required" ? "alertdialog" : void 0,
1113
- inert: !isOpen.value && isPresented.value ? true : void 0,
1114
1217
  style: normalizeStyle(dialogStyle.value),
1115
1218
  onCancel,
1116
1219
  onClick: onDialogClick,
@@ -1143,7 +1246,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1143
1246
  ])]), _cache[7] || (_cache[7] = createElementVNode("div", {
1144
1247
  class: "astryx-bottom-sheet__edge-tint",
1145
1248
  "aria-hidden": "true"
1146
- }, null, -1))], 46, _hoisted_4));
1249
+ }, null, -1))], 46, _hoisted_4)], 2112));
1147
1250
  };
1148
1251
  }
1149
1252
  });
@@ -1,4 +1,4 @@
1
- import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-DyJJtZZU.js";
1
+ import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-BtuF3uH6.js";
2
2
  import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
3
3
  import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
4
4
  import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
@@ -1,3 +1,3 @@
1
- import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-CQrzwZvx.js";
2
- import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-Nv-089W0.js";
1
+ import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-CP0P49ej.js";
2
+ import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-Cvzwy6sZ.js";
3
3
  export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
@@ -3,7 +3,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
3
3
  import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
5
  import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
6
- import { t as _sfc_main$3 } from "./DropdownMenu-BhxKnh6D.js";
6
+ import { t as _sfc_main$3 } from "./DropdownMenu-D_fBzKvf.js";
7
7
  import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
8
8
  import { n as isNavigableHref } from "./link-DuuA2eCL.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
@@ -1,3 +1,3 @@
1
1
  import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
2
- import { t as _default } from "../index-CuW4AQ7M.js";
2
+ import { t as _default } from "../index--kbwaSXW.js";
3
3
  export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../Button-TiYG0btL.js";
1
+ import { t as _sfc_main } from "../Button-D8AGK5oT.js";
2
2
  //#region src/Button/index.ts
3
3
  var Button_default = _sfc_main;
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
- import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-BMDBe36j.js";
3
- import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
2
+ import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-CNZyA18Y.js";
3
+ import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
4
4
  import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
5
5
  import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
6
6
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
@@ -8,7 +8,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
8
8
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
9
9
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
10
10
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
11
- import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-DoBAbfGc.js";
11
+ import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-DyPyWOdP.js";
12
12
  import { t as _sfc_main$4 } from "./LayerContentBoundary-LCQLyxBT.js";
13
13
  import { r as isKeyboardModality } from "./interactionModality-CedLz5PC.js";
14
14
  import { t as _sfc_main$5 } from "./VisuallyHidden-cpmsV-0M.js";
@@ -1,2 +1,2 @@
1
- import { Do as ButtonGroupSlots, Eo as ButtonGroupProps, Oo as ButtonGroupOrientation, To as _default } from "../index-DRDOArzq.js";
1
+ import { cc as ButtonGroupSlots, lc as ButtonGroupOrientation, oc as _default, sc as ButtonGroupProps } from "../index-DSEEgvak.js";
2
2
  export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-DNN4O9_-.js";
1
+ import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-CUN_rC57.js";
2
2
  export { _sfc_main as ButtonGroup, ButtonGroup_default as default };
@@ -1,5 +1,5 @@
1
- import { n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-BMDBe36j.js";
2
- import { t as useActionGroupTracking } from "./useActionGroupTracking-PVBCtLUE.js";
1
+ import { n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-CNZyA18Y.js";
2
+ import { t as useActionGroupTracking } from "./useActionGroupTracking-C6BzQzvp.js";
3
3
  import { i as useSize, r as provideSize } from "./SizeContext-BbaF-SEx.js";
4
4
  import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-Cgkyk-b7.js";
5
5
  import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
@@ -1,2 +1,2 @@
1
- import { Co as CalendarRangeValue, So as CalendarProps, _o as useCalendarConstraints, bo as CalendarHandle, co as UseCalendarNavigationOptions, do as CalendarDay, fo as UseCalendarDaysOptions, go as UseCalendarConstraintsReturn, ho as UseCalendarConstraintsOptions, lo as UseCalendarNavigationReturn, mo as useCalendarDays, po as UseCalendarDaysReturn, uo as useCalendarNavigation, vo as _default, wo as CalendarSlots, xo as CalendarHandleRef, yo as CalendarEmits } from "../index-DRDOArzq.js";
1
+ import { $s as _default, Gs as useCalendarNavigation, Js as UseCalendarDaysReturn, Ks as CalendarDay, Qs as useCalendarConstraints, Us as UseCalendarNavigationOptions, Ws as UseCalendarNavigationReturn, Xs as UseCalendarConstraintsOptions, Ys as useCalendarDays, Zs as UseCalendarConstraintsReturn, ac as CalendarSlots, ec as CalendarEmits, ic as CalendarRangeValue, nc as CalendarHandleRef, qs as UseCalendarDaysOptions, rc as CalendarProps, tc as CalendarHandle } from "../index-DSEEgvak.js";
2
2
  export { _default as Calendar, type CalendarDay, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots, type UseCalendarConstraintsOptions, type UseCalendarConstraintsReturn, type UseCalendarDaysOptions, type UseCalendarDaysReturn, type UseCalendarNavigationOptions, type UseCalendarNavigationReturn, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
@@ -1,2 +1,2 @@
1
- import { ao as CarouselHandle, io as CarouselGap, oo as CarouselProps, ro as _default, so as CarouselSlots } from "../index-DRDOArzq.js";
1
+ import { Bs as CarouselHandle, Hs as CarouselSlots, Rs as _default, Vs as CarouselProps, zs as CarouselGap } from "../index-DSEEgvak.js";
2
2
  export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };