@astryx-vue/core 0.37.0 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-DwITRN1M.js → AlertDialog-DnylRSpj.js} +9 -9
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-ClZ2Y8cu.js → AppShell-lv3WDlCi.js} +7 -7
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-CpWBsTqf.js → Avatar-BY-EWaJM.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-DhSPWemf.js → AvatarGroup-BSsARmYE.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-DeauKxQw.js → Banner-CqIYLEcx.js} +2 -2
  13. package/dist/BottomSheet/index.js +2 -2
  14. package/dist/{BottomSheet-CDxV1Rkx.js → BottomSheet-6W3izQzr.js} +1 -1
  15. package/dist/{BottomSheet-Cr6FacYP.js → BottomSheet-D37eNqz5.js} +10 -10
  16. package/dist/Breadcrumbs/index.d.ts +2 -2
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-DaxgM0-F.js → Breadcrumbs-BEzCPnoe.js} +2 -2
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-V6i-PeBt.js → Button-DGIfLwqj.js} +5 -5
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-CEDeeGkY.js → ButtonGroup-CaQ7bir4.js} +2 -2
  24. package/dist/Calendar/index.d.ts +1 -1
  25. package/dist/Calendar/index.js +2 -2
  26. package/dist/{Calendar-CUMnYIhe.js → Calendar-CfhOlgQJ.js} +2 -2
  27. package/dist/Carousel/index.d.ts +1 -1
  28. package/dist/Carousel/index.js +1 -1
  29. package/dist/{Carousel-5NYWpta1.js → Carousel-DmeW51vC.js} +2 -2
  30. package/dist/Chat/index.d.ts +1 -1
  31. package/dist/Chat/index.js +1 -1
  32. package/dist/{Chat-BRtDKajd.js → Chat-whrqE8Zj.js} +11 -11
  33. package/dist/CheckboxInput/index.d.ts +1 -1
  34. package/dist/CheckboxInput/index.js +1 -1
  35. package/dist/{CheckboxInput-ixAs3zkT.js → CheckboxInput-CHO4Jz0m.js} +6 -6
  36. package/dist/CheckboxList/index.d.ts +1 -1
  37. package/dist/CheckboxList/index.js +1 -1
  38. package/dist/{CheckboxListItem-DoWYdLf-.js → CheckboxListItem-C4dmrC_w.js} +5 -5
  39. package/dist/Citation/index.js +1 -1
  40. package/dist/{Citation-Ijf06x0V.js → Citation-DXMQVSi5.js} +1 -1
  41. package/dist/ClickableCard/index.d.ts +1 -1
  42. package/dist/ClickableCard/index.js +1 -1
  43. package/dist/{ClickableCard-DuOcbNlt.js → ClickableCard-DYcn-IFI.js} +1 -1
  44. package/dist/Code/index.js +2 -2
  45. package/dist/{Code-qHt8uZqb.js → Code-D80SHrJx.js} +4 -3
  46. package/dist/{CodeBlock-2zigEFFD.js → CodeBlock-vhMVY90M.js} +4 -4
  47. package/dist/Collapsible/index.js +1 -1
  48. package/dist/{Collapsible-DfVihLCR.js → Collapsible-CaKmR3yE.js} +4 -4
  49. package/dist/CommandPalette/index.js +1 -1
  50. package/dist/{CommandPalette-CWaKVNGZ.js → CommandPalette-C-iXk7EB.js} +7 -7
  51. package/dist/ComplexSelector/index.d.ts +1 -1
  52. package/dist/ComplexSelector/index.js +1 -1
  53. package/dist/{ComplexSelector-D2QRdM57.js → ComplexSelector-BsdtBmd0.js} +5 -5
  54. package/dist/{ComponentIcon-Dw4xQxg3.js → ComponentIcon-B67QcA-d.js} +2 -2
  55. package/dist/ContextMenu/index.d.ts +2 -2
  56. package/dist/ContextMenu/index.js +2 -2
  57. package/dist/{ContextMenu-D-G53u7B.js → ContextMenu-GZkN9lf1.js} +10 -10
  58. package/dist/DateInput/index.d.ts +1 -1
  59. package/dist/DateInput/index.js +1 -1
  60. package/dist/{DateInput-BHSp4fZS.js → DateInput-Cb6eLrbU.js} +11 -11
  61. package/dist/DateRangeInput/index.d.ts +1 -1
  62. package/dist/DateRangeInput/index.js +1 -1
  63. package/dist/{DateRangeInput-DP1QWK_6.js → DateRangeInput-BUFeQYJ6.js} +7 -7
  64. package/dist/DateTimeInput/index.d.ts +1 -1
  65. package/dist/DateTimeInput/index.js +1 -1
  66. package/dist/{DateTimeInput-Bgx9lgWb.js → DateTimeInput-r-MOwLs4.js} +9 -9
  67. package/dist/Dialog/index.js +3 -3
  68. package/dist/{Dialog-DCKT1dWC.js → Dialog-BP2KWnEi.js} +2 -2
  69. package/dist/{Dialog-DRQrtKHT.js → Dialog-BUl1lqE6.js} +1 -1
  70. package/dist/{DialogHeader-C3Mc580J.js → DialogHeader-CPhEYbZ1.js} +2 -2
  71. package/dist/Drawer/index.d.ts +1 -1
  72. package/dist/Drawer/index.js +1 -1
  73. package/dist/{Drawer-CnFTUjln.js → Drawer-C0ntt2L9.js} +3 -3
  74. package/dist/DropdownMenu/index.d.ts +2 -2
  75. package/dist/DropdownMenu/index.js +2 -2
  76. package/dist/{DropdownMenu-DU_Rw88D.js → DropdownMenu-CSWLdtI4.js} +12 -12
  77. package/dist/{DropdownMenuRadioItem.vue-BDDI4EZK.d.ts → DropdownMenuRadioItem.vue-BFCbIBfb.d.ts} +1 -1
  78. package/dist/EmptyState/index.js +1 -1
  79. package/dist/{EmptyState-DU7uOI2G.js → EmptyState-BUmLBchw.js} +2 -2
  80. package/dist/Field/index.js +3 -3
  81. package/dist/{Field-CZndbiqR.js → Field-BYAHZ4s7.js} +2 -2
  82. package/dist/{FieldIcon-BU1ZWAuo.js → FieldIcon-C6A69-um.js} +1 -1
  83. package/dist/{FieldInfoTip-Ii7lSYS8.js → FieldInfoTip-6IHEEEJL.js} +2 -2
  84. package/dist/{FieldLabel-ru3qavED.js → FieldLabel-CHaeZROf.js} +2 -2
  85. package/dist/FieldStatus/index.js +1 -1
  86. package/dist/{FieldStatus-DmCWPT6U.js → FieldStatus-QjwGygl3.js} +1 -1
  87. package/dist/FileInput/index.js +1 -1
  88. package/dist/{FileInput-BtVTN7LN.js → FileInput-DD3DvIT0.js} +6 -6
  89. package/dist/Heading/index.d.ts +1 -1
  90. package/dist/Heading/index.js +1 -1
  91. package/dist/{Heading-BZ0ydu2s.js → Heading-SdObK_xM.js} +1 -1
  92. package/dist/HoverCard/index.d.ts +1 -1
  93. package/dist/HoverCard/index.js +1 -1
  94. package/dist/{HoverCard-BhHZE9q6.js → HoverCard-B7hrl0Qz.js} +4 -4
  95. package/dist/Icon/index.js +2 -2
  96. package/dist/{Icon-Dk0jccgU.js → Icon-BUSj1-Th.js} +1 -1
  97. package/dist/{Icon-M1Rlknd0.js → Icon-CYXC4iYF.js} +1 -1
  98. package/dist/IconButton/index.js +1 -1
  99. package/dist/{IconButton-4BXILpv-.js → IconButton-CzU-cz_H.js} +1 -1
  100. package/dist/Indicator/index.d.ts +2 -2
  101. package/dist/Indicator/index.js +1 -1
  102. package/dist/InfoTip/index.d.ts +1 -1
  103. package/dist/InfoTip/index.js +1 -1
  104. package/dist/{InfoTip-D2MzKXZH.js → InfoTip-Ckhg715K.js} +3 -3
  105. package/dist/{InputClearButton-Cm5Q3KK2.js → InputClearButton-Btjd5Lnk.js} +2 -2
  106. package/dist/InputGroup/index.js +1 -1
  107. package/dist/{InputGroup-CjB_XpEy.js → InputGroup-C388xPHC.js} +1 -1
  108. package/dist/InternationalizationProvider/index.d.ts +1 -1
  109. package/dist/InternationalizationProvider/index.js +1 -1
  110. package/dist/{InternationalizationProvider-yLbf4Wi_.js → InternationalizationProvider-BkJ8Z7ox.js} +1 -1
  111. package/dist/{Item-CKYsTbM4.js → Item-DrV3f4fe.js} +12 -28
  112. package/dist/{LayerContentBoundary-D67fobWl.js → LayerContentBoundary-iYtfCpG9.js} +1 -1
  113. package/dist/Layout/index.js +2 -2
  114. package/dist/{Layout-BDS2ZN6C.js → Layout-DTSKNAzq.js} +1 -1
  115. package/dist/{LayoutPanel-D56PBM4I.js → LayoutPanel-CH4HZGLR.js} +1 -1
  116. package/dist/Lightbox/index.js +1 -1
  117. package/dist/{Lightbox-CnTXrgq6.js → Lightbox-CQhmsbhy.js} +3 -3
  118. package/dist/Link/index.d.ts +1 -1
  119. package/dist/Link/index.js +1 -1
  120. package/dist/{Link-BnM830Xa.js → Link-BsmxrY3Y.js} +3 -3
  121. package/dist/List/index.d.ts +2 -2
  122. package/dist/List/index.js +3 -2
  123. package/dist/{ListItem-B1ztelEC.js → ListItem-BEc2EF1u.js} +86 -65
  124. package/dist/Markdown/index.d.ts +1 -1
  125. package/dist/Markdown/index.js +1 -1
  126. package/dist/{Markdown-JjZLAFq2.js → Markdown-BkL2wt7F.js} +4 -4
  127. package/dist/{MediaTheme-CBkEmVe4.js → MediaTheme-BavxpAJt.js} +5 -77
  128. package/dist/MobileNav/index.js +1 -1
  129. package/dist/{MobileNavToggle-CjlgmcSf.js → MobileNavToggle-CiY__Fy9.js} +2 -2
  130. package/dist/MoreMenu/index.d.ts +1 -1
  131. package/dist/MoreMenu/index.js +1 -1
  132. package/dist/{MoreMenu-CGTbwTyw.js → MoreMenu-pvuN9vfu.js} +9 -9
  133. package/dist/MultiSelector/index.d.ts +1 -1
  134. package/dist/MultiSelector/index.js +1 -1
  135. package/dist/{MultiSelector-DUQMNBoZ.js → MultiSelector-sD97taHQ.js} +11 -11
  136. package/dist/{NavDisclosure-BpYjtYo5.js → NavDisclosure-l2h8R_ub.js} +10 -3
  137. package/dist/{NavHeadingSurface-CK9zMjFC.js → NavHeadingSurface-C3QJ64vm.js} +4 -2
  138. package/dist/NavItem/index.js +1 -1
  139. package/dist/{NavItem-DTO-BEfc.js → NavItem-BbnusKbo.js} +1 -1
  140. package/dist/NavMenu/index.d.ts +1 -1
  141. package/dist/NavMenu/index.js +3 -3
  142. package/dist/{NavMenu-BflnhBtX.js → NavMenu-BRWghdCF.js} +2 -2
  143. package/dist/{NavMenuItem-CrFrczWe.js → NavMenuItem-BtYmdZGe.js} +3 -3
  144. package/dist/NumberInput/index.d.ts +1 -1
  145. package/dist/NumberInput/index.js +1 -1
  146. package/dist/{NumberInput-vWUcgJU8.js → NumberInput-B3Y_NOui.js} +6 -6
  147. package/dist/Outline/index.js +1 -1
  148. package/dist/{Outline-D4DJTfKp.js → Outline-DGntLLCe.js} +2 -2
  149. package/dist/OverflowList/index.d.ts +1 -1
  150. package/dist/OverflowList/index.js +1 -1
  151. package/dist/{OverflowList-D9Ua6e3-.js → OverflowList-DJBaY3B_.js} +2 -2
  152. package/dist/Overlay/index.d.ts +1 -1
  153. package/dist/Pagination/index.js +1 -1
  154. package/dist/{Pagination-DBikmHyn.js → Pagination-BJKFuELz.js} +3 -3
  155. package/dist/{PanGestureRecognizer-C-gk9mOy.js → PanGestureRecognizer-K-I6ORwh.js} +3 -3
  156. package/dist/{PickerWheel-sIOSfcfO.js → PickerWheel-J5F_ecWb.js} +15 -15
  157. package/dist/Popover/index.d.ts +2 -2
  158. package/dist/Popover/index.js +1 -1
  159. package/dist/{Popover-CTCWhA_K.js → Popover-CVZnqsUy.js} +10 -10
  160. package/dist/PowerSearch/index.d.ts +1 -1
  161. package/dist/PowerSearch/index.js +1 -1
  162. package/dist/{PowerSearch-CTNFHNnr.js → PowerSearch-BHTHVINR.js} +30 -30
  163. package/dist/{PressTracker-CPRIrG4f.js → PressTracker-Byalgid0.js} +3 -3
  164. package/dist/ProgressBar/index.js +1 -1
  165. package/dist/{ProgressBar-B2ds3imd.js → ProgressBar-DJ79DNQq.js} +4 -4
  166. package/dist/Radio/index.d.ts +1 -1
  167. package/dist/Radio/index.js +1 -1
  168. package/dist/{RadioGroup-OLFNjvKt.js → RadioGroup-CvMj98z_.js} +6 -6
  169. package/dist/RadioList/index.d.ts +1 -1
  170. package/dist/RadioList/index.js +1 -1
  171. package/dist/{RadioListItem-BAEF0vc8.js → RadioListItem-CptY2wdB.js} +1 -1
  172. package/dist/Resizable/index.d.ts +1 -1
  173. package/dist/Resizable/index.js +1 -1
  174. package/dist/{ResizeHandle-Bd4TdK7E.js → ResizeHandle-ruXeaXUT.js} +2 -2
  175. package/dist/ScrollableArea/index.d.ts +1 -1
  176. package/dist/SegmentedControl/index.js +1 -1
  177. package/dist/{SegmentedControl-C0xXOVTv.js → SegmentedControl-DMxIY7uq.js} +10 -10
  178. package/dist/SelectableCard/index.d.ts +1 -1
  179. package/dist/SelectableCard/index.js +1 -1
  180. package/dist/{SelectableCard-B2QbpWiT.js → SelectableCard-BSgi3FJf.js} +1 -1
  181. package/dist/Selector/index.d.ts +1 -1
  182. package/dist/Selector/index.js +1 -1
  183. package/dist/{Selector-BvxQXUYr.js → Selector-DhKtSP71.js} +9 -9
  184. package/dist/SideNav/index.d.ts +1 -1
  185. package/dist/SideNav/index.js +2 -2
  186. package/dist/{SideNav-D8jQrwtL.js → SideNav-DOXNxEIp.js} +11 -11
  187. package/dist/Slider/index.js +1 -1
  188. package/dist/{Slider-Bd5fxqRa.js → Slider-D5GYcH4S.js} +13 -13
  189. package/dist/Spinner/index.js +1 -1
  190. package/dist/{Spinner-D1adu3uH.js → Spinner-lLOYfbOY.js} +1 -1
  191. package/dist/Stack/index.d.ts +1 -1
  192. package/dist/StatusDot/index.js +1 -1
  193. package/dist/{StatusDot-Jw676Z_6.js → StatusDot-DOf6Q4MC.js} +1 -1
  194. package/dist/Stepper/index.js +1 -1
  195. package/dist/{Stepper-3oMdVe0c.js → Stepper-0ycdCwND.js} +2 -2
  196. package/dist/Switch/index.d.ts +1 -1
  197. package/dist/Switch/index.js +1 -1
  198. package/dist/{Switch-COKmqJQU.js → Switch-DDHf_9iJ.js} +15 -15
  199. package/dist/TabList/index.js +1 -1
  200. package/dist/{TabList-DjRutwar.js → TabList-BnLUktgm.js} +4 -4
  201. package/dist/Table/index.d.ts +1 -1
  202. package/dist/Table/index.js +1 -1
  203. package/dist/{Table-3GiSElIS.js → Table-B49mlc0R.js} +17 -17
  204. package/dist/Text/index.d.ts +1 -1
  205. package/dist/Text/index.js +1 -1
  206. package/dist/{Text-bvai__ae.js → Text-CILdp7jE.js} +1 -1
  207. package/dist/TextArea/index.d.ts +1 -1
  208. package/dist/TextArea/index.js +1 -1
  209. package/dist/{TextArea-BtBC4IoD.js → TextArea-BSB5WIpK.js} +7 -7
  210. package/dist/TextInput/index.d.ts +1 -1
  211. package/dist/TextInput/index.js +1 -1
  212. package/dist/{TextInput-cotkU2bC.js → TextInput-Ck-6Mtbt.js} +7 -7
  213. package/dist/Theme/index.d.ts +3 -3
  214. package/dist/Theme/index.js +3 -3
  215. package/dist/{Theme-CwruhtLu.js → Theme-B_kAJHy2.js} +111 -23
  216. package/dist/Thumbnail/index.js +1 -1
  217. package/dist/{Thumbnail-oqrKH-co.js → Thumbnail-Tg50Msul.js} +6 -6
  218. package/dist/{TimeField-BYuUKUNq.js → TimeField-CLD_j1tX.js} +8 -8
  219. package/dist/TimeInput/index.d.ts +1 -1
  220. package/dist/TimeInput/index.js +1 -1
  221. package/dist/{TimeInput-Bqo_oHMl.js → TimeInput-DuijuQMd.js} +2 -2
  222. package/dist/Timer/index.d.ts +1 -1
  223. package/dist/Timer/index.js +1 -1
  224. package/dist/{Timer-CO-JNJTI.js → Timer-DOoFQEBD.js} +1 -1
  225. package/dist/Timestamp/index.d.ts +1 -1
  226. package/dist/Timestamp/index.js +1 -1
  227. package/dist/{Timestamp-CfzqAAX2.js → Timestamp-D8fyTuhk.js} +5 -5
  228. package/dist/Toast/index.js +1 -1
  229. package/dist/{Toast-BSay0eZw.js → Toast-51l_F_YA.js} +7 -6
  230. package/dist/ToggleButton/index.d.ts +1 -1
  231. package/dist/ToggleButton/index.js +1 -1
  232. package/dist/{ToggleButton-Ditxp2jT.js → ToggleButton-_fEU63Nz.js} +3 -3
  233. package/dist/Token/index.d.ts +1 -1
  234. package/dist/Token/index.js +1 -1
  235. package/dist/{Token-Dk6MPUkH.js → Token-Di7w9Cvr.js} +2 -2
  236. package/dist/Tokenizer/index.js +1 -1
  237. package/dist/{Tokenizer-D-wBxbBE.js → Tokenizer-wWybLovw.js} +16 -16
  238. package/dist/Toolbar/index.d.ts +1 -1
  239. package/dist/Tooltip/index.d.ts +1 -1
  240. package/dist/Tooltip/index.js +2 -2
  241. package/dist/{Tooltip-BdG9g6c6.js → Tooltip-DPiEYfao.js} +1 -1
  242. package/dist/TopNav/index.d.ts +1 -1
  243. package/dist/TopNav/index.js +1 -1
  244. package/dist/{TopNav-D7jH9iwk.js → TopNav-GvK-XIRl.js} +8 -8
  245. package/dist/TreeList/index.js +1 -1
  246. package/dist/{TreeList-Dnx-uco3.js → TreeList-CfELZwbQ.js} +6 -6
  247. package/dist/Typeahead/index.js +2 -2
  248. package/dist/{Typeahead-Cx086Mmv.js → Typeahead-DtNM4311.js} +8 -8
  249. package/dist/{VelocityTracker-CPFBHDpy.js → VelocityTracker-CWqXCLNe.js} +1 -1
  250. package/dist/{accessibleName-CHrrgpAy.js → accessibleName-CYV4uRm9.js} +5 -5
  251. package/dist/{adaptationTypes-D874ONPJ.d.ts → adaptationTypes-D5HrfPSt.d.ts} +9 -0
  252. package/dist/{animator-Bptiubcx.js → animator-i7djdtNK.js} +3 -3
  253. package/dist/{assertOptions-Byu4Yqfg.js → assertOptions-BOwrrTT-.js} +1 -1
  254. package/dist/{boxHold-D1G2s1tG.js → boxHold-ig0sUg95.js} +1 -1
  255. package/dist/colorMode-DVs86FF2.js +49 -0
  256. package/dist/{compactDefinition-CMTR5KqU.d.ts → compactDefinition-BPg0hR8Q.d.ts} +1 -1
  257. package/dist/{compactDefinition-BeFUKEFg.js → compactDefinition-D32f2O_H.js} +1 -1
  258. package/dist/composables/index.d.ts +3 -2
  259. package/dist/composables/index.js +12 -12
  260. package/dist/{composables-CpG7bhuQ.js → composables-D5840uKi.js} +2425 -204
  261. package/dist/{context-Dweha8vW.js → context-CLCiYDtY.js} +3 -2
  262. package/dist/context-CwV8eyUd.js +12 -0
  263. package/dist/contrast-B0fsdq4U.js +75 -0
  264. package/dist/createReorderable-Bw3Q9mUd.d.ts +55 -0
  265. package/dist/{decay-TluwbMlP.js → decay-DGF4-sPB.js} +1 -1
  266. package/dist/{geometry-BRW7FETc.js → geometry-BBqUriul.js} +1 -1
  267. package/dist/{gestures-yKyyMqeQ.js → gestures-CP1MX1rx.js} +1 -1
  268. package/dist/{haptics-BEgivjBd.js → haptics-By_893U8.js} +3 -3
  269. package/dist/{index-DvCLTiDV.d.ts → index-4_uuTfaY.d.ts} +1 -1
  270. package/dist/{index-tXYy8MJ0.d.ts → index-BIcmTipH.d.ts} +1 -1
  271. package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
  272. package/dist/{index-BhpRhww0.d.ts → index-Bk2SsmEu.d.ts} +3 -3
  273. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  274. package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
  275. package/dist/{index-sUMua5pp.d.ts → index-BzaRSOA3.d.ts} +28 -1
  276. package/dist/{index-BIQZa2BD.d.ts → index-CAP19BZD.d.ts} +9 -0
  277. package/dist/index-CDZhxbEp.d.ts +44 -0
  278. package/dist/{index-CQi9WGWE.d.ts → index-CEdoNcHF.d.ts} +1 -1
  279. package/dist/{index-DjSQLT53.d.ts → index-COqeB2ug.d.ts} +1 -1
  280. package/dist/{index-DkYOGpsC.d.ts → index-CTo75wH5.d.ts} +1 -1
  281. package/dist/{index-CilCxEvD.d.ts → index-CqvIpZ-t.d.ts} +2 -2
  282. package/dist/{index-OP4ntESa.d.ts → index-DLPSlnXP.d.ts} +1 -1
  283. package/dist/{index-CGRtGORf.d.ts → index-DXGoFpRN.d.ts} +52 -2
  284. package/dist/{index-B44fLswd.d.ts → index-DYabo8TI.d.ts} +2 -2
  285. package/dist/{index-Dk50Zh3F.d.ts → index-DofC9Rll.d.ts} +2 -2
  286. package/dist/{index-hwP1oWCA.d.ts → index-EyFu5eSZ.d.ts} +3 -3
  287. package/dist/{index-EUzmHHm6.d.ts → index-WBF_zxXX.d.ts} +2 -2
  288. package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
  289. package/dist/{index-B7Rd2RuL.d.ts → index-ZXDolNI1.d.ts} +44 -44
  290. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  291. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  292. package/dist/index.d.ts +33 -30
  293. package/dist/index.js +125 -123
  294. package/dist/inertClone-BUK-k6-n.js +83 -0
  295. package/dist/itemSlots-BxUu7hje.js +54 -0
  296. package/dist/keyboard-hint-DZrL82bU.js +48 -0
  297. package/dist/{landing-CrVewjeb.js → landing-DjJvKu3c.js} +1 -1
  298. package/dist/{layerDepth-DRfWATFr.js → layerDepth-C4altnV8.js} +1 -1
  299. package/dist/{lazyBottomSheet-C6Rw8yoX.js → lazyBottomSheet-DUPKYGf1.js} +1 -1
  300. package/dist/{linearEasing-VHwy6xl_.js → linearEasing-CDsqxyiS.js} +1 -1
  301. package/dist/{loadCatalog-CdEXyPYj.d.ts → loadCatalog-S2AgQN51.d.ts} +40 -1
  302. package/dist/{loadCatalog-CKntEldg.js → loadCatalog-baFZaTpj.js} +76 -5
  303. package/dist/locale/index.d.ts +3 -3
  304. package/dist/locale/index.js +5 -5
  305. package/dist/{locale-CHA0DNw5.js → locale-BIyfn-cf.js} +1 -1
  306. package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
  307. package/dist/palette/index.d.ts +3 -0
  308. package/dist/palette/index.js +2 -0
  309. package/dist/palette-DlNBLR8U.js +2114 -0
  310. package/dist/{position-DwHfneha.js → position-CkZfFubr.js} +1 -1
  311. package/dist/{presentationHold-ZKixVLcz.js → presentationHold-Bjjux3fp.js} +1 -1
  312. package/dist/{pressGesture-CfBgXWRM.js → pressGesture-ZTBGwYpT.js} +1 -1
  313. package/dist/{pressSlot-B6TvGkSO.js → pressSlot-zlwhNl9N.js} +1 -1
  314. package/dist/{projection-qPcLQcwK.js → projection-DzrWyxL1.js} +1 -1
  315. package/dist/{reducedMotion-D8-U7XFT.js → reducedMotion-BHRhHfWB.js} +2 -2
  316. package/dist/reorderTypes-CvmAkO-R.js +55 -0
  317. package/dist/{reportChange-CUo2YNPB.js → reportChange-wIeU3q3y.js} +3 -3
  318. package/dist/{resizableChannel-DpbFJbto.js → resizableChannel-b7iQNnCj.js} +4 -4
  319. package/dist/{resolveMotion-DftkGFw6.js → resolveMotion-BCM4CX-R.js} +2 -2
  320. package/dist/{resolveSnapPoint-A4dhS5jj.js → resolveSnapPoint-D1yU-Z-K.js} +1 -1
  321. package/dist/{rideKeyboard-BCzVooOd.js → rideKeyboard-BKGLLMuU.js} +2 -2
  322. package/dist/{roles-DWH31Bn3.js → roles-D6hLs7Rg.js} +1 -1
  323. package/dist/{rubberBand-DDd5ElTe.js → rubberBand-C-2erWWl.js} +1 -1
  324. package/dist/scrollingAncestor-DMWTn_Ih.js +36 -0
  325. package/dist/{springs-CPk0tpwL.js → springs-B5hVbZta.js} +1 -1
  326. package/dist/{stillPointerGate-BU1CKW7m.js → stillPointerGate-DXFzBeMy.js} +1 -1
  327. package/dist/{themeTiming-BJziEh4O.js → themeTiming-DOf0j6SM.js} +3 -2
  328. package/dist/{tokenReferences-sKpv-7_O.js → tokenReferences-CdmofltU.js} +1 -38
  329. package/dist/{tooltipFocusRules-GGASOH_U.js → tooltipFocusRules-R21SPfWy.js} +2 -2
  330. package/dist/{tooltipTriggerRules-DIaGdkD_.js → tooltipTriggerRules-CoGD2lVn.js} +1 -1
  331. package/dist/{transientCopy-VAsg2a46.js → transientCopy--76J3N2f.js} +2 -83
  332. package/dist/{triggerVariant-DPuBmzpp.js → triggerVariant-CRQoD-4F.js} +1 -1
  333. package/dist/{types-BHHT6Bho.d.ts → types-D9mwL8sz.d.ts} +25 -0
  334. package/dist/{types-D97oBk6c.d.ts → types-DTlpQo7j.d.ts} +1 -1
  335. package/dist/types-DypDQlbk.d.ts +176 -0
  336. package/dist/{useActionGroupTracking-C-nLjHyn.js → useActionGroupTracking-DB5xIxPW.js} +3 -3
  337. package/dist/{useAnimatedLayout-Dq-cttfe.js → useAnimatedLayout-CXjd5pjG.js} +1 -1
  338. package/dist/{useChatStreamScroll-3mJvbNtI.js → useChatStreamScroll-BQpGHGAr.js} +1 -1
  339. package/dist/{useDismiss-CegXF2Zo.js → useDismiss-yu_sIa7a.js} +33 -2
  340. package/dist/{useGestureRecognizer-Di-YKr93.js → useGestureRecognizer-BKzTWKYx.js} +1 -1
  341. package/dist/{useHeldPresentation-CaIKTwUh.js → useHeldPresentation-0Z0Untra.js} +1 -1
  342. package/dist/{useIndicator-PFDBNOvX.js → useIndicator-Co1ERlg-.js} +2 -2
  343. package/dist/{useInputStatusIcon-CXP2kRSe.js → useInputStatusIcon-DJfhmCiH.js} +2 -2
  344. package/dist/{useMediaQuery-BzXGT1Aw.js → useMediaQuery-DKnSDG3S.js} +1 -1
  345. package/dist/{useMenuHover-DoBatZeD.js → useMenuHover-Dahcf3qo.js} +1 -1
  346. package/dist/{useMenuPress-kjmot8Bn.js → useMenuPress-DrrOBqjM.js} +1 -1
  347. package/dist/{useMobileKeyboard-BDPV51xl.js → useMobileKeyboard-Cibxl8ZC.js} +5 -39
  348. package/dist/{usePressFeedback-CF4ISMfb.js → usePressFeedback-BEY9kk8T.js} +3 -3
  349. package/dist/{useResizable-7-uUaJ7x.js → useResizable-CJQAV_tU.js} +6 -6
  350. package/dist/useResolvedColorMode-CyZjLvfj.js +159 -0
  351. package/dist/{useTooltip-DCp4sTM1.js → useTooltip-B2RrDbtI.js} +4 -4
  352. package/dist/{useTouchHitArea-CkHMLZ34.js → useTouchHitArea-DvKV21NY.js} +1 -1
  353. package/dist/{useTouchTriggerInternal-C_mowlpv.js → useTouchTriggerInternal-Obcx-oKN.js} +1 -1
  354. package/dist/{useTruncationTooltip-Du80jGdE.js → useTruncationTooltip-RUl8qSGz.js} +3 -3
  355. package/dist/{useTypeaheadMenuConfig-B14t0HGE.js → useTypeaheadMenuConfig-0glQWHQd.js} +2 -2
  356. package/package.json +5 -1
  357. package/styles/list-reorder.css +137 -0
  358. package/styles/nav-menu.css +5 -0
  359. package/styles/side-nav.css +7 -4
  360. package/styles/top-nav.css +7 -4
  361. package/styles.css +1 -0
  362. package/dist/context-Cws_tXTr.js +0 -7
  363. package/dist/keyboard-hint-KWx0-7kD.js +0 -7
  364. package/dist/useResolvedColorMode-Df97_9w_.js +0 -78
  365. package/dist/{Calendar-B6TZYEge.js → Calendar-DbAQvHgy.js} +1 -1
  366. package/dist/{index-BqhgeAT4.d.ts → index-5FGt4HsB.d.ts} +1 -1
