@astryx-vue/core 0.43.3 → 0.43.5

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 (333) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-yvaIe5dA.js → AlertDialog-CbYI2lSn.js} +5 -5
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-CCc0Ls3I.js → AppShell-D7Q66weN.js} +11 -4
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-B9n7-kfv.js → Avatar-DthdM-zn.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-NBxlr30J.js → AvatarGroup-Dui84EMQ.js} +1 -1
  10. package/dist/Badge/index.js +1 -1
  11. package/dist/{Badge-DZaIs3aV.js → Badge-BsbFK1JQ.js} +1 -1
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Banner/index.js +1 -1
  14. package/dist/{Banner-BjfK7n5m.js → Banner-DBj4G2ln.js} +1 -1
  15. package/dist/BottomSheet/index.d.ts +1 -1
  16. package/dist/BottomSheet/index.js +2 -2
  17. package/dist/{BottomSheet-JpXa1i_6.js → BottomSheet-Cp6j099l.js} +2 -2
  18. package/dist/{BottomSheet-C4Tquvok.js → BottomSheet-YMCZQnE7.js} +15 -3
  19. package/dist/Breadcrumbs/index.d.ts +2 -2
  20. package/dist/Breadcrumbs/index.js +2 -2
  21. package/dist/{Breadcrumbs-8tfIEHXD.js → Breadcrumbs-Divj8J_1.js} +1 -1
  22. package/dist/Button/index.d.ts +1 -1
  23. package/dist/Button/index.js +1 -1
  24. package/dist/{Button-DjEsHA9Z.js → Button-cAa9AeKm.js} +3 -3
  25. package/dist/ButtonGroup/index.d.ts +1 -1
  26. package/dist/ButtonGroup/index.js +1 -1
  27. package/dist/{ButtonGroup-B2M-5UV5.js → ButtonGroup-CVEW53-t.js} +2 -2
  28. package/dist/Calendar/index.d.ts +1 -1
  29. package/dist/Calendar/index.js +2 -2
  30. package/dist/{Calendar-Brz2iDeZ.js → Calendar-BGn9PQI8.js} +3 -3
  31. package/dist/{Calendar-C1E1ZiaS.js → Calendar-DpqfOjgX.js} +3 -3
  32. package/dist/Card/index.d.ts +1 -1
  33. package/dist/Carousel/index.d.ts +1 -1
  34. package/dist/Carousel/index.js +1 -1
  35. package/dist/{Carousel-CQkewtIR.js → Carousel-Bz2GuVdq.js} +1 -1
  36. package/dist/Chat/index.d.ts +1 -1
  37. package/dist/Chat/index.js +1 -1
  38. package/dist/{Chat-BsouUwzJ.js → Chat-Cr_MEm-a.js} +68 -74
  39. package/dist/CheckboxInput/index.d.ts +1 -1
  40. package/dist/CheckboxInput/index.js +1 -1
  41. package/dist/{CheckboxInput-ql8alAXv.js → CheckboxInput-Bxkwj-UA.js} +7 -7
  42. package/dist/CheckboxList/index.d.ts +1 -1
  43. package/dist/CheckboxList/index.js +1 -1
  44. package/dist/{CheckboxListItem-g_DmP3Mw.js → CheckboxListItem-dQ1xloAV.js} +5 -5
  45. package/dist/ClickableCard/index.d.ts +1 -1
  46. package/dist/ClickableCard/index.js +1 -1
  47. package/dist/{ClickableCard-OIGU4OqX.js → ClickableCard-VoDgBMvb.js} +25 -5
  48. package/dist/Code/index.js +2 -2
  49. package/dist/{Code-DM6rlxIv.js → Code-Buhb8IAF.js} +1 -1
  50. package/dist/{CodeBlock-DO_jepqL.js → CodeBlock-BGaLnVrQ.js} +1 -1
  51. package/dist/Collapsible/index.d.ts +1 -1
  52. package/dist/Collapsible/index.js +1 -1
  53. package/dist/{Collapsible-YJmw6Vdy.js → Collapsible-BolCSv5f.js} +1 -1
  54. package/dist/CommandPalette/index.d.ts +1 -1
  55. package/dist/CommandPalette/index.js +1 -1
  56. package/dist/{CommandPalette-B3p8qRob.js → CommandPalette-BayGVrpJ.js} +3 -3
  57. package/dist/ComplexSelector/index.js +1 -1
  58. package/dist/{ComplexSelector-Dh7Ffhk6.js → ComplexSelector-QoKg-f6B.js} +4 -4
  59. package/dist/ContextMenu/index.d.ts +2 -2
  60. package/dist/ContextMenu/index.js +2 -2
  61. package/dist/{ContextMenu-B2JG2F0f.js → ContextMenu-C941I0rG.js} +3 -3
  62. package/dist/DateInput/index.d.ts +1 -1
  63. package/dist/DateInput/index.js +1 -1
  64. package/dist/{DateInput-NA4dfH8l.js → DateInput-D-QtIGlw.js} +10 -10
  65. package/dist/DateRangeInput/index.d.ts +1 -1
  66. package/dist/DateRangeInput/index.js +1 -1
  67. package/dist/{DateRangeInput-BJ1CIl29.js → DateRangeInput-IpznCdkO.js} +7 -7
  68. package/dist/DateTimeInput/index.d.ts +1 -1
  69. package/dist/DateTimeInput/index.js +1 -1
  70. package/dist/{DateTimeInput-Cj08kWhO.js → DateTimeInput-DMptZyjX.js} +28 -10
  71. package/dist/Dialog/index.js +3 -3
  72. package/dist/{Dialog-BEvT30ri.js → Dialog-DHH-rk4K.js} +1 -1
  73. package/dist/{Dialog-Bt-GTJJk.js → Dialog-xRPou8Vu.js} +1 -1
  74. package/dist/{DialogHeader-BGJEXxQv.js → DialogHeader-XUjy9Mxx.js} +1 -1
  75. package/dist/Drawer/index.d.ts +1 -1
  76. package/dist/Drawer/index.js +1 -1
  77. package/dist/{Drawer-DiJuFQFY.js → Drawer-BkF0RsKw.js} +2 -2
  78. package/dist/DropdownMenu/index.d.ts +2 -2
  79. package/dist/DropdownMenu/index.js +2 -2
  80. package/dist/{DropdownMenu-lhhIQfZo.js → DropdownMenu-S8usz-Yk.js} +10 -7
  81. package/dist/{DropdownMenuRadioItem.vue-Jn-kyc9j.d.ts → DropdownMenuRadioItem.vue-Cix6C_RC.d.ts} +5 -1
  82. package/dist/EmptyState/index.js +1 -1
  83. package/dist/{EmptyState-Cb2poVS1.js → EmptyState-BU4RhwEo.js} +3 -3
  84. package/dist/Field/index.js +3 -3
  85. package/dist/{Field-Dat5mCel.js → Field-DIjIgiMo.js} +4 -4
  86. package/dist/{FieldInfoTip-i37zUogW.js → FieldInfoTip-D93Kcdo-.js} +2 -2
  87. package/dist/{FieldLabel-BinsVAU7.js → FieldLabel-B-jJ2ETs.js} +13 -5
  88. package/dist/FieldStatus/index.js +1 -1
  89. package/dist/{FieldStatus-QjwGygl3.js → FieldStatus-8yFIjJUp.js} +35 -6
  90. package/dist/FileInput/index.js +1 -1
  91. package/dist/{FileInput-DwHRa3HF.js → FileInput-n0pEzUQR.js} +6 -23
  92. package/dist/{GestureHost-zNPZolYj.js → GestureHost-C0FstEs3.js} +1 -1
  93. package/dist/Heading/index.js +1 -1
  94. package/dist/{Heading-BxUBgmHB.js → Heading-BBcdemCU.js} +1 -1
  95. package/dist/HoverCard/index.d.ts +1 -1
  96. package/dist/IconButton/index.js +1 -1
  97. package/dist/{IconButton-CV-BmMK9.js → IconButton-CxVxw2hc.js} +1 -1
  98. package/dist/InfoTip/index.d.ts +1 -1
  99. package/dist/InfoTip/index.js +1 -1
  100. package/dist/{InfoTip-C4MGt0hy.js → InfoTip-BgcWXI1k.js} +2 -2
  101. package/dist/{InputClearButton-6Am1nrDf.js → InputClearButton-Bn29CBnZ.js} +1 -1
  102. package/dist/InputGroup/index.d.ts +1 -1
  103. package/dist/InputGroup/index.js +1 -1
  104. package/dist/{InputGroup-BmWA9oV5.js → InputGroup-B3kkylCQ.js} +2 -2
  105. package/dist/InternationalizationProvider/index.js +3 -2
  106. package/dist/{InternationalizationProvider-CfP0uroW.js → InternationalizationProvider-C-f110Xi.js} +2 -1
  107. package/dist/{Item-PVfzuPHz.js → Item-JktfViUH.js} +5 -5
  108. package/dist/Layout/index.d.ts +1 -1
  109. package/dist/Layout/index.js +2 -2
  110. package/dist/{Layout-OQ1qfgFZ.js → Layout-CwBC_vhy.js} +1 -1
  111. package/dist/{LayoutPanel-C7meqbdC.js → LayoutPanel-CNQxpDF3.js} +1 -1
  112. package/dist/Lightbox/index.js +1 -1
  113. package/dist/{Lightbox-CirQPUmV.js → Lightbox-Ims5yQjw.js} +10 -10
  114. package/dist/Link/index.d.ts +1 -1
  115. package/dist/Link/index.js +1 -1
  116. package/dist/{Link-BJhqi94p.js → Link-DlzfqBMW.js} +2 -2
  117. package/dist/List/index.d.ts +1 -1
  118. package/dist/List/index.js +4 -4
  119. package/dist/{List-D7brmx54.js → List-C6Zj2WCv.js} +2 -2
  120. package/dist/{ListItem-BERBZjZ5.js → ListItem-CXsgM4xN.js} +3 -3
  121. package/dist/{LongPressGestureRecognizer-CAh3wlYA.js → LongPressGestureRecognizer-C_DTqk3V.js} +2 -2
  122. package/dist/Markdown/index.d.ts +1 -1
  123. package/dist/Markdown/index.js +1 -1
  124. package/dist/{Markdown-Or6DoFW-.js → Markdown-DtFXmWK6.js} +4 -4
  125. package/dist/MobileNav/index.js +1 -1
  126. package/dist/{MobileNavToggle-CHlP1Ck_.js → MobileNavToggle-6te1baa6.js} +7 -5
  127. package/dist/MoreMenu/index.d.ts +1 -1
  128. package/dist/MoreMenu/index.js +1 -1
  129. package/dist/{MoreMenu-qU2BZnDr.js → MoreMenu-BxC8oVyA.js} +3 -3
  130. package/dist/MultiSelector/index.d.ts +1 -1
  131. package/dist/MultiSelector/index.js +1 -1
  132. package/dist/{MultiSelector-BaoBcJ21.js → MultiSelector-4N6ZQdr1.js} +79 -46
  133. package/dist/NavItem/index.d.ts +1 -1
  134. package/dist/NavItem/index.js +1 -1
  135. package/dist/{NavItem-CDfxlrAh.js → NavItem-GFrkWRSJ.js} +1 -1
  136. package/dist/NavMenu/index.js +1 -1
  137. package/dist/{NavMenuItem-CnhrEKOK.js → NavMenuItem-CCWYKpRJ.js} +1 -1
  138. package/dist/NumberInput/index.d.ts +1 -1
  139. package/dist/NumberInput/index.js +1 -1
  140. package/dist/{NumberInput-DbGq5K1O.js → NumberInput-CO3_Suv2.js} +4 -4
  141. package/dist/Outline/index.d.ts +1 -1
  142. package/dist/Outline/index.js +1 -1
  143. package/dist/{Outline-CZNYTxQc.js → Outline-BnKdYUu0.js} +4 -3
  144. package/dist/OverflowList/index.d.ts +1 -1
  145. package/dist/OverflowList/index.js +1 -1
  146. package/dist/{OverflowList-CoI9nSGD.js → OverflowList-CLEZqhaM.js} +1 -1
  147. package/dist/Pagination/index.d.ts +1 -1
  148. package/dist/Pagination/index.js +1 -1
  149. package/dist/{Pagination-okierHV2.js → Pagination-_FAAwTkY.js} +2 -2
  150. package/dist/{PanGestureRecognizer-Rfm59PpK.js → PanGestureRecognizer-WZ_rV6KY.js} +1 -1
  151. package/dist/{PickerWheel-BYTurQ9Z.js → PickerWheel-D-Lx_I-8.js} +4 -4
  152. package/dist/Popover/index.d.ts +1 -1
  153. package/dist/Popover/index.js +1 -1
  154. package/dist/{Popover-COzMRWrI.js → Popover-Bm13yzVR.js} +3 -3
  155. package/dist/PowerSearch/index.d.ts +1 -1
  156. package/dist/PowerSearch/index.js +1 -1
  157. package/dist/{PowerSearch-gyKaQPUu.js → PowerSearch-BxH88nbf.js} +27 -27
  158. package/dist/ProgressBar/index.d.ts +1 -1
  159. package/dist/ProgressBar/index.js +1 -1
  160. package/dist/{ProgressBar-LhOowRTl.js → ProgressBar-BoZQV2l5.js} +1 -1
  161. package/dist/Radio/index.d.ts +1 -1
  162. package/dist/Radio/index.js +1 -1
  163. package/dist/{RadioGroup-_xn5F6S4.js → RadioGroup-BpOtsMJw.js} +5 -5
  164. package/dist/RadioList/index.d.ts +1 -1
  165. package/dist/RadioList/index.js +1 -1
  166. package/dist/{RadioListItem-C_ovmUsZ.js → RadioListItem-D_vekWsm.js} +1 -1
  167. package/dist/Resizable/index.d.ts +1 -1
  168. package/dist/ScrollableArea/index.d.ts +1 -1
  169. package/dist/Section/index.d.ts +2 -2
  170. package/dist/Section/index.js +1 -1
  171. package/dist/{Section-Km_FjJ-i.js → Section-B_zTnJut.js} +6 -1
  172. package/dist/SegmentedControl/index.d.ts +1 -1
  173. package/dist/SegmentedControl/index.js +1 -1
  174. package/dist/{SegmentedControl-DM4U0A3X.js → SegmentedControl-9xB-4P3G.js} +11 -10
  175. package/dist/SelectableCard/index.d.ts +1 -1
  176. package/dist/SelectableCard/index.js +1 -1
  177. package/dist/{SelectableCard-WaKbJ7V8.js → SelectableCard-CiGBc6LT.js} +4 -3
  178. package/dist/Selector/index.d.ts +1 -1
  179. package/dist/Selector/index.js +1 -1
  180. package/dist/{Selector-BaVyguqV.js → Selector-C6ESJ-zk.js} +21 -21
  181. package/dist/SideNav/index.d.ts +1 -1
  182. package/dist/SideNav/index.js +1 -1
  183. package/dist/{SideNav-9kpdjZaG.js → SideNav-BwRn6ryA.js} +4 -4
  184. package/dist/Slider/index.js +1 -1
  185. package/dist/{Slider-DqCNKT8k.js → Slider-Bg_qnNFt.js} +6 -6
  186. package/dist/Spinner/index.js +1 -1
  187. package/dist/{Spinner-A3u6UMC2.js → Spinner-CQXQ0RqS.js} +1 -1
  188. package/dist/Stack/index.d.ts +1 -1
  189. package/dist/Stack/index.js +1 -1
  190. package/dist/{Stack-Bj3MyHVh.js → Stack-Cr68kCrs.js} +1 -1
  191. package/dist/StatusDot/index.js +1 -1
  192. package/dist/{StatusDot-BPbHIDK3.js → StatusDot-fYRbb3nd.js} +1 -1
  193. package/dist/Stepper/index.js +1 -1
  194. package/dist/{Stepper-BDjoc0zs.js → Stepper-DaayqEc0.js} +1 -1
  195. package/dist/Switch/index.d.ts +1 -1
  196. package/dist/Switch/index.js +1 -1
  197. package/dist/{Switch-Djwmyq6m.js → Switch-kRxVa5oQ.js} +7 -7
  198. package/dist/TabList/index.d.ts +1 -1
  199. package/dist/TabList/index.js +1 -1
  200. package/dist/{TabList-DMX_ZMgS.js → TabList-B2dfG_rt.js} +1 -1
  201. package/dist/Table/index.d.ts +2 -2
  202. package/dist/Table/index.js +1 -1
  203. package/dist/{Table-DxafmMwr.js → Table-ADs9W5i_.js} +124 -27
  204. package/dist/{TapGestureRecognizer-B-nQmGar.js → TapGestureRecognizer-LcbkQFq0.js} +2 -2
  205. package/dist/Text/index.js +2 -2
  206. package/dist/{Text-CqdqnOyw.js → Text-Czw1L8Zc.js} +1 -1
  207. package/dist/TextArea/index.d.ts +1 -1
  208. package/dist/TextArea/index.js +1 -1
  209. package/dist/{TextArea-C5GRbC6e.js → TextArea-CXeK9k3F.js} +6 -6
  210. package/dist/TextInput/index.d.ts +1 -1
  211. package/dist/TextInput/index.js +1 -1
  212. package/dist/{TextInput-s56TpHIu.js → TextInput-BDa8jBbY.js} +5 -5
  213. package/dist/Theme/index.js +1 -1
  214. package/dist/{Theme-B_kAJHy2.js → Theme-fCN_zUNt.js} +1 -1
  215. package/dist/Thumbnail/index.js +1 -1
  216. package/dist/{Thumbnail-CFcqQtqo.js → Thumbnail-C7Hi97ND.js} +4 -4
  217. package/dist/{TimeField-CSdPuGwP.js → TimeField-DIcpNQIQ.js} +22 -8
  218. package/dist/TimeInput/index.d.ts +1 -1
  219. package/dist/TimeInput/index.js +1 -1
  220. package/dist/{TimeInput-CSnb0mMj.js → TimeInput-DI2yFG9f.js} +2 -2
  221. package/dist/Timer/index.js +1 -1
  222. package/dist/{Timer-CYusx9bw.js → Timer-DUWtr4HW.js} +1 -1
  223. package/dist/Timestamp/index.d.ts +1 -1
  224. package/dist/Timestamp/index.js +2 -2
  225. package/dist/{Timestamp-Dwku9bPo.js → Timestamp-dTZ7YIWw.js} +3 -3
  226. package/dist/Toast/index.js +1 -1
  227. package/dist/{Toast-CeBNwNEI.js → Toast-CUKO9z_S.js} +3 -3
  228. package/dist/ToggleButton/index.d.ts +1 -1
  229. package/dist/ToggleButton/index.js +1 -1
  230. package/dist/{ToggleButton-BceL8CPc.js → ToggleButton-C7D_xmkT.js} +3 -3
  231. package/dist/Token/index.d.ts +1 -1
  232. package/dist/Token/index.js +1 -1
  233. package/dist/{Token-w7FCD0m4.js → Token-Dmz6vEMX.js} +2 -2
  234. package/dist/Tokenizer/index.d.ts +1 -1
  235. package/dist/Tokenizer/index.js +1 -1
  236. package/dist/{Tokenizer-DTZUz1KK.js → Tokenizer-CLByEOf-.js} +12 -12
  237. package/dist/Toolbar/index.d.ts +2 -2
  238. package/dist/Toolbar/index.js +1 -1
  239. package/dist/{Toolbar-BHkPxDxA.js → Toolbar-J0Q0-NZB.js} +7 -4
  240. package/dist/Tooltip/index.d.ts +1 -1
  241. package/dist/Tooltip/index.js +2 -2
  242. package/dist/{Tooltip-BGw1Dxs7.js → Tooltip-BYXFoOwa.js} +1 -1
  243. package/dist/TopNav/index.d.ts +1 -1
  244. package/dist/TopNav/index.js +1 -1
  245. package/dist/{TopNav-DcoTLS7k.js → TopNav-C-Rxvn3-.js} +3 -3
  246. package/dist/TreeList/index.js +1 -1
  247. package/dist/{TreeList-CYuPh-_e.js → TreeList-Fy7KRNuK.js} +2 -2
  248. package/dist/Typeahead/index.js +2 -2
  249. package/dist/{Typeahead-B37dkKD-.js → Typeahead-DgBTcIoM.js} +5 -5
  250. package/dist/{accessibleName-T__U-0Oi.js → accessibleName-CuQ2Zyti.js} +19 -7
  251. package/dist/{assertOptions-D4YfVTam.js → assertOptions--NMPt4op.js} +7 -1
  252. package/dist/{boxHold-dccG1XSR.js → boxHold-JsQX9R5i.js} +1 -1
  253. package/dist/{calendarFormat-_CEZIMZG.js → calendarFormat-DTC8AICa.js} +1 -1
  254. package/dist/{characters-wTnzjkkR.js → characters-DmSa8HSB.js} +2 -0
  255. package/dist/composables/index.d.ts +2 -2
  256. package/dist/composables/index.js +7 -7
  257. package/dist/{composables-kGMjHzp9.js → composables-Dr2d0LpH.js} +11 -9
  258. package/dist/context-DPVQjlFy.js +18 -0
  259. package/dist/{context-BNCjTOCB.js → direction-CNotzbN9.js} +1 -17
  260. package/dist/{format-6G9QuGy1.js → format-lexzIzDb.js} +1 -1
  261. package/dist/{formatInstant-CjCwl6JS.js → formatInstant-DKbYRamj.js} +1 -1
  262. package/dist/{index-DllhUVKp.d.ts → index--2H4S2Mo.d.ts} +1 -1
  263. package/dist/{index-CArP_6wv.d.ts → index-0RIgvtdm.d.ts} +1 -1
  264. package/dist/{index-CC9ETLL4.d.ts → index-BMoR8Uoh.d.ts} +3 -3
  265. package/dist/{index-BNQE8CBI.d.ts → index-BPnP3Abd.d.ts} +4 -4
  266. package/dist/{index-BkbXxnJm.d.ts → index-BZ9ki2Po.d.ts} +74 -68
  267. package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
  268. package/dist/{index-BR3MOBYd.d.ts → index-BgT6mH3U.d.ts} +2 -2
  269. package/dist/{index-C1e8LNx2.d.ts → index-BjqoHLMq.d.ts} +1 -1
  270. package/dist/{index-CTjkJP4x.d.ts → index-C5NuAlfY.d.ts} +3 -0
  271. package/dist/{index-Dmr81uHZ.d.ts → index-C7uGs5Cl.d.ts} +1 -1
  272. package/dist/{index-Ds4dOCSy.d.ts → index-CCa_dvoF.d.ts} +3 -3
  273. package/dist/{index-CmqD5Ya9.d.ts → index-CD1-Hqm0.d.ts} +2 -2
  274. package/dist/{index-DfWSZiXT.d.ts → index-CI-FbXLB.d.ts} +2 -2
  275. package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
  276. package/dist/{index-BlCnjPNt.d.ts → index-CQtvsQ1J.d.ts} +6 -6
  277. package/dist/{index-D9VZfr1G.d.ts → index-CkkybuPJ.d.ts} +3 -3
  278. package/dist/{index-Csn58myZ.d.ts → index-D-cuURNK.d.ts} +1 -1
  279. package/dist/{index-CEv_AvOg.d.ts → index-D2nMIyHd.d.ts} +1 -1
  280. package/dist/{index-B7-c8UTz.d.ts → index-DgNCHxvu.d.ts} +3 -3
  281. package/dist/{index-5vRkSPvJ.d.ts → index-Dip3mbII.d.ts} +1 -1
  282. package/dist/{index--j_oqZES.d.ts → index-Dno9YNVJ.d.ts} +7 -7
  283. package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
  284. package/dist/{index-DD3c1ZhS.d.ts → index-DuuH0y8h.d.ts} +2 -2
  285. package/dist/{index-3LdpzxQZ.d.ts → index-ZKBj_1nu.d.ts} +2 -2
  286. package/dist/{index-Cm36VS1A.d.ts → index-mK1ICsVg.d.ts} +2 -2
  287. package/dist/index.d.ts +31 -31
  288. package/dist/index.js +111 -110
  289. package/dist/internal/touch.js +8 -8
  290. package/dist/{itemSlots-Bwd4-VOz.js → itemSlots-CDpCiRWv.js} +2 -2
  291. package/dist/{layerFocusReturn-Ddz5_Z2Z.js → layerFocusReturn-BAx26jXH.js} +1 -1
  292. package/dist/{lazyBottomSheet-BU4N8Ac_.js → lazyBottomSheet-BHzk8JsS.js} +1 -1
  293. package/dist/locale/index.js +1 -1
  294. package/dist/{revealReturnTarget-DNX6xtLb.js → revealReturnTarget-BvKNVyf1.js} +1 -1
  295. package/dist/{scrollView-BGBtu5JP.js → scrollView-D2GwmeFx.js} +11 -1
  296. package/dist/{scrollingAncestor-DMWTn_Ih.js → scrollingAncestor-QzzYeTWo.js} +1 -1
  297. package/dist/{sharedResizeObserver-BekhnB3E.js → sharedResizeObserver-BnRTJaNh.js} +54 -1
  298. package/dist/{snapPagingCatcher-Dd8ROJj7.js → snapPagingCatcher-BFfj7RfY.js} +1 -1
  299. package/dist/{textDirection-DOiVLtX0.js → textDirection-C_CScrt5.js} +18 -1
  300. package/dist/{triggerVariant-CRQoD-4F.js → triggerVariant-dfzj2Ipj.js} +3 -1
  301. package/dist/{types-uFMH9NaM.d.ts → types-ByudyXHy.d.ts} +1 -1
  302. package/dist/{useActionGroupTracking-1kCq936v.js → useActionGroupTracking-BxTKiVux.js} +2 -2
  303. package/dist/{useCalendarGrid-BpBA8UZa.js → useCalendarGrid-BjOvk9HI.js} +1 -1
  304. package/dist/{useFingerScroll-DdV3zgsK.js → useFingerScroll-CAC6Pd3m.js} +1 -1
  305. package/dist/{useGestureRecognizer-NE4Lzt0W.js → useGestureRecognizer-C7CXCbBp.js} +1 -1
  306. package/dist/{useInputStatusIcon-B7TXwSHl.js → useInputStatusIcon-C1zyUxXl.js} +1 -1
  307. package/dist/useListFormatter-CFDqZ9jK.js +35 -0
  308. package/dist/{useMobileKeyboard-Difn_9Dm.js → useMobileKeyboard-DxddrPiU.js} +2 -2
  309. package/dist/{usePressFeedback-BYdW3Z87.js → usePressFeedback-X_9-5DMi.js} +1 -1
  310. package/dist/{useResizable-ZYDRiLfL.js → useResizable-C7McXqlY.js} +28 -2
  311. package/dist/{useResizable-CJFVvx_2.d.ts → useResizable-if_cP4fs.d.ts} +1 -1
  312. package/dist/{useRestoreFocus-D04TyAC3.js → useRestoreFocus-MY1QZRPU.js} +1 -1
  313. package/dist/{useScrollRegionProps-D5fMvdfn.js → useScrollRegionProps-YzH-PyAg.js} +21 -7
  314. package/dist/{useTouchHitArea-BBoTjQ32.js → useTouchHitArea-gP3O_wIA.js} +39 -5
  315. package/dist/{useTruncation-D_T-ezdp.js → useTruncation-Cn8Ohj_1.js} +1 -1
  316. package/dist/{useTruncationTooltip-0gr37s_G.js → useTruncationTooltip-D8trOJ_a.js} +3 -3
  317. package/dist/{useTypeaheadMenuConfig-sk8aSp57.js → useTypeaheadMenuConfig-Cm5adRdf.js} +2 -2
  318. package/dist/utils/index.js +3 -3
  319. package/package.json +1 -1
  320. package/styles/app-shell.css +5 -1
  321. package/styles/clickable-card.css +16 -5
  322. package/styles/collapsible.css +5 -0
  323. package/styles/cut-text.css +5 -0
  324. package/styles/date-time-input.css +9 -0
  325. package/styles/layer.css +5 -1
  326. package/styles/mobile-nav.css +5 -0
  327. package/styles/resize-handle.css +11 -0
  328. package/styles/section.css +15 -0
  329. package/dist/{announceRenderedText-Dzsx6ROw.js → announceRenderedText-BaV4uiLs.js} +1 -1
  330. package/dist/{index-C93nwgTW.d.ts → index-BaXcJ7eE.d.ts} +0 -0
  331. package/dist/{index-C1a8VQ2i.d.ts → index-CNZCQgHF.d.ts} +2 -2
  332. package/dist/{index-B1t1oQWH.d.ts → index-CgF-HfTm.d.ts} +0 -0
  333. package/dist/{useTooltip-CYRQuYj_.js → useTooltip-DSB9njlb.js} +1 -1
