@astryx-vue/core 0.36.2 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-Dz8T0KIa.js → AlertDialog-BVTKz7re.js} +8 -8
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-ClZ2Y8cu.js → AppShell-C2y8U6wp.js} +6 -6
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-CpWBsTqf.js → Avatar-BY-EWaJM.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-DhSPWemf.js → AvatarGroup-BSsARmYE.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-DeauKxQw.js → Banner-NCI6aOKt.js} +2 -2
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-CYsGu9GP.js → BottomSheet-CFdGLVIF.js} +13 -86
  16. package/dist/{BottomSheet-CRHPDrmS.js → BottomSheet-dgHDqtQg.js} +1 -1
  17. package/dist/Breadcrumbs/index.d.ts +2 -2
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-nO9YHygD.js → Breadcrumbs-CwEfccnT.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-V6i-PeBt.js → Button-BZV5wL4j.js} +4 -4
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-CEDeeGkY.js → ButtonGroup-CaQ7bir4.js} +2 -2
  26. package/dist/Calendar/index.d.ts +1 -1
  27. package/dist/Calendar/index.js +2 -2
  28. package/dist/Card/index.d.ts +1 -1
  29. package/dist/Carousel/index.d.ts +1 -1
  30. package/dist/Carousel/index.js +1 -1
  31. package/dist/{Carousel-5NYWpta1.js → Carousel-CbOusMO0.js} +1 -1
  32. package/dist/Chat/index.d.ts +1 -1
  33. package/dist/Chat/index.js +1 -1
  34. package/dist/{Chat-BRtDKajd.js → Chat-BrHbv7Ah.js} +7 -7
  35. package/dist/CheckboxInput/index.d.ts +1 -1
  36. package/dist/CheckboxInput/index.js +1 -1
  37. package/dist/{CheckboxInput-ixAs3zkT.js → CheckboxInput-CV8aHb9r.js} +4 -4
  38. package/dist/CheckboxList/index.d.ts +1 -1
  39. package/dist/CheckboxList/index.js +1 -1
  40. package/dist/{CheckboxListItem-DoWYdLf-.js → CheckboxListItem-SyF1JdT3.js} +5 -5
  41. package/dist/ClickableCard/index.d.ts +1 -1
  42. package/dist/ClickableCard/index.js +1 -1
  43. package/dist/{ClickableCard-DuOcbNlt.js → ClickableCard-DYcn-IFI.js} +1 -1
  44. package/dist/Code/index.js +2 -2
  45. package/dist/{Code-qHt8uZqb.js → Code-BNOzyQX4.js} +1 -1
  46. package/dist/{CodeBlock-2zigEFFD.js → CodeBlock-DYXx_9Kj.js} +2 -2
  47. package/dist/Collapsible/index.d.ts +1 -1
  48. package/dist/Collapsible/index.js +1 -1
  49. package/dist/{Collapsible-DfVihLCR.js → Collapsible-48Q1GfRw.js} +3 -3
  50. package/dist/CommandPalette/index.d.ts +1 -1
  51. package/dist/CommandPalette/index.js +1 -1
  52. package/dist/{CommandPalette-D07roA0D.js → CommandPalette-Ct70AcIK.js} +5 -4
  53. package/dist/ComplexSelector/index.js +1 -1
  54. package/dist/{ComplexSelector-7OdAby6v.js → ComplexSelector-NnPRhI6t.js} +2 -2
  55. package/dist/ContextMenu/index.d.ts +2 -2
  56. package/dist/ContextMenu/index.js +2 -2
  57. package/dist/{ContextMenu-BIJyyObZ.js → ContextMenu-C7m059d4.js} +6 -6
  58. package/dist/DateInput/index.d.ts +1 -1
  59. package/dist/DateInput/index.js +1 -1
  60. package/dist/{DateInput-BNKoPL3j.js → DateInput-D-NIlF5P.js} +7 -7
  61. package/dist/DateRangeInput/index.d.ts +1 -1
  62. package/dist/DateRangeInput/index.js +1 -1
  63. package/dist/{DateRangeInput-CGDlPnUb.js → DateRangeInput-BYl649eD.js} +4 -4
  64. package/dist/DateTimeInput/index.d.ts +1 -1
  65. package/dist/DateTimeInput/index.js +1 -1
  66. package/dist/{DateTimeInput-CRWUAh75.js → DateTimeInput-CBzae6EW.js} +6 -6
  67. package/dist/Dialog/index.d.ts +1 -1
  68. package/dist/Dialog/index.js +3 -3
  69. package/dist/{Dialog-CXa-tu02.js → Dialog-BP2KWnEi.js} +2 -1
  70. package/dist/{Dialog-BxijA4zr.js → Dialog-BUl1lqE6.js} +3 -80
  71. package/dist/{DialogHeader-D7f97ksG.js → DialogHeader-DKt_lREy.js} +2 -2
  72. package/dist/Divider/index.d.ts +1 -1
  73. package/dist/Drawer/index.d.ts +1 -1
  74. package/dist/Drawer/index.js +1 -1
  75. package/dist/Drawer-D63qUfxP.js +422 -0
  76. package/dist/DropdownMenu/index.d.ts +2 -2
  77. package/dist/DropdownMenu/index.js +2 -2
  78. package/dist/{DropdownMenu-Bklf6ekH.js → DropdownMenu-BkTjcbtP.js} +8 -8
  79. package/dist/{DropdownMenuRadioItem.vue-BDDI4EZK.d.ts → DropdownMenuRadioItem.vue-BFCbIBfb.d.ts} +1 -1
  80. package/dist/EmptyState/index.js +1 -1
  81. package/dist/{EmptyState-DU7uOI2G.js → EmptyState-BUmLBchw.js} +2 -2
  82. package/dist/Field/index.js +3 -3
  83. package/dist/{Field-CZndbiqR.js → Field-DgtZ9Czv.js} +1 -1
  84. package/dist/{FieldInfoTip-Ii7lSYS8.js → FieldInfoTip-D4vkQb2F.js} +1 -1
  85. package/dist/{FieldLabel-ru3qavED.js → FieldLabel-DkElUlTP.js} +1 -1
  86. package/dist/FileInput/index.d.ts +1 -1
  87. package/dist/FileInput/index.js +1 -1
  88. package/dist/{FileInput-BtVTN7LN.js → FileInput-epZuREvN.js} +4 -4
  89. package/dist/Heading/index.d.ts +1 -1
  90. package/dist/Heading/index.js +1 -1
  91. package/dist/{Heading-BZ0ydu2s.js → Heading-SdObK_xM.js} +1 -1
  92. package/dist/HoverCard/index.d.ts +1 -1
  93. package/dist/HoverCard/index.js +1 -1
  94. package/dist/{HoverCard-BhHZE9q6.js → HoverCard-B7hrl0Qz.js} +4 -4
  95. package/dist/IconButton/index.js +1 -1
  96. package/dist/{IconButton-4BXILpv-.js → IconButton-ddP2kBOE.js} +1 -1
  97. package/dist/InfoTip/index.d.ts +1 -1
  98. package/dist/InfoTip/index.js +1 -1
  99. package/dist/{InfoTip-D2MzKXZH.js → InfoTip-D2rbGvF9.js} +2 -2
  100. package/dist/{InputClearButton-Cm5Q3KK2.js → InputClearButton-pGsDJl26.js} +2 -2
  101. package/dist/InputGroup/index.d.ts +1 -1
  102. package/dist/InputGroup/index.js +1 -1
  103. package/dist/{InputGroup-CjB_XpEy.js → InputGroup-BIVCj2rq.js} +1 -1
  104. package/dist/InternationalizationProvider/index.d.ts +1 -1
  105. package/dist/InternationalizationProvider/index.js +1 -1
  106. package/dist/{InternationalizationProvider-yLbf4Wi_.js → InternationalizationProvider-BkJ8Z7ox.js} +1 -1
  107. package/dist/{Item-CKYsTbM4.js → Item-DrV3f4fe.js} +12 -28
  108. package/dist/{LayerContentBoundary-D67fobWl.js → LayerContentBoundary-iYtfCpG9.js} +1 -1
  109. package/dist/Layout/index.js +2 -2
  110. package/dist/{Layout-BDS2ZN6C.js → Layout-DIs9FbLS.js} +1 -1
  111. package/dist/{LayoutPanel-D56PBM4I.js → LayoutPanel-DPueklAW.js} +1 -1
  112. package/dist/Lightbox/index.js +1 -1
  113. package/dist/{Lightbox-CnTXrgq6.js → Lightbox-CYFqIuYF.js} +2 -2
  114. package/dist/Link/index.d.ts +1 -1
  115. package/dist/Link/index.js +1 -1
  116. package/dist/{Link-BnM830Xa.js → Link-Bte02xvC.js} +2 -2
  117. package/dist/List/index.d.ts +2 -2
  118. package/dist/List/index.js +3 -2
  119. package/dist/{ListItem-B1ztelEC.js → ListItem-DyJ5nTUB.js} +86 -65
  120. package/dist/Markdown/index.d.ts +1 -1
  121. package/dist/Markdown/index.js +1 -1
  122. package/dist/{Markdown-JjZLAFq2.js → Markdown-DLOM7sua.js} +3 -3
  123. package/dist/MobileNav/index.js +1 -1
  124. package/dist/{MobileNavToggle-CjlgmcSf.js → MobileNavToggle-CiY__Fy9.js} +2 -2
  125. package/dist/MoreMenu/index.d.ts +1 -1
  126. package/dist/MoreMenu/index.js +1 -1
  127. package/dist/{MoreMenu-CGTbwTyw.js → MoreMenu-Dfw9RqEG.js} +7 -7
  128. package/dist/MultiSelector/index.d.ts +1 -1
  129. package/dist/MultiSelector/index.js +1 -1
  130. package/dist/{MultiSelector-BjFYfRqV.js → MultiSelector-670gfK2P.js} +6 -6
  131. package/dist/{NavDisclosure-BpYjtYo5.js → NavDisclosure-l2h8R_ub.js} +10 -3
  132. package/dist/{NavHeadingSurface-CK9zMjFC.js → NavHeadingSurface-CyzeGig1.js} +3 -1
  133. package/dist/NavItem/index.d.ts +1 -1
  134. package/dist/NavItem/index.js +1 -1
  135. package/dist/{NavItem-DTO-BEfc.js → NavItem-BbnusKbo.js} +1 -1
  136. package/dist/NavMenu/index.d.ts +1 -1
  137. package/dist/NavMenu/index.js +3 -3
  138. package/dist/{NavMenu-BflnhBtX.js → NavMenu-BRWghdCF.js} +2 -2
  139. package/dist/{NavMenuItem-CrFrczWe.js → NavMenuItem-BtYmdZGe.js} +3 -3
  140. package/dist/NumberInput/index.d.ts +1 -1
  141. package/dist/NumberInput/index.js +1 -1
  142. package/dist/{NumberInput-vWUcgJU8.js → NumberInput-CoozsQxb.js} +5 -5
  143. package/dist/Outline/index.js +1 -1
  144. package/dist/{Outline-D4DJTfKp.js → Outline-DGntLLCe.js} +2 -2
  145. package/dist/OverflowList/index.d.ts +1 -1
  146. package/dist/OverflowList/index.js +1 -1
  147. package/dist/{OverflowList-D9Ua6e3-.js → OverflowList-DJBaY3B_.js} +2 -2
  148. package/dist/Overlay/index.d.ts +1 -1
  149. package/dist/Pagination/index.d.ts +1 -1
  150. package/dist/Pagination/index.js +1 -1
  151. package/dist/{Pagination-DGcl38z9.js → Pagination-HRiDkiv1.js} +3 -3
  152. package/dist/{PanGestureRecognizer-C-gk9mOy.js → PanGestureRecognizer-K-I6ORwh.js} +3 -3
  153. package/dist/{PickerWheel-sIOSfcfO.js → PickerWheel-BH7fotFp.js} +14 -14
  154. package/dist/Popover/index.d.ts +1 -1
  155. package/dist/Popover/index.js +1 -1
  156. package/dist/{Popover-DlCqmkYD.js → Popover-CIfmPr2b.js} +9 -9
  157. package/dist/PowerSearch/index.d.ts +1 -1
  158. package/dist/PowerSearch/index.js +1 -1
  159. package/dist/{PowerSearch-BKhXYPRO.js → PowerSearch-lZ7C-9_i.js} +29 -29
  160. package/dist/{PressTracker-CPRIrG4f.js → PressTracker-Byalgid0.js} +3 -3
  161. package/dist/ProgressBar/index.d.ts +1 -1
  162. package/dist/ProgressBar/index.js +1 -1
  163. package/dist/{ProgressBar-B2ds3imd.js → ProgressBar-DJ79DNQq.js} +4 -4
  164. package/dist/Radio/index.d.ts +1 -1
  165. package/dist/Radio/index.js +1 -1
  166. package/dist/{RadioGroup-OLFNjvKt.js → RadioGroup-DE0vl44p.js} +5 -5
  167. package/dist/RadioList/index.d.ts +1 -1
  168. package/dist/RadioList/index.js +1 -1
  169. package/dist/{RadioListItem-BAEF0vc8.js → RadioListItem-CMH7E4o4.js} +1 -1
  170. package/dist/Resizable/index.js +1 -1
  171. package/dist/{ResizeHandle-Bd4TdK7E.js → ResizeHandle-IXhzcM0r.js} +2 -2
  172. package/dist/ScrollableArea/index.d.ts +1 -1
  173. package/dist/SegmentedControl/index.d.ts +1 -1
  174. package/dist/SegmentedControl/index.js +1 -1
  175. package/dist/{SegmentedControl-C0xXOVTv.js → SegmentedControl-DfQbw_Kx.js} +10 -10
  176. package/dist/SelectableCard/index.d.ts +1 -1
  177. package/dist/SelectableCard/index.js +1 -1
  178. package/dist/{SelectableCard-B2QbpWiT.js → SelectableCard-BSgi3FJf.js} +1 -1
  179. package/dist/Selector/index.d.ts +1 -1
  180. package/dist/Selector/index.js +1 -1
  181. package/dist/{Selector-CHq3XHwH.js → Selector-BA_Br1PQ.js} +4 -4
  182. package/dist/SideNav/index.d.ts +1 -1
  183. package/dist/SideNav/index.js +2 -2
  184. package/dist/{SideNav-D8jQrwtL.js → SideNav-iTVaFVr8.js} +10 -10
  185. package/dist/Slider/index.js +1 -1
  186. package/dist/{Slider-Bd5fxqRa.js → Slider-Dd-7-KDB.js} +13 -13
  187. package/dist/StatusDot/index.js +1 -1
  188. package/dist/{StatusDot-Jw676Z_6.js → StatusDot-DOf6Q4MC.js} +1 -1
  189. package/dist/Stepper/index.d.ts +1 -1
  190. package/dist/Stepper/index.js +1 -1
  191. package/dist/{Stepper-3oMdVe0c.js → Stepper-2Pzjo2X6.js} +1 -1
  192. package/dist/Switch/index.d.ts +1 -1
  193. package/dist/Switch/index.js +1 -1
  194. package/dist/{Switch-COKmqJQU.js → Switch-CDzpdofs.js} +14 -14
  195. package/dist/TabList/index.d.ts +1 -1
  196. package/dist/TabList/index.js +1 -1
  197. package/dist/{TabList-DjRutwar.js → TabList-2WI0pFSQ.js} +3 -3
  198. package/dist/Table/index.d.ts +1 -1
  199. package/dist/Table/index.js +1 -1
  200. package/dist/{Table-waEj3x_o.js → Table-Dv2v2Qn1.js} +15 -15
  201. package/dist/Text/index.d.ts +1 -1
  202. package/dist/Text/index.js +1 -1
  203. package/dist/{Text-bvai__ae.js → Text-CILdp7jE.js} +1 -1
  204. package/dist/TextArea/index.d.ts +1 -1
  205. package/dist/TextArea/index.js +1 -1
  206. package/dist/{TextArea-BtBC4IoD.js → TextArea-DVaMUVoM.js} +6 -6
  207. package/dist/TextInput/index.d.ts +1 -1
  208. package/dist/TextInput/index.js +1 -1
  209. package/dist/{TextInput-cotkU2bC.js → TextInput-CuZ0_q-W.js} +6 -6
  210. package/dist/Thumbnail/index.js +1 -1
  211. package/dist/{Thumbnail-oqrKH-co.js → Thumbnail-DdWfJKHa.js} +4 -4
  212. package/dist/{TimeField-BXQCZIwP.js → TimeField-BxM1p1iV.js} +5 -5
  213. package/dist/TimeInput/index.d.ts +1 -1
  214. package/dist/TimeInput/index.js +1 -1
  215. package/dist/{TimeInput-C_ZssG1D.js → TimeInput-OazN0w6r.js} +2 -2
  216. package/dist/Timer/index.d.ts +1 -1
  217. package/dist/Timer/index.js +1 -1
  218. package/dist/{Timer-CO-JNJTI.js → Timer-DOoFQEBD.js} +1 -1
  219. package/dist/Timestamp/index.d.ts +1 -1
  220. package/dist/Timestamp/index.js +1 -1
  221. package/dist/{Timestamp-CfzqAAX2.js → Timestamp-B6Ob-xlj.js} +4 -4
  222. package/dist/Toast/index.js +1 -1
  223. package/dist/{Toast-W6aKxXlF.js → Toast-CW2ML8tU.js} +18 -10
  224. package/dist/ToggleButton/index.d.ts +1 -1
  225. package/dist/ToggleButton/index.js +1 -1
  226. package/dist/{ToggleButton-Ditxp2jT.js → ToggleButton-8XAM4Mko.js} +3 -3
  227. package/dist/Token/index.js +1 -1
  228. package/dist/{Token-Dk6MPUkH.js → Token-Di7w9Cvr.js} +2 -2
  229. package/dist/Tokenizer/index.d.ts +1 -1
  230. package/dist/Tokenizer/index.js +1 -1
  231. package/dist/{Tokenizer-hmGkGVG7.js → Tokenizer-OZbI0TqN.js} +13 -13
  232. package/dist/Toolbar/index.d.ts +1 -1
  233. package/dist/Tooltip/index.d.ts +1 -1
  234. package/dist/Tooltip/index.js +2 -2
  235. package/dist/{Tooltip-BdG9g6c6.js → Tooltip-DPiEYfao.js} +1 -1
  236. package/dist/TopNav/index.d.ts +1 -1
  237. package/dist/TopNav/index.js +1 -1
  238. package/dist/{TopNav-D7jH9iwk.js → TopNav-Bea1f-4t.js} +6 -6
  239. package/dist/TreeList/index.js +1 -1
  240. package/dist/{TreeList-Dnx-uco3.js → TreeList-DEGpCrNi.js} +4 -4
  241. package/dist/Typeahead/index.d.ts +1 -1
  242. package/dist/Typeahead/index.js +2 -2
  243. package/dist/{Typeahead-Cx086Mmv.js → Typeahead-BONCIm6m.js} +6 -6
  244. package/dist/{VelocityTracker-CPFBHDpy.js → VelocityTracker-CWqXCLNe.js} +1 -1
  245. package/dist/{accessibleName-CHrrgpAy.js → accessibleName-YrrAARQX.js} +2 -2
  246. package/dist/{animator-Bptiubcx.js → animator-i7djdtNK.js} +3 -3
  247. package/dist/{boxHold-D1G2s1tG.js → boxHold-ig0sUg95.js} +1 -1
  248. package/dist/composables/index.d.ts +3 -2
  249. package/dist/composables/index.js +10 -10
  250. package/dist/{composables-CpG7bhuQ.js → composables-BJfZbXeW.js} +2424 -203
  251. package/dist/{context-Dweha8vW.js → context-DArta_KP.js} +3 -2
  252. package/dist/createReorderable-Bw3Q9mUd.d.ts +55 -0
  253. package/dist/{decay-TluwbMlP.js → decay-DGF4-sPB.js} +1 -1
  254. package/dist/{geometry-BRW7FETc.js → geometry-BBqUriul.js} +1 -1
  255. package/dist/{gestures-yKyyMqeQ.js → gestures-CP1MX1rx.js} +1 -1
  256. package/dist/{haptics-BEgivjBd.js → haptics-By_893U8.js} +3 -3
  257. package/dist/{index-BWzEt0gT.d.ts → index--kbwaSXW.d.ts} +2 -2
  258. package/dist/{index-CArP_6wv.d.ts → index-0RIgvtdm.d.ts} +1 -1
  259. package/dist/{index-CAJMHw-g.d.ts → index-1yvu_vpF.d.ts} +4 -4
  260. package/dist/{index-DvCLTiDV.d.ts → index-4_uuTfaY.d.ts} +1 -1
  261. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  262. package/dist/{index-tXYy8MJ0.d.ts → index-BIcmTipH.d.ts} +1 -1
  263. package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
  264. package/dist/{index-C1e8LNx2.d.ts → index-BjqoHLMq.d.ts} +1 -1
  265. package/dist/{index-BGUuyAMO.d.ts → index-BrY-v2wz.d.ts} +11 -11
  266. package/dist/{index-CJdOt5Cc.d.ts → index-BtqvPjAf.d.ts} +3 -3
  267. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  268. package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
  269. package/dist/{index-BIQZa2BD.d.ts → index-CAP19BZD.d.ts} +9 -0
  270. package/dist/{index-Xc3q9f84.d.ts → index-COgrQZIL.d.ts} +3 -3
  271. package/dist/{index-DjSQLT53.d.ts → index-COqeB2ug.d.ts} +1 -1
  272. package/dist/{index-BRr4ANpr.d.ts → index-CTASAiq2.d.ts} +8 -8
  273. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  274. package/dist/{index-BQ3cm7mP.d.ts → index-CbA8rR_b.d.ts} +1 -1
  275. package/dist/{index-BWWirRm3.d.ts → index-DHUCHxn2.d.ts} +1 -1
  276. package/dist/{index-OP4ntESa.d.ts → index-DLPSlnXP.d.ts} +1 -1
  277. package/dist/{index-SWw-WMTO.d.ts → index-DPhQZXYw.d.ts} +3 -3
  278. package/dist/{index-D2B3ysZr.d.ts → index-DXGoFpRN.d.ts} +53 -3
  279. package/dist/{index-sUMua5pp.d.ts → index-Dgl2rXqH.d.ts} +27 -1
  280. package/dist/{index-C0smuLQ8.d.ts → index-DxFU2kv3.d.ts} +104 -92
  281. package/dist/{index-DA3DMFds.d.ts → index-J83fLEyo.d.ts} +4 -4
  282. package/dist/{index-DsWEyz1N.d.ts → index-JE1HrzdJ.d.ts} +1 -1
  283. package/dist/{index-DlH0BI35.d.ts → index-Pad9p8CU.d.ts} +1 -1
  284. package/dist/{index-C6Iv6sgd.d.ts → index-V6uruC4Z.d.ts} +2 -2
  285. package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
  286. package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
  287. package/dist/{index-Cm36VS1A.d.ts → index-mK1ICsVg.d.ts} +2 -2
  288. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  289. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  290. package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
  291. package/dist/index.d.ts +39 -38
  292. package/dist/index.js +113 -112
  293. package/dist/inertClone-BUK-k6-n.js +83 -0
  294. package/dist/itemSlots-BxUu7hje.js +54 -0
  295. package/dist/keyboard-hint-DZrL82bU.js +48 -0
  296. package/dist/{landing-CrVewjeb.js → landing-CwF_76em.js} +1 -1
  297. package/dist/{layerDepth-DRfWATFr.js → layerDepth-C4altnV8.js} +1 -1
  298. package/dist/{lazyBottomSheet-zUe1mYmM.js → lazyBottomSheet-COX_Z3-V.js} +1 -1
  299. package/dist/{linearEasing-VHwy6xl_.js → linearEasing-CDsqxyiS.js} +1 -1
  300. package/dist/{loadCatalog-CdEXyPYj.d.ts → loadCatalog-S2AgQN51.d.ts} +40 -1
  301. package/dist/{loadCatalog-CKntEldg.js → loadCatalog-baFZaTpj.js} +76 -5
  302. package/dist/locale/index.d.ts +3 -3
  303. package/dist/locale/index.js +5 -5
  304. package/dist/{locale-CHA0DNw5.js → locale-BIyfn-cf.js} +1 -1
  305. package/dist/{modalOutlet-Drr9a16b.js → modalOutlet-BwR9AAlm.js} +16 -1
  306. package/dist/position-CkZfFubr.js +79 -0
  307. package/dist/{pressGesture-CfBgXWRM.js → pressGesture-ZTBGwYpT.js} +1 -1
  308. package/dist/{pressSlot-B6TvGkSO.js → pressSlot-zlwhNl9N.js} +1 -1
  309. package/dist/{projection-qPcLQcwK.js → projection-DzrWyxL1.js} +1 -1
  310. package/dist/{reducedMotion-D8-U7XFT.js → reducedMotion-BHRhHfWB.js} +2 -2
  311. package/dist/reorderTypes-CvmAkO-R.js +55 -0
  312. package/dist/{reportChange-CUo2YNPB.js → reportChange-DuOzs-8h.js} +3 -3
  313. package/dist/{resizableChannel-DpbFJbto.js → resizableChannel-6oZZNYYM.js} +4 -4
  314. package/dist/{resolveMotion-DftkGFw6.js → resolveMotion-BCM4CX-R.js} +2 -2
  315. package/dist/{resolveSnapPoint-A4dhS5jj.js → resolveSnapPoint-D1yU-Z-K.js} +1 -1
  316. package/dist/{rideKeyboard-BCzVooOd.js → rideKeyboard-BKGLLMuU.js} +2 -2
  317. package/dist/{roles-DWH31Bn3.js → roles-D6hLs7Rg.js} +1 -1
  318. package/dist/{rubberBand-DDd5ElTe.js → rubberBand-C-2erWWl.js} +1 -1
  319. package/dist/scrollingAncestor-DMWTn_Ih.js +36 -0
  320. package/dist/sheetTransition-BEm1GCv1.js +76 -0
  321. package/dist/{springs-CPk0tpwL.js → springs-B5hVbZta.js} +1 -1
  322. package/dist/{stillPointerGate-BU1CKW7m.js → stillPointerGate-DXFzBeMy.js} +1 -1
  323. package/dist/{themeTiming-BJziEh4O.js → themeTiming-Cv_hsTJU.js} +1 -1
  324. package/dist/{tooltipFocusRules-GGASOH_U.js → tooltipFocusRules-R21SPfWy.js} +2 -2
  325. package/dist/{tooltipTriggerRules-DIaGdkD_.js → tooltipTriggerRules-CoGD2lVn.js} +1 -1
  326. package/dist/{transientCopy-VAsg2a46.js → transientCopy--76J3N2f.js} +2 -83
  327. package/dist/{types-BHHT6Bho.d.ts → types-D9mwL8sz.d.ts} +25 -0
  328. package/dist/{useActionGroupTracking-C-nLjHyn.js → useActionGroupTracking-DB5xIxPW.js} +3 -3
  329. package/dist/{useAnimatedLayout-Dq-cttfe.js → useAnimatedLayout-CVYflMPG.js} +1 -1
  330. package/dist/{useDismiss-CegXF2Zo.js → useDismiss-yu_sIa7a.js} +33 -2
  331. package/dist/{useGestureRecognizer-Di-YKr93.js → useGestureRecognizer-BKzTWKYx.js} +1 -1
  332. package/dist/{useInputStatusIcon-CXP2kRSe.js → useInputStatusIcon-CV8qfqzK.js} +1 -1
  333. package/dist/{useMenuPress-kjmot8Bn.js → useMenuPress-DrrOBqjM.js} +1 -1
  334. package/dist/{useMobileKeyboard-BDPV51xl.js → useMobileKeyboard-DOa93Ek2.js} +4 -38
  335. package/dist/{usePressFeedback-CF4ISMfb.js → usePressFeedback-BEY9kk8T.js} +3 -3
  336. package/dist/{useResizable-7-uUaJ7x.js → useResizable-9WyAIDnz.js} +6 -6
  337. package/dist/{useTooltip-DCp4sTM1.js → useTooltip-B2RrDbtI.js} +4 -4
  338. package/dist/{useTouchHitArea-CkHMLZ34.js → useTouchHitArea-DvKV21NY.js} +1 -1
  339. package/dist/{useTouchTriggerInternal-C_mowlpv.js → useTouchTriggerInternal-Obcx-oKN.js} +1 -1
  340. package/dist/{useTruncationTooltip-Du80jGdE.js → useTruncationTooltip-RUl8qSGz.js} +3 -3
  341. package/dist/{useTypeaheadMenuConfig-B14t0HGE.js → useTypeaheadMenuConfig-DUZD3GqE.js} +1 -1
  342. package/package.json +1 -1
  343. package/styles/drawer.css +136 -44
  344. package/styles/list-reorder.css +137 -0
  345. package/styles/nav-menu.css +5 -0
  346. package/styles/side-nav.css +7 -4
  347. package/styles/top-nav.css +7 -4
  348. package/styles.css +1 -0
  349. package/dist/Drawer-C3t7NKiF.js +0 -137
  350. package/dist/keyboard-hint-KWx0-7kD.js +0 -7
  351. package/dist/{Calendar-B6TZYEge.js → Calendar-DbAQvHgy.js} +1 -1
  352. package/dist/{Calendar-CUMnYIhe.js → Calendar-S5IjkDsY.js} +1 -1
