@ionic/core 7.5.4-dev.11699310489.151b2717 → 7.5.4-dev.11699469920.1af6ea12

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 (325) hide show
  1. package/components/animation.js +12 -11
  2. package/components/checkbox.js +2 -0
  3. package/components/index4.js +10 -12
  4. package/components/index5.js +0 -22
  5. package/components/input-shims.js +12 -7
  6. package/components/ion-datetime.js +2 -2
  7. package/components/ion-input.js +2 -0
  8. package/components/ion-modal.js +2 -2
  9. package/components/ion-range.js +2 -0
  10. package/components/ion-searchbar.js +1 -1
  11. package/components/ion-select.js +4 -2
  12. package/components/ion-skeleton-text.js +14 -1
  13. package/components/ion-textarea.js +2 -0
  14. package/components/ion-toast.js +419 -74
  15. package/components/ion-toggle.js +2 -0
  16. package/components/item.js +2 -2
  17. package/components/label.js +2 -2
  18. package/components/list.js +2 -2
  19. package/components/overlays.js +2 -1
  20. package/components/radio.js +2 -0
  21. package/dist/cjs/{animation-1083855c.js → animation-d101aa7a.js} +13 -12
  22. package/dist/cjs/{button-active-625d1d77.js → button-active-69c3bee4.js} +1 -1
  23. package/dist/cjs/{capacitor-2ffba62a.js → capacitor-f68447d3.js} +1 -1
  24. package/dist/cjs/{haptic-678abc9f.js → haptic-a74c2767.js} +1 -1
  25. package/dist/cjs/{index-3659e3a5.js → index-9146d04a.js} +11 -13
  26. package/dist/cjs/{index-135a6097.js → index-adbcffee.js} +2 -2
  27. package/dist/cjs/index-c8d52405.js +10 -0
  28. package/dist/cjs/{index-9f379eaa.js → index-e9634bc9.js} +1 -1
  29. package/dist/cjs/index.cjs.js +8 -8
  30. package/dist/cjs/{input-shims-b0a75a01.js → input-shims-3e3f35b9.js} +15 -10
  31. package/dist/cjs/{input.utils-0fe3097c.js → input.utils-590f0f18.js} +1 -1
  32. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
  33. package/dist/cjs/ion-alert.cjs.entry.js +6 -6
  34. package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
  35. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -0
  36. package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
  37. package/dist/cjs/ion-input.cjs.entry.js +5 -3
  38. package/dist/cjs/ion-item_8.cjs.entry.js +19 -6
  39. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  40. package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
  41. package/dist/cjs/ion-modal.cjs.entry.js +8 -8
  42. package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
  43. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +3 -3
  44. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  45. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -0
  46. package/dist/cjs/ion-range.cjs.entry.js +2 -0
  47. package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
  48. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  49. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  50. package/dist/cjs/ion-select_3.cjs.entry.js +7 -5
  51. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  52. package/dist/cjs/ion-textarea.cjs.entry.js +5 -3
  53. package/dist/cjs/ion-toast.cjs.entry.js +434 -92
  54. package/dist/cjs/ion-toggle.cjs.entry.js +5 -3
  55. package/dist/cjs/ionic.cjs.js +1 -1
  56. package/dist/cjs/{ios.transition-b71990aa.js → ios.transition-7972d9e3.js} +3 -3
  57. package/dist/cjs/{keyboard-fd7db491.js → keyboard-43df0428.js} +1 -1
  58. package/dist/cjs/{keyboard-38f2bb7b.js → keyboard-840107b3.js} +3 -3
  59. package/dist/cjs/{keyboard-controller-50beb83a.js → keyboard-controller-019f42df.js} +2 -2
  60. package/dist/cjs/loader.cjs.js +1 -1
  61. package/dist/cjs/{md.transition-3caa648a.js → md.transition-6e61a10f.js} +3 -3
  62. package/dist/cjs/{notch-controller-f4f6af5d.js → notch-controller-c22d1344.js} +1 -1
  63. package/dist/cjs/{overlays-6d1daf80.js → overlays-ba1a1e21.js} +3 -1
  64. package/dist/collection/components/checkbox/checkbox.js +2 -0
  65. package/dist/collection/components/datetime/datetime.ios.css +1 -0
  66. package/dist/collection/components/datetime/datetime.md.css +1 -0
  67. package/dist/collection/components/input/input.js +2 -0
  68. package/dist/collection/components/item/item.ios.css +25 -3
  69. package/dist/collection/components/item/item.md.css +25 -3
  70. package/dist/collection/components/item/test/basic/item.e2e.js +1 -1
  71. package/dist/collection/components/item/test/disabled/item.e2e.js +0 -1
  72. package/dist/collection/components/label/label.ios.css +14 -3
  73. package/dist/collection/components/label/label.md.css +14 -3
  74. package/dist/collection/components/list/list.ios.css +1 -15
  75. package/dist/collection/components/list/list.md.css +3 -41
  76. package/dist/collection/components/list/test/lines/list.e2e.js +0 -143
  77. package/dist/collection/components/modal/gestures/swipe-to-close.js +2 -1
  78. package/dist/collection/components/note/test/a11y/note.e2e.js +43 -0
  79. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +0 -5
  80. package/dist/collection/components/radio/radio.js +2 -0
  81. package/dist/collection/components/range/range.js +2 -0
  82. package/dist/collection/components/searchbar/searchbar.md.css +5 -11
  83. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -25
  84. package/dist/collection/components/select/select.ios.css +5 -0
  85. package/dist/collection/components/select/select.js +2 -0
  86. package/dist/collection/components/select/select.md.css +5 -0
  87. package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
  88. package/dist/collection/components/skeleton-text/skeleton-text.js +39 -0
  89. package/dist/collection/components/textarea/textarea.js +2 -0
  90. package/dist/collection/components/toast/animations/ios.enter.js +2 -1
  91. package/dist/collection/components/toast/animations/md.enter.js +4 -3
  92. package/dist/collection/components/toast/animations/utils.js +20 -14
  93. package/dist/collection/components/toast/gestures/swipe-to-dismiss.js +267 -0
  94. package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +84 -0
  95. package/dist/collection/components/toast/toast.ios.css +10 -10
  96. package/dist/collection/components/toast/toast.js +104 -1
  97. package/dist/collection/components/toast/toast.md.css +10 -0
  98. package/dist/collection/components/toggle/toggle.js +2 -0
  99. package/dist/collection/utils/animation/animation.js +12 -11
  100. package/dist/collection/utils/browser/index.js +0 -22
  101. package/dist/collection/utils/input-shims/input-shims.js +12 -6
  102. package/dist/collection/utils/menu-controller/index.js +10 -12
  103. package/dist/collection/utils/overlays.js +1 -0
  104. package/dist/docs.json +37 -1
  105. package/dist/esm/{animation-8aa13916.js → animation-cf3dd234.js} +13 -12
  106. package/dist/esm/{button-active-1fb561b0.js → button-active-109ba60d.js} +1 -1
  107. package/dist/esm/{capacitor-b4979570.js → capacitor-f1f25364.js} +1 -1
  108. package/dist/esm/{haptic-1243b917.js → haptic-1a66d69f.js} +1 -1
  109. package/dist/esm/{index-47a510cf.js → index-50582f1c.js} +2 -2
  110. package/dist/esm/{index-056b43e7.js → index-6a48e009.js} +11 -13
  111. package/dist/esm/index-a5d50daf.js +7 -0
  112. package/dist/esm/{index-f0cc4e14.js → index-c9e82353.js} +1 -1
  113. package/dist/esm/index.js +8 -8
  114. package/dist/esm/{input-shims-d0c93e5d.js → input-shims-1d767845.js} +14 -9
  115. package/dist/esm/{input.utils-ec063df4.js → input.utils-d04a7212.js} +1 -1
  116. package/dist/esm/ion-action-sheet.entry.js +6 -6
  117. package/dist/esm/ion-alert.entry.js +6 -6
  118. package/dist/esm/ion-app_8.entry.js +8 -8
  119. package/dist/esm/ion-checkbox.entry.js +2 -0
  120. package/dist/esm/ion-datetime_3.entry.js +7 -7
  121. package/dist/esm/ion-input.entry.js +5 -3
  122. package/dist/esm/ion-item_8.entry.js +19 -6
  123. package/dist/esm/ion-loading.entry.js +3 -3
  124. package/dist/esm/ion-menu_3.entry.js +5 -5
  125. package/dist/esm/ion-modal.entry.js +8 -8
  126. package/dist/esm/ion-nav_2.entry.js +1 -1
  127. package/dist/esm/ion-picker-column-internal.entry.js +3 -3
  128. package/dist/esm/ion-popover.entry.js +4 -4
  129. package/dist/esm/ion-radio_2.entry.js +2 -0
  130. package/dist/esm/ion-range.entry.js +2 -0
  131. package/dist/esm/ion-refresher_2.entry.js +4 -4
  132. package/dist/esm/ion-reorder_2.entry.js +3 -3
  133. package/dist/esm/ion-searchbar.entry.js +1 -1
  134. package/dist/esm/ion-select_3.entry.js +7 -5
  135. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  136. package/dist/esm/ion-textarea.entry.js +5 -3
  137. package/dist/esm/ion-toast.entry.js +417 -75
  138. package/dist/esm/ion-toggle.entry.js +5 -3
  139. package/dist/esm/ionic.js +1 -1
  140. package/dist/esm/{ios.transition-b53e19a3.js → ios.transition-e20d71bc.js} +3 -3
  141. package/dist/esm/{keyboard-b551279d.js → keyboard-9f771a04.js} +3 -3
  142. package/dist/esm/{keyboard-b063f012.js → keyboard-b6230bfb.js} +1 -1
  143. package/dist/esm/{keyboard-controller-0c2dce71.js → keyboard-controller-3f0faa10.js} +2 -2
  144. package/dist/esm/loader.js +1 -1
  145. package/dist/esm/{md.transition-276c1159.js → md.transition-a8469407.js} +3 -3
  146. package/dist/esm/{notch-controller-8c9c0e54.js → notch-controller-3f79197e.js} +1 -1
  147. package/dist/esm/{overlays-928a4afe.js → overlays-d79b34b4.js} +3 -2
  148. package/dist/esm-es5/{animation-8aa13916.js → animation-cf3dd234.js} +1 -1
  149. package/dist/esm-es5/{button-active-1fb561b0.js → button-active-109ba60d.js} +1 -1
  150. package/dist/esm-es5/{capacitor-b4979570.js → capacitor-f1f25364.js} +1 -1
  151. package/dist/esm-es5/{haptic-1243b917.js → haptic-1a66d69f.js} +1 -1
  152. package/dist/esm-es5/{index-47a510cf.js → index-50582f1c.js} +1 -1
  153. package/dist/esm-es5/index-6a48e009.js +4 -0
  154. package/dist/esm-es5/index-c9e82353.js +4 -0
  155. package/dist/esm-es5/index.js +1 -1
  156. package/dist/esm-es5/input-shims-1d767845.js +4 -0
  157. package/dist/esm-es5/input.utils-d04a7212.js +4 -0
  158. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  159. package/dist/esm-es5/ion-alert.entry.js +1 -1
  160. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  161. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  162. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  163. package/dist/esm-es5/ion-input.entry.js +1 -1
  164. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  165. package/dist/esm-es5/ion-loading.entry.js +1 -1
  166. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  167. package/dist/esm-es5/ion-modal.entry.js +1 -1
  168. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  169. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  170. package/dist/esm-es5/ion-popover.entry.js +1 -1
  171. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  172. package/dist/esm-es5/ion-range.entry.js +1 -1
  173. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  174. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  175. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  176. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  177. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  178. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  179. package/dist/esm-es5/ion-toast.entry.js +1 -1
  180. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  181. package/dist/esm-es5/ionic.js +1 -1
  182. package/dist/esm-es5/{ios.transition-b53e19a3.js → ios.transition-e20d71bc.js} +1 -1
  183. package/dist/esm-es5/{keyboard-b551279d.js → keyboard-9f771a04.js} +1 -1
  184. package/dist/esm-es5/{keyboard-b063f012.js → keyboard-b6230bfb.js} +1 -1
  185. package/dist/esm-es5/{keyboard-controller-0c2dce71.js → keyboard-controller-3f0faa10.js} +1 -1
  186. package/dist/esm-es5/loader.js +1 -1
  187. package/dist/esm-es5/{md.transition-276c1159.js → md.transition-a8469407.js} +1 -1
  188. package/dist/esm-es5/{notch-controller-8c9c0e54.js → notch-controller-3f79197e.js} +1 -1
  189. package/dist/esm-es5/{overlays-928a4afe.js → overlays-d79b34b4.js} +1 -1
  190. package/dist/html.html-data.json +9 -0
  191. package/dist/ionic/index.esm.js +1 -1
  192. package/dist/ionic/ionic.esm.js +1 -1
  193. package/dist/ionic/{p-09ec6b90.entry.js → p-020dd47f.entry.js} +1 -1
  194. package/dist/ionic/p-02663394.system.js +1 -1
  195. package/dist/ionic/{p-bf731526.system.entry.js → p-0becf7b5.system.entry.js} +1 -1
  196. package/dist/ionic/{p-8cc04bea.system.js → p-0c40f7d3.system.js} +1 -1
  197. package/dist/ionic/p-11104d0d.entry.js +4 -0
  198. package/dist/ionic/{p-81c818e7.js → p-11cb4e19.js} +1 -1
  199. package/dist/ionic/{p-a5b3aa82.entry.js → p-138a4a93.entry.js} +1 -1
  200. package/dist/ionic/{p-a07cd4aa.system.js → p-13dd7d20.system.js} +1 -1
  201. package/dist/ionic/{p-1a1fcc8b.system.js → p-1511dc35.system.js} +1 -1
  202. package/dist/ionic/{p-276afddd.js → p-1667596c.js} +1 -1
  203. package/dist/ionic/{p-40c0c580.system.entry.js → p-1fc6b5a5.system.entry.js} +1 -1
  204. package/dist/ionic/{p-af589369.system.entry.js → p-2151a4a4.system.entry.js} +1 -1
  205. package/dist/ionic/p-265fec8a.entry.js +4 -0
  206. package/dist/ionic/{p-da3e5259.entry.js → p-2fb115dc.entry.js} +1 -1
  207. package/dist/ionic/p-314c4dee.js +4 -0
  208. package/dist/ionic/p-344706aa.entry.js +4 -0
  209. package/dist/ionic/p-3554b264.js +4 -0
  210. package/dist/ionic/{p-59f491c5.entry.js → p-35787a6f.entry.js} +1 -1
  211. package/dist/ionic/{p-bf5a7db2.system.entry.js → p-3962542f.system.entry.js} +1 -1
  212. package/dist/ionic/p-3afb9c3d.entry.js +4 -0
  213. package/dist/ionic/{p-60f55715.system.entry.js → p-3dedd258.system.entry.js} +1 -1
  214. package/dist/ionic/{p-33986d02.entry.js → p-3fc0b7ba.entry.js} +1 -1
  215. package/dist/ionic/{p-c4e61a72.entry.js → p-47826f19.entry.js} +1 -1
  216. package/dist/ionic/p-494e75ad.js +4 -0
  217. package/dist/ionic/{p-d40d3245.system.entry.js → p-4c50b357.system.entry.js} +1 -1
  218. package/dist/ionic/p-4e3c07a6.system.js +4 -0
  219. package/dist/ionic/p-4e4ee05e.js +4 -0
  220. package/dist/ionic/{p-30d6fb24.system.entry.js → p-50375f3b.system.entry.js} +1 -1
  221. package/dist/ionic/{p-7d3be70f.system.js → p-53f75103.system.js} +1 -1
  222. package/dist/ionic/p-561cc050.system.js +4 -0
  223. package/dist/ionic/p-57b14769.js +4 -0
  224. package/dist/ionic/{p-8cf94fc1.js → p-5885e9af.js} +1 -1
  225. package/dist/ionic/{p-1ad8ddc1.system.entry.js → p-637d836a.system.entry.js} +1 -1
  226. package/dist/ionic/{p-565d1dc5.entry.js → p-664cc492.entry.js} +1 -1
  227. package/dist/ionic/{p-b923f3d7.js → p-6a309574.js} +1 -1
  228. package/dist/ionic/p-6c89025e.system.entry.js +4 -0
  229. package/dist/ionic/p-70dcf429.js +4 -0
  230. package/dist/ionic/p-710cea83.system.js +4 -0
  231. package/dist/ionic/{p-e1e64156.system.entry.js → p-71e70a57.system.entry.js} +1 -1
  232. package/dist/ionic/p-78a8e1e8.entry.js +4 -0
  233. package/dist/ionic/p-7acd17bc.entry.js +4 -0
  234. package/dist/ionic/{p-3632220b.system.js → p-7def197f.system.js} +1 -1
  235. package/dist/ionic/p-81bdfa1c.system.entry.js +4 -0
  236. package/dist/ionic/p-8414ed31.entry.js +4 -0
  237. package/dist/ionic/{p-b4b4bb29.system.js → p-9292fd42.system.js} +1 -1
  238. package/dist/ionic/p-92ac915c.system.js +4 -0
  239. package/dist/ionic/{p-fb10190f.js → p-938c4956.js} +1 -1
  240. package/dist/ionic/{p-dbc066cd.system.entry.js → p-9471d511.system.entry.js} +1 -1
  241. package/dist/ionic/{p-677a233c.system.entry.js → p-957f3028.system.entry.js} +1 -1
  242. package/dist/ionic/{p-41477ad9.system.js → p-958f1c70.system.js} +1 -1
  243. package/dist/ionic/{p-a843f88e.entry.js → p-9939c98e.entry.js} +1 -1
  244. package/dist/ionic/{p-9bb21465.system.entry.js → p-9b34caa0.system.entry.js} +1 -1
  245. package/dist/ionic/{p-1589d649.system.entry.js → p-a03566c4.system.entry.js} +1 -1
  246. package/dist/ionic/{p-419eb426.js → p-a135e3ba.js} +1 -1
  247. package/dist/ionic/{p-6cf407b5.system.entry.js → p-a6880f79.system.entry.js} +1 -1
  248. package/dist/ionic/p-a6b819ca.entry.js +4 -0
  249. package/dist/ionic/{p-a3545dad.entry.js → p-a9424586.entry.js} +1 -1
  250. package/dist/ionic/{p-8704e922.system.entry.js → p-ab1908ba.system.entry.js} +1 -1
  251. package/dist/ionic/{p-940a581d.system.js → p-abaa9b48.system.js} +1 -1
  252. package/dist/ionic/{p-ab4cff27.system.js → p-aec8a70a.system.js} +1 -1
  253. package/dist/ionic/{p-16b94c87.system.entry.js → p-bc48e521.system.entry.js} +1 -1
  254. package/dist/ionic/{p-69f93198.entry.js → p-bc6e32d2.entry.js} +1 -1
  255. package/dist/ionic/p-c2db1374.system.js +4 -0
  256. package/dist/ionic/p-c3547c7a.system.js +4 -0
  257. package/dist/ionic/{p-084413f2.system.entry.js → p-cb6c380e.system.entry.js} +1 -1
  258. package/dist/ionic/{p-82c503f7.entry.js → p-ce20c101.entry.js} +1 -1
  259. package/dist/ionic/p-d075c0aa.system.entry.js +4 -0
  260. package/dist/ionic/{p-f87219d2.js → p-df18d20d.js} +1 -1
  261. package/dist/ionic/p-e3b7a2d0.system.entry.js +4 -0
  262. package/dist/ionic/{p-80baef4f.entry.js → p-e525dbea.entry.js} +1 -1
  263. package/dist/ionic/{p-3bad5c1a.js → p-e5fd9f10.js} +1 -1
  264. package/dist/ionic/{p-ccdcb022.system.js → p-e7d20dfb.system.js} +1 -1
  265. package/dist/ionic/p-e9fe3c8b.system.entry.js +4 -0
  266. package/dist/ionic/p-ea1650b0.entry.js +4 -0
  267. package/dist/ionic/{p-e96da585.system.entry.js → p-ed8a02a2.system.entry.js} +1 -1
  268. package/dist/ionic/{p-a2200630.js → p-edd568c5.js} +1 -1
  269. package/dist/ionic/p-f2d4e3c8.entry.js +4 -0
  270. package/dist/ionic/p-f7769c83.js +4 -0
  271. package/dist/ionic/{p-bba2ce59.system.js → p-f9a641fa.system.js} +1 -1
  272. package/dist/ionic/p-fa67d712.entry.js +4 -0
  273. package/dist/types/components/router/router.d.ts +2 -1
  274. package/dist/types/components/skeleton-text/skeleton-text.d.ts +9 -1
  275. package/dist/types/components/toast/animations/utils.d.ts +15 -4
  276. package/dist/types/components/toast/gestures/swipe-to-dismiss.d.ts +9 -0
  277. package/dist/types/components/toast/toast-interface.d.ts +1 -0
  278. package/dist/types/components/toast/toast.d.ts +28 -1
  279. package/dist/types/components.d.ts +25 -2
  280. package/dist/types/interface.d.ts +1 -5
  281. package/dist/types/utils/animation/animation-interface.d.ts +4 -4
  282. package/dist/types/utils/browser/index.d.ts +11 -2
  283. package/dist/types/utils/hardware-back-button.d.ts +4 -0
  284. package/dist/types/utils/overlays.d.ts +1 -0
  285. package/hydrate/index.js +473 -128
  286. package/package.json +3 -1
  287. package/dist/cjs/index-306a7476.js +0 -32
  288. package/dist/collection/components/item/test/text/item.e2e.js +0 -14
  289. package/dist/esm/index-7a14ecec.js +0 -29
  290. package/dist/esm-es5/index-056b43e7.js +0 -4
  291. package/dist/esm-es5/index-f0cc4e14.js +0 -4
  292. package/dist/esm-es5/input-shims-d0c93e5d.js +0 -4
  293. package/dist/esm-es5/input.utils-ec063df4.js +0 -4
  294. package/dist/ionic/p-0816f061.entry.js +0 -4
  295. package/dist/ionic/p-0e7712cb.entry.js +0 -4
  296. package/dist/ionic/p-17ebfee6.entry.js +0 -4
  297. package/dist/ionic/p-28acf48d.system.entry.js +0 -4
  298. package/dist/ionic/p-2e8e0045.js +0 -4
  299. package/dist/ionic/p-3602001b.system.js +0 -4
  300. package/dist/ionic/p-40762835.entry.js +0 -4
  301. package/dist/ionic/p-4eb8645b.system.entry.js +0 -4
  302. package/dist/ionic/p-5f4c4347.system.entry.js +0 -4
  303. package/dist/ionic/p-5feb31c6.entry.js +0 -4
  304. package/dist/ionic/p-67eecef4.system.js +0 -4
  305. package/dist/ionic/p-97c65aa5.js +0 -4
  306. package/dist/ionic/p-9ab6f3e6.system.js +0 -4
  307. package/dist/ionic/p-a8e2b2b0.js +0 -4
  308. package/dist/ionic/p-aa310f38.entry.js +0 -4
  309. package/dist/ionic/p-ae590bcd.entry.js +0 -4
  310. package/dist/ionic/p-b1075d53.system.js +0 -4
  311. package/dist/ionic/p-b6be9a42.system.js +0 -4
  312. package/dist/ionic/p-c3278d57.js +0 -4
  313. package/dist/ionic/p-c6e9ffd6.js +0 -4
  314. package/dist/ionic/p-cbbefe72.system.entry.js +0 -4
  315. package/dist/ionic/p-cc196b34.js +0 -4
  316. package/dist/ionic/p-d1de1188.js +0 -4
  317. package/dist/ionic/p-d6c6b195.system.entry.js +0 -4
  318. package/dist/ionic/p-daf71560.entry.js +0 -4
  319. package/dist/ionic/p-df9d7fe1.entry.js +0 -4
  320. package/dist/ionic/p-eb5283b6.entry.js +0 -4
  321. package/dist/ionic/p-f2ad4b10.entry.js +0 -4
  322. package/dist/ionic/p-ff5a10f9.system.js +0 -4
  323. /package/dist/esm-es5/{index-7a14ecec.js → index-a5d50daf.js} +0 -0
  324. /package/dist/ionic/{p-0e94957a.system.js → p-792919fd.system.js} +0 -0
  325. /package/dist/ionic/{p-b347cfd1.js → p-7b30edcc.js} +0 -0
