@ionic/core 8.0.1-dev.11713911458.1ad5f4cf → 8.0.1-dev.11714496052.149681e5

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 (448) hide show
  1. package/components/index2.js +119 -1
  2. package/components/input-shims.js +5 -5
  3. package/components/ion-content.js +6 -4
  4. package/components/ion-datetime-button.js +2 -2
  5. package/components/ion-datetime.js +15 -13
  6. package/components/ion-fab-button.js +2 -2
  7. package/components/ion-fab-list.js +2 -2
  8. package/components/ion-fab.js +2 -2
  9. package/components/ion-footer.js +2 -2
  10. package/components/ion-grid.js +2 -2
  11. package/components/ion-header.js +2 -2
  12. package/components/ion-img.js +1 -1
  13. package/components/ion-infinite-scroll-content.js +2 -2
  14. package/components/ion-infinite-scroll.js +1 -1
  15. package/components/ion-input-password-toggle.js +3 -3
  16. package/components/ion-input.js +8 -12
  17. package/components/ion-item-divider.js +2 -2
  18. package/components/ion-item-group.js +1 -1
  19. package/components/ion-item-option.js +2 -2
  20. package/components/ion-item-options.js +1 -1
  21. package/components/ion-item-sliding.js +1 -1
  22. package/components/ion-loading.js +2 -2
  23. package/components/ion-menu-button.js +2 -2
  24. package/components/ion-menu-toggle.js +2 -2
  25. package/components/ion-menu.js +2 -2
  26. package/components/ion-modal.js +10 -8
  27. package/components/ion-nav-link.js +1 -1
  28. package/components/ion-nav.js +1 -1
  29. package/components/ion-note.js +2 -2
  30. package/components/ion-picker-legacy.js +2 -2
  31. package/components/ion-progress-bar.js +1 -1
  32. package/components/ion-range.js +3 -3
  33. package/components/ion-refresher-content.js +1 -1
  34. package/components/ion-refresher.js +1 -1
  35. package/components/ion-reorder-group.js +1 -1
  36. package/components/ion-reorder.js +1 -1
  37. package/components/ion-router-link.js +2 -2
  38. package/components/ion-router-outlet.js +1 -1
  39. package/components/ion-row.js +1 -1
  40. package/components/ion-searchbar.js +4 -4
  41. package/components/ion-segment-button.js +3 -3
  42. package/components/ion-segment.js +2 -2
  43. package/components/ion-select-option.js +1 -1
  44. package/components/ion-select.js +2 -2
  45. package/components/ion-skeleton-text.js +2 -2
  46. package/components/ion-split-pane.js +2 -2
  47. package/components/ion-tab-bar.js +2 -2
  48. package/components/ion-tab-button.js +2 -2
  49. package/components/ion-tab.js +2 -2
  50. package/components/ion-tabs.js +1 -1
  51. package/components/ion-text.js +2 -2
  52. package/components/ion-textarea.js +2 -2
  53. package/components/ion-thumbnail.js +1 -1
  54. package/components/ion-title.js +2 -2
  55. package/components/ion-toast.js +2 -2
  56. package/components/ion-toggle.js +3 -3
  57. package/components/ion-toolbar.js +2 -2
  58. package/components/label.js +2 -2
  59. package/components/list-header.js +2 -2
  60. package/components/list.js +1 -1
  61. package/components/overlays.js +3 -2
  62. package/components/picker-column-option.js +2 -2
  63. package/components/picker-column.js +156 -4
  64. package/components/picker-column2.js +2 -2
  65. package/components/picker.js +2 -2
  66. package/components/popover.js +6 -4
  67. package/components/radio-group.js +1 -1
  68. package/components/radio.js +3 -3
  69. package/components/ripple-effect.js +1 -1
  70. package/components/select-popover.js +1 -1
  71. package/components/spinner.js +1 -1
  72. package/css/core.css +1 -1
  73. package/css/core.css.map +1 -1
  74. package/css/ionic.bundle.css +1 -1
  75. package/css/ionic.bundle.css.map +1 -1
  76. package/css/palettes/dark.always.css +1 -1
  77. package/css/palettes/dark.always.css.map +1 -1
  78. package/css/palettes/dark.class.css +1 -1
  79. package/css/palettes/dark.class.css.map +1 -1
  80. package/css/palettes/dark.system.css +1 -1
  81. package/css/palettes/dark.system.css.map +1 -1
  82. package/dist/cjs/{index-6d6ac424.js → index-be7cf657.js} +124 -6
  83. package/dist/cjs/index.cjs.js +5 -5
  84. package/dist/cjs/{input-shims-9e59ef62.js → input-shims-20d639e6.js} +5 -5
  85. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  86. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  87. package/dist/cjs/ion-app_8.cjs.entry.js +16 -15
  88. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  89. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  90. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  91. package/dist/cjs/ion-datetime_3.cjs.entry.js +20 -18
  92. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
  93. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  94. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  95. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  96. package/dist/cjs/ion-input.cjs.entry.js +7 -12
  97. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  98. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  99. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  100. package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
  101. package/dist/cjs/ion-modal.cjs.entry.js +10 -9
  102. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -3
  103. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  104. package/dist/cjs/ion-picker-column.cjs.entry.js +154 -4
  105. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-popover.cjs.entry.js +6 -5
  107. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  108. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  109. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  110. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  112. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  113. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  114. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  115. package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
  116. package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
  117. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  118. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  119. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  120. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  121. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  122. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  123. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  124. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  125. package/dist/cjs/ionic.cjs.js +1 -1
  126. package/dist/cjs/{ios.transition-d4f0ca4e.js → ios.transition-b0e0575b.js} +3 -1
  127. package/dist/cjs/loader.cjs.js +1 -1
  128. package/dist/cjs/{md.transition-857328f3.js → md.transition-b22b61b7.js} +3 -1
  129. package/dist/cjs/{overlays-10c452b2.js → overlays-574e681c.js} +3 -1
  130. package/dist/collection/components/content/content.js +23 -4
  131. package/dist/collection/components/content/test/content.spec.js +27 -0
  132. package/dist/collection/components/datetime/datetime.js +15 -13
  133. package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
  134. package/dist/collection/components/datetime-button/datetime-button.js +2 -2
  135. package/dist/collection/components/fab/fab.js +2 -2
  136. package/dist/collection/components/fab-button/fab-button.js +2 -2
  137. package/dist/collection/components/fab-list/fab-list.js +2 -2
  138. package/dist/collection/components/footer/footer.js +2 -2
  139. package/dist/collection/components/grid/grid.js +2 -2
  140. package/dist/collection/components/header/header.js +2 -2
  141. package/dist/collection/components/img/img.js +1 -1
  142. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  143. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  144. package/dist/collection/components/input/input.js +24 -12
  145. package/dist/collection/components/input/test/input.spec.js +13 -0
  146. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  147. package/dist/collection/components/item-divider/item-divider.js +2 -2
  148. package/dist/collection/components/item-group/item-group.js +1 -1
  149. package/dist/collection/components/item-option/item-option.js +2 -2
  150. package/dist/collection/components/item-options/item-options.js +1 -1
  151. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  152. package/dist/collection/components/label/label.js +2 -2
  153. package/dist/collection/components/list/list.js +1 -1
  154. package/dist/collection/components/list-header/list-header.js +2 -2
  155. package/dist/collection/components/loading/loading.js +2 -2
  156. package/dist/collection/components/menu/menu.js +2 -2
  157. package/dist/collection/components/menu-button/menu-button.js +2 -2
  158. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  159. package/dist/collection/components/modal/gestures/sheet.js +3 -2
  160. package/dist/collection/components/modal/modal.js +25 -6
  161. package/dist/collection/components/modal/test/basic/modal.spec.js +19 -0
  162. package/dist/collection/components/nav/nav.js +1 -1
  163. package/dist/collection/components/nav-link/nav-link.js +1 -1
  164. package/dist/collection/components/note/note.js +2 -2
  165. package/dist/collection/components/picker/picker.js +2 -2
  166. package/dist/collection/components/picker-column/picker-column.css +19 -0
  167. package/dist/collection/components/picker-column/picker-column.js +158 -3
  168. package/dist/collection/components/picker-column/test/picker-column.spec.js +83 -0
  169. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  170. package/dist/collection/components/picker-legacy/picker.js +2 -2
  171. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  172. package/dist/collection/components/popover/popover.js +23 -4
  173. package/dist/collection/components/popover/test/basic/popover.spec.js +19 -0
  174. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  175. package/dist/collection/components/radio/radio.js +3 -3
  176. package/dist/collection/components/radio-group/radio-group.js +1 -1
  177. package/dist/collection/components/range/range.js +3 -3
  178. package/dist/collection/components/refresher/refresher.js +1 -1
  179. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  180. package/dist/collection/components/reorder/reorder.js +1 -1
  181. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  182. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  183. package/dist/collection/components/router-link/router-link.js +2 -2
  184. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  185. package/dist/collection/components/row/row.js +1 -1
  186. package/dist/collection/components/searchbar/searchbar.js +4 -4
  187. package/dist/collection/components/segment/segment.js +2 -2
  188. package/dist/collection/components/segment-button/segment-button.js +3 -3
  189. package/dist/collection/components/select/select.js +2 -2
  190. package/dist/collection/components/select-option/select-option.js +1 -1
  191. package/dist/collection/components/select-popover/select-popover.js +1 -1
  192. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  193. package/dist/collection/components/spinner/spinner.js +1 -1
  194. package/dist/collection/components/split-pane/split-pane.js +2 -2
  195. package/dist/collection/components/tab/tab.js +2 -2
  196. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  197. package/dist/collection/components/tab-button/tab-button.js +2 -2
  198. package/dist/collection/components/tabs/tabs.js +1 -1
  199. package/dist/collection/components/text/text.js +2 -2
  200. package/dist/collection/components/textarea/textarea.js +2 -2
  201. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  202. package/dist/collection/components/title/title.js +2 -2
  203. package/dist/collection/components/toast/toast.js +2 -2
  204. package/dist/collection/components/toggle/toggle.js +3 -3
  205. package/dist/collection/components/toolbar/toolbar.js +2 -2
  206. package/dist/collection/utils/focus-controller/index.js +112 -0
  207. package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +52 -0
  208. package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +52 -0
  209. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +5 -5
  210. package/dist/collection/utils/overlays.js +2 -1
  211. package/dist/collection/utils/transition/index.js +11 -1
  212. package/dist/docs.json +96 -1
  213. package/dist/esm/{index-f0d7371a.js → index-c9a90692.js} +121 -3
  214. package/dist/esm/index.js +5 -5
  215. package/dist/esm/{input-shims-0314bbe5.js → input-shims-4530285e.js} +5 -5
  216. package/dist/esm/ion-action-sheet.entry.js +1 -1
  217. package/dist/esm/ion-alert.entry.js +1 -1
  218. package/dist/esm/ion-app_8.entry.js +16 -15
  219. package/dist/esm/ion-avatar_3.entry.js +1 -1
  220. package/dist/esm/ion-col_3.entry.js +3 -3
  221. package/dist/esm/ion-datetime-button.entry.js +2 -2
  222. package/dist/esm/ion-datetime_3.entry.js +20 -18
  223. package/dist/esm/ion-fab_3.entry.js +6 -6
  224. package/dist/esm/ion-img.entry.js +1 -1
  225. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  226. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  227. package/dist/esm/ion-input.entry.js +7 -12
  228. package/dist/esm/ion-item-option_3.entry.js +4 -4
  229. package/dist/esm/ion-item_8.entry.js +12 -12
  230. package/dist/esm/ion-loading.entry.js +3 -3
  231. package/dist/esm/ion-menu_3.entry.js +7 -7
  232. package/dist/esm/ion-modal.entry.js +10 -9
  233. package/dist/esm/ion-nav_2.entry.js +4 -3
  234. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  235. package/dist/esm/ion-picker-column.entry.js +154 -4
  236. package/dist/esm/ion-picker.entry.js +2 -2
  237. package/dist/esm/ion-popover.entry.js +6 -5
  238. package/dist/esm/ion-progress-bar.entry.js +1 -1
  239. package/dist/esm/ion-radio_2.entry.js +4 -4
  240. package/dist/esm/ion-range.entry.js +3 -3
  241. package/dist/esm/ion-refresher_2.entry.js +2 -2
  242. package/dist/esm/ion-reorder_2.entry.js +2 -2
  243. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  244. package/dist/esm/ion-route_4.entry.js +2 -2
  245. package/dist/esm/ion-searchbar.entry.js +4 -4
  246. package/dist/esm/ion-segment_2.entry.js +5 -5
  247. package/dist/esm/ion-select_3.entry.js +5 -5
  248. package/dist/esm/ion-spinner.entry.js +1 -1
  249. package/dist/esm/ion-split-pane.entry.js +2 -2
  250. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  251. package/dist/esm/ion-tab_2.entry.js +3 -3
  252. package/dist/esm/ion-text.entry.js +2 -2
  253. package/dist/esm/ion-textarea.entry.js +2 -2
  254. package/dist/esm/ion-toast.entry.js +3 -3
  255. package/dist/esm/ion-toggle.entry.js +3 -3
  256. package/dist/esm/ionic.js +1 -1
  257. package/dist/esm/{ios.transition-71bfa932.js → ios.transition-0321a527.js} +3 -1
  258. package/dist/esm/loader.js +1 -1
  259. package/dist/esm/{md.transition-86aef3c0.js → md.transition-57a06277.js} +3 -1
  260. package/dist/esm/{overlays-6fb4a2f2.js → overlays-1eac28e2.js} +3 -2
  261. package/dist/esm-es5/index-c9a90692.js +4 -0
  262. package/dist/esm-es5/index.js +1 -1
  263. package/dist/esm-es5/input-shims-4530285e.js +4 -0
  264. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  265. package/dist/esm-es5/ion-alert.entry.js +1 -1
  266. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  267. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  268. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  269. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  270. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  271. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  272. package/dist/esm-es5/ion-img.entry.js +1 -1
  273. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  274. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  275. package/dist/esm-es5/ion-input.entry.js +1 -1
  276. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  277. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  278. package/dist/esm-es5/ion-loading.entry.js +1 -1
  279. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  280. package/dist/esm-es5/ion-modal.entry.js +1 -1
  281. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  282. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  283. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  284. package/dist/esm-es5/ion-picker.entry.js +1 -1
  285. package/dist/esm-es5/ion-popover.entry.js +1 -1
  286. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  287. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  288. package/dist/esm-es5/ion-range.entry.js +1 -1
  289. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  290. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  291. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  292. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  293. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  294. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  295. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  296. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  297. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  298. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  299. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  300. package/dist/esm-es5/ion-text.entry.js +1 -1
  301. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  302. package/dist/esm-es5/ion-toast.entry.js +1 -1
  303. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  304. package/dist/esm-es5/ionic.js +1 -1
  305. package/dist/esm-es5/ios.transition-0321a527.js +4 -0
  306. package/dist/esm-es5/loader.js +1 -1
  307. package/dist/esm-es5/md.transition-57a06277.js +4 -0
  308. package/dist/esm-es5/{overlays-6fb4a2f2.js → overlays-1eac28e2.js} +1 -1
  309. package/dist/html.html-data.json +24 -0
  310. package/dist/ionic/index.esm.js +1 -1
  311. package/dist/ionic/ionic.esm.js +1 -1
  312. package/dist/ionic/{p-07584ab4.system.js → p-0cd59e4e.system.js} +1 -1
  313. package/dist/ionic/{p-50205ef9.system.entry.js → p-0d88f9c2.system.entry.js} +1 -1
  314. package/dist/ionic/{p-1fe1f512.entry.js → p-1a8d2fe3.entry.js} +1 -1
  315. package/dist/ionic/{p-3008ca4e.system.entry.js → p-1aff89d0.system.entry.js} +1 -1
  316. package/dist/ionic/p-1fbe9447.system.js +4 -0
  317. package/dist/ionic/{p-4a01cec0.entry.js → p-2185597f.entry.js} +1 -1
  318. package/dist/ionic/{p-7f33a6e2.system.entry.js → p-22d183b4.system.entry.js} +2 -2
  319. package/dist/ionic/{p-5f15ee76.entry.js → p-255b6f01.entry.js} +1 -1
  320. package/dist/ionic/p-282cc565.js +4 -0
  321. package/dist/ionic/{p-4f6ebc2b.entry.js → p-2870db48.entry.js} +1 -1
  322. package/dist/ionic/{p-cbd87df6.entry.js → p-2b45e94f.entry.js} +1 -1
  323. package/dist/ionic/{p-cf8101a6.system.entry.js → p-2c1cc9bf.system.entry.js} +1 -1
  324. package/dist/ionic/p-2e56ebdc.entry.js +4 -0
  325. package/dist/ionic/p-30a1fb3a.js +4 -0
  326. package/dist/ionic/{p-e62d4a6c.entry.js → p-30a40a57.entry.js} +1 -1
  327. package/dist/ionic/{p-98af538a.system.entry.js → p-320f9186.system.entry.js} +2 -2
  328. package/dist/ionic/p-3328cd28.entry.js +4 -0
  329. package/dist/ionic/{p-6ef17d86.system.entry.js → p-3339b5ca.system.entry.js} +1 -1
  330. package/dist/ionic/p-39a3eca2.entry.js +4 -0
  331. package/dist/ionic/{p-703f62c1.entry.js → p-3af6a819.entry.js} +1 -1
  332. package/dist/ionic/p-3ebbbd37.js +4 -0
  333. package/dist/ionic/{p-8a5152e5.entry.js → p-3f7e6661.entry.js} +1 -1
  334. package/dist/ionic/{p-814efd87.system.entry.js → p-4195e4d0.system.entry.js} +1 -1
  335. package/dist/ionic/{p-dbc3e90c.entry.js → p-454c2bfe.entry.js} +1 -1
  336. package/dist/ionic/{p-2690b1de.js → p-46111310.js} +1 -1
  337. package/dist/ionic/p-46f407f0.system.js +4 -0
  338. package/dist/ionic/{p-4809ddae.system.entry.js → p-47915d5c.system.entry.js} +1 -1
  339. package/dist/ionic/{p-5ad55625.entry.js → p-49a47e7c.entry.js} +1 -1
  340. package/dist/ionic/p-4b078620.entry.js +4 -0
  341. package/dist/ionic/{p-332aa81e.entry.js → p-4c24ae09.entry.js} +1 -1
  342. package/dist/ionic/{p-904df2ee.system.entry.js → p-4c3d0457.system.entry.js} +1 -1
  343. package/dist/ionic/{p-530207f9.entry.js → p-4f1d1637.entry.js} +1 -1
  344. package/dist/ionic/{p-341b3f37.entry.js → p-4fc2a1ce.entry.js} +1 -1
  345. package/dist/ionic/{p-53d69c70.system.entry.js → p-5015ef54.system.entry.js} +1 -1
  346. package/dist/ionic/{p-e8a713b5.entry.js → p-5087e4df.entry.js} +1 -1
  347. package/dist/ionic/{p-5895b91d.entry.js → p-5408ee96.entry.js} +1 -1
  348. package/dist/ionic/p-55b9eb6b.system.entry.js +4 -0
  349. package/dist/ionic/{p-987e38ef.system.entry.js → p-56c470c2.system.entry.js} +1 -1
  350. package/dist/ionic/{p-5c26fed5.system.entry.js → p-5983ad03.system.entry.js} +1 -1
  351. package/dist/ionic/p-5a82c7b9.system.entry.js +4 -0
  352. package/dist/ionic/p-5e074809.system.entry.js +4 -0
  353. package/dist/ionic/{p-e81c3ca2.system.entry.js → p-676e0f71.system.entry.js} +1 -1
  354. package/dist/ionic/{p-eac224fa.entry.js → p-70605125.entry.js} +1 -1
  355. package/dist/ionic/{p-9fd3ca09.system.entry.js → p-70e00e9f.system.entry.js} +1 -1
  356. package/dist/ionic/{p-1472c130.entry.js → p-71044f08.entry.js} +1 -1
  357. package/dist/ionic/p-72b181e2.system.entry.js +4 -0
  358. package/dist/ionic/{p-fa0bf39d.system.entry.js → p-75a6989a.system.entry.js} +1 -1
  359. package/dist/ionic/p-7a152fab.entry.js +4 -0
  360. package/dist/ionic/{p-68afa357.system.entry.js → p-7e5972a0.system.entry.js} +2 -2
  361. package/dist/ionic/p-80270af4.system.entry.js +4 -0
  362. package/dist/ionic/p-8134b3c4.entry.js +4 -0
  363. package/dist/ionic/{p-4f77a080.system.entry.js → p-89f2d585.system.entry.js} +1 -1
  364. package/dist/ionic/{p-6cf780b6.system.entry.js → p-8ffff03f.system.entry.js} +1 -1
  365. package/dist/ionic/{p-bc3d649d.entry.js → p-9277e3d2.entry.js} +1 -1
  366. package/dist/ionic/p-944dd52a.system.js +4 -0
  367. package/dist/ionic/{p-ca5bb110.system.entry.js → p-94d20e10.system.entry.js} +1 -1
  368. package/dist/ionic/{p-48f60474.entry.js → p-962f482c.entry.js} +1 -1
  369. package/dist/ionic/p-9832568f.entry.js +4 -0
  370. package/dist/ionic/{p-f956e38a.entry.js → p-9876ce3b.entry.js} +1 -1
  371. package/dist/ionic/{p-151e8afd.entry.js → p-9a06b83d.entry.js} +1 -1
  372. package/dist/ionic/{p-f8f8c5a8.system.entry.js → p-9dbd1f93.system.entry.js} +1 -1
  373. package/dist/ionic/{p-c54b167f.system.entry.js → p-9e829e8f.system.entry.js} +1 -1
  374. package/dist/ionic/p-a0351a92.system.js +4 -0
  375. package/dist/ionic/{p-c927dbe2.system.entry.js → p-a0dd50e4.system.entry.js} +1 -1
  376. package/dist/ionic/{p-2b86020c.system.entry.js → p-a4ce5696.system.entry.js} +1 -1
  377. package/dist/ionic/{p-1ba197b6.entry.js → p-a51785b7.entry.js} +1 -1
  378. package/dist/ionic/{p-e292247e.system.entry.js → p-a6f505f5.system.entry.js} +1 -1
  379. package/dist/ionic/p-aa2c2a8b.system.entry.js +4 -0
  380. package/dist/ionic/{p-d061515d.system.entry.js → p-ac058b0e.system.entry.js} +1 -1
  381. package/dist/ionic/p-ae9ebfd1.entry.js +4 -0
  382. package/dist/ionic/{p-91b568e2.system.entry.js → p-b0fc315c.system.entry.js} +1 -1
  383. package/dist/ionic/p-b79b8d53.js +4 -0
  384. package/dist/ionic/{p-e93cd31c.entry.js → p-b80dfa1b.entry.js} +1 -1
  385. package/dist/ionic/{p-df0d39c7.system.entry.js → p-b8d966bb.system.entry.js} +2 -2
  386. package/dist/ionic/{p-90f8498c.entry.js → p-ba8fd3f7.entry.js} +1 -1
  387. package/dist/ionic/{p-3d977e09.system.entry.js → p-bd62a431.system.entry.js} +2 -2
  388. package/dist/ionic/{p-70f6b982.entry.js → p-bebb01a5.entry.js} +1 -1
  389. package/dist/ionic/p-c27aef92.system.js +4 -0
  390. package/dist/ionic/p-c34a80bd.entry.js +4 -0
  391. package/dist/ionic/{p-ca6decbd.entry.js → p-cfd91e4b.entry.js} +1 -1
  392. package/dist/ionic/p-d38c209e.system.entry.js +4 -0
  393. package/dist/ionic/{p-aa79cc0e.system.entry.js → p-d3a32834.system.entry.js} +2 -2
  394. package/dist/ionic/{p-275dd0ba.system.entry.js → p-d5559e4d.system.entry.js} +1 -1
  395. package/dist/ionic/p-d76c8ebd.entry.js +4 -0
  396. package/dist/ionic/{p-55bc2a11.system.entry.js → p-d833beb7.system.entry.js} +1 -1
  397. package/dist/ionic/p-d8d6ebc0.system.js +1 -1
  398. package/dist/ionic/{p-7c93f00b.system.entry.js → p-da29453c.system.entry.js} +1 -1
  399. package/dist/ionic/{p-e099a6f3.entry.js → p-dffd0e36.entry.js} +1 -1
  400. package/dist/ionic/{p-1c42ad90.entry.js → p-eb1428cc.entry.js} +1 -1
  401. package/dist/ionic/{p-e1ad8e76.entry.js → p-f49da44a.entry.js} +1 -1
  402. package/dist/ionic/p-f5006fa9.system.entry.js +4 -0
  403. package/dist/ionic/p-fe9a80b7.entry.js +4 -0
  404. package/dist/types/components/content/content.d.ts +8 -0
  405. package/dist/types/components/input/input.d.ts +4 -0
  406. package/dist/types/components/modal/modal-interface.d.ts +1 -0
  407. package/dist/types/components/modal/modal.d.ts +18 -0
  408. package/dist/types/components/picker-column/picker-column.d.ts +35 -0
  409. package/dist/types/components/popover/popover-interface.d.ts +1 -0
  410. package/dist/types/components/popover/popover.d.ts +18 -0
  411. package/dist/types/components.d.ts +32 -0
  412. package/dist/types/utils/config.d.ts +9 -0
  413. package/dist/types/utils/focus-controller/index.d.ts +13 -0
  414. package/dist/types/utils/overlays.d.ts +1 -0
  415. package/hydrate/index.js +426 -154
  416. package/package.json +1 -1
  417. package/dist/esm-es5/index-f0d7371a.js +0 -4
  418. package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
  419. package/dist/esm-es5/ios.transition-71bfa932.js +0 -4
  420. package/dist/esm-es5/md.transition-86aef3c0.js +0 -4
  421. package/dist/ionic/p-0e713efe.js +0 -4
  422. package/dist/ionic/p-2613c305.system.js +0 -4
  423. package/dist/ionic/p-34f26d8b.entry.js +0 -4
  424. package/dist/ionic/p-38010e7c.system.entry.js +0 -4
  425. package/dist/ionic/p-4d2b2d23.system.entry.js +0 -4
  426. package/dist/ionic/p-4de53118.js +0 -4
  427. package/dist/ionic/p-510cb8e6.system.js +0 -4
  428. package/dist/ionic/p-582db405.system.entry.js +0 -4
  429. package/dist/ionic/p-5f28cb75.js +0 -4
  430. package/dist/ionic/p-7372cf23.system.entry.js +0 -4
  431. package/dist/ionic/p-84ead641.entry.js +0 -4
  432. package/dist/ionic/p-91dabef7.system.js +0 -4
  433. package/dist/ionic/p-9fa5ff32.system.js +0 -4
  434. package/dist/ionic/p-a28ea4d8.system.entry.js +0 -4
  435. package/dist/ionic/p-a39a73e3.entry.js +0 -4
  436. package/dist/ionic/p-a90201f2.js +0 -4
  437. package/dist/ionic/p-ac045dad.entry.js +0 -4
  438. package/dist/ionic/p-ba35f07f.entry.js +0 -4
  439. package/dist/ionic/p-c2762c6a.system.entry.js +0 -4
  440. package/dist/ionic/p-cc258008.entry.js +0 -4
  441. package/dist/ionic/p-ce5bf737.system.entry.js +0 -4
  442. package/dist/ionic/p-cf45a5c7.system.entry.js +0 -4
  443. package/dist/ionic/p-d277ba16.entry.js +0 -4
  444. package/dist/ionic/p-dfb78785.system.js +0 -4
  445. package/dist/ionic/p-e5f99a0d.entry.js +0 -4
  446. package/dist/ionic/p-e781c893.entry.js +0 -4
  447. package/dist/ionic/p-ec178f19.entry.js +0 -4
  448. package/dist/ionic/p-f6fec6a0.entry.js +0 -4
