@astryx-vue/core 0.7.20 → 0.7.22

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 (405) hide show
  1. package/dist/AlertDialog/index.d.ts +1 -1
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-pPXTwJ2L.js → AlertDialog-Clj4LQbD.js} +14 -8
  4. package/dist/AppShell/index.d.ts +1 -1
  5. package/dist/AppShell/index.js +1 -1
  6. package/dist/{AppShell-ggoyfRU8.js → AppShell--izaf9Fx.js} +3 -3
  7. package/dist/Avatar/index.d.ts +1 -1
  8. package/dist/Avatar/index.js +1 -1
  9. package/dist/{Avatar-CP5bJN1n.js → Avatar-cNntRBEo.js} +18 -14
  10. package/dist/AvatarGroup/index.d.ts +1 -1
  11. package/dist/AvatarGroup/index.js +1 -1
  12. package/dist/{AvatarGroup-DkdSw1yf.js → AvatarGroup-DbWLEmi1.js} +3 -3
  13. package/dist/Banner/index.d.ts +1 -1
  14. package/dist/Banner/index.js +1 -1
  15. package/dist/{Banner-BAq0N2B5.js → Banner-B_mAF0Cw.js} +7 -5
  16. package/dist/BottomSheet/index.d.ts +1 -1
  17. package/dist/BottomSheet/index.js +2 -2
  18. package/dist/{BottomSheet-ChaxnQlr.js → BottomSheet-BKeyoL9N.js} +1 -1
  19. package/dist/{BottomSheet-BTFPLoGw.js → BottomSheet-CMukh1iI.js} +1 -1
  20. package/dist/Breadcrumbs/index.js +2 -2
  21. package/dist/{Breadcrumbs-CXRXlVmX.js → Breadcrumbs-b00jtj_I.js} +2 -2
  22. package/dist/Button/index.d.ts +1 -1
  23. package/dist/Button/index.js +1 -1
  24. package/dist/{Button-xMGOU3Wj.js → Button-DVXOKWAy.js} +11 -78
  25. package/dist/ButtonGroup/index.d.ts +1 -1
  26. package/dist/ButtonGroup/index.js +1 -1
  27. package/dist/{ButtonGroup-DnkSZ9a5.js → ButtonGroup-B9sj-OvC.js} +5 -3
  28. package/dist/Calendar/index.d.ts +1 -1
  29. package/dist/Calendar/index.js +1 -1
  30. package/dist/{Calendar-CJQCND7M.js → Calendar-d_uOkvFE.js} +4 -4
  31. package/dist/Card/index.d.ts +1 -1
  32. package/dist/Card/index.js +1 -1
  33. package/dist/{Card-B-I24X9S.js → Card-H4571ZKi.js} +1 -1
  34. package/dist/Carousel/index.js +1 -1
  35. package/dist/{Carousel-v8MoIvkj.js → Carousel-CUtC-6st.js} +3 -3
  36. package/dist/Center/index.d.ts +1 -1
  37. package/dist/Center/index.js +1 -1
  38. package/dist/{Center-DVaZaTGP.js → Center-B7FTd7Hw.js} +2 -10
  39. package/dist/Chat/index.d.ts +1 -1
  40. package/dist/Chat/index.js +1 -1
  41. package/dist/{Chat-CZqMkxNN.js → Chat-BCeC0sHI.js} +19 -10
  42. package/dist/CheckboxInput/index.d.ts +1 -1
  43. package/dist/CheckboxInput/index.js +1 -1
  44. package/dist/{CheckboxInput-D0SSjziv.js → CheckboxInput-B4pDfjvr.js} +6 -6
  45. package/dist/CheckboxList/index.d.ts +1 -1
  46. package/dist/CheckboxList/index.js +1 -1
  47. package/dist/{CheckboxList-Dd6Vn_0N.js → CheckboxList-DtxfdHRI.js} +14 -10
  48. package/dist/Citation/index.js +1 -1
  49. package/dist/{Citation-BDHIuvX3.js → Citation-CCu6QWG7.js} +2 -2
  50. package/dist/ClickableCard/index.d.ts +1 -1
  51. package/dist/ClickableCard/index.js +1 -1
  52. package/dist/{ClickableCard-CGjr4c7g.js → ClickableCard-jEBZbzHE.js} +3 -3
  53. package/dist/Code/index.d.ts +1 -1
  54. package/dist/Code/index.js +2 -2
  55. package/dist/{Code-U7yN4bwZ.js → Code-PDhTfE2w.js} +2 -8
  56. package/dist/{CodeBlock-Dnv5SexJ.js → CodeBlock-C8ZQsnEc.js} +31 -9
  57. package/dist/Collapsible/index.d.ts +1 -1
  58. package/dist/Collapsible/index.js +1 -1
  59. package/dist/{Collapsible-DPC_G0Me.js → Collapsible-BsPZ8CoN.js} +2 -2
  60. package/dist/CommandPalette/index.js +1 -1
  61. package/dist/{CommandPalette-CM5VyZTp.js → CommandPalette-0Kg-dJg3.js} +5 -5
  62. package/dist/ComplexSelector/index.js +1 -1
  63. package/dist/{ComplexSelector-BiKaDteS.js → ComplexSelector-xJGZLLyu.js} +6 -6
  64. package/dist/ContextMenu/index.d.ts +1 -1
  65. package/dist/ContextMenu/index.js +2 -2
  66. package/dist/{ContextMenu-DPY3WDdI.js → ContextMenu-CgSIWUYh.js} +7 -7
  67. package/dist/DateInput/index.d.ts +1 -1
  68. package/dist/DateInput/index.js +1 -1
  69. package/dist/{DateInput-CDesWR4P.js → DateInput-B0t3u-_h.js} +17 -15
  70. package/dist/DateRangeInput/index.d.ts +1 -1
  71. package/dist/DateRangeInput/index.js +1 -1
  72. package/dist/{DateRangeInput-xT3wXhbh.js → DateRangeInput-CZcASUxa.js} +15 -13
  73. package/dist/DateTimeInput/index.d.ts +1 -1
  74. package/dist/DateTimeInput/index.js +1 -1
  75. package/dist/{DateTimeInput-oZKJG12g.js → DateTimeInput-vkdQJjsh.js} +15 -13
  76. package/dist/Dialog/index.d.ts +1 -1
  77. package/dist/Dialog/index.js +1 -1
  78. package/dist/{DialogHeader-CAvunUP_.js → DialogHeader-Doo2W2Ni.js} +26 -17
  79. package/dist/Divider/index.d.ts +1 -1
  80. package/dist/Drawer/index.d.ts +1 -1
  81. package/dist/Drawer/index.js +1 -1
  82. package/dist/{Drawer-AYHh8GOH.js → Drawer-Ca7Dny6L.js} +1 -1
  83. package/dist/DropdownMenu/index.js +3 -3
  84. package/dist/{DropdownMenu-CjM_IQIU.js → DropdownMenu-ogcv4KxT.js} +8 -8
  85. package/dist/{DropdownMenu-C1-Fx_uu.js → DropdownMenu-xdyXj4Mb.js} +7 -7
  86. package/dist/EmptyState/index.js +1 -1
  87. package/dist/{EmptyState-CVbtVcRb.js → EmptyState-BQrzgh2f.js} +2 -2
  88. package/dist/Field/index.js +3 -3
  89. package/dist/{Field-Dw53vhfK.js → Field-DLg-trP2.js} +2 -2
  90. package/dist/{FieldIcon--Qng2Cup.js → FieldIcon-CxTnEb4Y.js} +1 -1
  91. package/dist/{FieldInfoTip-Ci5usYvE.js → FieldInfoTip-gWPWGd3Q.js} +3 -3
  92. package/dist/{FieldLabel-MeJlcRRG.js → FieldLabel-D5_Pap_W.js} +9 -5
  93. package/dist/FieldStatus/index.js +1 -1
  94. package/dist/{FieldStatus-BGM4IlHy.js → FieldStatus-D6Vo_dU5.js} +5 -4
  95. package/dist/FileInput/index.d.ts +1 -1
  96. package/dist/FileInput/index.js +1 -1
  97. package/dist/{FileInput-jPcAv4-1.js → FileInput-eBk4ZBY8.js} +10 -10
  98. package/dist/Heading/index.d.ts +1 -1
  99. package/dist/Heading/index.js +1 -1
  100. package/dist/{Heading-CwMG-5tj.js → Heading-D0zL1j5T.js} +1 -1
  101. package/dist/HoverCard/index.d.ts +1 -1
  102. package/dist/HoverCard/index.js +1 -1
  103. package/dist/{HoverCard-SuGMVIZR.js → HoverCard-B9uadAzT.js} +2 -1
  104. package/dist/Icon/index.js +1 -1
  105. package/dist/{Icon-Dosui-zD.js → Icon-CU3412Fe.js} +6 -1
  106. package/dist/IconButton/index.js +1 -1
  107. package/dist/{IconButton-BmMIccb4.js → IconButton-C5U75I5C.js} +1 -1
  108. package/dist/Indicator/index.js +1 -1
  109. package/dist/InfoTip/index.d.ts +2 -0
  110. package/dist/InfoTip/index.js +5 -0
  111. package/dist/InfoTip-BlOySTNC.js +95 -0
  112. package/dist/{InputClearButton-Dd1GgItq.js → InputClearButton-DjLXIYX4.js} +3 -3
  113. package/dist/InputGroup/index.d.ts +1 -1
  114. package/dist/InputGroup/index.js +1 -1
  115. package/dist/{InputGroup-C1z9qkGA.js → InputGroup-BleRgc6W.js} +8 -4
  116. package/dist/InternationalizationProvider/index.d.ts +1 -1
  117. package/dist/InternationalizationProvider/index.js +1 -1
  118. package/dist/{InternationalizationProvider-DKNYYBp5.js → InternationalizationProvider-CWJDt7Qb.js} +2 -2
  119. package/dist/{Item-DWMIjN8n.js → Item-X9wgYWoD.js} +1 -1
  120. package/dist/Layout/index.d.ts +1 -1
  121. package/dist/Layout/index.js +2 -2
  122. package/dist/{Layout-JJRCG7Mf.js → Layout-mHcy28k7.js} +3 -2
  123. package/dist/{LayoutPanel-zM5vjrKS.js → LayoutPanel-DpbBk6rj.js} +4 -27
  124. package/dist/Lightbox/index.js +1 -1
  125. package/dist/{Lightbox-Bx1uvH61.js → Lightbox-BKIn3xh8.js} +3 -3
  126. package/dist/Link/index.d.ts +3 -3
  127. package/dist/Link/index.js +1 -1
  128. package/dist/{Link-DdLdry4N.js → Link-Qhzs2lcO.js} +27 -20
  129. package/dist/List/index.d.ts +1 -1
  130. package/dist/List/index.js +2 -2
  131. package/dist/{ListItem-Cq_nU1YV.js → ListItem-CertehfW.js} +1 -1
  132. package/dist/Markdown/index.d.ts +1 -1
  133. package/dist/Markdown/index.js +1 -1
  134. package/dist/{Markdown-u-bXd7Z_.js → Markdown-BJFwe_pB.js} +10 -8
  135. package/dist/{MediaTheme-p2hOnZaR.js → MediaTheme-CnSOALNj.js} +4 -9
  136. package/dist/MetadataList/index.js +1 -1
  137. package/dist/{MetadataList-sNNwmmXa.js → MetadataList-wOngshS5.js} +1 -1
  138. package/dist/MobileNav/index.js +1 -1
  139. package/dist/{MobileNavToggle-DgEwchpj.js → MobileNavToggle-C8KAzhRl.js} +2 -2
  140. package/dist/MoreMenu/index.d.ts +1 -1
  141. package/dist/MoreMenu/index.js +1 -1
  142. package/dist/{MoreMenu-CUWP3WTs.js → MoreMenu-VgbqyoGW.js} +117 -99
  143. package/dist/MultiSelector/index.d.ts +1 -1
  144. package/dist/MultiSelector/index.js +1 -1
  145. package/dist/{MultiSelector-DXFen6nf.js → MultiSelector-BTIeCFDV.js} +36 -38
  146. package/dist/{NavDisclosure-snipr7Cd.js → NavDisclosure-BbRWuyhq.js} +1 -1
  147. package/dist/{NavHeadingSurface-tn7cGNlX.js → NavHeadingSurface-B2HkXx6S.js} +3 -3
  148. package/dist/NavItem/index.d.ts +1 -1
  149. package/dist/NavItem/index.js +1 -1
  150. package/dist/{NavItem-BPb3yfgz.js → NavItem-DfHMmSsw.js} +1 -1
  151. package/dist/NavMenu/index.js +3 -3
  152. package/dist/{NavMenu-BA5lW02j.js → NavMenu-CZS5pRUv.js} +1 -1
  153. package/dist/{NavMenuItem-BuIgWJq8.js → NavMenuItem-duQuvU1o.js} +2 -2
  154. package/dist/NumberInput/index.d.ts +1 -1
  155. package/dist/NumberInput/index.js +1 -1
  156. package/dist/{NumberInput-47pYh8M8.js → NumberInput-CkYRY1KW.js} +19 -32
  157. package/dist/Outline/index.js +1 -1
  158. package/dist/{Outline-C6xBCP2y.js → Outline-D3g7Vq7-.js} +2 -2
  159. package/dist/OverflowList/index.d.ts +1 -1
  160. package/dist/OverflowList/index.js +1 -1
  161. package/dist/{OverflowList-BHnarnHA.js → OverflowList-WwL2NPbI.js} +3 -3
  162. package/dist/Overlay/index.d.ts +1 -1
  163. package/dist/Pagination/index.d.ts +1 -1
  164. package/dist/Pagination/index.js +1 -1
  165. package/dist/{Pagination-CBjcLsLG.js → Pagination-Cn53Nqe3.js} +2 -2
  166. package/dist/Popover/index.d.ts +1 -1
  167. package/dist/Popover/index.js +1 -1
  168. package/dist/{Popover-DOqAuY-b.js → Popover-Cbv5LUWL.js} +10 -6
  169. package/dist/PowerSearch/index.d.ts +1 -1
  170. package/dist/PowerSearch/index.js +1 -1
  171. package/dist/{PowerSearch-BnsPW_Xe.js → PowerSearch-DtncqsYh.js} +88 -73
  172. package/dist/ProgressBar/index.d.ts +1 -1
  173. package/dist/ProgressBar/index.js +1 -1
  174. package/dist/{ProgressBar-Cmbhdfla.js → ProgressBar-Dt5AS0GY.js} +1 -1
  175. package/dist/Radio/index.d.ts +1 -1
  176. package/dist/Radio/index.js +1 -1
  177. package/dist/{RadioGroup-Dcmqx9p_.js → RadioGroup-B2lYTCeV.js} +5 -5
  178. package/dist/RadioList/index.d.ts +1 -1
  179. package/dist/RadioList/index.js +1 -1
  180. package/dist/{RadioList-BnM8hmMZ.js → RadioList-CieZtXzY.js} +1 -1
  181. package/dist/Resizable/index.d.ts +1 -1
  182. package/dist/Resizable/index.js +1 -1
  183. package/dist/{ResizeHandle-Bxt3HOsd.js → ResizeHandle-uBJj4W1M.js} +1 -1
  184. package/dist/ScrollableArea/index.d.ts +1 -1
  185. package/dist/ScrollableArea/index.js +1 -1
  186. package/dist/{ScrollableArea-0u6RWtGG.js → ScrollableArea-BgIytCxo.js} +3 -8
  187. package/dist/Scrollbars/index.js +2 -2
  188. package/dist/{Scrollbars-D_93hJYK.js → Scrollbars-Gvu4QVaF.js} +1 -1
  189. package/dist/Section/index.js +1 -1
  190. package/dist/{Section-v2QuWBBJ.js → Section-Km_FjJ-i.js} +2 -7
  191. package/dist/SegmentedControl/index.d.ts +1 -1
  192. package/dist/SegmentedControl/index.js +1 -1
  193. package/dist/{SegmentedControl-D1wWGBZo.js → SegmentedControl-BmDn1avo.js} +6 -4
  194. package/dist/SelectableCard/index.d.ts +1 -1
  195. package/dist/SelectableCard/index.js +1 -1
  196. package/dist/{SelectableCard-BEqnhPaX.js → SelectableCard-2a2gsxys.js} +3 -3
  197. package/dist/Selector/index.d.ts +1 -1
  198. package/dist/Selector/index.js +1 -1
  199. package/dist/{Selector-DJqfjwFd.js → Selector-CgrXQtte.js} +122 -52
  200. package/dist/SideNav/index.d.ts +1 -1
  201. package/dist/SideNav/index.js +1 -1
  202. package/dist/{SideNav-DeE9XA0M.js → SideNav-B_atCEBH.js} +45 -27
  203. package/dist/SizeContext/index.d.ts +2 -0
  204. package/dist/SizeContext/index.js +2 -0
  205. package/dist/SizeContext-BbaF-SEx.js +37 -0
  206. package/dist/Slider/index.js +1 -1
  207. package/dist/{Slider-CDssBPWC.js → Slider-CEhy-D-R.js} +4 -4
  208. package/dist/Spinner/index.js +1 -1
  209. package/dist/{Spinner-D8YW_EgO.js → Spinner-CTWLR75x.js} +1 -1
  210. package/dist/Stack/index.js +2 -2
  211. package/dist/{Stack-Bp-XN9J4.js → Stack-DPB-Ztf7.js} +3 -11
  212. package/dist/{Stack-Bb_h60t3.js → Stack-Tw4I_dt-.js} +2 -2
  213. package/dist/StatusDot/index.js +1 -1
  214. package/dist/{StatusDot-DhNtAVEN.js → StatusDot-Bu_nCu0I.js} +1 -1
  215. package/dist/Stepper/index.d.ts +1 -1
  216. package/dist/Stepper/index.js +1 -1
  217. package/dist/{Stepper-D_tzl2pr.js → Stepper-DVXisudw.js} +149 -67
  218. package/dist/Switch/index.d.ts +2 -2
  219. package/dist/Switch/index.js +1 -1
  220. package/dist/{Switch-GIld457S.js → Switch-DXShvaDA.js} +12 -6
  221. package/dist/TabList/index.d.ts +1 -1
  222. package/dist/TabList/index.js +1 -1
  223. package/dist/{TabList-B9RRmiqV.js → TabList-DIEm4YKM.js} +10 -8
  224. package/dist/Table/index.d.ts +2 -2
  225. package/dist/Table/index.js +1 -1
  226. package/dist/{Table-B9F3DkX-.js → Table-RQ5wklzn.js} +28 -20
  227. package/dist/Text/index.d.ts +2 -2
  228. package/dist/Text/index.js +1 -1
  229. package/dist/{Text-D8ZIQxgB.js → Text-Wk-iDAzh.js} +2 -2
  230. package/dist/TextArea/index.d.ts +1 -1
  231. package/dist/TextArea/index.js +1 -1
  232. package/dist/{TextArea-zVh5qj-c.js → TextArea-D1QHRYUp.js} +24 -14
  233. package/dist/TextInput/index.d.ts +1 -1
  234. package/dist/TextInput/index.js +1 -1
  235. package/dist/{TextInput-Bfr1Igjs.js → TextInput-ZSr9jgdk.js} +11 -8
  236. package/dist/Theme/index.js +2 -2
  237. package/dist/{Theme-BpgmIGCo.js → Theme-D7_fQWgb.js} +570 -4
  238. package/dist/Thumbnail/index.js +1 -1
  239. package/dist/{Thumbnail-BvXGkihb.js → Thumbnail-CYRPjf1Y.js} +6 -6
  240. package/dist/{TimeField-BcGkQvY4.js → TimeField-DnfFPnBT.js} +10 -10
  241. package/dist/TimeInput/index.d.ts +1 -1
  242. package/dist/TimeInput/index.js +1 -1
  243. package/dist/{TimeInput-CwCYQa51.js → TimeInput-Dj5b3rL3.js} +6 -4
  244. package/dist/Timer/index.d.ts +1 -1
  245. package/dist/Timer/index.js +1 -1
  246. package/dist/{Timer-cp10vcti.js → Timer-DL_MPa_h.js} +1 -1
  247. package/dist/Timestamp/index.d.ts +1 -1
  248. package/dist/Timestamp/index.js +1 -1
  249. package/dist/{Timestamp-DAfry9GA.js → Timestamp-hepTGx5N.js} +5 -5
  250. package/dist/Toast/index.js +1 -1
  251. package/dist/{Toast-CN6C5mZ4.js → Toast-DRIZNfyy.js} +24 -18
  252. package/dist/ToggleButton/index.d.ts +1 -1
  253. package/dist/ToggleButton/index.js +1 -1
  254. package/dist/{ToggleButton-Cq82SwPx.js → ToggleButton-zpHmL_yH.js} +1 -1
  255. package/dist/Token/index.d.ts +1 -1
  256. package/dist/Token/index.js +1 -1
  257. package/dist/{Token-rBcE4hYh.js → Token-BJDLztV6.js} +2 -2
  258. package/dist/Tokenizer/index.js +1 -1
  259. package/dist/{Tokenizer-CIviljVO.js → Tokenizer-yz0873oG.js} +45 -37
  260. package/dist/Toolbar/index.d.ts +2 -2
  261. package/dist/Toolbar/index.js +1 -1
  262. package/dist/{Toolbar-DKld_COt.js → Toolbar-CbVhy7K9.js} +3 -1
  263. package/dist/Tooltip/index.d.ts +1 -1
  264. package/dist/Tooltip/index.js +2 -1
  265. package/dist/Tooltip-BfKegFfq.js +126 -0
  266. package/dist/TopNav/index.d.ts +1 -1
  267. package/dist/TopNav/index.js +1 -1
  268. package/dist/{TopNav-Dwu7beKR.js → TopNav-aCHKxMyk.js} +7 -7
  269. package/dist/TreeList/index.d.ts +1 -1
  270. package/dist/TreeList/index.js +1 -1
  271. package/dist/{TreeList-XMAHW9fH.js → TreeList-tcEjVfb0.js} +34 -26
  272. package/dist/Typeahead/index.js +2 -2
  273. package/dist/{Typeahead-DrziC_-X.js → Typeahead-ClidGB0O.js} +8 -8
  274. package/dist/{TypeaheadMenu-CafYGgVa.js → TypeaheadMenu-Bu9HO-wZ.js} +1 -1
  275. package/dist/VisuallyHidden/index.js +1 -1
  276. package/dist/{VisuallyHidden-C7NN3VEP.js → VisuallyHidden-cpmsV-0M.js} +25 -2
  277. package/dist/composables/index.d.ts +2 -2
  278. package/dist/composables/index.js +6 -5
  279. package/dist/{composables-rlh0LyHP.js → composables-BWDrzi3J.js} +1 -1
  280. package/dist/{context-dY6CBI-t.js → context-BLSiTojH.js} +12 -2
  281. package/dist/context-Bv6lAoqu.js +26 -0
  282. package/dist/{index-gW0HW02U.d.ts → index-6kd7pher.d.ts} +0 -1
  283. package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
  284. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  285. package/dist/{index-DxSmMU5p.d.ts → index-B7VpAZYk.d.ts} +20 -7
  286. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  287. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  288. package/dist/{index-BfS1MA8W.d.ts → index-BRXgpLcd.d.ts} +5 -6
  289. package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
  290. package/dist/{index-2nF5Y3RN.d.ts → index-Be7N3B5F.d.ts} +2 -3
  291. package/dist/{index-DbiZvj1P.d.ts → index-BfQ85cS8.d.ts} +0 -1
  292. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  293. package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
  294. package/dist/{index-UFlyBbRd.d.ts → index-C3f1zsJR.d.ts} +2 -2
  295. package/dist/{index-C-tFz2Yx.d.ts → index-C9ZssPUV.d.ts} +1 -1
  296. package/dist/{index-CRPSZ4nY.d.ts → index-CFm1rPma.d.ts} +1 -1
  297. package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
  298. package/dist/{index-B7Jz5i9a.d.ts → index-CM8KfpBL.d.ts} +3 -4
  299. package/dist/{index-DpXXD9nP.d.ts → index-CfOpGR_m.d.ts} +215 -147
  300. package/dist/{index-DAMHLkmd.d.ts → index-CfPGC9aW.d.ts} +1 -1
  301. package/dist/{index-GpET2_oj.d.ts → index-Cun6cXGP.d.ts} +1 -1
  302. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  303. package/dist/{index-Uh-ddE5F.d.ts → index-D21zdEgS.d.ts} +1 -1
  304. package/dist/{index-DUnLj1kn.d.ts → index-DLq_N8bd.d.ts} +1 -1
  305. package/dist/{index-Dl4Kx5Pl.d.ts → index-DTfA4uE3.d.ts} +13 -3
  306. package/dist/{index-CKpz_Eed.d.ts → index-DX4HQToB.d.ts} +1 -1
  307. package/dist/{index-D97pQbua.d.ts → index-DXhtlG4u.d.ts} +2 -2
  308. package/dist/{index-B2kcUxGA.d.ts → index-D_K1wfRa.d.ts} +1 -1
  309. package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
  310. package/dist/{index-Do0iakTm.d.ts → index-DgmlhvRV.d.ts} +1 -1
  311. package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
  312. package/dist/{index-qayqGnJT.d.ts → index-IfiA8CSr.d.ts} +2 -2
  313. package/dist/{index-BbArm3_c.d.ts → index-MIv3YJ_j.d.ts} +3 -3
  314. package/dist/{index-BNaRK-s5.d.ts → index-O9y23OPJ.d.ts} +11 -1
  315. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  316. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  317. package/dist/index-q7fVtnQc.d.ts +48 -0
  318. package/dist/{index-Cy1rEWC-.d.ts → index-rszZajcw.d.ts} +1 -1
  319. package/dist/{index-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
  320. package/dist/index.d.ts +67 -68
  321. package/dist/index.js +132 -125
  322. package/dist/{loadCatalog-Cr3451_V.js → loadCatalog-85MyL2bm.js} +1 -1
  323. package/dist/{loadCatalog-DNIEPF3f.d.ts → loadCatalog-DSRSkHnY.d.ts} +9 -0
  324. package/dist/locale/index.d.ts +2 -2
  325. package/dist/locale/index.js +4 -4
  326. package/dist/{locale-BdA3CTlQ.js → locale-C7RSY-JG.js} +77 -77
  327. package/dist/{searchResultMessage-u1rOubPl.js → searchResultMessage-T4H3r8Vz.js} +3 -3
  328. package/dist/sharedResizeObserver-9EFWnSWH.js +87 -0
  329. package/dist/{size-Cpn_wzXi.js → size-BfginNaZ.js} +19 -1
  330. package/dist/{types-BymI5mmm.d.ts → types-B8suOGP8.d.ts} +3 -2
  331. package/dist/{useAnchoredListbox-DwQTMWjI.js → useAnchoredListbox-6t5zSSz1.js} +1 -1
  332. package/dist/useButtonTooltip-DjCaZMp_.js +73 -0
  333. package/dist/{useIndicator-fTOZfYVI.js → useIndicator-BvF_KY9S.js} +1 -1
  334. package/dist/{useInputStatusIcon-BZPOzGDC.js → useInputStatusIcon-Dax94Gdd.js} +2 -2
  335. package/dist/{useMergedRefs-CG0YVRL-.js → useLayer-Byjda3dD.js} +2 -23
  336. package/dist/{useMenuDrillIn-B6jh8tv8.js → useMenuDrillIn-C36Z89W3.js} +3 -3
  337. package/dist/useMergedRefs-DTGo1cEU.js +22 -0
  338. package/dist/{usePositionedLayer-HrhF3lEZ.js → usePositionedLayer-psKf3ano.js} +13 -3
  339. package/dist/{usePressFeedback-BJCpjEpv.js → usePressFeedback-Dhnfc3ee.js} +19 -2
  340. package/dist/{useResizable-BJ0DaMml.d.ts → useResizable-fEGAFziz.d.ts} +2 -0
  341. package/dist/{colorMode-BxqfDP4P.js → useResolvedColorMode-CHOh3Yz-.js} +31 -1
  342. package/dist/{useScrollbars-C2NJ6Qwq.js → useScrollbars-Ch0xqJWO.js} +3 -0
  343. package/dist/useTooltip-BKsCTWdb.js +415 -0
  344. package/dist/{useTranslator-DZBywLvR.js → useTranslator-BDUOzbP_.js} +1 -1
  345. package/dist/utils/index.js +2 -1
  346. package/dist/{utils-BE5HBOBX.js → utils-BOmFijPc.js} +1 -87
  347. package/package.json +9 -1
  348. package/styles/app-shell.css +12 -0
  349. package/styles/avatar.css +14 -2
  350. package/styles/banner.css +35 -27
  351. package/styles/bottom-sheet.css +8 -1
  352. package/styles/button.css +26 -12
  353. package/styles/calendar.css +3 -1
  354. package/styles/chat.css +53 -32
  355. package/styles/clickable-card.css +3 -3
  356. package/styles/code.css +5 -7
  357. package/styles/collapsible.css +10 -0
  358. package/styles/complex-selector.css +3 -3
  359. package/styles/container-reveal.css +161 -69
  360. package/styles/dialog-header.css +6 -0
  361. package/styles/dialog.css +29 -9
  362. package/styles/dropdown-menu.css +7 -6
  363. package/styles/empty-state.css +0 -4
  364. package/styles/field.css +37 -20
  365. package/styles/heading.css +20 -9
  366. package/styles/icon.css +11 -6
  367. package/styles/info-tip.css +45 -0
  368. package/styles/layout.css +2 -1
  369. package/styles/link.css +54 -7
  370. package/styles/list.css +1 -1
  371. package/styles/markdown.css +46 -2
  372. package/styles/more-menu.css +3 -2
  373. package/styles/multi-selector.css +6 -6
  374. package/styles/number-input.css +1 -2
  375. package/styles/popover.css +2 -2
  376. package/styles/power-search.css +10 -1
  377. package/styles/pressable.css +4 -4
  378. package/styles/radio.css +2 -3
  379. package/styles/section.css +3 -0
  380. package/styles/segmented-control.css +13 -0
  381. package/styles/selector.css +25 -10
  382. package/styles/side-nav.css +75 -2
  383. package/styles/slider.css +5 -2
  384. package/styles/stepper-track.css +57 -0
  385. package/styles/stepper.css +81 -46
  386. package/styles/switch.css +22 -11
  387. package/styles/tab-list.css +7 -6
  388. package/styles/tab-menu.css +0 -1
  389. package/styles/table.css +38 -3
  390. package/styles/text-area.css +5 -8
  391. package/styles/text.css +21 -1
  392. package/styles/theme.css +2 -0
  393. package/styles/thumbnail.css +1 -1
  394. package/styles/toast.css +11 -21
  395. package/styles/token.css +1 -1
  396. package/styles/tokenizer.css +8 -1
  397. package/styles/toolbar.css +5 -1
  398. package/styles/top-nav.css +19 -6
  399. package/styles/tree-list.css +2 -3
  400. package/styles.css +2 -0
  401. package/dist/Tooltip-sESBLZwR.js +0 -339
  402. package/dist/index-CHuSkU5Q.d.ts +0 -26
  403. package/dist/types-CbiqoBoG.d.ts +0 -89
  404. package/dist/{index-CHx33xGa.d.ts → index-BqhgeAT4.d.ts} +2 -2
  405. /package/dist/{index-Ca8VIE4l.d.ts → index-Q1oG9yIT.d.ts} +0 -0
@@ -1,7 +1,8 @@
1
1
  import { n as themeContextKey, r as themeNestingKey, t as mediaThemeKey } from "./context-Cws_tXTr.js";
2
2
  import { a as syntaxThemeStyle } from "./syntaxTheme-R7xnu5x5.js";
3
3
  import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
4
- import { a as normalizeTokenName, c as parseColor, i as isPortableTokenName, o as prefixTokenReferences, r as bridgeComponentTokens, s as contrastRatio } from "./MediaTheme-p2hOnZaR.js";
4
+ import { a as normalizeTokenName, c as parseColor, i as isPortableTokenName, o as prefixTokenReferences, r as bridgeComponentTokens, s as contrastRatio } from "./MediaTheme-CnSOALNj.js";
5
+ import { t as observeResize } from "./sharedResizeObserver-9EFWnSWH.js";
5
6
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, h, inject, markRaw, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
6
7
  import "../styles/theme.css";
7
8
  //#region src/Theme/adaptationTypes.ts
@@ -1709,6 +1710,482 @@ function resolveGenerativeAxes(inherited, own) {
1709
1710
  };
1710
1711
  }