@@ -6,7 +6,7 @@ import { ENABLE_HTML_CONTENT_DEFAULT } from "../../utils/config";
6
6
  import { raf } from "../../utils/helpers";
7
7
  import { createLockController } from "../../utils/lock-controller";
8
8
  import { printIonWarning } from "../../utils/logging/index";
9
- import { createDelegateController, createTriggerController, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall, setOverlayId, } from "../../utils/overlays";
9
+ import { GESTURE, createDelegateController, createTriggerController, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall, setOverlayId, } from "../../utils/overlays";
10
10
  import { sanitizeDOMString } from "../../utils/sanitization/index";
11
11
  import { createColorClasses, getClassMap } from "../../utils/theme";
12
12
  import { config } from "../../global/config";
@@ -16,6 +16,7 @@ import { iosLeaveAnimation } from "./animations/ios.leave";
16
16
  import { mdEnterAnimation } from "./animations/md.enter";
17
17
  import { mdLeaveAnimation } from "./animations/md.leave";
18
18
  import { getAnimationPosition } from "./animations/utils";
19
+ import { createSwipeToDismissGesture } from "./gestures/swipe-to-dismiss";
19
20
  // TODO(FW-2832): types
20
21
  /**
21
22
  * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
@@ -41,6 +42,41 @@ export class Toast {
41
42
  this.callButtonHandler(cancelButton);
42
43
  }
43
44
  };
45
+ /**
46
+ * Create a new swipe gesture so Toast
47
+ * can be swiped to dismiss.
48
+ */
49
+ this.createSwipeGesture = (toastPosition) => {
50
+ const gesture = (this.gesture = createSwipeToDismissGesture(this.el, toastPosition, () => {
51
+ /**
52
+ * If the gesture completed then
53
+ * we should dismiss the toast.
54
+ */
55
+ this.dismiss(undefined, GESTURE);
56
+ }));
57
+ gesture.enable(true);
58
+ };
59
+ /**
60
+ * Destroy an existing swipe gesture
61
+ * so Toast can no longer be swiped to dismiss.
62
+ */
63
+ this.destroySwipeGesture = () => {
64
+ const { gesture } = this;
65
+ if (gesture === undefined) {
66
+ return;
67
+ }
68
+ gesture.destroy();
69
+ this.gesture = undefined;
70
+ };
71
+ /**
72
+ * Returns `true` if swipeGesture
73
+ * is configured to a value that enables the swipe behavior.
74
+ * Returns `false` otherwise.
75
+ */
76
+ this.prefersSwipeGesture = () => {
77
+ const { swipeGesture } = this;
78
+ return swipeGesture === 'vertical';
79
+ };
44
80
  this.revealContentToScreenReader = false;