@@ -0,0 +1,83 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { h } from "@stencil/core";
5
+ import { newSpecPage } from "@stencil/core/testing";
6
+ import { PickerColumn } from "../picker-column";
7
+ import { PickerColumnOption } from "../../picker-column-option/picker-column-option";
8
+ describe('picker-column: assistive element', () => {
9
+ beforeEach(() => {
10
+ const mockIntersectionObserver = jest.fn();
11
+ mockIntersectionObserver.mockReturnValue({
12
+ observe: () => null,
13
+ unobserve: () => null,
14
+ disconnect: () => null,
15
+ });
16
+ global.IntersectionObserver = mockIntersectionObserver;
17
+ });
18
+ it('should have a default label', async () => {
19
+ const page = await newSpecPage({
20
+ components: [PickerColumn],
21
+ template: () => h("ion-picker-column", null),
22
+ });
23
+ const pickerCol = page.body.querySelector('ion-picker-column');
24
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
25
+ expect(assistiveFocusable.getAttribute('aria-label')).not.toBe(null);
26
+ });
27
+ it('should have a custom label', async () => {
28
+ const page = await newSpecPage({
29
+ components: [PickerColumn],
30
+ template: () => h("ion-picker-column", { "aria-label": "my label" }),
31
+ });
32
+ const pickerCol = page.body.querySelector('ion-picker-column');
33
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
34
+ expect(assistiveFocusable.getAttribute('aria-label')).toBe('my label');
35
+ });
36
+ it('should update a custom label', async () => {
37
+ const page = await newSpecPage({
38
+ components: [PickerColumn],
39
+ template: () => h("ion-picker-column", null),
40
+ });
41
+ const pickerCol = page.body.querySelector('ion-picker-column');
42
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
43
+ pickerCol.setAttribute('aria-label', 'my label');
44
+ await page.waitForChanges();
45
+ expect(assistiveFocusable.getAttribute('aria-label')).toBe('my label');
46
+ });
47
+ it('should receive keyboard focus when enabled', async () => {
48
+ const page = await newSpecPage({
49
+ components: [PickerColumn],
50
+ template: () => h("ion-picker-column", null),
51
+ });
52
+ const pickerCol = page.body.querySelector('ion-picker-column');
53
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
54
+ expect(assistiveFocusable.tabIndex).toBe(0);
55
+ });
56
+ it('should not receive keyboard focus when disabled', async () => {
57
+ const page = await newSpecPage({
58
+ components: [PickerColumn],
59
+ template: () => h("ion-picker-column", { disabled: true }),
60
+ });
61
+ const pickerCol = page.body.querySelector('ion-picker-column');
62
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
63
+ expect(assistiveFocusable.tabIndex).toBe(-1);
64
+ });
65
+ it('should use option aria-label as assistive element aria-valuetext', async () => {
66
+ const page = await newSpecPage({
67
+ components: [PickerColumn, PickerColumnOption],
68
+ template: () => (h("ion-picker-column", { value: 1 }, h("ion-picker-column-option", { value: 1, "aria-label": "My Label" }, "My Text"))),
69
+ });
70
+ const pickerCol = page.body.querySelector('ion-picker-column');
71
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
72
+ expect(assistiveFocusable.getAttribute('aria-valuetext')).toBe('My Label');
73
+ });
74
+ it('should use option text as assistive element aria-valuetext when no label provided', async () => {
75
+ const page = await newSpecPage({
76
+ components: [PickerColumn, PickerColumnOption],
77
+ template: () => (h("ion-picker-column", { value: 1 }, h("ion-picker-column-option", { value: 1 }, "My Text"))),
78
+ });
79
+ const pickerCol = page.body.querySelector('ion-picker-column');
80
+ const assistiveFocusable = pickerCol.shadowRoot.querySelector('.assistive-focusable');
81
+ expect(assistiveFocusable.getAttribute('aria-valuetext')).toBe('My Text');
82
+ });
83
+ });
@@ -76,10 +76,10 @@ export class PickerColumnOption {
76
76
  render() {
77
77
  const { color, disabled, ariaLabel } = this;
78
78
  const mode = getIonMode(this);
79
- return (h(Host, { key: 'c743c6ef44bb9f765cc15b3b5d2864de6520203a', class: createColorClasses(color, {
79
+ return (h(Host, { key: 'cc4435a0ce0e55be1321bcabaf342ed68cf5ba1e', class: createColorClasses(color, {
80
80
  [mode]: true,
81
81
  ['option-disabled']: disabled,
82
- }) }, h("button", { key: '4c3d9eb245c52b2c007f727e145cfb55759bd7a9', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: '4c907d2187cbe9d5941e27f2b12578e2b7271461' }))));
82
+ }) }, h("button", { key: '0187fb967771e0787807a8538dce4e59f6a98565', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: 'dbe52552f3f27332816748c12d929cc81060841d' }))));
83
83
  }
