@astryx-vue/core 0.3.0 → 0.4.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 (512) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-0wTvOo3H.js → AppShell-awAKicsc.js} +3 -3
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-pPZ4dI_s.js → Avatar-DXBjJ88C.js} +47 -34
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-kpAeKLNq.js} +57 -13
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-GbGxrqQO.js → Banner-BdvuyzAe.js} +71 -35
  14. package/dist/Blockquote/index.js +1 -1
  15. package/dist/Blockquote-DRoKdcxZ.js +27 -0
  16. package/dist/BottomSheet/index.d.ts +1 -1
  17. package/dist/BottomSheet/index.js +2 -2
  18. package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
  19. package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
  20. package/dist/Breadcrumbs/index.d.ts +2 -2
  21. package/dist/Breadcrumbs/index.js +2 -2
  22. package/dist/Breadcrumbs-D4ZzHEB0.js +223 -0
  23. package/dist/Button/index.d.ts +1 -1
  24. package/dist/Button/index.js +1 -1
  25. package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
  26. package/dist/ButtonGroup/index.d.ts +1 -1
  27. package/dist/ButtonGroup/index.js +1 -1
  28. package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
  29. package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
  30. package/dist/Calendar/index.d.ts +1 -1
  31. package/dist/Calendar/index.js +1 -1
  32. package/dist/{Calendar-B7vIowKq.js → Calendar-CjK-JUDM.js} +5 -5
  33. package/dist/Card/index.d.ts +2 -2
  34. package/dist/Carousel/index.js +1 -1
  35. package/dist/{Carousel-CA8zpD9v.js → Carousel-D262qigj.js} +8 -8
  36. package/dist/Chat/index.d.ts +1 -1
  37. package/dist/Chat/index.js +1 -1
  38. package/dist/{Chat-Bmna9EOA.js → Chat-DD_mlIP3.js} +165 -101
  39. package/dist/CheckboxIndicator/index.js +1 -1
  40. package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
  41. package/dist/CheckboxInput/index.d.ts +1 -1
  42. package/dist/CheckboxInput/index.js +1 -1
  43. package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-D8vTmAMZ.js} +20 -12
  44. package/dist/CheckboxList/index.d.ts +1 -1
  45. package/dist/CheckboxList/index.js +1 -1
  46. package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-DCvHewHB.js} +155 -38
  47. package/dist/Citation/index.js +1 -1
  48. package/dist/{Citation-Djgwa0ko.js → Citation-C69BgxW3.js} +8 -3
  49. package/dist/ClickableCard/index.d.ts +1 -1
  50. package/dist/ClickableCard/index.js +1 -1
  51. package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
  52. package/dist/Code/index.d.ts +1 -1
  53. package/dist/Code/index.js +3 -3
  54. package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
  55. package/dist/{CodeBlock-D0BFubut.js → CodeBlock-DsbwTBiT.js} +8 -8
  56. package/dist/Collapsible/index.d.ts +1 -1
  57. package/dist/Collapsible/index.js +1 -1
  58. package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
  59. package/dist/CommandPalette/index.d.ts +1 -1
  60. package/dist/CommandPalette/index.js +1 -1
  61. package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-CZ7CZglZ.js} +147 -67
  62. package/dist/ComplexSelector/index.d.ts +1 -1
  63. package/dist/ComplexSelector/index.js +1 -1
  64. package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-CIz6DDmY.js} +114 -28
  65. package/dist/ContextMenu/index.d.ts +2 -2
  66. package/dist/ContextMenu/index.js +2 -2
  67. package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-CxoiRh_h.js} +297 -179
  68. package/dist/DateInput/index.d.ts +1 -1
  69. package/dist/DateInput/index.js +1 -1
  70. package/dist/{DateInput-DT518j5E.js → DateInput-C67HCOU-.js} +563 -72
  71. package/dist/DateRangeInput/index.d.ts +1 -1
  72. package/dist/DateRangeInput/index.js +1 -1
  73. package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Dsf5Tyf-.js} +91 -26
  74. package/dist/DateTimeInput/index.d.ts +1 -1
  75. package/dist/DateTimeInput/index.js +1 -1
  76. package/dist/DateTimeInput-tfM1y5nZ.js +562 -0
  77. package/dist/Dialog/index.d.ts +1 -1
  78. package/dist/Dialog/index.js +2 -2
  79. package/dist/{Dialog-BiOSKQso.js → Dialog-DT1GzCrB.js} +28 -11
  80. package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
  81. package/dist/Divider/index.d.ts +1 -1
  82. package/dist/Divider/index.js +1 -1
  83. package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
  84. package/dist/DropdownMenu/index.d.ts +2 -2
  85. package/dist/DropdownMenu/index.js +3 -3
  86. package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-C6wBC18g.js} +84 -56
  87. package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-G-pWSiBk.js} +479 -264
  88. package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
  89. package/dist/EmptyState/index.js +1 -1
  90. package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
  91. package/dist/Field/index.d.ts +4 -3
  92. package/dist/Field/index.js +4 -3
  93. package/dist/{Field-D5gUEGw4.js → Field-JIxT3xCh.js} +5 -4
  94. package/dist/FieldIcon-BFSHZEs_.js +40 -0
  95. package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-BbgLt4ug.js} +4 -4
  96. package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-CHqp1y3z.js} +13 -8
  97. package/dist/FieldStatus/index.d.ts +1 -1
  98. package/dist/FieldStatus/index.js +1 -1
  99. package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-DaAB3TIt.js} +1 -1
  100. package/dist/FileInput/index.d.ts +1 -1
  101. package/dist/FileInput/index.js +1 -1
  102. package/dist/{FileInput-BpdiO1V8.js → FileInput-Bi1uty-F.js} +108 -31
  103. package/dist/FormLayout/index.d.ts +1 -1
  104. package/dist/FormLayout/index.js +1 -1
  105. package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
  106. package/dist/Heading/index.d.ts +1 -1
  107. package/dist/Heading/index.js +1 -1
  108. package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
  109. package/dist/HoverCard/index.js +1 -1
  110. package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
  111. package/dist/Icon/index.d.ts +4 -4
  112. package/dist/Icon/index.js +1 -1
  113. package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
  114. package/dist/IconButton/index.js +1 -1
  115. package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
  116. package/dist/Indicator/index.d.ts +2 -2
  117. package/dist/Indicator/index.js +2 -1
  118. package/dist/InputClearButton-CfSIqc-V.js +40 -0
  119. package/dist/InputGroup/index.d.ts +1 -1
  120. package/dist/InputGroup/index.js +2 -2
  121. package/dist/{InputGroup-CA03Smrs.js → InputGroup-D3F-QnET.js} +2 -2
  122. package/dist/InternationalizationProvider/index.d.ts +1 -1
  123. package/dist/InternationalizationProvider/index.js +1 -1
  124. package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-CVV5QDgp.js} +5 -9
  125. package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
  126. package/dist/Kbd/index.js +1 -1
  127. package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
  128. package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
  129. package/dist/LayerProvider/index.js +1 -1
  130. package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
  131. package/dist/Layout/index.d.ts +1 -1
  132. package/dist/Layout/index.js +2 -2
  133. package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
  134. package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
  135. package/dist/Lightbox/index.js +1 -1
  136. package/dist/{Lightbox-DTF9EdTG.js → Lightbox-CjXhbDPc.js} +14 -12
  137. package/dist/Link/index.js +1 -1
  138. package/dist/{Link-BqHCtiyt.js → Link-ClNkTN1Q.js} +29 -12
  139. package/dist/List/index.d.ts +1 -1
  140. package/dist/List/index.js +2 -2
  141. package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
  142. package/dist/Markdown/index.d.ts +5 -2
  143. package/dist/Markdown/index.js +4 -2
  144. package/dist/Markdown/parser/index.d.ts +4 -0
  145. package/dist/Markdown/parser/index.js +2 -0
  146. package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
  147. package/dist/Markdown/plugin-protocol/index.js +107 -0
  148. package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
  149. package/dist/Markdown/plugin-renderer/index.js +42 -0
  150. package/dist/{Markdown-CvtN7HnF.js → Markdown-EIBrwQrb.js} +195 -524
  151. package/dist/MediaTheme-DlLqYhDy.js +433 -0
  152. package/dist/MetadataList/index.js +1 -1
  153. package/dist/{MetadataList-B-OelQlt.js → MetadataList-DLlSLX1n.js} +15 -7
  154. package/dist/MobileNav/index.js +1 -1
  155. package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-DgJYyzT6.js} +52 -17
  156. package/dist/MoreMenu/index.d.ts +1 -1
  157. package/dist/MoreMenu/index.js +1 -1
  158. package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-C8BEt6-O.js} +74 -61
  159. package/dist/MultiSelector/index.d.ts +1 -1
  160. package/dist/MultiSelector/index.js +1 -1
  161. package/dist/MultiSelector-C7NCAtwW.js +1456 -0
  162. package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
  163. package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-DQXisuaX.js} +29 -26
  164. package/dist/NavItem/index.d.ts +1 -1
  165. package/dist/NavItem/index.js +2 -2
  166. package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
  167. package/dist/NavMenu/index.d.ts +1 -1
  168. package/dist/NavMenu/index.js +3 -3
  169. package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
  170. package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
  171. package/dist/NumberInput/index.d.ts +1 -1
  172. package/dist/NumberInput/index.js +1 -1
  173. package/dist/NumberInput-3u3NZWnv.js +727 -0
  174. package/dist/Outline/index.d.ts +2 -2
  175. package/dist/Outline/index.js +2 -2
  176. package/dist/{Outline-755h-lMP.js → Outline-8szj9eXu.js} +91 -6
  177. package/dist/OverflowList/index.d.ts +2 -2
  178. package/dist/OverflowList/index.js +1 -1
  179. package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BizpEwH8.js} +23 -6
  180. package/dist/Pagination/index.d.ts +1 -1
  181. package/dist/Pagination/index.js +1 -1
  182. package/dist/{Pagination-DqwNQFRp.js → Pagination-Cihr1CjD.js} +2 -2
  183. package/dist/PickerWheel-CSwUYfes.js +69 -0
  184. package/dist/Popover/index.d.ts +1 -1
  185. package/dist/Popover/index.js +1 -1
  186. package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
  187. package/dist/PowerSearch/index.d.ts +1 -1
  188. package/dist/PowerSearch/index.js +1 -1
  189. package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BHx91ypY.js} +778 -590
  190. package/dist/ProgressBar/index.d.ts +1 -1
  191. package/dist/ProgressBar/index.js +1 -1
  192. package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
  193. package/dist/Radio/index.d.ts +1 -1
  194. package/dist/Radio/index.js +1 -1
  195. package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-DeSIRrgt.js} +94 -26
  196. package/dist/RadioList/index.d.ts +1 -1
  197. package/dist/RadioList/index.js +1 -1
  198. package/dist/{RadioList-xY1cwLdZ.js → RadioList-Co2lmetC.js} +57 -8
  199. package/dist/Resizable/index.d.ts +1 -1
  200. package/dist/Resizable/index.js +1 -1
  201. package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-DjLZ2pcq.js} +103 -50
  202. package/dist/ScrollableArea/index.d.ts +1 -1
  203. package/dist/ScrollableArea/index.js +1 -1
  204. package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
  205. package/dist/SegmentedControl/index.d.ts +1 -1
  206. package/dist/SegmentedControl/index.js +1 -1
  207. package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
  208. package/dist/SelectableCard/index.d.ts +1 -1
  209. package/dist/SelectableCard/index.js +1 -1
  210. package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
  211. package/dist/Selector/index.d.ts +1 -1
  212. package/dist/Selector/index.js +1 -1
  213. package/dist/Selector-swa3RNQI.js +1049 -0
  214. package/dist/SideNav/index.d.ts +1 -1
  215. package/dist/SideNav/index.js +1 -1
  216. package/dist/{SideNav-BF8mYDxl.js → SideNav-BH6XKsW2.js} +56 -42
  217. package/dist/Slider/index.d.ts +1 -1
  218. package/dist/Slider/index.js +1 -1
  219. package/dist/{Slider-DWobsPgm.js → Slider-DG2YXll8.js} +172 -46
  220. package/dist/Spinner/index.js +1 -1
  221. package/dist/Spinner-BY8iQz--.js +200 -0
  222. package/dist/Stack/index.js +2 -2
  223. package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
  224. package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
  225. package/dist/StatusDot/index.d.ts +1 -1
  226. package/dist/StatusDot/index.js +1 -1
  227. package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
  228. package/dist/Stepper/index.d.ts +1 -1
  229. package/dist/Stepper/index.js +1 -1
  230. package/dist/{Stepper-CE8dHysu.js → Stepper-FtkTq5qR.js} +127 -113
  231. package/dist/Switch/index.d.ts +1 -1
  232. package/dist/Switch/index.js +1 -1
  233. package/dist/{Switch-DaVPRxvN.js → Switch-0JKvJluV.js} +38 -22
  234. package/dist/TabList/index.d.ts +2 -2
  235. package/dist/TabList/index.js +1 -1
  236. package/dist/{TabList-DIkK9sgK.js → TabList-cpjvnbhx.js} +205 -63
  237. package/dist/Table/index.d.ts +3 -3
  238. package/dist/Table/index.js +1 -1
  239. package/dist/{Table-fecqnm7P.js → Table-fWs_ZQBF.js} +735 -461
  240. package/dist/Text/index.d.ts +1 -1
  241. package/dist/Text/index.js +1 -1
  242. package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
  243. package/dist/TextArea/index.d.ts +1 -1
  244. package/dist/TextArea/index.js +1 -1
  245. package/dist/{TextArea-Ab5Sw60T.js → TextArea-CwSfEjT1.js} +110 -50
  246. package/dist/TextInput/index.d.ts +1 -1
  247. package/dist/TextInput/index.js +1 -1
  248. package/dist/{TextInput-zFT1_qgI.js → TextInput-CavITage.js} +71 -38
  249. package/dist/Theme/index.d.ts +3 -3
  250. package/dist/Theme/index.js +3 -2
  251. package/dist/Theme-BbDT8B_C.js +2125 -0
  252. package/dist/Thumbnail/index.js +1 -1
  253. package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-DpJnaNbg.js} +17 -14
  254. package/dist/{TimeField-CoHDGmsP.js → TimeField-DefNjDIT.js} +297 -40
  255. package/dist/TimeInput/index.d.ts +1 -1
  256. package/dist/TimeInput/index.js +1 -1
  257. package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-j5vzN8MG.js} +78 -9
  258. package/dist/Timer/index.js +1 -1
  259. package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
  260. package/dist/Timestamp/index.d.ts +1 -1
  261. package/dist/Timestamp/index.js +1 -1
  262. package/dist/{Timestamp-xpQKCk0d.js → Timestamp-dtT4yADD.js} +9 -9
  263. package/dist/Toast/index.d.ts +1 -1
  264. package/dist/Toast/index.js +1 -1
  265. package/dist/Toast-igtJYSw0.js +685 -0
  266. package/dist/ToggleButton/index.d.ts +1 -1
  267. package/dist/ToggleButton/index.js +1 -1
  268. package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
  269. package/dist/Token/index.d.ts +1 -1
  270. package/dist/Token/index.js +1 -1
  271. package/dist/{Token-DsntTYhQ.js → Token-DhsAtAH6.js} +32 -17
  272. package/dist/Tokenizer/index.d.ts +1 -1
  273. package/dist/Tokenizer/index.js +1 -1
  274. package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-BGdj78UK.js} +107 -23
  275. package/dist/Toolbar/index.d.ts +2 -2
  276. package/dist/Toolbar/index.js +1 -1
  277. package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
  278. package/dist/Tooltip/index.d.ts +1 -1
  279. package/dist/Tooltip/index.js +1 -1
  280. package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
  281. package/dist/TopNav/index.d.ts +1 -1
  282. package/dist/TopNav/index.js +1 -1
  283. package/dist/{TopNav-Ciq0l1w7.js → TopNav-Dw0m387B.js} +23 -22
  284. package/dist/TreeList/index.d.ts +1 -1
  285. package/dist/TreeList/index.js +1 -1
  286. package/dist/{TreeList-BUz-KZJd.js → TreeList-Bunn7u3T.js} +129 -46
  287. package/dist/Typeahead/index.d.ts +1 -1
  288. package/dist/Typeahead/index.js +2 -2
  289. package/dist/{Typeahead-JP9RT87x.js → Typeahead-DRyf2HEh.js} +123 -26
  290. package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BY5__sPC.js} +141 -51
  291. package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
  292. package/dist/characters-rcDbGt71.d.ts +29 -0
  293. package/dist/characters-wTnzjkkR.js +58 -0
  294. package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
  295. package/dist/composables/index.d.ts +5 -4
  296. package/dist/composables/index.js +23 -18
  297. package/dist/{composables-CbKx9C1Y.js → composables-CnsDaMuU.js} +167 -197
  298. package/dist/context-B6UElI5X.js +5 -0
  299. package/dist/context-CM-cjGg_.js +1425 -0
  300. package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
  301. package/dist/context-IvbU9c3T.js +8 -0
  302. package/dist/context-pjBxaMSh.js +28 -0
  303. package/dist/fieldParts--SyRZVQG.js +44 -0
  304. package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
  305. package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
  306. package/dist/hoverIntent-DMHGb85c.js +115 -0
  307. package/dist/{index-ClNU2Th8.d.ts → index-3t5RAfNP.d.ts} +6 -2
  308. package/dist/{index-B9e52paP.d.ts → index-5LVG3QyV.d.ts} +1 -1
  309. package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
  310. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  311. package/dist/{index-Cn-sSds-.d.ts → index-B1t1oQWH.d.ts} +24 -1
  312. package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
  313. package/dist/{index-yT1yiiww.d.ts → index-BI6jikpA.d.ts} +23 -11
  314. package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
  315. package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
  316. package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
  317. package/dist/{index-Bu8NA2SD.d.ts → index-BaxM-pFP.d.ts} +12 -3
  318. package/dist/{index-BVKivP59.d.ts → index-Bgk1Rj2A.d.ts} +32 -3
  319. package/dist/index-BkUkm6Al.d.ts +11 -0
  320. package/dist/index-Bo-ofFyg.d.ts +166 -0
  321. package/dist/{index-B1WJxt-n.d.ts → index-C-tFz2Yx.d.ts} +17 -7
  322. package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
  323. package/dist/{index-CqE4Bf3Q.d.ts → index-C732aNMY.d.ts} +18 -4
  324. package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
  325. package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
  326. package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
  327. package/dist/index-CKUfpmFL.d.ts +375 -0
  328. package/dist/{index-CL1T2j4y.d.ts → index-CL8JvxHW.d.ts} +3 -3
  329. package/dist/{index-IBAInumL.d.ts → index-CMme-xmL.d.ts} +19 -6
  330. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  331. package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
  332. package/dist/{index-B42oE_F-.d.ts → index-CT5OEUxd.d.ts} +17 -4
  333. package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
  334. package/dist/{index-Cde5JvtX.d.ts → index-CUVmtB5-.d.ts} +13 -6
  335. package/dist/{index-DXpSFlPG.d.ts → index-CWaSYtk9.d.ts} +4 -4
  336. package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
  337. package/dist/{index-Cyb9Du5Z.d.ts → index-CfR2Z0uG.d.ts} +1 -1
  338. package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
  339. package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
  340. package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
  341. package/dist/{index-i0tNFWfz.d.ts → index-D8lv2BiD.d.ts} +3 -1
  342. package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
  343. package/dist/{index-0QGtSf3r.d.ts → index-DFLPv9io.d.ts} +4 -3
  344. package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
  345. package/dist/{index-D41_xqjs.d.ts → index-DTuhnqHb.d.ts} +16 -9
  346. package/dist/{index-B3Fomy15.d.ts → index-DbiZvj1P.d.ts} +4 -4
  347. package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
  348. package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
  349. package/dist/{index-BhpAUzUr.d.ts → index-Dy746dfn.d.ts} +1 -1
  350. package/dist/{index-GI9xIV9l.d.ts → index-JL4auphT.d.ts} +2 -2
  351. package/dist/{index-DVmgNb78.d.ts → index-TA1zVibb.d.ts} +4 -4
  352. package/dist/{index-DUaLJO7l.d.ts → index-UA93Im7H.d.ts} +155 -109
  353. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  354. package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
  355. package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
  356. package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
  357. package/dist/{index-B4OOtNP8.d.ts → index-pYh4gqgl.d.ts} +1 -1
  358. package/dist/index.d.ts +81 -75
  359. package/dist/index.js +150 -136
  360. package/dist/inlineSize-BNe8wggI.js +66 -0
  361. package/dist/inputPresentation-BOyHkCDr.js +62 -0
  362. package/dist/interactionModality-ACpTMhak.js +44 -0
  363. package/dist/isApplePlatform-B1ju6F5B.js +27 -0
  364. package/dist/isRenderable-BnKHIqfd.js +21 -0
  365. package/dist/layerDepth-CNDh-IHb.js +181 -0
  366. package/dist/link-DuuA2eCL.js +30 -0
  367. package/dist/loadCatalog-CsZFr9dg.js +424 -0
  368. package/dist/loadCatalog-opk5hs94.d.ts +803 -0
  369. package/dist/locale/index.d.ts +2 -2
  370. package/dist/locale/index.js +4 -3
  371. package/dist/locale-D1Z3K290.js +343 -0
  372. package/dist/modalOutlet-CUOcrhIu.js +56 -0
  373. package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
  374. package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
  375. package/dist/protocol-DHxY0NI8.js +113 -0
  376. package/dist/protocol-DwUmpC5G.d.ts +240 -0
  377. package/dist/publicParser-B6XMcsB2.d.ts +141 -0
  378. package/dist/publicParser-DWUMCx7j.js +1437 -0
  379. package/dist/resizableChannel-3vivrEcT.js +20 -0
  380. package/dist/safeUrl-CsvfcZ9m.js +54 -0
  381. package/dist/scopedProvide-C-Df7c15.js +30 -0
  382. package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
  383. package/dist/scrollLock-C3aT4-0z.js +102 -0
  384. package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-DtyScdZs.js} +5 -14
  385. package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
  386. package/dist/slug-DAK6hdbr.js +17 -0
  387. package/dist/syntaxContext-DmIfNNtb.js +4 -0
  388. package/dist/triggerVariant-BsL8jMHs.js +16 -0
  389. package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
  390. package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
  391. package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
  392. package/dist/upstreamMap-ocuIRfI2.js +893 -0
  393. package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
  394. package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
  395. package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
  396. package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
  397. package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
  398. package/dist/{useIndicator-i1NORM7W.js → useIndicator-D9Y0dJsm.js} +5 -23
  399. package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
  400. package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-CWkCeMyX.js} +2 -2
  401. package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
  402. package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
  403. package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
  404. package/dist/useMenuHover-Djreu23i.js +170 -0
  405. package/dist/useMenuPress-8foxY8z4.js +764 -0
  406. package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
  407. package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
  408. package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
  409. package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
  410. package/dist/usePressFeedback-BJCpjEpv.js +319 -0
  411. package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
  412. package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
  413. package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
  414. package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
  415. package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
  416. package/dist/useScrollableArea-BE8b3qm7.js +222 -0
  417. package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
  418. package/dist/useTranslator-PEXMxDpv.js +35 -0
  419. package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
  420. package/dist/utils/index.d.ts +3 -0
  421. package/dist/utils/index.js +5 -0
  422. package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
  423. package/dist/utils-z3Q6BGIJ.js +819 -0
  424. package/locales/SOURCE.json +1 -1
  425. package/package.json +18 -2
  426. package/reset.css +364 -1
  427. package/styles/avatar-group.css +9 -1
  428. package/styles/badge.css +8 -5
  429. package/styles/banner.css +125 -26
  430. package/styles/blockquote.css +1 -0
  431. package/styles/bordered-control.css +1 -1
  432. package/styles/bottom-sheet.css +74 -6
  433. package/styles/breadcrumbs.css +16 -2
  434. package/styles/button-group.css +3 -1
  435. package/styles/button.css +53 -11
  436. package/styles/card.css +1 -1
  437. package/styles/chat.css +16 -6
  438. package/styles/checkbox-input.css +10 -0
  439. package/styles/clickable-card.css +10 -3
  440. package/styles/collapsible.css +12 -5
  441. package/styles/command-palette.css +29 -14
  442. package/styles/complex-selector.css +24 -5
  443. package/styles/context-menu.css +3 -3
  444. package/styles/date-input.css +111 -1
  445. package/styles/dialog-header.css +4 -1
  446. package/styles/dialog.css +7 -0
  447. package/styles/dropdown-menu.css +12 -3
  448. package/styles/field.css +5 -0
  449. package/styles/form-layout.css +1 -0
  450. package/styles/heading.css +18 -8
  451. package/styles/icon.css +9 -9
  452. package/styles/kbd.css +1 -1
  453. package/styles/layer.css +72 -0
  454. package/styles/list.css +9 -2
  455. package/styles/metadata-list.css +1 -0
  456. package/styles/mobile-nav.css +4 -1
  457. package/styles/multi-selector.css +48 -1
  458. package/styles/nav-item.css +9 -2
  459. package/styles/nav-menu.css +12 -2
  460. package/styles/number-input.css +9 -1
  461. package/styles/overflow-list.css +1 -1
  462. package/styles/popover.css +2 -1
  463. package/styles/power-search.css +5 -3
  464. package/styles/pressable.css +63 -22
  465. package/styles/progress-bar.css +15 -3
  466. package/styles/radio.css +16 -0
  467. package/styles/resize-handle.css +42 -0
  468. package/styles/segmented-control.css +12 -4
  469. package/styles/selector.css +53 -1
  470. package/styles/side-nav.css +19 -0
  471. package/styles/slider.css +4 -3
  472. package/styles/spinner.css +48 -42
  473. package/styles/stepper.css +58 -4
  474. package/styles/switch.css +26 -0
  475. package/styles/tab-list.css +132 -3
  476. package/styles/table.css +88 -11
  477. package/styles/text-area.css +7 -1
  478. package/styles/text-input.css +1 -1
  479. package/styles/text.css +6 -6
  480. package/styles/thumbnail.css +11 -3
  481. package/styles/time-input.css +8 -0
  482. package/styles/toast.css +37 -3
  483. package/styles/token.css +2 -2
  484. package/styles/tokenizer.css +1 -1
  485. package/styles/toolbar.css +4 -1
  486. package/styles/tree-list.css +1 -1
  487. package/styles/typeahead.css +34 -1
  488. package/styles.css +1 -0
  489. package/dist/Blockquote-DFqBv_oJ.js +0 -18
  490. package/dist/Breadcrumbs-DIm4figq.js +0 -141
  491. package/dist/ButtonGroup-ySQWanDP.js +0 -125
  492. package/dist/DateTimeInput-A7m2O3bg.js +0 -268
  493. package/dist/FieldIcon--NTgW5IU.js +0 -44
  494. package/dist/MultiSelector-BtAUfQ3t.js +0 -990
  495. package/dist/NumberInput-AZ9x3oja.js +0 -473
  496. package/dist/Selector-DJ2BhUTV.js +0 -677
  497. package/dist/Spinner-9cYUCnDy.js +0 -84
  498. package/dist/Theme-CtaUWo4g.js +0 -1246
  499. package/dist/Toast-BuqIZV5z.js +0 -322
  500. package/dist/context-4PuqD1Ic.js +0 -4
  501. package/dist/context-D5-MwxnN.js +0 -4
  502. package/dist/context-iABt_ueM.js +0 -976
  503. package/dist/index-BH9PzQ1F.d.ts +0 -87
  504. package/dist/link-C4_WogdF.js +0 -18
  505. package/dist/loadCatalog-BGHKG_9N.d.ts +0 -457
  506. package/dist/loadCatalog-CXKqEB9s.js +0 -877
  507. package/dist/locale-DgkZEMTn.js +0 -105
  508. package/dist/platform-B_9W_aHW.js +0 -33
  509. package/dist/scrollLock-BzIvIimL.js +0 -42
  510. package/dist/useMenuPress-D-FRNrBW.js +0 -573
  511. package/dist/useScrollableArea-DDk_CluT.js +0 -172
  512. /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