45
81
  this.overlayIndex = undefined;
46
82
  this.delegate = undefined;
@@ -61,9 +97,37 @@ export class Toast {
61
97
  this.animated = true;
62
98
  this.icon = undefined;
63
99
  this.htmlAttributes = undefined;
100
+ this.swipeGesture = undefined;
64
101
  this.isOpen = false;
65
102
  this.trigger = undefined;
66
103
  }
104
+ swipeGestureChanged() {
105
+ /**
106
+ * If the Toast is presented, then we need to destroy
107
+ * any actives gestures before a new gesture is potentially
108
+ * created below.
109
+ *
110
+ * If the Toast is dismissed, then no gesture should be available
111
+ * since the Toast is not visible. This case should never
112
+ * happen since the "dismiss" method handles destroying
113
+ * any active swipe gestures, but we keep this code
114
+ * around to handle the first case.
115
+ */
116
+ this.destroySwipeGesture();
117
+ /**
118
+ * A new swipe gesture should only be created
119
+ * if the Toast is presented. If the Toast is not
120
+ * yet presented then the "present" method will
121
+ * handle calling the swipe gesture setup function.
122
+ */
123
+ if (this.presented && this.prefersSwipeGesture()) {
124
+ /**
125
+ * If the Toast is presented then
126
+ * lastPresentedPosition is defined.
127
+ */
128
+ this.createSwipeGesture(this.lastPresentedPosition);
129
+ }
130
+ }
67
131
  onIsOpenChange(newValue, oldValue) {
68
132
  if (newValue === true && oldValue === false) {
69
133
  this.present();
@@ -125,6 +189,14 @@ export class Toast {
125
189
  if (this.duration > 0) {
126
190
  this.durationTimeout = setTimeout(() => this.dismiss(undefined, 'timeout'), this.duration);
127
191
  }
192
+ /**
193
+ * If the Toast has a swipe gesture then we can
194
+ * create the gesture so users can swipe the
195
+ * presented Toast.
196
+ */
197
+ if (this.prefersSwipeGesture()) {
198
+ this.createSwipeGesture(animationPosition);
199
+ }
128
200
  unlock();
129
201
  }
130
202
  /**
@@ -159,6 +231,11 @@ export class Toast {
159
231
  this.revealContentToScreenReader = false;
160
232
  }
161
233
  this.lastPresentedPosition = undefined;
234
+ /**
235
+ * If the Toast has a swipe gesture then we can
236
+ * safely destroy it now that it is dismissed.
237
+ */
238
+ this.destroySwipeGesture();
162
239
  unlock();
163
240
  return dismissed;
164
241
  }
@@ -699,6 +776,29 @@ export class Toast {
699
776
  "text": "Additional attributes to pass to the toast."
700
777
  }
701
778
  },