84
84
  static get is() { return "ion-picker-column-option"; }
85
85
  static get encapsulation() { return "shadow"; }
@@ -182,11 +182,11 @@ export class Picker {
182
182
  render() {
183
183
  const { htmlAttributes } = this;
184
184
  const mode = getIonMode(this);
185
- return (h(Host, Object.assign({ key: 'cb1495acc8842c00e9f51ae792a01f769e36b0c6', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
185
+ return (h(Host, Object.assign({ key: '26e3144adcdf01605271d01e468bb4a75ce854b1', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
186
186
  zIndex: `${20000 + this.overlayIndex}`,
187
187
  }, class: Object.assign({ [mode]: true,
188
188
  // Used internally for styling
189
- [`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" })));
189
+ [`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" })));
190
190
  }
191
191
  static get is() { return "ion-picker-legacy"; }
192
192
  static get encapsulation() { return "scoped"; }
@@ -336,9 +336,9 @@ export class PickerColumnCmp {
336
336
  render() {
337
337
  const col = this.col;
338
338
  const mode = getIonMode(this);
339
- 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: {
339
+ 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: {
340
340
  'max-width': this.col.columnWidth,
341
- } }, 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))));
341
+ } }, 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))));
342
342
  }
343
343
  static get is() { return "ion-picker-legacy-column"; }
344
344
  static get originalStyleUrls() {
@@ -7,7 +7,7 @@ import { CoreDelegate, attachComponent, detachComponent } from "../../utils/fram
7
7
  import { addEventListener, raf, hasLazyBuild } from "../../utils/helpers";
8
8
  import { createLockController } from "../../utils/lock-controller";
9
9
  import { printIonWarning } from "../../utils/logging/index";
10
- import { BACKDROP, dismiss, eventMethod, prepareOverlay, present, setOverlayId } from "../../utils/overlays";
10
+ import { BACKDROP, dismiss, eventMethod, prepareOverlay, present, setOverlayId, FOCUS_TRAP_DISABLE_CLASS, } from "../../utils/overlays";
11
11
  import { isPlatform } from "../../utils/platform";
12
12
  import { getClassMap } from "../../utils/theme";
13
13
  import { deepReady, waitForMount } from "../../utils/transition/index";
@@ -107,6 +107,7 @@ export class Popover {
107
107
  this.arrow = true;
108
108
  this.isOpen = false;
109
109
  this.keyboardEvents = false;
110
+ this.focusTrap = true;
110
111
  this.keepContentsMounted = false;
111
112
  }
112
113
  onTriggerChange() {
@@ -333,12 +334,12 @@ export class Popover {
333
334
  }
334
335
  render() {
335
336
  const mode = getIonMode(this);
336
- const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes } = this;
337
+ const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
337
338
  const desktop = isPlatform('desktop');
338
339
  const enableArrow = arrow && !parentPopover;
339
- return (h(Host, Object.assign({ key: '4bccccf57df72e1196c6a28e803831c0520aef53', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
340
+ return (h(Host, Object.assign({ key: '17e5e8b3e7ba5e251665fb9d0ade10c781f82f0e', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
340
341
  zIndex: `${20000 + this.overlayIndex}`,
341
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: 'e42f4f61150b7b41093d37d187d1b7bb4187a00e', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '386ac3247b0f82566aae07b6dbf5e97d243ce367', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '28f0e5ea2fa099b808ffb77a9a0d78b8b46c1513', class: "popover-arrow", part: "arrow" }), h("div", { key: '7ba2e3dee529015c4e07ce78ec10dc59985ec6a2', class: "popover-content", part: "content" }, h("slot", { key: '915cdc8e389fda210f83aec8b7bbbfa6f830a884' })))));
342
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: 'c12fb94b375d7e88a0c5d715440c0f66ad7ee817', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '478b388cc9a5a382003a2863e968e77a174914ab', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: 'f1c63a0079f197a8d4577e7c00a654871fb9d816', class: "popover-arrow", part: "arrow" }), h("div", { key: '08b62a321c09ad4b0f90460468ecbc1d56320bf1', class: "popover-content", part: "content" }, h("slot", { key: '55645ff597f64d434219caa28015cf2a4ceb0ee5' })))));
342
343
  }
343
344
  static get is() { return "ion-popover"; }
344
345
  static get encapsulation() { return "shadow"; }
@@ -860,6 +861,24 @@ export class Popover {
860
861
  "reflect": false,
861
862
  "defaultValue": "false"
862
863
  },
864
+ "focusTrap": {
865
+ "type": "boolean",
866
+ "mutable": false,
867
+ "complexType": {
868
+ "original": "boolean",
869
+ "resolved": "boolean",
870
+ "references": {}
871
+ },
872
+ "required": false,
873
+ "optional": false,
874
+ "docs": {
875
+ "tags": [],
876
+ "text": "If `true`, focus will not be allowed to move outside of this overlay.\nIf `false`, focus will be allowed to move outside of the overlay.\n\nIn most scenarios this property should remain set to `true`. Setting\nthis property to `false` can cause severe accessibility issues as users\nrelying on assistive technologies may be able to move focus into\na confusing state. We recommend only setting this to `false` when\nabsolutely necessary.\n\nDevelopers may want to consider disabling focus trapping if this\noverlay presents a non-Ionic overlay from a 3rd party library.\nDevelopers would disable focus trapping on the Ionic overlay\nwhen presenting the 3rd party overlay and then re-enable\nfocus trapping when dismissing the 3rd party overlay and moving\nfocus back to the Ionic overlay."
877
+ },
878
+ "attribute": "focus-trap",
879
+ "reflect": false,
880
+ "defaultValue": "true"
881
+ },
863
882
  "keepContentsMounted": {
864
883
  "type": "boolean",
865
884
  "mutable": false,
@@ -4,6 +4,7 @@
4
4
  import { h } from "@stencil/core";
5
5
  import { newSpecPage } from "@stencil/core/testing";
6
6
  import { Popover } from "../../popover";
7
+ import { FOCUS_TRAP_DISABLE_CLASS } from "../../../../utils/overlays";
7
8
  describe('popover: htmlAttributes inheritance', () => {
8
9
  it('should correctly inherit attributes on host', async () => {
9
10
  const page = await newSpecPage({
@@ -14,3 +15,21 @@ describe('popover: htmlAttributes inheritance', () => {
14
15
  await expect(popover.getAttribute('data-testid')).toBe('basic-popover');
15
16
  });
16
17
  });
18
+ describe('popover: focus trap', () => {
19
+ it('should set the focus trap class when disabled', async () => {
20
+ const page = await newSpecPage({
21
+ components: [Popover],
22
+ template: () => h("ion-popover", { focusTrap: false, overlayIndex: 1 }),
23
+ });
24
+ const popover = page.body.querySelector('ion-popover');
25
+ expect(popover.classList.contains(FOCUS_TRAP_DISABLE_CLASS)).toBe(true);
26
+ });
27
+ it('should not set the focus trap class by default', async () => {
28
+ const page = await newSpecPage({
29
+ components: [Popover],
30
+ template: () => h("ion-popover", { overlayIndex: 1 }),
31
+ });
32
+ const popover = page.body.querySelector('ion-popover');
33
+ expect(popover.classList.contains(FOCUS_TRAP_DISABLE_CLASS)).toBe(false);
34
+ });
35
+ });
@@ -28,7 +28,7 @@ export class ProgressBar {
28
28
  const mode = getIonMode(this);
29
29
  // If the progress is displayed as a solid bar.
30
30
  const progressSolid = buffer === 1;
31
- return (h(Host, { key: '8d8ddf0b26fe33803d3a6168cbedd523d1a888e7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
31
+ return (h(Host, { key: 'b293f4475bcdaa7851b41ebfda659037f0365120', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
32
32
  [mode]: true,
33
33
  [`progress-bar-${type}`]: true,
34
34
  'progress-paused': paused,
@@ -107,7 +107,7 @@ export class Radio {
107
107
  const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
108
108
  const mode = getIonMode(this);
109
109
  const inItem = hostContext('ion-item', el);
110
- return (h(Host, { key: 'cb00934d052260e97462e97a1669045cbb0b963a', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
110
+ return (h(Host, { key: 'e44cade8aa8415bdc825f9d17fc8562487cf5d35', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
111
111
  [mode]: true,
112
112
  'in-item': inItem,
113
113
  'radio-checked': checked,
@@ -118,10 +118,10 @@ export class Radio {
118
118
  // Focus and active styling should not apply when the radio is in an item
119
119
  'ion-activatable': !inItem,
120
120
  'ion-focusable': !inItem,
121
- }), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '05613f89400469692442bf3c02c27f9299c5d6ef', class: "radio-wrapper" }, h("div", { key: '89b5d7668c3856f417c318629086cf46a072efbe', class: {
121
+ }), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '48a99aa80a7d7b4085ef26faf3167903c975517c', class: "radio-wrapper" }, h("div", { key: 'a8d74e0603b41215ea3e867356a9be0dcf3722d8', class: {
122
122
  'label-text-wrapper': true,
123
123
  'label-text-wrapper-hidden': !hasLabel,
124
- }, part: "label" }, h("slot", { key: 'd5e43a8d0fe5a7fc323887d310fd64d6f87deef7' })), h("div", { key: '7fd221189adcfccca1ed18dcd0a60cde6261120b', class: "native-wrapper" }, this.renderRadioControl()))));
124
+ }, part: "label" }, h("slot", { key: '9e3cce6254e70b02d50381537438a70435b031cc' })), h("div", { key: 'bfa3ee188d911e056a3e60178eac41362efb94b3', class: "native-wrapper" }, this.renderRadioControl()))));
125
125
  }
126
126
  static get is() { return "ion-radio"; }
127
127
  static get encapsulation() { return "shadow"; }
@@ -153,7 +153,7 @@ export class RadioGroup {
153
153
  const { label, labelId, el, name, value } = this;
154
154
  const mode = getIonMode(this);
155
155
  renderHiddenInput(true, el, name, value, false);
156
- return h(Host, { key: 'b6b439d6d53d17a5a4d9853a7cf6065b28213338', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
156
+ return h(Host, { key: '7801c5d6b3916efb15b4e479c6b90a8925e254a4', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
157
157
  }
158
158
  static get is() { return "ion-radio-group"; }
159
159
  static get properties() {
@@ -561,7 +561,7 @@ export class Range {
561
561
  const needsEndAdjustment = inItem && !hasEndContent;
562
562
  const mode = getIonMode(this);
563
563
  renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
564
- return (h(Host, { key: 'cd70b5db9eae808a644643d7095a1b5264cbc5fe', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
564
+ return (h(Host, { key: '217323e45c3197c0ff9a5e0b12c1f860f9fe5152', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
565
565
  [mode]: true,
566
566
  'in-item': inItem,
567
567
  'range-disabled': disabled,
@@ -570,10 +570,10 @@ export class Range {
570
570
  [`range-label-placement-${labelPlacement}`]: true,
571
571
  'range-item-start-adjustment': needsStartAdjustment,
572
572
  'range-item-end-adjustment': needsEndAdjustment,
573
- }) }, h("label", { key: '78ef0523f0064d6b268ae17ef72f90094511d897', class: "range-wrapper", id: "range-label" }, h("div", { key: '6e4b2051e770dabe80dcb9f412e9aae1859e9f33', class: {
573
+ }) }, h("label", { key: '84357e85fc78954b9f598236e802c582dad8f69e', class: "range-wrapper", id: "range-label" }, h("div", { key: '85c61c11453e417e27305cddd65d2044b6ffc451', class: {
574
574
  'label-text-wrapper': true,
575
575
  'label-text-wrapper-hidden': !hasLabel,
576
- }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '72cdb8f6657a3b84f759743cedd600020c954c6a', class: "native-wrapper" }, h("slot", { key: 'f7a38d6bd63df5dc8b4470f1f4acaaf3e5c80514', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'ae74ac8c1da691e3be1b2f00dfd3c8419b9566ec', name: "end" })))));
576
+ }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'f3504d2df23e8b4c7d657f21b8953defddd89e76', class: "native-wrapper" }, h("slot", { key: '36e85481fb513462a5e71a3801c3349485e6a1ef', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'ed3eae7883e6a55c88b69b678e1de43cee4d1b40', name: "end" })))));
577
577
  }
578
578
  static get is() { return "ion-range"; }
579
579
  static get encapsulation() { return "shadow"; }
@@ -594,7 +594,7 @@ export class Refresher {
594
594
  }
595
595
  render() {
596
596
  const mode = getIonMode(this);
597
- return (h(Host, { key: 'e7f4f2f96de7e80430bf54967ebc12e7216b2ca9', slot: "fixed", class: {
597
+ return (h(Host, { key: '1696f66f62d18c9075294f17cb24263325fcf35d', slot: "fixed", class: {
598
598
  [mode]: true,
599
599
  // Used internally for styling
600
600
  [`refresher-${mode}`]: true,
@@ -52,7 +52,7 @@ export class RefresherContent {
52
52
  const pullingIcon = this.pullingIcon;
53
53
  const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
54
54
  const mode = getIonMode(this);
55
- return (h(Host, { key: '19633bbcf02e3dba885d6bdcdaf2269bf4c8e2f5', class: mode }, h("div", { key: '28922e434a55a6cac0476fe2bee56941ce0d1c02', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'fe575bf996021884677e9b23a3215d63caf894f5', class: "refresher-pulling-icon" }, h("div", { key: '59fe12297fd95bc33b8df8cd35316e2a1c084d91', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'af9cc013ae04945c140b2865610ca73edb52ab48', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '34df66ad1b0f706a0532957251aa2c20bf4587d8', class: "arrow-container" }, h("ion-icon", { key: 'ffdb5c123e606b823491c6c51cc2b497f62581bb', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ac3a2032bb969264d20fa057e9123441005d7a9d', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd969d10915548e72aae289b52154366f3dd39b31', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'a8f854f81a94812d7bef8ce088331d94f49ff53d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'a1f646945370e40c844d62bc0c647443ae9dfbe7', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'ab3ff4047769b6436e222b46d193c1e8b23e2fce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
55
+ return (h(Host, { key: '1bec5b4da221c69d856f3f5ddf40f2e03ebf2a4c', class: mode }, h("div", { key: '4fcc526c4f1881e9368d9cd16bd7030919bd3841', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'a4e9e2e12c2d7faefc8303ec8c021f999ddf308e', class: "refresher-pulling-icon" }, h("div", { key: '5a2d215feb7fb4b64d540d3a65c0f24b415a2433', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'abef2621d671ac6ff0abac43a702cbd825b7f127', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '30087d672c3780672a05874cd93cd099b2855462', class: "arrow-container" }, h("ion-icon", { key: '5e30333dee469aec0d8efc8c4e6dabb619c6f363', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: '48fe72b5ce8ded633c6ee799cebb520b9c8be528', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd8dfd5d42056b1c0a436c5006affb255407816c0', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'c2cbfb94f157c82601ffe7bb815ff82ebc7c0a49', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '17f3ebe6a31768d5e389f45a2c12f68600185db9', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'e8e61f8d7189c9939bba184201c9509d1d5b0fad', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
56
56
  }
57
57
  static get is() { return "ion-refresher-content"; }
58
58
  static get properties() {
@@ -20,7 +20,7 @@ export class Reorder {
20
20
  render() {
21
21
  const mode = getIonMode(this);
22
22
  const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
23
- return (h(Host, { key: '27266e30bcb7e10c57fb6d546399cfb1f1c93b23', class: mode }, h("slot", { key: '8745cb9a31458e884c27eed1fb90d104fe9a79eb' }, h("ion-icon", { key: '6c4b9631a2f5610f1e21b2db025b6702d0d593bf', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
23
+ return (h(Host, { key: '663d74e231e3af56b6298ee2539fdac9c8465839', class: mode }, h("slot", { key: 'c7c384ab8c9ca8abdc89cd984a39dfde70e342ca' }, h("ion-icon", { key: 'c8b6052db03d4b9e33a90e600c20861c73ee73ce', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
24
24
  }
25
25
  static get is() { return "ion-reorder"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -238,7 +238,7 @@ export class ReorderGroup {
238
238
  }
239
239
  render() {
240
240
  const mode = getIonMode(this);
241
- return (h(Host, { key: 'a38c7fbceb677201330a602273d5b55abb32da19', class: {
241
+ return (h(Host, { key: '491f3e5843cf728ff4589e58bd86b8ce6709b293', class: {
242
242
  [mode]: true,
243
243
  'reorder-enabled': !this.disabled,
244
244
  'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
@@ -59,7 +59,7 @@ export class RippleEffect {
59
59
  }
60
60
  render() {
61
61
  const mode = getIonMode(this);
62
- return (h(Host, { key: '7ae559bda5d2c1856a45bfa150c2cb4f83373f8e', role: "presentation", class: {
62
+ return (h(Host, { key: '2302f087ab1c6755355736e4ca77309c5fdcf185', role: "presentation", class: {
63
63
  [mode]: true,
64
64
  unbounded: this.unbounded,
65
65
  } }));
@@ -23,10 +23,10 @@ export class RouterLink {
23
23
  rel: this.rel,
24
24
  target: this.target,
25
25
  };
26
- return (h(Host, { key: '529ceed5beaf92d7b4cc315c82f449eac18310e8', onClick: this.onClick, class: createColorClasses(this.color, {
26
+ return (h(Host, { key: 'f876442cab5b14b7e83c6d6ad2c2d878a9c57439', onClick: this.onClick, class: createColorClasses(this.color, {
27
27
  [mode]: true,
28
28
  'ion-activatable': true,
29
- }) }, h("a", Object.assign({ key: 'd5f1f8b256695d70bdafd20ff3d1b625963fa2da' }, attrs), h("slot", { key: '613fcdb36a71e076f989551ea21f1d5c118b1cd2' }))));
29
+ }) }, h("a", Object.assign({ key: 'c44b78ec1fd10a40c23bfe548860ac2b346646a8' }, attrs), h("slot", { key: 'd32180a567613f79f89885135bd0d776ffc1eb8e' }))));
30
30
  }
31
31
  static get is() { return "ion-router-link"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -177,7 +177,7 @@ export class RouterOutlet {
177
177
  return true;
178
178
  }
179
179
  render() {
180
- return h("slot", { key: 'a70341f58d19df55de1dad00e3464388e446aa2a' });
180
+ return h("slot", { key: '8279a453c66a766e6e383ff59842b4ae070c13a9' });
181
181
  }
182
182
  static get is() { return "ion-router-outlet"; }
183
183
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  import { getIonMode } from "../../global/ionic-global";
6
6
  export class Row {
7
7
  render() {
8
- return (h(Host, { key: 'aea072a5005e3f1f309f0d1ae5be5ee19869b035', class: getIonMode(this) }, h("slot", { key: '2a481c2126ac6ca65f0a1bbd07c2d3365409cb78' })));
8
+ return (h(Host, { key: '813c9a7f6782d2cf8eb27f30d3ab28e6f3122868', class: getIonMode(this) }, h("slot", { key: '356bec4d4d408ea63d6b431b06465d5b7bcbff71' })));
9
9
  }
10
10
  static get is() { return "ion-row"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -378,8 +378,8 @@ export class Searchbar {
378
378
  const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
379
379
  const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
380
380
  const shouldShowCancelButton = this.shouldShowCancelButton();
381
- const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '753b11f41484edcb2714aa81be8bc7bc0370cb2e', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'e42fe29767fb06a5e4f9060c3f8a47b040528e4f', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
382
- return (h(Host, { key: 'da667148dc3300f4a8473315d04e6560194f51dc', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
381
+ const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0309b828f496e449405f4215f6cb10d3ae874f52', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'c0563d48fc25cc02ff45f4d708d1bdeb0cf7c7bc', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
382
+ return (h(Host, { key: '0842b78189eb10329d161294048aa26f380056b3', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
383
383
  [mode]: true,
384
384
  'searchbar-animated': animated,
385
385
  'searchbar-disabled': this.disabled,
@@ -389,14 +389,14 @@ export class Searchbar {
389
389
  'searchbar-has-focus': this.focused,
390
390
  'searchbar-should-show-clear': this.shouldShowClearButton(),
391
391
  'searchbar-should-show-cancel': this.shouldShowCancelButton(),
392
- }) }, h("div", { key: 'b1a28467d41dd989e6aee10c7c9fb70a7c1534f1', class: "searchbar-input-container" }, h("input", Object.assign({ key: '4983f67966f79b2846c1369c7feaa0c568bc3025', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: 'b6576522762a83a7d9977f312dce433c2aaa2490', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: 'c460a3be7ffed2ddf4b08f64ea4ec6843586a726', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
392
+ }) }, h("div", { key: '250fddf0a88c0608f2f797d671ce0d57e4a0983b', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8545874203f86312e3a949199ceaeefb9a2cd326', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '3c212122d0c8b1d4e0c38be8e0bd2365232d0f87', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '4450d17927983da489b051639c14f96f1a96d64a', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
393
393
  /**
394
394
  * This prevents mobile browsers from
395
395
  * blurring the input when the clear
396
396
  * button is activated.
397
397
  */
398
398
  ev.preventDefault();
399
- }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'e2e5dcdeca46d2588642e7b9f05d396f6e0332a9', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
399
+ }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'f9e9060cbe0caf06763327a01d5f03b0a5d87404', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
400
400
  }
401
401
  static get is() { return "ion-searchbar"; }
402
402
  static get encapsulation() { return "scoped"; }
@@ -420,14 +420,14 @@ export class Segment {
420
420
  }
421
421
  render() {
422
422
  const mode = getIonMode(this);
423
- return (h(Host, { key: '22bd7bbecaa9f0c95971565e06ef3fa4ad44a946', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
423
+ return (h(Host, { key: '1f29e1c1f712a65ddce6c8aa1623fee85cb66ed9', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
424
424
  [mode]: true,
425
425
  'in-toolbar': hostContext('ion-toolbar', this.el),
426
426
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
427
427
  'segment-activated': this.activated,
428
428
  'segment-disabled': this.disabled,
429
429
  'segment-scrollable': this.scrollable,
430
- }) }, h("slot", { key: '6d6fe81026928662137b872206de55117fda30a2' })));
430
+ }) }, h("slot", { key: '86f5724565043a3d0983a14cc49c37df9a60c6b0' })));
431
431
  }
432
432
  static get is() { return "ion-segment"; }
433
433
  static get encapsulation() { return "shadow"; }
@@ -78,7 +78,7 @@ export class SegmentButton {
78
78
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
79
79
  const mode = getIonMode(this);
80
80
  const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
81
- return (h(Host, { key: '9b54e4841be5d0f4f2ee230a649bfbe01066c7c7', class: {
81
+ return (h(Host, { key: '70cf5c7a3ae2620222c5250c644faf3cfc3b3e4e', class: {
82
82
  [mode]: true,
83
83
  'in-toolbar': hostContext('ion-toolbar', this.el),
84
84
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -94,10 +94,10 @@ export class SegmentButton {
94
94
  'ion-activatable': true,
95
95
  'ion-activatable-instant': true,
96
96
  'ion-focusable': true,
97
- } }, h("button", Object.assign({ key: 'b97b964b5f3f1bf53e41ad2a1ad4853d5f956fe5', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '0eeb2616f7c5a7a7fc1e2e3bd34ab461de6179f4', class: "button-inner" }, h("slot", { key: '5ac8fafa2f23e30f8df63bfe236a9604cfb388ae' })), mode === 'md' && h("ion-ripple-effect", { key: '86032e9726e2b6437ffc34f59fcbe564616cc9ca' })), h("div", { key: '536b1da58dd2521be290707d6b1726831340cf9f', part: "indicator", class: {
97
+ } }, h("button", Object.assign({ key: 'a53c9f1e360934e8d2e90476642ba4507fc38ebd', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '7d8feda840d389941cc693f500b5eba0b39b41da', class: "button-inner" }, h("slot", { key: 'd9ae1eec45db253cbf573d29cd545658dd595d87' })), mode === 'md' && h("ion-ripple-effect", { key: '49e6a16968709dc9b3fc77bc9fb99acb42fda88c' })), h("div", { key: '4e3ea0989ed5205dbb03586e4facb439b05a92de', part: "indicator", class: {
98
98
  'segment-button-indicator': true,
99
99
  'segment-button-indicator-animated': true,
100
- } }, h("div", { key: 'b43124415ebd77c87285791522c5afc26a137f96', part: "indicator-background", class: "segment-button-indicator-background" }))));
100
+ } }, h("div", { key: '65c72a151080998c1e548c87d4d4ebd5c7dda72f', part: "indicator-background", class: "segment-button-indicator-background" }))));
101
101
  }
102
102
  static get is() { return "ion-segment-button"; }
103
103
  static get encapsulation() { return "shadow"; }
@@ -610,7 +610,7 @@ export class Select {
610
610
  * TODO(FW-5592): Remove hasStartEndSlots condition
611
611
  */
612
612
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
613
- return (h(Host, { key: '5a1b82be3f737a2ce5b87c5cd716f898a902ab10', onClick: this.onClick, class: createColorClasses(this.color, {
613
+ return (h(Host, { key: '38647216725f05c3ea8e2c7b4125d7035e5bef31', onClick: this.onClick, class: createColorClasses(this.color, {
614
614
  [mode]: true,
615
615
  'in-item': inItem,
616
616
  'in-item-color': hostContext('ion-item.ion-color', el),
@@ -626,7 +626,7 @@ export class Select {
626
626
  [`select-justify-${justify}`]: justifyEnabled,
627
627
  [`select-shape-${shape}`]: shape !== undefined,
628
628
  [`select-label-placement-${labelPlacement}`]: true,
629
- }) }, h("label", { key: '79a6e99e38fa3f72d876f4b8ac0077a9fbf4bd2d', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: 'e18ac0b4a35e2cdde858347a9b116218533cd532', class: "select-wrapper-inner" }, h("slot", { key: 'cc194f718ef9363d3496531f0d9259e33b66f4d8', name: "start" }), h("div", { key: '833c5544e453c0ac543f5d4898d0f492caac405a', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: 'adaa4064c9ad01ef7a452308680eb09dc3ad60ff', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'd47a6ef0a6192c5f098973aa517aad2aa9ae8dfc', class: "select-highlight" }))));
629
+ }) }, h("label", { key: '80f465dda111b27548cba11fe734b4916f1da6d7', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: 'b6c22c7f2d42439d89397ffe7182bf0e07225dc1', class: "select-wrapper-inner" }, h("slot", { key: '95cf6118d97f974debfe31e17938b6bb9b0bec63', name: "start" }), h("div", { key: '647912e4208feaddc581d066007653c910065907', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '3bbf5e126327ff21fed8f6ad3acd77d0df900c4a', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'd790350694c310866c5bd3f8da0edc9f8c17ac0d', class: "select-highlight" }))));
630
630
  }
631
631
  static get is() { return "ion-select"; }
632
632
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class SelectOption {
10
10
  this.value = undefined;
11
11
  }
12
12
  render() {
13
- return h(Host, { key: '6fa504ac5597098086050c0f517a03be8b8032c9', role: "option", id: this.inputId, class: getIonMode(this) });
13
+ return h(Host, { key: 'ba5a9c695c53fe0802af11a49f4305a9b8f71773', role: "option", id: this.inputId, class: getIonMode(this) });
14
14
  }
15
15
  static get is() { return "ion-select-option"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -102,7 +102,7 @@ export class SelectPopover {
102
102
  render() {
103
103
  const { header, message, options, subHeader } = this;
104
104
  const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
105
- return (h(Host, { key: '2ed838c17d47198c697164a0a750aafb6ca61a95', class: getIonMode(this) }, h("ion-list", { key: '24fe7a6e9e45458c201b178ca236645d0f49ea8a' }, header !== undefined && h("ion-list-header", { key: 'ebe64853dcd59c14a8f4dc9c2dc9e66d1e9767f6' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'ed7c6f2d7e1282b3048df0af8f1e3fd3b08297c6' }, h("ion-label", { key: 'a81f6c4011a0dce47b80c98a45d80b1368d84a1e', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '4fd72c62da896092d535580917bb8a5ad6609c05' }, subHeader), message !== undefined && h("p", { key: '88aead29b35d69743abe4015f96a6fa9f199a0ff' }, message)))), this.renderOptions(options))));
105
+ return (h(Host, { key: '302553a2eec4d1442751b8af28b7c9bd3487fd5d', class: getIonMode(this) }, h("ion-list", { key: '39ae8579e6fe3bae2c7504147268ad5c82fd27e6' }, header !== undefined && h("ion-list-header", { key: 'e0e6686380d188f46c593e1bb25287dcf08c75c2' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '8a2d8652db269593c0ba7d767277e12c2b06144d' }, h("ion-label", { key: 'a30cc0ecf95d5bdd6421ee1683922c1b853e98ea', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'c298459ca450123808a08d65660825b2c26d00e5' }, subHeader), message !== undefined && h("p", { key: 'ed895fbaec020e809021138401341b6fd7675035' }, message)))), this.renderOptions(options))));
106
106
  }
107
107
  static get is() { return "ion-select-popover"; }
108
108
  static get encapsulation() { return "scoped"; }
@@ -25,11 +25,11 @@ export class SkeletonText {
25
25
  const animated = this.animated && config.getBoolean('animated', true);
26
26
  const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
27
27
  const mode = getIonMode(this);
28
- return (h(Host, { key: '8a1b489e35564056b3babce548982e58fec74119', class: {
28
+ return (h(Host, { key: '1a3e78e9a6f740d609d1f0b7a16cb6eff4a2d617', class: {
29
29
  [mode]: true,
30
30
  'skeleton-text-animated': animated,
31
31
  'in-media': inMedia,
32
- } }, h("span", { key: '71df251a41967dc4dab241f6fa906fa4d568dd9e' }, "\u00A0")));
32
+ } }, h("span", { key: 'be3eabe196ec6e8ec19857375ba30f4c8aa58e7f' }, "\u00A0")));
33
33
  }
34
34
  static get is() { return "ion-skeleton-text"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class Spinner {
39
39
  svgs.push(buildLine(spinner, duration, i, spinner.lines));
40
40
  }
41
41
  }
42
- return (h(Host, { key: '9422c25aadfdf08861e26bb1aa336c94391d10a3', class: createColorClasses(self.color, {
42
+ return (h(Host, { key: '50cbaed55eeab15292447d106a80b93db4cb40de', class: createColorClasses(self.color, {
43
43
  [mode]: true,
44
44
  [`spinner-${spinnerName}`]: true,
45
45
  'spinner-paused': self.paused || config.getBoolean('_testing'),
@@ -118,12 +118,12 @@ export class SplitPane {
118
118
  }
119
119
  render() {
120
120
  const mode = getIonMode(this);
121
- return (h(Host, { key: 'd04ff97717268184725f25b39bb1416b2b423260', class: {
121
+ return (h(Host, { key: 'd54c356cd4bff7e55325160882dea8249f47f388', class: {
122
122
  [mode]: true,
123
123
  // Used internally for styling
124
124
  [`split-pane-${mode}`]: true,
125
125
  'split-pane-visible': this.visible,
126
- } }, h("slot", { key: '4d355509ab6fcdac415184068ffe1241a5078db3' })));
126
+ } }, h("slot", { key: 'af62690d0fd686cfbd29d888c79eda9001f13e2f' })));
127
127
  }
128
128
  static get is() { return "ion-split-pane"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -48,10 +48,10 @@ export class Tab {
48
48
  }
49
49
  render() {
50
50
  const { tab, active, component } = this;
51
- return (h(Host, { key: 'f341d086cc626834d2ac83a9b6366fcaf71a72d5', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
51
+ return (h(Host, { key: '46d5498418f5379861c3d7465e8021dec45f1200', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
52
52
  'ion-page': component === undefined,
53
53
  'tab-hidden': !active,
54
- } }, h("slot", { key: 'b665bb7a388f1a032685c9e7fe9b412ca742689e' })));
54
+ } }, h("slot", { key: 'b45045dccb87dfe75e3f5a5a474bb48b6c98e922' })));
55
55
  }
56
56
  static get is() { return "ion-tab"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -51,11 +51,11 @@ export class TabBar {
51
51
  const { color, translucent, keyboardVisible } = this;
52
52
  const mode = getIonMode(this);
53
53
  const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
54
- return (h(Host, { key: '77fe8ff42b083bfdb5e01a9873ef45b6f3ce3744', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
54
+ return (h(Host, { key: '3a8595dd83f89e8319471a7a7f9f64b2565b384c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
55
55
  [mode]: true,
56
56
  'tab-bar-translucent': translucent,
57
57
  'tab-bar-hidden': shouldHide,
58
- }) }, h("slot", { key: 'd479c80ff66f4cfc12ab4a583bd292ef8392895e' })));
58
+ }) }, h("slot", { key: '8b65eceb922f6abfa15f41046261586fb94b981f' })));
59
59
  }
60
60
  static get is() { return "ion-tab-bar"; }
61
61
  static get encapsulation() { return "shadow"; }