@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
@@ -3,15 +3,15 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CB1PuDlX.js');
7
- var slotMutationController = require('./slot-mutation-controller-BS-L1szN.js');
6
+ var index = require('./index-Cn0FjjMN.js');
7
+ var slotMutationController = require('./slot-mutation-controller-DKkmhOKO.js');
8
8
  var validity = require('./validity-CoPMWggj.js');
9
- var clearButtonPressController = require('./clear-button-press-controller-C6PTS3jC.js');
10
- var helpers = require('./helpers-DHNLF4fD.js');
9
+ var pageRestore = require('./page-restore-Dq2Pkln0.js');
10
+ var helpers = require('./helpers-jmlMCGoQ.js');
11
11
  var theme = require('./theme-Cy4joHPt.js');
12
12
  var index$1 = require('./index-CxDnX7hd.js');
13
- var ionicGlobal = require('./ionic-global-CZX42KL4.js');
14
- var input_utils = require('./input.utils-CD4DNiim.js');
13
+ var ionicGlobal = require('./ionic-global-BsjzbnZk.js');
14
+ var input_utils = require('./input.utils-B_HfgEQx.js');
15
15
  require('./index-DkNv4J_i.js');
16
16
  require('./dir-Bma_9Lqh.js');
17
17
  require('./focus-visible-DGPRKkcx.js');
