@ionic/core 8.0.1-dev.11713911458.1ad5f4cf → 8.0.1-dev.11714492860.17c00351

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 (411) hide show
  1. package/components/input-shims.js +5 -5
  2. package/components/ion-content.js +6 -4
  3. package/components/ion-datetime-button.js +2 -2
  4. package/components/ion-datetime.js +15 -13
  5. package/components/ion-fab-button.js +2 -2
  6. package/components/ion-fab-list.js +2 -2
  7. package/components/ion-fab.js +2 -2
  8. package/components/ion-footer.js +2 -2
  9. package/components/ion-grid.js +2 -2
  10. package/components/ion-header.js +2 -2
  11. package/components/ion-img.js +1 -1
  12. package/components/ion-infinite-scroll-content.js +2 -2
  13. package/components/ion-infinite-scroll.js +1 -1
  14. package/components/ion-input-password-toggle.js +3 -3
  15. package/components/ion-input.js +8 -12
  16. package/components/ion-item-divider.js +2 -2
  17. package/components/ion-item-group.js +1 -1
  18. package/components/ion-item-option.js +2 -2
  19. package/components/ion-item-options.js +1 -1
  20. package/components/ion-item-sliding.js +1 -1
  21. package/components/ion-loading.js +2 -2
  22. package/components/ion-menu-button.js +2 -2
  23. package/components/ion-menu-toggle.js +2 -2
  24. package/components/ion-menu.js +2 -2
  25. package/components/ion-modal.js +10 -8
  26. package/components/ion-nav-link.js +1 -1
  27. package/components/ion-nav.js +1 -1
  28. package/components/ion-note.js +2 -2
  29. package/components/ion-picker-legacy.js +2 -2
  30. package/components/ion-progress-bar.js +1 -1
  31. package/components/ion-range.js +3 -3
  32. package/components/ion-refresher-content.js +1 -1
  33. package/components/ion-refresher.js +1 -1
  34. package/components/ion-reorder-group.js +1 -1
  35. package/components/ion-reorder.js +1 -1
  36. package/components/ion-router-link.js +2 -2
  37. package/components/ion-router-outlet.js +1 -1
  38. package/components/ion-row.js +1 -1
  39. package/components/ion-searchbar.js +4 -4
  40. package/components/ion-segment-button.js +3 -3
  41. package/components/ion-segment.js +2 -2
  42. package/components/ion-select-option.js +1 -1
  43. package/components/ion-select.js +2 -2
  44. package/components/ion-skeleton-text.js +2 -2
  45. package/components/ion-split-pane.js +2 -2
  46. package/components/ion-tab-bar.js +2 -2
  47. package/components/ion-tab-button.js +2 -2
  48. package/components/ion-tab.js +2 -2
  49. package/components/ion-tabs.js +1 -1
  50. package/components/ion-text.js +2 -2
  51. package/components/ion-textarea.js +2 -2
  52. package/components/ion-thumbnail.js +1 -1
  53. package/components/ion-title.js +2 -2
  54. package/components/ion-toast.js +2 -2
  55. package/components/ion-toggle.js +3 -3
  56. package/components/ion-toolbar.js +2 -2
  57. package/components/label.js +2 -2
  58. package/components/list-header.js +2 -2
  59. package/components/list.js +1 -1
  60. package/components/overlays.js +3 -2
  61. package/components/picker-column-option.js +2 -2
  62. package/components/picker-column.js +156 -4
  63. package/components/picker-column2.js +2 -2
  64. package/components/picker.js +2 -2
  65. package/components/popover.js +6 -4
  66. package/components/radio-group.js +1 -1
  67. package/components/radio.js +3 -3
  68. package/components/ripple-effect.js +1 -1
  69. package/components/select-popover.js +1 -1
  70. package/components/spinner.js +1 -1
  71. package/css/palettes/dark.always.css +1 -1
  72. package/css/palettes/dark.always.css.map +1 -1
  73. package/css/palettes/dark.class.css +1 -1
  74. package/css/palettes/dark.class.css.map +1 -1
  75. package/css/palettes/dark.system.css +1 -1
  76. package/css/palettes/dark.system.css.map +1 -1
  77. package/dist/cjs/index.cjs.js +1 -1
  78. package/dist/cjs/{input-shims-9e59ef62.js → input-shims-20d639e6.js} +5 -5
  79. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  80. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  81. package/dist/cjs/ion-app_8.cjs.entry.js +15 -14
  82. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  83. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  84. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  85. package/dist/cjs/ion-datetime_3.cjs.entry.js +20 -18
  86. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
  87. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  88. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  89. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  90. package/dist/cjs/ion-input.cjs.entry.js +7 -12
  91. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  92. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  93. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  94. package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
  95. package/dist/cjs/ion-modal.cjs.entry.js +9 -8
  96. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  98. package/dist/cjs/ion-picker-column.cjs.entry.js +154 -4
  99. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  100. package/dist/cjs/ion-popover.cjs.entry.js +5 -4
  101. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  102. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  103. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  104. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  105. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  107. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  108. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  109. package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
  110. package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
  111. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  112. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  113. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  114. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  115. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  116. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  117. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  118. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  119. package/dist/cjs/ionic.cjs.js +1 -1
  120. package/dist/cjs/loader.cjs.js +1 -1
  121. package/dist/cjs/{overlays-10c452b2.js → overlays-574e681c.js} +3 -1
  122. package/dist/collection/components/content/content.js +23 -4
  123. package/dist/collection/components/content/test/content.spec.js +27 -0
  124. package/dist/collection/components/datetime/datetime.js +15 -13
  125. package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
  126. package/dist/collection/components/datetime-button/datetime-button.js +2 -2
  127. package/dist/collection/components/fab/fab.js +2 -2
  128. package/dist/collection/components/fab-button/fab-button.js +2 -2
  129. package/dist/collection/components/fab-list/fab-list.js +2 -2
  130. package/dist/collection/components/footer/footer.js +2 -2
  131. package/dist/collection/components/grid/grid.js +2 -2
  132. package/dist/collection/components/header/header.js +2 -2
  133. package/dist/collection/components/img/img.js +1 -1
  134. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  135. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  136. package/dist/collection/components/input/input.js +24 -12
  137. package/dist/collection/components/input/test/input.spec.js +13 -0
  138. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  139. package/dist/collection/components/item-divider/item-divider.js +2 -2
  140. package/dist/collection/components/item-group/item-group.js +1 -1
  141. package/dist/collection/components/item-option/item-option.js +2 -2
  142. package/dist/collection/components/item-options/item-options.js +1 -1
  143. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  144. package/dist/collection/components/label/label.js +2 -2
  145. package/dist/collection/components/list/list.js +1 -1
  146. package/dist/collection/components/list-header/list-header.js +2 -2
  147. package/dist/collection/components/loading/loading.js +2 -2
  148. package/dist/collection/components/menu/menu.js +2 -2
  149. package/dist/collection/components/menu-button/menu-button.js +2 -2
  150. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  151. package/dist/collection/components/modal/gestures/sheet.js +3 -2
  152. package/dist/collection/components/modal/modal.js +25 -6
  153. package/dist/collection/components/modal/test/basic/modal.spec.js +19 -0
  154. package/dist/collection/components/nav/nav.js +1 -1
  155. package/dist/collection/components/nav-link/nav-link.js +1 -1
  156. package/dist/collection/components/note/note.js +2 -2
  157. package/dist/collection/components/picker/picker.js +2 -2
  158. package/dist/collection/components/picker-column/picker-column.css +19 -0
  159. package/dist/collection/components/picker-column/picker-column.js +158 -3
  160. package/dist/collection/components/picker-column/test/picker-column.spec.js +83 -0
  161. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  162. package/dist/collection/components/picker-legacy/picker.js +2 -2
  163. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  164. package/dist/collection/components/popover/popover.js +23 -4
  165. package/dist/collection/components/popover/test/basic/popover.spec.js +19 -0
  166. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  167. package/dist/collection/components/radio/radio.js +3 -3
  168. package/dist/collection/components/radio-group/radio-group.js +1 -1
  169. package/dist/collection/components/range/range.js +3 -3
  170. package/dist/collection/components/refresher/refresher.js +1 -1
  171. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  172. package/dist/collection/components/reorder/reorder.js +1 -1
  173. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  174. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  175. package/dist/collection/components/router-link/router-link.js +2 -2
  176. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  177. package/dist/collection/components/row/row.js +1 -1
  178. package/dist/collection/components/searchbar/searchbar.js +4 -4
  179. package/dist/collection/components/segment/segment.js +2 -2
  180. package/dist/collection/components/segment-button/segment-button.js +3 -3
  181. package/dist/collection/components/select/select.js +2 -2
  182. package/dist/collection/components/select-option/select-option.js +1 -1
  183. package/dist/collection/components/select-popover/select-popover.js +1 -1
  184. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  185. package/dist/collection/components/spinner/spinner.js +1 -1
  186. package/dist/collection/components/split-pane/split-pane.js +2 -2
  187. package/dist/collection/components/tab/tab.js +2 -2
  188. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  189. package/dist/collection/components/tab-button/tab-button.js +2 -2
  190. package/dist/collection/components/tabs/tabs.js +1 -1
  191. package/dist/collection/components/text/text.js +2 -2
  192. package/dist/collection/components/textarea/textarea.js +2 -2
  193. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  194. package/dist/collection/components/title/title.js +2 -2
  195. package/dist/collection/components/toast/toast.js +2 -2
  196. package/dist/collection/components/toggle/toggle.js +3 -3
  197. package/dist/collection/components/toolbar/toolbar.js +2 -2
  198. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +5 -5
  199. package/dist/collection/utils/overlays.js +2 -1
  200. package/dist/docs.json +96 -1
  201. package/dist/esm/index.js +1 -1
  202. package/dist/esm/{input-shims-0314bbe5.js → input-shims-4530285e.js} +5 -5
  203. package/dist/esm/ion-action-sheet.entry.js +1 -1
  204. package/dist/esm/ion-alert.entry.js +1 -1
  205. package/dist/esm/ion-app_8.entry.js +15 -14
  206. package/dist/esm/ion-avatar_3.entry.js +1 -1
  207. package/dist/esm/ion-col_3.entry.js +3 -3
  208. package/dist/esm/ion-datetime-button.entry.js +2 -2
  209. package/dist/esm/ion-datetime_3.entry.js +20 -18
  210. package/dist/esm/ion-fab_3.entry.js +6 -6
  211. package/dist/esm/ion-img.entry.js +1 -1
  212. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  213. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  214. package/dist/esm/ion-input.entry.js +7 -12
  215. package/dist/esm/ion-item-option_3.entry.js +4 -4
  216. package/dist/esm/ion-item_8.entry.js +12 -12
  217. package/dist/esm/ion-loading.entry.js +3 -3
  218. package/dist/esm/ion-menu_3.entry.js +7 -7
  219. package/dist/esm/ion-modal.entry.js +9 -8
  220. package/dist/esm/ion-nav_2.entry.js +2 -2
  221. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  222. package/dist/esm/ion-picker-column.entry.js +154 -4
  223. package/dist/esm/ion-picker.entry.js +2 -2
  224. package/dist/esm/ion-popover.entry.js +5 -4
  225. package/dist/esm/ion-progress-bar.entry.js +1 -1
  226. package/dist/esm/ion-radio_2.entry.js +4 -4
  227. package/dist/esm/ion-range.entry.js +3 -3
  228. package/dist/esm/ion-refresher_2.entry.js +2 -2
  229. package/dist/esm/ion-reorder_2.entry.js +2 -2
  230. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  231. package/dist/esm/ion-route_4.entry.js +2 -2
  232. package/dist/esm/ion-searchbar.entry.js +4 -4
  233. package/dist/esm/ion-segment_2.entry.js +5 -5
  234. package/dist/esm/ion-select_3.entry.js +5 -5
  235. package/dist/esm/ion-spinner.entry.js +1 -1
  236. package/dist/esm/ion-split-pane.entry.js +2 -2
  237. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  238. package/dist/esm/ion-tab_2.entry.js +3 -3
  239. package/dist/esm/ion-text.entry.js +2 -2
  240. package/dist/esm/ion-textarea.entry.js +2 -2
  241. package/dist/esm/ion-toast.entry.js +3 -3
  242. package/dist/esm/ion-toggle.entry.js +3 -3
  243. package/dist/esm/ionic.js +1 -1
  244. package/dist/esm/loader.js +1 -1
  245. package/dist/esm/{overlays-6fb4a2f2.js → overlays-1eac28e2.js} +3 -2
  246. package/dist/esm-es5/index.js +1 -1
  247. package/dist/esm-es5/input-shims-4530285e.js +4 -0
  248. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  249. package/dist/esm-es5/ion-alert.entry.js +1 -1
  250. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  251. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  252. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  253. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  254. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  255. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  256. package/dist/esm-es5/ion-img.entry.js +1 -1
  257. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  258. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  259. package/dist/esm-es5/ion-input.entry.js +1 -1
  260. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  261. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  262. package/dist/esm-es5/ion-loading.entry.js +1 -1
  263. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  264. package/dist/esm-es5/ion-modal.entry.js +1 -1
  265. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  266. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  267. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  268. package/dist/esm-es5/ion-picker.entry.js +1 -1
  269. package/dist/esm-es5/ion-popover.entry.js +1 -1
  270. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  271. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  272. package/dist/esm-es5/ion-range.entry.js +1 -1
  273. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  274. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  275. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  276. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  277. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  278. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  279. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  280. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  281. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  282. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  283. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  284. package/dist/esm-es5/ion-text.entry.js +1 -1
  285. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  286. package/dist/esm-es5/ion-toast.entry.js +1 -1
  287. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  288. package/dist/esm-es5/ionic.js +1 -1
  289. package/dist/esm-es5/loader.js +1 -1
  290. package/dist/esm-es5/{overlays-6fb4a2f2.js → overlays-1eac28e2.js} +1 -1
  291. package/dist/html.html-data.json +24 -0
  292. package/dist/ionic/index.esm.js +1 -1
  293. package/dist/ionic/ionic.esm.js +1 -1
  294. package/dist/ionic/{p-50205ef9.system.entry.js → p-0d88f9c2.system.entry.js} +1 -1
  295. package/dist/ionic/{p-1fe1f512.entry.js → p-1a8d2fe3.entry.js} +1 -1
  296. package/dist/ionic/{p-3008ca4e.system.entry.js → p-1aff89d0.system.entry.js} +1 -1
  297. package/dist/ionic/{p-4a01cec0.entry.js → p-2185597f.entry.js} +1 -1
  298. package/dist/ionic/{p-7f33a6e2.system.entry.js → p-22d183b4.system.entry.js} +2 -2
  299. package/dist/ionic/{p-5f15ee76.entry.js → p-255b6f01.entry.js} +1 -1
  300. package/dist/ionic/p-282cc565.js +4 -0
  301. package/dist/ionic/{p-4f6ebc2b.entry.js → p-2870db48.entry.js} +1 -1
  302. package/dist/ionic/p-2a517297.system.entry.js +4 -0
  303. package/dist/ionic/{p-cbd87df6.entry.js → p-2b45e94f.entry.js} +1 -1
  304. package/dist/ionic/{p-cf8101a6.system.entry.js → p-2c1cc9bf.system.entry.js} +1 -1
  305. package/dist/ionic/p-2e56ebdc.entry.js +4 -0
  306. package/dist/ionic/{p-e62d4a6c.entry.js → p-30a40a57.entry.js} +1 -1
  307. package/dist/ionic/{p-98af538a.system.entry.js → p-320f9186.system.entry.js} +2 -2
  308. package/dist/ionic/{p-6ef17d86.system.entry.js → p-3339b5ca.system.entry.js} +1 -1
  309. package/dist/ionic/p-39a3eca2.entry.js +4 -0
  310. package/dist/ionic/{p-703f62c1.entry.js → p-3af6a819.entry.js} +1 -1
  311. package/dist/ionic/{p-8a5152e5.entry.js → p-3f7e6661.entry.js} +1 -1
  312. package/dist/ionic/{p-814efd87.system.entry.js → p-4195e4d0.system.entry.js} +1 -1
  313. package/dist/ionic/{p-dbc3e90c.entry.js → p-454c2bfe.entry.js} +1 -1
  314. package/dist/ionic/{p-2690b1de.js → p-46111310.js} +1 -1
  315. package/dist/ionic/p-46f407f0.system.js +4 -0
  316. package/dist/ionic/{p-4809ddae.system.entry.js → p-47915d5c.system.entry.js} +1 -1
  317. package/dist/ionic/{p-5ad55625.entry.js → p-49a47e7c.entry.js} +1 -1
  318. package/dist/ionic/p-4b078620.entry.js +4 -0
  319. package/dist/ionic/{p-332aa81e.entry.js → p-4c24ae09.entry.js} +1 -1
  320. package/dist/ionic/{p-904df2ee.system.entry.js → p-4c3d0457.system.entry.js} +1 -1
  321. package/dist/ionic/{p-530207f9.entry.js → p-4f1d1637.entry.js} +1 -1
  322. package/dist/ionic/{p-341b3f37.entry.js → p-4fc2a1ce.entry.js} +1 -1
  323. package/dist/ionic/{p-53d69c70.system.entry.js → p-5015ef54.system.entry.js} +1 -1
  324. package/dist/ionic/{p-e8a713b5.entry.js → p-5087e4df.entry.js} +1 -1
  325. package/dist/ionic/{p-5895b91d.entry.js → p-5408ee96.entry.js} +1 -1
  326. package/dist/ionic/p-55b9eb6b.system.entry.js +4 -0
  327. package/dist/ionic/p-56932fb6.entry.js +4 -0
  328. package/dist/ionic/{p-987e38ef.system.entry.js → p-56c470c2.system.entry.js} +1 -1
  329. package/dist/ionic/{p-5c26fed5.system.entry.js → p-5983ad03.system.entry.js} +1 -1
  330. package/dist/ionic/p-5a82c7b9.system.entry.js +4 -0
  331. package/dist/ionic/p-5e074809.system.entry.js +4 -0
  332. package/dist/ionic/{p-e81c3ca2.system.entry.js → p-676e0f71.system.entry.js} +1 -1
  333. package/dist/ionic/{p-eac224fa.entry.js → p-70605125.entry.js} +1 -1
  334. package/dist/ionic/{p-9fd3ca09.system.entry.js → p-70e00e9f.system.entry.js} +1 -1
  335. package/dist/ionic/p-70e5135e.system.entry.js +4 -0
  336. package/dist/ionic/{p-1472c130.entry.js → p-71044f08.entry.js} +1 -1
  337. package/dist/ionic/{p-fa0bf39d.system.entry.js → p-75a6989a.system.entry.js} +1 -1
  338. package/dist/ionic/{p-68afa357.system.entry.js → p-7e5972a0.system.entry.js} +2 -2
  339. package/dist/ionic/p-8134b3c4.entry.js +4 -0
  340. package/dist/ionic/{p-4f77a080.system.entry.js → p-89f2d585.system.entry.js} +1 -1
  341. package/dist/ionic/{p-6cf780b6.system.entry.js → p-8ffff03f.system.entry.js} +1 -1
  342. package/dist/ionic/p-90f77fc2.entry.js +4 -0
  343. package/dist/ionic/{p-d277ba16.entry.js → p-91cb391a.entry.js} +1 -1
  344. package/dist/ionic/{p-bc3d649d.entry.js → p-9277e3d2.entry.js} +1 -1
  345. package/dist/ionic/{p-ca5bb110.system.entry.js → p-94d20e10.system.entry.js} +1 -1
  346. package/dist/ionic/{p-48f60474.entry.js → p-962f482c.entry.js} +1 -1
  347. package/dist/ionic/p-9832568f.entry.js +4 -0
  348. package/dist/ionic/{p-f956e38a.entry.js → p-9876ce3b.entry.js} +1 -1
  349. package/dist/ionic/{p-151e8afd.entry.js → p-9a06b83d.entry.js} +1 -1
  350. package/dist/ionic/{p-f8f8c5a8.system.entry.js → p-9dbd1f93.system.entry.js} +1 -1
  351. package/dist/ionic/{p-c54b167f.system.entry.js → p-9e829e8f.system.entry.js} +1 -1
  352. package/dist/ionic/p-a0351a92.system.js +4 -0
  353. package/dist/ionic/{p-c927dbe2.system.entry.js → p-a0dd50e4.system.entry.js} +1 -1
  354. package/dist/ionic/{p-2b86020c.system.entry.js → p-a4ce5696.system.entry.js} +1 -1
  355. package/dist/ionic/{p-1ba197b6.entry.js → p-a51785b7.entry.js} +1 -1
  356. package/dist/ionic/{p-e292247e.system.entry.js → p-a6f505f5.system.entry.js} +1 -1
  357. package/dist/ionic/{p-d061515d.system.entry.js → p-ac058b0e.system.entry.js} +1 -1
  358. package/dist/ionic/{p-38010e7c.system.entry.js → p-ae6f15b0.system.entry.js} +1 -1
  359. package/dist/ionic/{p-91b568e2.system.entry.js → p-b0fc315c.system.entry.js} +1 -1
  360. package/dist/ionic/p-b1b68c3e.entry.js +4 -0
  361. package/dist/ionic/{p-e93cd31c.entry.js → p-b80dfa1b.entry.js} +1 -1
  362. package/dist/ionic/{p-df0d39c7.system.entry.js → p-b8d966bb.system.entry.js} +2 -2
  363. package/dist/ionic/{p-90f8498c.entry.js → p-ba8fd3f7.entry.js} +1 -1
  364. package/dist/ionic/{p-3d977e09.system.entry.js → p-bd62a431.system.entry.js} +2 -2
  365. package/dist/ionic/{p-70f6b982.entry.js → p-bebb01a5.entry.js} +1 -1
  366. package/dist/ionic/p-c34a80bd.entry.js +4 -0
  367. package/dist/ionic/{p-ca6decbd.entry.js → p-cfd91e4b.entry.js} +1 -1
  368. package/dist/ionic/{p-aa79cc0e.system.entry.js → p-d3a32834.system.entry.js} +2 -2
  369. package/dist/ionic/{p-275dd0ba.system.entry.js → p-d5559e4d.system.entry.js} +1 -1
  370. package/dist/ionic/p-d724072e.system.entry.js +4 -0
  371. package/dist/ionic/{p-55bc2a11.system.entry.js → p-d833beb7.system.entry.js} +1 -1
  372. package/dist/ionic/p-d8d6ebc0.system.js +1 -1
  373. package/dist/ionic/{p-7c93f00b.system.entry.js → p-da29453c.system.entry.js} +1 -1
  374. package/dist/ionic/{p-e099a6f3.entry.js → p-dffd0e36.entry.js} +1 -1
  375. package/dist/ionic/{p-07584ab4.system.js → p-e22c0afe.system.js} +1 -1
  376. package/dist/ionic/{p-1c42ad90.entry.js → p-eb1428cc.entry.js} +1 -1
  377. package/dist/ionic/{p-e1ad8e76.entry.js → p-f49da44a.entry.js} +1 -1
  378. package/dist/ionic/p-f5006fa9.system.entry.js +4 -0
  379. package/dist/ionic/p-fe9a80b7.entry.js +4 -0
  380. package/dist/types/components/content/content.d.ts +8 -0
  381. package/dist/types/components/input/input.d.ts +4 -0
  382. package/dist/types/components/modal/modal-interface.d.ts +1 -0
  383. package/dist/types/components/modal/modal.d.ts +18 -0
  384. package/dist/types/components/picker-column/picker-column.d.ts +35 -0
  385. package/dist/types/components/popover/popover-interface.d.ts +1 -0
  386. package/dist/types/components/popover/popover.d.ts +18 -0
  387. package/dist/types/components.d.ts +32 -0
  388. package/dist/types/utils/overlays.d.ts +1 -0
  389. package/hydrate/index.js +309 -153
  390. package/package.json +1 -1
  391. package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
  392. package/dist/ionic/p-34f26d8b.entry.js +0 -4
  393. package/dist/ionic/p-4d2b2d23.system.entry.js +0 -4
  394. package/dist/ionic/p-582db405.system.entry.js +0 -4
  395. package/dist/ionic/p-7372cf23.system.entry.js +0 -4
  396. package/dist/ionic/p-84ead641.entry.js +0 -4
  397. package/dist/ionic/p-91dabef7.system.js +0 -4
  398. package/dist/ionic/p-a28ea4d8.system.entry.js +0 -4
  399. package/dist/ionic/p-a39a73e3.entry.js +0 -4
  400. package/dist/ionic/p-a90201f2.js +0 -4
  401. package/dist/ionic/p-ac045dad.entry.js +0 -4
  402. package/dist/ionic/p-ba35f07f.entry.js +0 -4
  403. package/dist/ionic/p-c2762c6a.system.entry.js +0 -4
  404. package/dist/ionic/p-cc258008.entry.js +0 -4
  405. package/dist/ionic/p-ce5bf737.system.entry.js +0 -4
  406. package/dist/ionic/p-cf45a5c7.system.entry.js +0 -4
  407. package/dist/ionic/p-dfb78785.system.js +0 -4
  408. package/dist/ionic/p-e5f99a0d.entry.js +0 -4
  409. package/dist/ionic/p-e781c893.entry.js +0 -4
  410. package/dist/ionic/p-ec178f19.entry.js +0 -4
  411. package/dist/ionic/p-f6fec6a0.entry.js +0 -4