779
+ "swipeGesture": {
780
+ "type": "string",
781
+ "mutable": false,
782
+ "complexType": {
783
+ "original": "ToastSwipeGestureDirection",
784
+ "resolved": "\"vertical\" | undefined",
785
+ "references": {
786
+ "ToastSwipeGestureDirection": {
787
+ "location": "import",
788
+ "path": "./toast-interface",
789
+ "id": "src/components/toast/toast-interface.ts::ToastSwipeGestureDirection"
790
+ }
791
+ }
792
+ },
793
+ "required": false,
794
+ "optional": true,
795
+ "docs": {
796
+ "tags": [],
797
+ "text": "If set to 'vertical', the Toast can be dismissed with\na swipe gesture. The swipe direction is determined by\nthe value of the `position` property:\n`top`: The Toast can be swiped up to dismiss.\n`bottom`: The Toast can be swiped down to dismiss.\n`middle`: The Toast can be swiped up or down to dismiss."
798
+ },
799
+ "attribute": "swipe-gesture",
800
+ "reflect": false
801
+ },
702
802
  "isOpen": {
703
803
  "type": "boolean",
704
804
  "mutable": false,
@@ -1009,6 +1109,9 @@ export class Toast {
1009
1109
  static get elementRef() { return "el"; }
1010
1110
  static get watchers() {
1011
1111
  return [{
1112
+ "propName": "swipeGesture",
1113
+ "methodName": "swipeGestureChanged"
1114
+ }, {
1012
1115
  "propName": "isOpen",
1013
1116
  "methodName": "onIsOpenChange"
1014
1117
  }, {
@@ -167,6 +167,16 @@
167
167
  }
168
168
  }
169
169
 
170
+ .toast-wrapper.toast-top {
171
+ transform: translate3d(0, -100%, 0);
172
+ top: 0;
173
+ }
174
+
175
+ .toast-wrapper.toast-bottom {
176
+ transform: translate3d(0, 100%, 0);
177
+ bottom: 0;
178
+ }
179
+
170
180
  .toast-container {
171
181
  display: flex;
172
182
  align-items: center;
@@ -123,6 +123,8 @@ export class Toggle {
123
123
  if (this.legacyFormController.hasLegacyControl()) {
124
124
  this.ionStyle.emit({
125
125
  'interactive-disabled': this.disabled,
126
+ // TODO(FW-2990): remove this
127
+ legacy: !!this.legacy,
126
128
  });
127
129
  }
128
130
  }
@@ -463,6 +463,16 @@ export const createAnimation = (animationId) => {
463
463
  }
464
464
  }
465
465
  });
466
+ /**
467
+ * Clean up any value coercion before
468
+ * the user callbacks fire otherwise
469
+ * they may get stale values. For example,
470
+ * if someone calls progressStart(0) the
471
+ * animation may still be reversed.
472
+ */
473
+ forceDurationValue = undefined;
474
+ forceDirectionValue = undefined;
475
+ forceDelayValue = undefined;
466
476
  onFinishCallbacks.forEach((onFinishCallback) => {
467
477
  return onFinishCallback.c(currentStep, ani);
468
478
  });
@@ -667,17 +677,8 @@ export const createAnimation = (animationId) => {
667
677
  update(false, false);
668
678
  }
669
679
  }