@@ -0,0 +1,36 @@
1
+ import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
2
+ //#region src/utils/scrollingAncestor.ts
3
+ /**
4
+ * @file scrollingAncestor.ts
5
+ * @input An element, and an optional ancestor where the walk stops.
6
+ * @output The element's nearest ancestor that scrolls on the block axis, and
7
+ * `nearestScroller`, which falls back to the document's scroller.
8
+ * @position Shared by the keyboard module's reveals, Outline's scroll spy
9
+ * and the List reorder's edge autoscroll.
10
+ */
11
+ /**
12
+ * The nearest ancestor of `element` that scrolls on the block axis: its
13
+ * `overflow-y` lets it scroll and its content is taller than its box. The walk
14
+ * ends after `bound` when one is given, and at the document's root otherwise.
15
+ * Null when no ancestor in that range scrolls.
16
+ */
17
+ function scrollingAncestor(element, bound) {
18
+ const view = element.ownerDocument.defaultView;
19
+ if (view == null) return null;
20
+ for (let node = element.parentElement; node != null; node = node.parentElement) {
21
+ if (SCROLLABLE_OVERFLOW.has(view.getComputedStyle(node).overflowY) && node.scrollHeight > node.clientHeight) return node;
22
+ if (node === bound) return null;
23
+ }
24
+ return null;
25
+ }
26
+ /**
27
+ * The element that scrolls `element` into view: its nearest ancestor that
28
+ * scrolls on the block axis, or else the document's scroller.
29
+ */
30
+ function nearestScroller(element) {
31
+ const doc = element.ownerDocument;
32
+ const scroller = scrollingAncestor(element);
33
+ return scroller == null || scroller === doc.body || scroller === doc.documentElement ? doc.scrollingElement ?? doc.documentElement : scroller;
34
+ }
35
+ //#endregion
36
+ export { scrollingAncestor as n, nearestScroller as t };
@@ -0,0 +1,76 @@
1
+ //#region src/BottomSheet/sheetTransition.ts
2
+ const BACKSTOP_BUFFER_MS = 50;
3
+ function parseTransitionTime(value) {
4
+ const normalized = value.trim();
5
+ if (!/^-?(?:\d+|\d*\.\d+)(?:ms|s)$/.test(normalized)) return null;
6
+ const time = Number.parseFloat(normalized);
7
+ return normalized.endsWith("ms") ? time : time * 1e3;
8
+ }
9
+ /** Longest transition duration + delay that applies to `property`, in ms. */
10
+ function transitionMsFor(element, property) {
11
+ const style = getComputedStyle(element);
12
+ const properties = (style.transitionProperty || "").split(",").map((value) => value.trim());
13
+ const durations = (style.transitionDuration || "").split(",").map(parseTransitionTime);
14
+ const delays = (style.transitionDelay || "").split(",").map((value) => parseTransitionTime(value) ?? 0);
15
+ return properties.reduce((longest, name, index) => {
16
+ if (name !== property && name !== "all") return longest;
17
+ const duration = durations[index % durations.length];
18
+ if (duration == null) return longest;
19
+ return Math.max(longest, duration + (delays[index % delays.length] ?? 0));
20
+ }, 0);
21
+ }
22
+ /** Whether a CSS transition of `property` still runs on `element`. */
23
+ function hasRunningTransition(element, property) {
24
+ return (element.getAnimations?.() ?? []).some((animation) => animation.transitionProperty === property && (animation.playState === "running" || animation.playState === "paused"));
25
+ }
26
+ /**
27
+ * Calls `complete` when `element` finishes transitioning `property`: on the
28
+ * matching `transitionend`/`transitioncancel`, or on a timer backstop so a
29
+ * missed event can never strand the caller. Without a resolved duration — the
30
+ * case in a stylesheet-free test environment — it completes immediately.
31
+ */
32
+ function waitForTransition(element, property, complete) {
33
+ if (element == null) {
34
+ complete();
35
+ return () => {};
36
+ }
37
+ let done = false;
38
+ let timer = null;
39
+ let backstopMs = 0;
40
+ let onTransitionEnd = () => {};
41
+ const finish = () => {
42
+ if (done) return;
43
+ done = true;
44
+ if (timer != null) clearTimeout(timer);
45
+ element.removeEventListener("transitionend", onTransitionEnd);
46
+ element.removeEventListener("transitioncancel", onTransitionEnd);
47
+ complete();
48
+ };
49
+ onTransitionEnd = (event) => {
50
+ if (event.target !== element || event.propertyName !== property) return;
51
+ if (event.type === "transitioncancel" && hasRunningTransition(element, property)) {
52
+ if (timer != null) {
53
+ clearTimeout(timer);
54
+ timer = setTimeout(finish, backstopMs);
55
+ }
56
+ return;
57
+ }
58
+ finish();
59
+ };
60
+ const duration = transitionMsFor(element, property);
61
+ if (duration <= 0) {
62
+ finish();
63
+ return () => {};
64
+ }
65
+ element.addEventListener("transitionend", onTransitionEnd);
66
+ element.addEventListener("transitioncancel", onTransitionEnd);
67
+ backstopMs = duration + BACKSTOP_BUFFER_MS;
68
+ timer = setTimeout(finish, backstopMs);
69
+ return () => {
70
+ if (timer != null) clearTimeout(timer);
71
+ element.removeEventListener("transitionend", onTransitionEnd);
72
+ element.removeEventListener("transitioncancel", onTransitionEnd);
73
+ };
74
+ }
75
+ //#endregion
76
+ export { waitForTransition as t };
@@ -1,4 +1,4 @@
1
- import { a as registerMotionTable, o as registerSpringRole } from "./roles-DWH31Bn3.js";
1
+ import { a as registerMotionTable, o as registerSpringRole } from "./roles-D6hLs7Rg.js";
2
2
  //#region src/motion/springRole.ts