1711
1712
  //#endregion
1713
+ //#region src/Theme/uikitTypography.ts
1714
+ /**
1715
+ * @file uikitTypography.ts
1716
+ * @input Nothing; data only
1717
+ * @output Exports `typography`: the point size of each UIKit text style at each
1718
+ * content size category (Dynamic Type), from xSmall to AX5
1719
+ * @position Theme data: dynamicType.ts scales a theme's own type scale
1720
+ * on these curves when the reader changes their text size.
1721
+ *
1722
+ * Every row lists the twelve content size categories in order: xSmall, Small,
1723
+ * Medium, Large (the default), xLarge, xxLarge, xxxLarge, then the five
1724
+ * accessibility sizes AX1–AX5 that Larger Accessibility Sizes unlocks. A row
1725
+ * is what `UIFont.preferredFont(forTextStyle:compatibleWith:)` returns for that
1726
+ * style, and what Mobile Safari computes for the matching
1727
+ * `font: -apple-system-*` keyword (`title0` is Large Title, `title1`–`title3`
1728
+ * are Title 1–3).
1729
+ *
1730
+ * Only the styles a theme role scales on are listed (dynamicType.ts maps
1731
+ * each raw font-size step to one of them).
1732
+ *
1733
+ * Every row carries one or more `@source`: Apple's documentation, a WWDC
1734
+ * session, WebKit's own source, or a measurement naming its subject, the iOS
1735
+ * version and the date. dynamicType.test.ts enforces it.
1736
+ *
1737
+ * SYNC: When modified, update dynamicType.ts
1738
+ */
1739
+ const typography = {
1740
+ /**
1741
+ * Large Title, in points per content size category (xSmall … AX5).
1742
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1743
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1744
+ * each content size category, Oct 23 2026
1745
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1746
+ * computed font-size of `font: -apple-system-title0` at each category,
1747
+ * Oct 24 2026
1748
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1749
+ */
1750
+ largeTitle: [
1751
+ 31,
1752
+ 32,
1753
+ 33,
1754
+ 34,
1755
+ 36,
1756
+ 38,
1757
+ 40,
1758
+ 44,
1759
+ 48,
1760
+ 52,
1761
+ 56,
1762
+ 60
1763
+ ],
1764
+ /**
1765
+ * Title 1, in points per content size category (xSmall … AX5).
1766
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1767
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1768
+ * each content size category, Oct 23 2026
1769
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1770
+ * computed font-size of `font: -apple-system-title1` at each category,
1771
+ * Oct 24 2026
1772
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1773
+ */
1774
+ title1: [
1775
+ 25,
1776
+ 26,
1777
+ 27,
1778
+ 28,
1779
+ 30,
1780
+ 32,
1781
+ 34,
1782
+ 38,
1783
+ 43,
1784
+ 48,
1785
+ 53,
1786
+ 58
1787
+ ],
1788
+ /**
1789
+ * Title 2, in points per content size category (xSmall … AX5).
1790
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1791
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1792
+ * each content size category, Oct 23 2026
1793
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1794
+ * computed font-size of `font: -apple-system-title2` at each category,
1795
+ * Oct 24 2026
1796
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1797
+ */
1798
+ title2: [
1799
+ 19,
1800
+ 20,
1801
+ 21,
1802
+ 22,
1803
+ 24,
1804
+ 26,
1805
+ 28,
1806
+ 34,
1807
+ 39,
1808
+ 44,
1809
+ 50,
1810
+ 56
1811
+ ],
1812
+ /**
1813
+ * Title 3, in points per content size category (xSmall … AX5).
1814
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1815
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1816
+ * each content size category, Oct 23 2026
1817
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1818
+ * computed font-size of `font: -apple-system-title3` at each category,
1819
+ * Oct 24 2026
1820
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1821
+ */
1822
+ title3: [
1823
+ 17,
1824
+ 18,
1825
+ 19,
1826
+ 20,
1827
+ 22,
1828
+ 24,
1829
+ 26,
1830
+ 31,
1831
+ 37,
1832
+ 43,
1833
+ 49,
1834
+ 55
1835
+ ],
1836
+ /**
1837
+ * Body, in points per content size category (xSmall … AX5). Every
1838
+ * category has its own Body size, so Body alone identifies the category.
1839
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1840
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1841
+ * each content size category, Oct 23 2026
1842
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1843
+ * computed font-size of `font: -apple-system-body` at each category,
1844
+ * Oct 24 2026
1845
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1846
+ */
1847
+ body: [
1848
+ 14,
1849
+ 15,
1850
+ 16,
1851
+ 17,
1852
+ 19,
1853
+ 21,
1854
+ 23,
1855
+ 28,
1856
+ 33,
1857
+ 40,
1858
+ 47,
1859
+ 53
1860
+ ],
1861
+ /**
1862
+ * Footnote, in points per content size category (xSmall … AX5).
1863
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1864
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1865
+ * each content size category, Oct 23 2026
1866
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1867
+ * computed font-size of `font: -apple-system-footnote` at each category,
1868
+ * Oct 24 2026
1869
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1870
+ */
1871
+ footnote: [
1872
+ 12,
1873
+ 12,
1874
+ 12,
1875
+ 13,
1876
+ 15,
1877
+ 17,
1878
+ 19,
1879
+ 23,
1880
+ 27,
1881
+ 33,
1882
+ 38,
1883
+ 44
1884
+ ],
1885
+ /**
1886
+ * Caption 1, in points per content size category (xSmall … AX5).
1887
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1888
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1889
+ * each content size category, Oct 23 2026
1890
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1891
+ * computed font-size of `font: -apple-system-caption1` at each category,
1892
+ * Oct 24 2026
1893
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1894
+ */
1895
+ caption1: [
1896
+ 11,
1897
+ 11,
1898
+ 11,
1899
+ 12,
1900
+ 14,
1901
+ 16,
1902
+ 18,
1903
+ 22,
1904
+ 26,
1905
+ 32,
1906
+ 37,
1907
+ 43
1908
+ ],
1909
+ /**
1910
+ * Caption 2, in points per content size category (xSmall … AX5).
1911
+ * @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
1912
+ * iPhone 17 Pro, UIFont.preferredFont(forTextStyle:compatibleWith:) at
1913
+ * each content size category, Oct 23 2026
1914
+ * @source measured: Mobile Safari, iOS 26.2 simulator, iPhone 17 Pro,
1915
+ * computed font-size of `font: -apple-system-caption2` at each category,
1916
+ * Oct 24 2026
1917
+ * @source apple-docs https://developer.apple.com/design/human-interface-guidelines/typography
1918
+ */
1919
+ caption2: [
1920
+ 11,
1921
+ 11,
1922
+ 11,
1923
+ 11,
1924
+ 13,
1925
+ 15,
1926
+ 17,
1927
+ 20,
1928
+ 24,
1929
+ 29,
1930
+ 34,
1931
+ 40
1932
+ ]
1933
+ };
1934
+ //#endregion
1935
+ //#region src/Theme/dynamicType.ts
1936
+ /**
1937
+ * @file dynamicType.ts
1938
+ * @input The UIKit point sizes per text style (uikitTypography.ts), the raw
1939
+ * font-size tokens (textSizeDefaults below)
1940
+ * @output The reader's text size categories, the category a measured Body
1941
+ * size names, each raw font-size step's UIKit curve and scale, the rule that
1942
+ * gives a category its scales, the scaled raw font-size declarations every
1943
+ * theme emits and the semantic sizes it fixes, and the root Theme's text
1944
+ * size sync
1945
+ * @position Theme utility; read by themeCss.ts (every theme's font sizes, as
1946
+ * it writes them) and useThemeRootSync.ts (the root Theme keeps the scales
1947
+ * current)
1948
+ *
1949
+ * On iOS the reader picks a text size in Settings, and each UIKit text style
1950
+ * follows it on its own curve. Mobile Safari shows the choice only through
1951
+ * the `font: -apple-system-*` keywords, and the root font size stays 16px.
1952
+ * So the root Theme runtime keeps one hidden, empty probe with
1953
+ * `font: -apple-system-body` on `<body>`, reads the category from its size,
1954
+ * and gives the page that category's scales in an adopted stylesheet. It
1955
+ * reads again when the probe resizes. Each theme writes a font size as its
1956
+ * own value times the scale of the text style it plays, so only sizes move.
1957
+ * Every scale is 1 at the default category. macOS Safari knows the keyword,
1958
+ * but its fixed 13px Body names no category.
1959
+ *
1960
+ * Elsewhere every scale reads `env(preferred-text-scale)`, with 1 as the
1961
+ * fallback, so an engine without it changes nothing. Chromium on Android sets
1962
+ * it from the system font scale. A page that carries
1963
+ * `<meta name="text-scale" content="scale">` already scales its root font
1964
+ * size, so it gets no scales: rem sizes follow the root once.
1965
+ *
1966
+ * SYNC: When modified, update:
1967
+ * - dynamicType.test.ts
1968
+ * - themeCss.ts (readerTextSizeTokens)
1969
+ * - the font-size scale in every packages/themes/<name>/base.css and mobile-type.css
1970
+ */
1971
+ /** Core's raw font-size steps (14px base, 1.2 ratio), written without the `--astryx-` prefix. */
1972
+ const textSizeDefaults = {
1973
+ "--font-size-4xs": "0.375rem",
1974
+ "--font-size-3xs": "0.4375rem",
1975
+ "--font-size-2xs": "0.5rem",
1976
+ "--font-size-xs": "0.625rem",
1977
+ "--font-size-sm": "0.75rem",
1978
+ "--font-size-base": "0.875rem",
1979
+ "--font-size-lg": "1.0625rem",
1980
+ "--font-size-xl": "1.25rem",
1981
+ "--font-size-2xl": "1.5rem",
1982
+ "--font-size-3xl": "1.8125rem",
1983
+ "--font-size-4xl": "2.1875rem",
1984
+ "--font-size-5xl": "2.625rem"
1985
+ };
1986
+ /** The raw step each semantic size (`--text-*-size`) reads by default. */
1987
+ const typeScaleDefaults = {
1988
+ "--text-heading-1-size": "var(--font-size-2xl)",
1989
+ "--text-heading-2-size": "var(--font-size-xl)",
1990
+ "--text-heading-3-size": "var(--font-size-lg)",
1991
+ "--text-heading-4-size": "var(--font-size-base)",
1992
+ "--text-heading-5-size": "var(--font-size-sm)",
1993
+ "--text-heading-6-size": "var(--font-size-xs)",
1994
+ "--text-body-size": "var(--font-size-base)",
1995
+ "--text-large-size": "var(--font-size-lg)",
1996
+ "--text-label-size": "var(--font-size-base)",
1997
+ "--text-code-size": "var(--font-size-base)",
1998
+ "--text-supporting-size": "var(--font-size-sm)",
1999
+ "--text-display-1-size": "var(--font-size-5xl)",
2000
+ "--text-display-2-size": "var(--font-size-4xl)",
2001
+ "--text-display-3-size": "var(--font-size-3xl)"
2002
+ };
2003
+ /** Index of Large, the default category, in every table row. */
2004
+ const LARGE = 3;
2005
+ /** The table column whose Body size this is, or -1. */
2006
+ function columnForBodySize(px) {
2007
+ return typography.body.findIndex((size) => Math.abs(size - px) < .5);
2008
+ }
2009
+ /**
2010
+ * The UIKit text style each raw font-size step scales like. A step follows
2011
+ * the style of the roles built on it: the base step carries body, label, code
2012
+ * and heading 4 (Body); one step up, heading 3 and large text (Title 3); then
2013
+ * heading 2 (Title 2), heading 1 and display 3 (Title 1), display 2 and 1
2014
+ * (Large Title); one step down, supporting text and heading 5 (Footnote,
2015
+ * supporting text being the common one); heading 6 (Caption 1); the sub-scale
2016
+ * steps (Caption 2).
2017
+ */
2018
+ const FONT_SIZE_STEP_STYLES = {
2019
+ "--font-size-4xs": "caption2",
2020
+ "--font-size-3xs": "caption2",
2021
+ "--font-size-2xs": "caption2",
2022
+ "--font-size-xs": "caption1",
2023
+ "--font-size-sm": "footnote",
2024
+ "--font-size-base": "body",
2025
+ "--font-size-lg": "title3",
2026
+ "--font-size-xl": "title2",
2027
+ "--font-size-2xl": "title1",
2028
+ "--font-size-3xl": "title1",
2029
+ "--font-size-4xl": "largeTitle",
2030
+ "--font-size-5xl": "largeTitle"
2031
+ };
2032
+ /** The custom property that carries `style`'s scale. The root Theme's stylesheet sets it on `:root`. */
2033
+ function dynamicTypeScaleProperty(style) {
2034
+ return `--_dynamic-type-${style.replace(/[A-Z]/g, (m) => `-${m.toLowerCase()}`)}`;
2035
+ }
2036
+ /** The styles some step scales on, in table order. */
2037
+ const SCALED_STYLES = Object.keys(typography).filter((style) => Object.values(FONT_SIZE_STEP_STYLES).includes(style));
2038
+ /** A scale written to four decimals, without trailing zeros. */
2039
+ function formatScale(scale) {
2040
+ return String(Number(scale.toFixed(4)));
2041
+ }
2042
+ /**
2043
+ * The rule for one table column. Large and -1 get none. It also scales Core's
2044
+ * default steps in the base layer, below every theme. So a page or theme with
2045
+ * no type scale follows too.
2046
+ */
2047
+ function scaleRuleForColumn(column) {
2048
+ if (column < 0 || column === LARGE) return "";
2049
+ return scaleRule((style) => formatScale(typography[style][column] / typography[style][LARGE]));
2050
+ }
2051
+ /** The value every scale takes where the engine reports one text scale. */
2052
+ const PREFERRED_TEXT_SCALE = "env(preferred-text-scale, 1)";
2053
+ /**
2054
+ * The rule that gives every scaled style the engine's one text scale. The
2055
+ * system font scale on Android grows all text by the same factor.
2056
+ */
2057
+ function preferredTextScaleRule() {
2058
+ return scaleRule(() => PREFERRED_TEXT_SCALE);
2059
+ }
2060
+ function scaleRule(scaleOf) {
2061
+ const declarations = (entries) => entries.map(([name, value]) => ` ${name}: ${value};`).join("\n");
2062
+ return `@layer astryx.base {\n:root {\n${declarations(prefixedEntries(scaledFontSizeEntries(textSizeDefaults)))}\n}\n}\n:root {\n${declarations(SCALED_STYLES.map((style) => [dynamicTypeScaleProperty(style), scaleOf(style)]))}\n}`;
2063
+ }
2064
+ /** Writes the shared tokens among `entries` with their `--astryx-` prefix; private `--_` names stay as they are. */
2065
+ function prefixedEntries(entries) {
2066
+ return entries.map(([name, value]) => [name.startsWith("--_") ? name : `--astryx-${name.slice(2)}`, value]);
2067
+ }
2068
+ /**
2069
+ * The private custom property holding a step's scaled size
2070
+ * (`--_scaled-font-size-base`). Only this module writes it, and only from a
2071
+ * fixed length, so the cap that reads the next step's can never read back a
2072
+ * variable a theme wrote: a theme that sets `--font-size-lg` to
2073
+ * `var(--font-size-base)`, at its root or in any adaptation rule, closes no
2074
+ * reference cycle.
2075
+ */
2076
+ function scaledStepProperty(step) {
2077
+ return `--_scaled-${step.slice(2)}`;
2078
+ }
2079
+ /**
2080
+ * The raw font-size writes a theme scales: for each step among `tokens` set
2081
+ * to a fixed length (`isFixedSize`), its private scaled size (the value times
2082
+ * its curve's scale, 1 when no category is set) and the step itself reading
2083
+ * it, as `[token, value]` pairs. A step written as a variable or relative to
2084
+ * its parent is left as written: it follows what it reads, so it never scales
2085
+ * twice. The caller emits them through its declaration checks.
2086
+ *
2087
+ * A step never outgrows the step above it. UIKit's curves differ: above
2088
+ * Large its smaller styles grow faster than its larger ones (a theme whose
2089
+ * ramp is tighter than UIKit's would see heading 2 pass heading 1 at the
2090
+ * largest accessibility sizes), and below Large Body shrinks faster than
2091
+ * Footnote (supporting text could pass body text). So each step is capped at
2092
+ * the next step's scaled size. When the theme's own step is no larger than
2093
+ * its next one, as in every ramp `typography.scale` generates, that cap is
2094
+ * the theme's own size at Large and binds at every other category; for a
2095
+ * ramp that is out of order, or a next step this block does not set (it
2096
+ * keeps the scaled size it inherits), the cap never goes below the step's own
2097
+ * size, so the theme's sizes at Large stay exactly its own. A next step the
2098
+ * block writes as a variable caps nothing: the theme tied it to what it reads.
2099
+ */
2100
+ function scaledFontSizeEntries(tokens) {
2101
+ const steps = Object.keys(FONT_SIZE_STEP_STYLES);
2102
+ const fixedValue = (name) => {
2103
+ const value = name && tokens[name] || "";
2104
+ return isFixedSize(value) ? { value } : null;
2105
+ };
2106
+ return steps.flatMap((name, index) => {
2107
+ const own = fixedValue(name);
2108
+ if (own === null) return [];
2109
+ const { value } = own;
2110
+ const scaled = `calc(${value} * var(${dynamicTypeScaleProperty(FONT_SIZE_STEP_STYLES[name])}, 1))`;
2111
+ const next = steps[index + 1];
2112
+ const nextOwn = fixedValue(next);
2113
+ let expression = scaled;
2114
+ if (next !== void 0 && (tokens[next] === void 0 || nextOwn)) {
2115
+ const ownPx = lengthInPx(value);
2116
+ const nextPx = nextOwn && lengthInPx(nextOwn.value);
2117
+ expression = ownPx !== null && nextPx != null && ownPx <= nextPx ? `min(${scaled}, var(${scaledStepProperty(next)}))` : `min(${scaled}, max(var(${scaledStepProperty(next)}, ${value}), ${value}))`;
2118
+ }
2119
+ return [[scaledStepProperty(name), expression], [name, `var(${scaledStepProperty(name)})`]];
2120
+ });
2121
+ }
2122
+ /**
2123
+ * The raw step each semantic font size reads in the core defaults
2124
+ * (`--text-supporting-size` reads `--font-size-sm`), in their order.
2125
+ */
2126
+ const TEXT_SIZE_STEPS = Object.entries(typeScaleDefaults).flatMap(([name, value]) => {
2127
+ const step = /^var\((--font-size-[a-z0-9]+)\)$/.exec(value)?.[1];
2128
+ return name.endsWith("-size") && step !== void 0 && step in FONT_SIZE_STEP_STYLES ? [[name, step]] : [];
2129
+ });
2130
+ /**
2131
+ * Whether a size stays where the theme put it. That is a length, such as
2132
+ * `12px`, `0.75rem` or a `clamp()` of them, that reads no variable. Sizes in
2133
+ * `em` or `%` follow the parent.
2134
+ */
2135
+ function isFixedSize(value) {
2136
+ return /\d[a-z]/i.test(value) && !/var\(|%|\d(?:em|ex|ch|ic|cap|lh)\b/i.test(value);
2137
+ }
2138
+ /**
2139
+ * A block's token declarations, in order, with its font sizes following the
2140
+ * reader's text size: each raw font-size step it writes at a fixed length
2141
+ * becomes its private scaled size and the step reading it
2142
+ * (`scaledFontSizeEntries`), and each semantic size (`--text-*-size`) it
2143
+ * fixes at a length becomes that length times the scale of the step that
2144
+ * size reads by default, so supporting text fixed at `12px` scales like
2145
+ * Footnote. A size that reads a variable follows what it reads, and one
2146
+ * relative to its parent (`em`, `%`) follows the parent, so neither scales
2147
+ * twice; a fixed size is not capped, since the theme that fixes it also fixes
2148
+ * its place in the hierarchy. A step the block does not write keeps the value
2149
+ * it inherits, already scaled.
2150
+ * Every other declaration keeps its value and its place.
2151
+ */
2152
+ function readerTextSizeEntries(entries) {
2153
+ const scaled = new Map(scaledFontSizeEntries(Object.fromEntries(entries)));
2154
+ const fixedSteps = new Map(TEXT_SIZE_STEPS);
2155
+ return entries.flatMap(([name, raw]) => {
2156
+ const step = scaled.get(name);
2157
+ if (step !== void 0) {
2158
+ const property = scaledStepProperty(name);
2159
+ return [[property, scaled.get(property) ?? ""], [name, step]];
2160
+ }
2161
+ const value = raw;
2162
+ const reads = fixedSteps.get(name);
2163
+ return [[name, reads !== void 0 && isFixedSize(value) ? `calc(${value} * var(${dynamicTypeScaleProperty(FONT_SIZE_STEP_STYLES[reads])}, 1))` : raw]];
2164
+ });
2165
+ }
2166
+ /**
2167
+ * `readerTextSizeEntries` for a token record written with the `--astryx-`
2168
+ * prefix, the form a compiled theme stylesheet uses. Names come back with the
2169
+ * same prefix; the private scaled sizes keep their `--_` names.
2170
+ */
2171
+ function readerTextSizeTokens(tokens) {
2172
+ const written = /* @__PURE__ */ new Map();
2173
+ const entries = Object.entries(tokens).map(([name, value]) => {
2174
+ const bare = name.startsWith("--astryx-") ? `--${name.slice(9)}` : name;
2175
+ written.set(bare, name);
2176
+ return [bare, value];
2177
+ });
2178
+ const out = {};
2179
+ for (const [name, value] of readerTextSizeEntries(entries)) out[written.get(name) ?? name] = value;
2180
+ return out;
2181
+ }
2182
+ /** A `px` or `rem` length in px (16px to the rem); null for anything else. */
2183
+ function lengthInPx(value) {
2184
+ const match = /^(-?(?:\d+(?:\.\d+)?|\.\d+))(px|rem)$/.exec(value?.trim() ?? "");
2185
+ if (match == null) return null;
2186
+ return Number(match[1]) * (match[2] === "rem" ? 16 : 1);
2187
+ }
2188
+ //#endregion
1712
2189
  //#region src/Theme/propGuards.ts
1713
2190
  /** An authored value as CSS, or undefined when it cannot stay one declaration. */
1714
2191
  function safeValue(value) {
@@ -1814,14 +2291,14 @@ function rootTokens(source) {
1814
2291
  ...source.localTokens
1815
2292
  };
1816
2293
  if (source.syntax) Object.assign(tokens, syntaxThemeStyle(source.syntax));
1817
- return tokens;
2294
+ return readerTextSizeTokens(tokens);
1818
2295
  }
1819
2296
  /** Token values one adaptation rule rewrites. */
1820
2297
  function adaptedTokens(rule) {
1821
- return {
2298
+ return readerTextSizeTokens({
1822
2299
  ...bridgeComponentTokens(rule.tokens),
1823
2300
  ...rule.localTokens
1824
- };
2301
+ });
1825
2302
  }
1826
2303
  function rootRules(source) {
1827
2304
  const rules = [];
@@ -2015,6 +2492,92 @@ const ThemeStyle = defineComponent({
2015
2492
  }
2016
2493
  });
2017
2494
  //#endregion
2495
+ //#region src/Theme/textSizeSync.ts
2496
+ /**
2497
+ * @file textSizeSync.ts
2498
+ * @input The reader's text size, measured from a hidden
2499
+ * `font: -apple-system-body` probe, or `env(preferred-text-scale)`
2500
+ * @output syncReaderTextSize, which gives the page the scales dynamicType.ts
2501
+ * describes and returns the cleanup
2502
+ * @position Theme runtime; the root Theme (useThemeRootSync.ts) starts it
2503
+ */
2504
+ const TEXT_SIZE_PROBE = "data-astryx-text-size-probe";
2505
+ /** Each document's shared probe and stylesheet, and how many roots hold them. */
2506
+ const sharedSyncs = /* @__PURE__ */ new WeakMap();
2507
+ /**
2508
+ * Measure the reader's text size and give the page its scales; returns the
2509
+ * cleanup. Where the engine has no `font: -apple-system-body`, every scale
2510
+ * reads `env(preferred-text-scale)` instead, unless the page carries the
2511
+ * text-scale meta. Does nothing where the engine cannot construct a
2512
+ * stylesheet; where its Body size names no category (macOS Safari's fixed
2513
+ * 13px), every scale stays 1.
2514
+ *
2515
+ * The probe is a hidden, empty `font: -apple-system-body` box, 1em square,
2516
+ * appended to `<body>` outside every app subtree: it renders no text, and it
2517
+ * resizes when the reader's text size changes, which is when the size is read
2518
+ * again. The scales go to a stylesheet the document adopts, so nothing else is
2519
+ * added to the DOM or written on `<html>`. A document has one probe and one
2520
+ * stylesheet however many root Themes it holds: they share them, and the last
2521
+ * one to go removes them.
2522
+ */
2523
+ function syncReaderTextSize(doc) {
2524
+ let shared = sharedSyncs.get(doc);
2525
+ if (shared == null) {
2526
+ const stop = startReaderTextSizeSync(doc);
2527
+ if (stop == null) return;
2528
+ shared = {
2529
+ holders: 0,
2530
+ stop
2531
+ };
2532
+ sharedSyncs.set(doc, shared);
2533
+ }
2534
+ shared.holders += 1;
2535
+ const held = shared;
2536
+ let isReleased = false;
2537
+ return () => {
2538
+ if (isReleased) return;
2539
+ isReleased = true;
2540
+ held.holders -= 1;
2541
+ if (held.holders === 0) {
2542
+ sharedSyncs.delete(doc);
2543
+ held.stop();
2544
+ }
2545
+ };
2546
+ }
2547
+ function startReaderTextSizeSync(doc) {
2548
+ const view = doc.defaultView;
2549
+ if (view == null || typeof view.CSSStyleSheet !== "function" || !Array.isArray(doc.adoptedStyleSheets)) return;
2550
+ if (!view.CSS?.supports?.("font", "-apple-system-body")) return startPreferredTextScale(doc, view);
2551
+ const probe = doc.createElement("span");
2552
+ probe.setAttribute("aria-hidden", "true");
2553
+ probe.setAttribute(TEXT_SIZE_PROBE, "");
2554
+ probe.style.cssText = "position:fixed;inset:0 auto auto 0;inline-size:1em;block-size:1em;visibility:hidden;pointer-events:none;font:-apple-system-body";
2555
+ (doc.body ?? doc.documentElement).append(probe);
2556
+ const sheet = new view.CSSStyleSheet();
2557
+ doc.adoptedStyleSheets = [...doc.adoptedStyleSheets, sheet];
2558
+ const read = () => sheet.replaceSync(scaleRuleForColumn(columnForBodySize(Number.parseFloat(view.getComputedStyle(probe).fontSize))));
2559
+ const stopObserving = observeResize(probe, read);
2560
+ return () => {
2561
+ stopObserving();
2562
+ probe.remove();
2563
+ doc.adoptedStyleSheets = doc.adoptedStyleSheets.filter((adopted) => adopted !== sheet);
2564
+ };
2565
+ }
2566
+ /**
2567
+ * Give every scale `env(preferred-text-scale)`, which the engine keeps
2568
+ * current, so nothing is measured or observed. Does nothing on a page whose
2569
+ * text-scale meta already scales the root font size.
2570
+ */
2571
+ function startPreferredTextScale(doc, view) {
2572
+ if (doc.querySelector("meta[name=\"text-scale\"][content=\"scale\" i]") != null) return;
2573
+ const sheet = new view.CSSStyleSheet();
2574
+ sheet.replaceSync(preferredTextScaleRule());
2575
+ doc.adoptedStyleSheets = [...doc.adoptedStyleSheets, sheet];
2576
+ return () => {
2577
+ doc.adoptedStyleSheets = doc.adoptedStyleSheets.filter((adopted) => adopted !== sheet);
2578
+ };
2579
+ }
2580
+ //#endregion
2018
2581
  //#region src/Theme/useThemeRootSync.ts
2019
2582
  const entries = [];
2020
2583
  let baseSnapshot = null;
@@ -2053,7 +2616,9 @@ function useThemeRootSync(isNested, themeName, mode) {
2053
2616
  name: themeName,
2054
2617
  mode
2055
2618
  };
2619
+ let stopTextSizeSync;
2056
2620
  onMounted(() => {
2621
+ stopTextSizeSync = syncReaderTextSize(document);
2057
2622
  if (entries.length === 0) baseSnapshot = capture();
2058
2623
  entries.push(entry);
2059
2624
  apply(entry);
@@ -2062,6 +2627,7 @@ function useThemeRootSync(isNested, themeName, mode) {
2062
2627
  if (entries[entries.length - 1] === entry) apply(entry);
2063
2628
  });
2064
2629
  onBeforeUnmount(() => {
2630
+ stopTextSizeSync?.();
2065
2631
  const index = entries.lastIndexOf(entry);
2066
2632
  if (index >= 0) entries.splice(index, 1);
2067
2633
  const top = entries[entries.length - 1];
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Thumbnail-BvXGkihb.js";
1
+ import { t as _sfc_main } from "../Thumbnail-CYRPjf1Y.js";
2
2
  export { _sfc_main as Thumbnail };
@@ -1,9 +1,9 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
- import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
3
- import { t as _sfc_main$2 } from "./IconButton-BmMIccb4.js";
4
- import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
5
- import { t as _sfc_main$3 } from "./Tooltip-sESBLZwR.js";
6
- import { t as _sfc_main$4 } from "./Spinner-D8YW_EgO.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
2
+ import { t as _sfc_main$1 } from "./Icon-CU3412Fe.js";
3
+ import { t as _sfc_main$2 } from "./IconButton-C5U75I5C.js";
4
+ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
5
+ import { t as _sfc_main$3 } from "./Tooltip-BfKegFfq.js";
6
+ import { t as _sfc_main$4 } from "./Spinner-CTWLR75x.js";
7
7
  import { t as _sfc_main$5 } from "./Skeleton-CrgWxJgr.js";
8
8
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
9
9
  import "../styles/thumbnail.css";
@@ -1,17 +1,17 @@
1
- import { n as _sfc_main$2 } from "./BottomSheet-BTFPLoGw.js";
2
- import { t as _sfc_main$3 } from "./Icon-Dosui-zD.js";
3
- import { t as _sfc_main$4 } from "./VisuallyHidden-C7NN3VEP.js";
4
- import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
1
+ import { n as _sfc_main$2 } from "./BottomSheet-CMukh1iI.js";
2
+ import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
3
+ import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
5
4
  import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
5
+ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
6
6
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
7
7
  import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
8
- import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-HrhF3lEZ.js";
9
- import { t as _sfc_main$6 } from "./FieldIcon--Qng2Cup.js";
10
- import { t as _sfc_main$7 } from "./IconButton-BmMIccb4.js";
11
- import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
8
+ import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-psKf3ano.js";
9
+ import { t as _sfc_main$6 } from "./FieldIcon-CxTnEb4Y.js";
10
+ import { t as _sfc_main$7 } from "./IconButton-C5U75I5C.js";
11
+ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
12
12
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
13
- import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
14
- import { t as _sfc_main$8 } from "./Spinner-D8YW_EgO.js";
13
+ import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
14
+ import { t as _sfc_main$8 } from "./Spinner-CTWLR75x.js";
15
15
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
16
16
  import { t as _sfc_main$9 } from "./PickerWheel-CSwUYfes.js";
17
17
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
@@ -1,2 +1,2 @@
1
- import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-DpXXD9nP.js";
1
+ import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-CfOpGR_m.js";
2
2
  export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TimeInput-CwCYQa51.js";
1
+ import { t as _sfc_main } from "../TimeInput-Dj5b3rL3.js";
2
2
  export { _sfc_main as TimeInput };