670
- if (playTo !== undefined) {
671
- onFinish(() => {
672
- forceDurationValue = undefined;
673
- forceDirectionValue = undefined;
674
- forceDelayValue = undefined;
675
- }, {
676
- oneTimeCallback: true,
677
- });
678
- if (!parentAnimation) {
679
- play();
680
- }
680
+ if (playTo !== undefined && !parentAnimation) {
681
+ play();
681
682
  }
682
683
  return ani;
683
684
  };
@@ -1,27 +1,5 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- /**
5
- * When accessing the document or window, it is important
6
- * to account for SSR applications where the
7
- * window is not available. Code that accesses
8
- * window when it is not available will crash.
9
- * Even checking if `window === undefined` will cause
10
- * apps to crash in SSR.
11
- *
12
- * Use win below to access an SSR-safe version
13
- * of the window.
14
- *
15
- * Example 1:
16
- * Before:
17
- * if (window.innerWidth > 768) { ... }
18
- *
19
- * After:
20
- * import { win } from 'path/to/this/file';
21
- * if (win?.innerWidth > 768) { ... }
22
- *
23
- * Note: Code inside of this if-block will
24
- * not run in an SSR environment.
25
- */
26
4
  export const win = typeof window !== 'undefined' ? window : undefined;
27
5
  export const doc = typeof document !== 'undefined' ? document : undefined;