3
3
  /**
4
4
  * Registers the row as the role `springs.<name>` and returns it. A page that
@@ -1,4 +1,4 @@
1
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-CegXF2Zo.js";
1
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-yu_sIa7a.js";
2
2
  import { n as clampInlineSize } from "./inlineSize-BNe8wggI.js";
3
3
  import { computed, onMounted, ref, toValue, watch } from "vue";
4
4
  //#region src/Typeahead/useAnchoredListbox.ts
@@ -1,4 +1,4 @@
1
- import { i as parseMotionRoleValue, r as parseCssEasing } from "./roles-DWH31Bn3.js";
1
+ import { i as parseMotionRoleValue, r as parseCssEasing } from "./roles-D6hLs7Rg.js";
2
2
  import { t as cubicBezier } from "./bezier-Dko5MnTp.js";
3
3
  import { i as easeDefaults, r as durationDefaults, t as resolveTokenReferences } from "./tokenReferences-sKpv-7_O.js";
4
4
  import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
@@ -1,5 +1,5 @@
1
- import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-DRfWATFr.js";
2
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-DIaGdkD_.js";
1
+ import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-C4altnV8.js";
2
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-CoGD2lVn.js";
3
3
  import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
4
4
  import { i as isFocusable } from "./focus-x7mxEqjR.js";
5
5
  import { onScopeDispose } from "vue";
@@ -1,4 +1,4 @@
1
- import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-CegXF2Zo.js";
1
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-yu_sIa7a.js";
2
2
  import { computed, shallowRef, toValue, useId } from "vue";
3
3
  //#region src/composables/useLayer.ts
4
4
  /**
@@ -1,86 +1,5 @@
1
1
  import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
2
- //#region src/motion/inertClone.ts
3
- /**
4
- * @file inertClone.ts
5
- * @input The DOM
6
- * @output Exports `inertClone`, a deep clone that takes no part in the page,
7
- * and `paintedBackground`, the background an element shows
8
- * @position Motion foundation, internal to core. transientCopy.ts builds the
9
- * swap's and the layer exit's copies on the clone, and the List reorder
10
- * builds its drag preview on it
11
- */
12
- /** The listed controls a form can own. */
13
- const FORM_CONTROLS = "button, fieldset, input, object, output, select, textarea";
14
- function isFormAssociated(node, registry) {
15
- if (!node.localName.includes("-")) return false;
16
- return (registry?.get(node.localName))?.formAssociated === true;
17
- }
18
- /**
19
- * Paints `canvas` with `source`'s pixels at its own size. False when they
20
- * read back empty: unreadable (a WebGL canvas without
21
- * `preserveDrawingBuffer`, a tainted one) or blank.
22
- */
23
- function paintCanvas(canvas, source) {
24
- if (canvas.width === 0 || canvas.height === 0) return true;
25
- const context = canvas.getContext("2d", { willReadFrequently: true });
26
- if (context == null) return true;
27
- try {
28
- context.drawImage(source, 0, 0);
29
- const { data } = context.getImageData(0, 0, canvas.width, canvas.height);
30
- for (let index = 3; index < data.length; index += 4) if (data[index] !== 0) return true;
31
- return false;
32
- } catch {
33
- return false;
34
- }
35
- }
36
- /**
37
- * A deep clone of `element` that takes no part in the page. It has no ids or
38
- * test ids and joins no form or radio group: a copied checked radio would
39
- * uncheck the live one. No copied label names a live control, copied frames
40
- * and media load nothing, and copied elements carry no anchor name. It is
41
- * inert and hidden from assistive technology. Content holding a canvas whose
42
- * pixels read back empty is not cloned: the result is null.
43
- */
44
- function inertClone(element) {
45
- const copy = element.cloneNode(true);
46
- const sourceNodes = [element, ...element.querySelectorAll("*")];
47
- const copyNodes = [copy, ...copy.querySelectorAll("*")];
48
- for (const node of copyNodes) for (const name of [
49
- "id",
50
- "data-testid",
51
- "name",
52
- "for",
53
- "autofocus"
54
- ]) node.removeAttribute(name);
55
- const view = element.ownerDocument.defaultView;
56
- sourceNodes.forEach((source, index) => {
57
- const name = view?.getComputedStyle(source).getPropertyValue("anchor-name");
58
- if (name != null && name !== "" && name !== "none") copyNodes[index].style?.setProperty("anchor-name", "none");
59
- });
60
- const registry = element.ownerDocument.defaultView?.customElements;
61
- for (const node of copyNodes) if (node.matches(FORM_CONTROLS) || isFormAssociated(node, registry)) node.setAttribute("form", "");
62
- for (const node of copy.querySelectorAll("iframe, video, audio, source, embed, object")) for (const name of [
63
- "src",
64
- "srcdoc",
65
- "data",
66
- "autoplay"
67
- ]) node.removeAttribute(name);
68
- const sources = element.querySelectorAll("canvas");
69
- if (!Array.from(copy.querySelectorAll("canvas")).every((canvas, index) => paintCanvas(canvas, sources[index]))) return null;
70
- copy.setAttribute("aria-hidden", "true");
71
- copy.setAttribute("inert", "");
72
- copy.style.pointerEvents = "none";
73
- return copy;
74
- }
75
- /** The background `element` shows: its own, or the nearest ancestor's. */
76
- function paintedBackground(element) {
77
- for (let node = element; node; node = node.parentElement) {
78
- const color = getComputedStyle(node).backgroundColor;
79
- if (color !== "transparent" && !/^rgba\(.*,\s*0\)$/.test(color)) return color;
80
- }
81
- return "Canvas";
82
- }
83
- //#endregion
2
+ import { t as inertClone } from "./inertClone-BUK-k6-n.js";
84
3
  //#region src/motion/carryAnimations.ts
