@astryx-vue/core 0.29.0 → 0.30.1

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 (315) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-B195FgtL.js → AlertDialog-B_p1yL3k.js} +9 -9
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-CxUmt6hX.js → AppShell-D3KZSLvb.js} +5 -5
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-DpFHPRlE.js → Avatar-IVvsyeGV.js} +1 -1
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-DT5RbxDa.js → AvatarGroup-Dd-yDDNz.js} +2 -2
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-DVU5-fWC.js → Banner-DKmvoMxD.js} +1 -1
  14. package/dist/BottomSheet/index.d.ts +1 -1
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-DVe5Nw9Z.js → BottomSheet-Btf8Yn8k.js} +881 -302
  17. package/dist/{BottomSheet-D3893Ymj.js → BottomSheet-CQGtoh2x.js} +8 -2
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-CQa-Jjnn.js → Breadcrumbs-D6825HQI.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-yJiHoWps.js → Button-DdPty46q.js} +5 -5
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-CUN_rC57.js → ButtonGroup-oI99JAyN.js} +3 -3
  26. package/dist/{ButtonTooltip-CNKOQHYR.js → ButtonTooltip-ZpQP-aQg.js} +1 -1
  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-DPhwOTjx.js → Carousel-BNr79JpP.js} +1 -1
  32. package/dist/Chat/index.d.ts +1 -1
  33. package/dist/Chat/index.js +1 -1
  34. package/dist/{Chat-Bg1IuDMt.js → Chat-BadS0fEx.js} +4 -4
  35. package/dist/CheckboxInput/index.d.ts +1 -1
  36. package/dist/CheckboxInput/index.js +1 -1
  37. package/dist/{CheckboxInput-C-UseBJo.js → CheckboxInput-CzP8gP3v.js} +4 -4
  38. package/dist/CheckboxList/index.d.ts +1 -1
  39. package/dist/CheckboxList/index.js +1 -1
  40. package/dist/{CheckboxList-DGM-cgX5.js → CheckboxListItem-CxBjpX3d.js} +5 -5
  41. package/dist/ClickableCard/index.d.ts +1 -1
  42. package/dist/ClickableCard/index.js +1 -1
  43. package/dist/{ClickableCard-ChmOwgYq.js → ClickableCard-B86P2aiM.js} +1 -1
  44. package/dist/Code/index.d.ts +1 -1
  45. package/dist/Code/index.js +1 -1
  46. package/dist/{CodeBlock-3QLhu3jZ.js → CodeBlock-Cgm4uOhG.js} +1 -1
  47. package/dist/Collapsible/index.d.ts +1 -1
  48. package/dist/Collapsible/index.js +1 -1
  49. package/dist/{Collapsible-B2vrr_YP.js → Collapsible-CfTN722D.js} +3 -3
  50. package/dist/CommandPalette/index.js +1 -1
  51. package/dist/{CommandPalette-CtY5ZCR7.js → CommandPalette-BgVwGtdA.js} +2 -2
  52. package/dist/ComplexSelector/index.d.ts +1 -1
  53. package/dist/ComplexSelector/index.js +1 -1
  54. package/dist/{ComplexSelector-CZiUA6Gm.js → ComplexSelector-DqWJVx7H.js} +4 -4
  55. package/dist/ContextMenu/index.d.ts +1 -1
  56. package/dist/ContextMenu/index.js +2 -2
  57. package/dist/{ContextMenu-8I420g7H.js → ContextMenu-C9dJGu3M.js} +4 -4
  58. package/dist/DateInput/index.d.ts +1 -1
  59. package/dist/DateInput/index.js +1 -1
  60. package/dist/{DateInput-KZF_A_31.js → DateInput-CGKaozkw.js} +4 -4
  61. package/dist/DateRangeInput/index.d.ts +1 -1
  62. package/dist/DateRangeInput/index.js +1 -1
  63. package/dist/{DateRangeInput-4GCWgLFN.js → DateRangeInput-BVHXgzXz.js} +4 -4
  64. package/dist/DateTimeInput/index.d.ts +1 -1
  65. package/dist/DateTimeInput/index.js +1 -1
  66. package/dist/{DateTimeInput-BGcdOmRp.js → DateTimeInput-DRm3lekJ.js} +5 -5
  67. package/dist/Dialog/index.d.ts +1 -1
  68. package/dist/Dialog/index.js +3 -3
  69. package/dist/{Dialog-CKDlXonX.js → Dialog-BN-NycQr.js} +1 -1
  70. package/dist/{Dialog-DjhG_vpE.js → Dialog-Dt0gNuMT.js} +2 -2
  71. package/dist/{DialogHeader-C1Bz4Knk.js → DialogHeader-CSH2_5v-.js} +2 -2
  72. package/dist/Divider/index.d.ts +1 -1
  73. package/dist/Drawer/index.d.ts +1 -1
  74. package/dist/Drawer/index.js +1 -1
  75. package/dist/{Drawer-BqcPP0z7.js → Drawer-PeMgE4iA.js} +2 -2
  76. package/dist/DropdownMenu/index.js +3 -3
  77. package/dist/{DropdownMenu-CSqkl-Xl.js → DropdownMenu-C9bvYZPt.js} +6 -6
  78. package/dist/{DropdownMenu-B-dBiomz.js → DropdownMenu-_lQQyQCn.js} +7 -7
  79. package/dist/EmptyState/index.js +1 -1
  80. package/dist/{EmptyState-DNjqNAT3.js → EmptyState-BGo1nrnT.js} +2 -2
  81. package/dist/Field/index.js +3 -3
  82. package/dist/{Field-DrUMz0oj.js → Field-D-fRqyso.js} +1 -1
  83. package/dist/{FieldInfoTip-DmDOcxU1.js → FieldInfoTip-Bstp5Lvd.js} +2 -2
  84. package/dist/{FieldLabel-DsFZnW1l.js → FieldLabel-lV_qLaGp.js} +1 -1
  85. package/dist/FileInput/index.js +1 -1
  86. package/dist/{FileInput-0u4zjJfx.js → FileInput-CTNnDIkm.js} +4 -4
  87. package/dist/Heading/index.d.ts +1 -1
  88. package/dist/Heading/index.js +1 -1
  89. package/dist/{Heading-BG1PBVkf.js → Heading-BFK3PftX.js} +1 -1
  90. package/dist/HoverCard/index.d.ts +1 -1
  91. package/dist/HoverCard/index.js +1 -1
  92. package/dist/{HoverCard-Fr6RLRR8.js → HoverCard-DGjsPn-Q.js} +3 -3
  93. package/dist/IconButton/index.js +1 -1
  94. package/dist/{IconButton-CEjiXpUg.js → IconButton-DPezhVBA.js} +1 -1
  95. package/dist/InfoTip/index.d.ts +1 -1
  96. package/dist/InfoTip/index.js +1 -1
  97. package/dist/{InfoTip-CKRaCO6I.js → InfoTip-B4BFfLtT.js} +2 -2
  98. package/dist/{InputClearButton-ByUJXRmY.js → InputClearButton-CxU3iv-5.js} +1 -1
  99. package/dist/InputGroup/index.js +1 -1
  100. package/dist/{InputGroup-H8DP0TAG.js → InputGroup-CraWGK6Y.js} +1 -1
  101. package/dist/{Item-C8UAQwFQ.js → Item-C9u_kQUO.js} +15 -14
  102. package/dist/Lightbox/index.js +1 -1
  103. package/dist/{Lightbox-LI6h7LFn.js → Lightbox-BNUG9CQ1.js} +1 -1
  104. package/dist/Link/index.d.ts +1 -1
  105. package/dist/Link/index.js +1 -1
  106. package/dist/{Link-Dx2ql41g.js → Link-Bwgpn-di.js} +2 -2
  107. package/dist/List/index.d.ts +1 -1
  108. package/dist/List/index.js +2 -2
  109. package/dist/{ListItem-BlrEngDO.js → ListItem-_lOmngHp.js} +2 -2
  110. package/dist/Markdown/index.js +1 -1
  111. package/dist/{Markdown-BHWf2IOO.js → Markdown-BlEi5UGN.js} +3 -3
  112. package/dist/MetadataList/index.d.ts +1 -1
  113. package/dist/MobileNav/index.js +1 -1
  114. package/dist/{MobileNavToggle-D5yGMHU4.js → MobileNavToggle-wVa9dzH1.js} +1 -1
  115. package/dist/MoreMenu/index.d.ts +1 -1
  116. package/dist/MoreMenu/index.js +1 -1
  117. package/dist/{MoreMenu-GPcHAauX.js → MoreMenu-MmvMRWv5.js} +6 -6
  118. package/dist/MultiSelector/index.d.ts +1 -1
  119. package/dist/MultiSelector/index.js +1 -1
  120. package/dist/{MultiSelector-BSA613nO.js → MultiSelector-DXrKQLmq.js} +7 -7
  121. package/dist/{NavDisclosure-B66SHKdd.js → NavDisclosure-DsUYuMJr.js} +1 -1
  122. package/dist/{NavHeadingSurface-BZCzkCPJ.js → NavHeadingSurface-QdM33nOf.js} +1 -1
  123. package/dist/NavItem/index.d.ts +1 -1
  124. package/dist/NavItem/index.js +1 -1
  125. package/dist/{NavItem-kj9FbbFS.js → NavItem-D4xHjSTo.js} +1 -1
  126. package/dist/NavMenu/index.js +3 -3
  127. package/dist/{NavMenu-BoKuJq-K.js → NavMenu-NCg3VjAQ.js} +3 -3
  128. package/dist/{NavMenuItem-Ez3_K8iI.js → NavMenuItem-Bla6fYVl.js} +4 -4
  129. package/dist/NumberInput/index.d.ts +1 -1
  130. package/dist/NumberInput/index.js +1 -1
  131. package/dist/{NumberInput-lqUmTsqB.js → NumberInput-DicgvFte.js} +4 -4
  132. package/dist/Outline/index.js +1 -1
  133. package/dist/{Outline-DI9MZnuQ.js → Outline-DlO_97b4.js} +3 -3
  134. package/dist/OverflowList/index.d.ts +1 -1
  135. package/dist/OverflowList/index.js +1 -1
  136. package/dist/{OverflowList-B6En7wIj.js → OverflowList-BYYz3ePw.js} +2 -2
  137. package/dist/Pagination/index.d.ts +1 -1
  138. package/dist/Pagination/index.js +1 -1
  139. package/dist/{Pagination-DWfvdCpK.js → Pagination-DM_W9Ue-.js} +3 -3
  140. package/dist/Popover/index.d.ts +1 -1
  141. package/dist/Popover/index.js +1 -1
  142. package/dist/{Popover-CB5UYJZc.js → Popover-CxReY-4u.js} +8 -8
  143. package/dist/PowerSearch/index.d.ts +2 -2
  144. package/dist/PowerSearch/index.js +1 -1
  145. package/dist/PowerSearch-BwUWZG3p.js +4829 -0
  146. package/dist/ProgressBar/index.d.ts +1 -1
  147. package/dist/ProgressBar/index.js +1 -1
  148. package/dist/{ProgressBar-yw2BCtB_.js → ProgressBar-DCAEXJuP.js} +1 -1
  149. package/dist/Radio/index.d.ts +1 -1
  150. package/dist/Radio/index.js +1 -1
  151. package/dist/{RadioGroup-B8QoJyJu.js → RadioGroup-CsJYGjyx.js} +4 -4
  152. package/dist/RadioList/index.d.ts +1 -1
  153. package/dist/RadioList/index.js +1 -1
  154. package/dist/{RadioList-BEv82wbs.js → RadioListItem-Yc3K82YE.js} +1 -1
  155. package/dist/Resizable/index.d.ts +1 -1
  156. package/dist/ScrollableArea/index.d.ts +1 -1
  157. package/dist/SegmentedControl/index.js +1 -1
  158. package/dist/{SegmentedControl-BkWz-I2J.js → SegmentedControl-C-F5dkcG.js} +3 -3
  159. package/dist/SelectableCard/index.d.ts +1 -1
  160. package/dist/SelectableCard/index.js +1 -1
  161. package/dist/{SelectableCard-GRWYx3iD.js → SelectableCard-CwfpgsS8.js} +1 -1
  162. package/dist/Selector/index.d.ts +1 -1
  163. package/dist/Selector/index.js +1 -1
  164. package/dist/{Selector-4sexgsUO.js → Selector-bH99g1vj.js} +5 -5
  165. package/dist/SideNav/index.d.ts +1 -1
  166. package/dist/SideNav/index.js +2 -2
  167. package/dist/{SideNav-B_0Fv-ZU.js → SideNav-C1ZxusAB.js} +9 -9
  168. package/dist/Slider/index.js +1 -1
  169. package/dist/{Slider-Bmksx8ng.js → Slider-Bq_7Nskr.js} +3 -3
  170. package/dist/Stack/index.d.ts +1 -1
  171. package/dist/StatusDot/index.js +1 -1
  172. package/dist/{StatusDot-Bz4l43St.js → StatusDot-DFJavm30.js} +1 -1
  173. package/dist/Stepper/index.d.ts +1 -1
  174. package/dist/Stepper/index.js +1 -1
  175. package/dist/{Stepper-CCuggsov.js → Stepper-CWluGqBs.js} +1 -1
  176. package/dist/Switch/index.d.ts +1 -1
  177. package/dist/Switch/index.js +1 -1
  178. package/dist/{Switch-CeNEvvTn.js → Switch-DTPvMAxd.js} +3 -3
  179. package/dist/TabList/index.d.ts +1 -1
  180. package/dist/TabList/index.js +1 -1
  181. package/dist/{TabList-BLLxHXwu.js → TabList-C4i7UZkp.js} +4 -4
  182. package/dist/Table/index.d.ts +1 -1
  183. package/dist/Table/index.js +1 -1
  184. package/dist/{Table-Ck4haR13.js → Table-ClHIgsKO.js} +15 -15
  185. package/dist/Text/index.d.ts +1 -1
  186. package/dist/Text/index.js +1 -1
  187. package/dist/{Text-DkSHitKh.js → Text-D48QFTtL.js} +1 -1
  188. package/dist/TextArea/index.d.ts +1 -1
  189. package/dist/TextArea/index.js +1 -1
  190. package/dist/{TextArea-CAcjMvls.js → TextArea-J2_wct0p.js} +5 -5
  191. package/dist/TextInput/index.d.ts +1 -1
  192. package/dist/TextInput/index.js +1 -1
  193. package/dist/{TextInput-BvQQTG75.js → TextInput-Da1TYd57.js} +5 -5
  194. package/dist/Thumbnail/index.js +1 -1
  195. package/dist/{Thumbnail-Bv-M13fy.js → Thumbnail-1LsaJ4_m.js} +3 -3
  196. package/dist/{TimeField-B83zAjAA.js → TimeField-i5ESA500.js} +4 -4
  197. package/dist/TimeInput/index.d.ts +1 -1
  198. package/dist/TimeInput/index.js +1 -1
  199. package/dist/{TimeInput-BoIZG-dF.js → TimeInput-frnKZo1M.js} +2 -2
  200. package/dist/Timer/index.d.ts +1 -1
  201. package/dist/Timer/index.js +1 -1
  202. package/dist/{Timer-qjI_QrCz.js → Timer-DgQdZAEa.js} +1 -1
  203. package/dist/Timestamp/index.d.ts +1 -1
  204. package/dist/Timestamp/index.js +1 -1
  205. package/dist/{Timestamp-CJ_HUcek.js → Timestamp-SseS_qtf.js} +3 -3
  206. package/dist/Toast/index.js +1 -1
  207. package/dist/{Toast-CFpOSuAr.js → Toast-tAq4S96S.js} +149 -20
  208. package/dist/ToggleButton/index.d.ts +1 -1
  209. package/dist/ToggleButton/index.js +1 -1
  210. package/dist/{ToggleButton-BtXMvoOA.js → ToggleButton-B6hBzeVl.js} +3 -3
  211. package/dist/Token/index.js +1 -1
  212. package/dist/{Token-C7Dt5ygK.js → Token-DTGUCgpn.js} +1 -1
  213. package/dist/Tokenizer/index.d.ts +1 -1
  214. package/dist/Tokenizer/index.js +1 -1
  215. package/dist/{Tokenizer-DrkIayoF.js → Tokenizer-iFZAuIwu.js} +166 -155
  216. package/dist/Toolbar/index.d.ts +1 -1
  217. package/dist/Toolbar/index.js +1 -1
  218. package/dist/{Toolbar-DSWH8ll4.js → Toolbar-BHkPxDxA.js} +1 -1
  219. package/dist/Tooltip/index.d.ts +1 -1
  220. package/dist/Tooltip/index.js +2 -2
  221. package/dist/{Tooltip-ByLqPCP7.js → Tooltip-CxzlUVN0.js} +1 -1
  222. package/dist/TopNav/index.d.ts +1 -1
  223. package/dist/TopNav/index.js +1 -1
  224. package/dist/{TopNav-Rcz2zriX.js → TopNav-CcIayfsW.js} +6 -6
  225. package/dist/TreeList/index.d.ts +1 -1
  226. package/dist/TreeList/index.js +1 -1
  227. package/dist/{TreeList-Dh0uAj2B.js → TreeList-Da_OKrv_.js} +4 -4
  228. package/dist/Typeahead/index.d.ts +1 -1
  229. package/dist/Typeahead/index.js +2 -2
  230. package/dist/{Typeahead-D2O3n477.js → Typeahead-BD6xXNKh.js} +6 -6
  231. package/dist/VelocityTracker-DgjmootV.js +165 -0
  232. package/dist/{animator-BGq5a6vT.js → animator-CEHDYTfQ.js} +29 -173
  233. package/dist/{batch-BhaAWUIt.js → batch-D2a2MsSW.js} +4 -19
  234. package/dist/bezier-Dko5MnTp.js +37 -0
  235. package/dist/{clickGuard-FrlnECMp.js → clickGuard-C3VmOLhI.js} +2 -1
  236. package/dist/composables/index.js +10 -10
  237. package/dist/composables-Bs0O_SRd.js +2548 -0
  238. package/dist/{context-jtpQfR6F.js → context-NKb_prrS.js} +2 -2
  239. package/dist/{edge-CJIswPTX.js → edge-tj-cLZYh.js} +1 -1
  240. package/dist/{edgeRide-Drk4V-MC.js → edgeRide-DcUqLXE2.js} +4 -4
  241. package/dist/{handle-BazRxHwq.js → handle-CwxCHapJ.js} +1 -1
  242. package/dist/{holdEntranceInput-DMCOeRqu.js → holdEntranceInput-DgimbgGm.js} +1 -1
  243. package/dist/{index-Ct8M2d4q.d.ts → index-3qz8Qztx.d.ts} +5 -5
  244. package/dist/{index-DPklTi3o.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  245. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  246. package/dist/{index-DIkdln91.d.ts → index-BIqW3_GP.d.ts} +2 -2
  247. package/dist/{index-BR3MOBYd.d.ts → index-BgT6mH3U.d.ts} +2 -2
  248. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  249. package/dist/{index-BqQlY3fL.d.ts → index-Bu4R0WZA.d.ts} +2 -2
  250. package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
  251. package/dist/{index-I64GPV90.d.ts → index-C6IcBhAn.d.ts} +3 -3
  252. package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
  253. package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
  254. package/dist/{index-6fLylXRI.d.ts → index-Cw4CUe06.d.ts} +5 -5
  255. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  256. package/dist/{index-BFGtLIp8.d.ts → index-D14kSf-g.d.ts} +2 -2
  257. package/dist/{index-In41wHf3.d.ts → index-DGe-ApvN.d.ts} +4 -4
  258. package/dist/{index-D8l_CmL-.d.ts → index-DIw5D3zj.d.ts} +2 -2
  259. package/dist/{index-ZXrvTM3A.d.ts → index-DVS4jM-l.d.ts} +2 -2
  260. package/dist/{index-DPhQZXYw.d.ts → index-DYabo8TI.d.ts} +1 -1
  261. package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
  262. package/dist/{index-aHC2C89h.d.ts → index-Ea2V_FSK.d.ts} +4 -4
  263. package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
  264. package/dist/{index-DVX2jlTQ.d.ts → index-JE1HrzdJ.d.ts} +2 -2
  265. package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
  266. package/dist/{index-CdvmnNMH.d.ts → index-YKCx03zD.d.ts} +1 -1
  267. package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
  268. package/dist/{index-B9iQwixh.d.ts → index-m3DOxOw6.d.ts} +80 -69
  269. package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
  270. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  271. package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
  272. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  273. package/dist/index.d.ts +31 -31
  274. package/dist/index.js +102 -100
  275. package/dist/{inputHold-BmChuR9x.js → inputHold-DW2LYHb5.js} +4 -4
  276. package/dist/{inputHoldState-pblUT4oh.js → inputHoldState-xntIqr5W.js} +2 -1
  277. package/dist/{inputStream-LZdK8luP.js → inputStream-bPd9eB2b.js} +2 -49
  278. package/dist/isRtlElement-NHuH48AA.js +23 -0
  279. package/dist/{landing-CBaXCGEg.js → landing-Bi7X7w_7.js} +3 -3
  280. package/dist/{lazyBottomSheet-BK8yIqcZ.js → lazyBottomSheet-BVZ1yH8g.js} +1 -1
  281. package/dist/{timing-CSHWQbTJ.js → linearEasing-ScK9LqAY.js} +30 -1
  282. package/dist/{useLayerMountTarget-BmZyeKWE.js → mount-7R_s-bHB.js} +15 -42
  283. package/dist/{bezier-Df-yGuNZ.js → presentation-Cy_yf56y.js} +2 -39
  284. package/dist/{pressFeedback-DVR5V1b6.js → pressFeedback-9dqGYjxv.js} +2 -2
  285. package/dist/{resolveMotion-CurhYTVC.js → resolveMotion-1cwESYvK.js} +202 -1
  286. package/dist/resolveSnapPoint-DdZyBkT4.js +717 -0
  287. package/dist/{flatTree-BB4yPMNL.js → sharedRealm-H1OrlP0V.js} +49 -1
  288. package/dist/{stillPointerGate-D3loXLh7.js → stillPointerGate-BbMABRyU.js} +1 -1
  289. package/dist/{themeTiming-BFDOPRjK.js → themeTiming-NUkH9HsU.js} +1 -1
  290. package/dist/{tooltipFocusRules-DvVDuqZI.js → tooltipFocusRules-CpUOvFEU.js} +1 -1
  291. package/dist/{tooltipTriggerRules-DyPyWOdP.js → tooltipTriggerRules-zN2xGd9K.js} +1 -1
  292. package/dist/{touchHold-CFJlSClt.js → touchHold-DXtx7npm.js} +1 -1
  293. package/dist/{triggerVariant-DG0VhG-X.js → triggerVariant-DPuBmzpp.js} +1 -1
  294. package/dist/{useActionGroupTracking-C6BzQzvp.js → useActionGroupTracking-CLFF7FI2.js} +2 -2
  295. package/dist/{useAnimatedLayout-DC2l3WrE.js → useAnimatedLayout-DWWc31RR.js} +1 -1
  296. package/dist/{composables-BTRbNgmR.js → useAttachment-BuNyeUXy.js} +44 -3464
  297. package/dist/{useChatStreamScroll-Cv51kRT0.js → useChatStreamScroll-CuMzkXgD.js} +1 -1
  298. package/dist/{useDismiss-C7_S7qUA.js → useDismiss-BKtyCwx4.js} +1 -1
  299. package/dist/{useInputStatusIcon-CGj9gMj8.js → useInputStatusIcon-BqV6YzTV.js} +1 -1
  300. package/dist/useLayerMountTarget-zwZQglr2.js +44 -0
  301. package/dist/{useListFocus-CkHfsZp0.js → useListFocus-Ccd_HU9T.js} +2 -23
  302. package/dist/{useMenuDrillIn-BQx6lQMz.js → useMenuDrillIn-Cj6MM77J.js} +1 -1
  303. package/dist/{useMenuEntranceHold-buV5S9yk.js → useMenuEntranceHold-HznOwIry.js} +1 -1
  304. package/dist/{useMenuHover-CfQtWMg-.js → useMenuHover-DoBatZeD.js} +1 -1
  305. package/dist/{useMenuPress-DU6pAIHy.js → useMenuPress-DcwVUsQO.js} +3 -3
  306. package/dist/{usePressFeedback-BhNcuxQv.js → usePressFeedback-DHdmAsMp.js} +1 -1
  307. package/dist/{useTooltip-Bsm43vbi.js → useTooltip-DvBKna-w.js} +3 -3
  308. package/dist/{useTouchHitArea-CNZyA18Y.js → useTouchHitArea-SY1ITxSJ.js} +2 -2
  309. package/dist/{useTruncationTooltip-wc6Lzz34.js → useTruncationTooltip-DNAii2Nv.js} +3 -3
  310. package/dist/{useTypeaheadMenuConfig-Do0jOyEm.js → useTypeaheadMenuConfig-BT9Lwsu7.js} +1 -1
  311. package/package.json +1 -1
  312. package/styles/bottom-sheet.css +33 -8
  313. package/styles/power-search-sheet.css +205 -0
  314. package/styles.css +1 -0
  315. package/dist/PowerSearch-q3jvh5Tw.js +0 -2797
@@ -1,4 +1,4 @@
1
- import { i as subscribeInput } from "./inputStream-LZdK8luP.js";
1
+ import { i as subscribeInput } from "./inputStream-bPd9eB2b.js";
2
2
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
3
3
  import { onScopeDispose, ref, toValue, watch } from "vue";
4
4
  //#region src/composables/useChatNewMessages.ts
@@ -1,4 +1,4 @@
1
- import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
1
+ import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
2
2
  import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
3
3
  import { n as useLayerDepth, o as pushLayer } from "./layerDepth-D3Rh8T5C.js";
4
4
  import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-DmDOcxU1.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-Bstp5Lvd.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -0,0 +1,44 @@
1
+ import { i as resolveLayerMountTarget, t as layerMountKey } from "./mount-7R_s-bHB.js";
2
+ import { computed, inject, ref } from "vue";
3
+ //#region src/composables/useLayerMountTarget.ts
4
+ /**
5
+ * 读最近的浮层挂载点。Dialog 打开时是它内部的挂载点,其余情况是 `null`。
6
+ *
7
+ * 挂载点是「浮层内容实际挂到哪个 DOM 元素里」。浮层平时挂在 `body`,
8
+ * 但 Dialog 打开时它是一个原生模态层,挂在外面的浮层会被压住、点不到,
9
+ * 所以要先问一句。
10
+ */
11
+ function useLayerMountTarget() {
12
+ return inject(layerMountKey, ref(null));
13
+ }
14
+ /**
15
+ * 读最近的浮层挂载点,并算成可以直接给 `Teleport` 的 `to`。
16
+ * 没有挂载点就是 `'body'`。
17
+ *
18
+ * ```vue
19
+ * <Teleport :to="teleportTarget">
20
+ * ```
21
+ */
22
+ function useLayerTeleportTarget() {
23
+ const mount = useLayerMountTarget();
24
+ return computed(() => mount.value ?? "body");
25
+ }
26
+ /**
27
+ * 浮层该挂到哪。
28
+ *
29
+ * Dialog 提供了挂载点时优先用它,再往外挂就出了模态层。
30
+ * 否则看触发器旁边有没有不能挂浮层的祖先(段落、链接、按钮)。
31
+ * 有的话挂到那个祖先的外面、尽量靠近原位,嵌套主题和 Tab 顺序还在。
32
+ * 两边都没有,才挂到 `body`。
33
+ *
34
+ * `sentinel` 是触发器所在的元素。函数看的是它的父元素。
35
+ */
36
+ function useResolvedLayerTeleport(sentinel) {
37
+ const mount = useLayerMountTarget();
38
+ return computed(() => {
39
+ if (mount.value) return mount.value;
40
+ return resolveLayerMountTarget(sentinel.value?.parentElement ?? null) ?? "body";
41
+ });
42
+ }
43
+ //#endregion
44
+ export { useLayerTeleportTarget as n, useResolvedLayerTeleport as r, useLayerMountTarget as t };
@@ -1,26 +1,5 @@
1
+ import { t as isRtlElement } from "./isRtlElement-NHuH48AA.js";
1
2
  import { ref, toValue, watch } from "vue";
2
- //#region src/utils/isRtlElement.ts
3
- /**
4
- * @file isRtlElement.ts
5
- * @input DOM element (nullable)
6
- * @output Exports isRtlElement helper resolving an element's computed text
7
- * direction
8
- * @position Internal hook utility; used by useListFocus and useGridFocus to
9
- * auto-detect RTL for arrow-key navigation (same getComputedStyle precedent
10
- * as Resizable's ResizeHandle drag deltas).
11
- */
12
- /**
13
- * Whether `el` renders right-to-left, per its computed `direction`.
14
- *
15
- * SSR-safe: returns false when `el` is null or no DOM is available. Callers
16
- * should invoke this lazily (on keydown, not on render) so getComputedStyle
17
- * runs only when a horizontal arrow key is actually handled.
18
- */
19
- function isRtlElement(el) {
20
- if (!el || typeof window === "undefined") return false;
21
- return window.getComputedStyle(el).direction === "rtl";
22
- }
23
- //#endregion
24
3
  //#region src/composables/useListFocus.ts
25
4
  const TEXT_INPUT_TYPES = /* @__PURE__ */ new Set([
26
5
  "text",
@@ -275,4 +254,4 @@ function useListFocus(options = {}) {
275
254
  };
276
255
  }
277
256
  //#endregion
278
- export { isRtlElement as n, useListFocus as t };
257
+ export { useListFocus as t };
@@ -1,7 +1,7 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
2
  import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
3
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
4
- import { t as _sfc_main$5 } from "./Item-C8UAQwFQ.js";
4
+ import { t as _sfc_main$5 } from "./Item-C9u_kQUO.js";
5
5
  import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
6
6
  import { a as useCompactDefinition, r as readCompactTouch } from "./presentationHold-7IkbR4d8.js";
7
7
  import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
@@ -1,4 +1,4 @@
1
- import { t as holdEntranceInput } from "./holdEntranceInput-DMCOeRqu.js";
1
+ import { t as holdEntranceInput } from "./holdEntranceInput-DgimbgGm.js";
2
2
  import { nextTick, onBeforeUnmount, watch } from "vue";
3
3
  //#region src/layer/useMenuEntranceHold.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
2
- import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
2
+ import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
3
3
  import { t as createHideTimer } from "./hoverIntent-DMHGb85c.js";
4
4
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
5
5
  /**
@@ -1,8 +1,8 @@
1
- import { m as msSinceInput } from "./pressFeedback-DVR5V1b6.js";
2
- import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-FrlnECMp.js";
1
+ import { m as msSinceInput } from "./pressFeedback-9dqGYjxv.js";
2
+ import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
3
3
  import { c as currentGesture } from "./layerDepth-D3Rh8T5C.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
5
- import { r as isInputShield } from "./inputHoldState-pblUT4oh.js";
5
+ import { r as isInputShield } from "./inputHoldState-xntIqr5W.js";
6
6
  import { getCurrentScope, onScopeDispose, toValue } from "vue";
7
7
  //#region src/composables/useLongPress.ts
8
8
  const DEFAULT_DELAY_MS = 500;
@@ -1,4 +1,4 @@
1
- import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-DVR5V1b6.js";
1
+ import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-9dqGYjxv.js";
2
2
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
3
3
  import "../styles/pressable.css";
4
4
  //#region src/composables/usePressFeedback.ts
@@ -1,11 +1,11 @@
1
1
  import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
- import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { n as useLayer } from "./tooltipTriggerRules-DyPyWOdP.js";
2
+ import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
3
+ import { n as useLayer } from "./tooltipTriggerRules-zN2xGd9K.js";
4
4
  import { t as _sfc_main$1 } from "./LayerContentBoundary-LCQLyxBT.js";
5
5
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
7
  import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Bl602PtA.js";
8
- import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-DvVDuqZI.js";
8
+ import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-CpUOvFEU.js";
9
9
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
10
10
  import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
11
11
  import "../styles/tooltip.css";
@@ -1,5 +1,5 @@
1
- import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-DVR5V1b6.js";
2
- import { t as armClickGuard } from "./clickGuard-FrlnECMp.js";
1
+ import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-9dqGYjxv.js";
2
+ import { t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";
5
5
  /** 不长:热区就是目标本身。 */
@@ -1,7 +1,7 @@
1
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-DyPyWOdP.js";
1
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-zN2xGd9K.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { n as tooltipPresentInterestKey } from "./useTooltip-Bsm43vbi.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-ByLqPCP7.js";
3
+ import { n as tooltipPresentInterestKey } from "./useTooltip-DvBKna-w.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-CxzlUVN0.js";
5
5
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
6
6
  import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
7
7
  //#region src/Text/TruncationTooltip.vue
@@ -5,7 +5,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
5
5
  import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
6
6
  import { t as useCombobox } from "./useCombobox-BqkTY3bw.js";
7
7
  import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
8
- import { t as createStillPointerGate } from "./stillPointerGate-D3loXLh7.js";
8
+ import { t as createStillPointerGate } from "./stillPointerGate-BbMABRyU.js";
9
9
  import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
10
10
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
11
11
  import "../styles/layer.css";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.29.0",
4
+ "version": "0.30.1",
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",
@@ -34,7 +34,7 @@
34
34
  background: var(--astryx-bottom-sheet-scrim, var(--astryx-color-overlay, rgb(0 0 0 / 50%)));
35
35
  opacity: var(--_sheet-scrim-opacity, 1);
36
36
  transition-property: opacity, display;
37
- transition-duration: var(--astryx-duration-medium-max, 400ms);
37
+ transition-duration: var(--_sheet-scrim-duration, var(--astryx-duration-medium-max, 400ms));
38
38
  transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
39
39
  transition-behavior: allow-discrete;
40
40
  }
@@ -42,10 +42,12 @@
42
42
  /*
43
43
  * The dim leaves with the sheet on a linear curve: a fade covers no distance,
44
44
  * so a decelerate token would front-load its progress and leave an undimmed
45
- * page under a sheet that is still sliding across it.
45
+ * page under a sheet that is still sliding across it. A swipe's close writes
46
+ * its spring's progress as the easing instead, so the dim clears as the
47
+ * sheet slides out.
46
48
  */
47
49
  .astryx-bottom-sheet-dialog--closing::backdrop {
48
- transition-timing-function: linear;
50
+ transition-timing-function: var(--_sheet-scrim-easing, linear);
49
51
  }
50
52
 
51
53
  @starting-style {
@@ -144,8 +146,8 @@
144
146
  min-width: 0;
145
147
  min-height: 0;
146
148
  flex-direction: column;
147
- margin-block-end: -48px;
148
- padding-block-end: calc(env(safe-area-inset-bottom, 0px) + 48px);
149
+ margin-block-end: calc(-1 * var(--_sheet-reserve, 48px));
150
+ padding-block-end: calc(env(safe-area-inset-bottom, 0px) + var(--_sheet-reserve, 48px));
149
151
  border-block-start: var(--astryx-border-width, 1px) solid var(--_sheet-border);
150
152
  border-inline-start: var(--astryx-border-width, 1px) solid var(--_sheet-border);
151
153
  border-inline-end: var(--astryx-border-width, 1px) solid var(--_sheet-border);
@@ -165,6 +167,15 @@
165
167
  transition-duration: var(--astryx-duration-medium-max, 400ms);
166
168
  transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
167
169
  will-change: transform, opacity;
170
+
171
+ /*
172
+ * The dialog writes the scrim's values on itself for each move of a drag,
173
+ * and only its backdrop reads them. The panel ends their inheritance, so
174
+ * each write restyles nothing inside the sheet.
175
+ */
176
+ --_sheet-scrim-opacity: initial;
177
+ --_sheet-scrim-duration: initial;
178
+ --_sheet-scrim-easing: initial;
168
179
  }
169
180
 
170
181
  /*
@@ -194,6 +205,15 @@
194
205
  }
195
206
  }
196
207
 
208
+ /*
209
+ * A finger's swipe close under reduced motion does not travel: the sheet
210
+ * holds where the finger left it and fades out there, within 200ms.
211
+ */
212
+ .astryx-bottom-sheet[data-state='exiting'][data-exit='fade'] {
213
+ opacity: 0;
214
+ transition-duration: 0.01s, 200ms;
215
+ }
216
+
197
217
  .astryx-bottom-sheet[data-dragging],
198
218
  .astryx-bottom-sheet[data-reconciling] {
199
219
  transition: none;
@@ -201,13 +221,13 @@
201
221
 
202
222
  .astryx-bottom-sheet[data-height='hug'] {
203
223
  height: fit-content;
204
- max-height: calc(92dvh + 48px);
224
+ max-height: calc(92dvh + var(--_sheet-reserve, 48px));
205
225
  }
206
226
 
207
227
  .astryx-bottom-sheet[data-height='capped'],
208
228
  .astryx-bottom-sheet[data-height='tall'],
209
229
  .astryx-bottom-sheet[data-height='custom'] {
210
- height: calc(var(--_sheet-budget, 62dvh) + 48px);
230
+ height: calc(var(--_sheet-budget, 62dvh) + var(--_sheet-reserve, 48px));
211
231
  }
212
232
 
213
233
  /*
@@ -357,6 +377,11 @@
357
377
  * the sheet's own surface colour: fixed, full width, flush with the bottom
358
378
  * edge, above the panel, and masked out so it is never visible.
359
379
  */
380
+ /* 浮层挂载点:自己不占地方,里面的浮层都是 fixed 定位,挂在拖动的面板外面不跟着位移。 */
381
+ .astryx-bottom-sheet__layer-host {
382
+ display: contents;
383
+ }
384
+
360
385
  .astryx-bottom-sheet__edge-tint {
361
386
  position: fixed;
362
387
  inset-inline: 0;
@@ -385,7 +410,7 @@
385
410
  }
386
411
 
387
412
  .astryx-bottom-sheet-dialog--scrim::backdrop {
388
- transition-duration: 0.01s;
413
+ transition-duration: var(--_sheet-scrim-duration, 0.01s);
389
414
  }
390
415
  }
391
416
  }