@@ -1,6 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
+ import { doc } from "../browser/index";
4
5
  import { findClosestIonContent } from "../content";
5
6
  import { componentOnReady } from "../helpers";
6
7
  import { Keyboard } from "../native/keyboard";
@@ -11,7 +12,13 @@ const INPUT_BLURRING = true;
11
12
  const SCROLL_ASSIST = true;
12
13
  const HIDE_CARET = true;
13
14
  export const startInputShims = async (config, platform) => {
14
- const doc = document;
15
+ /**
16
+ * If doc is undefined then we are in an SSR environment
17
+ * where input shims do not apply.
18
+ */
19
+ if (doc === undefined) {
20
+ return;
21
+ }
15
22
  const isIOS = platform === 'ios';
16
23
  const isAndroid = platform === 'android';
17
24
  /**
@@ -90,11 +97,10 @@ export const startInputShims = async (config, platform) => {
90
97
  for (const input of inputs) {
91
98
  registerInput(input);
92
99
  }
93
- // TODO(FW-2832): types
94
- doc.addEventListener('ionInputDidLoad', ((ev) => {
100
+ doc.addEventListener('ionInputDidLoad', (ev) => {
95
101
  registerInput(ev.detail);
96
- }));
97
- doc.addEventListener('ionInputDidUnload', ((ev) => {
102
+ });
103
+ doc.addEventListener('ionInputDidUnload', (ev) => {
98
104
  unregisterInput(ev.detail);
99
- }));
105
+ });
100
106
  };
@@ -1,8 +1,9 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { printIonWarning } from "../logging/index";
4
+ import { doc } from "../browser/index";
5
5
  import { MENU_BACK_BUTTON_PRIORITY } from "../hardware-back-button";
6
+ import { printIonWarning } from "../logging/index";
6
7
  import { componentOnReady } from "../helpers";
7
8
  import { menuOverlayAnimation } from "./animations/overlay";
8
9
  import { menuPushAnimation } from "./animations/push";
@@ -184,17 +185,14 @@ const createMenuController = () => {
184
185
  registerAnimation('reveal', menuRevealAnimation);
185
186
  registerAnimation('push', menuPushAnimation);
186
187
  registerAnimation('overlay', menuOverlayAnimation);
187
- if (typeof document !== 'undefined') {
188
- document.addEventListener('ionBackButton', (ev) => {
189
- // TODO(FW-2832): type
190
- const openMenu = _getOpenSync();
191
- if (openMenu) {
192
- ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {
193
- return openMenu.close();
194
- });
195
- }
196
- });
197
- }
188
+ doc === null || doc === void 0 ? void 0 : doc.addEventListener('ionBackButton', (ev) => {
189
+ const openMenu = _getOpenSync();
190
+ if (openMenu) {
191
+ ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {
192
+ return openMenu.close();
193
+ });
194
+ }
195
+ });
198
196
  return {
199
197
  registerAnimation,
200
198
  get,
@@ -562,6 +562,7 @@ export const safeCall = (handler, arg) => {
562
562
  };
563
563
  export const BACKDROP = 'backdrop';
564
564
  export const GESTURE = 'gesture';
565
+ export const OVERLAY_GESTURE_PRIORITY = 39;
565
566
  /**
566
567
  * Creates a delegate controller.
567
568
  *
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-11-06T22:43:13",
2
+ "timestamp": "2023-11-08T19:00:33",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.7.0",
@@ -27785,6 +27785,37 @@
27785
27785
  "optional": true,
27786
27786
  "required": false
27787
27787
  },
27788
+ {
27789
+ "name": "swipeGesture",
27790
+ "type": "\"vertical\" | undefined",
27791
+ "complexType": {
27792
+ "original": "ToastSwipeGestureDirection",
27793
+ "resolved": "\"vertical\" | undefined",
27794
+ "references": {
27795
+ "ToastSwipeGestureDirection": {
27796
+ "location": "import",
27797
+ "path": "./toast-interface",
27798
+ "id": "src/components/toast/toast-interface.ts::ToastSwipeGestureDirection"
27799
+ }
27800
+ }
27801
+ },
27802
+ "mutable": false,
27803
+ "attr": "swipe-gesture",
27804
+ "reflectToAttr": false,
27805
+ "docs": "If set to 'vertical', the Toast can be dismissed with\na swipe gesture. The swipe direction is determined by\nthe value of the `position` property:\n`top`: The Toast can be swiped up to dismiss.\n`bottom`: The Toast can be swiped down to dismiss.\n`middle`: The Toast can be swiped up or down to dismiss.",
27806
+ "docsTags": [],
27807
+ "values": [
27808
+ {
27809
+ "value": "vertical",
27810
+ "type": "string"
27811
+ },
27812
+ {
27813
+ "type": "undefined"
27814
+ }
27815
+ ],
27816
+ "optional": true,
27817
+ "required": false
27818
+ },
27788
27819
  {
27789
27820
  "name": "translucent",
27790
27821
  "type": "boolean",
@@ -29343,6 +29374,11 @@
29343
29374
  "docstring": "",
29344
29375
  "path": "src/components/toast/toast-interface.ts"
29345
29376
  },
29377
+ "src/components/toast/toast-interface.ts::ToastSwipeGestureDirection": {
29378
+ "declaration": "\"vertical\"",
29379
+ "docstring": "",
29380
+ "path": "src/components/toast/toast-interface.ts"
29381
+ },
29346
29382
  "src/components/toast/toast-interface.ts::ToastPresentOptions": {
29347
29383
  "declaration": "export type ToastPresentOptions = ToastPositionAlias & ToastAnimationPosition;",
29348
29384
  "docstring": "",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { w as win } from './index-7a14ecec.js';
4
+ import { w as win } from './index-a5d50daf.js';
5
5
  import { r as raf } from './helpers-3379ba19.js';
6
6
 
7
7
  let animationPrefix;
@@ -586,6 +586,16 @@ const createAnimation = (animationId) => {
586
586
  }
587
587
  }
588
588
  });
589
+ /**
590
+ * Clean up any value coercion before
591
+ * the user callbacks fire otherwise
592
+ * they may get stale values. For example,
593
+ * if someone calls progressStart(0) the
594
+ * animation may still be reversed.
595
+ */
596
+ forceDurationValue = undefined;
597
+ forceDirectionValue = undefined;
598
+ forceDelayValue = undefined;
589
599
  onFinishCallbacks.forEach((onFinishCallback) => {
590
600
  return onFinishCallback.c(currentStep, ani);
591
601
  });
@@ -790,17 +800,8 @@ const createAnimation = (animationId) => {
790
800
  update(false, false);
791
801
  }
792
802
  }