85
4
  /**
86
5
  * @file carryAnimations.ts
@@ -555,4 +474,4 @@ function wrapText(copy) {
555
474
  return [...faded];
556
475
  }
557
476
  //#endregion
558
- export { restoreScrollOffsets as a, paintedBackground as c, placeOver as i, isCopyable as n, visiblePartCopy as o, keepInherited as r, wrapText as s, inertCopy as t };
477
+ export { restoreScrollOffsets as a, placeOver as i, isCopyable as n, visiblePartCopy as o, keepInherited as r, wrapText as s, inertCopy as t };
@@ -1,4 +1,5 @@
1
1
  import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
2
+ import { n as Reorderable } from "./createReorderable-Bw3Q9mUd.js";
2
3
  import { Component, MaybeRefOrGetter, VNodeChild } from "vue";
3
4
  //#region src/List/types.d.ts
4
5
  /** 滑动露出的一侧。`leading` 是往行内末尾拖,`trailing` 是往行内开头拖。 */
@@ -72,6 +73,30 @@ interface ListProps {
72
73
  * changes at once. Without a handle the list changes at once.
73
74
  */
74
75
  animatedLayout?: AnimatedLayout;
76
+ /**
77
+ * Makes the rows reorderable, with the object `createReorderable` makes.
78
+ * Each ListItem with an `itemKey` gets a reorder handle at its end. One the
79
+ * object's `isReorderable` rejects keeps its place. Each committed move
80
+ * calls its `onReorder` once with the row's key and its index after the
81
+ * move. Apply it by rendering the rows in their new order. A drop on the
82
+ * starting place, a cancel, or a move the order does not take changes
83
+ * nothing.
84
+ *
85
+ * On a touch screen, a finger held still on a handle for a moment picks up
86
+ * its row. A flick on it still scrolls. The row stays in its place, dimmed,
87
+ * while a copy of it follows the finger. An accent line marks where it
88
+ * would land. The other rows stay still, the list scrolls near the edges,
89
+ * and on release the rows rearrange. A mouse drags a handle at once, the
90
+ * same way.
91
+ *
92
+ * Without a drag, activating a handle (a click, Space or Enter) turns on
93
+ * reorder mode for its row. Each arrow key moves it a place at once,
94
+ * reported and announced with its place and neighbours. Escape or another
95
+ * activation ends the mode, keeping the moves. While it is on, a hint
96
+ * anchored to the handle shows the moves and Done as buttons, so taps alone
97
+ * can reorder.
98
+ */
99
+ reorderable?: Reorderable;
75
100
  /**
76
101
  * Spacing density for the rows. Each `ListItem` inherits it unless the item
77
102
  * sets its own.
@@ -1,8 +1,8 @@
1
1
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
2
  import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
3
- import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-CkHMLZ34.js";
4
- import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-CfBgXWRM.js";
5
- import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-B6TvGkSO.js";
3
+ import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-DvKV21NY.js";
4
+ import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-ZTBGwYpT.js";
5
+ import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-zlwhNl9N.js";
6
6
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
7
7
  //#region src/composables/internal/useActionGroupTracking.ts
8
8
  const DISABLED = ":disabled, [aria-disabled=\"true\"]";
@@ -1,4 +1,4 @@
1
- import { l as createAnimatedLayout } from "./reportChange-CUo2YNPB.js";
1
+ import { l as createAnimatedLayout } from "./reportChange-DuOzs-8h.js";
2
2
  import { toValue } from "vue";
3
3
  //#region src/composables/useAnimatedLayout.ts
4
4
  function elementOf(value) {
@@ -1,6 +1,6 @@
1
1
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
2
2
  import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
3
- import { n as useLayerDepth, o as pushLayer } from "./layerDepth-DRfWATFr.js";
3
+ import { n as useLayerDepth, o as pushLayer } from "./layerDepth-C4altnV8.js";
4
4
  import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/layer/anchorClear.ts
6
6
  function overlapsAnchor(anchor, top, left, layer) {
@@ -175,6 +175,29 @@ function computeLayerPosition(anchor, layer, viewport, placement, alignment, gap
175
175
  function isAnchorInViewport(anchor, viewport) {
176
176
  return anchor.right > 0 && anchor.bottom > 0 && anchor.left < viewport.width && anchor.top < viewport.height;
177
177
  }
178
+ /**
179
+ * 让浮层盖在锚点原位上:浮层左上角比锚点左上角各外扩 `OVERLAP_OUTSET`,
180
+ * 宽度至少比锚点宽两倍外扩距离。浮层里第一行内容离浮层边缘也是这个距离时,
181
+ * 正好落在锚点内容原来的位置上。最终位置保持在视口内。
182
+ */
183
+ function computeOverlapPosition(anchor, layer, viewport, gutter = resolveLayerGutter()) {
184
+ const minWidth = anchor.width + 16;
185
+ const width = Math.max(layer.width, minWidth);
186
+ const top = anchor.top - 8;
187
+ const left = anchor.left - 8;
188
+ if (!isAnchorInViewport(anchor, viewport)) return {
189
+ top,
190
+ left,
191
+ placement: "below",
192
+ minWidth
193
+ };
194
+ return {
195
+ top: clamp(top, 0, viewport.height - layer.height - gutter.blockEnd),
196
+ left: clamp(left, 0, viewport.width - width - gutter.inlineEnd),
197
+ placement: "below",
198
+ minWidth
199
+ };
200
+ }
178
201
  //#endregion
179
202
  //#region src/layer/visibleViewport.ts
180
203
  /**
@@ -220,6 +243,10 @@ function usePositionedLayer(options) {
220
243
  width: layerEl.offsetWidth,
221
244
  height: options.keepAnchorClear === true ? Math.max(layerEl.offsetHeight, layerEl.scrollHeight) : layerEl.offsetHeight
222
245
  };
246
+ if (options.overlap?.value === true) {
247
+ position.value = computeOverlapPosition(anchorRect, box, viewport, gutter.value);
248
+ return;
249
+ }
223
250
  const placed = computeLayerPosition(anchorRect, box, viewport, placement.value, alignment.value, gap, gutter.value);
224
251
  const next = options.keepAnchorClear === true ? keepClearOfAnchor(placed, anchorRect, box, viewport, gap, gutter.value) : placed;
225
252
  position.value = next;
@@ -276,7 +303,11 @@ function usePositionedLayer(options) {
276
303
  } else detach();
277
304
  }, { immediate: true });
278
305
  watch([anchor, layer], update);
279
- watch([placement, alignment], update);
306
+ watch([
307
+ placement,
308
+ alignment,
309
+ () => options.overlap?.value
310
+ ], update);
280
311
  watch(gutter, update);
281
312
  onScopeDispose(detach);
282
313
  return {
@@ -1,5 +1,5 @@
1
1
  import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
2
- import { f as internals, i as getGestureHost } from "./geometry-BRW7FETc.js";
2
+ import { f as internals, i as getGestureHost } from "./geometry-BBqUriul.js";
3
3
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
4
4
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
5
5
  //#region src/gestures/gestureSync.ts
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-Ii7lSYS8.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-D4vkQb2F.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
2
  import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
3
- import { s as currentGesture } from "./layerDepth-DRfWATFr.js";
3
+ import { s as currentGesture } from "./layerDepth-C4altnV8.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
5
5
  import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
6
6
  import { r as isInputShield } from "./inputHoldState-Bav14W7v.js";
@@ -1,49 +1,15 @@
1
1
  import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
2
- import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
3
2
  import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
4
3
  import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
5
4
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
6
- import { t as animatorFor } from "./animator-Bptiubcx.js";
7
- import { t as KEYBOARD_SPRING } from "./springs-CPk0tpwL.js";
5
+ import { t as animatorFor } from "./animator-i7djdtNK.js";
6
+ import { t as KEYBOARD_SPRING } from "./springs-B5hVbZta.js";
8
7
  import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
8
+ import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
9
9
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
10
10
  import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
11
- import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-BCzVooOd.js";
11
+ import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-BKGLLMuU.js";
12
12
  import { readonly, shallowRef, toValue, watch } from "vue";
13
- //#region src/utils/scrollingAncestor.ts
14
- /**
15
- * @file scrollingAncestor.ts
16
- * @input An element, and an optional ancestor where the walk stops.
17
- * @output The element's nearest ancestor that scrolls on the block axis, and
18
- * `nearestScroller`, which falls back to the document's scroller.
19
- * @position Shared by the keyboard module's reveals, Outline's scroll spy
20
- * and the List reorder's edge autoscroll.
21
- */
22
- /**
23
- * The nearest ancestor of `element` that scrolls on the block axis: its
24
- * `overflow-y` lets it scroll and its content is taller than its box. The walk
25
- * ends after `bound` when one is given, and at the document's root otherwise.
26
- * Null when no ancestor in that range scrolls.
27
- */
28
- function scrollingAncestor(element, bound) {
29
- const view = element.ownerDocument.defaultView;
30
- if (view == null) return null;
31
- for (let node = element.parentElement; node != null; node = node.parentElement) {
32
- if (SCROLLABLE_OVERFLOW.has(view.getComputedStyle(node).overflowY) && node.scrollHeight > node.clientHeight) return node;
33
- if (node === bound) return null;
34
- }
35
- return null;
36
- }
37
- /**
38
- * The element that scrolls `element` into view: its nearest ancestor that
39
- * scrolls on the block axis, or else the document's scroller.
40
- */
41
- function nearestScroller(element) {
42
- const doc = element.ownerDocument;
43
- const scroller = scrollingAncestor(element);
44
- return scroller == null || scroller === doc.body || scroller === doc.documentElement ? doc.scrollingElement ?? doc.documentElement : scroller;
45
- }
46
- //#endregion
47
13
  //#region src/keyboard/keyboardRide.ts
48
14
  function liftFor(target, animator, height, offset, win, isHostOwned) {
49
15
  if (!isHostOwned && (!isDockedContainer(target) || isMovedByApp(target))) return 0;
@@ -1,9 +1,9 @@
1
1
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
2
  import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
3
3
  import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
4
- import { o as UIKIT_PRESS } from "./gestures-yKyyMqeQ.js";
5
- import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-CfBgXWRM.js";
6
- import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-B6TvGkSO.js";
4
+ import { o as UIKIT_PRESS } from "./gestures-CP1MX1rx.js";
5
+ import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-ZTBGwYpT.js";
6
+ import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-zlwhNl9N.js";
7
7
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
8
8
  import "../styles/pressable.css";
9
9
  //#region src/composables/internal/pressButton.ts
@@ -1,11 +1,11 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
- import { t as animatorFor } from "./animator-Bptiubcx.js";
3
- import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
4
- import { s as springs } from "./springs-CPk0tpwL.js";
2
+ import { t as animatorFor } from "./animator-i7djdtNK.js";
3
+ import { t as resolveMotion } from "./resolveMotion-BCM4CX-R.js";
4
+ import { s as springs } from "./springs-B5hVbZta.js";
5
5
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
6
- import { t as project } from "./projection-qPcLQcwK.js";
7
- import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-DpbFJbto.js";
8
- import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-DDd5ElTe.js";
6
+ import { t as project } from "./projection-DzrWyxL1.js";
7
+ import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-6oZZNYYM.js";
8
+ import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-C-2erWWl.js";
9
9
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
10
10
  //#region src/composables/useHotkeys.ts
11
11
  const KEY_ALIASES = {
@@ -1,11 +1,11 @@
1
1
  import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
3
- import { n as useLayer } from "./tooltipTriggerRules-DIaGdkD_.js";
4
- import { t as _sfc_main$1 } from "./LayerContentBoundary-D67fobWl.js";
3
+ import { n as useLayer } from "./tooltipTriggerRules-CoGD2lVn.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-iYtfCpG9.js";
5
5
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-C_mowlpv.js";
8
- import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-GGASOH_U.js";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Obcx-oKN.js";
8
+ import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-R21SPfWy.js";
9
9
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
10
10
  import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
11
11
  import "../styles/tooltip.css";
@@ -1,5 +1,5 @@
1
1
  import { t as armClickGuard } from "./clickGuard-BkegH2NW.js";
2
- import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-B6TvGkSO.js";
2
+ import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-zlwhNl9N.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";
5
5
  /** 不长:热区就是目标本身。 */
@@ -1,5 +1,5 @@
1
1
  import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
2
- import { s as currentGesture } from "./layerDepth-DRfWATFr.js";
2
+ import { s as currentGesture } from "./layerDepth-C4altnV8.js";
3
3
  import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
4
4
  import { onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/composables/internal/tapRecognizer.ts
@@ -1,7 +1,7 @@
1
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-DIaGdkD_.js";
1
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-CoGD2lVn.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { n as tooltipPresentInterestKey } from "./useTooltip-DCp4sTM1.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-BdG9g6c6.js";
3
+ import { n as tooltipPresentInterestKey } from "./useTooltip-B2RrDbtI.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-DPiEYfao.js";
5
5
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
6
6
  import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
7
7
  //#region src/Text/TruncationTooltip.vue
@@ -5,7 +5,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
5
5
  import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
6
6
  import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
7
7
  import { t as _sfc_main$3 } from "./Spinner-D1adu3uH.js";
8
- import { t as createStillPointerGate } from "./stillPointerGate-BU1CKW7m.js";
8
+ import { t as createStillPointerGate } from "./stillPointerGate-DXFzBeMy.js";
9
9
  import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
10
10
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
11
11
  import "../styles/layer.css";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.36.2",
4
+ "version": "0.38.0",
5
5
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",