@@ -24,7 +24,8 @@ const inputMdCss = () => `.sc-ion-input-md-h{--placeholder-color:initial;--place
24
24
 
25
25
  const Input = class {
26
26
  constructor(hostRef) {
27
- index.registerInstance(this, hostRef);
27
+ if (new.target === Input)
28
+ index.registerInstance(this, hostRef);
28
29
  this.ionInput = index.createEvent(this, "ionInput", 7);
29
30
  this.ionChange = index.createEvent(this, "ionChange", 7);
30
31
  this.ionBlur = index.createEvent(this, "ionBlur", 7);
@@ -57,7 +58,7 @@ const Input = class {
57
58
  this.isInvalid = false;
58
59
  /** Keeps the clear button visible for the duration of a press. */
59
60
  this.isClearButtonPressed = false;
60
- this.clearButtonPressController = clearButtonPressController.createClearButtonPressController((isPressed) => (this.isClearButtonPressed = isPressed));
61
+ this.clearButtonPressController = pageRestore.createClearButtonPressController((isPressed) => (this.isClearButtonPressed = isPressed));
61
62
  /**
62
63
  * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
63
64
  * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
@@ -240,6 +241,15 @@ const Input = class {
240
241
  onClickCapture(ev) {
241
242
  this.clickController?.handleClickCapture(ev);
242
243
  }
244
+ /**
245
+ * Safari clears the field when it restores the page from the back/forward cache.
246
+ */
247
+ onPageShow(ev) {
248
+ pageRestore.syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
249
+ this.value = value;
250
+ this.emitInputChange();
251
+ });
252
+ }
243
253
  componentWillLoad() {
244
254
  this.inheritedAttributes = {
245
255
  ...helpers.inheritAriaAttributes(this.el),
@@ -642,7 +652,7 @@ const Input = class {
642
652
  * the input has a value or is focused.
643
653
  */
644
654
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
645
- return (index.h(index.Host, { key: '28bc73428ada1e22a5bde4c213d6c8f151766cc0', class: theme.createColorClasses(this.color, {
655
+ return (index.h(index.Host, { key: '2792536365fe763b06650c3a1fb1bd4b64af40d2', class: theme.createColorClasses(this.color, {
646
656
  [theme$1]: true,
647
657
  'has-value': hasValue,
648
658
  'has-focus': hasFocus,
@@ -655,7 +665,7 @@ const Input = class {
655
665
  'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
656
666
  'input-disabled': disabled,
657
667
  'input-readonly': readonly,
658
- }) }, index.h("label", { key: '22b9673e6eac00d8855d271526d54a114773bc26', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderField(), shouldRenderHighlight && index.h("div", { key: '5cd692b33cb831b83b59c3872a7924686d806616', class: "input-highlight" })), this.renderBottomContent()));
668
+ }) }, index.h("label", { key: '413db7526cd69ee1b187fa5a2d296f27255db118', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderField(), shouldRenderHighlight && index.h("div", { key: '643b9b2a4d13f53b57c4af3c745b656e44c8a36a', class: "input-highlight" })), this.renderBottomContent()));
659
669
  }
660
670
  get el() { return index.getElement(this); }
661
671
  static get watchers() { return {
@@ -3,12 +3,12 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CB1PuDlX.js');
7
- var attributeController = require('./attribute-controller-23GLe3Vk.js');
6
+ var index = require('./index-Cn0FjjMN.js');
7
+ var attributeController = require('./attribute-controller-mEO_Z0Wr.js');
8
8
  var theme = require('./theme-Cy4joHPt.js');
9
- var ionicGlobal = require('./ionic-global-CZX42KL4.js');
10
- var helpers = require('./helpers-DHNLF4fD.js');
11
- var index$1 = require('./index-DhGCo_n8.js');
9
+ var ionicGlobal = require('./ionic-global-BsjzbnZk.js');
10
+ var helpers = require('./helpers-jmlMCGoQ.js');
11
+ var index$1 = require('./index-CHRTOQP9.js');
12
12
  var dir = require('./dir-Bma_9Lqh.js');
13
13
  var watchOptions = require('./watch-options-CviOsrTS.js');
14
14
  require('./index-DkNv4J_i.js');
@@ -22,7 +22,8 @@ const itemOptionMdCss = () => `:host{background:var(--background);color:var(--co
22
22
 
23
23
  const ItemOption = class {
24
24
  constructor(hostRef) {
25
- index.registerInstance(this, hostRef);
25
+ if (new.target === ItemOption)
26
+ index.registerInstance(this, hostRef);
26
27
  /**
27
28
  * If `true`, the user cannot interact with the item option.
28
29
  */
@@ -108,7 +109,8 @@ const itemOptionsMdCss = () => `ion-item-options{top:0;right:0;-ms-flex-pack:end
108
109
 
109
110
  const ItemOptions = class {
110
111
  constructor(hostRef) {
111
- index.registerInstance(this, hostRef);
112
+ if (new.target === ItemOptions)
113
+ index.registerInstance(this, hostRef);
112
114
  this.ionSwipe = index.createEvent(this, "ionSwipe", 7);
113
115
  /**
114
116
  * The side the option button should be on. Possible values: `"start"` and `"end"`. If you have multiple `ion-item-options`, a side must be provided for each.
@@ -172,7 +174,8 @@ const ITEM_OPTION_EXPAND_THRESHOLD_CLASS = 'item-option-expand-threshold';
172
174
  let openSlidingItem;
173
175
  const ItemSliding = class {
174
176
  constructor(hostRef) {
175
- index.registerInstance(this, hostRef);
177
+ if (new.target === ItemSliding)
178
+ index.registerInstance(this, hostRef);
176
179
  this.ionDrag = index.createEvent(this, "ionDrag", 7);
177
180
  this.item = null;
178
181
  this.openAmount = 0;
@@ -3,13 +3,13 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CB1PuDlX.js');
7
- var attributeController = require('./attribute-controller-23GLe3Vk.js');
8
- var helpers = require('./helpers-DHNLF4fD.js');
6
+ var index = require('./index-Cn0FjjMN.js');
7
+ var attributeController = require('./attribute-controller-mEO_Z0Wr.js');
8
+ var helpers = require('./helpers-jmlMCGoQ.js');
9
9
  var dir = require('./dir-Bma_9Lqh.js');
10
10
  var theme = require('./theme-Cy4joHPt.js');
11
11
  var index$1 = require('./index-CxDnX7hd.js');
12
- var ionicGlobal = require('./ionic-global-CZX42KL4.js');
12
+ var ionicGlobal = require('./ionic-global-BsjzbnZk.js');
13
13
  require('./index-DkNv4J_i.js');
14
14
  require('./focus-visible-DGPRKkcx.js');
15
15
 
@@ -22,7 +22,8 @@ const itemMdCss = () => `:host{--border-radius:0px;--border-width:0px;--border-s
22
22
  const INDICATOR_CONTROL_SELECTOR = 'ion-checkbox, ion-radio, ion-toggle';
23
23
  const Item = class {
24
24
  constructor(hostRef) {
25
- index.registerInstance(this, hostRef);
25
+ if (new.target === Item)
26
+ index.registerInstance(this, hostRef);
26
27
  this.labelColorStyles = {};
27
28
  this.itemStyles = new Map();
28
29
  this.didLoad = false;
@@ -57,13 +58,15 @@ const Item = class {
57
58
  buttonChanged() {
58
59
  // Update the focusable option when the button option is changed
59
60
  this.focusable = this.isFocusable();
61
+ this.ariaController?.refresh();
60
62
  this.tabindexController?.refresh();
61
63
  }
62
64
  /**
63
- * Adding or removing `href` adds or removes the native element, so `tabindex` has to move
64
- * with it. The same goes for `button` in `buttonChanged`.
65
+ * Adding or removing `href` adds or removes the native element, so `tabindex` and a label
66
+ * written after load have to move with it. The same goes for `button` in `buttonChanged`.
65
67
  */
66
68
  hrefChanged() {
69
+ this.ariaController?.refresh();
67
70
  this.tabindexController?.refresh();
68
71
  }
69
72
  labelColorChanged(ev) {
@@ -114,12 +117,11 @@ const Item = class {
114
117
  }
115
118
  componentWillLoad() {
116
119
  /**
117
- * Only the initial copy takes the attribute off the host, so an `aria-label` written
118
- * after load names both the native element and the Host, which is a `listitem` when
119
- * the item is in an `ion-list`. The two names always agree, so a screen reader just
120
- * reads it twice.
120
+ * A non-clickable item renders a `div`, which ARIA doesn't allow a name on, so an
121
+ * `aria-label` written after load also stays on the Host, which is a `listitem`
122
+ * when the item is in an `ion-list`.
121
123
  */
122
- this.ariaController = attributeController.createAttributeController(this.el, ['aria-label'], () => index.forceUpdate(this));
124
+ this.ariaController = attributeController.createAttributeController(this.el, ['aria-label'], () => index.forceUpdate(this), [], undefined, () => !this.isClickable());
123
125
  // An item that isn't clickable has no native button or link, so `tabindex` stays on the host.
124
126
  this.tabindexController = attributeController.createTabindexController(this.el, () => index.forceUpdate(this), () => this.isClickable());
125
127
  }
@@ -356,7 +358,7 @@ const Item = class {
356
358
  * multi-input item, and in a clickable item, which is a second tab stop.
357
359
  */
358
360
  const slottedIndicatorNeedsRoom = this.hasSlottedIndicatorControl && (multipleInputs || this.isClickable());
359
- return (index.h(index.Host, { key: 'd5647af4f6f7723d2a7b6b329c2dcab5af7d8cc4', "aria-disabled": ariaDisabled, class: {
361
+ return (index.h(index.Host, { key: 'd061f93463e9745ad581d4ecab550ff8ccd511a9', "aria-disabled": ariaDisabled, class: {
360
362
  ...childStyles,
361
363
  ...labelColorStyles,
362
364
  ...theme.createColorClasses(this.color, {
@@ -373,7 +375,7 @@ const Item = class {
373
375
  'ion-focusable': this.focusable,
374
376
  'item-rtl': dir.isRTL(el),
375
377
  }),
376
- }, role: inList ? 'listitem' : null }, index.h(TagType, { key: '4cb3da1c11ec0d810df50559660477271e9d6f6a', ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, index.h("slot", { key: 'baa678038d411af06c847cae792158496602336c', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), index.h("div", { key: '157b9b023ef40b682b9096866b80b63cea5cf37a', class: "item-inner", part: "inner" }, index.h("div", { key: '1a1590575f09375ad3698536a85e028f44be2031', class: "input-wrapper", part: "container" }, index.h("slot", { key: '3b35b1cc02cd193a84c4f8607cbb871b0d97f124', onSlotchange: this.updateInteractivityOnSlotChange })), index.h("slot", { key: 'f294270d741bd49c77fddeade858ae5ffd4c3a68', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (index.h("ion-icon", { key: '704d6737bf8c754c74a602ef39b53edb45a95eb4', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme$1 === 'md' && index.h("ion-ripple-effect", { key: '06b7b7143e5dcae661e34aae279e0a71a38cbae9' }))));
378
+ }, role: inList ? 'listitem' : null }, index.h(TagType, { key: '4e4c0982c26cf2d6ab40bede7b8fadf3bfe2ead4', ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, index.h("slot", { key: 'df9c532cf3cd1474b60a4f5d12dae5a895ce2ee9', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), index.h("div", { key: 'bd501bf6aac4cd402db009bb760022830dac4192', class: "item-inner", part: "inner" }, index.h("div", { key: '27d307c0180d5a7365ad8408a515509c37944d76', class: "input-wrapper", part: "container" }, index.h("slot", { key: '11a99619fff888acbe9a81641e62d1d6af7b23c8', onSlotchange: this.updateInteractivityOnSlotChange })), index.h("slot", { key: '7f4403adfcaa75d50eb75355c595ee079fa09cc3', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (index.h("ion-icon", { key: '1125905813ba10513e0eb019b23901fb22114155', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme$1 === 'md' && index.h("ion-ripple-effect", { key: 'd53f59912defccfb7bae0c97781e2089a1676693' }))));
377
379
  }
378
380
  get el() { return index.getElement(this); }
379
381
  static get watchers() { return {
@@ -407,7 +409,8 @@ const itemDividerMdCss = () => `:host{--padding-top:0px;--padding-end:0px;--padd
407
409
 
408
410
  const ItemDivider = class {
409
411
  constructor(hostRef) {
410
- index.registerInstance(this, hostRef);
412
+ if (new.target === ItemDivider)
413
+ index.registerInstance(this, hostRef);
411
414
  /**
412
415
  * When it's set to `true`, the item-divider will stay visible when it reaches the top
413
416
  * of the viewport until the next `ion-item-divider` replaces it.
@@ -441,7 +444,8 @@ const itemGroupMdCss = () => `ion-item-group{display:block}`;
441
444
 
442
445
  const ItemGroup = class {
443
446
  constructor(hostRef) {
444
- index.registerInstance(this, hostRef);
447
+ if (new.target === ItemGroup)
448
+ index.registerInstance(this, hostRef);
445
449
  }
446
450
  render() {
447
451
  const theme = ionicGlobal.getIonTheme(this);
@@ -467,7 +471,8 @@ const labelMdCss = () => `:host(.in-item){--color:initial;display:block;color:va
467
471
 
468
472
  const Label = class {
469
473
  constructor(hostRef) {
470
- index.registerInstance(this, hostRef);
474
+ if (new.target === Label)
475
+ index.registerInstance(this, hostRef);
471
476
  this.ionColor = index.createEvent(this, "ionColor", 7);
472
477
  this.ionStyle = index.createEvent(this, "ionStyle", 7);
473
478
  this.inRange = false;
@@ -551,7 +556,8 @@ const listMdCss = () => `ion-list{margin-left:0;margin-right:0;margin-top:0;marg
551
556
 
552
557
  const List = class {
553
558
  constructor(hostRef) {
554
- index.registerInstance(this, hostRef);
559
+ if (new.target === List)
560
+ index.registerInstance(this, hostRef);
555
561
  /**
556
562
  * If `true`, the list will have margin around it and rounded corners.
557
563
  */
@@ -615,7 +621,8 @@ const listHeaderMdCss = () => `:host{--border-style:solid;--border-width:0;--inn
615
621
 
616
622
  const ListHeader = class {
617
623
  constructor(hostRef) {
618
- index.registerInstance(this, hostRef);
624
+ if (new.target === ListHeader)
625
+ index.registerInstance(this, hostRef);
619
626
  }
620
627
  render() {
621
628
  const { lines } = this;
@@ -640,13 +647,14 @@ const noteMdCss = () => `:host{color:var(--color);font-family:var(--ion-font-fam
640
647
 
641
648
  const Note = class {
642
649
  constructor(hostRef) {
643
- index.registerInstance(this, hostRef);
650
+ if (new.target === Note)
651
+ index.registerInstance(this, hostRef);
644
652
  }
645
653
  render() {
646
654
  const theme$1 = ionicGlobal.getIonTheme(this);
647
- return (index.h(index.Host, { key: '3f882cc4cac96016c332fd42b7a42ee2065284ce', class: theme.createColorClasses(this.color, {
655
+ return (index.h(index.Host, { key: '683f5da066f10c3899f97d18f97857431538ac85', class: theme.createColorClasses(this.color, {
648
656
  [theme$1]: true,
649
- }) }, index.h("slot", { key: 'f90b98dcd17b4f3c4e7b85ad4fe01e5478bdc952' })));
657
+ }) }, index.h("slot", { key: 'b3fd619eeda60a03ba60b7202646a2f46f7a26f5' })));
650
658
  }
651
659
  };
652
660
  Note.style = {
@@ -659,7 +667,8 @@ const skeletonTextCss = () => `:host{--background:rgba(var(--background-rgb, var
659
667
 
660
668
  const SkeletonText = class {
661
669
  constructor(hostRef) {
662
- index.registerInstance(this, hostRef);
670
+ if (new.target === SkeletonText)
671
+ index.registerInstance(this, hostRef);
663
672
  this.ionStyle = index.createEvent(this, "ionStyle", 7);
664
673
  /**
665
674
  * If `true`, the skeleton text will animate.
@@ -682,11 +691,11 @@ const SkeletonText = class {
682
691
  const animated = this.animated && index.config.getBoolean('animated', true);
683
692
  const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
684
693
  const theme$1 = ionicGlobal.getIonTheme(this);
685
- return (index.h(index.Host, { key: '73b52ffa6adba5755f2e74ca129fd5962191f81f', class: {
694
+ return (index.h(index.Host, { key: '70efd9086ef58705a965a63aa3e5ac775757dc85', class: {
686
695
  [theme$1]: true,
687
696
  'skeleton-text-animated': animated,
688
697
  'in-media': inMedia,
689
- } }, index.h("span", { key: '09ec1212744db51b42d8b072628d973e30d60847' }, "\u00A0")));
698
+ } }, index.h("span", { key: '296246a88e33e0106045bec2f64738f48593ba12' }, "\u00A0")));
690
699
  }
691
700
  get el() { return index.getElement(this); }
692
701
  };
@@ -3,19 +3,20 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CB1PuDlX.js');
6
+ var index = require('./index-Cn0FjjMN.js');
7
7
  var config = require('./config-CjUbvdPW.js');
8
- var helpers = require('./helpers-DHNLF4fD.js');
8
+ var helpers = require('./helpers-jmlMCGoQ.js');
9
9
  var lockController = require('./lock-controller-aDB9wrEf.js');
10
- var overlays = require('./overlays-DziOxcCT.js');
11
- var index$1 = require('./index-B3s1jjBU.js');
10
+ var overlayFocusBoundary = require('./overlay-focus-boundary-DCv6Y3fL.js');
11
+ var overlays = require('./overlays-DMW90-Kg.js');
12
+ var index$1 = require('./index-DRLvcDji.js');
12
13
  var theme = require('./theme-Cy4joHPt.js');
13
- var ionicGlobal = require('./ionic-global-CZX42KL4.js');
14
- var animation = require('./animation-zKIdNEmG.js');
14
+ var ionicGlobal = require('./ionic-global-BsjzbnZk.js');
15
+ var animation = require('./animation-CeH2W-qd.js');
15
16
  require('./index-DkNv4J_i.js');
16
17
  require('./focus-visible-DGPRKkcx.js');
17
18
  require('./dir-Bma_9Lqh.js');
18
- require('./framework-delegate-CAdDEnFS.js');
19
+ require('./framework-delegate-D-XPcdY0.js');
19
20
  require('./gesture-controller-CeJslptU.js');
20
21
 
21
22
  /**
@@ -114,7 +115,8 @@ const loadingMdCss = () => `.sc-ion-loading-md-h{--min-width:auto;--width:auto;-
114
115
 
115
116
  const Loading = class {
116
117
  constructor(hostRef) {
117
- index.registerInstance(this, hostRef);
118
+ if (new.target === Loading)
119
+ index.registerInstance(this, hostRef);
118
120
  this.didPresent = index.createEvent(this, "ionLoadingDidPresent", 7);
119
121
  this.willPresent = index.createEvent(this, "ionLoadingWillPresent", 7);
120
122
  this.willDismiss = index.createEvent(this, "ionLoadingWillDismiss", 7);
@@ -289,14 +291,14 @@ const Loading = class {
289
291
  * Otherwise, don't set aria-labelledby.
290
292
  */
291
293
  const ariaLabelledBy = message !== undefined ? msgId : null;
292
- return (index.h(index.Host, { key: 'bffd1e4682eded690fc56da54c2be91643f44109', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
294
+ return (index.h(index.Host, { key: '6bb4757eb4f4105847cbe7330a1952a98f05429e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
293
295
  zIndex: `${40000 + this.overlayIndex}`,
294
296
  }, onIonBackdropTap: this.onBackdropTap, class: {
295
297
  ...theme.getClassMap(this.cssClass),
296
298
  [theme$1]: true,
297
299
  'overlay-hidden': true,
298
300
  'loading-translucent': this.translucent,
299
- } }, index.h("ion-backdrop", { key: '0f079258a006359e176813e95dd35cd6d49e9dee', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: '7692781b0a6ea095375fbb4d293dad31635a55d9', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: 'e220674ca2c5fc277461e3240962d8e260f0b488', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '7b4edc2adc86bfc9b4be061a220451f10c1c80d2', class: "loading-spinner" }, index.h("ion-spinner", { key: '753fa19095a446eec6ebe31449afb573abccc231', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'a448654f65376159a4b1b1b3abbe198d115abfb1', tabindex: "0", "aria-hidden": "true" })));
301
+ } }, index.h("ion-backdrop", { key: '328f7f50519bd81fa1b1358dbdb0e678623a64e7', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h(overlayFocusBoundary.OverlayFocusBoundary, { key: '5e48890d9e805b5a37347c6c4539a3124e412860', overlay: this.el, edge: "start" }), index.h("div", { key: 'a95bfdaad1483ad7f78a9aeb8384dac00eac635f', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '5d1b43ab0f291c8d5cd35082f7bb4a7160cca30d', class: "loading-spinner" }, index.h("ion-spinner", { key: 'c0adb20c7d748d7a6adaba81d9e5159f19e9f480', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h(overlayFocusBoundary.OverlayFocusBoundary, { key: '46b5a0dceb337a8baa2ae9a4be50c46e06218cdc', overlay: this.el, edge: "end" })));
300
302
  }
301
303
  get el() { return index.getElement(this); }
302
304
  static get watchers() { return {
@@ -3,21 +3,21 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CB1PuDlX.js');
6
+ var index = require('./index-Cn0FjjMN.js');
7
7
  var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
8
- var overlays = require('./overlays-DziOxcCT.js');
8
+ var overlays = require('./overlays-DMW90-Kg.js');
9
9
  var gestureController = require('./gesture-controller-CeJslptU.js');
10
- var ionicGlobal = require('./ionic-global-CZX42KL4.js');
11
- var helpers = require('./helpers-DHNLF4fD.js');
12
- var index$1 = require('./index-C3pmpKlo.js');
13
- var attributeController = require('./attribute-controller-23GLe3Vk.js');
10
+ var ionicGlobal = require('./ionic-global-BsjzbnZk.js');
11
+ var helpers = require('./helpers-jmlMCGoQ.js');
12
+ var index$1 = require('./index-R2zOwQVz.js');
13
+ var attributeController = require('./attribute-controller-mEO_Z0Wr.js');
14
14
  var theme = require('./theme-Cy4joHPt.js');
15
15
  var index$2 = require('./index-CxDnX7hd.js');
16
16
  require('./index-DkNv4J_i.js');
17
- require('./framework-delegate-CAdDEnFS.js');
17
+ require('./framework-delegate-D-XPcdY0.js');
18
18
  require('./focus-visible-DGPRKkcx.js');
19
19
  require('./dir-Bma_9Lqh.js');
20
- require('./animation-zKIdNEmG.js');
20
+ require('./animation-CeH2W-qd.js');
21
21
 
22
22
  const ionicMenuMdCss = () => `:host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);right:0;left:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){right:0;left:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{right:0;left:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}`;
23
23
 
@@ -31,7 +31,8 @@ const iosEasingReverse = 'cubic-bezier(1, 0, 0.68, 0.28)';
31
31
  const mdEasingReverse = 'cubic-bezier(0.4, 0, 0.6, 1)';
32
32
  const Menu = class {
33
33
  constructor(hostRef) {
34
- index.registerInstance(this, hostRef);
34
+ if (new.target === Menu)
35
+ index.registerInstance(this, hostRef);
35
36
  this.ionWillOpen = index.createEvent(this, "ionWillOpen", 7);
36
37
  this.ionWillClose = index.createEvent(this, "ionWillClose", 7);
37
38
  this.ionDidOpen = index.createEvent(this, "ionDidOpen", 7);
@@ -744,7 +745,8 @@ const menuButtonMdCss = () => `:host{--background:transparent;--color-focused:cu
744
745
 
745
746
  const MenuButton = class {
746
747
  constructor(hostRef) {
747
- index.registerInstance(this, hostRef);
748
+ if (new.target === MenuButton)
749
+ index.registerInstance(this, hostRef);
748
750
  this.inheritedAttributes = {};
749
751
  this.visible = false;
750
752
  /**
@@ -822,7 +824,8 @@ const menuToggleCss = () => `:host(.menu-toggle-hidden){display:none}`;
822
824
 
823
825
  const MenuToggle = class {
824
826
  constructor(hostRef) {
825
- index.registerInstance(this, hostRef);
827
+ if (new.target === MenuToggle)
828
+ index.registerInstance(this, hostRef);
826
829
  this.visible = false;
827
830
  /**
828
831
  * Automatically hides the content when the corresponding menu is not active.
@@ -3,18 +3,19 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index$3 = require('./index-CB1PuDlX.js');
7
- var index$1 = require('./index-DhGCo_n8.js');
8
- var frameworkDelegate = require('./framework-delegate-CAdDEnFS.js');
9
- var helpers = require('./helpers-DHNLF4fD.js');
6
+ var index$3 = require('./index-Cn0FjjMN.js');
7
+ var index$1 = require('./index-CHRTOQP9.js');
8
+ var frameworkDelegate = require('./framework-delegate-D-XPcdY0.js');
9
+ var helpers = require('./helpers-jmlMCGoQ.js');
10
10
  var lockController = require('./lock-controller-aDB9wrEf.js');
11
11
  var capacitor = require('./capacitor-DmA66EwP.js');
12
- var overlays = require('./overlays-DziOxcCT.js');
12
+ var overlayFocusBoundary = require('./overlay-focus-boundary-DCv6Y3fL.js');
13
+ var overlays = require('./overlays-DMW90-Kg.js');
13
14
  var theme = require('./theme-Cy4joHPt.js');
14
- var index$4 = require('./index-lD5wTj_b.js');
15
- var ionicGlobal = require('./ionic-global-CZX42KL4.js');
15
+ var index$4 = require('./index-Cco7L1eB.js');
16
+ var ionicGlobal = require('./ionic-global-BsjzbnZk.js');
16
17
  var keyboard = require('./keyboard-Cix5TVkD.js');
17
- var animation = require('./animation-zKIdNEmG.js');
18
+ var animation = require('./animation-CeH2W-qd.js');
18
19
  var index = require('./index-DkNv4J_i.js');
19
20
  var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
20
21
  var index$2 = require('./index-DRPqwSvU.js');
@@ -1794,7 +1795,8 @@ const onRootSafeAreaTopChange = (callback) => {
1794
1795
  * corresponding safe-area insets. A modal that does not span an axis reaches
1795
1796
  * neither edge on that axis.
1796
1797
  *
1797
- * When both `--width` and `--height` are `fullscreen`, coverage can be
1798
+ * When both `--width` and `--height` are `fullscreen` and neither
1799
+ * `--max-width` nor `--max-height` is a definite size, coverage can be
1798
1800
  * determined directly. Otherwise, coverage is based on the rendered wrapper,
1799
1801
  * including cases where content sizing or `--max-height` causes the modal
1800
1802
  * to reach the viewport.
@@ -1803,7 +1805,13 @@ const getModalCoveredAxes = (hostEl) => {
1803
1805
  const styles = getComputedStyle(hostEl);
1804
1806
  const width = overlays.getOverlaySizeType(styles.getPropertyValue('--width'));
1805
1807
  const height = overlays.getOverlaySizeType(styles.getPropertyValue('--height'));
1806
- if (width === 'fullscreen' && height === 'fullscreen') {
1808
+ // --max-width/--max-height (e.g. the select modal in the Ionic theme
1809
+ // sets --max-height: 45%). When clamped, the modal may not reach the
1810
+ // viewport edges, so we fall through to measure the wrapper instead.
1811
+ const maxWidth = overlays.getOverlaySizeType(styles.getPropertyValue('--max-width'));
1812
+ const maxHeight = overlays.getOverlaySizeType(styles.getPropertyValue('--max-height'));
1813
+ const isClamped = maxWidth === 'definite' || maxHeight === 'definite';
1814
+ if (width === 'fullscreen' && height === 'fullscreen' && !isClamped) {
1807
1815
  return { vertical: true, horizontal: true };
1808
1816
  }
1809
1817
  return measureCoveredAxes(hostEl);
@@ -1938,15 +1946,16 @@ const clearSafeAreaOverrides = (hostEl) => {
1938
1946
  hostEl.style.removeProperty('--ion-safe-area-right');
1939
1947
  };
1940
1948
 
1941
- const modalIonicCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--token-bg-surface-elevation-3, var(--token-primitives-base-white, #ffffff));--box-shadow:var(--token-elevation-4, var(--token-shadow-offset-0, 0px) var(--token-shadow-offset-15, 15px) var(--token-shadow-blur-48, 48px) var(--token-shadow-spread-0, 0px) var(--token-shadow-7, rgba(0, 0, 0, 0.18)), var(--token-shadow-offset-0, 0px) var(--token-shadow-offset-3, 3px) var(--token-shadow-blur-12, 12px) var(--token-shadow-spread-0, 0px) var(--token-shadow-5, rgba(0, 0, 0, 0.12)));--backdrop-opacity:0.7;color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528))}:host(.modal-round){--border-radius:var(--token-border-radius-1000, var(--token-scale-1000, 40px))}:host(.modal-soft){--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}:host(.modal-rectangular){--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}:host(.select-modal.modal-default){--max-height:45%;--max-width:calc(100% - (var(--token-space-400, var(--token-scale-400, 16px)) * 2));--min-height:340px}.modal-handle{right:0px;left:0px;top:var(--token-space-300, var(--token-scale-300, 12px));border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px));width:var(--token-scale-1100, 44px);height:var(--token-scale-100, 4px);background-color:var(--token-primitives-neutral-300, #e6eaee)}.modal-handle::before{-webkit-padding-start:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-start:var(--token-space-100, var(--token-scale-100, 4px));-webkit-padding-end:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-end:var(--token-space-100, var(--token-scale-100, 4px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px))}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + var(--token-scale-250, 10px)))}`;
1949
+ const modalIonicCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--token-bg-surface-elevation-3, var(--token-primitives-base-white, #ffffff));--box-shadow:var(--token-elevation-4, var(--token-shadow-offset-0, 0px) var(--token-shadow-offset-15, 15px) var(--token-shadow-blur-48, 48px) var(--token-shadow-spread-0, 0px) var(--token-shadow-7, rgba(0, 0, 0, 0.18)), var(--token-shadow-offset-0, 0px) var(--token-shadow-offset-3, 3px) var(--token-shadow-blur-12, 12px) var(--token-shadow-spread-0, 0px) var(--token-shadow-5, rgba(0, 0, 0, 0.12)));--backdrop-opacity:0.7;color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528))}:host(.modal-round){--border-radius:var(--token-border-radius-1000, var(--token-scale-1000, 40px))}:host(.modal-soft){--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}:host(.modal-rectangular){--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}:host(.select-modal.modal-default){--max-height:45%;--max-width:calc(100% - (var(--token-space-400, var(--token-scale-400, 16px)) * 2));--min-height:340px}.modal-handle{right:0px;left:0px;top:var(--token-space-300, var(--token-scale-300, 12px));border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px));width:var(--token-scale-1100, 44px);height:var(--token-scale-100, 4px);background-color:var(--token-primitives-neutral-300, #e6eaee)}.modal-handle::before{-webkit-padding-start:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-start:var(--token-space-100, var(--token-scale-100, 4px));-webkit-padding-end:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-end:var(--token-space-100, var(--token-scale-100, 4px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px))}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + var(--token-scale-250, 10px)))}`;
1942
1950
 
1943
- const modalIosCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--ion-background-color, #fff);--border-radius:0;--backdrop-opacity:0;color:var(--ion-text-color, #000)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;width:36px;height:5px;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be))}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;width:36px;height:5px}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}`;
1951
+ const modalIosCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--ion-background-color, #fff);--border-radius:0;--backdrop-opacity:0;color:var(--ion-text-color, #000)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;width:36px;height:5px;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be))}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;width:36px;height:5px}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}`;
1944
1952
 
1945
- const modalMdCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--ion-background-color, #fff);--border-radius:0;--backdrop-opacity:0;color:var(--ion-text-color, #000)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;width:36px;height:5px;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be))}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;width:36px;height:5px}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}`;
1953
+ const modalMdCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--ion-background-color, #fff);--border-radius:0;--backdrop-opacity:0;color:var(--ion-text-color, #000)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;width:36px;height:5px;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be))}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;width:36px;height:5px}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}`;
1946
1954
 
1947
1955
  const Modal = class {
1948
1956
  constructor(hostRef) {
1949
- index$3.registerInstance(this, hostRef);
1957
+ if (new.target === Modal)
1958
+ index$3.registerInstance(this, hostRef);
1950
1959
  this.didPresent = index$3.createEvent(this, "ionModalDidPresent", 7);
1951
1960
  this.willPresent = index$3.createEvent(this, "ionModalWillPresent", 7);
1952
1961
  this.willDismiss = index$3.createEvent(this, "ionModalWillDismiss", 7);
@@ -3195,7 +3204,7 @@ const Modal = class {
3195
3204
  const isHandleCycle = handleBehavior === 'cycle';
3196
3205
  const shape = this.getShape();
3197
3206
  const isSheetModalWithHandle = isSheetModal && showHandle;
3198
- return (index$3.h(index$3.Host, { key: 'd7d9e9f103fb1ac669da34819e6f460316cffa48', "no-router": true,
3207
+ return (index$3.h(index$3.Host, { key: 'd751a17872485c686c1e281bf21bf09b08a5615a', "no-router": true,
3199
3208
  // Allow the modal to be navigable when the handle is focusable
3200
3209
  tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
3201
3210
  zIndex: `${20000 + this.overlayIndex}`,
@@ -3209,7 +3218,7 @@ const Modal = class {
3209
3218
  'overlay-hidden': true,
3210
3219
  [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
3211
3220
  ...theme.getClassMap(this.cssClass),
3212
- }, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, index$3.h("ion-backdrop", { key: '030d13dadaef45a24fd694478cf6583a637b9e9e', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme$1 === 'ios' && index$3.h("div", { key: '111f4df167615ee37f6db3f1000f6bd1a6b25fee', class: "modal-shadow" }), index$3.h("div", { key: '2720518be4e2701a5641f31e3f13336778f2fdbb',
3221
+ }, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, index$3.h("ion-backdrop", { key: '40d6ab312a1f9496a87f642e310252329804d791', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme$1 === 'ios' && index$3.h("div", { key: 'b5e6088f5674862fedc1427b6013455833378c1f', class: "modal-shadow" }), index$3.h(overlayFocusBoundary.OverlayFocusBoundary, { key: 'aae591a0895594c855c7a1ac026fd2c872bc3037', overlay: this.el, edge: "start" }), index$3.h("div", { key: '7be6c1f17b03a45b60df3ae8514c49e3e97d746c',
3213
3222
  /*
3214
3223
  role and aria-modal must be used on the
3215
3224
  same element. They must also be set inside the
@@ -3222,9 +3231,9 @@ const Modal = class {
3222
3231
  without the tabindex focus() would be a no-op and screen readers
3223
3232
  may not properly announce the dialog and its content when it opens.
3224
3233
  */
3225
- role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (index$3.h("button", { key: '7b8d765349e94315383e15c59ae55bbf92b7834a', class: "modal-handle",
3234
+ role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (index$3.h("button", { key: '0e3c796f6bcd2d7903203ee5d6d338aa8c950eb7', class: "modal-handle",
3226
3235
  // Prevents the handle from receiving keyboard focus when it does not cycle
3227
- 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) })), index$3.h("slot", { key: 'fb952f2216991352c002b796933d3dbee1397051', onSlotchange: this.onSlotChange }))));
3236
+ 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) })), index$3.h("slot", { key: 'a789eb2fe3fc98979ce6284b87b6f7ca156892d0', onSlotchange: this.onSlotChange })), index$3.h(overlayFocusBoundary.OverlayFocusBoundary, { key: '318a8ad3719d37f858e165f3c2c759dbbdb2955e', overlay: this.el, edge: "end" })));
3228
3237
  }
3229
3238
  get el() { return index$3.getElement(this); }
3230
3239
  static get watchers() { return {