@ionic/core 9.0.12-dev.11794863026.1771891a → 9.0.12-dev.11794938426.180bdfeb

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 (574) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-accordion.js +1 -1
  4. package/components/ion-action-sheet.js +1 -1
  5. package/components/ion-alert.js +1 -1
  6. package/components/ion-app.js +1 -1
  7. package/components/ion-avatar.js +1 -1
  8. package/components/ion-back-button.js +1 -1
  9. package/components/ion-backdrop.js +1 -1
  10. package/components/ion-badge.js +1 -1
  11. package/components/ion-breadcrumb.js +1 -1
  12. package/components/ion-breadcrumbs.js +1 -1
  13. package/components/ion-button.js +1 -1
  14. package/components/ion-buttons.js +1 -1
  15. package/components/ion-card-content.js +1 -1
  16. package/components/ion-card-header.js +1 -1
  17. package/components/ion-card-subtitle.js +1 -1
  18. package/components/ion-card-title.js +1 -1
  19. package/components/ion-card.js +1 -1
  20. package/components/ion-checkbox.js +1 -1
  21. package/components/ion-chip.js +1 -1
  22. package/components/ion-col.js +1 -1
  23. package/components/ion-content.js +1 -1
  24. package/components/ion-datetime-button.js +1 -1
  25. package/components/ion-datetime.js +1 -1
  26. package/components/ion-divider.js +1 -1
  27. package/components/ion-fab-button.js +1 -1
  28. package/components/ion-fab-list.js +1 -1
  29. package/components/ion-fab.js +1 -1
  30. package/components/ion-footer.js +1 -1
  31. package/components/ion-gallery-item.js +1 -1
  32. package/components/ion-gallery.js +1 -1
  33. package/components/ion-grid.js +1 -1
  34. package/components/ion-header.js +1 -1
  35. package/components/ion-icon.js +1 -1
  36. package/components/ion-img.js +1 -1
  37. package/components/ion-infinite-scroll-content.js +1 -1
  38. package/components/ion-infinite-scroll.js +1 -1
  39. package/components/ion-input-otp.js +1 -1
  40. package/components/ion-input-password-toggle.js +1 -1
  41. package/components/ion-input.js +1 -1
  42. package/components/ion-item-divider.js +1 -1
  43. package/components/ion-item-group.js +1 -1
  44. package/components/ion-item-option.js +1 -1
  45. package/components/ion-item-options.js +1 -1
  46. package/components/ion-item-sliding.js +1 -1
  47. package/components/ion-item.js +1 -1
  48. package/components/ion-label.js +1 -1
  49. package/components/ion-list-header.js +1 -1
  50. package/components/ion-list.js +1 -1
  51. package/components/ion-loading.js +1 -1
  52. package/components/ion-menu-button.js +1 -1
  53. package/components/ion-menu-toggle.js +1 -1
  54. package/components/ion-menu.js +1 -1
  55. package/components/ion-modal.js +1 -1
  56. package/components/ion-nav-link.js +1 -1
  57. package/components/ion-nav.js +1 -1
  58. package/components/ion-note.js +1 -1
  59. package/components/ion-picker-column-option.js +1 -1
  60. package/components/ion-picker-column.js +1 -1
  61. package/components/ion-picker.js +1 -1
  62. package/components/ion-popover.js +1 -1
  63. package/components/ion-progress-bar.js +1 -1
  64. package/components/ion-radio-group.js +1 -1
  65. package/components/ion-radio.js +1 -1
  66. package/components/ion-range.js +1 -1
  67. package/components/ion-refresher-content.js +1 -1
  68. package/components/ion-refresher.js +1 -1
  69. package/components/ion-reorder-group.js +1 -1
  70. package/components/ion-reorder.js +1 -1
  71. package/components/ion-ripple-effect.js +1 -1
  72. package/components/ion-route-redirect.js +1 -1
  73. package/components/ion-route.js +1 -1
  74. package/components/ion-router-link.js +1 -1
  75. package/components/ion-router-outlet.js +1 -1
  76. package/components/ion-router.js +1 -1
  77. package/components/ion-row.js +1 -1
  78. package/components/ion-searchbar.js +1 -1
  79. package/components/ion-segment-button.js +1 -1
  80. package/components/ion-segment-content.js +1 -1
  81. package/components/ion-segment-view.js +1 -1
  82. package/components/ion-segment.js +1 -1
  83. package/components/ion-select-modal.js +1 -1
  84. package/components/ion-select-option.js +1 -1
  85. package/components/ion-select-popover.js +1 -1
  86. package/components/ion-select.js +1 -1
  87. package/components/ion-skeleton-text.js +1 -1
  88. package/components/ion-spinner.js +1 -1
  89. package/components/ion-split-pane.js +1 -1
  90. package/components/ion-tab-bar.js +1 -1
  91. package/components/ion-tab-button.js +1 -1
  92. package/components/ion-tab.js +1 -1
  93. package/components/ion-tabs.js +1 -1
  94. package/components/ion-text.js +1 -1
  95. package/components/ion-textarea.js +1 -1
  96. package/components/ion-thumbnail.js +1 -1
  97. package/components/ion-title.js +1 -1
  98. package/components/ion-toast.js +1 -1
  99. package/components/ion-toggle.js +1 -1
  100. package/components/ion-toolbar.js +1 -1
  101. package/components/{p-CE7N7-7s.js → p-2sLD_xu6.js} +1 -1
  102. package/components/{p-DFjX2uxL.js → p-8bQyQ-A-.js} +1 -1
  103. package/components/p-9SIQ7h0a.js +4 -0
  104. package/{dist/ionic/p-BPA4-c6T.js → components/p-B5xGjUrw.js} +1 -1
  105. package/components/{p-cm7z1a2E.js → p-BGbQbTAV.js} +1 -1
  106. package/components/p-BIe4HWHT.js +4 -0
  107. package/components/p-BPVr2bEi.js +4 -0
  108. package/components/{p-BYyhRtNC.js → p-BRLifC9t.js} +1 -1
  109. package/components/{p-CyvtM0H1.js → p-BTu2WI4z.js} +1 -1
  110. package/components/p-BX622giM.js +4 -0
  111. package/components/{p-CiEBXUnh.js → p-BXM-paQi.js} +1 -1
  112. package/components/p-Ba0pOoA8.js +4 -0
  113. package/components/p-BjjY6jOq.js +4 -0
  114. package/components/{p-B8TMb1l1.js → p-BpPHtMLg.js} +1 -1
  115. package/components/{p-LoXpKVmq.js → p-BrfOWAVf.js} +1 -1
  116. package/components/p-BsCaQNrX.js +4 -0
  117. package/components/p-BzAhIYXH.js +4 -0
  118. package/components/p-CDyvJnTO.js +4 -0
  119. package/components/p-CJawym4B.js +4 -0
  120. package/components/{p-DbKRl9BQ.js → p-CZtEtGGD.js} +1 -1
  121. package/components/{p-Dce65ayP.js → p-CajBjgLi.js} +1 -1
  122. package/components/{p-7-zF1amS.js → p-CdHuHArh.js} +1 -1
  123. package/components/{p-Ce7LvQXN.js → p-CgQ7_O5k.js} +1 -1
  124. package/components/{p-aC2BXYlR.js → p-Cq-9cyXX.js} +1 -1
  125. package/components/p-D1m8Yjhz.js +4 -0
  126. package/components/{p-CvxND1-3.js → p-D6f0xBGY.js} +1 -1
  127. package/components/{p-BHiggB_l.js → p-DAWK42bz.js} +1 -1
  128. package/{dist/ionic/p-DRbid4Vh.js → components/p-DCRjYLov.js} +1 -1
  129. package/components/{p-65JoU6_J.js → p-DDKsXI3n.js} +1 -1
  130. package/components/{p-Fvw018Ly.js → p-DFHZOMhQ.js} +1 -1
  131. package/components/{p-B7ExaLVL.js → p-DIyhmuo-.js} +1 -1
  132. package/components/{p-CehdCO1m.js → p-DL3uscQR.js} +1 -1
  133. package/components/{p-C2UFZTSU.js → p-DNAlvIsW.js} +1 -1
  134. package/components/{p-3Qs1sQxU.js → p-DO17TLK9.js} +1 -1
  135. package/components/{p-B_o50gvn.js → p-DSEHMF7Y.js} +1 -1
  136. package/components/{p-Bslbwrtt.js → p-DSxRYE_f.js} +1 -1
  137. package/{dist/ionic/p-B7XMQegr.js → components/p-DVDuYWYf.js} +1 -1
  138. package/components/{p-iNIvlAGo.js → p-DVoIsLVC.js} +1 -1
  139. package/components/{p-DggDKmuZ.js → p-DXn1957M.js} +1 -1
  140. package/components/p-DZaKOMM7.js +4 -0
  141. package/components/p-DgL3phdm.js +4 -0
  142. package/components/p-DmlpWO08.js +4 -0
  143. package/components/{p-DRIPgese.js → p-Dq9hq9j2.js} +1 -1
  144. package/{dist/ionic/p-2gcJ-f11.js → components/p-Dqy0AJBg.js} +1 -1
  145. package/components/{p-3SVb97od.js → p-EPCb6-n7.js} +1 -1
  146. package/components/{p-Da8LCPwo.js → p-H6H02QKs.js} +1 -1
  147. package/components/{p-CAekGbOf.js → p-JGQZIl_3.js} +1 -1
  148. package/components/{p-HbJahPGd.js → p-K0l20Iqs.js} +1 -1
  149. package/components/p-V4Qnwbju.js +4 -0
  150. package/components/p-YAbVl27R.js +4 -0
  151. package/components/{p-YAWKbhjV.js → p-f2BL1rLD.js} +1 -1
  152. package/components/{p-DmhWSY74.js → p-lm02RhiY.js} +1 -1
  153. package/components/p-mNz8l7Bc.js +4 -0
  154. package/components/{p-CzDkZh7h.js → p-vLIxxolw.js} +1 -1
  155. package/components/{p-CXzJ234J.js → p-zEYXdQGH.js} +1 -1
  156. package/dist/cjs/{animation-zKIdNEmG.js → animation-CeH2W-qd.js} +1 -1
  157. package/dist/cjs/{app-globals-BDrxn8eR.js → app-globals-f7eomsHa.js} +1 -1
  158. package/dist/cjs/{attribute-controller-23GLe3Vk.js → attribute-controller-mEO_Z0Wr.js} +102 -35
  159. package/dist/cjs/{button-active-CY7cZvH5.js → button-active-PwgL_R0V.js} +1 -1
  160. package/dist/cjs/{format-C6r4Asi4.js → format-PsbNYAbf.js} +1 -1
  161. package/dist/cjs/{framework-delegate-CAdDEnFS.js → framework-delegate-D-XPcdY0.js} +2 -2
  162. package/dist/cjs/{helpers-DHNLF4fD.js → helpers-jmlMCGoQ.js} +1 -1
  163. package/dist/cjs/{index-C6QFfpm5.js → index-B5yv8_lH.js} +2 -2
  164. package/dist/cjs/{index-DhGCo_n8.js → index-CHRTOQP9.js} +2 -2
  165. package/dist/cjs/{index-lD5wTj_b.js → index-Cco7L1eB.js} +4 -4
  166. package/dist/cjs/{index-CB1PuDlX.js → index-Cn0FjjMN.js} +86 -40
  167. package/dist/cjs/{index-B3s1jjBU.js → index-DRLvcDji.js} +1 -1
  168. package/dist/cjs/{index-C3pmpKlo.js → index-R2zOwQVz.js} +4 -4
  169. package/dist/cjs/index.cjs.js +11 -11
  170. package/dist/cjs/{input-shims-CjkWx7ae.js → input-shims-obkB-KvI.js} +3 -3
  171. package/dist/cjs/{input.utils-CD4DNiim.js → input.utils-B_HfgEQx.js} +1 -1
  172. package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -5
  173. package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -13
  174. package/dist/cjs/ion-alert.cjs.entry.js +14 -12
  175. package/dist/cjs/ion-app_8.cjs.entry.js +30 -22
  176. package/dist/cjs/ion-avatar_3.cjs.entry.js +10 -7
  177. package/dist/cjs/ion-back-button.cjs.entry.js +6 -5
  178. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -3
  179. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +8 -6
  180. package/dist/cjs/ion-button_2.cjs.entry.js +12 -12
  181. package/dist/cjs/ion-card_5.cjs.entry.js +21 -16
  182. package/dist/cjs/ion-checkbox.cjs.entry.js +6 -5
  183. package/dist/cjs/ion-chip.cjs.entry.js +4 -3
  184. package/dist/cjs/ion-col_3.cjs.entry.js +10 -7
  185. package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -5
  186. package/dist/cjs/ion-datetime.cjs.entry.js +19 -28
  187. package/dist/cjs/ion-divider.cjs.entry.js +4 -3
  188. package/dist/cjs/ion-fab_3.cjs.entry.js +10 -7
  189. package/dist/cjs/ion-gallery-item.cjs.entry.js +4 -3
  190. package/dist/cjs/ion-gallery.cjs.entry.js +5 -4
  191. package/dist/cjs/ion-img.cjs.entry.js +5 -4
  192. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +9 -7
  193. package/dist/cjs/ion-input-otp.cjs.entry.js +5 -4
  194. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +4 -3
  195. package/dist/cjs/ion-input.cjs.entry.js +20 -10
  196. package/dist/cjs/ion-item-option_3.cjs.entry.js +11 -8
  197. package/dist/cjs/ion-item_8.cjs.entry.js +34 -25
  198. package/dist/cjs/ion-loading.cjs.entry.js +12 -10
  199. package/dist/cjs/ion-menu_3.cjs.entry.js +14 -11
  200. package/dist/cjs/ion-modal.cjs.entry.js +27 -18
  201. package/dist/cjs/ion-nav_2.cjs.entry.js +12 -10
  202. package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -6
  203. package/dist/cjs/ion-picker-column.cjs.entry.js +5 -4
  204. package/dist/cjs/ion-picker.cjs.entry.js +4 -3
  205. package/dist/cjs/ion-popover.cjs.entry.js +15 -13
  206. package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -5
  207. package/dist/cjs/ion-radio_2.cjs.entry.js +8 -6
  208. package/dist/cjs/ion-range.cjs.entry.js +9 -8
  209. package/dist/cjs/ion-refresher_2.cjs.entry.js +13 -11
  210. package/dist/cjs/ion-reorder_2.cjs.entry.js +11 -9
  211. package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -4
  212. package/dist/cjs/ion-route_4.cjs.entry.js +15 -11
  213. package/dist/cjs/ion-searchbar.cjs.entry.js +19 -9
  214. package/dist/cjs/ion-segment-content.cjs.entry.js +4 -3
  215. package/dist/cjs/ion-segment-view.cjs.entry.js +5 -4
  216. package/dist/cjs/ion-segment_2.cjs.entry.js +12 -10
  217. package/dist/cjs/ion-select-modal.cjs.entry.js +11 -10
  218. package/dist/cjs/ion-select_3.cjs.entry.js +20 -17
  219. package/dist/cjs/ion-spinner.cjs.entry.js +5 -4
  220. package/dist/cjs/ion-split-pane.cjs.entry.js +6 -5
  221. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +14 -12
  222. package/dist/cjs/ion-tab_2.cjs.entry.js +10 -8
  223. package/dist/cjs/ion-text.cjs.entry.js +6 -5
  224. package/dist/cjs/ion-textarea.cjs.entry.js +9 -8
  225. package/dist/cjs/ion-toast.cjs.entry.js +11 -10
  226. package/dist/cjs/ion-toggle.cjs.entry.js +9 -8
  227. package/dist/cjs/{ionic-global-CZX42KL4.js → ionic-global-BsjzbnZk.js} +4 -4
  228. package/dist/cjs/ionic.cjs.js +5 -5
  229. package/dist/cjs/{ios.transition-BjOYqzH0.js → ios.transition-Chk7LwO2.js} +4 -4
  230. package/dist/cjs/{item-multiple-inputs-D0lzjl68.js → item-multiple-inputs-DRBi1Q76.js} +1 -1
  231. package/dist/cjs/loader.cjs.js +4 -4
  232. package/dist/cjs/{md.transition-C4i7l6ui.js → md.transition-D-k4hn-o.js} +4 -4
  233. package/dist/cjs/overlay-focus-boundary-DCv6Y3fL.js +42 -0
  234. package/dist/cjs/{overlays-DziOxcCT.js → overlays-DMW90-Kg.js} +16 -45
  235. package/dist/cjs/page-restore-Dq2Pkln0.js +90 -0
  236. package/dist/cjs/{scroll-hide-controller-BSVBCkbw.js → scroll-hide-controller-GvReYiKK.js} +2 -2
  237. package/dist/cjs/{select-option-render-X_iZ-xeh.js → select-option-render-nr0lBnYb.js} +2 -2
  238. package/dist/cjs/{slot-mutation-controller-BS-L1szN.js → slot-mutation-controller-DKkmhOKO.js} +1 -1
  239. package/dist/cjs/{status-tap-D5yiKwdj.js → status-tap-oCDuuJng.js} +3 -3
  240. package/dist/cjs/{swipe-back-xM_5R5s-.js → swipe-back-DZZ4EcCX.js} +2 -2
  241. package/dist/collection/collection-manifest.json +1 -1
  242. package/dist/collection/components/action-sheet/action-sheet.js +4 -3
  243. package/dist/collection/components/alert/alert.js +3 -2
  244. package/dist/collection/components/button/button.js +4 -6
  245. package/dist/collection/components/card/card.js +7 -7
  246. package/dist/collection/components/datetime/datetime.ionic.css +0 -20
  247. package/dist/collection/components/datetime/datetime.ios.css +0 -10
  248. package/dist/collection/components/datetime/datetime.js +8 -18
  249. package/dist/collection/components/datetime/datetime.md.css +0 -10
  250. package/dist/collection/components/input/input.js +18 -3
  251. package/dist/collection/components/item/item.js +10 -9
  252. package/dist/collection/components/loading/loading.js +3 -2
  253. package/dist/collection/components/modal/modal.ionic.css +8 -0
  254. package/dist/collection/components/modal/modal.ios.css +8 -0
  255. package/dist/collection/components/modal/modal.js +5 -4
  256. package/dist/collection/components/modal/modal.md.css +8 -0
  257. package/dist/collection/components/modal/safe-area-utils.js +9 -2
  258. package/dist/collection/components/nav/nav.js +1 -1
  259. package/dist/collection/components/nav-link/nav-link.js +1 -1
  260. package/dist/collection/components/note/note.js +2 -2
  261. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  262. package/dist/collection/components/popover/popover.ionic.css +8 -0
  263. package/dist/collection/components/popover/popover.ios.css +8 -0
  264. package/dist/collection/components/popover/popover.js +3 -2
  265. package/dist/collection/components/popover/popover.md.css +8 -0
  266. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  267. package/dist/collection/components/range/range.js +3 -3
  268. package/dist/collection/components/refresher/refresher.js +1 -1
  269. package/dist/collection/components/refresher-content/refresher-content.js +2 -2
  270. package/dist/collection/components/reorder/reorder.js +2 -2
  271. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  272. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  273. package/dist/collection/components/router-link/router-link.js +2 -2
  274. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  275. package/dist/collection/components/row/row.js +2 -2
  276. package/dist/collection/components/searchbar/searchbar.js +22 -4
  277. package/dist/collection/components/segment/segment.js +2 -2
  278. package/dist/collection/components/segment-button/segment-button.js +2 -2
  279. package/dist/collection/components/segment-content/segment-content.js +1 -1
  280. package/dist/collection/components/segment-view/segment-view.js +2 -2
  281. package/dist/collection/components/select/select.js +2 -2
  282. package/dist/collection/components/select-modal/select-modal.js +2 -2
  283. package/dist/collection/components/select-option/select-option.js +1 -1
  284. package/dist/collection/components/select-popover/select-popover.js +2 -2
  285. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  286. package/dist/collection/components/spinner/spinner.js +1 -1
  287. package/dist/collection/components/split-pane/split-pane.js +2 -2
  288. package/dist/collection/components/tab/tab.js +2 -2
  289. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  290. package/dist/collection/components/tab-button/tab-button.js +2 -2
  291. package/dist/collection/components/tabs/tabs.js +1 -1
  292. package/dist/collection/components/text/text.js +2 -2
  293. package/dist/collection/components/textarea/textarea.js +2 -2
  294. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  295. package/dist/collection/components/title/title.js +2 -2
  296. package/dist/collection/components/toast/toast.js +2 -2
  297. package/dist/collection/components/toggle/toggle.js +3 -3
  298. package/dist/collection/components/toolbar/toolbar.js +2 -2
  299. package/dist/collection/utils/attribute-controller.js +101 -34
  300. package/dist/collection/utils/forms/index.js +1 -0
  301. package/dist/collection/utils/forms/page-restore.js +46 -0
  302. package/dist/collection/utils/overlay-focus-boundary.js +37 -0
  303. package/dist/collection/utils/overlays.js +12 -41
  304. package/dist/docs.json +16 -3
  305. package/dist/esm/{animation-GasMiLY0.js → animation-Cev2GhGs.js} +1 -1
  306. package/dist/esm/{app-globals-DbCTe1Vv.js → app-globals-BocmgK6F.js} +1 -1
  307. package/dist/esm/{attribute-controller-CB-n8m6j.js → attribute-controller-418FdXxR.js} +102 -35
  308. package/dist/esm/{button-active-DLOYzeXl.js → button-active-BhjMt-gU.js} +1 -1
  309. package/dist/esm/{format-DUHrIiJq.js → format-t9SOC1s5.js} +1 -1
  310. package/dist/esm/{framework-delegate-99Ms_INy.js → framework-delegate-DOV97IRE.js} +2 -2
  311. package/dist/esm/{helpers-B_F2b1gy.js → helpers-Bhcp6jft.js} +1 -1
  312. package/dist/esm/{index-hR6kxzTq.js → index-Bas44FS4.js} +86 -40
  313. package/dist/esm/{index-D86Q8ZLS.js → index-BxqNQDQb.js} +4 -4
  314. package/dist/esm/{index-D5lNz-tr.js → index-CSvgU7bD.js} +4 -4
  315. package/dist/esm/{index-BRYliuA-.js → index-DU_8Y0hH.js} +1 -1
  316. package/dist/esm/{index-BeR_5uou.js → index-Dr_h9K1q.js} +2 -2
  317. package/dist/esm/{index-BoEdvSPU.js → index-M3ncuMMO.js} +2 -2
  318. package/dist/esm/index.js +11 -11
  319. package/dist/esm/{input-shims-CJVi9djP.js → input-shims-Q8eQDhGy.js} +3 -3
  320. package/dist/esm/{input.utils-gPgFKve4.js → input.utils-Ca-6biEE.js} +1 -1
  321. package/dist/esm/ion-accordion_2.entry.js +7 -5
  322. package/dist/esm/ion-action-sheet.entry.js +15 -13
  323. package/dist/esm/ion-alert.entry.js +14 -12
  324. package/dist/esm/ion-app_8.entry.js +30 -22
  325. package/dist/esm/ion-avatar_3.entry.js +10 -7
  326. package/dist/esm/ion-back-button.entry.js +6 -5
  327. package/dist/esm/ion-backdrop.entry.js +4 -3
  328. package/dist/esm/ion-breadcrumb_2.entry.js +8 -6
  329. package/dist/esm/ion-button_2.entry.js +12 -12
  330. package/dist/esm/ion-card_5.entry.js +21 -16
  331. package/dist/esm/ion-checkbox.entry.js +6 -5
  332. package/dist/esm/ion-chip.entry.js +4 -3
  333. package/dist/esm/ion-col_3.entry.js +10 -7
  334. package/dist/esm/ion-datetime-button.entry.js +6 -5
  335. package/dist/esm/ion-datetime.entry.js +19 -28
  336. package/dist/esm/ion-divider.entry.js +4 -3
  337. package/dist/esm/ion-fab_3.entry.js +10 -7
  338. package/dist/esm/ion-gallery-item.entry.js +4 -3
  339. package/dist/esm/ion-gallery.entry.js +5 -4
  340. package/dist/esm/ion-img.entry.js +5 -4
  341. package/dist/esm/ion-infinite-scroll_2.entry.js +9 -7
  342. package/dist/esm/ion-input-otp.entry.js +5 -4
  343. package/dist/esm/ion-input-password-toggle.entry.js +4 -3
  344. package/dist/esm/ion-input.entry.js +19 -9
  345. package/dist/esm/ion-item-option_3.entry.js +11 -8
  346. package/dist/esm/ion-item_8.entry.js +34 -25
  347. package/dist/esm/ion-loading.entry.js +12 -10
  348. package/dist/esm/ion-menu_3.entry.js +14 -11
  349. package/dist/esm/ion-modal.entry.js +27 -18
  350. package/dist/esm/ion-nav_2.entry.js +12 -10
  351. package/dist/esm/ion-picker-column-option.entry.js +7 -6
  352. package/dist/esm/ion-picker-column.entry.js +5 -4
  353. package/dist/esm/ion-picker.entry.js +4 -3
  354. package/dist/esm/ion-popover.entry.js +15 -13
  355. package/dist/esm/ion-progress-bar.entry.js +6 -5
  356. package/dist/esm/ion-radio_2.entry.js +8 -6
  357. package/dist/esm/ion-range.entry.js +9 -8
  358. package/dist/esm/ion-refresher_2.entry.js +13 -11
  359. package/dist/esm/ion-reorder_2.entry.js +11 -9
  360. package/dist/esm/ion-ripple-effect.entry.js +5 -4
  361. package/dist/esm/ion-route_4.entry.js +15 -11
  362. package/dist/esm/ion-searchbar.entry.js +18 -8
  363. package/dist/esm/ion-segment-content.entry.js +4 -3
  364. package/dist/esm/ion-segment-view.entry.js +5 -4
  365. package/dist/esm/ion-segment_2.entry.js +12 -10
  366. package/dist/esm/ion-select-modal.entry.js +11 -10
  367. package/dist/esm/ion-select_3.entry.js +20 -17
  368. package/dist/esm/ion-spinner.entry.js +5 -4
  369. package/dist/esm/ion-split-pane.entry.js +6 -5
  370. package/dist/esm/ion-tab-bar_2.entry.js +14 -12
  371. package/dist/esm/ion-tab_2.entry.js +10 -8
  372. package/dist/esm/ion-text.entry.js +6 -5
  373. package/dist/esm/ion-textarea.entry.js +9 -8
  374. package/dist/esm/ion-toast.entry.js +11 -10
  375. package/dist/esm/ion-toggle.entry.js +9 -8
  376. package/dist/esm/{ionic-global-DSbFWXp3.js → ionic-global-BYy_ionO.js} +4 -4
  377. package/dist/esm/ionic.js +6 -6
  378. package/dist/esm/{ios.transition-C9thfQYf.js → ios.transition-MTIekCSs.js} +4 -4
  379. package/dist/esm/{item-multiple-inputs-CSJsB7-I.js → item-multiple-inputs-BrSomT3h.js} +1 -1
  380. package/dist/esm/loader.js +5 -5
  381. package/dist/esm/{md.transition-BEhPsy_z.js → md.transition-CYPyM3Wr.js} +4 -4
  382. package/dist/esm/overlay-focus-boundary-DrYovbKL.js +40 -0
  383. package/dist/esm/{overlays-C8sf7PId.js → overlays-D4jQ_MJ6.js} +17 -46
  384. package/dist/esm/page-restore-9RlWwejf.js +87 -0
  385. package/dist/esm/{scroll-hide-controller-Chts2wJU.js → scroll-hide-controller-Db79zIPS.js} +2 -2
  386. package/dist/esm/{select-option-render-D5kt0cO9.js → select-option-render-szX_tjoT.js} +2 -2
  387. package/dist/esm/{slot-mutation-controller-DanfZTCH.js → slot-mutation-controller-Du2BZesv.js} +1 -1
  388. package/dist/esm/{status-tap-B8UQS38n.js → status-tap-CxG8iM45.js} +3 -3
  389. package/dist/esm/{swipe-back-Bgftkxen.js → swipe-back-CyMa6zSX.js} +2 -2
  390. package/dist/ionic/index.esm.js +1 -1
  391. package/dist/ionic/ionic.esm.js +1 -1
  392. package/dist/ionic/p-0a3b23f0.entry.js +4 -0
  393. package/dist/ionic/p-0c87430e.entry.js +4 -0
  394. package/dist/ionic/p-0eadd747.entry.js +4 -0
  395. package/dist/ionic/p-108c617e.entry.js +4 -0
  396. package/dist/ionic/p-1336380f.entry.js +4 -0
  397. package/dist/ionic/p-16d7a09e.entry.js +4 -0
  398. package/dist/ionic/p-1847d994.entry.js +4 -0
  399. package/dist/ionic/p-1b542120.entry.js +4 -0
  400. package/dist/ionic/p-1d8fc165.entry.js +4 -0
  401. package/dist/ionic/p-20e49521.entry.js +4 -0
  402. package/dist/ionic/p-2c232526.entry.js +4 -0
  403. package/dist/ionic/p-38580367.entry.js +4 -0
  404. package/dist/ionic/p-3b6a9e1f.entry.js +4 -0
  405. package/dist/ionic/p-3fbcf247.entry.js +4 -0
  406. package/dist/ionic/p-404f56fb.entry.js +4 -0
  407. package/dist/ionic/p-4c0d2ea4.entry.js +4 -0
  408. package/dist/ionic/p-4f1773eb.entry.js +4 -0
  409. package/dist/ionic/p-527fa477.entry.js +4 -0
  410. package/dist/ionic/p-544ba9be.entry.js +4 -0
  411. package/dist/ionic/p-5a5408f6.entry.js +4 -0
  412. package/dist/ionic/{p-DOdxt_P_.js → p-5pKYh0QR.js} +1 -1
  413. package/dist/ionic/p-61d17ff8.entry.js +4 -0
  414. package/dist/ionic/p-636b14fb.entry.js +4 -0
  415. package/dist/ionic/p-6806aefe.entry.js +4 -0
  416. package/dist/ionic/p-68650478.entry.js +4 -0
  417. package/dist/ionic/p-6874fc1e.entry.js +4 -0
  418. package/dist/ionic/p-70f777b3.entry.js +4 -0
  419. package/dist/ionic/p-71a9c711.entry.js +4 -0
  420. package/dist/ionic/p-747d4da3.entry.js +4 -0
  421. package/dist/ionic/p-78ee18fb.entry.js +4 -0
  422. package/dist/ionic/p-86103379.entry.js +4 -0
  423. package/dist/ionic/p-9984d163.entry.js +4 -0
  424. package/dist/ionic/p-9b71b044.entry.js +4 -0
  425. package/dist/ionic/p-9d765c69.entry.js +4 -0
  426. package/dist/ionic/p-9e3d4614.entry.js +4 -0
  427. package/dist/ionic/p-9ohDxdgz.js +4 -0
  428. package/{components/p-o89R3aqe.js → dist/ionic/p-BQhyhNHy.js} +1 -1
  429. package/dist/ionic/{p-Bjt84heL.js → p-BSenjX6U.js} +1 -1
  430. package/dist/ionic/p-BSkpb2fc.js +4 -0
  431. package/dist/ionic/{p-CeHcVwSj.js → p-BYTjG6HG.js} +1 -1
  432. package/dist/ionic/p-Bas44FS4.js +6 -0
  433. package/{components/p-DLXAGW46.js → dist/ionic/p-BawJ4_R2.js} +1 -1
  434. package/{components/p-BmfO2-NE.js → dist/ionic/p-BiYkrpCo.js} +1 -1
  435. package/dist/ionic/p-BjBJlURk.js +4 -0
  436. package/dist/ionic/{p-DsBidY1y.js → p-CAdpShMB.js} +1 -1
  437. package/dist/ionic/{p-B36ii-hs.js → p-CFV2lqKP.js} +1 -1
  438. package/dist/ionic/p-CWRBQbEt.js +4 -0
  439. package/dist/ionic/p-C_Z39n1a.js +4 -0
  440. package/dist/ionic/p-D4o1HBsS.js +4 -0
  441. package/dist/ionic/p-D7kZMPgY.js +4 -0
  442. package/dist/ionic/{p-DuxayXEj.js → p-DLK90YxR.js} +1 -1
  443. package/dist/ionic/p-DOFFsd_b.js +4 -0
  444. package/dist/ionic/p-Dbpdrswb.js +4 -0
  445. package/dist/ionic/p-DrOc_uDR.js +4 -0
  446. package/dist/ionic/{p-rwBGNQHN.js → p-FygeMLmO.js} +1 -1
  447. package/dist/ionic/{p-CaOPF8Xt.js → p-XZiK70aS.js} +1 -1
  448. package/dist/ionic/p-a21edb48.entry.js +4 -0
  449. package/dist/ionic/p-a8aaf7e8.entry.js +4 -0
  450. package/dist/ionic/p-ac4b2212.entry.js +4 -0
  451. package/dist/ionic/p-afa43e97.entry.js +4 -0
  452. package/dist/ionic/p-b2e17a18.entry.js +4 -0
  453. package/dist/ionic/p-b7d0d844.entry.js +4 -0
  454. package/dist/ionic/p-b98e482e.entry.js +4 -0
  455. package/dist/ionic/p-bD2UA_Oq.js +4 -0
  456. package/dist/ionic/{p-Co3ilg7B.js → p-bfE6ImVy.js} +1 -1
  457. package/dist/ionic/p-cc724d97.entry.js +4 -0
  458. package/dist/ionic/p-d61c5038.entry.js +4 -0
  459. package/dist/ionic/p-d7d87adb.entry.js +4 -0
  460. package/dist/ionic/p-dd40211d.entry.js +4 -0
  461. package/dist/ionic/p-dde3fe0f.entry.js +4 -0
  462. package/dist/ionic/p-de6ccf04.entry.js +4 -0
  463. package/dist/ionic/p-df337118.entry.js +4 -0
  464. package/dist/ionic/p-e3d754ae.entry.js +4 -0
  465. package/dist/ionic/p-e6a6a075.entry.js +4 -0
  466. package/dist/ionic/p-e7f841d7.entry.js +4 -0
  467. package/dist/ionic/p-eSGmNpTU.js +4 -0
  468. package/dist/ionic/p-ee15d08d.entry.js +4 -0
  469. package/dist/ionic/p-f41ef4cc.entry.js +4 -0
  470. package/dist/ionic/p-f6bd7ca3.entry.js +4 -0
  471. package/dist/ionic/p-fd3ccd0d.entry.js +4 -0
  472. package/dist/ionic/p-rmK71y9P.js +4 -0
  473. package/dist/ionic/p-sQjitIqc.js +4 -0
  474. package/dist/types/components/card/card.d.ts +2 -2
  475. package/dist/types/components/datetime/datetime.d.ts +4 -2
  476. package/dist/types/components/input/input.d.ts +4 -0
  477. package/dist/types/components/item/item.d.ts +2 -2
  478. package/dist/types/components/modal/safe-area-utils.d.ts +2 -1
  479. package/dist/types/components/searchbar/searchbar.d.ts +4 -0
  480. package/dist/types/stencil-public-runtime.d.ts +1 -1
  481. package/dist/types/utils/attribute-controller.d.ts +18 -13
  482. package/dist/types/utils/forms/index.d.ts +1 -0
  483. package/dist/types/utils/forms/page-restore.d.ts +21 -0
  484. package/dist/types/utils/overlay-focus-boundary.d.ts +15 -0
  485. package/hydrate/index.js +558 -324
  486. package/hydrate/index.mjs +558 -324
  487. package/package.json +2 -2
  488. package/components/p-2KnciUsT.js +0 -4
  489. package/components/p-BNBa8_Ls.js +0 -4
  490. package/components/p-BfDzKnZ-.js +0 -4
  491. package/components/p-BmnPbSf3.js +0 -4
  492. package/components/p-C0H1LYQ5.js +0 -4
  493. package/components/p-C93i7QCU.js +0 -4
  494. package/components/p-C9qQ2zBV.js +0 -4
  495. package/components/p-CSSj6cqb.js +0 -4
  496. package/components/p-DDloHP2b.js +0 -4
  497. package/components/p-DFBWAYvo.js +0 -4
  498. package/components/p-DTIqfsbw.js +0 -4
  499. package/components/p-DibGn4gb.js +0 -4
  500. package/components/p-DmdTkb5k.js +0 -4
  501. package/components/p-DtZimz8H.js +0 -4
  502. package/components/p-ET0FZop5.js +0 -4
  503. package/components/p-lhYnLiXU.js +0 -4
  504. package/components/p-pSZXoJUW.js +0 -4
  505. package/dist/cjs/clear-button-press-controller-C6PTS3jC.js +0 -45
  506. package/dist/esm/clear-button-press-controller-6ph4kKYn.js +0 -43
  507. package/dist/ionic/p-038465e3.entry.js +0 -4
  508. package/dist/ionic/p-136cdbde.entry.js +0 -4
  509. package/dist/ionic/p-188a2e35.entry.js +0 -4
  510. package/dist/ionic/p-1b045882.entry.js +0 -4
  511. package/dist/ionic/p-2717e0fc.entry.js +0 -4
  512. package/dist/ionic/p-29c1176f.entry.js +0 -4
  513. package/dist/ionic/p-2b1e9500.entry.js +0 -4
  514. package/dist/ionic/p-308f9b89.entry.js +0 -4
  515. package/dist/ionic/p-338cb1e7.entry.js +0 -4
  516. package/dist/ionic/p-344072c8.entry.js +0 -4
  517. package/dist/ionic/p-39303a6a.entry.js +0 -4
  518. package/dist/ionic/p-39bf5990.entry.js +0 -4
  519. package/dist/ionic/p-3b47fdc7.entry.js +0 -4
  520. package/dist/ionic/p-3be131ed.entry.js +0 -4
  521. package/dist/ionic/p-3f15086f.entry.js +0 -4
  522. package/dist/ionic/p-49edfb46.entry.js +0 -4
  523. package/dist/ionic/p-522663a4.entry.js +0 -4
  524. package/dist/ionic/p-561cfcc1.entry.js +0 -4
  525. package/dist/ionic/p-65ad8502.entry.js +0 -4
  526. package/dist/ionic/p-6a3ff87c.entry.js +0 -4
  527. package/dist/ionic/p-6fb60223.entry.js +0 -4
  528. package/dist/ionic/p-764f4282.entry.js +0 -4
  529. package/dist/ionic/p-7de26931.entry.js +0 -4
  530. package/dist/ionic/p-8183df6b.entry.js +0 -4
  531. package/dist/ionic/p-81b5d87c.entry.js +0 -4
  532. package/dist/ionic/p-85cbc8c5.entry.js +0 -4
  533. package/dist/ionic/p-86bf24f4.entry.js +0 -4
  534. package/dist/ionic/p-8ecb459a.entry.js +0 -4
  535. package/dist/ionic/p-8ff4bf6c.entry.js +0 -4
  536. package/dist/ionic/p-905c8b38.entry.js +0 -4
  537. package/dist/ionic/p-9613f2c3.entry.js +0 -4
  538. package/dist/ionic/p-9c9a8e34.entry.js +0 -4
  539. package/dist/ionic/p-9d6e569d.entry.js +0 -4
  540. package/dist/ionic/p-BXRdzJMJ.js +0 -4
  541. package/dist/ionic/p-BfDzKnZ-.js +0 -4
  542. package/dist/ionic/p-BfUzA1cP.js +0 -4
  543. package/dist/ionic/p-C3TLUO-J.js +0 -4
  544. package/dist/ionic/p-C4WiowQL.js +0 -4
  545. package/dist/ionic/p-CXkgZKSx.js +0 -4
  546. package/dist/ionic/p-D7LiFzrm.js +0 -4
  547. package/dist/ionic/p-D_vm5I9h.js +0 -4
  548. package/dist/ionic/p-DxPRC9Jk.js +0 -4
  549. package/dist/ionic/p-Hb0L-KUN.js +0 -4
  550. package/dist/ionic/p-WdouEyt8.js +0 -4
  551. package/dist/ionic/p-a1555032.entry.js +0 -4
  552. package/dist/ionic/p-a6315f72.entry.js +0 -4
  553. package/dist/ionic/p-a8e51e17.entry.js +0 -4
  554. package/dist/ionic/p-a932c26f.entry.js +0 -4
  555. package/dist/ionic/p-aab54de4.entry.js +0 -4
  556. package/dist/ionic/p-aaf3f84e.entry.js +0 -4
  557. package/dist/ionic/p-b076511a.entry.js +0 -4
  558. package/dist/ionic/p-b1b397cf.entry.js +0 -4
  559. package/dist/ionic/p-b3e2281c.entry.js +0 -4
  560. package/dist/ionic/p-b4de840a.entry.js +0 -4
  561. package/dist/ionic/p-c1fc48c7.entry.js +0 -4
  562. package/dist/ionic/p-c3dc0187.entry.js +0 -4
  563. package/dist/ionic/p-ca2c0598.entry.js +0 -4
  564. package/dist/ionic/p-ce443df7.entry.js +0 -4
  565. package/dist/ionic/p-ce8bea16.entry.js +0 -4
  566. package/dist/ionic/p-ceca04fb.entry.js +0 -4
  567. package/dist/ionic/p-d6cd46ab.entry.js +0 -4
  568. package/dist/ionic/p-db20f98a.entry.js +0 -4
  569. package/dist/ionic/p-dbf53341.entry.js +0 -4
  570. package/dist/ionic/p-de0de6a6.entry.js +0 -4
  571. package/dist/ionic/p-f3057b31.entry.js +0 -4
  572. package/dist/ionic/p-fa74dd94.entry.js +0 -4
  573. package/dist/ionic/p-hR6kxzTq.js +0 -6
  574. package/dist/ionic/p-pVSZ4TVa.js +0 -4
