@astryx-vue/core 0.32.0 → 0.33.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 (328) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-C5pc5nQN.js → AlertDialog-JmxbMkeV.js} +8 -8
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-B7dkDyY8.js → AppShell-CPQDndnd.js} +5 -6
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-CYW9ZTD3.js → Avatar-B-gSpEw4.js} +1 -1
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-Dd-yDDNz.js → AvatarGroup-CCFMtKks.js} +1 -1
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-BNrs2Ptl.js → Banner-BJETFZr7.js} +1 -1
  14. package/dist/BottomSheet/index.d.ts +1 -1
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-Z92IvLBU.js → BottomSheet-C6pQBvnU.js} +10 -38
  17. package/dist/{BottomSheet-CAJJ8cR5.js → BottomSheet-C_LoskZt.js} +3 -3
  18. package/dist/Breadcrumbs/index.d.ts +2 -2
  19. package/dist/Breadcrumbs/index.js +2 -2
  20. package/dist/{Breadcrumbs-CnvaPn8M.js → Breadcrumbs-BrxMrKHO.js} +1 -1
  21. package/dist/Button/index.d.ts +1 -1
  22. package/dist/Button/index.js +1 -1
  23. package/dist/{Button-CzMWqCpJ.js → Button-X7k1WCkW.js} +4 -4
  24. package/dist/ButtonGroup/index.d.ts +1 -1
  25. package/dist/ButtonGroup/index.js +1 -1
  26. package/dist/{ButtonGroup-oI99JAyN.js → ButtonGroup-D5E7QLWI.js} +2 -2
  27. package/dist/Calendar/index.d.ts +1 -1
  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-BjyedZ0Y.js → Carousel-Bpbx-2DK.js} +1 -1
  32. package/dist/Chat/index.d.ts +1 -1
  33. package/dist/Chat/index.js +1 -1
  34. package/dist/{Chat-CJr2RIyc.js → Chat-D7Q2z9W2.js} +5 -5
  35. package/dist/CheckboxInput/index.d.ts +1 -1
  36. package/dist/CheckboxInput/index.js +1 -1
  37. package/dist/{CheckboxInput-BrbQTrL-.js → CheckboxInput-Cxtmdymo.js} +3 -3
  38. package/dist/CheckboxList/index.d.ts +1 -1
  39. package/dist/CheckboxList/index.js +1 -1
  40. package/dist/{CheckboxListItem-CrAzFR4x.js → CheckboxListItem-C75nzKE8.js} +5 -5
  41. package/dist/ClickableCard/index.d.ts +1 -1
  42. package/dist/ClickableCard/index.js +1 -1
  43. package/dist/{ClickableCard-B86P2aiM.js → ClickableCard-CLXCxaxo.js} +1 -1
  44. package/dist/Code/index.d.ts +1 -1
  45. package/dist/Code/index.js +1 -1
  46. package/dist/{CodeBlock-pWPw1-iu.js → CodeBlock-Bgxy15iD.js} +1 -1
  47. package/dist/Collapsible/index.d.ts +1 -1
  48. package/dist/Collapsible/index.js +1 -1
  49. package/dist/{Collapsible-DXl9RRaX.js → Collapsible-Cf9evVsQ.js} +3 -3
  50. package/dist/CommandPalette/index.d.ts +1 -1
  51. package/dist/CommandPalette/index.js +1 -1
  52. package/dist/{CommandPalette-DnbvnT4c.js → CommandPalette-CniaCqex.js} +2 -2
  53. package/dist/ComplexSelector/index.d.ts +1 -1
  54. package/dist/ComplexSelector/index.js +1 -1
  55. package/dist/{ComplexSelector-DWQbuovE.js → ComplexSelector-DYeYZKON.js} +2 -2
  56. package/dist/ContextMenu/index.d.ts +2 -2
  57. package/dist/ContextMenu/index.js +2 -2
  58. package/dist/{ContextMenu-DfoShDVW.js → ContextMenu-Bp7G_Ys2.js} +6 -6
  59. package/dist/DateInput/index.d.ts +1 -1
  60. package/dist/DateInput/index.js +1 -1
  61. package/dist/{DateInput-D9_QsZMj.js → DateInput-BmEbQA1z.js} +4 -4
  62. package/dist/DateRangeInput/index.d.ts +1 -1
  63. package/dist/DateRangeInput/index.js +1 -1
  64. package/dist/{DateRangeInput-8P8i8aVI.js → DateRangeInput-CoA1PuGz.js} +3 -3
  65. package/dist/DateTimeInput/index.d.ts +1 -1
  66. package/dist/DateTimeInput/index.js +1 -1
  67. package/dist/{DateTimeInput-C2XWslHp.js → DateTimeInput-CL0sp0ES.js} +5 -5
  68. package/dist/Dialog/index.d.ts +1 -1
  69. package/dist/Dialog/index.js +3 -3
  70. package/dist/{Dialog-Cet6PTnf.js → Dialog-C46xHdDO.js} +1 -1
  71. package/dist/{Dialog-B1Hlr0x_.js → Dialog-uzq24bX_.js} +2 -2
  72. package/dist/{DialogHeader-BiHQct4G.js → DialogHeader-E0auaRKt.js} +2 -2
  73. package/dist/Drawer/index.d.ts +1 -1
  74. package/dist/Drawer/index.js +1 -1
  75. package/dist/{Drawer-Bm3l7Dey.js → Drawer-DfhhdBMZ.js} +2 -2
  76. package/dist/DropdownMenu/index.d.ts +2 -2
  77. package/dist/DropdownMenu/index.js +2 -2
  78. package/dist/{DropdownMenu-BaRXEFLa.js → DropdownMenu-DrJpONZH.js} +8 -8
  79. package/dist/{DropdownMenuRadioItem.vue-B4iwMWWD.d.ts → DropdownMenuRadioItem.vue-BDDI4EZK.d.ts} +1 -1
  80. package/dist/EmptyState/index.js +1 -1
  81. package/dist/{EmptyState-CXDlpIdI.js → EmptyState-C8WQltQk.js} +2 -2
  82. package/dist/Field/index.js +3 -3
  83. package/dist/{Field-njr7AUcW.js → Field-CrnwM-2A.js} +1 -1
  84. package/dist/{FieldInfoTip-DLqZykVm.js → FieldInfoTip-DqQP1T-d.js} +1 -1
  85. package/dist/{FieldLabel-CyL5D1lu.js → FieldLabel-CLxclKT2.js} +1 -1
  86. package/dist/FileInput/index.d.ts +1 -1
  87. package/dist/FileInput/index.js +1 -1
  88. package/dist/{FileInput-CtqZSRdh.js → FileInput-BHFjo_zo.js} +3 -3
  89. package/dist/Heading/index.js +1 -1
  90. package/dist/{Heading-BXTbW_px.js → Heading-jYno4L3t.js} +1 -1
  91. package/dist/HoverCard/index.d.ts +1 -1
  92. package/dist/HoverCard/index.js +1 -1
  93. package/dist/{HoverCard-zVUEeqF2.js → HoverCard-D_6idU4r.js} +4 -4
  94. package/dist/IconButton/index.js +1 -1
  95. package/dist/{IconButton-CoZFp0CP.js → IconButton-B6m42AlL.js} +1 -1
  96. package/dist/InfoTip/index.d.ts +1 -1
  97. package/dist/InfoTip/index.js +1 -1
  98. package/dist/{InfoTip-Eg2IGZJw.js → InfoTip-CUkTHca2.js} +2 -2
  99. package/dist/{InputClearButton-CBsL91my.js → InputClearButton-s_MEW25n.js} +1 -1
  100. package/dist/InputGroup/index.d.ts +1 -1
  101. package/dist/InputGroup/index.js +1 -1
  102. package/dist/{InputGroup-BE83-MCX.js → InputGroup-42PbUmg-.js} +1 -1
  103. package/dist/{Item-C9u_kQUO.js → Item-tVHjgQDe.js} +2 -1
  104. package/dist/{LayerContentBoundary-DmRI6Bg0.js → LayerContentBoundary-XvH9wmdg.js} +1 -1
  105. package/dist/Layout/index.d.ts +1 -1
  106. package/dist/Layout/index.js +2 -2
  107. package/dist/{Layout-094k14rN.js → Layout-DJ6CQLw2.js} +1 -1
  108. package/dist/{LayoutPanel-BPboQAJj.js → LayoutPanel-Bqh82ULc.js} +22 -2
  109. package/dist/Lightbox/index.js +1 -1
  110. package/dist/{Lightbox-5PtYb0r4.js → Lightbox-Bur4pvRo.js} +2 -2
  111. package/dist/Link/index.d.ts +1 -1
  112. package/dist/Link/index.js +1 -1
  113. package/dist/{Link-BzXVGE7G.js → Link-DVslj_GH.js} +2 -2
  114. package/dist/List/index.d.ts +2 -2
  115. package/dist/List/index.js +2 -2
  116. package/dist/ListItem-B60jTcXy.js +530 -0
  117. package/dist/Markdown/index.d.ts +1 -1
  118. package/dist/Markdown/index.js +1 -1
  119. package/dist/{Markdown-HDZPj9Vw.js → Markdown-Baq5r2Mp.js} +3 -3
  120. package/dist/MobileNav/index.js +1 -1
  121. package/dist/{MobileNavToggle-CrUf5UPQ.js → MobileNavToggle-BV3fmVmO.js} +2 -2
  122. package/dist/MoreMenu/index.d.ts +1 -1
  123. package/dist/MoreMenu/index.js +1 -1
  124. package/dist/{MoreMenu-DzpufGyj.js → MoreMenu-DIx487BZ.js} +6 -6
  125. package/dist/MultiSelector/index.d.ts +1 -1
  126. package/dist/MultiSelector/index.js +1 -1
  127. package/dist/{MultiSelector-BS6wxlx4.js → MultiSelector-eJSx3iZR.js} +8 -8
  128. package/dist/{NavDisclosure-BM0dJGLA.js → NavDisclosure-B8G8t325.js} +1 -1
  129. package/dist/{NavHeadingSurface-CuQnoV_V.js → NavHeadingSurface-BkNP_1au.js} +1 -1
  130. package/dist/NavItem/index.d.ts +1 -1
  131. package/dist/NavItem/index.js +1 -1
  132. package/dist/{NavItem-D4xHjSTo.js → NavItem-B7xpLk_x.js} +1 -1
  133. package/dist/NavMenu/index.js +3 -3
  134. package/dist/{NavMenu-fXsoJKjW.js → NavMenu-C6OU4a5Z.js} +3 -3
  135. package/dist/{NavMenuItem-BKY6eRkz.js → NavMenuItem-BZuajqYL.js} +3 -3
  136. package/dist/NumberInput/index.d.ts +1 -1
  137. package/dist/NumberInput/index.js +1 -1
  138. package/dist/{NumberInput-Ueted2wi.js → NumberInput-Dd4QQGZp.js} +3 -3
  139. package/dist/Outline/index.js +1 -1
  140. package/dist/{Outline-CnSt_KvS.js → Outline-coqRQ06s.js} +4 -3
  141. package/dist/OverflowList/index.d.ts +1 -1
  142. package/dist/OverflowList/index.js +1 -1
  143. package/dist/{OverflowList-KpebInhH.js → OverflowList-DS7cmNsr.js} +2 -2
  144. package/dist/Pagination/index.d.ts +1 -1
  145. package/dist/Pagination/index.js +1 -1
  146. package/dist/{Pagination-BliQ5RGN.js → Pagination-BWPJfO4_.js} +2 -2
  147. package/dist/Popover/index.d.ts +1 -1
  148. package/dist/Popover/index.js +1 -1
  149. package/dist/{Popover-DXfXGrWG.js → Popover-DnrZk22Y.js} +8 -8
  150. package/dist/PowerSearch/index.d.ts +1 -1
  151. package/dist/PowerSearch/index.js +1 -1
  152. package/dist/{PowerSearch-CmJKFEEu.js → PowerSearch-BV5n_nig.js} +26 -26
  153. package/dist/ProgressBar/index.d.ts +1 -1
  154. package/dist/ProgressBar/index.js +1 -1
  155. package/dist/{ProgressBar-Dj1ucJxG.js → ProgressBar-C-HzrG8T.js} +1 -1
  156. package/dist/Radio/index.d.ts +1 -1
  157. package/dist/Radio/index.js +1 -1
  158. package/dist/{RadioGroup-BLOjBRrM.js → RadioGroup-B-AkUDI8.js} +4 -4
  159. package/dist/RadioList/index.d.ts +1 -1
  160. package/dist/RadioList/index.js +1 -1
  161. package/dist/{RadioListItem-CHxTpBva.js → RadioListItem-DhmF7YNL.js} +1 -1
  162. package/dist/Resizable/index.d.ts +1 -1
  163. package/dist/Resizable/index.js +1 -1
  164. package/dist/{ResizeHandle-BMSbAFdP.js → ResizeHandle-ezvpdXTS.js} +21 -4
  165. package/dist/ScrollableArea/index.d.ts +1 -1
  166. package/dist/SegmentedControl/index.js +1 -1
  167. package/dist/{SegmentedControl-C-F5dkcG.js → SegmentedControl-BdbqWErg.js} +2 -2
  168. package/dist/SelectableCard/index.d.ts +1 -1
  169. package/dist/SelectableCard/index.js +1 -1
  170. package/dist/{SelectableCard-CwfpgsS8.js → SelectableCard-YzN6trLf.js} +1 -1
  171. package/dist/Selector/index.d.ts +1 -1
  172. package/dist/Selector/index.js +1 -1
  173. package/dist/{Selector-OhIdsI8A.js → Selector-BNr_kb6Q.js} +6 -6
  174. package/dist/SideNav/index.d.ts +1 -1
  175. package/dist/SideNav/index.js +2 -2
  176. package/dist/{SideNav-CcdDU-hP.js → SideNav-FEpgj5dB.js} +9 -11
  177. package/dist/Slider/index.js +1 -1
  178. package/dist/{Slider-DjbWQ1wn.js → Slider-DaHQhbA7.js} +2 -2
  179. package/dist/Stack/index.d.ts +1 -1
  180. package/dist/StatusDot/index.js +1 -1
  181. package/dist/{StatusDot-Bta_bpaZ.js → StatusDot-B7T0et3H.js} +1 -1
  182. package/dist/Stepper/index.js +1 -1
  183. package/dist/{Stepper-CWluGqBs.js → Stepper-C3ZFN-Gp.js} +1 -1
  184. package/dist/Switch/index.d.ts +1 -1
  185. package/dist/Switch/index.js +1 -1
  186. package/dist/{Switch-D4ojsj_l.js → Switch-B8HRxp3u.js} +2 -2
  187. package/dist/TabList/index.d.ts +1 -1
  188. package/dist/TabList/index.js +1 -1
  189. package/dist/{TabList-S99zXoRN.js → TabList-BOQ0bvE3.js} +3 -3
  190. package/dist/Table/index.d.ts +2 -2
  191. package/dist/Table/index.js +1 -1
  192. package/dist/{Table-3NTjPpHc.js → Table-BOcDJ2a_.js} +12 -13
  193. package/dist/Text/index.js +1 -1
  194. package/dist/{Text-DNKNlENe.js → Text-DqiV40AF.js} +1 -1
  195. package/dist/TextArea/index.d.ts +1 -1
  196. package/dist/TextArea/index.js +1 -1
  197. package/dist/{TextArea-DnSmL0A8.js → TextArea-Vrx7Os5P.js} +4 -4
  198. package/dist/TextInput/index.d.ts +1 -1
  199. package/dist/TextInput/index.js +1 -1
  200. package/dist/{TextInput-DyHEMYld.js → TextInput-DOeUROX8.js} +4 -4
  201. package/dist/Thumbnail/index.js +1 -1
  202. package/dist/{Thumbnail-D8GlIdNm.js → Thumbnail-BF53Z6jm.js} +3 -3
  203. package/dist/{TimeField-ADeT0OA1.js → TimeField-CkGXOHTG.js} +4 -4
  204. package/dist/TimeInput/index.d.ts +1 -1
  205. package/dist/TimeInput/index.js +1 -1
  206. package/dist/{TimeInput-C1gzJGHk.js → TimeInput-DCksf1di.js} +2 -2
  207. package/dist/Timer/index.d.ts +1 -1
  208. package/dist/Timer/index.js +1 -1
  209. package/dist/{Timer-DhI2oV5L.js → Timer-DDrODKow.js} +1 -1
  210. package/dist/Timestamp/index.d.ts +1 -1
  211. package/dist/Timestamp/index.js +1 -1
  212. package/dist/{Timestamp-CTZSVsmd.js → Timestamp-CCzREXNN.js} +3 -3
  213. package/dist/Toast/index.js +1 -1
  214. package/dist/{Toast-DUqDW07c.js → Toast-CoAEdN_I.js} +2 -2
  215. package/dist/ToggleButton/index.d.ts +1 -1
  216. package/dist/ToggleButton/index.js +1 -1
  217. package/dist/{ToggleButton-BMBH2tmu.js → ToggleButton-DAW-pV4r.js} +3 -3
  218. package/dist/Token/index.d.ts +1 -1
  219. package/dist/Token/index.js +1 -1
  220. package/dist/{Token-DTGUCgpn.js → Token-DZmmnHEj.js} +1 -1
  221. package/dist/Tokenizer/index.d.ts +1 -1
  222. package/dist/Tokenizer/index.js +1 -1
  223. package/dist/{Tokenizer-C0CdEzQT.js → Tokenizer-DsPtN6tZ.js} +13 -13
  224. package/dist/Toolbar/index.d.ts +2 -2
  225. package/dist/Tooltip/index.d.ts +1 -1
  226. package/dist/Tooltip/index.js +2 -2
  227. package/dist/{Tooltip-CEyd_iFa.js → Tooltip-DhV7MkwU.js} +1 -1
  228. package/dist/TopNav/index.d.ts +1 -1
  229. package/dist/TopNav/index.js +1 -1
  230. package/dist/{TopNav-BObecD_X.js → TopNav-Djli-IEz.js} +5 -5
  231. package/dist/TreeList/index.js +1 -1
  232. package/dist/{TreeList-CsgXzBdm.js → TreeList-BGHHEcg1.js} +4 -4
  233. package/dist/Typeahead/index.d.ts +1 -1
  234. package/dist/Typeahead/index.js +2 -2
  235. package/dist/{Typeahead-C_0dTmaf.js → Typeahead-Dowds5Z-.js} +6 -6
  236. package/dist/{VelocityTracker-DgjmootV.js → VelocityTracker-DVbtTSXR.js} +1 -1
  237. package/dist/{accessibleName-Cq7krRE-.js → accessibleName-Bjt5L8jX.js} +1 -1
  238. package/dist/{animator-C0kqgDUJ.js → animator-DLWdws2R.js} +3 -2
  239. package/dist/{assertOptions-Km_9Y5rI.js → assertOptions-BCEzojGr.js} +1 -1
  240. package/dist/composables/index.d.ts +3 -3
  241. package/dist/composables/index.js +12 -12
  242. package/dist/{composables-kHI1dSq2.js → composables-B7FrCjk6.js} +11 -7
  243. package/dist/{context-ZWA02GaM.js → context-BcJmSPj1.js} +1 -2
  244. package/dist/cssValues-Cr6PhYTx.js +223 -0
  245. package/dist/{pressGesture-BzIBmKF2.js → gestures-C8VhWve7.js} +2 -296
  246. package/dist/{index-DogWVRJi.d.ts → index-0RIgvtdm.d.ts} +1 -1
  247. package/dist/{index-CQi9WGWE.d.ts → index-AgTJRqUY.d.ts} +2 -2
  248. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  249. package/dist/{index-CdRxeyhB.d.ts → index-BU1HdDER.d.ts} +2 -2
  250. package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
  251. package/dist/{index-C1e8LNx2.d.ts → index-BjqoHLMq.d.ts} +1 -1
  252. package/dist/{index-Bxus0zuz.d.ts → index-BtPaMbkN.d.ts} +11 -11
  253. package/dist/{index-4m5X7IYX.d.ts → index-BvdhRgke.d.ts} +98 -98
  254. package/dist/{index-etx25Eq-.d.ts → index-Bwh8O-v8.d.ts} +1 -1
  255. package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
  256. package/dist/{index-FeZXsFO-.d.ts → index-CBOv5j3c.d.ts} +3 -3
  257. package/dist/{index-Cj-Ob5jw.d.ts → index-CG6dbyeb.d.ts} +10 -10
  258. package/dist/{index-BpFzfJbo.d.ts → index-COgrQZIL.d.ts} +2 -2
  259. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  260. package/dist/{index-BIiG1CF_.d.ts → index-C_iTVOHQ.d.ts} +4 -4
  261. package/dist/{index-B83v2qNb.d.ts → index-Casdfb9N.d.ts} +4 -4
  262. package/dist/{index-Bzi3A980.d.ts → index-ChqMaV6N.d.ts} +1 -1
  263. package/dist/{index-DGe-ApvN.d.ts → index-CuW4AQ7M.d.ts} +3 -3
  264. package/dist/{index-DbNGGCM0.d.ts → index-DAz4l6Jw.d.ts} +1 -1
  265. package/dist/{index-T5bzxQ30.d.ts → index-DCyYldjP.d.ts} +1 -1
  266. package/dist/{index-BWWirRm3.d.ts → index-DHUCHxn2.d.ts} +1 -1
  267. package/dist/{index-CHLZPpjQ.d.ts → index-DYabo8TI.d.ts} +3 -3
  268. package/dist/{index-o3JHyrk8.d.ts → index-DjSQLT53.d.ts} +1 -1
  269. package/dist/{index-Dk50Zh3F.d.ts → index-DofC9Rll.d.ts} +2 -2
  270. package/dist/{index-JE1HrzdJ.d.ts → index-DsWEyz1N.d.ts} +1 -1
  271. package/dist/{index-C943VIzi.d.ts → index-DvCLTiDV.d.ts} +1 -1
  272. package/dist/{index-ILJ7sKx3.d.ts → index-QC9FDUDA.d.ts} +4 -4
  273. package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
  274. package/dist/{index-DIw5D3zj.d.ts → index-ZKBj_1nu.d.ts} +2 -2
  275. package/dist/{index-DAEgHJTK.d.ts → index-aHC2C89h.d.ts} +4 -4
  276. package/dist/{index-Cm36VS1A.d.ts → index-mK1ICsVg.d.ts} +2 -2
  277. package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
  278. package/dist/index.d.ts +37 -37
  279. package/dist/index.js +103 -103
  280. package/dist/landing-Dx9vPF0t.js +51 -0
  281. package/dist/{layerDepth-8jb4An1z.js → layerDepth-BdZX0xSD.js} +1 -1
  282. package/dist/{lazyBottomSheet-CNYA5qOy.js → lazyBottomSheet-BUXYsz28.js} +1 -1
  283. package/dist/linearEasing-BxWjPql6.js +282 -0
  284. package/dist/{pressFeedback-9dqGYjxv.js → pressFeedback-CPzGi_88.js} +2 -1
  285. package/dist/pressGesture-BV4fYPIG.js +103 -0
  286. package/dist/{batch-DPlrpYU6.js → reportChange-BkOEttEP.js} +763 -4
  287. package/dist/resizableChannel-DS0idC-X.js +388 -0
  288. package/dist/resolveMotion-BLdMNTpf.js +117 -0
  289. package/dist/resolveSnapPoint-DygD-wmL.js +110 -0
  290. package/dist/roles-CPMsH5Ob.js +196 -0
  291. package/dist/rubberBand-DecgmtDj.js +123 -0
  292. package/dist/{resolveSnapPoint-DdZyBkT4.js → springs-BR66JuIm.js} +2 -182
  293. package/dist/{stillPointerGate-CpzpYNqy.js → stillPointerGate-BChxtcd6.js} +1 -1
  294. package/dist/{themeTiming-D1U0redl.js → themeTiming-BA_wpgEn.js} +1 -1
  295. package/dist/{tooltipFocusRules-BfnTnTpn.js → tooltipFocusRules-CU8eUu3v.js} +2 -2
  296. package/dist/{tooltipTriggerRules-BRdKWVzo.js → tooltipTriggerRules-CKfpQu9d.js} +1 -1
  297. package/dist/{types-ClOMFbqC.d.ts → types-BHHT6Bho.d.ts} +17 -0
  298. package/dist/{useActionGroupTracking-CLFF7FI2.js → useActionGroupTracking-iv0p__dY.js} +3 -3
  299. package/dist/{useAnimatedLayout-DWWc31RR.js → useAnimatedLayout-BC1mJaxA.js} +1 -1
  300. package/dist/{useAttachment-BuNyeUXy.js → useAttachment-BohgLE3o.js} +3 -3
  301. package/dist/{useCombobox-DkwiskdE.js → useCombobox-BYRrwLe-.js} +1 -1
  302. package/dist/{useDismiss-fhWaGqY8.js → useDismiss-Qq0hUJoO.js} +1 -1
  303. package/dist/{useFocusTrap-DT2UCZd-.js → useFocusTrap-CX-qEF-G.js} +1 -1
  304. package/dist/{useInputStatusIcon-B1i0sFKu.js → useInputStatusIcon-CYvxaJvt.js} +1 -1
  305. package/dist/{useMenuPress-CBtTaYOS.js → useMenuPress-DDvcJNRd.js} +2 -2
  306. package/dist/{usePressFeedback-DHdmAsMp.js → usePressFeedback-BuyFZkQO.js} +1 -1
  307. package/dist/{useResizable-AfPBAq5c.js → useResizable-BL7wxH1p.js} +411 -85
  308. package/dist/{useResizable-CJd4JkbJ.d.ts → useResizable-CKDaU_se.d.ts} +10 -8
  309. package/dist/{useTooltip-llyJd1q6.js → useTooltip-CgJi5QQW.js} +4 -4
  310. package/dist/{useTouchHitArea-SY1ITxSJ.js → useTouchHitArea-Dsz80HzY.js} +1 -1
  311. package/dist/{useTouchTriggerInternal-DzsFiDjb.js → useTouchTriggerInternal-BapohoUw.js} +1 -1
  312. package/dist/{useTruncationTooltip-BFm7XgvO.js → useTruncationTooltip-x1cQd8of.js} +3 -3
  313. package/dist/{useTypeahead-8Y5m41VA.js → useTypeahead-CZuT8Niw.js} +1 -1
  314. package/dist/{useTypeaheadMenuConfig-Cy-gOjVd.js → useTypeaheadMenuConfig-BMd42XKb.js} +2 -2
  315. package/package.json +1 -1
  316. package/styles/list.css +45 -0
  317. package/styles/pressable.css +13 -0
  318. package/styles/resize-handle.css +2 -0
  319. package/styles/tree-list.css +21 -0
  320. package/dist/ListItem-_lOmngHp.js +0 -202
  321. package/dist/edge-DFaE6rUg.js +0 -164
  322. package/dist/edgeRide-UdNxbwxY.js +0 -500
  323. package/dist/handle-CwxCHapJ.js +0 -22
  324. package/dist/landing-CSCE9afT.js +0 -105
  325. package/dist/linearEasing-BiRVC8Mq.js +0 -98
  326. package/dist/resizableChannel-LElsNkSY.js +0 -33
  327. package/dist/resolveMotion-B9NDPeUz.js +0 -508
  328. package/dist/{index-D8lv2BiD.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -1,13 +1,13 @@
1
1
  import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
+ import { a as resizablePropsOf, d as regionOfProps, o as resizeHandleBeside } from "./resizableChannel-DS0idC-X.js";
2
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
- import { a as resizeHandleBeside, i as resizablePropsOf } from "./resizableChannel-LElsNkSY.js";
4
4
  import { a as layoutSlotsKey, c as useLayoutContainer, i as layoutDividerKey, l as useLayoutDividers, n as layoutAreaKey, s as useLayoutArea, u as useLayoutSlots } from "./context-D-Hwh-Jf.js";
5
5
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
6
6
  import { a as spacingVariable, o as supportsInternalContentWidth, t as formatSize } from "./size-BfginNaZ.js";
7
7
  import { t as useScrollRegionProps } from "./useScrollRegionProps-DwkPUb-O.js";
8
8
  import { t as layoutMessages } from "./layout-DhX4-SyE.js";
9
9
  import { n as noteFocusWithin, r as useFocusLeavingChange, t as moveFocusLeftBehind } from "./focusLeaving-DMkbxFkF.js";
10
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeStyle, openBlock, provide, renderSlot, unref, useAttrs, useSlots, useTemplateRef, withCtx } from "vue";
10
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useAttrs, useSlots, useTemplateRef, watch, withCtx } from "vue";
11
11
  import "../styles/layout.css";