@@ -22,7 +22,7 @@
22
22
  width: 100%;
23
23
  min-width: 180px;
24
24
  height: var(--astryx-input-height-md, 32px);
25
- padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
25
+ padding: var(--astryx-input-padding-block, var(--astryx-spacing-1, 4px)) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
26
26
  border: var(--astryx-border-width, 1px) solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
27
27
  border-radius: var(--astryx-radius-element, 0.625rem);
28
28
  background: var(--astryx-input-background, #fff);
@@ -171,6 +171,116 @@
171
171
  transition: none;
172
172
  }
173
173
  }
174
+
175
+ @media (pointer: coarse) {
176
+ @supports (-webkit-touch-callout: none) {
177
+ .astryx-date-input-field {
178
+ font-size: max(1rem, var(--astryx-text-body-size, 14px));
179
+ }
180
+ }
181
+ }
182
+
183
+ .astryx-date-touch,
184
+ .astryx-time-touch,
185
+ .astryx-date-time-touch-time {
186
+ display: flex;
187
+ flex-direction: column;
188
+ gap: var(--astryx-spacing-3, 12px);
189
+ padding: var(--astryx-spacing-3, 12px);
190
+ }
191
+
192
+ .astryx-date-touch-header,
193
+ .astryx-date-touch-nav,
194
+ .astryx-date-time-touch-tabs {
195
+ display: flex;
196
+ align-items: center;
197
+ gap: var(--astryx-spacing-2, 8px);
198
+ }
199
+
200
+ .astryx-date-touch-header {
201
+ justify-content: space-between;
202
+ }
203
+
204
+ .astryx-date-touch-title,
205
+ .astryx-date-touch-reset,
206
+ .astryx-date-touch-arrow,
207
+ .astryx-date-touch-save,
208
+ .astryx-date-touch-segment,
209
+ .astryx-date-time-touch-tabs > button,
210
+ .astryx-picker-wheel-option {
211
+ border: 0;
212
+ background: transparent;
213
+ color: inherit;
214
+ font: inherit;
215
+ cursor: pointer;
216
+ }
217
+
218
+ .astryx-date-touch-title,
219
+ .astryx-date-time-touch-tabs > button[aria-selected='true'] {
220
+ font-weight: var(--astryx-font-weight-semibold, 600);
221
+ }
222
+
223
+ .astryx-date-touch-arrow,
224
+ .astryx-date-touch-reset,
225
+ .astryx-date-touch-save,
226
+ .astryx-date-touch-segment,
227
+ .astryx-picker-wheel-option {
228
+ min-height: var(--astryx-size-touch-target, 44px);
229
+ }
230
+
231
+ .astryx-date-touch-save:disabled,
232
+ .astryx-date-touch-segment:disabled,
233
+ .astryx-picker-wheel-option:disabled {
234
+ cursor: default;
235
+ }
236
+
237
+ .astryx-date-touch-wheels,
238
+ .astryx-time-wheels {
239
+ display: grid;
240
+ grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
241
+ gap: var(--astryx-spacing-2, 8px);
242
+ }
243
+
244
+ .astryx-picker-wheel {
245
+ display: flex;
246
+ flex-direction: column;
247
+ max-height: 14rem;
248
+ overflow: auto;
249
+ border: var(--astryx-border-width, 1px) solid var(--astryx-color-border, #e5e5e5);
250
+ border-radius: var(--astryx-radius-element, 0.625rem);
251
+ }
252
+
253
+ .astryx-picker-wheel-option[aria-selected='true'] {
254
+ background: var(--astryx-color-background-selected, #eef2ff);
255
+ }
256
+
257
+ .astryx-date-touch-save {
258
+ width: 100%;
259
+ border-radius: var(--astryx-radius-element, 0.625rem);
260
+ background: var(--astryx-color-background-neutral-bold, #171717);
261
+ color: var(--astryx-color-text-on-neutral-bold, #fff);
262
+ }
263
+
264
+ .astryx-date-touch-segment {
265
+ display: flex;
266
+ align-items: center;
267
+ gap: var(--astryx-spacing-2, 8px);
268
+ width: 100%;
269
+ min-width: 0;
270
+ padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
271
+ border: var(--astryx-border-width, 1px) solid var(--astryx-input-border, #d4d4d4);
272
+ border-radius: var(--astryx-radius-element, 0.625rem);
273
+ background: var(--astryx-input-background, #fff);
274
+ text-align: start;
275
+ }
276
+
277
+ .astryx-date-touch-segment [data-placeholder] {
278
+ color: var(--astryx-color-text-secondary, #525252);
279
+ }
280
+
281
+ .astryx-date-time-touch-tabs {
282
+ padding: var(--astryx-spacing-3, 12px) var(--astryx-spacing-3, 12px) 0;
283
+ }
174
284
  }
175
285
 
176
286
  /* Unlayered: a page-level :focus-visible ring must not draw a second box
@@ -47,8 +47,11 @@
47
47
  }
48
48
 
49
49
  /* 关闭按钮的视觉内边距由按钮自身承担,此处抵消以对齐边缘 */
50
- .astryx-dialog-header__actions--compensated {
50
+ .astryx-dialog-header__actions--compensate-block {
51
51
  margin-block: calc(-1 * var(--astryx-spacing-2, 8px));
52
+ }
53
+
54
+ .astryx-dialog-header__actions--compensate-inline {
52
55
  margin-inline-end: calc(-1 * var(--astryx-spacing-2, 8px));
53
56
  }
54
57
  }
package/styles/dialog.css CHANGED
@@ -85,6 +85,13 @@
85
85
  padding-inline-end: max(var(--astryx-spacing-4, 1rem), env(safe-area-inset-right, 0px));
86
86
  }
87
87
 
88
+ /*
89
+ * 浮层挂载点。它自己不占地方,里面的浮层都是 fixed 定位,不参与对话框的排版。
90
+ */
91
+ .astryx-dialog__layer-host {
92
+ display: contents;
93
+ }
94
+
88
95
  @media (prefers-reduced-motion: reduce) {
89
96
  .astryx-dialog[open] {
90
97
  animation: none;
@@ -64,15 +64,23 @@
64
64
  font-family: var(--astryx-font-family-body, Figtree, sans-serif);
65
65
  font-size: var(--astryx-text-body-size, 0.875rem);
66
66
  line-height: var(--astryx-text-body-leading, 1.4286);
67
- /* A held pointer drives the highlight; the browser's own press and preview
68
- affordances must not compete with it. */
69
- touch-action: pan-y;
67
+ /* A menu that fits keeps the pinch gesture. Scrolling is opted in below. */
68
+ touch-action: pinch-zoom;
70
69
  user-select: none;
71
70
  -webkit-touch-callout: none;
72
71
  /* The surface is an internal focus target for pointer opens, not a control. */
73
72
  outline: none;
74
73
  }
75
74
 
75
+ .astryx-dropdown-menu[data-overflow='true'] {
76
+ touch-action: pan-y pinch-zoom;
77
+ }
78
+
79
+ /* A pointer close returns focus without painting the button's focus ring. */
80
+ .astryx-button[data-astryx-focus-ring='off']:focus-visible {
81
+ outline: none;
82
+ }
83
+
76
84
  .astryx-dropdown-menu-enter-active,
77
85
  .astryx-dropdown-menu-leave-active {
78
86
  transition:
@@ -269,6 +277,7 @@
269
277
  gap: var(--astryx-spacing-0-5, 2px);
270
278
  min-width: 0;
271
279
  outline: none;
280
+ touch-action: pinch-zoom;
272
281
  }
273
282
 
274
283
  .astryx-dropdown-menu-drill[hidden] {
package/styles/field.css CHANGED
@@ -190,6 +190,7 @@
190
190
 
191
191
  .astryx-field .astryx-field-info-tip,
192
192
  .astryx-field .astryx-input-clear-button {
193
+ position: relative;
193
194
  flex: none;
194
195
  width: 20px;
195
196
  height: 20px;
@@ -244,6 +245,10 @@
244
245
  outline-offset: 1px;
245
246
  }
246
247
 
248
+ .astryx-input-clear-button {
249
+ position: relative;
250
+ }
251
+
247
252
  @media (pointer: coarse) {
248
253
  .astryx-field-info-tip::after,
249
254
  .astryx-input-clear-button::after {
@@ -25,6 +25,7 @@
25
25
  .astryx-form-layout[data-direction='horizontal-labels'] {
26
26
  display: flex;
27
27
  flex-direction: column;
28
+ align-items: stretch;
28
29
  gap: var(--astryx-spacing-4, 16px);
29
30
  }
30
31
  }
@@ -39,46 +39,56 @@
39
39
 
40
40
  .astryx-heading--level-1 {
41
41
  font-size: var(--astryx-heading-level-1-size, 2rem);
42
+ font-weight: var(--astryx-text-heading-1-weight, 600);
43
+ line-height: var(--astryx-text-heading-1-leading, var(--astryx-heading-leading, 1.25));
42
44
  }
43
45
 
44
46
  .astryx-heading--level-2 {
45
47
  font-size: var(--astryx-heading-level-2-size, 1.75rem);
48
+ font-weight: var(--astryx-text-heading-2-weight, 600);
49
+ line-height: var(--astryx-text-heading-2-leading, var(--astryx-heading-leading, 1.25));
46
50
  }
47
51
 
48
52
  .astryx-heading--level-3 {
49
53
  font-size: var(--astryx-heading-level-3-size, 1.5rem);
54
+ font-weight: var(--astryx-text-heading-3-weight, 600);
55
+ line-height: var(--astryx-text-heading-3-leading, var(--astryx-heading-leading, 1.25));
50
56
  }
51
57
 
52
58
  .astryx-heading--level-4 {
53
59
  font-size: var(--astryx-heading-level-4-size, 0.875rem);
54
- font-weight: var(--astryx-font-weight-bold, 700);
55
- line-height: var(--astryx-text-heading-4-leading, 1.4286);
60
+ font-weight: var(--astryx-text-heading-4-weight, 700);
61
+ line-height: var(--astryx-text-heading-4-leading, var(--astryx-heading-leading, 1.25));
56
62
  }
57
63
 
58
64
  .astryx-heading--level-5 {
59
65
  font-size: var(--astryx-heading-level-5-size, 1.125rem);
66
+ font-weight: var(--astryx-text-heading-5-weight, 600);
67
+ line-height: var(--astryx-text-heading-5-leading, var(--astryx-heading-leading, 1.25));
60
68
  }
61
69
 
62
70
  .astryx-heading--level-6 {
63
71
  font-size: var(--astryx-heading-level-6-size, 1rem);
72
+ font-weight: var(--astryx-text-heading-6-weight, 600);
73
+ line-height: var(--astryx-text-heading-6-leading, var(--astryx-heading-leading, 1.25));
64
74
  }
65
75
 
66
76
  .astryx-heading--type-display-1 {
67
77
  font-size: var(--astryx-heading-display-1-size, 3rem);
68
- font-weight: var(--astryx-heading-display-weight, 300);
69
- line-height: 1.1;
78
+ font-weight: var(--astryx-heading-display-weight, var(--astryx-text-display-1-weight, 300));
79
+ line-height: var(--astryx-text-display-1-leading, 1.1);
70
80
  }
71
81
 
72
82
  .astryx-heading--type-display-2 {
73
83
  font-size: var(--astryx-heading-display-2-size, 2.25rem);
74
- font-weight: var(--astryx-heading-display-weight, 300);
75
- line-height: 1.15;
84
+ font-weight: var(--astryx-heading-display-weight, var(--astryx-text-display-2-weight, 300));
85
+ line-height: var(--astryx-text-display-2-leading, 1.15);
76
86
  }
77
87
 
78
88
  .astryx-heading--type-display-3 {
79
89
  font-size: var(--astryx-heading-display-3-size, 1.75rem);
80
- font-weight: var(--astryx-heading-display-weight, 300);
81
- line-height: 1.2;
90
+ font-weight: var(--astryx-heading-display-weight, var(--astryx-text-display-3-weight, 300));
91
+ line-height: var(--astryx-text-display-3-leading, 1.2);
82
92
  }
83
93
 
84
94
  .astryx-heading--type-body {
package/styles/icon.css CHANGED
@@ -227,7 +227,7 @@
227
227
  }
228
228
  /* stop */
229
229
  .astryx-icon--stop {
230
- --astryx-icon-artwork: var(--astryx-icon-stop, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E"));
230
+ --astryx-icon-artwork: var(--astryx-icon-stop, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Crect x=%276%27 y=%276%27 width=%2712%27 height=%2712%27 rx=%272%27/%3E%3C/svg%3E"));
231
231
  }
232
232
  /* microphone */
233
233
  .astryx-icon--microphone {
@@ -235,15 +235,15 @@
235
235
  }
236
236
  /* warning */
237
237
  .astryx-icon--warning {
238
- --astryx-icon-artwork: var(--astryx-icon-warning, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"));
238
+ --astryx-icon-artwork: var(--astryx-icon-warning, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M10.29 3.86L2.07 19.05A2 2 0 003.78 22h16.44a2 2 0 001.71-2.95L13.71 3.86a2 2 0 00-3.42 0zM12 9a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0112 9zm0 9a1 1 0 100-2 1 1 0 000 2z%27/%3E%3C/svg%3E"));
239
239
  }
240
240
  /* error */
241
241
  .astryx-icon--error {
242
- --astryx-icon-artwork: var(--astryx-icon-error, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3C/svg%3E"));
242
+ --astryx-icon-artwork: var(--astryx-icon-error, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm-2.47 5.47a.75.75 0 00-1.06 1.06L10.94 12l-2.47 2.47a.75.75 0 101.06 1.06L12 13.06l2.47 2.47a.75.75 0 101.06-1.06L13.06 12l2.47-2.47a.75.75 0 00-1.06-1.06L12 10.94l-2.47-2.47z%27/%3E%3C/svg%3E"));
243
243
  }
244
244
  /* success */
245
245
  .astryx-icon--success {
246
- --astryx-icon-artwork: var(--astryx-icon-success, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E"));
246
+ --astryx-icon-artwork: var(--astryx-icon-success, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm4.06 6.56a.75.75 0 00-1.12-1l-3.94 4.4-1.94-1.94a.75.75 0 00-1.06 1.06l2.5 2.5a.75.75 0 001.09-.03l4.47-5z%27/%3E%3C/svg%3E"));
247
247
  }
248
248
  /* chevronsLeft */
249
249
  .astryx-icon--chevrons-left {
@@ -253,13 +253,9 @@
253
253
  .astryx-icon--chevrons-right {
254
254
  --astryx-icon-artwork: var(--astryx-icon-chevrons-right, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 6l6 6-6 6M13 6l6 6-6 6%27/%3E%3C/svg%3E"));
255
255
  }
256
- /* success */
257
- .astryx-icon--success {
258
- --astryx-icon-artwork: var(--astryx-icon-success, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm3.53 6.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0l-2-2a.75.75 0 111.06-1.06l1.47 1.47 3.72-3.72a.75.75 0 011.06 0z%27/%3E%3C/svg%3E"));
259
- }
260
256
  /* info */
261
257
  .astryx-icon--info {
262
- --astryx-icon-artwork: var(--astryx-icon-info, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z%27/%3E%3C/svg%3E"));
258
+ --astryx-icon-artwork: var(--astryx-icon-info, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27black%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z%27/%3E%3C/svg%3E"));
263
259
  }
264
260
  /* externalLink */
265
261
  .astryx-icon--external-link {
@@ -289,5 +285,9 @@
289
285
  .astryx-icon--wrench {
290
286
  --astryx-icon-artwork: var(--astryx-icon-wrench, url("data:image/svg+xml;utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14.7 6.3a4.5 4.5 0 01-6.2 6.2L4 17l3 3 4.5-4.5a4.5 4.5 0 016.2-6.2l-2.2 2.2-2-2 2.2-2.2z%27/%3E%3C/svg%3E"));
291
287
  }
288
+ /* numberInput:stepperDown */
289
+ .astryx-icon--number-input-stepper-down {
290
+ --astryx-icon-artwork: var(--astryx-icon-number-input-stepper-down, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 9.75l4.5 4.5 4.5-4.5' /%3E%3C/svg%3E"));
291
+ }
292
292
  /* ARTWORK: generated end */
293
293
  }
package/styles/kbd.css CHANGED
@@ -19,7 +19,7 @@
19
19
  padding-inline: var(--astryx-spacing-1, 4px);
20
20
  border-bottom: 2px solid var(--astryx-kbd-border-color, var(--astryx-color-border-emphasized, #d4d4d4));
21
21
  border-radius: var(--astryx-radius-inner, 0.375rem);
22
- color: var(--astryx-kbd-foreground, var(--astryx-color-text-secondary, #525252));
22
+ color: var(--astryx-kbd-foreground, var(--astryx-color-text-primary, #171717));
23
23
  background-color: var(--astryx-kbd-background, #e5e5e5);
24
24
  font-family: var(--astryx-font-family-body, Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
25
25
  font-size: var(--astryx-text-supporting-size, 0.75rem);
@@ -0,0 +1,72 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.components {
4
+ /*
5
+ * 浮层根元素的公共重置。上游规范 AST-038 和 AST-059。
6
+ *
7
+ * 浮层被 Teleport 到页面别处(通常是 body,Dialog 打开时是 Dialog 里面),
8
+ * 但 CSS 继承跟的是 DOM 树,不跟视觉位置。所以浮层会继承触发器所在位置的
9
+ * 排版:在一个加粗的大标题里打开 Tooltip,Tooltip 的字也是粗的、大的、居中的。
10
+ * 这里把文字排版重新声明成正文的基准,浮层里的内容不再跟着外面走。
11
+ *
12
+ * 选择器用 `:where()` 包起来,优先级是 0:组件自己的字号、颜色、行高照旧生效,
13
+ * 这条只负责切断「外面传进来」的那部分。
14
+ *
15
+ * `.astryx-layer` 是给自定义浮层根元素用的名字,组件自己的浮层类名也列进来了,
16
+ * 这样已经存在的浮层不用改模板就能拿到同样的重置。
17
+ */
18
+ :where(
19
+ .astryx-layer,
20
+ .astryx-popover,
21
+ .astryx-tooltip,
22
+ .astryx-hover-card,
23
+ .astryx-dropdown-menu-popover,
24
+ .astryx-dropdown-menu,
25
+ .astryx-context-menu,
26
+ .astryx-tab-menu-dropdown,
27
+ .astryx-selector-listbox
28
+ ) {
29
+ font-family: var(--astryx-font-family-body, Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
30
+ font-size: var(--astryx-text-body-size, 0.875rem);
31
+ font-weight: var(--astryx-text-body-weight, 400);
32
+ line-height: var(--astryx-text-body-leading, 1.4286);
33
+ font-style: normal;
34
+ text-align: start;
35
+ text-align-last: auto;
36
+ text-indent: 0;
37
+ text-transform: none;
38
+ letter-spacing: normal;
39
+ word-spacing: normal;
40
+ text-shadow: none;
41
+ white-space: normal;
42
+ word-break: normal;
43
+ overflow-wrap: normal;
44
+ hyphens: manual;
45
+
46
+ /*
47
+ * 容器内边距系统停在这里(上游 #5231、#7287)。
48
+ *
49
+ * 带内边距的容器(Card、Layout、Section、Table)通过继承的自定义属性告诉
50
+ * 后代自己有多大的内边距,后代有的直接读它,有的用负外边距把它抵消掉。
51
+ * 浮层已经离开了那个盒子,屏幕上根本没有这份内边距,可继承值还在:
52
+ * 于是浮层里的 Divider 会为了抵消 24px 而向两边各伸出 24px。
53
+ *
54
+ * 两族变量处理方式相反:
55
+ * - `--container-padding-*` 是后代要减掉的量,浮层根自己没有内边距要避开,所以归零。
56
+ * - `--layout-padding-*` 是后代要加上的量,交还给每个读者自己的默认值。
57
+ */
58
+ --container-padding-inline-start: 0px;
59
+ --container-padding-inline-end: 0px;
60
+ --container-padding-block-start: 0px;
61
+ --container-padding-block-end: 0px;
62
+ --layout-padding-outer-x: initial;
63
+ --layout-padding-outer-y: initial;
64
+ --layout-padding-own-outer-x: initial;
65
+ --layout-padding-own-outer-y: initial;
66
+ --layout-padding-inner-x: initial;
67
+ --layout-padding-inner-y: initial;
68
+ --_section-padding-propagated: initial;
69
+ /* 步骤条的连接线空隙只属于外面那条轨道。浮层里的步骤条回到自己的 0。 */
70
+ --astryx-step-connector-gap: initial;
71
+ }
72
+ }
package/styles/list.css CHANGED
@@ -153,8 +153,15 @@
153
153
  }
154
154
  }
155
155
 
156
- .astryx-item[data-interactive='true']:not([data-disabled='true']):not([data-selected='true']):active {
157
- background-color: var(--astryx-list-item-pressed-background, light-dark(#05365919, #ffffff19));
156
+ /* 鼠标按下才用 :active。粗指针改看按压模型写的 data-astryx-press,滚动时不会误亮。 */
157
+ @media not all and (pointer: coarse) {
158
+ .astryx-item[data-interactive='true']:not([data-disabled='true']):not([data-selected='true']):active {
159
+ background-color: var(--astryx-list-item-pressed-background, light-dark(#05365919, #ffffff19));
160
+ }
161
+ }
162
+
163
+ .astryx-item[data-astryx-press]:not([data-disabled='true']):not([data-selected='true']) {
164
+ background-image: var(--_press-paint-image);
158
165
  }
159
166
 
160
167
  .astryx-item:has(:focus-visible) {
@@ -77,6 +77,7 @@
77
77
  font-size: var(--astryx-text-body-size, 1rem);
78
78
  line-height: var(--astryx-text-body-leading, 1.5);
79
79
  overflow-wrap: break-word;
80
+ word-break: break-word;
80
81
  }
81
82
 
82
83
  .astryx-metadata-list__label,
@@ -13,7 +13,9 @@
13
13
  padding: 0;
14
14
  border: 0;
15
15
  background: transparent;
16
- overflow: hidden;
16
+ overflow: clip;
17
+ overscroll-behavior: contain;
18
+ touch-action: pinch-zoom;
17
19
  }
18
20
 
19
21
  .astryx-mobile-nav:not([open]) { display: none; }
@@ -70,6 +72,7 @@
70
72
  min-height: 0;
71
73
  padding: var(--astryx-spacing-2, 8px);
72
74
  overflow: auto;
75
+ touch-action: pan-y pinch-zoom;
73
76
  }
74
77
 
75
78
  .astryx-mobile-nav__close,
@@ -40,7 +40,7 @@
40
40
  width: 100%;
41
41
  min-width: 0;
42
42
  min-height: var(--astryx-input-height-md, 32px);
43
- padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
43
+ padding: var(--astryx-input-padding-block, var(--astryx-spacing-1, 4px)) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
44
44
  border: var(--astryx-border-width, 1px) solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
45
45
  border-radius: var(--astryx-radius-element, 0.625rem);
46
46
  background: var(--astryx-input-background, #fff);
@@ -90,6 +90,53 @@
90
90
  box-shadow: none;
91
91
  }
92
92
 
93
+ .astryx-multi-selector-control[data-variant='secondary'] {
94
+ border-width: var(--astryx-button-secondary-border-width, 0);
95
+ border-style: var(--astryx-button-secondary-border-style, solid);
96
+ border-color: var(--astryx-button-secondary-border-color, transparent);
97
+ background-color: var(--astryx-button-secondary-background, #0000000f);
98
+ box-shadow: none;
99
+ color: var(--astryx-button-secondary-foreground, #171717);
100
+ font-weight: var(--astryx-font-weight-medium, 500);
101
+ }
102
+
103
+ @media (hover: hover) {
104
+ .astryx-multi-selector-control[data-variant='secondary']:hover:not(.is-disabled):not(:focus-within) {
105
+ background-image: linear-gradient(var(--astryx-button-secondary-hover-overlay, var(--astryx-button-hover-overlay, #0000000d)), var(--astryx-button-secondary-hover-overlay, var(--astryx-button-hover-overlay, #0000000d)));
106
+ box-shadow: none;
107
+ }
108
+ }
109
+
110
+ .astryx-multi-selector-control[data-variant='secondary']:focus-within,
111
+ .astryx-multi-selector-control[data-variant='secondary'].is-open {
112
+ border-color: var(--astryx-button-secondary-border-color, transparent);
113
+ box-shadow: none;
114
+ }
115
+
116
+ .astryx-multi-selector-listbox[role='grid'] .astryx-multi-selector-option {
117
+ display: grid;
118
+ grid-template-columns: minmax(0, 1fr) auto;
119
+ align-items: stretch;
120
+ padding: 0;
121
+ }
122
+
123
+ .astryx-multi-selector-option-main,
124
+ .astryx-multi-selector-option-action {
125
+ display: flex;
126
+ align-items: center;
127
+ min-width: 0;
128
+ gap: var(--astryx-spacing-2, 8px);
129
+ }
130
+
131
+ .astryx-multi-selector-option-main {
132
+ padding: var(--astryx-spacing-2, 8px);
133
+ }
134
+
135
+ .astryx-multi-selector-option-action.is-active {
136
+ outline: var(--astryx-focus-outline-width, 2px) solid var(--astryx-focus-outline-color, currentcolor);
137
+ outline-offset: -2px;
138
+ }
139
+
93
140
  .astryx-multi-selector-control.is-disabled {
94
141
  cursor: default;
95
142
  opacity: 0.5;
@@ -54,8 +54,15 @@
54
54
  background: var(--astryx-color-overlay-hover);
55
55
  }
56
56
 
57
- .astryx-nav-item:active:not(:disabled, .astryx-nav-item--plain, .astryx-nav-item--selected) {
58
- background: var(--astryx-color-overlay-pressed);
57
+ /* 鼠标按下才用 :active。粗指针改看按压模型写的 data-astryx-press,滚动时不会误亮。 */
58
+ @media not all and (pointer: coarse) {
59
+ .astryx-nav-item:active:not(:disabled, .astryx-nav-item--plain, .astryx-nav-item--selected) {
60
+ background: var(--astryx-color-overlay-pressed);
61
+ }
62
+ }
63
+
64
+ .astryx-nav-item[data-astryx-press]:not(:disabled, .astryx-nav-item--plain, .astryx-nav-item--selected) {
65
+ background-image: var(--_press-paint-image);
59
66
  }
60
67
 
61
68
  .astryx-nav-item--selected {
@@ -55,15 +55,25 @@
55
55
  .astryx-nav-menu-item--md { padding: var(--astryx-spacing-2, 8px); }
56
56
  .astryx-nav-menu-item--lg { padding: var(--astryx-spacing-3, 12px); }
57
57
 
58
- .astryx-nav-menu-item:hover:not(:disabled),
58
+ .astryx-nav-menu-item:hover:not(:disabled, .astryx-nav-menu-item--disabled),
59
59
  .astryx-nav-menu-item:focus-visible {
60
60
  background: var(--astryx-color-overlay-hover);
61
61
  outline: none;
62
62
  }
63
63
 
64
+ @media not all and (pointer: coarse) {
65
+ .astryx-nav-menu-item:active:not(:disabled, .astryx-nav-menu-item--disabled) {
66
+ background: var(--astryx-color-overlay-pressed);
67
+ }
68
+ }
69
+
70
+ .astryx-nav-menu-item[data-astryx-press]:not(:disabled, .astryx-nav-menu-item--disabled) {
71
+ background-image: var(--_press-paint-image);
72
+ }
73
+
64
74
  .astryx-nav-menu-item--disabled,
65
75
  .astryx-nav-menu-item:disabled {
66
- cursor: not-allowed;
76
+ cursor: default;
67
77
  opacity: 0.5;
68
78
  }
69
79
 
@@ -90,7 +90,7 @@
90
90
  box-sizing: border-box;
91
91
  flex: 1;
92
92
  min-width: 0;
93
- padding: 0 var(--astryx-spacing-2, 8px);
93
+ padding: var(--astryx-input-padding-block, 0) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
94
94
  border: 0;
95
95
  outline: none;
96
96
  background: transparent;
@@ -113,6 +113,14 @@
113
113
  cursor: default;
114
114
  }
115
115
 
116
+ @media (pointer: coarse) {
117
+ @supports (-webkit-touch-callout: none) {
118
+ .astryx-number-input-field {
119
+ font-size: max(1rem, var(--astryx-text-body-size, 14px));
120
+ }
121
+ }
122
+ }
123
+
116
124
  .astryx-number-input-buttons {
117
125
  display: flex;
118
126
  flex-direction: column;
@@ -69,7 +69,7 @@
69
69
  outline-offset: var(--astryx-focus-outline-offset);
70
70
  }
71
71
 
72
- .astryx-overflow-list__chip:disabled { cursor: not-allowed; opacity: 0.5; }
72
+ .astryx-overflow-list__chip:disabled { cursor: default; opacity: 0.5; }
73
73
 
74
74
  .astryx-overflow-list__glyph {
75
75
  display: inline-block;
@@ -60,7 +60,8 @@
60
60
  z-index: var(--astryx-popover-z-index, 1000);
61
61
  display: flex;
62
62
  flex-direction: column;
63
- max-inline-size: calc(100vw - 16px);
63
+ /* 视口上限:两边空隙都要减,由 LayerProvider 写在根元素上。 */
64
+ max-inline-size: var(--astryx-layer-max-inline-size, calc(100vw - 32px));
64
65
  border-radius: var(--astryx-radius-container, 0.75rem);
65
66
  background: var(--astryx-popover-background, #fff);
66
67
  color: var(--astryx-popover-foreground, #171717);
@@ -175,8 +175,10 @@
175
175
  position: fixed;
176
176
  z-index: var(--astryx-popover-z-index, 1000);
177
177
  box-sizing: border-box;
178
- min-width: min(400px, calc(100vw - 16px));
179
- max-width: min(720px, calc(100vw - 16px));
178
+ min-width: min(400px, var(--astryx-layer-max-inline-size, calc(100vw - 32px)));
179
+ max-width: min(720px, var(--astryx-layer-max-inline-size, calc(100vw - 32px)));
180
+ container-type: inline-size;
181
+ container-name: power-search-editor;
180
182
  padding: var(--astryx-spacing-3, 12px);
181
183
  border: var(--astryx-border-width, 1px) solid var(--astryx-color-border, light-dark(#ebebeb, #ffffff1a));
182
184
  border-radius: var(--astryx-radius-element, 0.625rem);
@@ -275,7 +277,7 @@
275
277
  padding: 0;
276
278
  }
277
279
 
278
- @media (max-width: 399px) {
280
+ @container power-search-editor (max-width: 399px) {
279
281
  .astryx-power-search-editor-row > * {
280
282
  flex-basis: 100%;
281
283
  }