@@ -126,11 +126,9 @@ export class Button {
126
126
  * The ARIA state has to stay live, since `ion-input-password-toggle` rewrites
127
127
  * `aria-label` and `aria-pressed` on its `ion-button` on every toggle. We keep
128
128
  * `aria-disabled` out of the watch because the `<Host>` below renders it from the
129
- * `disabled` prop and those writes would clobber a developer's value, and `role` out
130
- * because a post-load write stays on the host too, which would put the same role on
131
- * two elements in the accessibility tree.
129
+ * `disabled` prop and those writes would clobber a developer's value.
132
130
  */
133
- this.ariaController = createAriaAttributeController(this.el, () => forceUpdate(this), ['aria-disabled', 'role']);
131
+ this.ariaController = createAriaAttributeController(this.el, () => forceUpdate(this), ['aria-disabled']);
134
132
  this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
135
133
  }
136
134
  connectedCallback() {
@@ -272,7 +270,7 @@ export class Button {
272
270
  {
273
271
  type !== 'button' && this.renderHiddenButton();
274
272
  }
275
- return (h(Host, { key: 'f2eaf2d12274c7b9a6076437a5c45b55be409770', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
273
+ return (h(Host, { key: '7b6f8b7fb418d69d7f984191fcc9b7b52a59379b', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
276
274
  [theme]: true,
277
275
  [buttonType]: true,
278
276
  [`${buttonType}-${expand}`]: expand !== undefined,
@@ -289,7 +287,7 @@ export class Button {
289
287
  'button-disabled': disabled,
290
288
  'ion-activatable': true,
291
289
  'ion-focusable': true,
292
- }) }, h(TagType, { key: '21f50e8af6e660c40634b277d9f3d123033892b3', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("span", { key: 'be999b1e36436352b8f350003342fd2358763cca', class: "button-inner" }, h("slot", { key: '15dd69cfd3114072a7c8d224c695e8e5b35e2a04', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: 'c14f7e9f2fcc3421d2657408309ba04717059466', name: "start" }), h("slot", { key: 'ce4ae19b69c0b89db6f755c1cb627497e19b5aec' }), h("slot", { key: '4237cde5beae652949370a46269e494985febd02', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: '79e3957321fe9ce47c262724adc2f95a65613682', type: this.rippleType }))));
290
+ }) }, h(TagType, { key: '15646e0d19540ff90478184e6d96ac9994e6192a', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("span", { key: 'f2e26bf30b3925d5fbe1f4d0d7a43c0ec6b09a21', class: "button-inner" }, h("slot", { key: '69a60de3d81a139248fb126c147d3b722b91f5f4', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: '15e51a0657d4de592f23a1555fe34252b01a6005', name: "start" }), h("slot", { key: '44cd7f343c22b6adf0df36bda7fe874bbe36bc31' }), h("slot", { key: 'd0b75c290f8f0c35f15fdb979103f4af68e738af', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: '738c0f358b4abeb331fa336fdcb2749a09d5f334', type: this.rippleType }))));
293
291
  }
294
292
  static get is() { return "ion-button"; }
295
293
  static get encapsulation() { return "shadow"; }
@@ -39,19 +39,19 @@ export class Card {
39
39
  }
40
40
  componentWillLoad() {
41
41
  /**
42
- * Only the initial copy takes the attribute off the host, so an `aria-label` written
43
- * after load stays on the host too. That's harmless here, because unlike `ion-item`
44
- * the card host renders no role of its own, so nothing reads the leftover copy.
42
+ * A non-clickable card renders no native element to apply the copy to, so an
43
+ * `aria-label` written after load has to stay on the host.
45
44
  */
46
- this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
45
+ this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this), [], undefined, () => !this.isClickable());
47
46
  // A card that isn't clickable has no native button or link, so `tabindex` stays on the host.
48
47
  this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
49
48
  }