12
12
  //#region src/Layout/LayoutRegion.vue
13
13
  const _sfc_main$4 = /*@__PURE__*/ defineComponent({
@@ -345,6 +345,26 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
345
345
  const area = useLayoutArea();
346
346
  const slots = useLayoutSlots();
347
347
  __expose({ element: root });
348
+ const paneRegion = computed(() => resizable.value == null ? void 0 : regionOfProps(resizable.value));
349
+ let committedWidth = effectiveWidth.value;
350
+ const pane = {
351
+ get element() {
352
+ return root.value;
353
+ },
354
+ renderedWidth: () => committedWidth,
355
+ contentFacingEdge: () => area.value === "end" ? "inline-start" : "inline-end"
356
+ };
357
+ onMounted(() => paneRegion.value?.attach(pane));
358
+ watch(paneRegion, (next, previous) => {
359
+ previous?.attach(null);
360
+ next?.attach(pane);
361
+ }, { flush: "post" });
362
+ onBeforeUnmount(() => paneRegion.value?.attach(null));
363
+ watch(isZeroWidth, (toCollapsed) => paneRegion.value?.beforeChange(toCollapsed), { flush: "pre" });
364
+ watch(effectiveWidth, (width) => {
365
+ committedWidth = width;
366
+ paneRegion.value?.committed();
367
+ }, { flush: "post" });
348
368
  const width = computed(() => formatSize(effectiveWidth.value));
349
369
  const collapse = computed(() => !props.hasDivider && props.padding == null && !isZeroWidth.value);
350
370
  const isRegionCollapsed = computed(() => resizable.value?._isCollapsed === true);
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as useLightbox } from "../Lightbox-5PtYb0r4.js";
1
+ import { n as _sfc_main, t as useLightbox } from "../Lightbox-Bur4pvRo.js";
2
2
  export { _sfc_main as Lightbox, useLightbox };
@@ -1,7 +1,7 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
2
  import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
3
- import { t as useFocusTrap } from "./useFocusTrap-DT2UCZd-.js";
4
- import { t as _sfc_main$3 } from "./IconButton-CoZFp0CP.js";
3
+ import { t as useFocusTrap } from "./useFocusTrap-CX-qEF-G.js";
4
+ import { t as _sfc_main$3 } from "./IconButton-B6m42AlL.js";
5
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
6
  import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
7
7
  import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-CEvrMbxH.js";
@@ -1,3 +1,3 @@
1
1
  import { _ as LinkWeight, f as LinkColor, g as LinkType, h as LinkSize, m as LinkRoot, p as LinkProps } from "../index-Dc52pmSr.js";
2
- import { ia as _default } from "../index-4m5X7IYX.js";
2
+ import { ia as _default } from "../index-BvdhRgke.js";
3
3
  export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Link-BzXVGE7G.js";
1
+ import { t as _sfc_main } from "../Link-DVslj_GH.js";
2
2
  export { _sfc_main as Link };
@@ -1,11 +1,11 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-DHdmAsMp.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-BuyFZkQO.js";
2
2
  import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
3
3
  import { t as _sfc_main$1 } from "./Icon-Dk0jccgU.js";
4
4
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
5
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
6
6
  import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
7
7
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
8
- import { t as _sfc_main$3 } from "./Tooltip-CEyd_iFa.js";
8
+ import { t as _sfc_main$3 } from "./Tooltip-DhV7MkwU.js";
9
9
  import { t as TextClampContext } from "./textClampContext-o3-nLErq.js";
10
10
  import { t as navMessages } from "./nav-DpKQUHqR.js";
11
11
  import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useAttrs, withCtx } from "vue";