@@ -0,0 +1,205 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.components {
4
+ /*
5
+ * 底部弹层呈现里的字段:沿用行内字段的框,不换行;按钮里不能放控件,所以触发器、标签、
6
+ * 末尾内容是兄弟元素。没有可输入的地方,光标表示「按」。
7
+ */
8
+ .astryx-power-search-control.astryx-power-search-sheet-field {
9
+ flex-wrap: nowrap;
10
+ cursor: pointer;
11
+ }
12
+
13
+ .astryx-power-search-control.astryx-power-search-sheet-field.has-tokens {
14
+ padding: calc(var(--astryx-spacing-1, 4px) - var(--astryx-border-width, 1px));
15
+ }
16
+
17
+ .astryx-power-search-control.astryx-power-search-sheet-field.is-disabled {
18
+ cursor: default;
19
+ }
20
+
21
+ .astryx-power-search-sheet-field__content {
22
+ display: flex;
23
+ flex: 1 1 auto;
24
+ flex-wrap: wrap;
25
+ align-items: center;
26
+ gap: var(--astryx-spacing-1, 4px);
27
+ min-width: 0;
28
+ }
29
+
30
+ /* 框负责聚焦描边,触发器自己不画。有标签时它铺满整个框,点标签或空白处都打开弹层。 */
31
+ .astryx-power-search-sheet-trigger {
32
+ appearance: none;
33
+ flex: 1 1 40px;
34
+ align-self: stretch;
35
+ display: flex;
36
+ align-items: center;
37
+ min-width: 40px;
38
+ margin: 0;
39
+ padding: 0 var(--astryx-spacing-1, 4px);
40
+ border: 0;
41
+ background: transparent;
42
+ color: var(--astryx-color-text-secondary, #525252);
43
+ font: inherit;
44
+ text-align: start;
45
+ cursor: inherit;
46
+ outline: none;
47
+ }
48
+
49
+ .astryx-power-search-sheet-trigger.has-tokens {
50
+ position: absolute;
51
+ inset: 0;
52
+ padding: 0;
53
+ }
54
+
55
+ /* 占位文字太长时一行省略号收尾,不把字段撑高。 */
56
+ .astryx-power-search-sheet-trigger__placeholder {
57
+ min-width: 0;
58
+ overflow: hidden;
59
+ text-overflow: ellipsis;
60
+ white-space: nowrap;
61
+ }
62
+
63
+ /* 标签只是展示,点击穿到下面的触发器;自定义标签里的控件仍能点。 */
64
+ .astryx-power-search-sheet-field .astryx-power-search-token,
65
+ .astryx-power-search-sheet-field .astryx-power-search-icon {
66
+ position: relative;
67
+ pointer-events: none;
68
+ }
69
+
70
+ .astryx-power-search-sheet-field .astryx-power-search-token :is(button, a, input, [tabindex]) {
71
+ pointer-events: auto;
72
+ }
73
+
74
+ .astryx-power-search-sheet-field__end {
75
+ position: relative;
76
+ }
77
+
78
+ .astryx-power-search-sheet-field__status {
79
+ display: inline-flex;
80
+ color: var(--astryx-input-status-color, var(--astryx-color-text-secondary, #525252));
81
+ }
82
+
83
+ .astryx-power-search-sheet-field__status:empty {
84
+ display: none;
85
+ }
86
+
87
+ /* 弹层内容:标题吸顶、底栏吸底,中间滚动。 */
88
+ .astryx-power-search-sheet {
89
+ --astryx-power-search-sheet-surface: var(--astryx-bottom-sheet-background, var(--astryx-color-background-surface, #fff));
90
+
91
+ display: flex;
92
+ flex-direction: column;
93
+ min-height: 100%;
94
+ isolation: isolate;
95
+ }
96
+
97
+ .astryx-power-search-sheet--fixed-footer {
98
+ height: 100%;
99
+ overflow: hidden;
100
+ }
101
+
102
+ /* 弹层自己在抓手下面留出 24px,「筛选条件」和「添加筛选条件」的标题靠这一段就够了。 */
103
+ .astryx-power-search-sheet__header {
104
+ position: sticky;
105
+ top: 0;
106
+ z-index: 1;
107
+ display: flex;
108
+ flex-direction: column;
109
+ gap: var(--astryx-spacing-3, 12px);
110
+ padding: 0 var(--astryx-spacing-4, 16px) var(--astryx-spacing-3, 12px);
111
+ background: var(--astryx-power-search-sheet-surface);
112
+ }
113
+
114
+ /*
115
+ * 值那一步整页一起滚,吸顶的标题会碰到弹层顶边。标题往上伸进抓手下面那一段,
116
+ * 再用自己的内边距把那一段补回来,停着和吸住时都不被抓手挡住。
117
+ */
118
+ .astryx-power-search-sheet__header--scrolls-to-top {
119
+ margin-block-start: calc(-1 * var(--astryx-spacing-6, 24px));
120
+ padding-block-start: var(--astryx-spacing-6, 24px);
121
+ }
122
+
123
+ .astryx-power-search-sheet__header-row {
124
+ display: flex;
125
+ align-items: center;
126
+ gap: var(--astryx-spacing-2, 8px);
127
+ }
128
+
129
+ .astryx-power-search-sheet__title {
130
+ flex-grow: 1;
131
+ min-width: 0;
132
+ }
133
+
134
+ .astryx-power-search-sheet__body {
135
+ display: flex;
136
+ flex-direction: column;
137
+ flex-grow: 1;
138
+ gap: var(--astryx-spacing-4, 16px);
139
+ padding: 0 var(--astryx-spacing-4, 16px) var(--astryx-spacing-4, 16px);
140
+ }
141
+
142
+ .astryx-power-search-sheet__scroll {
143
+ flex-grow: 1;
144
+ min-height: 0;
145
+ overflow-y: auto;
146
+ overscroll-behavior: contain;
147
+ }
148
+
149
+ .astryx-power-search-sheet__content {
150
+ display: flex;
151
+ flex-direction: column;
152
+ gap: var(--astryx-spacing-4, 16px);
153
+ min-height: 100%;
154
+ padding: 0 var(--astryx-spacing-4, 16px) var(--astryx-spacing-4, 16px);
155
+ box-sizing: border-box;
156
+ }
157
+
158
+ .astryx-power-search-sheet__empty {
159
+ display: flex;
160
+ flex-grow: 1;
161
+ align-items: center;
162
+ justify-content: center;
163
+ }
164
+
165
+ .astryx-power-search-sheet__section {
166
+ padding: var(--astryx-spacing-3, 12px);
167
+ border-radius: var(--astryx-radius-container, 12px);
168
+ background: var(--astryx-color-background-muted, #f1f1f1);
169
+ }
170
+
171
+ .astryx-power-search-sheet__row-value {
172
+ font-weight: var(--astryx-font-weight-bold, 700);
173
+ }
174
+
175
+ .astryx-power-search-sheet__choice {
176
+ display: inline-flex;
177
+ align-items: center;
178
+ gap: var(--astryx-spacing-2, 8px);
179
+ }
180
+
181
+ .astryx-power-search-sheet__chevron:dir(rtl) {
182
+ transform: scaleX(-1);
183
+ }
184
+
185
+ .astryx-power-search-sheet__footer {
186
+ position: sticky;
187
+ bottom: 0;
188
+ display: flex;
189
+ justify-content: space-between;
190
+ gap: var(--astryx-spacing-2, 8px);
191
+ padding: var(--astryx-spacing-3, 12px) var(--astryx-spacing-4, 16px);
192
+ background: var(--astryx-power-search-sheet-surface);
193
+ }
194
+
195
+ .astryx-power-search-sheet--fixed-footer .astryx-power-search-sheet__footer {
196
+ position: relative;
197
+ flex-shrink: 0;
198
+ }
199
+
200
+ .astryx-power-search-sheet__footer-action {
201
+ flex: 1 1 0;
202
+ min-width: 0;
203
+ min-height: 44px;
204
+ }
205
+ }
package/styles.css CHANGED
@@ -66,6 +66,7 @@
66
66
  @import './styles/overlay.css';
67
67
  @import './styles/popover.css';
68
68
  @import './styles/power-search.css';
69
+ @import './styles/power-search-sheet.css';
69
70
  @import './styles/pressable.css';
70
71
  @import './styles/progress-bar.css';
71
72
  @import './styles/radio.css';