50
49
  /**
51
- * Changing `href` or `button` adds or removes the native element, so `tabindex` has to
52
- * move with it.
50
+ * Changing `href` or `button` adds or removes the native element, so `tabindex` and a
51
+ * label written after load have to move with it.
53
52
  */
54
53
  clickableChanged() {
54
+ this.ariaController?.refresh();
55
55
  this.tabindexController?.refresh();
56
56
  }
57
57
  connectedCallback() {
@@ -87,7 +87,7 @@ export class Card {
87
87
  render() {
88
88
  const { shape } = this;
89
89
  const theme = getIonTheme(this);
90
- return (h(Host, { key: '2e77ee19845a14eee9a2357aae6c59f21544823b', class: createColorClasses(this.color, {
90
+ return (h(Host, { key: '085a1c0b5c773d690b95779375ff42bdaad2f34e', class: createColorClasses(this.color, {
91
91
  [theme]: true,
92
92
  [`card-${shape}`]: shape !== undefined,
93
93
  'card-disabled': this.disabled,
@@ -368,16 +368,6 @@
368
368
  z-index: 1;
369
369
  }
370
370
 
371
- /**
372
- * Range start and end circles can overflow their grid row.
373
- * Lift them above adjacent in-range wrappers so the next
374
- * row's range track does not paint over the circle.
375
- */
376
- :host .calendar-day-wrapper-range-start,
377
- :host .calendar-day-wrapper-range-end {
378
- z-index: 1;
379
- }
380
-
381
371
  /**
382
372
  * Keep the range announcement available to screen readers
383
373
  * without showing it or covering the calendar.
@@ -774,19 +764,9 @@
774
764
  color: var(--token-text-default, var(--token-primitives-neutral-1200, #242528));
775
765
  }
776
766
 
777
- :host .calendar-body .calendar-month .calendar-month-grid {
778
- -webkit-padding-start: var(--token-space-200, var(--token-scale-200, 8px));
779
- padding-inline-start: var(--token-space-200, var(--token-scale-200, 8px));
780
- -webkit-padding-end: var(--token-space-200, var(--token-scale-200, 8px));
781
- padding-inline-end: var(--token-space-200, var(--token-scale-200, 8px));
782
- padding-top: 0;
783
- padding-bottom: 0;
784
- }
785
-
786
767
  :host {
787
768
  --range-background: var(--token-bg-primary-subtle-default, var(--token-semantics-primary-100, var(--token-primitives-blue-100, #f0f2ff)));
788
769
  --range-track-height: var(--token-scale-1200, 48px);
789
- --range-track-edge-overflow: var(--token-space-200, var(--token-scale-200, 8px));
790
770
  }
791
771
 
792
772
  :host .calendar-day.calendar-day-range-start,
@@ -371,16 +371,6 @@
371
371
  z-index: 1;
372
372
  }
373
373
 
374
- /**
375
- * Range start and end circles can overflow their grid row.
376
- * Lift them above adjacent in-range wrappers so the next
377
- * row's range track does not paint over the circle.
378
- */
379
- :host .calendar-day-wrapper-range-start,
380
- :host .calendar-day-wrapper-range-end {
381
- z-index: 1;
382
- }
383
-
384
374
  /**
385
375
  * Keep the range announcement available to screen readers
386
376
  * without showing it or covering the calendar.
@@ -338,13 +338,15 @@ export class Datetime {
338
338
  * Handles range selection logic when a day is clicked.
339
339
  *
340
340
  * Creating a new range: first click sets start, second sets end.
341
- * Once a full range is selected (both start and end), the next
342
- * tap always starts a new range with the clicked date as the start.
341
+ * Modifying an existing range:
342
+ * - Before range → new start
343
+ * - Within range → new end
344
+ * - After range → new end
343
345
  * If the resulting span contains a disabled date, start a new range instead.
344
346
  */
345
347
  this.setActivePartsRange = (parts) => {
346
348
  const current = this.rangeParts;
347
- if (!current || current.end || this.rangeContainsDisabledDate(current.start, parts)) {
349
+ if (!current || isBefore(parts, current.start) || this.rangeContainsDisabledDate(current.start, parts)) {
348
350
  this.activeParts = { start: parts };
349
351
  }
350
352
  else {
@@ -786,19 +788,7 @@ export class Datetime {
786
788
  startParts = endParts;
787
789
  endParts = temp;
788
790
  }
789
- // Clamp range bounds to min/max so out-of-range dates are not highlighted.
790
- // If the entire range falls outside min/max, clear the selection.
791
- const clampedStart = clampDate(startParts, minParts, maxParts);
792
- const clampedEnd = endParts ? clampDate(endParts, minParts, maxParts) : undefined;
793
- const rangeFullyOutOfBounds = clampedEnd && endParts && isSameDay(clampedStart, clampedEnd) && !isSameDay(startParts, endParts);
794
- if (rangeFullyOutOfBounds) {
795
- this.activeParts = [];
796
- }
797
- else {
798
- startParts = clampedStart;
799
- endParts = clampedEnd;
800
- this.activeParts = endParts ? { start: startParts, end: endParts } : { start: startParts };
801
- }
791
+ this.activeParts = endParts ? { start: startParts, end: endParts } : { start: startParts };
802
792
  /**
803
793
  * Stay on the end date's month when it is already showing, such as
804
794
  * right after the user picks it, instead of jumping back to the start.
@@ -2212,7 +2202,7 @@ export class Datetime {
2212
2202
  const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
2213
2203
  const hasWheelVariant = hasDatePresentation && preferWheel;
2214
2204
  renderHiddenInput(true, el, name, formatValue(value), disabled);
2215
- return (h(Host, { key: '8ae3c47026b01b06ce491403492bd340c178b09a', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: {
2205
+ return (h(Host, { key: '2510c26c29afd1a34d6ee71a9ffa00b4a7dd716e', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: {
2216
2206
  ...createColorClasses(color, {
2217
2207
  [theme]: true,
2218
2208
  ['datetime-readonly']: readonly,
@@ -2225,7 +2215,7 @@ export class Datetime {
2225
2215
  [`datetime-grid`]: isGridStyle,
2226
2216
  [`datetime-range`]: this.isRangeMode,
2227
2217
  }),
2228
- } }, h("div", { key: 'ae6ae74f4d1872b2e191bea9ed05691dd955ce76', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
2218
+ } }, h("div", { key: 'b245de6585c7dc5ccfa6f0f8be8474206380acfe', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
2229
2219
  }
2230
2220
  static get is() { return "ion-datetime"; }
2231
2221
  static get encapsulation() { return "shadow"; }
@@ -371,16 +371,6 @@
371
371
  z-index: 1;
372
372
  }
373
373
 
374
- /**
375
- * Range start and end circles can overflow their grid row.
376
- * Lift them above adjacent in-range wrappers so the next
377
- * row's range track does not paint over the circle.
378
- */
379
- :host .calendar-day-wrapper-range-start,
380
- :host .calendar-day-wrapper-range-end {
381
- z-index: 1;
382
- }
383
-
384
374
  /**
385
375
  * Keep the range announcement available to screen readers
386
376
  * without showing it or covering the calendar.
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Build, Host, forceUpdate, h, } from "@stencil/core";
5
- import { createClearButtonPressController, createClickController, createNotchController, createStartEndContainerController, checkInvalidState, } from "../../utils/forms/index";
5
+ import { createClearButtonPressController, createClickController, createNotchController, createStartEndContainerController, checkInvalidState, syncValueOnPageRestore, } from "../../utils/forms/index";
6
6
  import { inheritAriaAttributes, debounceEvent, inheritAttributes, componentOnReady } from "../../utils/helpers";
7
7
  import { printIonWarning } from "../../utils/logging/index";
8
8
  import { createSlotMutationController } from "../../utils/slot-mutation-controller";
@@ -232,6 +232,15 @@ export class Input {
232
232
  onClickCapture(ev) {
233
233
  this.clickController?.handleClickCapture(ev);
234
234
  }
235
+ /**
236
+ * Safari clears the field when it restores the page from the back/forward cache.
237
+ */
238
+ onPageShow(ev) {
239
+ syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
240
+ this.value = value;
241
+ this.emitInputChange();
242
+ });
243
+ }
235
244
  componentWillLoad() {
236
245
  this.inheritedAttributes = {
237
246
  ...inheritAriaAttributes(this.el),
@@ -634,7 +643,7 @@ export class Input {
634
643
  * the input has a value or is focused.
635
644
  */
636
645
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
637
- return (h(Host, { key: '28bc73428ada1e22a5bde4c213d6c8f151766cc0', class: createColorClasses(this.color, {
646
+ return (h(Host, { key: '2792536365fe763b06650c3a1fb1bd4b64af40d2', class: createColorClasses(this.color, {
638
647
  [theme]: true,
639
648
  'has-value': hasValue,
640
649
  'has-focus': hasFocus,
@@ -647,7 +656,7 @@ export class Input {
647
656
  'in-item-color': hostContext('ion-item.ion-color', this.el),
648
657
  'input-disabled': disabled,
649
658
  'input-readonly': readonly,
650
- }) }, h("label", { key: '22b9673e6eac00d8855d271526d54a114773bc26', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderField(), shouldRenderHighlight && h("div", { key: '5cd692b33cb831b83b59c3872a7924686d806616', class: "input-highlight" })), this.renderBottomContent()));
659
+ }) }, h("label", { key: '413db7526cd69ee1b187fa5a2d296f27255db118', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderField(), shouldRenderHighlight && h("div", { key: '643b9b2a4d13f53b57c4af3c745b656e44c8a36a', class: "input-highlight" })), this.renderBottomContent()));
651
660
  }
652
661
  static get is() { return "ion-input"; }
653
662
  static get encapsulation() { return "scoped"; }
@@ -1526,6 +1535,12 @@ export class Input {
1526
1535
  "target": undefined,
1527
1536
  "capture": true,
1528
1537
  "passive": false
1538
+ }, {
1539
+ "name": "pageshow",
1540
+ "method": "onPageShow",
1541
+ "target": "window",
1542
+ "capture": false,
1543
+ "passive": false
1529
1544
  }];
1530
1545
  }
1531
1546
  }
@@ -59,13 +59,15 @@ export class Item {
59
59
  buttonChanged() {
60
60
  // Update the focusable option when the button option is changed
61
61
  this.focusable = this.isFocusable();
62
+ this.ariaController?.refresh();
62
63
  this.tabindexController?.refresh();
63
64
  }
64
65
  /**
65
- * Adding or removing `href` adds or removes the native element, so `tabindex` has to move
66
- * with it. The same goes for `button` in `buttonChanged`.
66
+ * Adding or removing `href` adds or removes the native element, so `tabindex` and a label
67
+ * written after load have to move with it. The same goes for `button` in `buttonChanged`.
67
68
  */
68
69
  hrefChanged() {
70
+ this.ariaController?.refresh();
69
71
  this.tabindexController?.refresh();
70
72
  }
71
73
  labelColorChanged(ev) {
@@ -116,12 +118,11 @@ export class Item {
116
118
  }
117
119
  componentWillLoad() {
118
120
  /**
119
- * Only the initial copy takes the attribute off the host, so an `aria-label` written
120
- * after load names both the native element and the Host, which is a `listitem` when
121
- * the item is in an `ion-list`. The two names always agree, so a screen reader just
122
- * reads it twice.
121
+ * A non-clickable item renders a `div`, which ARIA doesn't allow a name on, so an
122
+ * `aria-label` written after load also stays on the Host, which is a `listitem`
123
+ * when the item is in an `ion-list`.
123
124
  */
124
- this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
125
+ this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this), [], undefined, () => !this.isClickable());
125
126
  // An item that isn't clickable has no native button or link, so `tabindex` stays on the host.
126
127
  this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
127
128
  }
@@ -358,7 +359,7 @@ export class Item {
358
359
  * multi-input item, and in a clickable item, which is a second tab stop.
359
360
  */
360
361
  const slottedIndicatorNeedsRoom = this.hasSlottedIndicatorControl && (multipleInputs || this.isClickable());
361
- return (h(Host, { key: 'd5647af4f6f7723d2a7b6b329c2dcab5af7d8cc4', "aria-disabled": ariaDisabled, class: {
362
+ return (h(Host, { key: 'd061f93463e9745ad581d4ecab550ff8ccd511a9', "aria-disabled": ariaDisabled, class: {
362
363
  ...childStyles,
363
364
  ...labelColorStyles,
364
365
  ...createColorClasses(this.color, {
@@ -375,7 +376,7 @@ export class Item {
375
376
  'ion-focusable': this.focusable,
376
377
  'item-rtl': isRTL(el),
377
378
  }),
378
- }, role: inList ? 'listitem' : null }, h(TagType, { key: '4cb3da1c11ec0d810df50559660477271e9d6f6a', ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, h("slot", { key: 'baa678038d411af06c847cae792158496602336c', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), h("div", { key: '157b9b023ef40b682b9096866b80b63cea5cf37a', class: "item-inner", part: "inner" }, h("div", { key: '1a1590575f09375ad3698536a85e028f44be2031', class: "input-wrapper", part: "container" }, h("slot", { key: '3b35b1cc02cd193a84c4f8607cbb871b0d97f124', onSlotchange: this.updateInteractivityOnSlotChange })), h("slot", { key: 'f294270d741bd49c77fddeade858ae5ffd4c3a68', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (h("ion-icon", { key: '704d6737bf8c754c74a602ef39b53edb45a95eb4', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme === 'md' && h("ion-ripple-effect", { key: '06b7b7143e5dcae661e34aae279e0a71a38cbae9' }))));
379
+ }, role: inList ? 'listitem' : null }, h(TagType, { key: '4e4c0982c26cf2d6ab40bede7b8fadf3bfe2ead4', ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, h("slot", { key: 'df9c532cf3cd1474b60a4f5d12dae5a895ce2ee9', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), h("div", { key: 'bd501bf6aac4cd402db009bb760022830dac4192', class: "item-inner", part: "inner" }, h("div", { key: '27d307c0180d5a7365ad8408a515509c37944d76', class: "input-wrapper", part: "container" }, h("slot", { key: '11a99619fff888acbe9a81641e62d1d6af7b23c8', onSlotchange: this.updateInteractivityOnSlotChange })), h("slot", { key: '7f4403adfcaa75d50eb75355c595ee079fa09cc3', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (h("ion-icon", { key: '1125905813ba10513e0eb019b23901fb22114155', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme === 'md' && h("ion-ripple-effect", { key: 'd53f59912defccfb7bae0c97781e2089a1676693' }))));
379
380
  }
380
381
  static get is() { return "ion-item"; }
381
382
  static get encapsulation() { return "shadow"; }
@@ -5,6 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  import { ENABLE_HTML_CONTENT_DEFAULT } from "../../utils/config";
6
6
  import { raf } from "../../utils/helpers";
7
7
  import { createLockController } from "../../utils/lock-controller";
8
+ import { OverlayFocusBoundary } from "../../utils/overlay-focus-boundary";
8
9
  import { BACKDROP, cleanupRootFocusTrapAccessibility, createDelegateController, createTriggerController, dismiss, eventMethod, prepareOverlay, present, restoreRootFocusTrapAccessibility, setOverlayId, } from "../../utils/overlays";
9
10
  import { sanitizeDOMString } from "../../utils/sanitization/index";
10
11
  import { getClassMap } from "../../utils/theme";
@@ -187,14 +188,14 @@ export class Loading {
187
188
  * Otherwise, don't set aria-labelledby.
188
189
  */
189
190
  const ariaLabelledBy = message !== undefined ? msgId : null;
190
- return (h(Host, { key: 'bffd1e4682eded690fc56da54c2be91643f44109', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
191
+ return (h(Host, { key: '6bb4757eb4f4105847cbe7330a1952a98f05429e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
191
192
  zIndex: `${40000 + this.overlayIndex}`,
192
193
  }, onIonBackdropTap: this.onBackdropTap, class: {
193
194
  ...getClassMap(this.cssClass),
194
195
  [theme]: true,
195
196
  'overlay-hidden': true,
196
197
  'loading-translucent': this.translucent,
197
- } }, h("ion-backdrop", { key: '0f079258a006359e176813e95dd35cd6d49e9dee', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '7692781b0a6ea095375fbb4d293dad31635a55d9', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'e220674ca2c5fc277461e3240962d8e260f0b488', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '7b4edc2adc86bfc9b4be061a220451f10c1c80d2', class: "loading-spinner" }, h("ion-spinner", { key: '753fa19095a446eec6ebe31449afb573abccc231', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'a448654f65376159a4b1b1b3abbe198d115abfb1', tabindex: "0", "aria-hidden": "true" })));
198
+ } }, h("ion-backdrop", { key: '328f7f50519bd81fa1b1358dbdb0e678623a64e7', visible: this.showBackdrop, tappable: this.backdropDismiss }), h(OverlayFocusBoundary, { key: '5e48890d9e805b5a37347c6c4539a3124e412860', overlay: this.el, edge: "start" }), h("div", { key: 'a95bfdaad1483ad7f78a9aeb8384dac00eac635f', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '5d1b43ab0f291c8d5cd35082f7bb4a7160cca30d', class: "loading-spinner" }, h("ion-spinner", { key: 'c0adb20c7d748d7a6adaba81d9e5159f19e9f480', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h(OverlayFocusBoundary, { key: '46b5a0dceb337a8baa2ae9a4be50c46e06218cdc', overlay: this.el, edge: "end" })));
198
199
  }
199
200
  static get is() { return "ion-loading"; }
200
201
  static get encapsulation() { return "scoped"; }
@@ -174,6 +174,14 @@ ion-backdrop {
174
174
  background: transparent;
175
175
  }
176
176
 
177
+ /**
178
+ * Removes the focus boundaries from the tab order
179
+ * so focus can leave the modal when the trap is off.
180
+ */
181
+ :host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
182
+ display: none;
183
+ }
184
+
177
185
  .modal-handle {
178
186
  -webkit-margin-start: auto;
179
187
  margin-inline-start: auto;
@@ -113,6 +113,14 @@ ion-backdrop {
113
113
  background: transparent;
114
114
  }
115
115
 
116
+ /**
117
+ * Removes the focus boundaries from the tab order
118
+ * so focus can leave the modal when the trap is off.
119
+ */
120
+ :host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
121
+ display: none;
122
+ }
123
+
116
124
  .modal-handle {
117
125
  -webkit-margin-start: auto;
118
126
  margin-inline-start: auto;
@@ -8,6 +8,7 @@ import { raf, inheritAttributes, hasLazyBuild, getElementRoot } from "../../util
8
8
  import { createLockController } from "../../utils/lock-controller";
9
9
  import { printIonWarning } from "../../utils/logging/index";
10
10
  import { Style as StatusBarStyle, StatusBar } from "../../utils/native/status-bar";
11
+ import { OverlayFocusBoundary } from "../../utils/overlay-focus-boundary";
11
12
  import { BACKDROP, cleanupRootFocusTrapAccessibility, createTriggerController, dismiss, eventMethod, FOCUS_TRAP_DISABLE_CLASS, GESTURE, prepareOverlay, present, restoreRootFocusTrapAccessibility, setOverlayId, } from "../../utils/overlays";
12
13
  import { getClassMap } from "../../utils/theme";
13
14
  import { deepReady, waitForMount } from "../../utils/transition/index";
@@ -1280,7 +1281,7 @@ export class Modal {
1280
1281
  const isHandleCycle = handleBehavior === 'cycle';
1281
1282
  const shape = this.getShape();
1282
1283
  const isSheetModalWithHandle = isSheetModal && showHandle;
1283
- return (h(Host, { key: 'd7d9e9f103fb1ac669da34819e6f460316cffa48', "no-router": true,
1284
+ return (h(Host, { key: 'd751a17872485c686c1e281bf21bf09b08a5615a', "no-router": true,
1284
1285
  // Allow the modal to be navigable when the handle is focusable
1285
1286
  tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
1286
1287
  zIndex: `${20000 + this.overlayIndex}`,
@@ -1294,7 +1295,7 @@ export class Modal {
1294
1295
  'overlay-hidden': true,
1295
1296
  [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
1296
1297
  ...getClassMap(this.cssClass),
1297
- }, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, h("ion-backdrop", { key: '030d13dadaef45a24fd694478cf6583a637b9e9e', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '111f4df167615ee37f6db3f1000f6bd1a6b25fee', class: "modal-shadow" }), h("div", { key: '2720518be4e2701a5641f31e3f13336778f2fdbb',
1298
+ }, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, h("ion-backdrop", { key: '40d6ab312a1f9496a87f642e310252329804d791', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: 'b5e6088f5674862fedc1427b6013455833378c1f', class: "modal-shadow" }), h(OverlayFocusBoundary, { key: 'aae591a0895594c855c7a1ac026fd2c872bc3037', overlay: this.el, edge: "start" }), h("div", { key: '7be6c1f17b03a45b60df3ae8514c49e3e97d746c',
1298
1299
  /*
1299
1300
  role and aria-modal must be used on the
1300
1301
  same element. They must also be set inside the
@@ -1307,9 +1308,9 @@ export class Modal {
1307
1308
  without the tabindex focus() would be a no-op and screen readers
1308
1309
  may not properly announce the dialog and its content when it opens.
1309
1310
  */
1310
- role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (h("button", { key: '7b8d765349e94315383e15c59ae55bbf92b7834a', class: "modal-handle",
1311
+ role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (h("button", { key: '0e3c796f6bcd2d7903203ee5d6d338aa8c950eb7', class: "modal-handle",
1311
1312
  // Prevents the handle from receiving keyboard focus when it does not cycle
1312
- tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: 'fb952f2216991352c002b796933d3dbee1397051', onSlotchange: this.onSlotChange }))));
1313
+ tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), h("slot", { key: 'a789eb2fe3fc98979ce6284b87b6f7ca156892d0', onSlotchange: this.onSlotChange })), h(OverlayFocusBoundary, { key: '318a8ad3719d37f858e165f3c2c759dbbdb2955e', overlay: this.el, edge: "end" })));
1313
1314
  }
1314
1315
  static get is() { return "ion-modal"; }
1315
1316
  static get encapsulation() { return "shadow"; }
@@ -113,6 +113,14 @@ ion-backdrop {
113
113
  background: transparent;
114
114
  }
115
115
 
116
+ /**
117
+ * Removes the focus boundaries from the tab order
118
+ * so focus can leave the modal when the trap is off.
119
+ */
120
+ :host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
121
+ display: none;
122
+ }
123
+
116
124
  .modal-handle {
117
125
  -webkit-margin-start: auto;
118
126
  margin-inline-start: auto;
@@ -58,7 +58,8 @@ export const onRootSafeAreaTopChange = (callback) => {
58
58
  * corresponding safe-area insets. A modal that does not span an axis reaches
59
59
  * neither edge on that axis.
60
60
  *
61
- * When both `--width` and `--height` are `fullscreen`, coverage can be
61
+ * When both `--width` and `--height` are `fullscreen` and neither
62
+ * `--max-width` nor `--max-height` is a definite size, coverage can be
62
63
  * determined directly. Otherwise, coverage is based on the rendered wrapper,
63
64
  * including cases where content sizing or `--max-height` causes the modal
64
65
  * to reach the viewport.
@@ -67,7 +68,13 @@ export const getModalCoveredAxes = (hostEl) => {
67
68
  const styles = getComputedStyle(hostEl);
68
69
  const width = getOverlaySizeType(styles.getPropertyValue('--width'));
69
70
  const height = getOverlaySizeType(styles.getPropertyValue('--height'));
70
- if (width === 'fullscreen' && height === 'fullscreen') {
71
+ // --max-width/--max-height (e.g. the select modal in the Ionic theme
72
+ // sets --max-height: 45%). When clamped, the modal may not reach the
73
+ // viewport edges, so we fall through to measure the wrapper instead.
74
+ const maxWidth = getOverlaySizeType(styles.getPropertyValue('--max-width'));
75
+ const maxHeight = getOverlaySizeType(styles.getPropertyValue('--max-height'));
76
+ const isClamped = maxWidth === 'definite' || maxHeight === 'definite';
77
+ if (width === 'fullscreen' && height === 'fullscreen' && !isClamped) {
71
78
  return { vertical: true, horizontal: true };
72
79
  }
73
80
  return measureCoveredAxes(hostEl);
@@ -752,7 +752,7 @@ export class Nav {
752
752
  }
753
753
  }
754
754
  render() {
755
- return h("slot", { key: '35e49a33a14568977f1f6ce7e98ce6982451eb6f' });
755
+ return h("slot", { key: '034043c38e28e876fc656e2e54f67ee4d5ce85e3' });
756
756
  }
757
757
  static get is() { return "ion-nav"; }
758
758
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class NavLink {
18
18
  };
19
19
  }
20
20
  render() {
21
- return h(Host, { key: '892d940265e46ab358af2693c4d63234fe301a85', onClick: this.onClick });
21
+ return h(Host, { key: '10d9404e91c656e008d8c14f48311c3d0c0234fc', onClick: this.onClick });
22
22
  }
23
23
  static get is() { return "ion-nav-link"; }
24
24
  static get properties() {
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
11
11
  export class Note {
12
12
  render() {
13
13
  const theme = getIonTheme(this);
14
- return (h(Host, { key: '3f882cc4cac96016c332fd42b7a42ee2065284ce', class: createColorClasses(this.color, {
14
+ return (h(Host, { key: '683f5da066f10c3899f97d18f97857431538ac85', class: createColorClasses(this.color, {
15
15
  [theme]: true,
16
- }) }, h("slot", { key: 'f90b98dcd17b4f3c4e7b85ad4fe01e5478bdc952' })));
16
+ }) }, h("slot", { key: 'b3fd619eeda60a03ba60b7202646a2f46f7a26f5' })));
17
17
  }
18
18
  static get is() { return "ion-note"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -89,10 +89,10 @@ export class PickerColumnOption {
89
89
  render() {
90
90
  const { color, disabled, ariaLabel } = this;
91
91
  const theme = getIonTheme(this);
92
- return (h(Host, { key: 'efe367844a400d76130da24fe86347d978df5a4f', class: createColorClasses(color, {
92
+ return (h(Host, { key: '4ff52114c63c48798c9f254b1fcd941d6fc6359a', class: createColorClasses(color, {
93
93
  [theme]: true,
94
94
  ['option-disabled']: disabled,
95
- }) }, h("div", { key: 'ad5ef0365512330d2ae4a3500278e0765c9de0c3', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '1c1d5e342fcf266db99202743d38fd02bbd502da' }))));
95
+ }) }, h("div", { key: 'f443e4817e73363248f02fc0a566646990824eef', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '11b01b7dd45225672dd27c87c0f203147cf76d78' }))));
96
96
  }
97
97
  static get is() { return "ion-picker-column-option"; }
98
98
  static get encapsulation() { return "shadow"; }
@@ -185,6 +185,14 @@
185
185
  z-index: 10;
186
186
  }
187
187
 
188
+ /**
189
+ * Removes the focus boundaries from the tab order
190
+ * so focus can leave the popover when the trap is off.
191
+ */
192
+ :host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
193
+ display: none;
194
+ }
195
+
188
196
  .popover-content {
189
197
  display: flex;
190
198
  position: absolute;
@@ -124,6 +124,14 @@
124
124
  z-index: 10;
125
125
  }
126
126
 
127
+ /**
128
+ * Removes the focus boundaries from the tab order
129
+ * so focus can leave the popover when the trap is off.
130
+ */
131
+ :host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
132
+ display: none;
133
+ }
134
+
127
135
  .popover-content {
128
136
  display: flex;
129
137
  position: absolute;
@@ -7,6 +7,7 @@ import { CoreDelegate, attachComponent, detachComponent } from "../../utils/fram
7
7
  import { addEventListener, raf, hasLazyBuild } from "../../utils/helpers";
8
8
  import { createLockController } from "../../utils/lock-controller";
9
9
  import { printIonWarning } from "../../utils/logging/index";
10
+ import { OverlayFocusBoundary } from "../../utils/overlay-focus-boundary";
10
11
  import { BACKDROP, cleanupRootFocusTrapAccessibility, dismiss, eventMethod, FOCUS_TRAP_DISABLE_CLASS, prepareOverlay, present, restoreRootFocusTrapAccessibility, setOverlayId, } from "../../utils/overlays";
11
12
  import { isPlatform } from "../../utils/platform";
12
13
  import { isRTL } from "../../utils/rtl/index";
@@ -497,7 +498,7 @@ export class Popover {
497
498
  const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
498
499
  const desktop = isPlatform('desktop');
499
500
  const enableArrow = arrow && !parentPopover;
500
- return (h(Host, { key: '074752088121a12a4038514cbe944b3543e48187', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
501
+ return (h(Host, { key: '622296253a543188de2c0f63d26351b595490e87', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
501
502
  zIndex: `${20000 + this.overlayIndex}`,
502
503
  }, class: {
503
504
  ...getClassMap(this.cssClass),
@@ -508,7 +509,7 @@ export class Popover {
508
509
  [`popover-side-${side}`]: true,
509
510
  [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
510
511
  'popover-nested': !!parentPopover,
511
- }, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && h("ion-backdrop", { key: '9423191da71cd713d9ad30000f2909b99132609b', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'ee077779a7e12ca49baf88e68659343a776a9e10', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '14d19458122005fa70ddbb142aaf13d088e2004a', class: "popover-arrow", part: "arrow" }), h("div", { key: '885d9f35a4abb582e64f841f78827130d931286e', class: "popover-content", part: "content" }, h("slot", { key: '546e5db41a985645e86352c9072dc5ad86d320bf' })))));
512
+ }, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && h("ion-backdrop", { key: '60f19bfc53c06bd131b24384ca1b6f1b298d41bf', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h(OverlayFocusBoundary, { key: 'bea9b6f64fff5d473450e8ddd7016ede06fceaa7', overlay: this.el, edge: "start" }), h("div", { key: 'd81f9c032c831a9f0c6a18c692aa5c1474dd0a8c', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '43d7fdcf96e994d4bac89d01d6c82f46e6e242fe', class: "popover-arrow", part: "arrow" }), h("div", { key: 'abae7723be6283c79d250830cb4ac3a082e71cc5', class: "popover-content", part: "content" }, h("slot", { key: '557ea2f2e2aa5c7fd80a799959d4ba1c4adf02ac' }))), h(OverlayFocusBoundary, { key: 'eb82c4a705f12d53e23d2255972c1839cb4bb182', overlay: this.el, edge: "end" })));
512
513
  }
513
514
  static get is() { return "ion-popover"; }
514
515
  static get encapsulation() { return "shadow"; }
@@ -124,6 +124,14 @@
124
124
  z-index: 10;
125
125
  }
126
126
 
127
+ /**
128
+ * Removes the focus boundaries from the tab order
129
+ * so focus can leave the popover when the trap is off.
130
+ */
131
+ :host(.ion-disable-focus-trap) .ion-overlay-focus-boundary {
132
+ display: none;
133
+ }
134
+
127
135
  .popover-content {
128
136
  display: flex;
129
137
  position: absolute;
@@ -58,7 +58,7 @@ export class ProgressBar {
58
58
  const shape = this.getShape();
59
59
  // If the progress is displayed as a solid bar.
60
60
  const progressSolid = buffer === 1;
61
- return (h(Host, { key: 'f8dd2c3ed449441bf1260c92c7b2178626b44e35', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
61
+ return (h(Host, { key: '070dd50f87f88ac405686fbdf804e12780783498', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
62
62
  [theme]: true,
63
63
  [`progress-bar-${type}`]: true,
64
64
  'progress-paused': paused,
@@ -775,7 +775,7 @@ export class Range {
775
775
  const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
776
776
  const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
777
777
  renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
778
- return (h(Host, { key: '9c50f9213ad0f2cd1f76dcf8178f3a8e5af1e61b', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
778
+ return (h(Host, { key: '454a2ebded7c6372134a374121d42308f0fd00c6', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
779
779
  [theme]: true,
780
780
  'in-item': inItem,
781
781
  'range-disabled': disabled,
@@ -789,10 +789,10 @@ export class Range {
789
789
  'range-item-end-adjustment': needsEndAdjustment,
790
790
  'range-value-min': valueAtMin,
791
791
  'range-value-max': valueAtMax,
792
- }) }, h("label", { key: '08c3c979448618bab08bc2f9a310c0e523e1a516', class: "range-wrapper", id: "range-label" }, h("div", { key: 'b0790cf616ec8588d6e255a6d3d189e5d0be0719', class: {
792
+ }) }, h("label", { key: '487647cdcd054245f03a251e36973eafbae24682', class: "range-wrapper", id: "range-label" }, h("div", { key: 'fefabb9245ab7595629c66dfb351035e535e24a5', class: {
793
793
  'label-text-wrapper': true,
794
794
  'label-text-wrapper-hidden': !hasLabel,
795
- }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'a08672bb24d54b2dc40ce2d7505f4df0ae48fa38', class: "native-wrapper" }, h("slot", { key: '7f53c393eeb5f6da7141e3b275ea373c89130f2c', name: "start" }), this.renderRangeSlider(), h("slot", { key: '111d63dc47bc69904ec21f8c9a4fc0d90cdf48c0', name: "end" })))));
795
+ }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '16e95ea3159662160230cf55838b9d3c60144d00', class: "native-wrapper" }, h("slot", { key: 'd5226b753ce7489899afdd394fd2bb579d9e702a', name: "start" }), this.renderRangeSlider(), h("slot", { key: '8cfaa7b7c03f70db81a1a7b15e8cb5e99fe69d30', name: "end" })))));
796
796
  }
797
797
  static get is() { return "ion-range"; }
798
798
  static get encapsulation() { return "shadow"; }