@@ -1,3 +1,3 @@
1
- import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-ClOMFbqC.js";
2
- import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-B83v2qNb.js";
1
+ import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-BHHT6Bho.js";
2
+ import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-Casdfb9N.js";
3
3
  export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemSwipeAction, type ItemSwipeActions, type ItemSwipeBehavior, type ItemSwipeSide, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdge, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
@@ -1,3 +1,3 @@
1
- import { a as useListContext, i as useItemDescriptionId, t as _sfc_main } from "../Item-C9u_kQUO.js";
2
- import { n as _sfc_main$1, t as _sfc_main$2 } from "../ListItem-_lOmngHp.js";
1
+ import { a as useListContext, i as useItemDescriptionId, t as _sfc_main } from "../Item-tVHjgQDe.js";
2
+ import { n as _sfc_main$1, t as _sfc_main$2 } from "../ListItem-B60jTcXy.js";
3
3
  export { _sfc_main as Item, _sfc_main$1 as List, _sfc_main$2 as ListItem, useItemDescriptionId, useListContext };
@@ -0,0 +1,530 @@
1
+ import { a as sharedWeakMap } from "./sharedRealm-H1OrlP0V.js";
2
+ import { n as useTouchHitArea } from "./useTouchHitArea-Dsz80HzY.js";
3
+ import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
4
+ import { r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-BkOEttEP.js";
5
+ import { a as useListContext, n as itemListRowKey, r as listContextKey, t as _sfc_main$2 } from "./Item-tVHjgQDe.js";
6
+ import { computed, createBlock, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeProps, onBeforeUnmount, onBeforeUpdate, onUpdated, openBlock, provide, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, withCtx } from "vue";
7
+ import "../styles/list.css";
8
+ //#region src/List/listPresentation.ts
9
+ /**
10
+ * @file listPresentation.ts
11
+ * @input List 的行元素、它和它子元素上正在跑的 Web Animations 与行内样式
12
+ * @output 这次更新里列表报告过的行(`setReportedRows`、`isReportedRow`),
13
+ * 以及离开的行退场时保持离开那一刻的样子(`keepPresentation`、`showAsItLeft`)
14
+ * @position List 内部,listLayoutUpdates 和 ListItem 共用;不从包入口导出
15
+ *
16
+ * 两张表都放在跨副本共享的 WeakMap 里:包里的 List 和项目里自己拷的 ListItem(或反过来)
17
+ * 读写的是同一份。
18
+ */
19
+ /** 每个列表在进行中的这次更新里报告过的行,只有它们能播退场。 */
20
+ const reportedRows = sharedWeakMap("list/list-layout-updates/reported-rows", 1);
21
+ /** 记下 `list` 这次更新报告过的行;传 null 清掉。 */
22
+ function setReportedRows(list, rows) {
23
+ if (rows == null) reportedRows.delete(list);
24
+ else reportedRows.set(list, rows);
25
+ }
26
+ /** `row` 所在的列表这次更新有没有报告它。 */
27
+ function isReportedRow(row) {
28
+ const list = row.parentElement;
29
+ return list != null && (reportedRows.get(list)?.has(row) ?? false);
30
+ }
31
+ /** 离开的行和它的子元素离开时显示的行内样式(比如横滑的位移),退场时写回去。 */
32
+ const keptStyles = sharedWeakMap("list/list-layout-updates/kept-styles", 1);
33
+ /**
34
+ * 把 `row` 和它子元素上正在跑的 Web Animations 此刻呈现的样子记成行内样式。
35
+ * 行被移出文档时这些动画会丢;退场时把行放回去、写回记录,它就停在离开那一刻的样子。
36
+ * ListItem 在行卸载前(还在文档里)调用。伪元素上的、写不出数值的动画不管。
37
+ */
38
+ function keepPresentation(row) {
39
+ if (typeof row.getAnimations !== "function") return;
40
+ const parts = [row, ...row.querySelectorAll("*")];
41
+ const before = parts.map((part) => part.getAttribute("style"));
42
+ for (const animation of row.getAnimations({ subtree: true })) try {
43
+ animation.commitStyles();
44
+ } catch {}
45
+ const styled = [];
46
+ parts.forEach((part, index) => {
47
+ if (part.style.length > 0) styled.push([part, part.style.cssText]);
48
+ const style = before[index];
49
+ if (part.getAttribute("style") !== style) {
50
+ if (style == null) part.removeAttribute("style");
51
+ else part.style.cssText = style;
52
+ }
53
+ });
54
+ keptStyles.set(row, styled);
55
+ }
56
+ /**
57
+ * 离开的行放回文档后,子元素的动画会重新盖上来。这里停掉它们、写回记录,
58
+ * 让行显示离开那一刻屏幕上的样子。
59
+ */
60
+ function showAsItLeft(row) {
61
+ if (typeof row.getAnimations === "function") for (const animation of row.getAnimations({ subtree: true })) animation.cancel();
62
+ for (const [part, cssText] of keptStyles.get(row) ?? []) part.style.cssText = cssText;
63
+ keptStyles.delete(row);
64
+ }
65
+ //#endregion
66
+ //#region src/List/listRowMarks.ts
67
+ /**
68
+ * @file listRowMarks.ts
69
+ * @input List 的行元素
70
+ * @output 行身上的三个内部标记:行的 `itemKey`(`itemKeyAttrs`、`itemKeyOf`)、
71
+ * 放回页面播退场的行(`markLeaving`、`isLeaving`)、从反向移动的行上方滑过的行(`markTravelling`)
72
+ * @position List 内部:只有这个文件写这些属性名。ListItem 写行的键,listLayoutUpdates 读写其余两个,
73
+ * list.css 按 `data-astryx-travelling` 把行抬高。不从包入口导出。
74
+ */
75
+ const ITEM_KEY = "data-astryx-item-key";
76
+ const LEAVING = "data-astryx-leaving";
77
+ const TRAVELLING = "data-astryx-travelling";
78
+ /** 绑在 List 的行上:有 `itemKey` 时把它写成行的标记。 */
79
+ function itemKeyAttrs(itemKey) {
80
+ return itemKey == null ? {} : { [ITEM_KEY]: String(itemKey) };
81
+ }
82
+ /** 行带着的键;没有键时为 null。 */
83
+ function itemKeyOf(row) {
84
+ return row.getAttribute(ITEM_KEY);
85
+ }
86
+ /** 标记一行已经离开、只是放回页面播退场:之后的更新不再把它算作行。 */
87
+ function markLeaving(row) {
88
+ row.setAttribute(LEAVING, "");
89
+ }
90
+ function isLeaving(row) {
91
+ return row.hasAttribute(LEAVING);
92
+ }
93
+ /** 每行最近一次的滑过标记:早先那次滑动结束时不会摘掉后来的标记。 */
94
+ const travels = /* @__PURE__ */ new WeakMap();
95
+ /**
96
+ * 把 `row` 标成正在从反向移动的行上方滑过,返回滑动结束时摘掉标记的调用。
97
+ * 之后又标了一次时,这个调用不再摘。
98
+ */
99
+ function markTravelling(row) {
100
+ const mark = {};
101
+ travels.set(row, mark);
102
+ row.setAttribute(TRAVELLING, "");
103
+ return () => {
104
+ if (travels.get(row) === mark) {
105
+ travels.delete(row);
106
+ row.removeAttribute(TRAVELLING);
107
+ }
108
+ };
109
+ }
110
+ //#endregion
111
+ //#region src/List/listRows.ts
112
+ /**
113
+ * @file listRows.ts
114
+ * @input List 的元素和它的行
115
+ * @output 读写行顺序的纯函数:带键的行(`keyedRows`)、行加上还在退场的行(`rowSequence`)、
116
+ * 落在一段竖直范围里的行(`rowsMeeting`)、把行放回某一行前面(`placeBefore`)
117
+ * @position List 内部,供 listLayoutUpdates 使用
118
+ */
119
+ /**
120
+ * 列表里带 `itemKey` 的行,按键排好顺序。没有键的行在两次渲染之间没有身份可比,
121
+ * 它自己的插入、移除和移动都不报告,直接变。
122
+ */
123
+ function keyedRows(list) {
124
+ const rows = /* @__PURE__ */ new Map();
125
+ for (const child of list.children) {
126
+ if (!(child instanceof HTMLElement) || isLeaving(child)) continue;
127
+ const key = itemKeyOf(child);
128
+ if (key != null) rows.set(key, child);
129
+ }
130
+ return rows;
131
+ }
132
+ /** 列表的行按顺序:带键的行,加上还在退场的行。退场行的位置按它前后的带键行来数。 */
133
+ function rowSequence(list) {
134
+ return [...list.children].filter((child) => child instanceof HTMLElement && (isLeaving(child) || itemKeyOf(child) != null));
135
+ }
136
+ /**
137
+ * `rows` 里盒子和视口竖直范围 `start` 到 `end` 相交的第一行和最后一行的下标,
138
+ * 一行都不相交时为 null。行在列表里自上而下排好,二分查找只读几行的位置,不读每一行。
139
+ */
140
+ function rowsMeeting(rows, start, end) {
141
+ let low = 0;
142
+ let high = rows.length;
143
+ while (low < high) {
144
+ const middle = low + high >> 1;
145
+ if (rows[middle].getBoundingClientRect().bottom > start) high = middle;
146
+ else low = middle + 1;
147
+ }
148
+ const first = low;
149
+ high = rows.length;
150
+ while (low < high) {
151
+ const middle = low + high >> 1;
152
+ if (rows[middle].getBoundingClientRect().top < end) low = middle + 1;
153
+ else high = middle;
154
+ }
155
+ const last = low - 1;
156
+ return first <= last ? [first, last] : null;
157
+ }
158
+ /** 把 `rows` 按顺序放到 `anchor` 前面,`anchor` 为 null 时放到列表末尾。已经在位的行不动。 */
159
+ function placeBefore(list, rows, anchor) {
160
+ let next = anchor;
161
+ for (let index = rows.length - 1; index >= 0; index--) {
162
+ const row = rows[index];
163
+ if ((next == null ? list.lastElementChild : next.previousElementSibling) !== row) list.insertBefore(row, next);
164
+ next = row;
165
+ }
166
+ }
167
+ //#endregion
168
+ //#region src/List/listLayoutUpdates.ts
169
+ /** 不到半像素的移动是排版误差,不算变化。 */
170
+ const MIN_MOVE_PX = .5;
171
+ function viewportHeight(list) {
172
+ return list.ownerDocument.defaultView?.innerHeight ?? 0;
173
+ }
174
+ function report(handle, target) {
175
+ const change = reportLayoutChange(handle, () => target);
176
+ change.measureBefore();
177
+ return change;
178
+ }
179
+ /** DOM 变化之前:量可见区域附近的行,把要报告的行交给模块。只读不写。 */
180
+ function measure(list, handle) {
181
+ const rows = keyedRows(list);
182
+ if (rows.size === 0) {
183
+ const last = list.lastElementChild;
184
+ const target = last instanceof HTMLElement ? last : list;
185
+ return {
186
+ rows,
187
+ order: [],
188
+ tops: /* @__PURE__ */ new Map(),
189
+ near: null,
190
+ reported: /* @__PURE__ */ new Set([target]),
191
+ changes: [report(handle, target)],
192
+ sequence: rowSequence(list)
193
+ };
194
+ }
195
+ const order = [...rows.keys()];
196
+ const elements = [...rows.values()];
197
+ const height = viewportHeight(list);
198
+ const near = rowsMeeting(elements, -height, 2 * height);
199
+ const tops = /* @__PURE__ */ new Map();
200
+ if (near != null) for (let index = near[0]; index <= near[1]; index++) tops.set(order[index], elements[index].getBoundingClientRect().top);
201
+ const shown = rowsMeeting(elements, 0, height);
202
+ const targets = [];
203
+ if (shown != null) for (let index = shown[0]; index <= shown[1]; index++) targets.push(elements[index]);
204
+ if (shown == null || shown[1] !== elements.length - 1) targets.push(elements.at(-1));
205
+ return {
206
+ rows,
207
+ order,
208
+ tops,
209
+ near,
210
+ reported: new Set(targets),
211
+ changes: targets.map((target) => report(handle, target)),
212
+ sequence: rowSequence(list)
213
+ };
214
+ }
215
+ /**
216
+ * 交叉的两行里,滑得更远的那行在滑动期间标成「滑过」,从上方经过。
217
+ * 等模块自己的微任务读完排版、开始滑动后再标:先标会让模块再排一次版。
218
+ * 顺着、倒着各扫一遍可见区域附近的行,找出和别的行交叉的行,只在它们之间比较。
219
+ */
220
+ function markCrossings(measured, now) {
221
+ const { near, order, tops } = measured;
222
+ if (near == null) return;
223
+ const rows = [];
224
+ for (let index = near[0]; index <= near[1]; index++) {
225
+ const key = order[index];
226
+ const from = tops.get(key);
227
+ const element = now.get(key);
228
+ if (from != null && element != null) rows.push({
229
+ element,
230
+ from,
231
+ to: element.getBoundingClientRect().top
232
+ });
233
+ }
234
+ const crosses = rows.map(() => false);
235
+ let lowest = -Infinity;
236
+ rows.forEach((row, index) => {
237
+ crosses[index] = lowest > row.to;
238
+ lowest = Math.max(lowest, row.to);
239
+ });
240
+ let highest = Infinity;
241
+ for (let index = rows.length - 1; index >= 0; index--) {
242
+ crosses[index] ||= highest < rows[index].to;
243
+ highest = Math.min(highest, rows[index].to);
244
+ }
245
+ const crossing = rows.filter((_, index) => crosses[index]);
246
+ const raised = /* @__PURE__ */ new Set();
247
+ const travel = (row) => Math.abs(row.to - row.from);
248
+ for (let a = 0; a < crossing.length; a++) for (let b = a + 1; b < crossing.length; b++) {
249
+ const upper = crossing[a];
250
+ const lower = crossing[b];
251
+ if (upper.to <= lower.to) continue;
252
+ const rider = travel(upper) > travel(lower) ? upper : lower;
253
+ if (travel(rider) >= MIN_MOVE_PX) raised.add(rider.element);
254
+ }
255
+ if (raised.size === 0) return;
256
+ queueMicrotask(() => {
257
+ for (const element of raised) {
258
+ const glide = typeof element.getAnimations === "function" ? element.getAnimations().at(-1) : void 0;
259
+ if (glide != null) {
260
+ const end = markTravelling(element);
261
+ glide.finished.then(end, end);
262
+ }
263
+ }
264
+ });
265
+ }
266
+ /** DOM 变化之后:离开的行放回原处播退场,量过的变化开始滑,新出现在可见区域的行入场。 */
267
+ function play(list, handle, measured) {
268
+ const now = keyedRows(list);
269
+ const order = [...now.keys()];
270
+ if (order.length === measured.order.length && order.every((key, index) => key === measured.order[index])) return;
271
+ const current = [...now.values()];
272
+ const staying = new Set(current);
273
+ const places = /* @__PURE__ */ new Map();
274
+ const leaving = [];
275
+ let before = 0;
276
+ for (const element of measured.sequence) {
277
+ if (staying.has(element)) {
278
+ before += 1;
279
+ continue;
280
+ }
281
+ if (!isLeaving(element)) {
282
+ if (!measured.reported.has(element)) continue;
283
+ markLeaving(element);
284
+ element.setAttribute("aria-hidden", "true");
285
+ leaving.push(element);
286
+ }
287
+ const anchor = current[before] ?? null;
288
+ places.set(anchor, [...places.get(anchor) ?? [], element]);
289
+ }
290
+ for (const [anchor, rows] of places) placeBefore(list, rows, anchor);
291
+ for (const element of leaving) showAsItLeft(element);
292
+ for (const change of measured.changes) change.animate();
293
+ for (const element of leaving) if (!holdLayoutExit(handle, element, () => element.remove())) element.remove();
294
+ const shown = rowsMeeting(current, 0, viewportHeight(list));
295
+ if (shown != null) for (let index = shown[0]; index <= shown[1]; index++) {
296
+ const element = current[index];
297
+ const key = itemKeyOf(element);
298
+ if (key != null && !measured.rows.has(key)) playLayoutChange(handle, element);
299
+ }
300
+ markCrossings(measured, now);
301
+ }
302
+ /**
303
+ * 把列表行的变化报告给 `animatedLayout`:列表每次重新渲染、DOM 变化之前量,变化之后播。
304
+ * 没有句柄时什么都不做。
305
+ */
306
+ function useListLayoutUpdates(list, animatedLayout) {
307
+ let measured = null;
308
+ onBeforeUpdate(() => {
309
+ measured = null;
310
+ const element = list();
311
+ const handle = animatedLayout();
312
+ if (element == null || handle == null) return;
313
+ measured = measure(element, handle);
314
+ setReportedRows(element, measured.reported);
315
+ });
316
+ onUpdated(() => {
317
+ const pending = measured;
318
+ measured = null;
319
+ const element = list();
320
+ if (element != null) setReportedRows(element, null);
321
+ const handle = animatedLayout();
322
+ if (pending == null || element == null || handle == null) return;
323
+ play(element, handle, pending);
324
+ });
325
+ }
326
+ //#endregion
327
+ //#region src/List/List.vue
328
+ const _hoisted_1$1 = {
329
+ key: 0,
330
+ class: "astryx-list-root"
331
+ };
332
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
333
+ name: "AstryxList",
334
+ inheritAttrs: false,
335
+ __name: "List",
336
+ props: {
337
+ animatedLayout: {},
338
+ density: { default: "balanced" },
339
+ hasDividers: {
340
+ type: Boolean,
341
+ default: false
342
+ },
343
+ edge: {},
344
+ edgeCompensation: {},
345
+ listStyle: { default: "none" },
346
+ start: { default: 1 },
347
+ header: {}
348
+ },
349
+ setup(__props, { expose: __expose }) {
350
+ const props = __props;
351
+ const CONTROLLED_ATTRS = /* @__PURE__ */ new Set([
352
+ "class",
353
+ "style",
354
+ "role",
355
+ "start"
356
+ ]);
357
+ const attrs = useAttrs();
358
+ const slots = useSlots();
359
+ const listElement = useTemplateRef("list");
360
+ useListLayoutUpdates(() => listElement.value, () => props.animatedLayout);
361
+ const headerId = `astryx-list-header-${useId()}`;
362
+ const hasHeader = computed(() => slots.header != null || props.header != null);
363
+ const tag = computed(() => props.listStyle === "decimal" ? "ol" : "ul");
364
+ const hasStartAttribute = computed(() => props.listStyle === "decimal" && props.start !== 1);
365
+ const counterStart = computed(() => hasStartAttribute.value ? `astryx-list ${props.start - 1}` : void 0);
366
+ /** The deprecated prop is an alias of `outset`; an explicit `edge` wins over it. */
367
+ const edge = computed(() => props.edge ?? (props.edgeCompensation === "inline" ? "outset" : "padded"));
368
+ useDevWarning("List", "`edge` and the deprecated `edgeCompensation` are both set; `edge` wins. Remove `edgeCompensation`.", () => props.edge != null && props.edgeCompensation != null);
369
+ provide(listContextKey, {
370
+ density: computed(() => props.density),
371
+ edge,
372
+ edgeCompensation: computed(() => props.edgeCompensation),
373
+ hasDividers: computed(() => props.hasDividers),
374
+ listStyle: computed(() => props.listStyle)
375
+ });
376
+ const listStyleValue = computed(() => [attrs.style, counterStart.value == null ? void 0 : { counterReset: counterStart.value }]);
377
+ const listAttrs = computed(() => {
378
+ return {
379
+ ...Object.fromEntries(Object.entries(attrs).filter(([key]) => !CONTROLLED_ATTRS.has(key))),
380
+ "role": "list",
381
+ "start": hasStartAttribute.value ? props.start : void 0,
382
+ "data-density": props.density,
383
+ "data-dividers": props.hasDividers || void 0,
384
+ "data-edge": edge.value,
385
+ "data-edge-compensation": props.edgeCompensation,
386
+ "data-list-style": props.listStyle,
387
+ ...hasHeader.value ? { "aria-labelledby": headerId } : void 0
388
+ };
389
+ });
390
+ __expose({ element: computed(() => listElement.value) });
391
+ return (_ctx, _cache) => {
392
+ return hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [createElementVNode("div", {
393
+ id: headerId,
394
+ class: "astryx-list-header"
395
+ }, [renderSlot(_ctx.$slots, "header", {}, () => [createTextVNode(toDisplayString(__props.header), 1)])]), (openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({ ref: "list" }, listAttrs.value, {
396
+ class: ["astryx-list", unref(attrs).class],
397
+ style: listStyleValue.value
398
+ }), {
399
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
400
+ _: 3
401
+ }, 16, ["class", "style"]))])) : (openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({
402
+ key: 1,
403
+ ref: "list"
404
+ }, listAttrs.value, {
405
+ class: ["astryx-list", unref(attrs).class],
406
+ style: listStyleValue.value
407
+ }), {
408
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
409
+ _: 3
410
+ }, 16, ["class", "style"]));
411
+ };
412
+ }
413
+ });
414
+ //#endregion
415
+ //#region src/List/ListItem.vue
416
+ const _hoisted_1 = {
417
+ key: 0,
418
+ class: "astryx-list-marker"
419
+ };
420
+ const _hoisted_2 = ["data-shape"];
421
+ const _hoisted_3 = ["data-style"];
422
+ const _sfc_main = /*@__PURE__*/ defineComponent({
423
+ name: "AstryxListItem",
424
+ __name: "ListItem",
425
+ props: {
426
+ align: {},
427
+ label: {},
428
+ description: {},
429
+ density: {},
430
+ onClick: { type: Function },
431
+ interactiveRef: {},
432
+ href: {},
433
+ target: {},
434
+ rel: {},
435
+ isDisabled: { type: Boolean },
436
+ isSelected: { type: Boolean },
437
+ itemKey: {},
438
+ swipeActions: {},
439
+ swipeBehavior: {}
440
+ },
441
+ setup(__props) {
442
+ const props = __props;
443
+ const list = useListContext();
444
+ const item = useTemplateRef("item");
445
+ const isTouchTarget = computed(() => (props.onClick != null || props.href != null || props.interactiveRef != null) && props.isDisabled !== true);
446
+ useTouchHitArea(() => item.value?.element, isTouchTarget);
447
+ onBeforeUnmount(() => {
448
+ const row = item.value?.element;
449
+ if (row != null && isReportedRow(row)) keepPresentation(row);
450
+ });
451
+ const density = computed(() => props.density ?? list?.density.value ?? "balanced");
452
+ const marker = computed(() => {
453
+ const listStyle = list?.listStyle.value ?? "none";
454
+ return listStyle === "none" ? null : listStyle;
455
+ });
456
+ provide(itemListRowKey, { isNumbered: computed(() => marker.value === "decimal") });
457
+ const isBullet = computed(() => marker.value === "disc" || marker.value === "circle");
458
+ return (_ctx, _cache) => {
459
+ return openBlock(), createBlock(_sfc_main$2, mergeProps({
460
+ ref_key: "item",
461
+ ref: item,
462
+ as: "li",
463
+ class: ["astryx-list-item", { "astryx-touch-hit-area-band": isTouchTarget.value }],
464
+ align: __props.align,
465
+ description: __props.description,
466
+ density: density.value,
467
+ href: __props.href,
468
+ "interactive-ref": __props.interactiveRef,
469
+ "is-disabled": __props.isDisabled,
470
+ "is-selected": __props.isSelected,
471
+ label: __props.label,
472
+ "on-click": __props.onClick,
473
+ "swipe-actions": __props.swipeActions,
474
+ "swipe-behavior": __props.swipeBehavior,
475
+ rel: __props.rel,
476
+ target: __props.target
477
+ }, unref(itemKeyAttrs)(__props.itemKey)), createSlots({ _: 2 }, [
478
+ marker.value ? {
479
+ name: "marker",
480
+ fn: withCtx(() => [isBullet.value ? (openBlock(), createElementBlock("span", _hoisted_1, [createElementVNode("span", {
481
+ class: "astryx-list-marker__glyph",
482
+ "data-shape": marker.value
483
+ }, null, 8, _hoisted_2)])) : (openBlock(), createElementBlock("span", {
484
+ key: 1,
485
+ class: "astryx-list-marker__number",
486
+ "data-style": marker.value
487
+ }, null, 8, _hoisted_3))]),
488
+ key: "0"
489
+ } : void 0,
490
+ _ctx.$slots.startContent ? {
491
+ name: "startContent",
492
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "startContent")]),
493
+ key: "1"
494
+ } : void 0,
495
+ _ctx.$slots.label ? {
496
+ name: "label",
497
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "label")]),
498
+ key: "2"
499
+ } : void 0,
500
+ _ctx.$slots.description ? {
501
+ name: "description",
502
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "description")]),
503
+ key: "3"
504
+ } : void 0,
505
+ _ctx.$slots.endContent ? {
506
+ name: "endContent",
507
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "endContent")]),
508
+ key: "4"
509
+ } : void 0
510
+ ]), 1040, [
511
+ "class",
512
+ "align",
513
+ "description",
514
+ "density",
515
+ "href",
516
+ "interactive-ref",
517
+ "is-disabled",
518
+ "is-selected",
519
+ "label",
520
+ "on-click",
521
+ "swipe-actions",
522
+ "swipe-behavior",
523
+ "rel",
524
+ "target"
525
+ ]);
526
+ };
527
+ }
528
+ });
529
+ //#endregion
530
+ export { _sfc_main$1 as n, _sfc_main as t };
@@ -1,5 +1,5 @@
1
1
  import { K as MarkdownAstRoot, Q as visitMarkdownNodes, U as MarkdownAstPhrasingContent } from "../protocol-DwUmpC5G.js";