793
- if (playTo !== undefined) {
794
- onFinish(() => {
795
- forceDurationValue = undefined;
796
- forceDirectionValue = undefined;
797
- forceDelayValue = undefined;
798
- }, {
799
- oneTimeCallback: true,
800
- });
801
- if (!parentAnimation) {
802
- play();
803
- }
803
+ if (playTo !== undefined && !parentAnimation) {
804
+ play();
804
805
  }
805
806
  return ani;
806
807
  };
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { w as writeTask } from './index-4392ebcb.js';
5
- import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-1243b917.js';
5
+ import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-1a66d69f.js';
6
6
  import { createGesture } from './index-ff313b19.js';
7
7
 
8
8
  const createButtonActiveGesture = (el, isButton) => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { w as win } from './index-7a14ecec.js';
4
+ import { w as win } from './index-a5d50daf.js';
5
5
 
6
6
  const getCapacitor = () => {
7
7
  if (win !== undefined) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { g as getCapacitor } from './capacitor-b4979570.js';
4
+ import { g as getCapacitor } from './capacitor-f1f25364.js';
5
5
 
6
6
  var ImpactStyle;
7
7
  (function (ImpactStyle) {
@@ -10,8 +10,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
10
10
  const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
11
11
  const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
12
12
 
13
- const iosTransitionAnimation = () => import('./ios.transition-b53e19a3.js');
14
- const mdTransitionAnimation = () => import('./md.transition-276c1159.js');
13
+ const iosTransitionAnimation = () => import('./ios.transition-e20d71bc.js');
14
+ const mdTransitionAnimation = () => import('./md.transition-a8469407.js');
15
15
  // TODO(FW-2832): types
16
16
  const transition = (opts) => {
17
17
  return new Promise((resolve, reject) => {
@@ -1,11 +1,12 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { p as printIonWarning } from './index-595d62c9.js';
4
+ import { d as doc } from './index-a5d50daf.js';
5
5
  import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-39299f84.js';
6
+ import { p as printIonWarning } from './index-595d62c9.js';
6
7
  import { c as componentOnReady } from './helpers-3379ba19.js';
7
8
  import { b as getIonMode } from './ionic-global-7efdecd0.js';
8
- import { c as createAnimation } from './animation-8aa13916.js';
9
+ import { c as createAnimation } from './animation-cf3dd234.js';
9
10
 
10
11
  /**
11
12
  * baseAnimation
@@ -272,17 +273,14 @@ const createMenuController = () => {
272
273
  registerAnimation('reveal', menuRevealAnimation);
273
274
  registerAnimation('push', menuPushAnimation);
274
275
  registerAnimation('overlay', menuOverlayAnimation);
275
- if (typeof document !== 'undefined') {
276
- document.addEventListener('ionBackButton', (ev) => {
277
- // TODO(FW-2832): type
278
- const openMenu = _getOpenSync();
279
- if (openMenu) {
280
- ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {
281
- return openMenu.close();
282
- });
283
- }
284
- });
285
- }
276
+ doc === null || doc === void 0 ? void 0 : doc.addEventListener('ionBackButton', (ev) => {
277
+ const openMenu = _getOpenSync();
278
+ if (openMenu) {
279
+ ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {
280
+ return openMenu.close();
281
+ });
282
+ }
283
+ });
286
284
  return {
287
285
  registerAnimation,
288
286
  get,
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ const win = typeof window !== 'undefined' ? window : undefined;
5
+ const doc = typeof document !== 'undefined' ? document : undefined;
6
+
7
+ export { doc as d, win as w };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { d as doc } from './index-7a14ecec.js';
4
+ import { d as doc } from './index-a5d50daf.js';
5
5
  import { u as now, v as pointerCoord } from './helpers-3379ba19.js';
6
6
 
7
7
  const startTapClick = (config) => {
package/dist/esm/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- export { c as createAnimation } from './animation-8aa13916.js';
5
- export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-47a510cf.js';
6
- export { iosTransitionAnimation } from './ios.transition-b53e19a3.js';
7
- export { mdTransitionAnimation } from './md.transition-276c1159.js';
4
+ export { c as createAnimation } from './animation-cf3dd234.js';
5
+ export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-50582f1c.js';
6
+ export { iosTransitionAnimation } from './ios.transition-e20d71bc.js';
7
+ export { mdTransitionAnimation } from './md.transition-a8469407.js';
8
8
  export { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
9
9
  export { createGesture } from './index-ff313b19.js';
10
10
  export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-7efdecd0.js';
11
11
  export { c as componentOnReady } from './helpers-3379ba19.js';
12
12
  export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-96c9ace3.js';
13
13
  export { o as openURL } from './theme-17531cdf.js';
14
- export { m as menuController } from './index-056b43e7.js';
15
- export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-928a4afe.js';
16
- import './index-7a14ecec.js';
14
+ export { m as menuController } from './index-6a48e009.js';
15
+ export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-d79b34b4.js';
16
+ import './index-a5d50daf.js';
17
17
  import './index-4392ebcb.js';
18
18
  import './gesture-controller-0fa396c4.js';
19
- import './index-595d62c9.js';
20
19
  import './hardware-back-button-39299f84.js';
20
+ import './index-595d62c9.js';
21
21
  import './framework-delegate-aa433dea.js';
22
22
 
23
23
  const IonicSlides = (opts) => {
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
+ import { w as win, d as doc } from './index-a5d50daf.js';
4
5
  import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-4392efa5.js';
5
6
  import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-3379ba19.js';
6
- import { a as KeyboardResize, K as Keyboard } from './keyboard-b063f012.js';
7
- import { w as win } from './index-7a14ecec.js';
7
+ import { a as KeyboardResize, K as Keyboard } from './keyboard-b6230bfb.js';
8
8
  import './index-595d62c9.js';
9
- import './capacitor-b4979570.js';
9
+ import './capacitor-f1f25364.js';
10
10
 
11
11
  const cloneMap = new WeakMap();
12
12
  const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
@@ -504,7 +504,13 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
504
504
 
505
505
  const INPUT_BLURRING = true;
506
506
  const startInputShims = async (config, platform) => {
507
- const doc = document;
507
+ /**
508
+ * If doc is undefined then we are in an SSR environment
509
+ * where input shims do not apply.
510
+ */
511
+ if (doc === undefined) {
512
+ return;
513
+ }
508
514
  const isIOS = platform === 'ios';
509
515
  const isAndroid = platform === 'android';
510
516
  /**
@@ -582,13 +588,12 @@ const startInputShims = async (config, platform) => {
582
588
  for (const input of inputs) {
583
589
  registerInput(input);
584
590
  }
585
- // TODO(FW-2832): types
586
- doc.addEventListener('ionInputDidLoad', ((ev) => {
591
+ doc.addEventListener('ionInputDidLoad', (ev) => {
587
592
  registerInput(ev.detail);
588
- }));
589
- doc.addEventListener('ionInputDidUnload', ((ev) => {
593
+ });
594
+ doc.addEventListener('ionInputDidUnload', (ev) => {
590
595
  unregisterInput(ev.detail);
591
- }));
596
+ });
592
597
  };
593
598
 
594
599
  export { startInputShims };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { w as win } from './index-7a14ecec.js';
4
+ import { w as win } from './index-a5d50daf.js';
5
5
  import { r as raf } from './helpers-3379ba19.js';
6
6
  import { a as printIonError } from './index-595d62c9.js';
7
7
 
@@ -2,16 +2,16 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { r as registerInstance, d as createEvent, e as readTask, h, H as Host, f as getElement } from './index-4392ebcb.js';
5
- import { c as createButtonActiveGesture } from './button-active-1fb561b0.js';
5
+ import { c as createButtonActiveGesture } from './button-active-109ba60d.js';
6
6
  import { r as raf } from './helpers-3379ba19.js';
7
7
  import { c as createLockController } from './lock-controller-e8c6c051.js';
8
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-928a4afe.js';
8
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-d79b34b4.js';
9
9
  import { g as getClassMap } from './theme-17531cdf.js';
10
10
  import { b as getIonMode } from './ionic-global-7efdecd0.js';
11
- import { c as createAnimation } from './animation-8aa13916.js';
12
- import './haptic-1243b917.js';
13
- import './capacitor-b4979570.js';
14
- import './index-7a14ecec.js';
11
+ import { c as createAnimation } from './animation-cf3dd234.js';
12
+ import './haptic-1a66d69f.js';
13
+ import './capacitor-f1f25364.js';
14
+ import './index-a5d50daf.js';
15
15
  import './index-ff313b19.js';
16
16
  import './gesture-controller-0fa396c4.js';
17
17
  import './framework-delegate-aa433dea.js';