@@ -11,7 +11,7 @@ import { c as chevronBack, o as chevronForward, l as chevronDown, p as caretUpSh
11
11
  import { b as getIonMode } from './ionic-global-e6c98cd0.js';
12
12
  import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getDaysOfWeek, J as getMonthAndYear, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data-ae11fd43.js';
13
13
  import { c as createLockController } from './lock-controller-316928be.js';
14
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-6fb4a2f2.js';
14
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-1eac28e2.js';
15
15
  import { c as createAnimation } from './animation-eab5a4ca.js';
16
16
  import { b as hapticSelectionChanged, h as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-ac164e4c.js';
17
17
  import './index-a5d50daf.js';
@@ -287,10 +287,10 @@ const Datetime = class {
287
287
  const { activeParts } = this;
288
288
  return Array.isArray(activeParts) ? activeParts[0] : activeParts;
289
289
  };
290
- this.closeParentOverlay = () => {
290
+ this.closeParentOverlay = (role) => {
291
291
  const popoverOrModal = this.el.closest('ion-modal, ion-popover');
292
292
  if (popoverOrModal) {
293
- popoverOrModal.dismiss();
293
+ popoverOrModal.dismiss(undefined, role);
294
294
  }
295
295
  };
296
296
  this.setWorkingParts = (parts) => {
@@ -960,7 +960,7 @@ const Datetime = class {
960
960
  }
961
961
  }
962
962
  if (closeOverlay) {
963
- this.closeParentOverlay();
963
+ this.closeParentOverlay(CONFIRM_ROLE);
964
964
  }
965
965
  }
966
966
  /**
@@ -980,7 +980,7 @@ const Datetime = class {
980
980
  async cancel(closeOverlay = false) {
981
981
  this.ionCancel.emit();
982
982
  if (closeOverlay) {
983
- this.closeParentOverlay();
983
+ this.closeParentOverlay(CANCEL_ROLE);
984
984
  }
985
985
  }
986
986
  get isCalendarPicker() {
@@ -1292,7 +1292,7 @@ const Datetime = class {
1292
1292
  const todayString = workingParts.day !== null
1293
1293
  ? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
1294
1294
  : `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
1295
- return (h("ion-picker-column", { class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
1295
+ return (h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
1296
1296
  const { value } = ev.detail;
1297
1297
  const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
1298
1298
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
@@ -1367,7 +1367,7 @@ const Datetime = class {
1367
1367
  const { disabled, workingParts } = this;
1368
1368
  const activePart = this.getActivePartsWithFallback();
1369
1369
  const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
1370
- return (h("ion-picker-column", { class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
1370
+ return (h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
1371
1371
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
1372
1372
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
1373
1373
  ev.stopPropagation();
@@ -1379,7 +1379,7 @@ const Datetime = class {
1379
1379
  }
1380
1380
  const { disabled, workingParts } = this;
1381
1381
  const activePart = this.getActivePartsWithFallback();
1382
- return (h("ion-picker-column", { class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
1382
+ return (h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
1383
1383
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
1384
1384
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
1385
1385
  ev.stopPropagation();
@@ -1391,7 +1391,7 @@ const Datetime = class {
1391
1391
  }
1392
1392
  const { disabled, workingParts } = this;
1393
1393
  const activePart = this.getActivePartsWithFallback();
1394
- return (h("ion-picker-column", { class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
1394
+ return (h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
1395
1395
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
1396
1396
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
1397
1397
  ev.stopPropagation();
@@ -1424,7 +1424,7 @@ const Datetime = class {
1424
1424
  if (hoursData.length === 0)
1425
1425
  return [];
1426
1426
  const activePart = this.getActivePartsWithFallback();
1427
- return (h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
1427
+ return (h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
1428
1428
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
1429
1429
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
1430
1430
  ev.stopPropagation();
@@ -1435,7 +1435,7 @@ const Datetime = class {
1435
1435
  if (minutesData.length === 0)
1436
1436
  return [];
1437
1437
  const activePart = this.getActivePartsWithFallback();
1438
- return (h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
1438
+ return (h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
1439
1439
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
1440
1440
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
1441
1441
  ev.stopPropagation();
@@ -1448,7 +1448,7 @@ const Datetime = class {
1448
1448
  }
1449
1449
  const activePart = this.getActivePartsWithFallback();
1450
1450
  const isDayPeriodRTL = isLocaleDayPeriodRTL(this.locale);
1451
- return (h("ion-picker-column", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
1451
+ return (h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
1452
1452
  const hour = calculateHourFromAMPM(workingParts, ev.detail.value);
1453
1453
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
1454
1454
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
@@ -1758,7 +1758,7 @@ const Datetime = class {
1758
1758
  const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1759
1759
  const hasWheelVariant = hasDatePresentation && preferWheel;
1760
1760
  renderHiddenInput(true, el, name, formatValue(value), disabled);
1761
- return (h(Host, { key: 'f1f8ca52cdd9cfc8394b0365c89c0d30cd7316e7', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1761
+ return (h(Host, { key: '4e247382419e963381c8dcde52ba5aaaae0e6cee', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1762
1762
  [mode]: true,
1763
1763
  ['datetime-readonly']: readonly,
1764
1764
  ['datetime-disabled']: disabled,
@@ -1768,7 +1768,7 @@ const Datetime = class {
1768
1768
  [`datetime-size-${size}`]: true,
1769
1769
  [`datetime-prefer-wheel`]: hasWheelVariant,
1770
1770
  [`datetime-grid`]: isGridStyle,
1771
- })) }, h("div", { key: '480068aa8072b60ac521646dfa82480c5f6ce6ef', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1771
+ })) }, h("div", { key: '27bc39dd318bab9dc4078eedc4fc1b4842f145e6', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1772
1772
  }
1773
1773
  get el() { return getElement(this); }
1774
1774
  static get watchers() { return {
@@ -1786,6 +1786,8 @@ const Datetime = class {
1786
1786
  }; }
1787
1787
  };
1788
1788
  let datetimeIds = 0;
1789
+ const CANCEL_ROLE = 'datetime-cancel';
1790
+ const CONFIRM_ROLE = 'datetime-confirm';
1789
1791
  const WHEEL_ITEM_PART = 'wheel-item';
1790
1792
  const WHEEL_ITEM_ACTIVE_PART = `active`;
1791
1793
  Datetime.style = {
@@ -2020,11 +2022,11 @@ const Picker = class {
2020
2022
  render() {
2021
2023
  const { htmlAttributes } = this;
2022
2024
  const mode = getIonMode(this);
2023
- return (h(Host, Object.assign({ key: 'cb1495acc8842c00e9f51ae792a01f769e36b0c6', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
2025
+ return (h(Host, Object.assign({ key: '26e3144adcdf01605271d01e468bb4a75ce854b1', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
2024
2026
  zIndex: `${20000 + this.overlayIndex}`,
2025
2027
  }, class: Object.assign({ [mode]: true,
2026
2028
  // Used internally for styling
2027
- [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'eecbcdfd474f5ab2f9962a030b1dcbf7714fe938', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '262e1d3bc916b30068f7be1edbc73283a815fc0f', tabindex: "0" }), h("div", { key: 'a036cf789ab768428aae26a19dbd0c5cb696188c', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '6be7a8986976ead39611ce398ed6ad71f3b7427e', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '66a1d99aebf48219cab4177d06d893fe1d458a1f', class: "picker-columns" }, h("div", { key: 'ed7fd940c5f54453587e13ab52cbfd4122a397c6', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '21c491c08bce126dde03196b21e28d903e157e1f', class: "picker-below-highlight" }))), h("div", { key: 'bd892f74b886ae1bfd010d687a2b9741213b246c', tabindex: "0" })));
2029
+ [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'fa212d21406606186cd95f8c7a4f119696ac8d4a', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '19ea889f65cb6a68a9db26cf9f83c6587cfcf07e', tabindex: "0" }), h("div", { key: '5fc0f5d26915ba353b9f0335946f94b6fda95e1e', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '3fa5bff4ac0013ef31845482a27a14caebbdcd2f', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '2ff6376956d01dcd9ec01b8d6972dd4b37ffb1a1', class: "picker-columns" }, h("div", { key: '4adcef77429f10a3faa50b41d1eaf3404387997c', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'e0f37d3e9896eb2bc0f0aef4762a897130851963', class: "picker-below-highlight" }))), h("div", { key: '671bb7d0f487b0d7c7fa70388f8fa1de77448b9f', tabindex: "0" })));
2028
2030
  }
2029
2031
  get el() { return getElement(this); }
2030
2032
  static get watchers() { return {
@@ -2381,9 +2383,9 @@ const PickerColumnCmp = class {
2381
2383
  render() {
2382
2384
  const col = this.col;
2383
2385
  const mode = getIonMode(this);
2384
- return (h(Host, { key: 'c015eb8bc01b3287cbd1d71af0aa311b6be89d36', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
2386
+ return (h(Host, { key: '56289a294e5c580f3e7fe5fc12777aa7f80ad19b', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
2385
2387
  'max-width': this.col.columnWidth,
2386
- } }, col.prefix && (h("div", { key: 'f9de3fe2f5c7ad3256d6e5f44b6d03a2b1f96ffb', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '10f9c12aa174f96c7cf9adc30efbb26695c0aa64', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: '1d9c0892ce56e0da9044c79eb953827166f5190b', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
2388
+ } }, col.prefix && (h("div", { key: 'd21f44667b5df567d6879723fe643ea7c2c60bef', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'bb427e5f24fd832703926e0e847ad05567597262', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: '0413f7c074b6534b8967387ecb9957a79a267aff', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
2387
2389
  }
2388
2390
  get el() { return getElement(this); }
2389
2391
  static get watchers() { return {
@@ -55,12 +55,12 @@ const Fab = class {
55
55
  render() {
56
56
  const { horizontal, vertical, edge } = this;
57
57
  const mode = getIonMode(this);
58
- return (h(Host, { key: '8a310806d0e748d7ebb0ed3d9a2652038e0f2960', class: {
58
+ return (h(Host, { key: 'cb44cf6486b0a6439b99da87c065b0b52e2514f4', class: {
59
59
  [mode]: true,
60
60
  [`fab-horizontal-${horizontal}`]: horizontal !== undefined,
61
61
  [`fab-vertical-${vertical}`]: vertical !== undefined,
62
62
  'fab-edge': edge,
63
- } }, h("slot", { key: '9394ef6d6e5b0410fa6ba212171f687fb178ce2d' })));
63
+ } }, h("slot", { key: '1ed484c7ecb10cd81fbca9a4f5c4049bf82f9f8a' })));
64
64
  }
65
65
  get el() { return getElement(this); }
66
66
  static get watchers() { return {
@@ -129,7 +129,7 @@ const FabButton = class {
129
129
  rel: this.rel,
130
130
  target: this.target,
131
131
  };
132
- return (h(Host, { key: '4eee204d20b0e2ffed49a88f6cb3e04b6697965c', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
132
+ return (h(Host, { key: 'eb347f7d6749c40637540d84778eb8d1b667a947', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
133
133
  [mode]: true,
134
134
  'fab-button-in-list': inList,
135
135
  'fab-button-translucent-in-list': inList && translucent,
@@ -140,7 +140,7 @@ const FabButton = class {
140
140
  'ion-activatable': true,
141
141
  'ion-focusable': true,
142
142
  [`fab-button-${size}`]: size !== undefined,
143
- }) }, h(TagType, Object.assign({ key: '914561622c0c6bd41453e828a7d8a39f924875ac' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '2c8090742a64c62a79243667027a195cca9d5912', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'c3e55291e4c4d306d34a4b95dd2e727e87bdf39c', class: "button-inner" }, h("slot", { key: 'f8e57f71d8f8878d9746cfece82f57f19ef9e988' })), mode === 'md' && h("ion-ripple-effect", { key: 'a5e94fa0bb9836072300617245ed0c1b4887bac6' }))));
143
+ }) }, h(TagType, Object.assign({ key: '83e853c8815f41543c848eb2e05ec2bb1716110a' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '798deede94de658e4345acf7c2aafe2ab2567b0b', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '99252fde6de1aca73fc240a6da7e29acac9acb18', class: "button-inner" }, h("slot", { key: 'dc73e9b41bf1f0e385e5784f975dfb81e37c8dfb' })), mode === 'md' && h("ion-ripple-effect", { key: '8413e162f44a0350f54dff06cff7aad101de3549' }))));
144
144
  }
145
145
  get el() { return getElement(this); }
146
146
  };
@@ -168,11 +168,11 @@ const FabList = class {
168
168
  }
169
169
  render() {
170
170
  const mode = getIonMode(this);
171
- return (h(Host, { key: '64b33366447f66c7f979cfac56307fbb1a6fac1c', class: {
171
+ return (h(Host, { key: 'fa1d195b9950654ba0e984bf61d981c977d05275', class: {
172
172
  [mode]: true,
173
173
  'fab-list-active': this.activated,
174
174
  [`fab-list-side-${this.side}`]: true,
175
- } }, h("slot", { key: 'd9f474f7f20fd7e813db358fddc720534ca05bb6' })));
175
+ } }, h("slot", { key: '2ec738c66c05112e1e2521155d6adfc36d2fd1db' })));
176
176
  }
177
177
  get el() { return getElement(this); }
178
178
  static get watchers() { return {
@@ -76,7 +76,7 @@ const Img = class {
76
76
  render() {
77
77
  const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
78
78
  const { draggable } = inheritedAttributes;
79
- return (h(Host, { key: 'da600442894427dee1974a28e545613afac69fca', class: getIonMode(this) }, h("img", { key: '16df0c7069af86c0fa7ce5af598bc0f63b4eb71a', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
79
+ return (h(Host, { key: '14d24d65ec8e5522192ca58035264971b1ab883b', class: getIonMode(this) }, h("img", { key: '345ba155a5fdce5e66c397a599b7333d37d9cb1d', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
80
80
  }
81
81
  get el() { return getElement(this); }
82
82
  static get watchers() { return {
@@ -176,7 +176,7 @@ const InfiniteScroll = class {
176
176
  render() {
177
177
  const mode = getIonMode(this);
178
178
  const disabled = this.disabled;
179
- return (h(Host, { key: 'e844956795f69be33396ce4480aa7a54ad01b28c', class: {
179
+ return (h(Host, { key: '1444429a86950c449953cbf578436cc8cabf40ec', class: {
180
180
  [mode]: true,
181
181
  'infinite-scroll-loading': this.isLoading,
182
182
  'infinite-scroll-enabled': !disabled,
@@ -218,11 +218,11 @@ const InfiniteScrollContent = class {
218
218
  }
219
219
  render() {
220
220
  const mode = getIonMode(this);
221
- return (h(Host, { key: '7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa', class: {
221
+ return (h(Host, { key: '060278bf9cb0321e182352f9613be4ebbb028259', class: {
222
222
  [mode]: true,
223
223
  // Used internally for styling
224
224
  [`infinite-scroll-content-${mode}`]: true,
225
- } }, h("div", { key: 'a94f4d8746e053dc718f97520bd7e48cb316443a', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '10143d5d2a50a2a2bc5de1cee8e7ab51263bcf23', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '8846e88191690d9c61a0b462889ed56fbfed8b0d', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
225
+ } }, h("div", { key: '07d3cada920145f979ad315bd187fb878e0c3da3', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '6254f175d7543d09f3dd47cd0589a2809182cd8c', class: "infinite-loading-spinner" }, h("ion-spinner", { key: 'a6a816d1c65b60b786333b209b63492aa716a283', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
226
226
  }
227
227
  };
228
228
  InfiniteScrollContent.style = {
@@ -65,16 +65,16 @@ const InputPasswordToggle = class {
65
65
  const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
66
66
  const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
67
67
  const isPasswordVisible = type === 'text';
68
- return (h(Host, { key: 'd9811e25bfeb2aa197352bb9be852e9e420739d5', class: createColorClasses(color, {
68
+ return (h(Host, { key: 'ed1c29726ce0c91548f0e2ada61e3f8b5c813d2d', class: createColorClasses(color, {
69
69
  [mode]: true,
70
- }) }, h("ion-button", { key: '1eaea1442b248fb2b8d61538b27274e647a07804', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
70
+ }) }, h("ion-button", { key: '9698eccdaedb86cf12d20acc53660371b3af3c55', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
71
71
  /**
72
72
  * This prevents mobile browsers from
73
73
  * blurring the input when the password toggle
74
74
  * button is activated.
75
75
  */
76
76
  ev.preventDefault();
77
- }, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '9c88de8f4631d9bde222ce2edf6950d639e04773', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
77
+ }, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '1f2119c30b56c800d9af44e6499445a0ebb466cf', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
78
78
  }