2
- import { C as MarkdownPlugin, D as applyMarkdownPlugins, E as applyInlinePlugins, O as defineMarkdownPlugin, S as MarkdownInlinePlugin, T as MarkdownTransformContext, _ as MarkdownLinkProps, a as _default, b as MarkdownSlots, c as MarkdownCitationStyle, d as MarkdownDensity, f as MarkdownDisplay, g as MarkdownInlineCodeProps, h as MarkdownImageProps, i as parseMarkdown, k as isMarkdownExtensionNode, l as MarkdownCodeProps, m as MarkdownHeadingProps, n as uniqueSlug, o as MarkdownAlign, p as MarkdownHeadingLevel, r as ParseMarkdownOptions, s as MarkdownAutolink, t as slugify, u as MarkdownComponents, v as MarkdownListProps, w as MarkdownPluginRenderContext, x as MarkdownSource, y as MarkdownProps } from "../index-CiVrhGUJ.js";
2
+ import { C as MarkdownPlugin, D as applyMarkdownPlugins, E as applyInlinePlugins, O as defineMarkdownPlugin, S as MarkdownInlinePlugin, T as MarkdownTransformContext, _ as MarkdownLinkProps, a as _default, b as MarkdownSlots, c as MarkdownCitationStyle, d as MarkdownDensity, f as MarkdownDisplay, g as MarkdownInlineCodeProps, h as MarkdownImageProps, i as parseMarkdown, k as isMarkdownExtensionNode, l as MarkdownCodeProps, m as MarkdownHeadingProps, n as uniqueSlug, o as MarkdownAlign, p as MarkdownHeadingLevel, r as ParseMarkdownOptions, s as MarkdownAutolink, t as slugify, u as MarkdownComponents, v as MarkdownListProps, w as MarkdownPluginRenderContext, x as MarkdownSource, y as MarkdownProps } from "../index-C9ZssPUV.js";
3
3
  import { a as ParseOptions, c as parseInlineAst, d as parseMarkdownIncremental, f as BlockNode, m as InlineNode, o as createIncrementalState, s as parseInline, u as parseMarkdownAst, y as SourceRange } from "../publicParser-B6XMcsB2.js";