@@ -4,7 +4,7 @@ import { d as registerScrollTable, f as scroll } from "./gestures-BpGkqgpV.js";
4
4
  import { r as SETTLE_THRESHOLD } from "./animator-L1kmTBSi.js";
5
5
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
6
6
  import { n as solveDecay } from "./decay-ClFADeqT.js";
7
- import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-CAh3wlYA.js";
7
+ import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-C_DTqk3V.js";
8
8
  //#region src/motion/coast.ts
9
9
  /** A curve that holds `end` from `duration` on. */
10
10
  function settling(duration, end, at, velocity) {
@@ -54,6 +54,23 @@ function cutTextDirection(content) {
54
54
  /** 和 cutTextDirection 配套的类名:带 `dir` 的截短元素仍按父元素的方向对齐。 */
55
55
  const CUT_TEXT_PAGE_ALIGN_CLASS = "astryx-cut-text-page-align";
56
56
  /**
57
+ * 自己用省略号截短文字的元素该带的属性:cutTextDirection 给出方向时带上 `dir` 和
58
+ * `CUT_TEXT_PAGE_ALIGN_CLASS`,否则什么都不带,沿用页面方向。直接 `v-bind` 到截短的元素上。
59
+ */
60
+ function cutTextAttrs(content) {
61
+ const dir = cutTextDirection(content);
62
+ return dir == null ? {} : {
63
+ dir,
64
+ class: CUT_TEXT_PAGE_ALIGN_CLASS
65
+ };
66
+ }
67
+ /**
68
+ * 让一段文字和旁边的文字隔开排的类(`unicode-bidi: isolate`,styles/cut-text.css):
69
+ * 一项里的中性字符(逗号、数字)不会并进相邻一项的方向。给混有两种方向的列表里的每一项用,
70
+ * 再配上那一项自己的 `dir`。文字内容和可访问名称都不变,这一点双向控制字符做不到。
71
+ */
72
+ const TEXT_ISOLATE_CLASS = "astryx-text-isolate";
73
+ /**
57
74
  * 插槽内容全是纯文字(模板里直接写的字)时拼出的文字,否则答 `undefined`。
58
75
  * 注释节点不算内容。给要按标签文字判断方向的组件用。
59
76
  */
@@ -68,4 +85,4 @@ function plainSlotText(nodes) {
68
85
  return text;
69
86
  }
70
87
  //#endregion
71
- export { textDirection as a, plainSlotText as i, cutTextDirection as n, isolateTextDirection as r, CUT_TEXT_PAGE_ALIGN_CLASS as t };
88
+ export { isolateTextDirection as a, cutTextDirection as i, TEXT_ISOLATE_CLASS as n, plainSlotText as o, cutTextAttrs as r, textDirection as s, CUT_TEXT_PAGE_ALIGN_CLASS as t };
@@ -1,4 +1,5 @@
1
1
  import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
2
+ import { a as isolateTextDirection } from "./textDirection-C_CScrt5.js";
2
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-ZpQP-aQg.js";
3
4
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
4
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
@@ -22,6 +23,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
22
23
  const tooltipId = `astryx-status-tooltip-${useId()}`;
23
24
  const showsTooltip = computed(() => props.tooltip === true && Boolean(props.message));
24
25
  const tooltip = useButtonTooltip(showsTooltip);
26
+ const tooltipText = computed(() => isolateTextDirection(props.message ?? ""));
25
27
  const label = computed(() => {
26
28
  if (props.type === "warning") return messages.value.input.statusWarning;
27
29
  if (props.type === "success") return messages.value.input.statusSuccess;
@@ -54,7 +56,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
54
56
  id: tooltipId,
55
57
  anchor: anchor.value,
56
58
  open: unref(tooltip).isOpen.value,
57
- text: __props.message ?? "",
59
+ text: tooltipText.value,
58
60
  onPointerEnter: unref(tooltip).onTooltipPointerEnter,
59
61
  onPointerLeave: unref(tooltip).onPointerLeave
60
62
  }, null, 8, [
@@ -27,7 +27,7 @@ interface SectionProps extends PaddingInput {
27
27
  height?: SizeValue;
28
28
  /** 最大宽度。数字是像素,字符串原样使用。 */
29
29
  maxWidth?: SizeValue;
30
- /** 最小高度。数字是像素,字符串原样使用。 */
30
+ /** 最小高度。数字是像素,字符串原样使用。上色的内层撑满区域达到的高度。 */
31
31
  minHeight?: SizeValue;
32
32
  /** 哪些边画分隔线。start / end 随书写方向翻转。 */
33
33
  dividers?: SectionDivider[];
@@ -1,7 +1,7 @@
1
1
  import { f as isTrackedByGroup, v as GROUP_PRESS_POINTERS, y as PRESS_GROUP_ITEM_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
2
- import { i as resolveGroupTouch, r as createActionGroupTracker } from "./useTouchHitArea-BBoTjQ32.js";
2
+ import { i as resolveGroupTouch, r as createActionGroupTracker } from "./useTouchHitArea-gP3O_wIA.js";
3
3
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
4
- import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
4
+ import { n as isInsideScrollView } from "./scrollView-D2GwmeFx.js";
5
5
  import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-VrM5-7aV.js";
6
6
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
7
7
  //#region src/composables/internal/useActionGroupTracking.ts
@@ -1,6 +1,6 @@
1
1
  import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
2
2
  import { a as calendarAddMonths, c as calendarDayOfMonth, f as calendarMonthOf, v as isGregorianAligned } from "./calendar-C7py_wtb.js";
3
- import { n as formatCalendarDate } from "./calendarFormat-_CEZIMZG.js";
3
+ import { n as formatCalendarDate } from "./calendarFormat-DTC8AICa.js";
4
4
  import { CalendarDate } from "@internationalized/date";
5
5
  //#region src/Calendar/calendarMonths.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
2
2
  import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
3
- import { t as getGestureHost } from "./GestureHost-zNPZolYj.js";
3
+ import { t as getGestureHost } from "./GestureHost-C0FstEs3.js";
4
4
  import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
5
5
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
6
6
  //#region src/gestures/fingerScroll.ts
@@ -1,5 +1,5 @@
1
1
  import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
2
- import { l as internals, t as getGestureHost } from "./GestureHost-zNPZolYj.js";
2
+ import { l as internals, t as getGestureHost } from "./GestureHost-C0FstEs3.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-C6A69-um.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-i37zUogW.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-D93Kcdo-.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -0,0 +1,35 @@
1
+ import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
2
+ import { computed } from "vue";
3
+ //#region src/locale/useListFormatter.ts
4
+ /**
5
+ * 按当前语言把几段文字连成一个并列列表(英文是 `a, b, c`)。
6
+ * 用 narrow 的并列格式:它在每种内置语言里都会用分隔符隔开各段,整句话也不会连在一起
7
+ * (单位列表在 zh-CN 里没有分隔符,在 ja-JP 里只有空格)。
8
+ * 没有 provider 时按英文连。
9
+ */
10
+ function useListFormatter() {
11
+ const locale = useAstryxLocale();
12
+ return computed(() => {
13
+ const format = new Intl.ListFormat(locale.value, {
14
+ type: "conjunction",
15
+ style: "narrow"
16
+ });
17
+ return (items) => format.format(items);
18
+ });
19
+ }
20
+ /**
21
+ * 和 `useListFormatter` 同样的列表,拆成按顺序排的各项和分隔文字,调用方可以单独标注每一项
22
+ * (比如给它隔离方向),同时保留这门语言的分隔符和顺序。
23
+ */
24
+ function useListPartsFormatter() {
25
+ const locale = useAstryxLocale();
26
+ return computed(() => {
27
+ const format = new Intl.ListFormat(locale.value, {
28
+ type: "conjunction",
29
+ style: "narrow"
30
+ });
31
+ return (items) => format.formatToParts(items);
32
+ });
33
+ }
34
+ //#endregion
35
+ export { useListPartsFormatter as n, useListFormatter as t };
@@ -5,9 +5,9 @@ import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
5
5
  import { t as animatorFor } from "./animator-L1kmTBSi.js";
6
6
  import { t as KEYBOARD_SPRING } from "./springs-BqW2WrS-.js";
7
7
  import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
8
- import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
8
+ import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-QzzYeTWo.js";
9
9
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
10
- import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
10
+ import { n as observeResize } from "./sharedResizeObserver-BnRTJaNh.js";
11
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-DgecasHn.js";
12
12
  import { readonly, shallowRef, toValue, watch } from "vue";
13
13
  //#region src/keyboard/keyboardRide.ts
@@ -2,7 +2,7 @@ import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, f as isTrackedByGroup, i a
2
2
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
3
3
  import { s as UIKIT_PRESS } from "./gestures-BpGkqgpV.js";
4
4
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
5
- import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
5
+ import { n as isInsideScrollView } from "./scrollView-D2GwmeFx.js";
6
6
  import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-VrM5-7aV.js";
7
7
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
8
8
  import "../styles/pressable.css";
@@ -1,6 +1,7 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
2
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
3
3
  import { t as animatorFor } from "./animator-L1kmTBSi.js";
4
+ import { r as themeReducesMotion } from "./reducedMotionMark-CYSyfURo.js";
4
5
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
5
6
  import { d as springs } from "./springs-BqW2WrS-.js";
6
7
  import { t as project } from "./projection-BafBD5NP.js";
@@ -165,8 +166,9 @@ function createOvershootDrawing(pane, handleOf) {
165
166
  }
166
167
  };
167
168
  }
169
+ /** 减少动效:系统设置,或者对所有人减少动效的主题(reducedMotion: 'always')。 */
168
170
  function reducesMotion(element) {
169
- return element?.ownerDocument.defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches === true;
171
+ return element?.ownerDocument.defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches === true || themeReducesMotion(element);
170
172
  }
171
173
  function createRegionMotion(host) {
172
174
  let pane = null;
@@ -555,6 +557,9 @@ function useSingleRegion(options, cascade) {
555
557
  let settledDefault = false;
556
558
  let dragging = false;
557
559
  let dragLimits = null;
560
+ let hasBeenResized = false;
561
+ let restoredSize = null;
562
+ let stateAtGestureStart = null;
558
563
  function observesContainer() {
559
564
  return options.containerRef != null && (sizeDependsOnBasis(options.minSize) || sizeDependsOnBasis(options.maxSize) || sizeDependsOnBasis(options.defaultSize));
560
565
  }
@@ -606,6 +611,7 @@ function useSingleRegion(options, cascade) {
606
611
  options.onSizeChange?.(0);
607
612
  },
608
613
  endGesture() {
614
+ noteGestureEnd();
609
615
  dragging = false;
610
616
  dragLimits = null;
611
617
  persist();
@@ -633,6 +639,7 @@ function useSingleRegion(options, cascade) {
633
639
  const saved = options.autoSaveId ? loadPersistedState(options.autoSaveId) : null;
634
640
  const collapsed = controlledCollapse.value ?? saved?.isCollapsed ?? (collapsible && options.defaultIsCollapsed === true);
635
641
  const starting = saved?.size ?? initial;
642
+ restoredSize = saved?.size ?? null;
636
643
  if (options.containerRef != null && !basis.measured) {
637
644
  basisMeasured.value = false;
638
645
  applySize(starting, Boolean(collapsed));
@@ -644,12 +651,17 @@ function useSingleRegion(options, cascade) {
644
651
  applySize(starting, Boolean(collapsed));
645
652
  }
646
653
  restore();
654
+ /**
655
+ * 第一次调整之前,只有被边界或吸附点改过的恢复尺寸才写回;之后存储记下区域显示的尺寸。
656
+ */
647
657
  function persist() {
648
658
  if (!options.autoSaveId || !basisMeasured.value) return;
659
+ if (!hasBeenResized && (restoredSize == null || restoredSize === expandedSize.value)) return;
649
660
  savePersistedState(options.autoSaveId, expandedSize.value, isCollapsed.value);
650
661
  }
651
662
  function setCollapsed(next) {
652
663
  if (!collapsible && next) return;
664
+ if (next !== isCollapsed.value) hasBeenResized = true;
653
665
  if (options.isCollapsed != null) {
654
666
  options.onCollapseChange?.(next);
655
667
  return;
@@ -660,12 +672,23 @@ function useSingleRegion(options, cascade) {
660
672
  cascade?.settle();
661
673
  }
662
674
  function resize(next) {
675
+ if (isCollapsed.value || clampSize(next, limits().min, limits().max, snaps) !== size.value) hasBeenResized = true;
663
676
  applySize(next, false);
664
677
  cascade?.settle();
665
678
  options.onSizeChange?.(size.value);
666
679
  persist();
667
680
  }
681
+ /** 一次手势只有真的挪动了尺寸或收起状态,才算人调整过。 */
682
+ function noteGestureEnd() {
683
+ const start = stateAtGestureStart;
684
+ stateAtGestureStart = null;
685
+ if (start != null && (start.size !== size.value || start.isCollapsed !== isCollapsed.value)) hasBeenResized = true;
686
+ }
668
687
  function onResizeStart() {
688
+ stateAtGestureStart = {
689
+ size: size.value,
690
+ isCollapsed: isCollapsed.value
691
+ };
669
692
  dragging = true;
670
693
  dragLimits = limits();
671
694
  motion.start();
@@ -725,7 +748,10 @@ function useSingleRegion(options, cascade) {
725
748
  onBeforeUnmount(() => {
726
749
  observer?.disconnect();
727
750
  motion.dispose();
728
- if (dragging) persist();
751
+ if (dragging) {
752
+ noteGestureEnd();
753
+ persist();
754
+ }
729
755
  });
730
756
  watch(controlledCollapse, (next) => {
731
757
  if (next != null) {
@@ -1,5 +1,5 @@
1
1
  import { n as SpacingStep } from "./types-BTk0WZ0b.js";
2
- import { i as SectionVariant } from "./types-uFMH9NaM.js";
2
+ import { i as SectionVariant } from "./types-ByudyXHy.js";
3
3
  import { CSSProperties, MaybeRefOrGetter, Ref, VNode, VNodeChild } from "vue";
4
4
  //#region src/Toolbar/types.d.ts
5
5
  type ToolbarSize = 'sm' | 'md' | 'lg';
@@ -1,6 +1,6 @@
1
1
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
2
2
  import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
3
- import { t as revealReturnTarget } from "./revealReturnTarget-DNX6xtLb.js";
3
+ import { t as revealReturnTarget } from "./revealReturnTarget-BvKNVyf1.js";
4
4
  import { onScopeDispose, watch } from "vue";
5
5
  //#region src/composables/useRestoreFocus.ts
6
6
  /**
@@ -1,19 +1,24 @@
1
1
  import { a as isMeasurable, i as getLogicalAxisMapping, u as measureScrollAxis } from "./scrollGeometry-ajfQQRJt.js";
2
- import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
2
+ import { i as splitFirstResizeDelivery, r as observeResizeAfterLayout } from "./sharedResizeObserver-BnRTJaNh.js";
3
3
  import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
4
4
  //#region src/composables/internal/mainOverflow.ts
5
5
  /**
6
6
  * 内容直接放在滚动容器里、没有内层盒子的区域(AppShell 的主区域,可滚动的 LayoutContent、
7
7
  * LayoutPanel、StackItem)是不是溢出。内容变长时容器自己的大小不变,所以盯的是它的直接子元素。
8
8
  *
9
- * 先量一次,之后只在答案变化时调 `onChange`。多个信号合并成每帧一次测量。
9
+ * 浏览器第一次排好版后量一次,之后只在答案变化时调 `onChange`。多个信号合并成每帧一次测量。
10
10
  * 藏起来、没连在文档上、尺寸为 0 的区域答「不知道」:保留上一次的答案,等下一次有效的信号。
11
11
  * 返回停止观察的函数。
12
+ *
13
+ * 区域在挂载时绑上,那时读布局会逼浏览器提前排一遍版。所以第一次测量等尺寸观察器的第一次通知,
14
+ * 那时浏览器刚排好区域或它的子元素,立即量不会多排一遍;同一轮通知里区域和子元素一起到,也只量一次。
15
+ * 没有 ResizeObserver 的环境里绑上就量。
12
16
  */
13
17
  function observeMainOverflow(main, onChange) {
14
18
  let isActive = true;
15
19
  let frame = null;
16
20
  let overflows = null;
21
+ let isLaidOut = false;
17
22
  function measure() {
18
23
  frame = null;
19
24
  if (!isActive) return;
@@ -27,13 +32,17 @@ function observeMainOverflow(main, onChange) {
27
32
  }
28
33
  }
29
34
  function scheduleMeasure() {
30
- if (!isActive || frame != null) return;
35
+ if (!isActive || !isLaidOut || frame != null) return;
31
36
  if (typeof requestAnimationFrame !== "function") {
32
37
  measure();
33
38
  return;
34
39
  }
35
40
  frame = requestAnimationFrame(measure);
36
41
  }
42
+ const onResize = splitFirstResizeDelivery(() => {
43
+ isLaidOut = true;
44
+ measure();
45
+ }, scheduleMeasure);
37
46
  const childObservers = /* @__PURE__ */ new Map();
38
47
  function syncChildObservers() {
39
48
  const children = new Set(Array.from(main.children));
@@ -41,11 +50,16 @@ function observeMainOverflow(main, onChange) {
41
50
  stop();
42
51
  childObservers.delete(child);
43
52
  }
44
- for (const child of children) if (!childObservers.has(child)) childObservers.set(child, observeResize(child, scheduleMeasure));
53
+ for (const child of children) if (!childObservers.has(child)) {
54
+ const stop = observeResizeAfterLayout(child, (entry) => {
55
+ if (entry != null) onResize();
56
+ });
57
+ childObservers.set(child, stop ?? (() => {}));
58
+ }
45
59
  }
46
- measure();
47
60
  syncChildObservers();
48
- const stopObservingMain = observeResize(main, scheduleMeasure);
61
+ const stopObservingMain = observeResizeAfterLayout(main, onResize);
62
+ if (stopObservingMain == null) onResize();
49
63
  const mutations = typeof MutationObserver === "undefined" ? null : new MutationObserver(() => {
50
64
  syncChildObservers();
51
65
  scheduleMeasure();
@@ -71,7 +85,7 @@ function observeMainOverflow(main, onChange) {
71
85
  isActive = false;
72
86
  if (frame != null && typeof cancelAnimationFrame === "function") cancelAnimationFrame(frame);
73
87
  frame = null;
74
- stopObservingMain();
88
+ stopObservingMain?.();
75
89
  mutations?.disconnect();
76
90
  for (const stop of childObservers.values()) stop();
77
91
  childObservers.clear();
@@ -383,6 +383,40 @@ function interactiveWithin(root, ownerOf) {
383
383
  for (const element of root.querySelectorAll(INTERACTIVE_SELECTOR)) found.add(ownerOf(element));
384
384
  return [...found];
385
385
  }
386
+ /**
387
+ * 输入框、数字框和选择器的外框。框里的可点部件(输入框、清除按钮)彼此照常分热区,
388
+ * 外框本身也算一个邻居,所以旁边控件的热区停在外框边上,不伸进框的内边距。
389
+ */
390
+ const FIELD_FRAME_SELECTOR = ".astryx-text-input, .astryx-number-input, .astryx-selector-field";
391
+ /**
392
+ * 候选连同它们所在的输入外框。外框每次读的时候重新找,缓存里的元素挪进或挪出外框也跟得上。
393
+ */
394
+ function withFieldFrames(elements, ownerOf) {
395
+ const found = new Set(elements);
396
+ for (const element of [...found]) {
397
+ const frame = element.closest(FIELD_FRAME_SELECTOR);
398
+ if (frame != null) found.add(ownerOf(frame));
399
+ }
400
+ return found;
401
+ }
402
+ /**
403
+ * 轻点能不能落到 `element` 上。手指离一个点不到的邻居更近时,这一下仍归控件:
404
+ * 禁用、在 inert 子树里、`pointer-events: none`、被 visibility 或 content-visibility 藏起来的都点不到。
405
+ * 只有按下时的复查问它;测量不读样式,所以这样的邻居照样让热区停在半路,那一条谁也不接。
406
+ * 透明度不算:画成透明的控件(盖在自己画的框上的原生 input)照样接点击。
407
+ */
408
+ function takesTaps(element) {
409
+ if (element.matches(":disabled") || element.closest("[inert]") != null) return false;
410
+ const view = element.ownerDocument.defaultView;
411
+ if (view == null) return true;
412
+ const style = view.getComputedStyle(element);
413
+ if (style.pointerEvents === "none") return false;
414
+ const probe = element;
415
+ if (typeof probe.checkVisibility === "function") return probe.checkVisibility({ checkVisibilityCSS: true });
416
+ if (style.visibility === "hidden" || style.visibility === "collapse") return false;
417
+ for (let node = element.parentElement; node != null; node = node.parentElement) if (view.getComputedStyle(node).getPropertyValue("content-visibility") === "hidden") return false;
418
+ return true;
419
+ }
386
420
  /** 离开文档的元素一次扫掉。 */
387
421
  function dropDisconnected(set) {
388
422
  for (const element of set) if (!element.isConnected) set.delete(element);
@@ -586,10 +620,10 @@ function interactiveElements(doc) {
586
620
  if (candidates == null || mutations == null) candidates = new Set(interactiveWithin(doc, ownerOf));
587
621
  return candidates;
588
622
  }
589
- /** 读候选的矩形;挪着的祖先下面的元素不算邻居,它们的位置马上就变。 */
623
+ /** 读候选的矩形,连同它们所在的输入外框;挪着的祖先下面的元素不算邻居,它们的位置马上就变。 */
590
624
  function readCandidates(doc, scopes = []) {
591
625
  const read = [];
592
- for (const element of interactiveElements(doc)) if (scopes.length === 0 || motionAbove(scopes, element).length === 0) read.push({
626
+ for (const element of withFieldFrames(interactiveElements(doc), ownerOf)) if (scopes.length === 0 || motionAbove(scopes, element).length === 0) read.push({
593
627
  element,
594
628
  rect: plainRect(element)
595
629
  });
@@ -610,10 +644,10 @@ function measureOne(watch, all) {
610
644
  bottom: 44 * scale.y,
611
645
  left: 44 * scale.x
612
646
  });
613
- const neighbours = all.filter(({ element, rect }) => rect.right > rect.left && rect.bottom > rect.top && rect.left < band.right && band.left < rect.right && rect.top < band.bottom && band.top < rect.bottom && !isOwn(watch.element, element)).map(({ rect }) => rect);
647
+ const neighbours = all.filter(({ element, rect }) => rect.right > rect.left && rect.bottom > rect.top && rect.left < band.right && band.left < rect.right && rect.top < band.bottom && band.top < rect.bottom && !isOwn(watch.element, element));
614
648
  return {
615
649
  target,
616
- insets: clampedHitInsets(inLayout(target, target, scale), neighbours.map((rect) => inLayout(rect, target, scale)), 44, watch.growth?.(target, watch.element)),
650
+ insets: clampedHitInsets(inLayout(target, target, scale), neighbours.map(({ rect }) => inLayout(rect, target, scale)), 44, watch.growth?.(target, watch.element)),
617
651
  neighbours
618
652
  };
619
653
  }
@@ -700,7 +734,7 @@ function checkTap(watch, at, click) {
700
734
  if (click != null && motionAbove(scopes, watch.element).length > 0) return;
701
735
  const { target, neighbours } = measureOne(watch, readCandidates(doc, scopes));
702
736
  const own = distanceTo(target, at.x, at.y);
703
- if (click == null || !neighbours.some((rect) => distanceTo(rect, at.x, at.y) < own)) return;
737
+ if (click == null || !neighbours.some(({ element, rect }) => distanceTo(rect, at.x, at.y) < own && takesTaps(element))) return;
704
738
  click.preventDefault();
705
739
  click.stopPropagation();
706
740
  }
@@ -1,4 +1,4 @@
1
- import { n as observeResize, t as isResizeObserved } from "./sharedResizeObserver-BekhnB3E.js";
1
+ import { n as observeResize, t as isResizeObserved } from "./sharedResizeObserver-BnRTJaNh.js";
2
2
  import { t as observeContent } from "./sharedMutationObserver-Dvh3N1N2.js";
3
3
  import { onScopeDispose, ref, toValue, watch } from "vue";
4
4
  //#region src/Text/useTruncation.ts
@@ -1,8 +1,8 @@
1
1
  import { t as matchesFocusVisible } from "./tooltipTriggerRules-BjnT3wIz.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { r as tooltipPresentInterestKey } from "./useTooltip-CYRQuYj_.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-BGw1Dxs7.js";
5
- import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
3
+ import { r as tooltipPresentInterestKey } from "./useTooltip-DSB9njlb.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-BYXFoOwa.js";
5
+ import { n as useTruncation, t as truncatePlacement } from "./useTruncation-Cn8Ohj_1.js";
6
6
  import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
7
7
  //#region src/Text/TruncationTooltip.vue
8
8
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,10 +1,10 @@
1
- import { t as characterCount } from "./characters-wTnzjkkR.js";
1
+ import { t as characterCount } from "./characters-DmSa8HSB.js";
2
2
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
3
3
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
4
4
  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
- import { t as _sfc_main$3 } from "./Spinner-A3u6UMC2.js";
7
+ import { t as _sfc_main$3 } from "./Spinner-CQXQ0RqS.js";
8
8
  import { t as createStillPointerGate } from "./stillPointerGate-D15jGSjP.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";
@@ -1,10 +1,10 @@
1
1
  import { n as isSafeUrl, r as sanitizeUrl, t as isSafeDestination } from "../safeUrl-CsvfcZ9m.js";
2
- import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "../characters-wTnzjkkR.js";
2
+ import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "../characters-DmSa8HSB.js";
3
3
  import { i as scrollsPage, n as scrollEventTarget, r as scrollportTop, t as setScrollAnchoringOff } from "../scrollAnchoring-CNplZXRt.js";
4
- import { n as observeResize, r as unobserveResize } from "../sharedResizeObserver-BekhnB3E.js";
4
+ import { a as unobserveResize, n as observeResize } from "../sharedResizeObserver-BnRTJaNh.js";
5
5
  import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o as formatDisplayTime24h, r as compareTime, t as adjustTime, u as parseTimeInput } from "../timeParser-nVL5sIwT.js";
6
6
  import { A as plainDateSetFirstOfMonth, C as plainDateIsAfter, D as plainDateMax, E as plainDateIsInRange, F as plainDateToday, I as plainDateWeekFieldName, M as plainDateToDate, N as plainDateToISO, O as plainDateMin, P as plainDateToInstant, S as plainDateGetWeekNumber, T as plainDateIsEqual, _ as plainDateDiffDays, a as DATE_FORMAT_SHORT_WITH_WEEKDAY, b as plainDateFromISO, c as DATE_FORMAT_WITH_WEEKDAY, d as getDaysInMonth, f as getTimeZoneParts, g as plainDateDayOfWeek, h as plainDateCreate, i as DATE_FORMAT_SHORT, j as plainDateSetStartOfWeek, k as plainDateSetEndOfWeekExclusive, l as SHARED_DATE_FORMAT_OPTIONS, m as plainDateAddMonths, n as DATE_FORMAT_MONTH_ONLY, o as DATE_FORMAT_SHORT_WITH_YEAR, p as plainDateAddDays, r as DATE_FORMAT_MONTH_YEAR, s as DATE_FORMAT_WEEKDAY_ONLY, t as DATE_FORMAT_LONG, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, x as plainDateFromInstant, y as plainDateFromDate } from "../plainDate-CaTDErKr.js";
7
7
  import { a as pickerPresentationFromNativePicker, c as resolvePickerPresentation, i as effectivePickerPresentation, l as isLocaleDayFirst, o as presentationFromNativePicker, r as effectiveInputPresentation, s as resolveInputPresentation, t as DEFAULT_INPUT_PRESENTATION, u as parseDateInput } from "../inputPresentation-DES0JwkL.js";
8
- import { t as useFingerScroll } from "../useFingerScroll-DdV3zgsK.js";
8
+ import { t as useFingerScroll } from "../useFingerScroll-CAC6Pd3m.js";
9
9
  import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers, t as parseStyleKey } from "../utils-BW62BpDR.js";
10
10
  export { DATE_FORMAT_LONG, DATE_FORMAT_MONTH_ONLY, DATE_FORMAT_MONTH_YEAR, DATE_FORMAT_SHORT, DATE_FORMAT_SHORT_WITH_WEEKDAY, DATE_FORMAT_SHORT_WITH_YEAR, DATE_FORMAT_WEEKDAY_ONLY, DATE_FORMAT_WITH_WEEKDAY, DEFAULT_INPUT_PRESENTATION, SHARED_DATE_FORMAT_OPTIONS, adjustTime, chainEventHandlers, characterCount, clampTime, compareTime, createISOTimeString, plainDateToISO as dateToISO, plainDateToISO, effectiveInputPresentation, effectivePickerPresentation, firstCharacter, formatDisplayTime12h, formatDisplayTime24h, formatSharedDate, getDaysInMonth, getInputARIA, getItemGroup, getTimeZoneParts, groupItems, isLocaleDayFirst, isSafeDestination, isSafeUrl, joinAriaIDs, normalizeDayOfWeek, observeResize, parseDateInput, plainDateFromISO as parseISO, plainDateFromISO, parseStyleKey, parseTimeInput, pickerPresentationFromNativePicker, plainDateAddDays, plainDateAddMonths, plainDateCreate, plainDateDayOfWeek, plainDateDiffDays, plainDateFormat, plainDateFromDate, plainDateFromInstant, plainDateGetWeekNumber, plainDateIsAfter, plainDateIsBefore, plainDateIsEqual, plainDateIsInRange, plainDateMax, plainDateMin, plainDateSetEndOfWeekExclusive, plainDateSetFirstOfMonth, plainDateSetStartOfWeek, plainDateToDate, plainDateToInstant, plainDateToday, plainDateWeekFieldName, presentationFromNativePicker, resolveInputPresentation, resolvePickerPresentation, sanitizeUrl, truncateCharacters, unobserveResize, scrollEventTarget as unstable_scrollEventTarget, scrollportTop as unstable_scrollportTop, scrollsPage as unstable_scrollsPage, setScrollAnchoringOff as unstable_setScrollAnchoringOff, useFingerScroll as unstable_useFingerScroll };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.43.3",
4
+ "version": "0.43.5",
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",
@@ -20,7 +20,11 @@
20
20
  --layout-padding-inner-y: initial;
21
21
  --layout-content-width: initial;
22
22
  --layout-alignment-width: initial;
23
- --_section-padding-propagated: initial;
23
+ /* 外层 Section 显式给的内边距靠继承传给里面没给 padding 的 Section,也停在这里。 */
24
+ --_section-inline-start: initial;
25
+ --_section-inline-end: initial;
26
+ --_section-block-start: initial;
27
+ --_section-block-end: initial;
24
28
  }
25
29
 
26
30
  .astryx-app-shell[data-variant='wash'],
@@ -45,19 +45,20 @@
45
45
  transition-property: none;
46
46
  }
47
47
 
48
- .astryx-clickable-card:focus-within {
48
+ /* 只为卡片自己的链接、按钮或复选框画焦点环;子内容里的控件自己画,卡片不再套一圈。 */
49
+ .astryx-clickable-card:has(> [data-astryx-focus-owner]:focus-visible) {
49
50
  outline: var(--astryx-focus-outline-width, 2px) solid var(--astryx-focus-outline-color, var(--astryx-color-text-primary, #171717));
50
51
  outline-offset: var(--astryx-focus-outline-offset, 2px);
51
52
  }
52
53
 
53
- .astryx-clickable-card[data-disabled='true'] {
54
+ .astryx-clickable-card[data-disabled] {
54
55
  cursor: default;
55
56
  opacity: 0.5;
56
57
  }
57
58
 
58
- .astryx-clickable-card[data-disabled='true']::after,
59
- .astryx-clickable-card[data-disabled='true']:hover::after,
60
- .astryx-clickable-card[data-disabled='true']:active::after {
59
+ .astryx-clickable-card[data-disabled]::after,
60
+ .astryx-clickable-card[data-disabled]:hover::after,
61
+ .astryx-clickable-card[data-disabled]:active::after {
61
62
  background-color: transparent;
62
63
  }
63
64
 
@@ -112,6 +113,16 @@
112
113
  --astryx-selectable-card-accent: var(--astryx-color-yellow, #ca8a04);
113
114
  }
114
115
 
116
+ /*
117
+ * 强制颜色模式去掉选中环的阴影、重画边框,选中需要自己的环:画在不占地方的 ::after 上,切换选中时什么都不挪动。
118
+ * 主题给卡片设的边框色到不了这一层;内容会滚动的定高卡片上,这一层跟着内容滚。
119
+ */
120
+ @media (forced-colors: active) {
121
+ .astryx-selectable-card[data-selected='true']::after {
122
+ border: 2px solid Highlight;
123
+ }
124
+ }
125
+
115
126
  /* 减少动态效果时,悬停、按下、选中的颜色和边框都立即切换,不做过渡。 */
116
127
  @media (prefers-reduced-motion: reduce) {
117
128
  .astryx-clickable-card::after,
@@ -197,4 +197,9 @@
197
197
  transition: none;
198
198
  }
199
199
  }
200
+
201
+ /* 主题对所有人减少动效时箭头的旋转同样立刻落定。 */
202
+ :where([data-astryx-reduced-motion]) .astryx-collapsible-chevron {
203
+ transition: none;
204
+ }
200
205
  }
@@ -10,4 +10,9 @@
10
10
  text-align: -webkit-match-parent;
11
11
  text-align: match-parent;
12
12
  }
13
+
14
+ /* 列表里的一项自成一段,方向由它自己的 `dir` 决定,不和相邻的项混排。 */
15
+ .astryx-text-isolate {
16
+ unicode-bidi: isolate;
17
+ }
13
18
  }
@@ -23,6 +23,15 @@
23
23
  min-width: 0;
24
24
  }
25
25
 
26
+ /*
27
+ * 日期输入框带着语言的方向(`dir`),对齐仍跟页面:`match-parent` 按父元素的方向解析
28
+ * start 和 end,Chromium 只认带前缀的写法。
29
+ */
30
+ .astryx-date-time-fields .astryx-date-input-field[dir] {
31
+ text-align: -webkit-match-parent;
32
+ text-align: match-parent;
33
+ }
34
+
26
35
  .astryx-date-time-input .astryx-date-input-wrapper {
27
36
  min-width: 0;
28
37
  }
package/styles/layer.css CHANGED
@@ -65,7 +65,11 @@
65
65
  --layout-padding-own-outer-y: initial;
66
66
  --layout-padding-inner-x: initial;
67
67
  --layout-padding-inner-y: initial;
68
- --_section-padding-propagated: initial;
68
+ /* 外层 Section 显式给的内边距靠继承传给里面没给 padding 的 Section,也停在这里。 */
69
+ --_section-inline-start: initial;
70
+ --_section-inline-end: initial;
71
+ --_section-block-start: initial;
72
+ --_section-block-end: initial;
69
73
  /* 步骤条的连接线空隙只属于外面那条轨道。浮层里的步骤条回到自己的 0。 */
70
74
  --astryx-step-connector-gap: initial;
71
75
  /* 外面容器传给 Text 的 anywhere 换行也停在这里,浮层里的 Text 回到自己的 break-word。 */
@@ -156,4 +156,9 @@
156
156
  animation-duration: 0.01ms;
157
157
  }
158
158
  }
159
+
160
+ /* 主题对所有人减少动效时一样压到 0.01ms。 */
161
+ :where([data-astryx-reduced-motion]) .astryx-mobile-nav__drawer {
162
+ animation-duration: 0.01ms;
163
+ }
159
164
  }