@@ -1,8 +1,8 @@
1
1
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
2
  import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
3
- import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-CkHMLZ34.js";
4
- import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-CfBgXWRM.js";
5
- import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-B6TvGkSO.js";
3
+ import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-DvKV21NY.js";
4
+ import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-ZTBGwYpT.js";
5
+ import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-zlwhNl9N.js";
6
6
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
7
7
  //#region src/composables/internal/useActionGroupTracking.ts
8
8
  const DISABLED = ":disabled, [aria-disabled=\"true\"]";
@@ -1,4 +1,4 @@
1
- import { l as createAnimatedLayout } from "./reportChange-CUo2YNPB.js";
1
+ import { l as createAnimatedLayout } from "./reportChange-wIeU3q3y.js";
2
2
  import { toValue } from "vue";
3
3
  //#region src/composables/useAnimatedLayout.ts
4
4
  function elementOf(value) {
@@ -1,5 +1,5 @@
1
1
  import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
2
- import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
2
+ import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
3
3
  import { onScopeDispose, ref, toValue, watch } from "vue";
4
4
  //#region src/composables/useChatNewMessages.ts
5
5
  /** Class that marks a transcript row `useChatNewMessages` watches. */
@@ -1,6 +1,6 @@
1
1
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
2
2
  import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
3
- import { n as useLayerDepth, o as pushLayer } from "./layerDepth-DRfWATFr.js";
3
+ import { n as useLayerDepth, o as pushLayer } from "./layerDepth-C4altnV8.js";
4
4
  import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/layer/anchorClear.ts
6
6
  function overlapsAnchor(anchor, top, left, layer) {
@@ -175,6 +175,29 @@ function computeLayerPosition(anchor, layer, viewport, placement, alignment, gap
175
175
  function isAnchorInViewport(anchor, viewport) {
176
176
  return anchor.right > 0 && anchor.bottom > 0 && anchor.left < viewport.width && anchor.top < viewport.height;
177
177
  }
178
+ /**
179
+ * 让浮层盖在锚点原位上:浮层左上角比锚点左上角各外扩 `OVERLAP_OUTSET`,
180
+ * 宽度至少比锚点宽两倍外扩距离。浮层里第一行内容离浮层边缘也是这个距离时,
181
+ * 正好落在锚点内容原来的位置上。最终位置保持在视口内。
182
+ */
183
+ function computeOverlapPosition(anchor, layer, viewport, gutter = resolveLayerGutter()) {
184
+ const minWidth = anchor.width + 16;
185
+ const width = Math.max(layer.width, minWidth);
186
+ const top = anchor.top - 8;
187
+ const left = anchor.left - 8;
188
+ if (!isAnchorInViewport(anchor, viewport)) return {
189
+ top,
190
+ left,
191
+ placement: "below",
192
+ minWidth
193
+ };
194
+ return {
195
+ top: clamp(top, 0, viewport.height - layer.height - gutter.blockEnd),
196
+ left: clamp(left, 0, viewport.width - width - gutter.inlineEnd),
197
+ placement: "below",
198
+ minWidth
199
+ };
200
+ }
178
201
  //#endregion
179
202
  //#region src/layer/visibleViewport.ts
180
203
  /**
@@ -220,6 +243,10 @@ function usePositionedLayer(options) {
220
243
  width: layerEl.offsetWidth,
221
244
  height: options.keepAnchorClear === true ? Math.max(layerEl.offsetHeight, layerEl.scrollHeight) : layerEl.offsetHeight
222
245
  };
246
+ if (options.overlap?.value === true) {
247
+ position.value = computeOverlapPosition(anchorRect, box, viewport, gutter.value);
248
+ return;
249
+ }
223
250
  const placed = computeLayerPosition(anchorRect, box, viewport, placement.value, alignment.value, gap, gutter.value);
224
251
  const next = options.keepAnchorClear === true ? keepClearOfAnchor(placed, anchorRect, box, viewport, gap, gutter.value) : placed;
225
252
  position.value = next;
@@ -276,7 +303,11 @@ function usePositionedLayer(options) {
276
303
  } else detach();
277
304
  }, { immediate: true });
278
305
  watch([anchor, layer], update);
279
- watch([placement, alignment], update);
306
+ watch([
307
+ placement,
308
+ alignment,
309
+ () => options.overlap?.value
310
+ ], update);
280
311
  watch(gutter, update);
281
312
  onScopeDispose(detach);
282
313
  return {
@@ -1,5 +1,5 @@
1
1
  import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
2
- import { f as internals, i as getGestureHost } from "./geometry-BRW7FETc.js";
2
+ import { f as internals, i as getGestureHost } from "./geometry-BBqUriul.js";
3
3
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
4
4
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
5
5
  //#region src/gestures/gestureSync.ts
@@ -1,4 +1,4 @@
1
- import { i as useAdaptivePresentation, n as usePresentationHold } from "./presentationHold-ZKixVLcz.js";
1
+ import { i as useAdaptivePresentation, n as usePresentationHold } from "./presentationHold-Bjjux3fp.js";
2
2
  import { computed, toValue, watch } from "vue";
3
3
  //#region src/layer/useHeldPresentation.ts
4
4
  function useHeldPresentation(presentation, isOpen) {
@@ -1,6 +1,6 @@
1
1
  import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
2
- import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
3
- import { n as themeContextKey } from "./context-Cws_tXTr.js";
2
+ import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
3
+ import { r as themeContextKey } from "./context-CwV8eyUd.js";
4
4
  import { n as decorativeAttrs, t as _sfc_main$3 } from "./CheckboxIndicator-fH4d-JE1.js";
5
5
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, inject, mergeProps, openBlock, renderSlot, unref, useAttrs, useSlots, useTemplateRef } from "vue";
6
6
  import "../styles/check-indicator.css";
@@ -1,5 +1,5 @@
1
- import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-Ii7lSYS8.js";
1
+ import { t as _sfc_main } from "./FieldIcon-C6A69-um.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-6IHEEEJL.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -61,4 +61,4 @@ function useMediaQuery(query) {
61
61
  return matches;
62
62
  }
63
63
  //#endregion
64
- export { useMediaQuery as t };
64
+ export { watchMediaQuery as n, useMediaQuery as t };
@@ -1,4 +1,4 @@
1
- import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
1
+ import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
2
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";
@@ -1,6 +1,6 @@
1
1
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
2
  import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
3
- import { s as currentGesture } from "./layerDepth-DRfWATFr.js";
3
+ import { s as currentGesture } from "./layerDepth-C4altnV8.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
5
5
  import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
6
6
  import { r as isInputShield } from "./inputHoldState-Bav14W7v.js";
@@ -1,49 +1,15 @@
1
1
  import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
2
- import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
3
2
  import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
4
3
  import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
5
- import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
6
- import { t as animatorFor } from "./animator-Bptiubcx.js";
7
- import { t as KEYBOARD_SPRING } from "./springs-CPk0tpwL.js";
4
+ import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
5
+ import { t as animatorFor } from "./animator-i7djdtNK.js";
6
+ import { t as KEYBOARD_SPRING } from "./springs-B5hVbZta.js";
8
7
  import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
8
+ import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
9
9
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
10
10
  import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
11
- import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-BCzVooOd.js";
11
+ import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-BKGLLMuU.js";
12
12
  import { readonly, shallowRef, toValue, watch } from "vue";
13
- //#region src/utils/scrollingAncestor.ts
14
- /**
15
- * @file scrollingAncestor.ts
16
- * @input An element, and an optional ancestor where the walk stops.
17
- * @output The element's nearest ancestor that scrolls on the block axis, and
18
- * `nearestScroller`, which falls back to the document's scroller.
19
- * @position Shared by the keyboard module's reveals, Outline's scroll spy
20
- * and the List reorder's edge autoscroll.
21
- */
22
- /**
23
- * The nearest ancestor of `element` that scrolls on the block axis: its
24
- * `overflow-y` lets it scroll and its content is taller than its box. The walk
25
- * ends after `bound` when one is given, and at the document's root otherwise.
26
- * Null when no ancestor in that range scrolls.
27
- */
28
- function scrollingAncestor(element, bound) {
29
- const view = element.ownerDocument.defaultView;
30
- if (view == null) return null;
31
- for (let node = element.parentElement; node != null; node = node.parentElement) {
32
- if (SCROLLABLE_OVERFLOW.has(view.getComputedStyle(node).overflowY) && node.scrollHeight > node.clientHeight) return node;
33
- if (node === bound) return null;
34
- }
35
- return null;
36
- }
37
- /**
38
- * The element that scrolls `element` into view: its nearest ancestor that
39
- * scrolls on the block axis, or else the document's scroller.
40
- */
41
- function nearestScroller(element) {
42
- const doc = element.ownerDocument;
43
- const scroller = scrollingAncestor(element);
44
- return scroller == null || scroller === doc.body || scroller === doc.documentElement ? doc.scrollingElement ?? doc.documentElement : scroller;
45
- }
46
- //#endregion
47
13
  //#region src/keyboard/keyboardRide.ts
48
14
  function liftFor(target, animator, height, offset, win, isHostOwned) {
49
15
  if (!isHostOwned && (!isDockedContainer(target) || isMovedByApp(target))) return 0;
@@ -1,9 +1,9 @@
1
1
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
2
  import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
3
3
  import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
4
- import { o as UIKIT_PRESS } from "./gestures-yKyyMqeQ.js";
5
- import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-CfBgXWRM.js";
6
- import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-B6TvGkSO.js";
4
+ import { o as UIKIT_PRESS } from "./gestures-CP1MX1rx.js";
5
+ import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-ZTBGwYpT.js";
6
+ import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-zlwhNl9N.js";
7
7
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
8
8
  import "../styles/pressable.css";
9
9
  //#region src/composables/internal/pressButton.ts
@@ -1,11 +1,11 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
- import { t as animatorFor } from "./animator-Bptiubcx.js";
3
- import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
4
- import { s as springs } from "./springs-CPk0tpwL.js";
2
+ import { t as animatorFor } from "./animator-i7djdtNK.js";
3
+ import { t as resolveMotion } from "./resolveMotion-BCM4CX-R.js";
4
+ import { s as springs } from "./springs-B5hVbZta.js";
5
5
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
6
- import { t as project } from "./projection-qPcLQcwK.js";
7
- import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-DpbFJbto.js";
8
- import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-DDd5ElTe.js";
6
+ import { t as project } from "./projection-DzrWyxL1.js";
7
+ import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-b7iQNnCj.js";
8
+ import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-C-2erWWl.js";
9
9
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
10
10
  //#region src/composables/useHotkeys.ts
11
11
  const KEY_ALIASES = {
@@ -0,0 +1,159 @@
1
+ import { n as systemSchemeKey } from "./context-CwV8eyUd.js";
2
+ import { n as watchMediaQuery, t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
3
+ import { t as readColorMode } from "./colorMode-DVs86FF2.js";
4
+ import { computed, getCurrentInstance, inject, onBeforeUnmount, onMounted, ref, watch } from "vue";
5
+ //#region src/Theme/rootScheme.ts
6
+ const STYLE_NODES = "style, link[rel~=\"stylesheet\"]";
7
+ const SCHEME_META = "meta[name=\"color-scheme\" i]";
8
+ /** 只写一种时是那一种,两种都写是 null,一种都没写是 undefined。 */
9
+ function oneScheme(schemes) {
10
+ const names = schemes.toLowerCase().split(/\s+/);
11
+ const light = names.includes("light");
12
+ const dark = names.includes("dark");
13
+ if (light && dark) return null;
14
+ if (light || dark) return dark ? "dark" : "light";
15
+ }
16
+ /** 此刻页面根画的配色。 */
17
+ function readRootScheme() {
18
+ if (typeof document === "undefined" || typeof window === "undefined") return null;
19
+ const declared = window.getComputedStyle(document.documentElement).colorScheme;
20
+ if (declared == null || declared === "") return null;
21
+ if (declared !== "normal") return oneScheme(declared) ?? null;
22
+ for (const meta of document.querySelectorAll(SCHEME_META)) {
23
+ const content = meta.getAttribute("content") ?? "";
24
+ const fromMeta = oneScheme(content);
25
+ if (fromMeta !== void 0) return fromMeta;
26
+ if (/(?:^|\s)normal(?:\s|$)/i.test(content)) return "light";
27
+ }
28
+ return "light";
29
+ }
30
+ /** 这批变动会不会改变根的配色:根自己的属性、样式节点的内容、样式或 meta 节点增减。 */
31
+ function changesRootScheme(records) {
32
+ return records.some((record) => {
33
+ const target = record.target;
34
+ if (target === document.documentElement) return true;
35
+ const element = target instanceof Element ? target : target.parentElement;
36
+ if (element?.closest("style") != null) return true;
37
+ if (record.type === "attributes") return element?.matches("link, style, meta") === true;
38
+ const watched = `${STYLE_NODES}, ${SCHEME_META}`;
39
+ return [...record.addedNodes, ...record.removedNodes].some((node) => node instanceof Element && (node.matches(watched) || node.querySelector(watched) != null));
40
+ });
41
+ }
42
+ const listeners = /* @__PURE__ */ new Set();
43
+ let stopWatching = null;
44
+ function notify() {
45
+ for (const listener of listeners) listener();
46
+ }
47
+ function onStylesheetLoad(event) {
48
+ if (event.target instanceof HTMLLinkElement) notify();
49
+ }
50
+ /** 全页面共用一个观察器,第一个订阅者来时启动,最后一个走时停掉。 */
51
+ function subscribe(listener) {
52
+ listeners.add(listener);
53
+ if (listeners.size === 1 && typeof MutationObserver !== "undefined") {
54
+ const observer = new MutationObserver((records) => {
55
+ if (changesRootScheme(records)) notify();
56
+ });
57
+ observer.observe(document.documentElement, { attributes: true });
58
+ observer.observe(document.head, {
59
+ childList: true,
60
+ subtree: true,
61
+ characterData: true,
62
+ attributes: true,
63
+ attributeFilter: [
64
+ "href",
65
+ "media",
66
+ "disabled",
67
+ "rel",
68
+ "name",
69
+ "content"
70
+ ]
71
+ });
72
+ document.addEventListener("load", onStylesheetLoad, true);
73
+ const stopPreference = typeof window.matchMedia === "function" ? watchMediaQuery("(prefers-color-scheme: dark)", notify) : () => {};
74
+ stopWatching = () => {
75
+ observer.disconnect();
76
+ document.removeEventListener("load", onStylesheetLoad, true);
77
+ stopPreference();
78
+ };
79
+ }
80
+ return () => {
81
+ listeners.delete(listener);
82
+ if (listeners.size === 0) {
83
+ stopWatching?.();
84
+ stopWatching = null;
85
+ }
86
+ };
87
+ }
88
+ /**
89
+ * 页面根画的配色,随页面变化。`watching` 为 false 时不读也不订阅;
90
+ * 挂载前(服务端和 hydration 那一趟)一律是 null,和服务端算得一样。
91
+ */
92
+ function useRootScheme(watching) {
93
+ const scheme = ref(null);
94
+ const mounted = ref(false);
95
+ let unsubscribe = null;
96
+ function sync() {
97
+ unsubscribe?.();
98
+ unsubscribe = null;
99
+ if (!mounted.value || !watching()) {
100
+ scheme.value = null;
101
+ return;
102
+ }
103
+ scheme.value = readRootScheme();
104
+ unsubscribe = subscribe(() => {
105
+ scheme.value = readRootScheme();
106
+ });
107
+ }
108
+ onMounted(() => {
109
+ mounted.value = true;
110
+ });
111
+ watch([mounted, watching], sync, { immediate: true });
112
+ onBeforeUnmount(() => {
113
+ mounted.value = false;
114
+ unsubscribe?.();
115
+ unsubscribe = null;
116
+ });
117
+ return scheme;
118
+ }
119
+ //#endregion
120
+ //#region src/Theme/useResolvedColorMode.ts
121
+ /**
122
+ * 能不能读读者的页面(文档属性、计算样式、系统偏好)。
123
+ *
124
+ * 组件里挂载后才为 true:服务端看不到读者的页面,hydration 那一趟也必须和服务端算得一样,
125
+ * 否则深色页面或页面自己的 CSS 变量会让第一次渲染和服务端 HTML 对不上。
126
+ * 组件外调用时没有挂载这一步,直接为 true。
127
+ */
128
+ function usePageReadable() {
129
+ const readable = ref(getCurrentInstance() == null);
130
+ if (!readable.value) onMounted(() => {
131
+ readable.value = true;
132
+ });
133
+ return readable;
134
+ }
135
+ /**
136
+ * 主题明确给了 light 或 dark 就用它;否则 `system` 跟随页面:
137
+ * 文档属性、`dark` 类,再到页面根画的配色(根声明了两种或读不到时看系统偏好)。
138
+ * 在强制了浅色或深色的 Theme 里面,`system` 直接跟读者的偏好。
139
+ * 跟随页面的那一半挂载前按服务端的 light 算,见 `usePageReadable`。
140
+ */
141
+ function useResolvedColorMode(requested, pageReadable = usePageReadable()) {
142
+ const prefersDark = useMediaQuery("(prefers-color-scheme: dark)");
143
+ const around = inject(systemSchemeKey, null);
144
+ const systemScheme = () => around?.value ?? "root";
145
+ const forced = () => {
146
+ const mode = requested();
147
+ return mode === "light" || mode === "dark";
148
+ };
149
+ const pageScheme = useRootScheme(() => !forced() && systemScheme() === "root");
150
+ return computed(() => {
151
+ const mode = requested();
152
+ if (mode === "light" || mode === "dark") return mode;
153
+ if (!pageReadable.value) return "light";
154
+ if (systemScheme() === "preference") return prefersDark.value ? "dark" : "light";
155
+ return readColorMode(prefersDark.value, pageScheme.value);
156
+ });
157
+ }
158
+ //#endregion
159
+ export { useResolvedColorMode as n, useRootScheme as r, usePageReadable as t };
@@ -1,11 +1,11 @@
1
1
  import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
3
- import { n as useLayer } from "./tooltipTriggerRules-DIaGdkD_.js";
4
- import { t as _sfc_main$1 } from "./LayerContentBoundary-D67fobWl.js";
3
+ import { n as useLayer } from "./tooltipTriggerRules-CoGD2lVn.js";
4
+ import { t as _sfc_main$1 } from "./LayerContentBoundary-iYtfCpG9.js";
5
5
  import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
- import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-C_mowlpv.js";
8
- import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-GGASOH_U.js";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Obcx-oKN.js";
8
+ import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-R21SPfWy.js";
9
9
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
10
10
  import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
11
11
  import "../styles/tooltip.css";
@@ -1,5 +1,5 @@
1
1
  import { t as armClickGuard } from "./clickGuard-BkegH2NW.js";
2
- import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-B6TvGkSO.js";
2
+ import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-zlwhNl9N.js";
3
3
  import { toValue, watch } from "vue";
4
4
  import "../styles/touch-hit-area.css";
5
5
  /** 不长:热区就是目标本身。 */
@@ -1,5 +1,5 @@
1
1
  import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
2
- import { s as currentGesture } from "./layerDepth-DRfWATFr.js";
2
+ import { s as currentGesture } from "./layerDepth-C4altnV8.js";
3
3
  import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
4
4
  import { onScopeDispose, ref, toValue, watch } from "vue";
5
5
  //#region src/composables/internal/tapRecognizer.ts
@@ -1,7 +1,7 @@
1
- import { t as matchesFocusVisible } from "./tooltipTriggerRules-DIaGdkD_.js";
1
+ import { t as matchesFocusVisible } from "./tooltipTriggerRules-CoGD2lVn.js";
2
2
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
3
- import { n as tooltipPresentInterestKey } from "./useTooltip-DCp4sTM1.js";
4
- import { t as _sfc_main$1 } from "./Tooltip-BdG9g6c6.js";
3
+ import { n as tooltipPresentInterestKey } from "./useTooltip-B2RrDbtI.js";
4
+ import { t as _sfc_main$1 } from "./Tooltip-DPiEYfao.js";
5
5
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
6
6
  import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
7
7
  //#region src/Text/TruncationTooltip.vue
@@ -4,8 +4,8 @@ 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-D1adu3uH.js";
8
- import { t as createStillPointerGate } from "./stillPointerGate-BU1CKW7m.js";
7
+ import { t as _sfc_main$3 } from "./Spinner-lLOYfbOY.js";
8
+ import { t as createStillPointerGate } from "./stillPointerGate-DXFzBeMy.js";
9
9
  import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
10
10
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
11
11
  import "../styles/layer.css";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.37.0",
4
+ "version": "0.39.0",
5
5
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
@@ -493,6 +493,10 @@
493
493
  "import": "./dist/locale/index.js"
494
494
  },
495
495
  "./locales/*.json": "./locales/*.json",
496
+ "./palette": {
497
+ "types": "./dist/palette/index.d.ts",
498
+ "import": "./dist/palette/index.js"
499
+ },
496
500
  "./package.json": "./package.json",
497
501
  "./reset.css": {
498
502
  "types": "./css.d.ts",
@@ -0,0 +1,137 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ /*
4
+ * List 拖动重排(createReorderable):行末的手柄、列表的插入线、重排模式提示里的按钮。
5
+ * 标记属性由 List/reorder/reorderMarks.ts 写。
6
+ */
7
+ @layer astryx.components {
8
+ /* 手柄 28px 见方,里面三条 20×2 的横线(::before 加上下两道投影),行距 6px。 */
9
+ .astryx-list-reorder-handle {
10
+ position: relative;
11
+ align-self: center;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ flex-shrink: 0;
16
+ width: 28px;
17
+ height: 28px;
18
+ margin-block: -7px;
19
+ margin-inline-end: calc(-1 * min(8px, var(--astryx-item-inset-inline, 8px)));
20
+ padding: 0;
21
+ border: 0;
22
+ border-radius: 4px;
23
+ background-color: transparent;
24
+ color: var(--astryx-color-icon-secondary, #737373);
25
+ font: inherit;
26
+ cursor: grab;
27
+ }
28
+
29
+ .astryx-list-reorder-handle::before {
30
+ content: '';
31
+ display: block;
32
+ width: 20px;
33
+ height: 2px;
34
+ border-radius: 1px;
35
+ background-color: currentcolor;
36
+ box-shadow: 0 -6px currentcolor, 0 6px currentcolor;
37
+ forced-color-adjust: none;
38
+ pointer-events: none;
39
+ }
40
+
41
+ .astryx-list-reorder-handle:focus-visible {
42
+ outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
43
+ outline-offset: calc(-1 * var(--astryx-focus-outline-width, 2px));
44
+ }
45
+
46
+ .astryx-list-reorder-handle[aria-pressed='true'] {
47
+ background-color: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
48
+ forced-color-adjust: none;
49
+ }
50
+
51
+ .astryx-list-reorder-handle[aria-disabled='true'] {
52
+ color: var(--astryx-color-icon-disabled, #a3a3a3);
53
+ cursor: default;
54
+ }
55
+
56
+ [data-astryx-reordering] .astryx-list-reorder-handle:not([aria-disabled='true']) {
57
+ cursor: grabbing;
58
+ }
59
+
60
+ @media (pointer: coarse) {
61
+ .astryx-list-reorder-handle {
62
+ touch-action: manipulation;
63
+ -webkit-tap-highlight-color: transparent;
64
+ }
65
+ }
66
+
67
+ @media (forced-colors: active) {
68
+ .astryx-list-reorder-handle[aria-pressed='true'] {
69
+ background-color: Highlight;
70
+ color: HighlightText;
71
+ }
72
+ }
73
+
74
+ /* 没有尾部内容的行里,手柄是行自己的最后一个子元素,靠到末端并跟着行的对齐方式。 */
75
+ .astryx-list-reorder-handle[data-row-align] {
76
+ margin-inline-start: auto;
77
+ }
78
+
79
+ .astryx-list-reorder-handle[data-row-align='start'] {
80
+ align-self: flex-start;
81
+ }
82
+
83
+ .astryx-list-reorder-handle[data-row-align='first-line'] {
84
+ align-self: flex-start;
85
+ margin-block-start: calc((var(--astryx-text-body-leading, 1.4286) * var(--astryx-text-body-size, 0.875rem) - 28px) / 2);
86
+ }
87
+
88
+ /* 插入线:列表的 ::after,位置由 --astryx-reorder-line-* 给出,只在拖动和重排模式里显示。 */
89
+ .astryx-list[data-astryx-reorder-line]::after {
90
+ content: '';
91
+ position: absolute;
92
+ top: 0;
93
+ inset-inline-start: var(--astryx-reorder-line-start, 0px);
94
+ inline-size: var(--astryx-reorder-line-size, 0px);
95
+ block-size: 2px;
96
+ border-radius: 1px;
97
+ background-color: var(--astryx-color-accent, #0082fb);
98
+ forced-color-adjust: none;
99
+ translate: 0 var(--astryx-reorder-line-y, 0px);
100
+ pointer-events: none;
101
+ z-index: 2;
102
+ }
103
+
104
+ @media (forced-colors: active) {
105
+ .astryx-list[data-astryx-reorder-line]::after {
106
+ background-color: Highlight;
107
+ }
108
+ }
109
+
110
+ /* 重排模式提示:键盘提示的外观,挂在手柄下方,可以点。 */
111
+ .astryx-list-reorder-hint {
112
+ pointer-events: auto;
113
+ }
114
+
115
+ .astryx-list-reorder-hint__button {
116
+ position: relative;
117
+ display: inline-flex;
118
+ align-items: center;
119
+ justify-content: center;
120
+ margin: 0;
121
+ padding: 0;
122
+ border: 0;
123
+ border-radius: 4px;
124
+ background-color: transparent;
125
+ color: inherit;
126
+ font: inherit;
127
+ cursor: pointer;
128
+ }
129
+
130
+ .astryx-list-reorder-hint__button[data-text] {
131
+ padding-inline: var(--astryx-spacing-1, 4px);
132
+ }
133
+
134
+ .astryx-list-reorder-hint__button:focus-visible {
135
+ outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
136
+ }
137
+ }
@@ -22,6 +22,11 @@
22
22
  animation: astryx-scale-in var(--astryx-duration-fast-max) var(--astryx-ease-standard) both;
23
23
  }
24
24
 
25
+ /* 盖在触发区原位上的弹出层直接出现:它的第一行就是触发区本身,缩放进场会让这一行跳一下。 */
26
+ .astryx-nav-disclosure__panel--overlap {
27
+ animation: none;
28
+ }
29
+
25
30
  .astryx-nav-menu {
26
31
  display: flex;
27
32
  flex-direction: column;