4
4
  import { t as decodeMarkdownCharacterReferences } from "../index-BkUkm6Al.js";
5
5
  export { type BlockNode, type InlineNode, _default as Markdown, type MarkdownAlign, type MarkdownAstPhrasingContent, type MarkdownAstRoot, type MarkdownAutolink, type MarkdownCitationStyle, type MarkdownCodeProps, type MarkdownComponents, type MarkdownDensity, type MarkdownDisplay, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownInlinePlugin, type MarkdownLinkProps, type MarkdownListProps, type MarkdownPlugin, type MarkdownPluginRenderContext, type MarkdownProps, type MarkdownSlots, type MarkdownSource, type MarkdownTransformContext, type ParseMarkdownOptions, type ParseOptions, type SourceRange, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
@@ -1,4 +1,4 @@
1
1
  import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "../publicParser-C8RBKNLA.js";
2
- import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-HDZPj9Vw.js";
2
+ import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-Baq5r2Mp.js";
3
3
  import { n as uniqueSlug, t as slugify } from "../slug-D6ln5PTq.js";
4
4
  export { _sfc_main as Markdown, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
@@ -1,13 +1,13 @@
1
1
  import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
2
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
- import { t as _sfc_main$2 } from "./Heading-BXTbW_px.js";
3
+ import { t as _sfc_main$2 } from "./Heading-jYno4L3t.js";
4
4
  import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
5
5
  import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
6
6
  import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
7
7
  import { t as citationMessages } from "./citation-h6fyz-JH.js";
8
- import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-pWPw1-iu.js";
8
+ import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-Bgxy15iD.js";
9
9
  import { t as markdownMessages } from "./markdown-JcCeKquw.js";
10
- import { t as _sfc_main$7 } from "./Link-BzXVGE7G.js";
10
+ import { t as _sfc_main$7 } from "./Link-DVslj_GH.js";
11
11
  import { _ as plainText, d as parseMarkdown, f as parseMarkdownIncremental, h as sanitizeMarkdownLinkUrl, l as applyProtocolTransforms, m as sanitizeMarkdownImageUrl, p as linkOpensInNewTab, s as applyMarkdownSyntax, u as createIncrementalMarkdownState } from "./publicParser-C8RBKNLA.js";
12
12
  import { l as isMarkdownPluginEntry, t as collectProtocolRenderers, u as isMarkdownSourceLinesPlugin } from "./protocol-DHxY0NI8.js";
13
13
  import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";