@ionic/core 8.4.4-dev.11741384305.15abf5ef → 8.4.4-dev.11741632207.1cb10db6

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 (561) hide show
  1. package/components/alert.js +4 -30
  2. package/components/checkbox.js +6 -4
  3. package/components/helpers.js +1 -7
  4. package/components/index6.js +11 -3
  5. package/components/index9.js +1 -1
  6. package/components/ion-input.js +2 -2
  7. package/components/ion-item-divider.js +2 -2
  8. package/components/ion-item-group.js +1 -1
  9. package/components/ion-item-option.js +2 -2
  10. package/components/ion-item-options.js +1 -1
  11. package/components/ion-item-sliding.js +1 -1
  12. package/components/ion-loading.js +2 -2
  13. package/components/ion-menu-button.js +2 -2
  14. package/components/ion-menu-toggle.js +2 -2
  15. package/components/ion-menu.js +2 -2
  16. package/components/ion-nav-link.js +1 -1
  17. package/components/ion-nav.js +1 -1
  18. package/components/ion-note.js +2 -2
  19. package/components/ion-picker-legacy.js +2 -2
  20. package/components/ion-progress-bar.js +1 -1
  21. package/components/ion-range.js +6 -28
  22. package/components/ion-refresher-content.js +1 -1
  23. package/components/ion-refresher.js +1 -1
  24. package/components/ion-reorder-group.js +1 -1
  25. package/components/ion-reorder.js +1 -1
  26. package/components/ion-router-link.js +2 -2
  27. package/components/ion-router-outlet.js +1 -1
  28. package/components/ion-router.js +1 -1
  29. package/components/ion-row.js +1 -1
  30. package/components/ion-searchbar.js +4 -4
  31. package/components/ion-segment-button.js +3 -3
  32. package/components/ion-segment-content.js +1 -1
  33. package/components/ion-segment-view.js +2 -2
  34. package/components/ion-segment.js +2 -2
  35. package/components/ion-select-option.js +1 -1
  36. package/components/ion-select.js +6 -4
  37. package/components/ion-skeleton-text.js +2 -2
  38. package/components/ion-split-pane.js +2 -2
  39. package/components/ion-tab-bar.js +2 -2
  40. package/components/ion-tab-button.js +2 -2
  41. package/components/ion-tab.js +2 -2
  42. package/components/ion-tabs.js +1 -1
  43. package/components/ion-text.js +2 -2
  44. package/components/ion-textarea.js +4 -4
  45. package/components/ion-thumbnail.js +1 -1
  46. package/components/ion-toast.js +2 -2
  47. package/components/ion-toggle.js +6 -4
  48. package/components/ionic-global.js +1 -2
  49. package/components/label.js +2 -2
  50. package/components/list-header.js +2 -2
  51. package/components/modal.js +259 -35
  52. package/components/picker-column-option.js +2 -2
  53. package/components/picker-column2.js +2 -2
  54. package/components/popover.js +2 -2
  55. package/components/radio-group.js +39 -2
  56. package/components/radio.js +3 -3
  57. package/components/ripple-effect.js +1 -1
  58. package/components/select-modal.js +1 -1
  59. package/components/select-popover.js +1 -1
  60. package/components/spinner.js +1 -1
  61. package/components/title.js +2 -2
  62. package/components/toolbar.js +2 -2
  63. package/css/core.css.map +1 -1
  64. package/css/ionic.bundle.css.map +1 -1
  65. package/dist/cjs/{app-globals-4283fe37.js → app-globals-21afee77.js} +1 -1
  66. package/dist/cjs/{data-21dc0f81.js → data-108e531d.js} +1 -1
  67. package/dist/cjs/{framework-delegate-c4f2ba04.js → framework-delegate-05579976.js} +1 -1
  68. package/dist/cjs/{hardware-back-button-f2cbbdce.js → hardware-back-button-9e8a2c4f.js} +1 -1
  69. package/dist/cjs/{helpers-b14a0f09.js → helpers-4be3f90d.js} +0 -7
  70. package/dist/cjs/{index-1248dbd7.js → index-0ff61d0b.js} +4 -4
  71. package/dist/cjs/{index-4e37257d.js → index-26bb7e42.js} +5 -5
  72. package/dist/cjs/{index-5915f9b3.js → index-2a46a047.js} +11 -3
  73. package/dist/cjs/{index-a4a74252.js → index-6770fc00.js} +2 -2
  74. package/dist/cjs/{index-786364c7.js → index-ad7a712e.js} +1 -1
  75. package/dist/cjs/index.cjs.js +10 -10
  76. package/dist/cjs/{input-shims-b4c0eee7.js → input-shims-fd997b01.js} +5 -3
  77. package/dist/cjs/{input.utils-4af208ab.js → input.utils-c15a1814.js} +2 -2
  78. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  79. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
  80. package/dist/cjs/ion-alert.cjs.entry.js +10 -36
  81. package/dist/cjs/ion-app_8.cjs.entry.js +17 -17
  82. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  83. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  86. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  87. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  88. package/dist/cjs/ion-checkbox.cjs.entry.js +7 -6
  89. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  90. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  91. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  92. package/dist/cjs/ion-datetime_3.cjs.entry.js +11 -11
  93. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  94. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  95. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
  96. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-input.cjs.entry.js +7 -7
  98. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  99. package/dist/cjs/ion-item_8.cjs.entry.js +13 -13
  100. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  101. package/dist/cjs/ion-menu_3.cjs.entry.js +13 -13
  102. package/dist/cjs/ion-modal.cjs.entry.js +266 -43
  103. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  104. package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
  105. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  107. package/dist/cjs/ion-popover.cjs.entry.js +9 -9
  108. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  109. package/dist/cjs/ion-radio_2.cjs.entry.js +41 -6
  110. package/dist/cjs/ion-range.cjs.entry.js +9 -30
  111. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  112. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  113. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  114. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  115. package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
  116. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  117. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  118. package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
  119. package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
  120. package/dist/cjs/ion-select_3.cjs.entry.js +14 -13
  121. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  122. package/dist/cjs/ion-split-pane.cjs.entry.js +3 -3
  123. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
  124. package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
  125. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  126. package/dist/cjs/ion-textarea.cjs.entry.js +9 -9
  127. package/dist/cjs/ion-toast.cjs.entry.js +8 -8
  128. package/dist/cjs/ion-toggle.cjs.entry.js +7 -6
  129. package/dist/cjs/{ionic-global-96da1b2e.js → ionic-global-d9a8bb5b.js} +1 -2
  130. package/dist/cjs/ionic.cjs.js +3 -3
  131. package/dist/cjs/{ios.transition-8d363d77.js → ios.transition-a4f35c55.js} +4 -4
  132. package/dist/cjs/loader.cjs.js +3 -3
  133. package/dist/cjs/{md.transition-57d695fa.js → md.transition-cdf904e6.js} +4 -4
  134. package/dist/cjs/{notch-controller-bd07748b.js → notch-controller-a0c464d1.js} +1 -1
  135. package/dist/cjs/{overlays-27703a30.js → overlays-86695cf1.js} +5 -5
  136. package/dist/cjs/{status-tap-654077ee.js → status-tap-1a2485c1.js} +4 -3
  137. package/dist/cjs/{swipe-back-b70cd52e.js → swipe-back-47a52b83.js} +1 -1
  138. package/dist/collection/components/alert/alert.js +4 -34
  139. package/dist/collection/components/checkbox/checkbox.js +23 -4
  140. package/dist/collection/components/input/input.ios.css +3 -2
  141. package/dist/collection/components/input/input.md.css +7 -2
  142. package/dist/collection/components/item-divider/item-divider.js +2 -2
  143. package/dist/collection/components/item-group/item-group.js +1 -1
  144. package/dist/collection/components/item-option/item-option.js +2 -2
  145. package/dist/collection/components/item-options/item-options.js +1 -1
  146. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  147. package/dist/collection/components/label/label.js +2 -2
  148. package/dist/collection/components/list-header/list-header.js +2 -2
  149. package/dist/collection/components/loading/loading.js +2 -2
  150. package/dist/collection/components/menu/menu.js +2 -2
  151. package/dist/collection/components/menu-button/menu-button.js +2 -2
  152. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  153. package/dist/collection/components/modal/animations/ios.enter.js +50 -4
  154. package/dist/collection/components/modal/animations/ios.leave.js +24 -2
  155. package/dist/collection/components/modal/animations/md.enter.js +52 -5
  156. package/dist/collection/components/modal/animations/md.leave.js +26 -3
  157. package/dist/collection/components/modal/animations/sheet.js +11 -2
  158. package/dist/collection/components/modal/gestures/sheet.js +79 -10
  159. package/dist/collection/components/modal/modal.ios.css +16 -0
  160. package/dist/collection/components/modal/modal.js +32 -7
  161. package/dist/collection/components/modal/modal.md.css +6 -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-column-option/picker-column-option.js +2 -2
  166. package/dist/collection/components/picker-legacy/picker.js +2 -2
  167. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  168. package/dist/collection/components/popover/popover.js +2 -2
  169. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  170. package/dist/collection/components/radio/radio.js +3 -3
  171. package/dist/collection/components/radio-group/radio-group.ios.css +205 -0
  172. package/dist/collection/components/radio-group/radio-group.js +72 -1
  173. package/dist/collection/components/radio-group/radio-group.md.css +205 -0
  174. package/dist/collection/components/range/range.js +6 -25
  175. package/dist/collection/components/refresher/refresher.js +1 -1
  176. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  177. package/dist/collection/components/reorder/reorder.js +1 -1
  178. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  179. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  180. package/dist/collection/components/router-link/router-link.js +2 -2
  181. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  182. package/dist/collection/components/row/row.js +1 -1
  183. package/dist/collection/components/searchbar/searchbar.js +4 -4
  184. package/dist/collection/components/segment/segment.js +2 -2
  185. package/dist/collection/components/segment-button/segment-button.js +2 -2
  186. package/dist/collection/components/segment-content/segment-content.js +1 -1
  187. package/dist/collection/components/segment-view/segment-view.js +2 -2
  188. package/dist/collection/components/select/select.js +23 -4
  189. package/dist/collection/components/select-modal/select-modal.js +1 -1
  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.ios.css +3 -2
  201. package/dist/collection/components/textarea/textarea.js +2 -2
  202. package/dist/collection/components/textarea/textarea.md.css +7 -2
  203. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  204. package/dist/collection/components/title/title.js +2 -2
  205. package/dist/collection/components/toast/toast.js +2 -2
  206. package/dist/collection/components/toggle/toggle.js +23 -4
  207. package/dist/collection/components/toolbar/toolbar.js +6 -2
  208. package/dist/collection/utils/floating-point/index.js +0 -5
  209. package/dist/collection/utils/helpers.js +0 -6
  210. package/dist/collection/utils/logging/index.js +10 -3
  211. package/dist/collection/utils/platform.js +1 -2
  212. package/dist/collection/utils/test/platform.utils.js +1 -1
  213. package/dist/docs.json +163 -6
  214. package/dist/esm/{app-globals-c10a1137.js → app-globals-5dbb61a5.js} +1 -1
  215. package/dist/esm/{data-ae11fd43.js → data-b3284b5e.js} +1 -1
  216. package/dist/esm/{framework-delegate-42bc40b1.js → framework-delegate-f683816e.js} +1 -1
  217. package/dist/esm/{hardware-back-button-44195e92.js → hardware-back-button-06ef3c3e.js} +1 -1
  218. package/dist/esm/{helpers-13b816c6.js → helpers-9b49d7d2.js} +1 -7
  219. package/dist/esm/{index-28c8fd64.js → index-5a0f5fd0.js} +1 -1
  220. package/dist/esm/{index-4b39521b.js → index-6a5baab0.js} +5 -5
  221. package/dist/esm/{index-9b0d46f4.js → index-6ad967f3.js} +11 -3
  222. package/dist/esm/{index-6b548278.js → index-7105cd59.js} +4 -4
  223. package/dist/esm/{index-edf58462.js → index-dd0f7395.js} +2 -2
  224. package/dist/esm/index.js +10 -10
  225. package/dist/esm/{input-shims-5e5e47e8.js → input-shims-dff819a9.js} +5 -3
  226. package/dist/esm/{input.utils-d3717b00.js → input.utils-2f1029cf.js} +2 -2
  227. package/dist/esm/ion-accordion_2.entry.js +3 -3
  228. package/dist/esm/ion-action-sheet.entry.js +6 -6
  229. package/dist/esm/ion-alert.entry.js +10 -36
  230. package/dist/esm/ion-app_8.entry.js +17 -17
  231. package/dist/esm/ion-avatar_3.entry.js +2 -2
  232. package/dist/esm/ion-back-button.entry.js +2 -2
  233. package/dist/esm/ion-backdrop.entry.js +1 -1
  234. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  235. package/dist/esm/ion-button_2.entry.js +3 -3
  236. package/dist/esm/ion-card_5.entry.js +2 -2
  237. package/dist/esm/ion-checkbox.entry.js +7 -6
  238. package/dist/esm/ion-chip.entry.js +1 -1
  239. package/dist/esm/ion-col_3.entry.js +2 -2
  240. package/dist/esm/ion-datetime-button.entry.js +4 -4
  241. package/dist/esm/ion-datetime_3.entry.js +11 -11
  242. package/dist/esm/ion-fab_3.entry.js +2 -2
  243. package/dist/esm/ion-img.entry.js +2 -2
  244. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
  245. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  246. package/dist/esm/ion-input.entry.js +7 -7
  247. package/dist/esm/ion-item-option_3.entry.js +8 -8
  248. package/dist/esm/ion-item_8.entry.js +13 -13
  249. package/dist/esm/ion-loading.entry.js +8 -8
  250. package/dist/esm/ion-menu_3.entry.js +13 -13
  251. package/dist/esm/ion-modal.entry.js +266 -43
  252. package/dist/esm/ion-nav_2.entry.js +8 -8
  253. package/dist/esm/ion-picker-column-option.entry.js +4 -4
  254. package/dist/esm/ion-picker-column.entry.js +2 -2
  255. package/dist/esm/ion-picker.entry.js +1 -1
  256. package/dist/esm/ion-popover.entry.js +9 -9
  257. package/dist/esm/ion-progress-bar.entry.js +3 -3
  258. package/dist/esm/ion-radio_2.entry.js +41 -6
  259. package/dist/esm/ion-range.entry.js +9 -30
  260. package/dist/esm/ion-refresher_2.entry.js +6 -6
  261. package/dist/esm/ion-reorder_2.entry.js +6 -6
  262. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  263. package/dist/esm/ion-route_4.entry.js +4 -4
  264. package/dist/esm/ion-searchbar.entry.js +6 -6
  265. package/dist/esm/ion-segment-content.entry.js +1 -1
  266. package/dist/esm/ion-segment-view.entry.js +2 -2
  267. package/dist/esm/ion-segment_2.entry.js +6 -6
  268. package/dist/esm/ion-select-modal.entry.js +7 -7
  269. package/dist/esm/ion-select_3.entry.js +14 -13
  270. package/dist/esm/ion-spinner.entry.js +2 -2
  271. package/dist/esm/ion-split-pane.entry.js +3 -3
  272. package/dist/esm/ion-tab-bar_2.entry.js +6 -6
  273. package/dist/esm/ion-tab_2.entry.js +5 -5
  274. package/dist/esm/ion-text.entry.js +3 -3
  275. package/dist/esm/ion-textarea.entry.js +9 -9
  276. package/dist/esm/ion-toast.entry.js +8 -8
  277. package/dist/esm/ion-toggle.entry.js +7 -6
  278. package/dist/esm/{ionic-global-bf78a847.js → ionic-global-c81d82ab.js} +1 -2
  279. package/dist/esm/ionic.js +3 -3
  280. package/dist/esm/{ios.transition-e7a4de4f.js → ios.transition-314468a2.js} +4 -4
  281. package/dist/esm/loader.js +3 -3
  282. package/dist/esm/{md.transition-290d8802.js → md.transition-a560e0e2.js} +4 -4
  283. package/dist/esm/{notch-controller-bb8f3a48.js → notch-controller-3dc61260.js} +1 -1
  284. package/dist/esm/{overlays-4ff6e618.js → overlays-9a81f230.js} +5 -5
  285. package/dist/esm/{status-tap-ba401484.js → status-tap-d07dbc82.js} +4 -3
  286. package/dist/esm/{swipe-back-a258b011.js → swipe-back-23ee7ab1.js} +1 -1
  287. package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
  288. package/dist/esm-es5/{data-ae11fd43.js → data-b3284b5e.js} +1 -1
  289. package/dist/esm-es5/{framework-delegate-42bc40b1.js → framework-delegate-f683816e.js} +1 -1
  290. package/dist/esm-es5/{hardware-back-button-44195e92.js → hardware-back-button-06ef3c3e.js} +1 -1
  291. package/dist/esm-es5/{helpers-13b816c6.js → helpers-9b49d7d2.js} +1 -1
  292. package/dist/esm-es5/{index-28c8fd64.js → index-5a0f5fd0.js} +1 -1
  293. package/dist/esm-es5/{index-4b39521b.js → index-6a5baab0.js} +1 -1
  294. package/dist/esm-es5/index-6ad967f3.js +4 -0
  295. package/dist/esm-es5/{index-6b548278.js → index-7105cd59.js} +1 -1
  296. package/dist/esm-es5/{index-edf58462.js → index-dd0f7395.js} +1 -1
  297. package/dist/esm-es5/index.js +1 -1
  298. package/dist/esm-es5/input-shims-dff819a9.js +4 -0
  299. package/dist/esm-es5/{input.utils-d3717b00.js → input.utils-2f1029cf.js} +1 -1
  300. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  301. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  302. package/dist/esm-es5/ion-alert.entry.js +1 -1
  303. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  304. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  305. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  306. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  307. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  308. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  309. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  310. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  311. package/dist/esm-es5/ion-chip.entry.js +1 -1
  312. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  313. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  314. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  315. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  316. package/dist/esm-es5/ion-img.entry.js +1 -1
  317. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  318. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  319. package/dist/esm-es5/ion-input.entry.js +1 -1
  320. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  321. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  322. package/dist/esm-es5/ion-loading.entry.js +1 -1
  323. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  324. package/dist/esm-es5/ion-modal.entry.js +1 -1
  325. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  326. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  327. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  328. package/dist/esm-es5/ion-picker.entry.js +1 -1
  329. package/dist/esm-es5/ion-popover.entry.js +1 -1
  330. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  331. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  332. package/dist/esm-es5/ion-range.entry.js +1 -1
  333. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  334. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  335. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  336. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  337. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  338. package/dist/esm-es5/ion-segment-content.entry.js +1 -1
  339. package/dist/esm-es5/ion-segment-view.entry.js +1 -1
  340. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  341. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  342. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  343. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  344. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  345. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  346. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  347. package/dist/esm-es5/ion-text.entry.js +1 -1
  348. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  349. package/dist/esm-es5/ion-toast.entry.js +1 -1
  350. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  351. package/dist/esm-es5/{ionic-global-bf78a847.js → ionic-global-c81d82ab.js} +1 -1
  352. package/dist/esm-es5/ionic.js +1 -1
  353. package/dist/esm-es5/{ios.transition-e7a4de4f.js → ios.transition-314468a2.js} +1 -1
  354. package/dist/esm-es5/loader.js +1 -1
  355. package/dist/esm-es5/md.transition-a560e0e2.js +4 -0
  356. package/dist/esm-es5/{notch-controller-bb8f3a48.js → notch-controller-3dc61260.js} +1 -1
  357. package/dist/esm-es5/{overlays-4ff6e618.js → overlays-9a81f230.js} +1 -1
  358. package/dist/esm-es5/status-tap-d07dbc82.js +4 -0
  359. package/dist/esm-es5/{swipe-back-a258b011.js → swipe-back-23ee7ab1.js} +1 -1
  360. package/dist/html.html-data.json +24 -0
  361. package/dist/ionic/index.esm.js +1 -1
  362. package/dist/ionic/ionic.esm.js +1 -1
  363. package/dist/ionic/ionic.js +1 -1
  364. package/dist/ionic/p-04b4ee62.entry.js +4 -0
  365. package/dist/ionic/p-0574e87e.js +4 -0
  366. package/dist/ionic/{p-64bb1da1.system.js → p-058e61eb.system.js} +1 -1
  367. package/dist/ionic/{p-91b944fa.entry.js → p-0609cf64.entry.js} +1 -1
  368. package/dist/ionic/{p-4a98a017.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  369. package/dist/ionic/{p-213b12ce.system.entry.js → p-1283c4fa.system.entry.js} +1 -1
  370. package/dist/ionic/p-155f4d90.entry.js +4 -0
  371. package/dist/ionic/p-16960598.entry.js +4 -0
  372. package/dist/ionic/{p-7a9407cc.system.entry.js → p-18e101b7.system.entry.js} +2 -2
  373. package/dist/ionic/{p-d60342e3.js → p-1a5bc5f7.js} +1 -1
  374. package/dist/ionic/{p-85b1ffae.entry.js → p-1c934892.entry.js} +1 -1
  375. package/dist/ionic/p-1f405274.js +4 -0
  376. package/dist/ionic/{p-ae02a7ea.system.entry.js → p-1f9fa897.system.entry.js} +1 -1
  377. package/dist/ionic/p-21227121.js +4 -0
  378. package/dist/ionic/{p-a69cf9ea.entry.js → p-21c7f006.entry.js} +1 -1
  379. package/dist/ionic/p-22149a4f.js +4 -0
  380. package/dist/ionic/{p-8c0d81a9.entry.js → p-29c6c783.entry.js} +1 -1
  381. package/dist/ionic/{p-17c772fb.entry.js → p-2abc5389.entry.js} +1 -1
  382. package/dist/ionic/{p-3559bd4f.js → p-2bc73fb5.js} +1 -1
  383. package/dist/ionic/p-2c9eb774.system.js +4 -0
  384. package/dist/ionic/p-2cd35dd9.entry.js +4 -0
  385. package/dist/ionic/{p-42a9bb35.entry.js → p-2d1d8a25.entry.js} +1 -1
  386. package/dist/ionic/p-322c5fb4.system.js +4 -0
  387. package/dist/ionic/{p-c66604e4.entry.js → p-33a8a71b.entry.js} +1 -1
  388. package/dist/ionic/{p-f687573e.system.js → p-343b6b1d.system.js} +1 -1
  389. package/dist/ionic/{p-5ae70860.js → p-346b2baf.js} +1 -1
  390. package/dist/ionic/p-3624eb4f.entry.js +4 -0
  391. package/dist/ionic/{p-eab9414f.entry.js → p-36c448fe.entry.js} +1 -1
  392. package/dist/ionic/{p-166f4ba0.entry.js → p-3731296e.entry.js} +1 -1
  393. package/dist/ionic/{p-5d1be985.js → p-39dd4f62.js} +1 -1
  394. package/dist/ionic/{p-8911101b.system.js → p-3c8e5c23.system.js} +1 -1
  395. package/dist/ionic/p-3e6be709.entry.js +4 -0
  396. package/dist/ionic/{p-f5a536e1.system.js → p-4452a8ac.system.js} +1 -1
  397. package/dist/ionic/{p-fd2c0aa6.entry.js → p-462ddb40.entry.js} +1 -1
  398. package/dist/ionic/{p-e3be9fa8.system.entry.js → p-484d855b.system.entry.js} +2 -2
  399. package/dist/ionic/{p-5e9733d0.entry.js → p-4a1d747d.entry.js} +1 -1
  400. package/dist/ionic/p-4a25618e.system.entry.js +4 -0
  401. package/dist/ionic/{p-1f62c30b.entry.js → p-4ad78edc.entry.js} +1 -1
  402. package/dist/ionic/{p-ffb6d30e.js → p-4d3a5f86.js} +1 -1
  403. package/dist/ionic/{p-e4c1fd74.system.entry.js → p-4f8e2c0a.system.entry.js} +1 -1
  404. package/dist/ionic/{p-52b61cba.system.js → p-5126cf1e.system.js} +1 -1
  405. package/dist/ionic/p-52245809.js +4 -0
  406. package/dist/ionic/p-5733b3de.system.entry.js +4 -0
  407. package/dist/ionic/{p-6a649fcd.system.js → p-578efda4.system.js} +2 -2
  408. package/dist/ionic/p-5c9324c6.js +4 -0
  409. package/dist/ionic/{p-424eb140.system.entry.js → p-5cc9314d.system.entry.js} +1 -1
  410. package/dist/ionic/{p-9c7efe25.system.entry.js → p-5fce0c0b.system.entry.js} +1 -1
  411. package/dist/ionic/{p-feab8373.system.entry.js → p-60e2b91f.system.entry.js} +2 -2
  412. package/dist/ionic/{p-6347c733.system.entry.js → p-648f5e38.system.entry.js} +1 -1
  413. package/dist/ionic/{p-ac2c154f.system.entry.js → p-655723eb.system.entry.js} +1 -1
  414. package/dist/ionic/p-665c22ee.entry.js +4 -0
  415. package/dist/ionic/p-67222c16.system.js +4 -0
  416. package/dist/ionic/{p-486dc46d.system.entry.js → p-68c5fcd6.system.entry.js} +1 -1
  417. package/dist/ionic/{p-136ff13e.entry.js → p-6ca64f4e.entry.js} +1 -1
  418. package/dist/ionic/{p-fced06e0.entry.js → p-6e077659.entry.js} +1 -1
  419. package/dist/ionic/{p-13637707.entry.js → p-70af0afb.entry.js} +1 -1
  420. package/dist/ionic/p-712fedc9.entry.js +4 -0
  421. package/dist/ionic/{p-f8ef15ba.system.entry.js → p-73262d9e.system.entry.js} +1 -1
  422. package/dist/ionic/{p-0116e7d7.system.js → p-73897169.system.js} +1 -1
  423. package/dist/ionic/{p-712b57f9.system.entry.js → p-744b2484.system.entry.js} +1 -1
  424. package/dist/ionic/p-75544514.system.entry.js +4 -0
  425. package/dist/ionic/{p-48e13807.system.entry.js → p-75cc5913.system.entry.js} +1 -1
  426. package/dist/ionic/{p-37a21d70.entry.js → p-78604c34.entry.js} +1 -1
  427. package/dist/ionic/{p-bc148b43.system.entry.js → p-78c884a1.system.entry.js} +1 -1
  428. package/dist/ionic/{p-89e678fa.js → p-7a1766d6.js} +1 -1
  429. package/dist/ionic/{p-16799667.system.entry.js → p-7af3d1e8.system.entry.js} +1 -1
  430. package/dist/ionic/p-7b02a0e4.entry.js +4 -0
  431. package/dist/ionic/{p-1b2657c9.system.entry.js → p-7c3b0a9b.system.entry.js} +1 -1
  432. package/dist/ionic/{p-31918ee1.entry.js → p-826a2aaf.entry.js} +1 -1
  433. package/dist/ionic/{p-e0a2abde.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  434. package/dist/ionic/{p-c09a2f58.system.js → p-860eb968.system.js} +1 -1
  435. package/dist/ionic/{p-5996d3ad.system.entry.js → p-88d323cd.system.entry.js} +1 -1
  436. package/dist/ionic/{p-ebd0a280.entry.js → p-89bf08c7.entry.js} +1 -1
  437. package/dist/ionic/{p-830f1a37.system.entry.js → p-8cfba7e9.system.entry.js} +1 -1
  438. package/dist/ionic/{p-bba0bc47.system.js → p-8e407469.system.js} +1 -1
  439. package/dist/ionic/{p-e84da6cb.system.entry.js → p-8f2fe279.system.entry.js} +1 -1
  440. package/dist/ionic/p-8f4361a8.system.entry.js +4 -0
  441. package/dist/ionic/{p-8f89c8e3.entry.js → p-955c3eb8.entry.js} +1 -1
  442. package/dist/ionic/{p-f6e7870b.system.js → p-95da3ae2.system.js} +1 -1
  443. package/dist/ionic/{p-230af7f2.js → p-990630ca.js} +1 -1
  444. package/dist/ionic/p-9a100adc.entry.js +4 -0
  445. package/dist/ionic/{p-34182275.entry.js → p-9b3bb24e.entry.js} +1 -1
  446. package/dist/ionic/{p-eb4ac14d.system.js → p-9f3008d4.system.js} +1 -1
  447. package/dist/ionic/p-9f763f14.entry.js +4 -0
  448. package/dist/ionic/{p-a8d31cd5.entry.js → p-a309ca1c.entry.js} +1 -1
  449. package/dist/ionic/p-a43ad5b5.entry.js +4 -0
  450. package/dist/ionic/{p-d86d7845.system.js → p-a69b9fc5.system.js} +1 -1
  451. package/dist/ionic/{p-c3a51c19.system.entry.js → p-a6cf686b.system.entry.js} +1 -1
  452. package/dist/ionic/{p-c55254f0.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  453. package/dist/ionic/{p-d6b3e734.system.entry.js → p-a9eda6d0.system.entry.js} +1 -1
  454. package/dist/ionic/{p-d7607262.system.js → p-acb30a5c.system.js} +1 -1
  455. package/dist/ionic/{p-361ab803.system.entry.js → p-acc8399c.system.entry.js} +2 -2
  456. package/dist/ionic/{p-45109533.system.entry.js → p-ad10b555.system.entry.js} +1 -1
  457. package/dist/ionic/{p-953d9cf5.system.js → p-af452fa4.system.js} +1 -1
  458. package/dist/ionic/{p-b533b7ab.system.entry.js → p-af744710.system.entry.js} +1 -1
  459. package/dist/ionic/{p-026517fb.entry.js → p-b1f885df.entry.js} +1 -1
  460. package/dist/ionic/{p-8aa290af.system.js → p-b3680e2f.system.js} +1 -1
  461. package/dist/ionic/{p-ee41045b.system.entry.js → p-b3c4ddc2.system.entry.js} +1 -1
  462. package/dist/ionic/p-b93144e1.entry.js +4 -0
  463. package/dist/ionic/p-b936eb7e.system.entry.js +4 -0
  464. package/dist/ionic/p-ba3f918e.entry.js +4 -0
  465. package/dist/ionic/{p-6eb35904.js → p-bb11d9fb.js} +1 -1
  466. package/dist/ionic/{p-00d5ab83.entry.js → p-bb2a6761.entry.js} +1 -1
  467. package/dist/ionic/{p-327b452e.entry.js → p-bc616455.entry.js} +1 -1
  468. package/dist/ionic/{p-9d4a8059.entry.js → p-bdad26e3.entry.js} +1 -1
  469. package/dist/ionic/{p-56a8aa85.entry.js → p-bf63d4b2.entry.js} +1 -1
  470. package/dist/ionic/{p-6c85db7e.system.entry.js → p-c1dbc8b6.system.entry.js} +2 -2
  471. package/dist/ionic/p-c3802319.system.js +4 -0
  472. package/dist/ionic/{p-43df2d06.system.entry.js → p-c59abcb6.system.entry.js} +2 -2
  473. package/dist/ionic/{p-ca5eef42.entry.js → p-c67ded77.entry.js} +1 -1
  474. package/dist/ionic/{p-a4b108a7.entry.js → p-c8d645b3.entry.js} +1 -1
  475. package/dist/ionic/{p-07d0478c.js → p-c935cfc9.js} +1 -1
  476. package/dist/ionic/{p-5d3dc32b.system.entry.js → p-ca7b5bec.system.entry.js} +1 -1
  477. package/dist/ionic/{p-b566749e.js → p-d4ca0475.js} +1 -1
  478. package/dist/ionic/{p-e25cd3c7.js → p-d743e981.js} +1 -1
  479. package/dist/ionic/{p-80f2a47b.entry.js → p-d7bb5325.entry.js} +1 -1
  480. package/dist/ionic/{p-364ed29d.system.entry.js → p-d821466d.system.entry.js} +1 -1
  481. package/dist/ionic/{p-733f53f8.system.js → p-d99e8644.system.js} +1 -1
  482. package/dist/ionic/{p-05f90810.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  483. package/dist/ionic/{p-de4fef3c.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  484. package/dist/ionic/{p-25580c85.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  485. package/dist/ionic/{p-c06312bf.entry.js → p-dde1e5b8.entry.js} +1 -1
  486. package/dist/ionic/{p-d785235b.system.entry.js → p-e06861a9.system.entry.js} +1 -1
  487. package/dist/ionic/{p-a873feda.system.entry.js → p-e0a6dc45.system.entry.js} +1 -1
  488. package/dist/ionic/{p-0793353d.system.entry.js → p-e32557bb.system.entry.js} +1 -1
  489. package/dist/ionic/{p-cc991f05.entry.js → p-e5ed3da9.entry.js} +1 -1
  490. package/dist/ionic/p-e75b0c87.entry.js +4 -0
  491. package/dist/ionic/p-e8d56122.js +4 -0
  492. package/dist/ionic/{p-441c2c8c.entry.js → p-e8f34871.entry.js} +1 -1
  493. package/dist/ionic/{p-4eed0eb2.system.entry.js → p-e9ddf8fe.system.entry.js} +1 -1
  494. package/dist/ionic/{p-6f3d8334.js → p-ecceeb90.js} +1 -1
  495. package/dist/ionic/{p-73dc4950.entry.js → p-f2a72b24.entry.js} +1 -1
  496. package/dist/ionic/{p-d854f4bc.system.entry.js → p-f2fb9a7b.system.entry.js} +1 -1
  497. package/dist/ionic/{p-478dfa8c.system.entry.js → p-f3102647.system.entry.js} +1 -1
  498. package/dist/ionic/{p-379d9002.entry.js → p-f5d6624d.entry.js} +1 -1
  499. package/dist/ionic/{p-c3de6cd1.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  500. package/dist/ionic/{p-d4896d36.system.entry.js → p-f8e37d24.system.entry.js} +1 -1
  501. package/dist/ionic/{p-3fe95571.system.entry.js → p-fa210a45.system.entry.js} +1 -1
  502. package/dist/ionic/p-fbf86e62.system.js +4 -0
  503. package/dist/ionic/{p-16dd9c9b.entry.js → p-fca17935.entry.js} +1 -1
  504. package/dist/ionic/{p-d7fef52e.system.entry.js → p-fd4e25b5.system.entry.js} +1 -1
  505. package/dist/ionic/{p-c2583512.entry.js → p-fd6cff12.entry.js} +1 -1
  506. package/dist/types/components/checkbox/checkbox.d.ts +6 -0
  507. package/dist/types/components/modal/animations/sheet.d.ts +1 -0
  508. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  509. package/dist/types/components/modal/modal-interface.d.ts +1 -0
  510. package/dist/types/components/modal/modal.d.ts +11 -0
  511. package/dist/types/components/radio-group/radio-group.d.ts +15 -0
  512. package/dist/types/components/range/range.d.ts +2 -3
  513. package/dist/types/components/select/select.d.ts +6 -0
  514. package/dist/types/components/toggle/toggle.d.ts +6 -0
  515. package/dist/types/components/toolbar/toolbar.d.ts +4 -0
  516. package/dist/types/components.d.ts +48 -0
  517. package/dist/types/utils/config.d.ts +9 -0
  518. package/dist/types/utils/helpers.d.ts +0 -4
  519. package/dist/types/utils/logging/index.d.ts +13 -1
  520. package/dist/types/utils/native/capacitor.d.ts +1 -7
  521. package/dist/types/utils/test/platform.utils.d.ts +1 -1
  522. package/hydrate/index.js +424 -201
  523. package/hydrate/index.mjs +424 -201
  524. package/package.json +5 -5
  525. package/dist/esm-es5/app-globals-c10a1137.js +0 -4
  526. package/dist/esm-es5/index-9b0d46f4.js +0 -4
  527. package/dist/esm-es5/input-shims-5e5e47e8.js +0 -4
  528. package/dist/esm-es5/md.transition-290d8802.js +0 -4
  529. package/dist/esm-es5/status-tap-ba401484.js +0 -4
  530. package/dist/ionic/p-06078f9d.entry.js +0 -4
  531. package/dist/ionic/p-06fee233.js +0 -4
  532. package/dist/ionic/p-14be4015.entry.js +0 -4
  533. package/dist/ionic/p-30ec5574.entry.js +0 -4
  534. package/dist/ionic/p-37264dcc.entry.js +0 -4
  535. package/dist/ionic/p-4075165f.js +0 -4
  536. package/dist/ionic/p-4133f9ec.entry.js +0 -4
  537. package/dist/ionic/p-4429e8c5.entry.js +0 -4
  538. package/dist/ionic/p-47ed8b64.entry.js +0 -4
  539. package/dist/ionic/p-4e8946f7.js +0 -4
  540. package/dist/ionic/p-51d4cdba.system.js +0 -4
  541. package/dist/ionic/p-665f9987.entry.js +0 -4
  542. package/dist/ionic/p-8b367303.entry.js +0 -4
  543. package/dist/ionic/p-8f3d6be8.entry.js +0 -4
  544. package/dist/ionic/p-9e23592d.system.js +0 -4
  545. package/dist/ionic/p-a749d4a9.entry.js +0 -4
  546. package/dist/ionic/p-acb5a6e4.entry.js +0 -4
  547. package/dist/ionic/p-b1c4a9db.js +0 -4
  548. package/dist/ionic/p-b58057d4.js +0 -4
  549. package/dist/ionic/p-b5a10c8b.system.entry.js +0 -4
  550. package/dist/ionic/p-b6ee3fc7.system.entry.js +0 -4
  551. package/dist/ionic/p-c312ea08.entry.js +0 -4
  552. package/dist/ionic/p-c42a4dad.system.entry.js +0 -4
  553. package/dist/ionic/p-cbeb0dd2.system.entry.js +0 -4
  554. package/dist/ionic/p-e03cd18a.system.entry.js +0 -4
  555. package/dist/ionic/p-e03d645e.entry.js +0 -4
  556. package/dist/ionic/p-ebb85488.entry.js +0 -4
  557. package/dist/ionic/p-efa8edbc.system.js +0 -4
  558. package/dist/ionic/p-f1bbc785.js +0 -4
  559. package/dist/ionic/p-f4f255cb.system.js +0 -4
  560. package/dist/ionic/p-f6fe87c1.js +0 -4
  561. package/dist/ionic/p-ff4b7e40.system.js +0 -4
@@ -4,7 +4,7 @@
4
4
  import { createAnimation } from "../../../utils/animation/animation";
5
5
  import { getBackdropValueForSheet } from "../utils";
6
6
  export const createSheetEnterAnimation = (opts) => {
7
- const { currentBreakpoint, backdropBreakpoint } = opts;
7
+ const { currentBreakpoint, backdropBreakpoint, expandToScroll } = opts;
8
8
  /**
9
9
  * If the backdropBreakpoint is undefined, then the backdrop
10
10
  * should always fade in. If the backdropBreakpoint came before the
@@ -24,7 +24,16 @@ export const createSheetEnterAnimation = (opts) => {
24
24
  { offset: 0, opacity: 1, transform: 'translateY(100%)' },
25
25
  { offset: 1, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
26
26
  ]);
27
- return { wrapperAnimation, backdropAnimation };
27
+ /**
28
+ * This allows the content to be scrollable at any breakpoint.
29
+ */
30
+ const contentAnimation = !expandToScroll
31
+ ? createAnimation('contentAnimation').keyframes([
32
+ { offset: 0, opacity: 1, maxHeight: `${(1 - currentBreakpoint) * 100}%` },
33
+ { offset: 1, opacity: 1, maxHeight: `${currentBreakpoint * 100}%` },
34
+ ])
35
+ : undefined;
36
+ return { wrapperAnimation, backdropAnimation, contentAnimation };
28
37
  };
29
38
  export const createSheetLeaveAnimation = (opts) => {
30
39
  const { currentBreakpoint, backdropBreakpoint } = opts;
@@ -7,7 +7,7 @@ import { clamp, raf, getElementRoot } from "../../../utils/helpers";
7
7
  import { FOCUS_TRAP_DISABLE_CLASS } from "../../../utils/overlays";
8
8
  import { getBackdropValueForSheet } from "../utils";
9
9
  import { calculateSpringStep, handleCanDismiss } from "./utils";
10
- export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
10
+ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
11
11
  // Defaults for the sheet swipe animation
12
12
  const defaultBackdrop = [
13
13
  { offset: 0, opacity: 'var(--backdrop-opacity)' },
@@ -24,6 +24,10 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
24
24
  { offset: 1, transform: 'translateY(100%)' },
25
25
  ],
26
26
  BACKDROP_KEYFRAMES: backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop,
27
+ CONTENT_KEYFRAMES: [
28
+ { offset: 0, maxHeight: '100%' },
29
+ { offset: 1, maxHeight: '0%' },
30
+ ],
27
31
  };
28
32
  const contentEl = baseEl.querySelector('ion-content');
29
33
  const height = wrapperEl.clientHeight;
@@ -31,10 +35,11 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
31
35
  let offset = 0;
32
36
  let canDismissBlocksGesture = false;
33
37
  const canDismissMaxStep = 0.95;
34
- const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');
35
- const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');
36
38
  const maxBreakpoint = breakpoints[breakpoints.length - 1];
37
39
  const minBreakpoint = breakpoints[0];
40
+ const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');
41
+ const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');
42
+ const contentAnimation = animation.childAnimations.find((ani) => ani.id === 'contentAnimation');
38
43
  const enableBackdrop = () => {
39
44
  baseEl.style.setProperty('pointer-events', 'auto');
40
45
  backdropEl.style.setProperty('pointer-events', 'auto');
@@ -57,6 +62,31 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
57
62
  */
58
63
  baseEl.classList.add(FOCUS_TRAP_DISABLE_CLASS);
59
64
  };
65
+ /**
66
+ * Toggles the visible modal footer when `expandToScroll` is disabled.
67
+ * @param footer The footer to show.
68
+ */
69
+ const swapFooterVisibility = (footer) => {
70
+ const originalFooter = baseEl.querySelector('ion-footer');
71
+ if (!originalFooter) {
72
+ return;
73
+ }
74
+ const clonedFooter = wrapperEl.nextElementSibling;
75
+ const footerToHide = footer === 'original' ? clonedFooter : originalFooter;
76
+ const footerToShow = footer === 'original' ? originalFooter : clonedFooter;
77
+ footerToShow.style.removeProperty('display');
78
+ footerToShow.removeAttribute('aria-hidden');
79
+ const page = baseEl.querySelector('.ion-page');
80
+ if (footer === 'original') {
81
+ page.style.removeProperty('padding-bottom');
82
+ }
83
+ else {
84
+ const pagePadding = footerToShow.clientHeight;
85
+ page.style.setProperty('padding-bottom', `${pagePadding}px`);
86
+ }
87
+ footerToHide.style.setProperty('display', 'none');
88
+ footerToHide.setAttribute('aria-hidden', 'true');
89
+ };
60
90
  /**
61
91
  * After the entering animation completes,
62
92
  * we need to set the animation to go from
@@ -68,6 +98,7 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
68
98
  if (wrapperAnimation && backdropAnimation) {
69
99
  wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
70
100
  backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
101
+ contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
71
102
  animation.progressStart(true, 1 - currentBreakpoint);
72
103
  /**
73
104
  * If backdrop is not enabled, then content
@@ -84,7 +115,7 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
84
115
  disableBackdrop();
85
116
  }
86
117
  }
87
- if (contentEl && currentBreakpoint !== maxBreakpoint) {
118
+ if (contentEl && currentBreakpoint !== maxBreakpoint && expandToScroll) {
88
119
  contentEl.scrollY = false;
89
120
  }
90
121
  const canStart = (detail) => {
@@ -98,6 +129,13 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
98
129
  */
99
130
  const contentEl = findClosestIonContent(detail.event.target);
100
131
  currentBreakpoint = getCurrentBreakpoint();
132
+ /**
133
+ * If we have expandToScroll disabled, we should not allow the swipe gesture to start
134
+ * if the content is being swiped.
135
+ */
136
+ if (!expandToScroll && contentEl) {
137
+ return false;
138
+ }
101
139
  if (currentBreakpoint === 1 && contentEl) {
102
140
  /**
103
141
  * The modal should never swipe to close on the content with a refresher.
@@ -128,6 +166,15 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
128
166
  * Remove undefined check
129
167
  */
130
168
  canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
169
+ /**
170
+ * If expandToScroll is disabled, we need to swap
171
+ * the footer visibility to the original, so if the modal
172
+ * is dismissed, the footer dismisses with the modal
173
+ * and doesn't stay on the screen after the modal is gone.
174
+ */
175
+ if (!expandToScroll) {
176
+ swapFooterVisibility('original');
177
+ }
131
178
  /**
132
179
  * If we are pulling down, then it is possible we are pulling on the content.
133
180
  * We do not want scrolling to happen at the same time as the gesture.
@@ -243,6 +290,19 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
243
290
  opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(snapToBreakpoint, backdropBreakpoint)})`,
244
291
  },
245
292
  ]);
293
+ if (contentAnimation) {
294
+ /**
295
+ * The modal content should scroll at any breakpoint when expandToScroll
296
+ * is disabled. In order to do this, the content needs to be completely
297
+ * viewable so scrolling can access everything. Otherwise, the default
298
+ * behavior would show the content off the screen and only allow
299
+ * scrolling when the sheet is fully expanded.
300
+ */
301
+ contentAnimation.keyframes([
302
+ { offset: 0, maxHeight: `${(1 - breakpointOffset) * 100}%` },
303
+ { offset: 1, maxHeight: `${snapToBreakpoint * 100}%` },
304
+ ]);
305
+ }
246
306
  animation.progressStep(0);
247
307
  }
248
308
  /**
@@ -250,6 +310,14 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
250
310
  * snapping animation completes.
251
311
  */
252
312
  gesture.enable(false);
313
+ /**
314
+ * If expandToScroll is disabled, we need to swap
315
+ * the footer visibility to the cloned one so the footer
316
+ * doesn't flicker when the sheet's height is animated.
317
+ */
318
+ if (!expandToScroll && shouldRemainOpen) {
319
+ swapFooterVisibility('cloned');
320
+ }
253
321
  if (shouldPreventDismiss) {
254
322
  handleCanDismiss(baseEl, animation);
255
323
  }
@@ -257,13 +325,13 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
257
325
  onDismiss();
258
326
  }
259
327
  /**
260
- * If the sheet is going to be fully expanded then we should enable
261
- * scrolling immediately. The sheet modal animation takes ~500ms to finish
262
- * so if we wait until then there is a visible delay for when scrolling is
263
- * re-enabled. Native iOS allows for scrolling on the sheet modal as soon
264
- * as the gesture is released, so we align with that.
328
+ * Enables scrolling immediately if the sheet is about to fully expand
329
+ * or if it allows scrolling at any breakpoint. Without this, there would
330
+ * be a ~500ms delay while the modal animation completes, causing a
331
+ * noticeable lag. Native iOS allows scrolling as soon as the gesture is
332
+ * released, so we align with that behavior.
265
333
  */
266
- if (contentEl && snapToBreakpoint === breakpoints[breakpoints.length - 1]) {
334
+ if (contentEl && (snapToBreakpoint === breakpoints[breakpoints.length - 1] || !expandToScroll)) {
267
335
  contentEl.scrollY = true;
268
336
  }
269
337
  return new Promise((resolve) => {
@@ -281,6 +349,7 @@ export const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpo
281
349
  raf(() => {
282
350
  wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
283
351
  backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
352
+ contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
284
353
  animation.progressStart(true, 1 - snapToBreakpoint);
285
354
  currentBreakpoint = snapToBreakpoint;
286
355
  onBreakpointChange(currentBreakpoint);
@@ -201,6 +201,12 @@ ion-backdrop {
201
201
  bottom: 0;
202
202
  }
203
203
 
204
+ :host(.modal-sheet.modal-no-expand-scroll) ion-footer {
205
+ position: absolute;
206
+ bottom: 0;
207
+ width: var(--width);
208
+ }
209
+
204
210
  /**
205
211
  * Convert a font size to a dynamic font size.
206
212
  * Fonts that participate in Dynamic Type should use
@@ -325,4 +331,14 @@ ion-backdrop {
325
331
  border-start-end-radius: var(--border-radius);
326
332
  border-end-end-radius: 0;
327
333
  border-end-start-radius: 0;
334
+ }
335
+
336
+ /**
337
+ * Sheet modals require an additional padding as mentioned in the
338
+ * `core.scss` file. However, there's a workaround that requires
339
+ * a cloned footer to be added to the modal. This is only necessary
340
+ * because the core styles are not being applied to the cloned footer.
341
+ */
342
+ :host(.modal-sheet.modal-no-expand-scroll) ion-footer ion-toolbar:first-of-type {
343
+ padding-top: 6px;
328
344
  }
@@ -86,6 +86,7 @@ export class Modal {
86
86
  this.enterAnimation = undefined;
87
87
  this.leaveAnimation = undefined;
88
88
  this.breakpoints = undefined;
89
+ this.expandToScroll = true;
89
90
  this.initialBreakpoint = undefined;
90
91
  this.backdropBreakpoint = 0;
91
92
  this.handle = undefined;
@@ -301,6 +302,7 @@ export class Modal {
301
302
  presentingEl: presentingElement,
302
303
  currentBreakpoint: this.initialBreakpoint,
303
304
  backdropBreakpoint: this.backdropBreakpoint,
305
+ expandToScroll: this.expandToScroll,
304
306
  });
305
307
  /* tslint:disable-next-line */
306
308
  if (typeof window !== 'undefined') {
@@ -351,7 +353,10 @@ export class Modal {
351
353
  // should be in the DOM and referenced by now, except
352
354
  // for the presenting el
353
355
  const animationBuilder = this.leaveAnimation || config.get('modalLeave', iosLeaveAnimation);
354
- const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));
356
+ const ani = (this.animation = animationBuilder(el, {
357
+ presentingEl: this.presentingElement,
358
+ expandToScroll: this.expandToScroll,
359
+ }));
355
360
  const contentEl = findIonContent(el);
356
361
  if (!contentEl) {
357
362
  printIonContentErrorMsg(el);
@@ -396,9 +401,10 @@ export class Modal {
396
401
  presentingEl: this.presentingElement,
397
402
  currentBreakpoint: initialBreakpoint,
398
403
  backdropBreakpoint,
404
+ expandToScroll: this.expandToScroll,
399
405
  }));
400
406
  ani.progressStart(true, 1);
401
- const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
407
+ const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, this.expandToScroll, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
402
408
  if (this.currentBreakpoint !== breakpoint) {
403
409
  this.currentBreakpoint = breakpoint;
404
410
  this.ionBreakpointDidChange.emit({ breakpoint });
@@ -476,6 +482,7 @@ export class Modal {
476
482
  presentingEl: presentingElement,
477
483
  currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
478
484
  backdropBreakpoint: this.backdropBreakpoint,
485
+ expandToScroll: this.expandToScroll,
479
486
  });
480
487
  if (dismissed) {
481
488
  const { delegate } = this.getDelegate();
@@ -561,23 +568,23 @@ export class Modal {
561
568
  return true;
562
569
  }
563
570
  render() {
564
- const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap } = this;
571
+ const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap, expandToScroll, } = this;
565
572
  const showHandle = handle !== false && isSheetModal;
566
573
  const mode = getIonMode(this);
567
574
  const isCardModal = presentingElement !== undefined && mode === 'ios';
568
575
  const isHandleCycle = handleBehavior === 'cycle';
569
- return (h(Host, Object.assign({ key: 'b4da5111fe4719fa450c39b2d4bd884a302a7924', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
576
+ return (h(Host, Object.assign({ key: '8b74b6fa151995ab86cdeb989e338ee45c687f6d', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
570
577
  zIndex: `${20000 + this.overlayIndex}`,
571
- }, 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: 'c12dbf747e0eb914eaf1331798548ffc7e147763', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: 'da546ee80c6576b5acc66e959fd5009e0b9a8160', class: "modal-shadow" }), h("div", Object.assign({ key: '306ebe6427440ad5f7ed36d590e562d15a503b75',
578
+ }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, '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: '1b264a356f792492fe5ece24928b701152be3d7f', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: '14590998fd2e87ebfb08c06bec795d122165ae09', class: "modal-shadow" }), h("div", Object.assign({ key: '73e4d6c4eb342d48dfcb7bfbfae7c020931aa36f',
572
579
  /*
573
580
  role and aria-modal must be used on the
574
581
  same element. They must also be set inside the
575
582
  shadow DOM otherwise ion-button will not be highlighted
576
583
  when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
577
584
  */
578
- role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: 'c5d17e346fe255a7c0cacbbf15c0083f2d09c488', class: "modal-handle",
585
+ role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '52c4949baf5b7c0639a9a58f06cd4e0cad662b23', class: "modal-handle",
579
586
  // Prevents the handle from receiving keyboard focus when it does not cycle
580
- 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: '5cc714170a00b67f3eda0cd1d6f37c1489a99c83' }))));
587
+ 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: '0620b3f2e7cfef42f6c602211c4cdcaf4e646546' }))));
581
588
  }
582
589
  static get is() { return "ion-modal"; }
583
590
  static get encapsulation() { return "shadow"; }
@@ -735,6 +742,24 @@ export class Modal {
735
742
  "text": "The breakpoints to use when creating a sheet modal. Each value in the\narray must be a decimal between 0 and 1 where 0 indicates the modal is fully\nclosed and 1 indicates the modal is fully open. Values are relative\nto the height of the modal, not the height of the screen. One of the values in this\narray must be the value of the `initialBreakpoint` property.\nFor example: [0, .25, .5, 1]"
736
743
  }
737
744
  },
745
+ "expandToScroll": {
746
+ "type": "boolean",
747
+ "mutable": false,
748
+ "complexType": {
749
+ "original": "boolean",
750
+ "resolved": "boolean",
751
+ "references": {}
752
+ },
753
+ "required": false,
754
+ "optional": false,
755
+ "docs": {
756
+ "tags": [],
757
+ "text": "Controls whether scrolling or dragging within the sheet modal expands\nit to a larger breakpoint. This only takes effect when `breakpoints`\nand `initialBreakpoint` are set.\n\nIf `true`, scrolling or dragging anywhere in the modal will first expand\nit to the next breakpoint. Once fully expanded, scrolling will affect the content.\nIf `false`, scrolling will always affect the content, and the modal will only expand\nwhen dragging the header or handle."
758
+ },
759
+ "attribute": "expand-to-scroll",
760
+ "reflect": false,
761
+ "defaultValue": "true"
762
+ },
738
763
  "initialBreakpoint": {
739
764
  "type": "number",
740
765
  "mutable": false,
@@ -201,6 +201,12 @@ ion-backdrop {
201
201
  bottom: 0;
202
202
  }
203
203
 
204
+ :host(.modal-sheet.modal-no-expand-scroll) ion-footer {
205
+ position: absolute;
206
+ bottom: 0;
207
+ width: var(--width);
208
+ }
209
+
204
210
  /**
205
211
  * Convert a font size to a dynamic font size.
206
212
  * Fonts that participate in Dynamic Type should use
@@ -830,7 +830,7 @@ export class Nav {
830
830
  }
831
831
  }
832
832
  render() {
833
- return h("slot", { key: 'dfe98cb6604a2015a49f41beffebdd2da957dfff' });
833
+ return h("slot", { key: '71e9b5d07fc90ca5534197a63a003a4154aabd59' });
834
834
  }
835
835
  static get is() { return "ion-nav"; }
836
836
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class NavLink {
14
14
  this.routerAnimation = undefined;
15
15
  }
16
16
  render() {
17
- return h(Host, { key: 'd2f8545b4fbd5aa25ef36eb01dffbc5d35ccfbb9', onClick: this.onClick });
17
+ return h(Host, { key: '9ba170d1b10e08e8a6b5e6a30d363871d455a0a9', onClick: this.onClick });
18
18
  }
19
19
  static get is() { return "ion-nav-link"; }
20
20
  static get properties() {
@@ -13,9 +13,9 @@ export class Note {
13
13
  }
14
14
  render() {
15
15
  const mode = getIonMode(this);
16
- return (h(Host, { key: '10a3495bc21166176986441479f8f7539029d161', class: createColorClasses(this.color, {
16
+ return (h(Host, { key: '3c3d9b2aa805c0bc1fdc6270a2bbf4dcc1b96c5b', class: createColorClasses(this.color, {
17
17
  [mode]: true,
18
- }) }, h("slot", { key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873' })));
18
+ }) }, h("slot", { key: '39e34682009fcb705ecafe51825162734bdf14d3' })));
19
19
  }
20
20
  static get is() { return "ion-note"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -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: 'c1353e99c2aa19c0e3ddbe433557ed18e72e1c66', 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: 'b4ee62ecf7458a07a56e8aa494485766a87a3fcb', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: '9ab1e4700c27103b676670a4b3521c183c6ab83d' }))));
83
83
  }
84
84
  static get is() { return "ion-picker-column-option"; }
85
85
  static get encapsulation() { return "shadow"; }
@@ -185,11 +185,11 @@ export class Picker {
185
185
  render() {
186
186
  const { htmlAttributes } = this;
187
187
  const mode = getIonMode(this);
188
- return (h(Host, Object.assign({ key: '0712fa8732141848e50ad2e08e2ba66ef2a48991', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
188
+ return (h(Host, Object.assign({ key: 'dc03f252e3b59a94bc7132c953d2d3b36b62237e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
189
189
  zIndex: `${20000 + this.overlayIndex}`,
190
190
  }, class: Object.assign({ [mode]: true,
191
191
  // Used internally for styling
192
- [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'c997632ef0488698739664012de5a6494de438b6', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '20045054a76cca997b410835fa6b305af22dcb12', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'a73a6ac20b685ed9694d4fa95ea236ce5d63fdbf', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '1221cdcc2ff013deeba12170129c8fe78308330c', 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: '45038a58430a4251100797b902e7034243137564', class: "picker-columns" }, h("div", { key: 'c579bb69cddd4090912855ffd7f59536280f34b9', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '978c6632d82a97d053b729c9de65dd3af4c4cee2', class: "picker-below-highlight" }))), h("div", { key: 'e7e9dc437a3cf6d559e2cb0df71af69047a2ae31', tabindex: "0", "aria-hidden": "true" })));
192
+ [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'bdabe9c82c41f96da5dafb1a0aa0854fa7e7ec93', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '1380e0c8989153b425674753764f12f253f4a738', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'edec769bbc0993d003852d0bf1123e6e2332ebbe', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'b82c67ff47aa9412a6ff8f3b2e6230b855e92c51', 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: '76485b643387f36b6b3d5f85e4d072fa18e68552', class: "picker-columns" }, h("div", { key: '99268217263feb5285db1b1acd48fd0e4d5f0e7b', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '2dd7e488bc4e9695094f0758567e626e0bb5979d', class: "picker-below-highlight" }))), h("div", { key: '8b2f3ae798a4ddcdd4e2716ebba1de797e446ac4', tabindex: "0", "aria-hidden": "true" })));
193
193
  }
194
194
  static get is() { return "ion-picker-legacy"; }
195
195
  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: '88a3c9397c9ac92dd814074c8ae6ecf8e3420a2c', 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: '4491a705d15337e6f45f3cf6fd21af5242474729', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'b0dd4b7a7a4c1edc4b73e7fb134ac85264072365', 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: 'c16419ce6481d60fc3ba6b8d102a4edf0ede02aa', 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() {
@@ -338,9 +338,9 @@ export class Popover {
338
338
  const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
339
339
  const desktop = isPlatform('desktop');
340
340
  const enableArrow = arrow && !parentPopover;
341
- return (h(Host, Object.assign({ key: 'ffe8b37c9ffb5cac210a7307e6cdfcf78712905b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
341
+ return (h(Host, Object.assign({ key: '48f108a9b74f121559626889dd5a1fcccf38fc3d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
342
342
  zIndex: `${20000 + this.overlayIndex}`,
343
- }, 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: '12b3ffa3928b4d56a4f09c3d2f5d493d47b45255', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '2c2862d5c7e75b637973c712b4982bf4978c0cdf', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '0cfacc52afaa7abc28c1b7742889d7a1c23a37ad', class: "popover-arrow", part: "arrow" }), h("div", { key: '3ef570c44d4fe7f063dd419008c92c8c40d3cd22', class: "popover-content", part: "content" }, h("slot", { key: '6fc5dfdce20fee1642bc1f05d41b5bf7d1034457' })))));
343
+ }, 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: '580c14ab48472534f59eedc5ba7fa486df25ed4e', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: '9bcf47893e8d3053e2baa40511785d84feb4038c', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '4d47f2bdc01a546a88190c07f8f4700f21de6715', class: "popover-arrow", part: "arrow" }), h("div", { key: '70018c088654c1996e305b7b6b114419e97824ef', class: "popover-content", part: "content" }, h("slot", { key: '3de8e1959b8facba2fbe694947704832200d8276' })))));
344
344
  }
345
345
  static get is() { return "ion-popover"; }
346
346
  static get encapsulation() { return "shadow"; }
@@ -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: 'd60eeaa18aaee607e083c0ef9d0de8178d47c4cd', 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,
@@ -120,7 +120,7 @@ export class Radio {
120
120
  const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
121
121
  const mode = getIonMode(this);
122
122
  const inItem = hostContext('ion-item', el);
123
- return (h(Host, { key: '5a0adab55ad009305de4856fa1b9f93f2279a734', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
123
+ return (h(Host, { key: '8badd4aec277addc0793e14df21f73bb345e99b7', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
124
124
  [mode]: true,
125
125
  'in-item': inItem,
126
126
  'radio-checked': checked,
@@ -131,10 +131,10 @@ export class Radio {
131
131
  // Focus and active styling should not apply when the radio is in an item
132
132
  'ion-activatable': !inItem,
133
133
  'ion-focusable': !inItem,
134
- }), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: 'f5673a798e6d87868339f046445f707e1d93b7b6', class: "radio-wrapper" }, h("div", { key: 'e9190c06f75a171cab63e3f74ccf771c3ed87005', class: {
134
+ }), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '8765b847edc93a1b5a16506e155ed03da807bb10', class: "radio-wrapper" }, h("div", { key: '3d568a0192a32d4f0b8a920019c79ff02639b5c9', class: {
135
135
  'label-text-wrapper': true,
136
136
  'label-text-wrapper-hidden': !hasLabel,
137
- }, part: "label" }, h("slot", { key: '6cedf4e7b3bd03e4a635727dd7b6094bab64af64' })), h("div", { key: '26dd48d9d2848b7f100b732abdc4a3171adde483', class: "native-wrapper" }, this.renderRadioControl()))));
137
+ }, part: "label" }, h("slot", { key: '331f3dc2ce5f6ed8f124fc4560f92e0f7c668a85' })), h("div", { key: '473bd4aaf448753e385f2dda3fddc9f56379aa19', class: "native-wrapper" }, this.renderRadioControl()))));
138
138
  }
139
139
  static get is() { return "ion-radio"; }
140
140
  static get encapsulation() { return "shadow"; }