79
79
  get el() { return getElement(this); }
80
80
  static get watchers() { return {
@@ -87,6 +87,7 @@ const Input = class {
87
87
  this.autocorrect = 'off';
88
88
  this.autofocus = false;
89
89
  this.clearInput = false;
90
+ this.clearInputIcon = undefined;
90
91
  this.clearOnEdit = undefined;
91
92
  this.counter = false;
92
93
  this.counterFormatter = undefined;
@@ -377,11 +378,13 @@ const Input = class {
377
378
  return this.renderLabel();
378
379
  }
379
380
  render() {
380
- const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus } = this;
381
+ const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus, clearInputIcon } = this;
381
382
  const mode = getIonMode(this);
382
383
  const value = this.getValue();
383
384
  const inItem = hostContext('ion-item', this.el);
384
385
  const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
386
+ const defaultClearIcon = mode === 'ios' ? closeCircle : closeSharp;
387
+ const clearIconData = clearInputIcon !== null && clearInputIcon !== void 0 ? clearInputIcon : defaultClearIcon;
385
388
  const hasValue = this.hasValue();
386
389
  const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
387
390
  /**
@@ -402,7 +405,7 @@ const Input = class {
402
405
  * TODO(FW-5592): Remove hasStartEndSlots condition
403
406
  */
404
407
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
405
- return (h(Host, { key: '083568e68a2970485e93a84ad3b837c117e03fed', class: createColorClasses(this.color, {
408
+ return (h(Host, { key: '72705dc05d44da17c617402c2d236a7b58b314f4', class: createColorClasses(this.color, {
406
409
  [mode]: true,
407
410
  'has-value': hasValue,
408
411
  'has-focus': hasFocus,
@@ -413,22 +416,14 @@ const Input = class {
413
416
  'in-item': inItem,
414
417
  'in-item-color': hostContext('ion-item.ion-color', this.el),
415
418
  'input-disabled': disabled,
416
- }) }, h("label", { key: '5e6767a20b8ac61d5df69106f4ce11ecc46ae5bf', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '4af8df127e8194b4eeb8b16936a36489aee17009', class: "native-wrapper" }, h("slot", { key: '90e925fa36a5c057a4ca5e03d5fcaf8e12e711ad', name: "start" }), h("input", Object.assign({ key: '0a5455e8c31beca48e08b97faa5e3e069822248f', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: 'b9eab01b390581d20c861ae6a4c49bde0841f14c', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
419
+ }) }, h("label", { key: 'f8c3f6da165b1299f0a6ceb5f4801e4d11eef832', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'a9232033f23a51ec542bf23e7691966eefdf30c1', class: "native-wrapper" }, h("slot", { key: 'c38d8d6a4bbb64d5416a2f5948055610278c4527', name: "start" }), h("input", Object.assign({ key: 'bb00038edf66e9617439b5b12600f38a9ba06dc6', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: '8aa7bdac43a74bc16c7163b5af8dff6d5b37ce0a', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
417
420
  /**
418
421
  * This prevents mobile browsers from
419
422
  * blurring the input when the clear
420
423
  * button is activated.
421
424
  */
422
425
  ev.preventDefault();
423
- }, onFocusin: (ev) => {
424
- /**
425
- * Prevent the focusin event from bubbling otherwise it will cause the focusin
426
- * event listener in scroll assist to fire. When this fires, focus will be moved
427
- * back to the input even if the clear button was never tapped. This poses issues
428
- * for screen readers as it means users would be unable to swipe past the clear button.
429
- */
430
- ev.stopPropagation();
431
- }, onClick: this.clearTextInput }, h("ion-icon", { key: '8284ba60924a42fd6d352d23441524f8a027e0ce', "aria-hidden": "true", icon: mode === 'ios' ? closeCircle : closeSharp }))), h("slot", { key: '8f3c04ecc32cb04a06ebb916b79071414b2a5263', name: "end" })), shouldRenderHighlight && h("div", { key: '7e97782b292fd140b3fe7f13de05dfafb4b0fa28', class: "input-highlight" })), this.renderBottomContent()));
426
+ }, onClick: this.clearTextInput }, h("ion-icon", { key: '200261c73f9610ef80609605ef2bc7b0affaf857', "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '5f4511c2f332c906d1d24dfce77e8758e3869d1f', name: "end" })), shouldRenderHighlight && h("div", { key: '092a55c60b3ca1aaa4cc0ddd782b3ffc7cbc03fa', class: "input-highlight" })), this.renderBottomContent()));
432
427
  }
433
428
  get el() { return getElement(this); }
434
429
  static get watchers() { return {
@@ -44,12 +44,12 @@ const ItemOption = class {
44
44
  href: this.href,
45
45
  target: this.target,
46
46
  };
47
- return (h(Host, { key: '89310624997821858c1abde60c0ffb142ca466e0', onClick: this.onClick, class: createColorClasses(this.color, {
47
+ return (h(Host, { key: '1900e015f593fefd710478a2088e052399c957eb', onClick: this.onClick, class: createColorClasses(this.color, {
48
48
  [mode]: true,
49
49
  'item-option-disabled': disabled,
50
50
  'item-option-expandable': expandable,
51
51
  'ion-activatable': true,
52
- }) }, h(TagType, Object.assign({ key: 'e4dfbb3048eed03a7f7e84c6f75545e0ca9b45fb' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: 'dffcf437fbdc15f2e7a19e60a015e90c73c8377d', class: "button-inner" }, h("slot", { key: '48a23512e0601e062118d8b2c46c8bb96f25509f', name: "top" }), h("div", { key: '952a9a9aa3a476aa1f4408d7e208bf9e916b8c30', class: "horizontal-wrapper" }, h("slot", { key: 'f8d18a61c1ecec4a22a55443cf72bbc51383b64f', name: "start" }), h("slot", { key: '1f9f219e6f879d2e0bf6d80cf0d3f518eb14ce0e', name: "icon-only" }), h("slot", { key: 'a55adcdbe68131e5b1855c2dd45dd9454ab544fb' }), h("slot", { key: '3c4c85a4fbb7efc797d8bc5adf6d238da022ff9f', name: "end" })), h("slot", { key: '503c7e4b306745c523f57f24399ea06ba9b1e21d', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: 'b0e270b0c4f3ff9f9b6d74bad12a9278d7633226' }))));
52
+ }) }, h(TagType, Object.assign({ key: '5db2bb9bc72b7b00c324e4189cd1b5f862680ebb' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '6927e812ad001c5e7bd17f440d82c3830c58957b', class: "button-inner" }, h("slot", { key: '0fde4333def94c55d1318868c2bc71e780d5876a', name: "top" }), h("div", { key: '7ecc9ae8ddf66d7ed5d9f30becc9faf820e1c62e', class: "horizontal-wrapper" }, h("slot", { key: 'a15567fd4bd91080e9fbb6bb0c9b0e67d8a67051', name: "start" }), h("slot", { key: '7f86cdd28063e23f9d78997623333c5037c4f364', name: "icon-only" }), h("slot", { key: '4abb69ce3ad6c4917dd87b7b1eb0fa1c69917d73' }), h("slot", { key: '8b35a29f48722040465f182679ac17209937578d', name: "end" })), h("slot", { key: 'fa15a00891b41d66a4ccb51575dec54b72d0059e', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: '0c071910c90fafca8026f59d78f4d9d5224d150a' }))));
53
53
  }
54
54
  get el() { return getElement(this); }
55
55
  };
@@ -79,7 +79,7 @@ const ItemOptions = class {
79
79
  render() {
80
80
  const mode = getIonMode(this);
81
81
  const isEnd = isEndSide(this.side);
82
- return (h(Host, { key: '6d91399d2aaaa81d514d0bbc8dffe53eeec25d36', class: {
82
+ return (h(Host, { key: 'e28cd6a236323b5cc203c9b96782aa81024da924', class: {
83
83
  [mode]: true,
84
84
  // Used internally for styling
85
85
  [`item-options-${mode}`]: true,
@@ -487,7 +487,7 @@ const ItemSliding = class {
487
487
  }
488
488
  render() {
489
489
  const mode = getIonMode(this);
490
- return (h(Host, { key: '47a3edd2ef2080ed9cfc2784277dea09785c7dc4', class: {
490
+ return (h(Host, { key: '99f87c8bd794ae69830b407ba55013ac44793c26', class: {
491
491
  [mode]: true,
492
492
  'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
493
493
  'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
@@ -238,11 +238,11 @@ const ItemDivider = class {
238
238
  }
239
239
  render() {
240
240
  const mode = getIonMode(this);
241
- return (h(Host, { key: '6cff318230a9b2a9db529df154285d3dd9822efe', class: createColorClasses(this.color, {
241
+ return (h(Host, { key: '60fda1dab7dbc0038ec7ff68a661896430f7d5c5', class: createColorClasses(this.color, {
242
242
  [mode]: true,
243
243
  'item-divider-sticky': this.sticky,
244
244
  item: true,
245
- }) }, h("slot", { key: 'eb50dfab74ab0fd13697db17ecd60e8fa0bf1750', name: "start" }), h("div", { key: '2806efd89d086f4fb844a479d9c095e1e0775713', class: "item-divider-inner" }, h("div", { key: '77b7d5fa987e5f1c26d8023cd1f974a8a263a3de', class: "item-divider-wrapper" }, h("slot", { key: 'dbafb0deb140a19a2a9748fd5b48760c39c6fd2e' })), h("slot", { key: 'ef9a848fe21e84ef21cd273b8a4d9f95f558175b', name: "end" }))));
245
+ }) }, h("slot", { key: '6ce072dfc2adfa699a2c34ffe25ed221c74d9eea', name: "start" }), h("div", { key: '9a441be204ee2f0b567432722407c75e3cbbe942', class: "item-divider-inner" }, h("div", { key: 'fd6f2969b345dba51400a290473e594d2d019dc5', class: "item-divider-wrapper" }, h("slot", { key: 'ebf5601b21c4cf199c01bf142865b8da0c1ba4a6' })), h("slot", { key: '249af8f30113f2c986976d518126661f65531121', name: "end" }))));
246
246
  }
247
247
  get el() { return getElement(this); }
248
248
  };
@@ -263,7 +263,7 @@ const ItemGroup = class {
263
263
  }
264
264
  render() {
265
265
  const mode = getIonMode(this);
266
- return (h(Host, { key: 'f9ffe0290d3fa546494fe55f952d8554f2a8abf8', role: "group", class: {
266
+ return (h(Host, { key: '24ff047b7c45f963f0dad072c65d38a230c2bc97', role: "group", class: {
267
267
  [mode]: true,
268
268
  // Used internally for styling
269
269
  [`item-group-${mode}`]: true,
@@ -333,13 +333,13 @@ const Label = class {
333
333
  render() {
334
334
  const position = this.position;
335
335
  const mode = getIonMode(this);
336
- return (h(Host, { key: '6353a70565ef6fbbbf4042b000e536c61bcf99a9', class: createColorClasses(this.color, {
336
+ return (h(Host, { key: 'c2c0f388dab910d294efb9fbb409ee4ef829c1ed', class: createColorClasses(this.color, {
337
337
  [mode]: true,
338
338
  'in-item-color': hostContext('ion-item.ion-color', this.el),
339
339
  [`label-${position}`]: position !== undefined,
340
340
  [`label-no-animate`]: this.noAnimate,
341
341
  'label-rtl': document.dir === 'rtl',
342
- }) }, h("slot", { key: '6ef9c2758c0168442aa84941af0a6cec1ef1ec21' })));
342
+ }) }, h("slot", { key: '4de6b69950f417873a13c851018ec31ea2686f0a' })));
343
343
  }
344
344
  get el() { return getElement(this); }
345
345
  static get watchers() { return {
@@ -380,7 +380,7 @@ const List = class {
380
380
  render() {
381
381
  const mode = getIonMode(this);
382
382
  const { lines, inset } = this;
383
- return (h(Host, { key: '5ff2b0b3989cc99ce17abb8bcd7ec1847940d1ec', role: "list", class: {
383
+ return (h(Host, { key: '8bde220025a7eeca6da075379c6487c4c9bdddc1', role: "list", class: {
384
384
  [mode]: true,
385
385
  // Used internally for styling
386
386
  [`list-${mode}`]: true,
@@ -411,10 +411,10 @@ const ListHeader = class {
411
411
  render() {
412
412
  const { lines } = this;
413
413
  const mode = getIonMode(this);
414
- return (h(Host, { key: 'fb78bd8601cbd7b90ec84a96e0c8325be1132b1e', class: createColorClasses(this.color, {
414
+ return (h(Host, { key: '7e2e050f13722f2b870a2415d99a9e631e9ca267', class: createColorClasses(this.color, {
415
415
  [mode]: true,
416
416
  [`list-header-lines-${lines}`]: lines !== undefined,
417
- }) }, h("div", { key: '2580ad49f3a54973e15f14d645a1e55a6fa066ac', class: "list-header-inner" }, h("slot", { key: '677b2e2ec8eeb3ae6ad329e86c76451cf3ae6c2f' }))));
417
+ }) }, h("div", { key: '6117bebc45800d874e9b75355476fbced5cc8398', class: "list-header-inner" }, h("slot", { key: '9165fb274cd2c45a5a65c271d8b1f30e8a00c890' }))));
418
418
  }
419
419
  };
420
420
  ListHeader.style = {
@@ -435,9 +435,9 @@ const Note = class {
435
435
  }
436
436
  render() {
437
437
  const mode = getIonMode(this);
438
- return (h(Host, { key: '10a3495bc21166176986441479f8f7539029d161', class: createColorClasses(this.color, {
438
+ return (h(Host, { key: '90ec2fe8c9487608ed8c0bdc32c2e80a6a0890b3', class: createColorClasses(this.color, {
439
439
  [mode]: true,
440
- }) }, h("slot", { key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873' })));
440
+ }) }, h("slot", { key: '115ee3f79e6c526b0644443aad468e99385d0eda' })));
441
441
  }
442
442
  };
443
443
  Note.style = {
@@ -470,11 +470,11 @@ const SkeletonText = class {
470
470
  const animated = this.animated && config.getBoolean('animated', true);
471
471
  const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
472
472
  const mode = getIonMode(this);
473
- return (h(Host, { key: '8a1b489e35564056b3babce548982e58fec74119', class: {
473
+ return (h(Host, { key: '1a3e78e9a6f740d609d1f0b7a16cb6eff4a2d617', class: {
474
474
  [mode]: true,
475
475
  'skeleton-text-animated': animated,
476
476
  'in-media': inMedia,
477
- } }, h("span", { key: '71df251a41967dc4dab241f6fa906fa4d568dd9e' }, "\u00A0")));
477
+ } }, h("span", { key: 'be3eabe196ec6e8ec19857375ba30f4c8aa58e7f' }, "\u00A0")));
478
478
  }
479
479
  get el() { return getElement(this); }
480
480
  };
@@ -5,7 +5,7 @@ import { r as registerInstance, d as createEvent, h, f as Host, i as getElement
5
5
  import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
6
6
  import { r as raf } from './helpers-da915de8.js';
7
7
  import { c as createLockController } from './lock-controller-316928be.js';
8
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-6fb4a2f2.js';
8
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-1eac28e2.js';
9
9
  import { g as getClassMap } from './theme-01f3f29c.js';
10
10
  import { c as config, b as getIonMode } from './ionic-global-e6c98cd0.js';
11
11
  import { c as createAnimation } from './animation-eab5a4ca.js';
@@ -258,9 +258,9 @@ const Loading = class {
258
258
  * Otherwise, don't set aria-labelledby.
259
259
  */
260
260
  const ariaLabelledBy = message !== undefined ? msgId : null;
261
- return (h(Host, Object.assign({ key: 'f48fc35c38f3c200f39a44f3e741c1676057248e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
261
+ return (h(Host, Object.assign({ key: '4610b316b10a4df3416d0e83062935f3079baff2', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
262
262
  zIndex: `${40000 + this.overlayIndex}`,
263
- }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'e46058f693235c8ce5474df167595f6a80e4559d', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '2ecd77581a2f130616033b8a78fb9da9d508b588', tabindex: "0" }), h("div", { key: '0243f93c41684f30c81623a8fbb533fd8f17b679', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '0643bc42b6e691580d29af27ea5a9fe395a6c5ce', class: "loading-spinner" }, h("ion-spinner", { key: 'f0417802dfbcad6ab9903b84bad692eedd326c88', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '3d3a256fe1074bda91cd09212460aa6460c4c723', tabindex: "0" })));
263
+ }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'd07d0759ed13093c4c4fe06be442dde4bd9c2c31', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'ed3ec8b48f049b592fbea9767cc3d448dc037938', tabindex: "0" }), h("div", { key: 'c515f3badf149d83c1d67374ef3507415fe51422', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '265d1673c2deb751aeca285f5a18863bb629ca5e', class: "loading-spinner" }, h("ion-spinner", { key: '155bf7c92f6d7afd8edbb39f2b47ad05b7d503f1', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'b0e21df5cf54f9b48a218a03543d8c86f5406522', tabindex: "0" })));
264
264
  }
265
265
  get el() { return getElement(this); }
266
266
  static get watchers() { return {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-bcd8859b.js';
5
5
  import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
6
- import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays-6fb4a2f2.js';
6
+ import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays-1eac28e2.js';
7
7
  import { G as GESTURE_CONTROLLER } from './gesture-controller-314a54f6.js';
8
8
  import { shouldUseCloseWatcher } from './hardware-back-button-ba8f64c2.js';
9
9
  import { n as isEndSide, i as inheritAriaAttributes, m as assert, j as clamp } from './helpers-da915de8.js';
@@ -595,14 +595,14 @@ const Menu = class {
595
595
  * the ionBackButton listener in the menu controller
596
596
  * will handle closing the menu when Escape is pressed.
597
597
  */
598
- return (h(Host, { key: '68ea0bdf902c1f6369db93d69cacc0f30e1df32b', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
598
+ return (h(Host, { key: '30c0c9bfb8973e4a6feb658f8c4ee8e362f464ed', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
599
599
  [mode]: true,
600
600
  [`menu-type-${type}`]: true,
601
601
  'menu-enabled': !disabled,
602
602
  [`menu-side-${side}`]: true,
603
603
  'menu-pane-visible': isPaneVisible,
604
604
  'split-pane-side': hostContext('ion-split-pane', el),
605
- } }, h("div", { key: '7f32097faa4dcf64a568c7cf4b8397bbffc9f7a4', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '3d4fbc9142297708aa1b31eed875afe6ea79de04' })), h("ion-backdrop", { key: 'f29f4615913da302212d54a43dce94ca5bfa86a5', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
605
+ } }, h("div", { key: '34b0e5840906862cf1bc27207e089004b0402c56', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '2cd7e61a8c0987ca4b3f1f8b33cba7152f1275fe' })), h("ion-backdrop", { key: 'd190b1f9b66c76e276f27bfe074d3aab796180fb', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
606
606
  }
607
607
  get el() { return getElement(this); }
608
608
  static get watchers() { return {
@@ -675,7 +675,7 @@ const MenuButton = class {
675
675
  type: this.type,
676
676
  };
677
677
  const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
678
- return (h(Host, { key: '7ec29715ce7926b7c2b08f3d9cac8aaa16b3dc28', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
678
+ return (h(Host, { key: '95a8b9f09c7fae9713a8dc003ed277f6f31403da', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
679
679
  [mode]: true,
680
680
  button: true, // ion-buttons target .button
681
681
  'menu-button-hidden': hidden,
@@ -684,7 +684,7 @@ const MenuButton = class {
684
684
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
685
685
  'ion-activatable': true,
686
686
  'ion-focusable': true,
687
- }) }, h("button", Object.assign({ key: 'd4c5929264af3ba0328118bcc27d2ab7ef5d3809' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '7bfa6e9a93105486623d044861e879ec79ff64f1', class: "button-inner" }, h("slot", { key: '071ab58e285832fc188706166f5547d45d501ac5' }, h("ion-icon", { key: '918ec5d791921de9821c347af4f65f97dd94aabf', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: '00ffdd53f635e706c1dbd01b8e7944498650fe81', type: "unbounded" }))));
687
+ }) }, h("button", Object.assign({ key: '39f3ce20c400d2fac4890a042e8e44426709fca5' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '310978dc1cdef668de6720cde2a2304253679176', class: "button-inner" }, h("slot", { key: '2a2b9de524c1fc3c526fe9559cb077b976852725' }, h("ion-icon", { key: '9c22d7ea9fc3d76c32ec1c1b4b13d982c60b8c2d', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: 'c58c9e29c763070383472f65a9d322a684bcb564', type: "unbounded" }))));
688
688
  }
689
689
  get el() { return getElement(this); }
690
690
  };
@@ -715,10 +715,10 @@ const MenuToggle = class {
715
715
  render() {
716
716
  const mode = getIonMode(this);
717
717
  const hidden = this.autoHide && !this.visible;
718
- return (h(Host, { key: '7c27ea5b0795676bf5cb33e1f83aa142c197f64e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
718
+ return (h(Host, { key: '90e621f09792383f1badcc1b402b1ac7d08c5f98', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
719
719
  [mode]: true,
720
720
  'menu-toggle-hidden': hidden,
721
- } }, h("slot", { key: '69f187becedc0fe34603d41d279f043cf0fdf776' })));
721
+ } }, h("slot", { key: 'c0abdd1d91e9d80ee3704e3e374ebe1f29078460' })));
722
722
  }
723
723
  };
724
724
  MenuToggle.style = IonMenuToggleStyle0;
@@ -8,7 +8,7 @@ import { g as getElementRoot, j as clamp, r as raf, h as inheritAttributes, k as
8
8
  import { c as createLockController } from './lock-controller-316928be.js';
9
9
  import { p as printIonWarning } from './index-9b0d46f4.js';
10
10
  import { g as getCapacitor } from './capacitor-59395cbd.js';
11
- import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-6fb4a2f2.js';
11
+ import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-1eac28e2.js';
12
12
  import { g as getClassMap } from './theme-01f3f29c.js';
13
13
  import { e as deepReady, w as waitForMount } from './index-f0d7371a.js';
14
14
  import { b as getIonMode, c as config } from './ionic-global-e6c98cd0.js';
@@ -814,7 +814,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
814
814
  * as inputs should not be focusable outside
815
815
  * the sheet.
816
816
  */
817
- baseEl.classList.remove('ion-disable-focus-trap');
817
+ baseEl.classList.remove(FOCUS_TRAP_DISABLE_CLASS);
818
818
  };
819
819
  const disableBackdrop = () => {
820
820
  baseEl.style.setProperty('pointer-events', 'none');
@@ -826,7 +826,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
826
826
  * Adding this class disables focus trapping
827
827
  * for the sheet temporarily.
828
828
  */
829
- baseEl.classList.add('ion-disable-focus-trap');
829
+ baseEl.classList.add(FOCUS_TRAP_DISABLE_CLASS);
830
830
  };
831
831
  /**
832
832
  * After the entering animation completes,
@@ -1191,6 +1191,7 @@ const Modal = class {
1191
1191
  this.isOpen = false;
1192
1192
  this.trigger = undefined;
1193
1193
  this.keepContentsMounted = false;
1194
+ this.focusTrap = true;
1194
1195
  this.canDismiss = true;
1195
1196
  }
1196
1197
  onIsOpenChange(newValue, oldValue) {
@@ -1647,23 +1648,23 @@ const Modal = class {
1647
1648
  return true;
1648
1649
  }
1649
1650
  render() {
1650
- const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes } = this;
1651
+ const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap } = this;
1651
1652
  const showHandle = handle !== false && isSheetModal;
1652
1653
  const mode = getIonMode(this);
1653
1654
  const isCardModal = presentingElement !== undefined && mode === 'ios';
1654
1655
  const isHandleCycle = handleBehavior === 'cycle';
1655
- return (h(Host, Object.assign({ key: 'bb00efb8cbbdb2d1bbcc5e9c638586e2904882a8', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
1656
+ return (h(Host, Object.assign({ key: 'fe6fd17cf857127f89d652b9aa3e9473d28c55db', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
1656
1657
  zIndex: `${20000 + this.overlayIndex}`,
1657
- }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: 'd2d50f736fdc34b933c00309fe0b67e4aff7ee63', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: '5d3523a04da9350ae435a4f3247198095b71f206', class: "modal-shadow" }), h("div", Object.assign({ key: '09b3c4b629155f8c32f5c896cf689ffbe7004de8',
1658
+ }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '0f3a31363c2717e5483bc0412c25804897d4aff8', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: '0e5ed59162ff08fe0a9f757e06bdacc75f65c0ed', class: "modal-shadow" }), h("div", Object.assign({ key: '35cdbe2238765e5f346ad7be64f7eefa8c78f0c0',
1658
1659
  /*
1659
1660
  role and aria-modal must be used on the
1660
1661
  same element. They must also be set inside the
1661
1662
  shadow DOM otherwise ion-button will not be highlighted
1662
1663
  when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
1663
1664
  */
1664
- role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: 'e47d90068927f3a518e4144e17f18ac326126712', class: "modal-handle",
1665
+ role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '7a4031eaebf9a098f4c4220a5fe9d1c25cc0ec92', class: "modal-handle",
1665
1666
  // Prevents the handle from receiving keyboard focus when it does not cycle
1666
- tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '5733e94b3ecc4ed9bfb6aec5cd254cd0e43ee8f7' }))));
1667
+ tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '534adc8e5bd850199fe2e9e16f0e7c19217d8486' }))));
1667
1668
  }
1668
1669
  get el() { return getElement(this); }
1669
1670
  static get watchers() { return {