voyager-ionic-core 8.0.0-beta.3 → 8.0.0

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 (716) hide show
  1. package/components/action-sheet.js +3 -3
  2. package/components/alert.js +2 -2
  3. package/components/animation.js +9 -250
  4. package/components/backdrop.js +1 -1
  5. package/components/button.js +18 -5
  6. package/components/buttons.js +2 -2
  7. package/components/checkbox.js +5 -5
  8. package/components/haptic.js +6 -54
  9. package/components/helpers.js +1 -4
  10. package/components/index7.js +3 -1
  11. package/components/index9.js +5 -34
  12. package/components/ion-app.js +1 -1
  13. package/components/ion-avatar.js +1 -1
  14. package/components/ion-back-button.js +2 -2
  15. package/components/ion-badge.js +2 -2
  16. package/components/ion-breadcrumb.js +4 -4
  17. package/components/ion-breadcrumbs.js +2 -2
  18. package/components/ion-card-content.js +1 -1
  19. package/components/ion-card-header.js +2 -2
  20. package/components/ion-card-subtitle.js +2 -2
  21. package/components/ion-card-title.js +2 -2
  22. package/components/ion-card.js +1 -1
  23. package/components/ion-chip.js +2 -2
  24. package/components/ion-col.js +2 -2
  25. package/components/ion-content.js +3 -3
  26. package/components/ion-datetime-button.js +2 -2
  27. package/components/ion-datetime.js +2 -2
  28. package/components/ion-fab-button.js +2 -2
  29. package/components/ion-fab-list.js +2 -2
  30. package/components/ion-fab.js +2 -2
  31. package/components/ion-footer.js +2 -2
  32. package/components/ion-grid.js +2 -2
  33. package/components/ion-header.js +2 -2
  34. package/components/ion-img.js +1 -1
  35. package/components/ion-infinite-scroll-content.js +2 -2
  36. package/components/ion-infinite-scroll.js +1 -1
  37. package/components/ion-input-password-toggle.d.ts +11 -0
  38. package/components/ion-input-password-toggle.js +132 -0
  39. package/components/ion-input.js +27 -8
  40. package/components/ion-item-divider.js +2 -2
  41. package/components/ion-item-group.js +1 -1
  42. package/components/ion-item-option.js +2 -2
  43. package/components/ion-item-options.js +1 -1
  44. package/components/ion-item-sliding.js +1 -1
  45. package/components/ion-loading.js +2 -2
  46. package/components/ion-menu-button.js +3 -3
  47. package/components/ion-menu-toggle.js +2 -2
  48. package/components/ion-menu.js +2 -2
  49. package/components/ion-modal.js +47 -23
  50. package/components/ion-nav-link.js +1 -1
  51. package/components/ion-nav.js +1 -1
  52. package/components/ion-note.js +2 -2
  53. package/components/ion-picker-legacy.js +2 -2
  54. package/components/ion-progress-bar.js +1 -1
  55. package/components/ion-range.js +3 -3
  56. package/components/ion-refresher-content.js +2 -2
  57. package/components/ion-refresher.js +1 -1
  58. package/components/ion-reorder-group.js +1 -1
  59. package/components/ion-reorder.js +2 -2
  60. package/components/ion-router-link.js +2 -2
  61. package/components/ion-router-outlet.js +1 -1
  62. package/components/ion-row.js +1 -1
  63. package/components/ion-searchbar.js +7 -7
  64. package/components/ion-segment-button.js +3 -3
  65. package/components/ion-segment.js +2 -2
  66. package/components/ion-select-option.js +1 -1
  67. package/components/ion-select.js +3 -3
  68. package/components/ion-skeleton-text.js +2 -2
  69. package/components/ion-split-pane.js +2 -2
  70. package/components/ion-tab-bar.js +2 -2
  71. package/components/ion-tab-button.js +2 -2
  72. package/components/ion-tab.js +2 -2
  73. package/components/ion-tabs.js +1 -1
  74. package/components/ion-text.js +2 -2
  75. package/components/ion-textarea.js +2 -3
  76. package/components/ion-thumbnail.js +1 -1
  77. package/components/ion-title.js +2 -2
  78. package/components/ion-toast.js +2 -2
  79. package/components/ion-toggle.js +6 -6
  80. package/components/ion-toolbar.js +2 -2
  81. package/components/item.js +1 -1
  82. package/components/label.js +2 -2
  83. package/components/list-header.js +2 -2
  84. package/components/list.js +1 -1
  85. package/components/picker-column-option.js +2 -2
  86. package/components/picker-column.js +3 -3
  87. package/components/picker-column2.js +2 -2
  88. package/components/picker.js +2 -2
  89. package/components/popover.js +4 -4
  90. package/components/radio-group.js +1 -1
  91. package/components/radio.js +5 -5
  92. package/components/ripple-effect.js +1 -1
  93. package/components/select-popover.js +1 -1
  94. package/components/spinner.js +1 -1
  95. package/css/core.css +1 -624
  96. package/css/core.css.map +1 -1
  97. package/css/display.css +1 -131
  98. package/css/display.css.map +1 -1
  99. package/css/flex-utils.css +1 -81
  100. package/css/flex-utils.css.map +1 -1
  101. package/css/float-elements.css +1 -293
  102. package/css/float-elements.css.map +1 -1
  103. package/css/global.bundle.css +1 -457
  104. package/css/global.bundle.css.map +1 -1
  105. package/css/ionic-swiper.css +1 -127
  106. package/css/ionic-swiper.css.map +1 -1
  107. package/css/ionic.bundle.css +1 -1
  108. package/css/ionic.bundle.css.map +1 -1
  109. package/css/normalize.css +1 -150
  110. package/css/normalize.css.map +1 -1
  111. package/css/padding.css +1 -202
  112. package/css/padding.css.map +1 -1
  113. package/css/palettes/dark.always.css +1 -160
  114. package/css/palettes/dark.always.css.map +1 -1
  115. package/css/palettes/dark.class.css +1 -160
  116. package/css/palettes/dark.class.css.map +1 -1
  117. package/css/palettes/dark.css +0 -2
  118. package/css/palettes/dark.system.css +1 -162
  119. package/css/palettes/dark.system.css.map +1 -1
  120. package/css/palettes/high-contrast-dark.always.css +1 -180
  121. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  122. package/css/palettes/high-contrast-dark.class.css +1 -180
  123. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  124. package/css/palettes/high-contrast-dark.css +0 -2
  125. package/css/palettes/high-contrast-dark.system.css +1 -182
  126. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  127. package/css/palettes/high-contrast.always.css +1 -101
  128. package/css/palettes/high-contrast.always.css.map +1 -1
  129. package/css/palettes/high-contrast.class.css +1 -101
  130. package/css/palettes/high-contrast.class.css.map +1 -1
  131. package/css/palettes/high-contrast.css +0 -2
  132. package/css/palettes/high-contrast.system.css +1 -103
  133. package/css/palettes/high-contrast.system.css.map +1 -1
  134. package/css/structure.css +1 -152
  135. package/css/structure.css.map +1 -1
  136. package/css/text-alignment.css +1 -243
  137. package/css/text-alignment.css.map +1 -1
  138. package/css/text-transformation.css +1 -158
  139. package/css/text-transformation.css.map +1 -1
  140. package/css/typography.css +1 -157
  141. package/css/typography.css.map +1 -1
  142. package/css/utils.bundle.css +1 -1100
  143. package/css/utils.bundle.css.map +1 -1
  144. package/dist/cjs/{animation-58ecfe20.js → animation-b4fdf128.js} +9 -250
  145. package/dist/cjs/{app-globals-e132c781.js → app-globals-5bfa2d7f.js} +1 -1
  146. package/dist/cjs/{button-active-60ecf64d.js → button-active-564be49f.js} +2 -2
  147. package/dist/cjs/{framework-delegate-df3a2b04.js → framework-delegate-55f5683a.js} +1 -1
  148. package/dist/cjs/{haptic-b882e0bb.js → haptic-f6b37aa3.js} +6 -54
  149. package/dist/cjs/{hardware-back-button-1c67a5a2.js → hardware-back-button-44e7c052.js} +2 -2
  150. package/dist/cjs/{helpers-71097d9c.js → helpers-afaa9001.js} +0 -4
  151. package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
  152. package/dist/cjs/{index-7479ea5a.js → index-5b6a7459.js} +1 -1
  153. package/dist/cjs/{index-14ae0c27.js → index-6d6ac424.js} +4 -4
  154. package/dist/cjs/{index-a91a3e24.js → index-9509ecad.js} +5 -34
  155. package/dist/cjs/{index-2d21d526.js → index-bbc6c29f.js} +48 -12
  156. package/dist/cjs/{index-289297dc.js → index-defd575f.js} +4 -4
  157. package/dist/cjs/index.cjs.js +11 -11
  158. package/dist/cjs/{input-shims-77b14f24.js → input-shims-20d639e6.js} +2 -2
  159. package/dist/cjs/{input.utils-ca74d73a.js → input.utils-611cde0b.js} +1 -1
  160. package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
  161. package/dist/cjs/ion-action-sheet.cjs.entry.js +12 -12
  162. package/dist/cjs/ion-alert.cjs.entry.js +11 -11
  163. package/dist/cjs/ion-app_8.cjs.entry.js +27 -27
  164. package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
  165. package/dist/cjs/ion-back-button.cjs.entry.js +6 -6
  166. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  167. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +10 -10
  168. package/dist/cjs/ion-button_2.cjs.entry.js +19 -7
  169. package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
  170. package/dist/cjs/ion-checkbox.cjs.entry.js +8 -8
  171. package/dist/cjs/ion-chip.cjs.entry.js +4 -4
  172. package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
  173. package/dist/cjs/ion-datetime-button.cjs.entry.js +5 -5
  174. package/dist/cjs/ion-datetime_3.cjs.entry.js +15 -15
  175. package/dist/cjs/ion-fab_3.cjs.entry.js +10 -10
  176. package/dist/cjs/ion-img.cjs.entry.js +4 -4
  177. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
  178. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +93 -0
  179. package/dist/cjs/ion-input.cjs.entry.js +30 -12
  180. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  181. package/dist/cjs/ion-item_8.cjs.entry.js +17 -17
  182. package/dist/cjs/ion-loading.cjs.entry.js +9 -9
  183. package/dist/cjs/ion-menu_3.cjs.entry.js +15 -15
  184. package/dist/cjs/ion-modal.cjs.entry.js +56 -32
  185. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  186. package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
  187. package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
  188. package/dist/cjs/ion-picker.cjs.entry.js +4 -4
  189. package/dist/cjs/ion-popover.cjs.entry.js +12 -12
  190. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
  191. package/dist/cjs/ion-radio_2.cjs.entry.js +9 -9
  192. package/dist/cjs/ion-range.cjs.entry.js +7 -7
  193. package/dist/cjs/ion-refresher_2.cjs.entry.js +9 -9
  194. package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
  195. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
  196. package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
  197. package/dist/cjs/ion-searchbar.cjs.entry.js +10 -10
  198. package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
  199. package/dist/cjs/ion-select_3.cjs.entry.js +12 -12
  200. package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
  201. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
  202. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
  203. package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
  204. package/dist/cjs/ion-text.cjs.entry.js +4 -4
  205. package/dist/cjs/ion-textarea.cjs.entry.js +7 -8
  206. package/dist/cjs/ion-toast.cjs.entry.js +9 -9
  207. package/dist/cjs/ion-toggle.cjs.entry.js +10 -10
  208. package/dist/cjs/{ionic-global-5762eca9.js → ionic-global-62487d02.js} +1 -1
  209. package/dist/cjs/ionic.cjs.js +5 -5
  210. package/dist/cjs/{ios.transition-8e0ca8ed.js → ios.transition-d4f0ca4e.js} +4 -4
  211. package/dist/cjs/loader.cjs.js +4 -4
  212. package/dist/cjs/{md.transition-5d0f134b.js → md.transition-857328f3.js} +4 -4
  213. package/dist/cjs/{notch-controller-0042ad49.js → notch-controller-d69150f5.js} +1 -1
  214. package/dist/cjs/{overlays-30b83581.js → overlays-10c452b2.js} +4 -4
  215. package/dist/cjs/{status-tap-dc3b8fda.js → status-tap-81daddfa.js} +3 -3
  216. package/dist/cjs/{swipe-back-49825f1f.js → swipe-back-f38a434a.js} +1 -1
  217. package/dist/collection/collection-manifest.json +3 -2
  218. package/dist/collection/components/action-sheet/action-sheet.js +3 -3
  219. package/dist/collection/components/alert/alert.js +2 -2
  220. package/dist/collection/components/app/app.js +1 -1
  221. package/dist/collection/components/avatar/avatar.js +1 -1
  222. package/dist/collection/components/back-button/back-button.js +2 -2
  223. package/dist/collection/components/backdrop/backdrop.js +1 -1
  224. package/dist/collection/components/badge/badge.js +2 -2
  225. package/dist/collection/components/breadcrumb/breadcrumb.js +4 -4
  226. package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
  227. package/dist/collection/components/button/button.ios.css +76 -15
  228. package/dist/collection/components/button/button.js +19 -2
  229. package/dist/collection/components/button/button.md.css +75 -19
  230. package/dist/collection/components/button/test/round/button.e2e.js +39 -4
  231. package/dist/collection/components/buttons/buttons.js +2 -2
  232. package/dist/collection/components/card/card.js +1 -1
  233. package/dist/collection/components/card-content/card-content.js +1 -1
  234. package/dist/collection/components/card-header/card-header.js +2 -2
  235. package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
  236. package/dist/collection/components/card-title/card-title.js +2 -2
  237. package/dist/collection/components/checkbox/checkbox.ios.css +1 -0
  238. package/dist/collection/components/checkbox/checkbox.js +3 -3
  239. package/dist/collection/components/checkbox/checkbox.md.css +1 -0
  240. package/dist/collection/components/chip/chip.js +2 -2
  241. package/dist/collection/components/col/col.js +2 -2
  242. package/dist/collection/components/content/content.js +3 -3
  243. package/dist/collection/components/datetime/datetime.js +2 -2
  244. package/dist/collection/components/datetime-button/datetime-button.js +2 -2
  245. package/dist/collection/components/fab/fab.js +2 -2
  246. package/dist/collection/components/fab-button/fab-button.js +2 -2
  247. package/dist/collection/components/fab-list/fab-list.js +2 -2
  248. package/dist/collection/components/footer/footer.js +2 -2
  249. package/dist/collection/components/grid/grid.js +2 -2
  250. package/dist/collection/components/header/header.js +2 -2
  251. package/dist/collection/components/img/img.js +1 -1
  252. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  253. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  254. package/dist/collection/components/input/input.ios.css +9 -0
  255. package/dist/collection/components/input/input.js +26 -29
  256. package/dist/collection/components/input/input.md.css +9 -0
  257. package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
  258. package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
  259. package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
  260. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
  261. package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
  262. package/dist/collection/components/item/item.js +1 -1
  263. package/dist/collection/components/item-divider/item-divider.js +2 -2
  264. package/dist/collection/components/item-group/item-group.js +1 -1
  265. package/dist/collection/components/item-option/item-option.js +2 -2
  266. package/dist/collection/components/item-options/item-options.js +1 -1
  267. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  268. package/dist/collection/components/label/label.js +2 -2
  269. package/dist/collection/components/list/list.js +1 -1
  270. package/dist/collection/components/list-header/list-header.js +2 -2
  271. package/dist/collection/components/loading/loading.js +2 -2
  272. package/dist/collection/components/menu/menu.js +2 -2
  273. package/dist/collection/components/menu-button/menu-button.js +2 -2
  274. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  275. package/dist/collection/components/modal/gestures/sheet.js +45 -20
  276. package/dist/collection/components/modal/modal.js +4 -4
  277. package/dist/collection/components/nav/nav.js +1 -1
  278. package/dist/collection/components/nav-link/nav-link.js +1 -1
  279. package/dist/collection/components/note/note.js +2 -2
  280. package/dist/collection/components/picker/picker.js +2 -2
  281. package/dist/collection/components/picker-column/picker-column.js +3 -3
  282. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  283. package/dist/collection/components/picker-legacy/picker.js +2 -2
  284. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  285. package/dist/collection/components/popover/popover.ios.css +0 -1
  286. package/dist/collection/components/popover/popover.js +2 -2
  287. package/dist/collection/components/popover/popover.md.css +0 -1
  288. package/dist/collection/components/popover/test/basic/popover.e2e.js +76 -0
  289. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  290. package/dist/collection/components/radio/radio.ios.css +1 -0
  291. package/dist/collection/components/radio/radio.js +3 -3
  292. package/dist/collection/components/radio/radio.md.css +1 -0
  293. package/dist/collection/components/radio-group/radio-group.js +1 -1
  294. package/dist/collection/components/range/range.js +3 -3
  295. package/dist/collection/components/refresher/refresher.js +1 -1
  296. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  297. package/dist/collection/components/reorder/reorder.js +1 -1
  298. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  299. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  300. package/dist/collection/components/router-link/router-link.js +2 -2
  301. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  302. package/dist/collection/components/row/row.js +1 -1
  303. package/dist/collection/components/searchbar/searchbar.js +9 -8
  304. package/dist/collection/components/segment/segment.js +2 -2
  305. package/dist/collection/components/segment-button/segment-button.js +3 -3
  306. package/dist/collection/components/select/select.js +2 -2
  307. package/dist/collection/components/select-option/select-option.js +1 -1
  308. package/dist/collection/components/select-popover/select-popover.js +1 -1
  309. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  310. package/dist/collection/components/spinner/spinner.js +1 -1
  311. package/dist/collection/components/split-pane/split-pane.js +2 -2
  312. package/dist/collection/components/tab/tab.js +2 -2
  313. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  314. package/dist/collection/components/tab-button/tab-button.js +2 -2
  315. package/dist/collection/components/tabs/tabs.js +1 -1
  316. package/dist/collection/components/text/text.js +2 -2
  317. package/dist/collection/components/textarea/textarea.js +2 -26
  318. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  319. package/dist/collection/components/title/title.js +2 -2
  320. package/dist/collection/components/toast/toast.js +2 -2
  321. package/dist/collection/components/toggle/toggle.ios.css +1 -0
  322. package/dist/collection/components/toggle/toggle.js +3 -3
  323. package/dist/collection/components/toggle/toggle.md.css +1 -0
  324. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +133 -5
  325. package/dist/collection/components/toolbar/toolbar.js +2 -2
  326. package/dist/collection/utils/animation/animation-utils.js +0 -102
  327. package/dist/collection/utils/animation/animation.js +10 -141
  328. package/dist/collection/utils/animation/test/animation.spec.js +0 -89
  329. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -4
  330. package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -4
  331. package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -4
  332. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -4
  333. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -7
  334. package/dist/collection/utils/native/haptic.js +6 -54
  335. package/dist/collection/utils/tap-click/index.js +5 -34
  336. package/dist/docs.json +182 -7
  337. package/dist/esm/{animation-6a3c0abb.js → animation-eab5a4ca.js} +9 -250
  338. package/dist/esm/{app-globals-80842d68.js → app-globals-49873df1.js} +1 -1
  339. package/dist/esm/{button-active-c6e18fac.js → button-active-46df59c1.js} +2 -2
  340. package/dist/esm/{framework-delegate-3dede018.js → framework-delegate-63d1a679.js} +1 -1
  341. package/dist/esm/{haptic-554688a5.js → haptic-ac164e4c.js} +6 -54
  342. package/dist/esm/{hardware-back-button-fb295e3a.js → hardware-back-button-ba8f64c2.js} +2 -2
  343. package/dist/esm/{helpers-eab4f597.js → helpers-da915de8.js} +1 -4
  344. package/dist/esm/{index-95a691d4.js → index-56d90da9.js} +4 -4
  345. package/dist/esm/{index-044b5a86.js → index-5cc724f3.js} +1 -1
  346. package/dist/esm/{index-fa221975.js → index-79b30591.js} +5 -34
  347. package/dist/esm/{index-5d6a0317.js → index-bcd8859b.js} +48 -12
  348. package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
  349. package/dist/esm/{index-136e99c8.js → index-f0d7371a.js} +4 -4
  350. package/dist/esm/index.js +11 -11
  351. package/dist/esm/{input-shims-196afa11.js → input-shims-4530285e.js} +2 -2
  352. package/dist/esm/{input.utils-426cc674.js → input.utils-09c71bc7.js} +1 -1
  353. package/dist/esm/ion-accordion_2.entry.js +4 -4
  354. package/dist/esm/ion-action-sheet.entry.js +12 -12
  355. package/dist/esm/ion-alert.entry.js +11 -11
  356. package/dist/esm/ion-app_8.entry.js +27 -27
  357. package/dist/esm/ion-avatar_3.entry.js +6 -6
  358. package/dist/esm/ion-back-button.entry.js +6 -6
  359. package/dist/esm/ion-backdrop.entry.js +3 -3
  360. package/dist/esm/ion-breadcrumb_2.entry.js +10 -10
  361. package/dist/esm/ion-button_2.entry.js +19 -7
  362. package/dist/esm/ion-card_5.entry.js +11 -11
  363. package/dist/esm/ion-checkbox.entry.js +8 -8
  364. package/dist/esm/ion-chip.entry.js +4 -4
  365. package/dist/esm/ion-col_3.entry.js +7 -7
  366. package/dist/esm/ion-datetime-button.entry.js +5 -5
  367. package/dist/esm/ion-datetime_3.entry.js +15 -15
  368. package/dist/esm/ion-fab_3.entry.js +10 -10
  369. package/dist/esm/ion-img.entry.js +4 -4
  370. package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
  371. package/dist/esm/ion-input-password-toggle.entry.js +89 -0
  372. package/dist/esm/ion-input.entry.js +30 -12
  373. package/dist/esm/ion-item-option_3.entry.js +8 -8
  374. package/dist/esm/ion-item_8.entry.js +17 -17
  375. package/dist/esm/ion-loading.entry.js +9 -9
  376. package/dist/esm/ion-menu_3.entry.js +15 -15
  377. package/dist/esm/ion-modal.entry.js +56 -32
  378. package/dist/esm/ion-nav_2.entry.js +8 -8
  379. package/dist/esm/ion-picker-column-option.entry.js +5 -5
  380. package/dist/esm/ion-picker-column.entry.js +7 -7
  381. package/dist/esm/ion-picker.entry.js +4 -4
  382. package/dist/esm/ion-popover.entry.js +12 -12
  383. package/dist/esm/ion-progress-bar.entry.js +4 -4
  384. package/dist/esm/ion-radio_2.entry.js +9 -9
  385. package/dist/esm/ion-range.entry.js +7 -7
  386. package/dist/esm/ion-refresher_2.entry.js +9 -9
  387. package/dist/esm/ion-reorder_2.entry.js +8 -8
  388. package/dist/esm/ion-ripple-effect.entry.js +3 -3
  389. package/dist/esm/ion-route_4.entry.js +5 -5
  390. package/dist/esm/ion-searchbar.entry.js +10 -10
  391. package/dist/esm/ion-segment_2.entry.js +8 -8
  392. package/dist/esm/ion-select_3.entry.js +12 -12
  393. package/dist/esm/ion-spinner.entry.js +3 -3
  394. package/dist/esm/ion-split-pane.entry.js +4 -4
  395. package/dist/esm/ion-tab-bar_2.entry.js +7 -7
  396. package/dist/esm/ion-tab_2.entry.js +6 -6
  397. package/dist/esm/ion-text.entry.js +4 -4
  398. package/dist/esm/ion-textarea.entry.js +7 -8
  399. package/dist/esm/ion-toast.entry.js +9 -9
  400. package/dist/esm/ion-toggle.entry.js +10 -10
  401. package/dist/esm/{ionic-global-a589c12c.js → ionic-global-e6c98cd0.js} +1 -1
  402. package/dist/esm/ionic.js +6 -6
  403. package/dist/esm/{ios.transition-d1c8eea2.js → ios.transition-71bfa932.js} +4 -4
  404. package/dist/esm/loader.js +5 -5
  405. package/dist/esm/{md.transition-0d2de76d.js → md.transition-86aef3c0.js} +4 -4
  406. package/dist/esm/{notch-controller-cff691e5.js → notch-controller-55b09e11.js} +1 -1
  407. package/dist/esm/{overlays-d41f74ac.js → overlays-6fb4a2f2.js} +4 -4
  408. package/dist/esm/{status-tap-45595148.js → status-tap-299361cd.js} +3 -3
  409. package/dist/esm/{swipe-back-5aa5feeb.js → swipe-back-b613d7db.js} +1 -1
  410. package/dist/esm-es5/animation-eab5a4ca.js +4 -0
  411. package/dist/esm-es5/app-globals-49873df1.js +4 -0
  412. package/dist/esm-es5/{button-active-c6e18fac.js → button-active-46df59c1.js} +1 -1
  413. package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
  414. package/dist/esm-es5/haptic-ac164e4c.js +4 -0
  415. package/dist/esm-es5/{hardware-back-button-fb295e3a.js → hardware-back-button-ba8f64c2.js} +1 -1
  416. package/dist/esm-es5/{helpers-eab4f597.js → helpers-da915de8.js} +1 -1
  417. package/dist/esm-es5/index-56d90da9.js +4 -0
  418. package/dist/esm-es5/{index-044b5a86.js → index-5cc724f3.js} +1 -1
  419. package/dist/esm-es5/index-79b30591.js +4 -0
  420. package/dist/esm-es5/index-bcd8859b.js +5 -0
  421. package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
  422. package/dist/esm-es5/{index-136e99c8.js → index-f0d7371a.js} +1 -1
  423. package/dist/esm-es5/index.js +1 -1
  424. package/dist/esm-es5/input-shims-4530285e.js +4 -0
  425. package/dist/esm-es5/{input.utils-426cc674.js → input.utils-09c71bc7.js} +1 -1
  426. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  427. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  428. package/dist/esm-es5/ion-alert.entry.js +1 -1
  429. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  430. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  431. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  432. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  433. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  434. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  435. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  436. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  437. package/dist/esm-es5/ion-chip.entry.js +1 -1
  438. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  439. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  440. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  441. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  442. package/dist/esm-es5/ion-img.entry.js +1 -1
  443. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  444. package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
  445. package/dist/esm-es5/ion-input.entry.js +1 -1
  446. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  447. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  448. package/dist/esm-es5/ion-loading.entry.js +1 -1
  449. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  450. package/dist/esm-es5/ion-modal.entry.js +1 -1
  451. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  452. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  453. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  454. package/dist/esm-es5/ion-picker.entry.js +1 -1
  455. package/dist/esm-es5/ion-popover.entry.js +1 -1
  456. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  457. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  458. package/dist/esm-es5/ion-range.entry.js +1 -1
  459. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  460. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  461. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  462. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  463. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  464. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  465. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  466. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  467. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  468. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  469. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  470. package/dist/esm-es5/ion-text.entry.js +1 -1
  471. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  472. package/dist/esm-es5/ion-toast.entry.js +1 -1
  473. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  474. package/dist/esm-es5/{ionic-global-a589c12c.js → ionic-global-e6c98cd0.js} +1 -1
  475. package/dist/esm-es5/ionic.js +1 -1
  476. package/dist/esm-es5/{ios.transition-d1c8eea2.js → ios.transition-71bfa932.js} +1 -1
  477. package/dist/esm-es5/loader.js +1 -1
  478. package/dist/esm-es5/md.transition-86aef3c0.js +4 -0
  479. package/dist/esm-es5/{notch-controller-cff691e5.js → notch-controller-55b09e11.js} +1 -1
  480. package/dist/esm-es5/{overlays-d41f74ac.js → overlays-6fb4a2f2.js} +1 -1
  481. package/dist/esm-es5/{status-tap-45595148.js → status-tap-299361cd.js} +1 -1
  482. package/dist/esm-es5/{swipe-back-5aa5feeb.js → swipe-back-b613d7db.js} +1 -1
  483. package/dist/html.html-data.json +68 -0
  484. package/dist/ionic/index.esm.js +1 -1
  485. package/dist/ionic/ionic.esm.js +1 -1
  486. package/dist/ionic/ionic.js +1 -1
  487. package/dist/ionic/{p-91567c90.system.entry.js → p-005deca1.system.entry.js} +1 -1
  488. package/dist/ionic/{p-325c61a4.js → p-06e58c4e.js} +1 -1
  489. package/dist/ionic/{p-853bd866.system.js → p-07584ab4.system.js} +1 -1
  490. package/dist/ionic/p-0bd47555.js +4 -0
  491. package/dist/ionic/{p-4a3055ef.system.js → p-0c06e09b.system.js} +1 -1
  492. package/dist/ionic/{p-98c86cdd.js → p-0e713efe.js} +1 -1
  493. package/dist/ionic/p-13cc6ee6.entry.js +4 -0
  494. package/dist/ionic/p-1472c130.entry.js +4 -0
  495. package/dist/ionic/{p-bb5eba12.entry.js → p-151e8afd.entry.js} +1 -1
  496. package/dist/ionic/p-184fbc9e.system.js +4 -0
  497. package/dist/ionic/{p-2cc2c631.system.js → p-19ea7bff.system.js} +1 -1
  498. package/dist/ionic/{p-d5ab02f5.entry.js → p-1b0f4e6c.entry.js} +1 -1
  499. package/dist/ionic/p-1ba197b6.entry.js +4 -0
  500. package/dist/ionic/p-1c42ad90.entry.js +4 -0
  501. package/dist/ionic/p-1e955a45.system.js +4 -0
  502. package/dist/ionic/{p-a94092b9.entry.js → p-1fa53d02.entry.js} +1 -1
  503. package/dist/ionic/{p-7680d0ec.entry.js → p-1fe1f512.entry.js} +1 -1
  504. package/dist/ionic/{p-fb870c48.entry.js → p-23fdee0e.entry.js} +1 -1
  505. package/dist/ionic/{p-f85a4df5.system.js → p-2613c305.system.js} +1 -1
  506. package/dist/ionic/{p-a6b8342e.system.entry.js → p-275dd0ba.system.entry.js} +1 -1
  507. package/dist/ionic/{p-42fecf9c.system.entry.js → p-2b86020c.system.entry.js} +1 -1
  508. package/dist/ionic/{p-d0496c22.system.entry.js → p-3008ca4e.system.entry.js} +1 -1
  509. package/dist/ionic/p-332aa81e.entry.js +4 -0
  510. package/dist/ionic/p-341b3f37.entry.js +4 -0
  511. package/dist/ionic/{p-a600a3e3.js → p-34b11c24.js} +1 -1
  512. package/dist/ionic/{p-668607c2.system.js → p-3ad285e3.system.js} +1 -1
  513. package/dist/ionic/{p-c6f9f3eb.js → p-3cc276f4.js} +1 -1
  514. package/dist/ionic/{p-40976b1c.system.entry.js → p-3d977e09.system.entry.js} +2 -2
  515. package/dist/ionic/{p-219c17cf.system.entry.js → p-3de2aab8.system.entry.js} +1 -1
  516. package/dist/ionic/p-405fd996.entry.js +4 -0
  517. package/dist/ionic/p-46111310.js +4 -0
  518. package/dist/ionic/p-46f407f0.system.js +4 -0
  519. package/dist/ionic/{p-bb608006.system.entry.js → p-4809ddae.system.entry.js} +1 -1
  520. package/dist/ionic/{p-8a881b39.entry.js → p-48f60474.entry.js} +1 -1
  521. package/dist/ionic/p-495ed1c3.entry.js +4 -0
  522. package/dist/ionic/{p-7002bc75.entry.js → p-4a01cec0.entry.js} +1 -1
  523. package/dist/ionic/p-4de53118.js +4 -0
  524. package/dist/ionic/p-4edce583.system.entry.js +4 -0
  525. package/dist/ionic/p-4f6ebc2b.entry.js +4 -0
  526. package/dist/ionic/p-4f77a080.system.entry.js +4 -0
  527. package/dist/ionic/{p-da5bbd4f.entry.js → p-4fadf4b0.entry.js} +1 -1
  528. package/dist/ionic/{p-db7fcadb.system.entry.js → p-50205ef9.system.entry.js} +2 -2
  529. package/dist/ionic/{p-6d9f8fac.system.js → p-510cb8e6.system.js} +1 -1
  530. package/dist/ionic/p-530207f9.entry.js +4 -0
  531. package/dist/ionic/p-53d37363.entry.js +4 -0
  532. package/dist/ionic/{p-7d29dff0.system.entry.js → p-53d69c70.system.entry.js} +1 -1
  533. package/dist/ionic/{p-af2e3481.system.entry.js → p-55bc2a11.system.entry.js} +1 -1
  534. package/dist/ionic/p-582db405.system.entry.js +4 -0
  535. package/dist/ionic/p-5ad55625.entry.js +4 -0
  536. package/dist/ionic/p-5c26fed5.system.entry.js +4 -0
  537. package/dist/ionic/p-5f28cb75.js +4 -0
  538. package/dist/ionic/{p-239906f1.js → p-67f5b57a.js} +1 -1
  539. package/dist/ionic/{p-f7af3144.system.entry.js → p-68afa357.system.entry.js} +2 -2
  540. package/dist/ionic/{p-af9256a0.system.js → p-6ac30fc3.system.js} +1 -1
  541. package/dist/ionic/p-6c5c1bb5.system.js +4 -0
  542. package/dist/ionic/{p-92b05b70.system.entry.js → p-6cf780b6.system.entry.js} +1 -1
  543. package/dist/ionic/p-6dc81903.entry.js +4 -0
  544. package/dist/ionic/{p-8ed900e4.entry.js → p-6e4dac1a.entry.js} +1 -1
  545. package/dist/ionic/{p-6a888b39.system.entry.js → p-6ef17d86.system.entry.js} +1 -1
  546. package/dist/ionic/p-72812e99.js +4 -0
  547. package/dist/ionic/p-7372cf23.system.entry.js +4 -0
  548. package/dist/ionic/p-7492572a.entry.js +4 -0
  549. package/dist/ionic/p-7596e24d.system.js +5 -0
  550. package/dist/ionic/p-76971b4f.entry.js +4 -0
  551. package/dist/ionic/{p-9e3177a5.system.js → p-7a7ff5e3.system.js} +1 -1
  552. package/dist/ionic/{p-6a62da36.system.js → p-7bbcce53.system.js} +1 -1
  553. package/dist/ionic/{p-5ac63b19.system.entry.js → p-7c93f00b.system.entry.js} +1 -1
  554. package/dist/ionic/{p-9e6a5e3d.system.entry.js → p-7f33a6e2.system.entry.js} +2 -2
  555. package/dist/ionic/{p-7adde43c.system.entry.js → p-814efd87.system.entry.js} +1 -1
  556. package/dist/ionic/{p-031c5621.js → p-83b445c3.js} +1 -1
  557. package/dist/ionic/p-8635f5e6.system.js +4 -0
  558. package/dist/ionic/p-89b61afc.js +4 -0
  559. package/dist/ionic/{p-00a6f38d.entry.js → p-8a5152e5.entry.js} +1 -1
  560. package/dist/ionic/{p-976c7c54.js → p-8f9e2850.js} +1 -1
  561. package/dist/ionic/{p-c41e0b5f.system.entry.js → p-904df2ee.system.entry.js} +2 -2
  562. package/dist/ionic/{p-02a803dc.entry.js → p-90f8498c.entry.js} +1 -1
  563. package/dist/ionic/p-9146695e.system.js +4 -0
  564. package/dist/ionic/p-91b568e2.system.entry.js +4 -0
  565. package/dist/ionic/{p-07759435.system.js → p-91dabef7.system.js} +1 -1
  566. package/dist/ionic/{p-78b3da77.js → p-96a561dd.js} +1 -1
  567. package/dist/ionic/{p-a3dae2ce.js → p-96cc4814.js} +1 -1
  568. package/dist/ionic/p-987e38ef.system.entry.js +4 -0
  569. package/dist/ionic/{p-a88b41d1.system.entry.js → p-98af538a.system.entry.js} +2 -2
  570. package/dist/ionic/p-9ccc8035.system.entry.js +4 -0
  571. package/dist/ionic/{p-e0d52ee3.system.js → p-9ea607bd.system.js} +2 -2
  572. package/dist/ionic/p-9fa5ff32.system.js +4 -0
  573. package/dist/ionic/{p-8dd3d9c3.system.entry.js → p-9fd3ca09.system.entry.js} +1 -1
  574. package/dist/ionic/p-a15ddedb.system.js +4 -0
  575. package/dist/ionic/p-a28ea4d8.system.entry.js +4 -0
  576. package/dist/ionic/{p-2bb65deb.entry.js → p-a39a73e3.entry.js} +1 -1
  577. package/dist/ionic/{p-978f4710.js → p-a90201f2.js} +1 -1
  578. package/dist/ionic/p-a93873de.system.js +4 -0
  579. package/dist/ionic/{p-185db19b.system.entry.js → p-aa79cc0e.system.entry.js} +2 -2
  580. package/dist/ionic/{p-1bb1ef31.system.entry.js → p-aa8a2f40.system.entry.js} +1 -1
  581. package/dist/ionic/p-ac045dad.entry.js +4 -0
  582. package/dist/ionic/{p-dd9168f3.entry.js → p-ad2b9596.entry.js} +1 -1
  583. package/dist/ionic/p-ae42c907.entry.js +4 -0
  584. package/dist/ionic/{p-23838a94.system.entry.js → p-aea5f293.system.entry.js} +1 -1
  585. package/dist/ionic/p-b4a7f856.system.entry.js +4 -0
  586. package/dist/ionic/{p-364044f0.js → p-b51e4004.js} +1 -1
  587. package/dist/ionic/p-b6519a42.entry.js +4 -0
  588. package/dist/ionic/p-b7af48c0.js +4 -0
  589. package/dist/ionic/{p-54c31b4f.entry.js → p-ba35f07f.entry.js} +1 -1
  590. package/dist/ionic/{p-d4d17d47.entry.js → p-bc3d649d.entry.js} +1 -1
  591. package/dist/ionic/p-c1c77386.js +5 -0
  592. package/dist/ionic/{p-85f43165.system.entry.js → p-c2762c6a.system.entry.js} +1 -1
  593. package/dist/ionic/p-c4e495a3.system.js +4 -0
  594. package/dist/ionic/p-c4eafa12.system.entry.js +4 -0
  595. package/dist/ionic/{p-294c47cd.system.entry.js → p-c54b167f.system.entry.js} +1 -1
  596. package/dist/ionic/p-c7e16491.js +4 -0
  597. package/dist/ionic/{p-17ee2784.system.entry.js → p-c927dbe2.system.entry.js} +1 -1
  598. package/dist/ionic/{p-282bd5f9.system.entry.js → p-ca5bb110.system.entry.js} +1 -1
  599. package/dist/ionic/p-ca6decbd.entry.js +4 -0
  600. package/dist/ionic/p-cbd87df6.entry.js +4 -0
  601. package/dist/ionic/p-cf45a5c7.system.entry.js +4 -0
  602. package/dist/ionic/{p-1685d81c.system.entry.js → p-cf8101a6.system.entry.js} +1 -1
  603. package/dist/ionic/p-d061515d.system.entry.js +4 -0
  604. package/dist/ionic/{p-3ae4a2a2.entry.js → p-d73f49d0.entry.js} +1 -1
  605. package/dist/ionic/p-da2b833b.js +4 -0
  606. package/dist/ionic/p-dbc3e90c.entry.js +4 -0
  607. package/dist/ionic/{p-70c278c4.system.entry.js → p-dc4406d7.system.entry.js} +1 -1
  608. package/dist/ionic/p-dec86943.entry.js +4 -0
  609. package/dist/ionic/p-df0d39c7.system.entry.js +4 -0
  610. package/dist/ionic/{p-1a8bbd2e.entry.js → p-e099a6f3.entry.js} +1 -1
  611. package/dist/ionic/p-e1ad8e76.entry.js +4 -0
  612. package/dist/ionic/{p-d286cfbe.system.entry.js → p-e292247e.system.entry.js} +1 -1
  613. package/dist/ionic/p-e548fedf.system.entry.js +4 -0
  614. package/dist/ionic/{p-7c7e495d.system.js → p-e5a3659f.system.js} +1 -1
  615. package/dist/ionic/{p-5a277399.system.entry.js → p-e6d46b5d.system.entry.js} +1 -1
  616. package/dist/ionic/p-e781c893.entry.js +4 -0
  617. package/dist/ionic/{p-d8ffe61c.system.entry.js → p-e81c3ca2.system.entry.js} +1 -1
  618. package/dist/ionic/{p-fa8ee4c3.entry.js → p-e8a713b5.entry.js} +1 -1
  619. package/dist/ionic/{p-b141e253.entry.js → p-e93cd31c.entry.js} +1 -1
  620. package/dist/ionic/p-ec178f19.entry.js +4 -0
  621. package/dist/ionic/{p-3cd3214e.entry.js → p-eda2459e.entry.js} +1 -1
  622. package/dist/ionic/p-f13dc6bd.system.entry.js +4 -0
  623. package/dist/ionic/p-f6ca4d02.js +4 -0
  624. package/dist/ionic/{p-1807190c.entry.js → p-f6fec6a0.entry.js} +1 -1
  625. package/dist/ionic/{p-2852c537.system.entry.js → p-f8f8c5a8.system.entry.js} +1 -1
  626. package/dist/ionic/p-f956e38a.entry.js +4 -0
  627. package/dist/ionic/p-fea11771.entry.js +4 -0
  628. package/dist/ionic/{p-30dfa360.system.js → p-ffbc80ae.system.js} +1 -1
  629. package/dist/types/components/button/button.d.ts +5 -0
  630. package/dist/types/components/datetime/utils/manipulation.d.ts +7 -7
  631. package/dist/types/components/datetime/utils/state.d.ts +2 -2
  632. package/dist/types/components/input/input.d.ts +7 -6
  633. package/dist/types/components/input/input.utils.d.ts +1 -1
  634. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
  635. package/dist/types/components/searchbar/searchbar.d.ts +0 -14
  636. package/dist/types/components/textarea/textarea.d.ts +1 -6
  637. package/dist/types/components.d.ts +47 -3
  638. package/dist/types/utils/animation/animation-utils.d.ts +0 -12
  639. package/dist/types/utils/focus-trap.d.ts +2 -2
  640. package/dist/types/utils/framework-delegate.d.ts +1 -1
  641. package/dist/types/utils/keyboard/keyboard-controller.d.ts +1 -1
  642. package/dist/types/utils/overlays.d.ts +2 -2
  643. package/hydrate/index.js +425 -525
  644. package/package.json +6 -6
  645. package/dist/esm-es5/animation-6a3c0abb.js +0 -4
  646. package/dist/esm-es5/app-globals-80842d68.js +0 -4
  647. package/dist/esm-es5/framework-delegate-3dede018.js +0 -4
  648. package/dist/esm-es5/haptic-554688a5.js +0 -4
  649. package/dist/esm-es5/index-5d6a0317.js +0 -5
  650. package/dist/esm-es5/index-95a691d4.js +0 -4
  651. package/dist/esm-es5/index-fa221975.js +0 -4
  652. package/dist/esm-es5/input-shims-196afa11.js +0 -4
  653. package/dist/esm-es5/md.transition-0d2de76d.js +0 -4
  654. package/dist/ionic/p-0051ceb9.entry.js +0 -4
  655. package/dist/ionic/p-08a8971e.system.js +0 -4
  656. package/dist/ionic/p-0e4c9e45.system.js +0 -4
  657. package/dist/ionic/p-103ec049.system.entry.js +0 -4
  658. package/dist/ionic/p-17043350.system.js +0 -4
  659. package/dist/ionic/p-1c801dd4.entry.js +0 -4
  660. package/dist/ionic/p-2130b526.entry.js +0 -4
  661. package/dist/ionic/p-22b5c888.system.entry.js +0 -4
  662. package/dist/ionic/p-23cff6c1.system.js +0 -4
  663. package/dist/ionic/p-23efc001.entry.js +0 -4
  664. package/dist/ionic/p-244f56fd.js +0 -4
  665. package/dist/ionic/p-27c668a0.entry.js +0 -4
  666. package/dist/ionic/p-29ef3b9b.entry.js +0 -4
  667. package/dist/ionic/p-2f53c3eb.js +0 -4
  668. package/dist/ionic/p-2f6bc4a9.system.entry.js +0 -4
  669. package/dist/ionic/p-34c50a42.system.entry.js +0 -4
  670. package/dist/ionic/p-3785c067.entry.js +0 -4
  671. package/dist/ionic/p-3e6e53fe.system.entry.js +0 -4
  672. package/dist/ionic/p-42f189f4.js +0 -4
  673. package/dist/ionic/p-43c751c6.system.entry.js +0 -4
  674. package/dist/ionic/p-4d325220.system.entry.js +0 -4
  675. package/dist/ionic/p-4d361c89.entry.js +0 -4
  676. package/dist/ionic/p-5b2951c1.system.entry.js +0 -4
  677. package/dist/ionic/p-5b52897c.js +0 -4
  678. package/dist/ionic/p-5e39b9d8.entry.js +0 -4
  679. package/dist/ionic/p-610f0e12.entry.js +0 -4
  680. package/dist/ionic/p-66e50777.entry.js +0 -4
  681. package/dist/ionic/p-6a448415.entry.js +0 -4
  682. package/dist/ionic/p-7d4d9c40.system.entry.js +0 -4
  683. package/dist/ionic/p-7e7d534c.js +0 -4
  684. package/dist/ionic/p-831269de.js +0 -4
  685. package/dist/ionic/p-86c17a09.entry.js +0 -4
  686. package/dist/ionic/p-9b5d033a.system.entry.js +0 -4
  687. package/dist/ionic/p-a0e8f913.entry.js +0 -4
  688. package/dist/ionic/p-a4c287f9.entry.js +0 -4
  689. package/dist/ionic/p-ac6db4c2.js +0 -4
  690. package/dist/ionic/p-b0aaa59a.system.entry.js +0 -4
  691. package/dist/ionic/p-b1d9b078.entry.js +0 -4
  692. package/dist/ionic/p-ba0290d1.entry.js +0 -4
  693. package/dist/ionic/p-c385e49d.entry.js +0 -4
  694. package/dist/ionic/p-c3f5d0e7.js +0 -4
  695. package/dist/ionic/p-c629d22b.system.js +0 -5
  696. package/dist/ionic/p-c8383c20.entry.js +0 -4
  697. package/dist/ionic/p-c995da88.system.js +0 -4
  698. package/dist/ionic/p-cbf0a046.system.entry.js +0 -4
  699. package/dist/ionic/p-d372938e.system.entry.js +0 -4
  700. package/dist/ionic/p-d704f798.system.js +0 -4
  701. package/dist/ionic/p-d8090ce4.entry.js +0 -4
  702. package/dist/ionic/p-d80b7e31.system.js +0 -4
  703. package/dist/ionic/p-dad515dc.js +0 -4
  704. package/dist/ionic/p-dfb6de03.system.js +0 -4
  705. package/dist/ionic/p-e3611c25.entry.js +0 -4
  706. package/dist/ionic/p-e4ca94bd.js +0 -4
  707. package/dist/ionic/p-e7b0b64d.system.js +0 -4
  708. package/dist/ionic/p-ebc5b98f.entry.js +0 -4
  709. package/dist/ionic/p-ec34194e.system.entry.js +0 -4
  710. package/dist/ionic/p-ec613387.entry.js +0 -4
  711. package/dist/ionic/p-ed3463be.entry.js +0 -4
  712. package/dist/ionic/p-f1d1524c.entry.js +0 -4
  713. package/dist/ionic/p-f7a1318d.system.entry.js +0 -4
  714. package/dist/ionic/p-f8502e85.js +0 -5
  715. package/dist/ionic/p-fe1fd531.system.js +0 -4
  716. package/dist/ionic/p-fe35b5c0.entry.js +0 -4
@@ -2,8 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { win } from "../browser";
5
- import { raf } from "../helpers";
6
- import { addClassToArray, animationEnd, createKeyframeStylesheet, generateKeyframeName, generateKeyframeRules, processKeyframes, removeStyleProperty, setStyleProperty, } from "./animation-utils";
5
+ import { addClassToArray, setStyleProperty } from "./animation-utils";
7
6
  export const createAnimation = (animationId) => {
8
7
  let _delay;
9
8
  let _duration;
@@ -30,7 +29,6 @@ export const createAnimation = (animationId) => {
30
29
  let willComplete = true;
31
30
  let finished = false;
32
31
  let shouldCalculateNumAnimations = true;
33
- let keyframeName;
34
32
  let ani;
35
33
  let paused = false;
36
34
  const id = animationId;
@@ -47,10 +45,16 @@ export const createAnimation = (animationId) => {
47
45
  const webAnimations = [];
48
46
  const supportsAnimationEffect = typeof AnimationEffect === 'function' ||
49
47
  (win !== undefined && typeof win.AnimationEffect === 'function');
48
+ /**
49
+ * This is a feature detection for Web Animations.
50
+ *
51
+ * Certain environments such as emulated browser environments for testing,
52
+ * do not support Web Animations. As a result, we need to check for support
53
+ * and provide a fallback to test certain functionality related to Web Animations.
54
+ */
50
55
  const supportsWebAnimations = typeof Element === 'function' &&
51
56
  typeof Element.prototype.animate === 'function' &&
52
57
  supportsAnimationEffect;
53
- const ANIMATION_END_FALLBACK_PADDING_MS = 100;
54
58
  const getWebAnimations = () => {
55
59
  return webAnimations;
56
60
  };
@@ -138,21 +142,6 @@ export const createAnimation = (animationId) => {
138
142
  });
139
143
  webAnimations.length = 0;
140
144
  }
141
- else {
142
- const elementsArray = elements.slice();
143
- raf(() => {
144
- elementsArray.forEach((element) => {
145
- removeStyleProperty(element, 'animation-name');
146
- removeStyleProperty(element, 'animation-duration');
147
- removeStyleProperty(element, 'animation-timing-function');
148
- removeStyleProperty(element, 'animation-iteration-count');
149
- removeStyleProperty(element, 'animation-delay');
150
- removeStyleProperty(element, 'animation-play-state');
151
- removeStyleProperty(element, 'animation-fill-mode');
152
- removeStyleProperty(element, 'animation-direction');
153
- });
154
- });
155
- }
156
145
  };
157
146
  /**
158
147
  * Removes the animation's stylesheets
@@ -410,9 +399,6 @@ export const createAnimation = (animationId) => {
410
399
  }
411
400
  });
412
401
  }
413
- else {
414
- initializeCSSAnimation();
415
- }
416
402
  };
417
403
  /**
418
404
  * Run all "before" animation hooks.
@@ -498,32 +484,6 @@ export const createAnimation = (animationId) => {
498
484
  }
499
485
  }
500
486
  };
501
- const initializeCSSAnimation = (toggleAnimationName = true) => {
502
- cleanUpStyleSheets();
503
- const processedKeyframes = processKeyframes(_keyframes);
504
- elements.forEach((element) => {
505
- if (processedKeyframes.length > 0) {
506
- const keyframeRules = generateKeyframeRules(processedKeyframes);
507
- keyframeName = animationId !== undefined ? animationId : generateKeyframeName(keyframeRules);
508
- const stylesheet = createKeyframeStylesheet(keyframeName, keyframeRules, element);
509
- stylesheets.push(stylesheet);
510
- setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
511
- setStyleProperty(element, 'animation-timing-function', getEasing());
512
- setStyleProperty(element, 'animation-delay', `${getDelay()}ms`);
513
- setStyleProperty(element, 'animation-fill-mode', getFill());
514
- setStyleProperty(element, 'animation-direction', getDirection());
515
- const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
516
- setStyleProperty(element, 'animation-iteration-count', iterationsCount);
517
- setStyleProperty(element, 'animation-play-state', 'paused');
518
- if (toggleAnimationName) {
519
- setStyleProperty(element, 'animation-name', `${stylesheet.id}-alt`);
520
- }
521
- raf(() => {
522
- setStyleProperty(element, 'animation-name', stylesheet.id || null);
523
- });
524
- }
525
- });
526
- };
527
487
  const initializeWebAnimation = () => {
528
488
  elements.forEach((element) => {
529
489
  const animation = element.animate(_keyframes, {
@@ -544,15 +504,12 @@ export const createAnimation = (animationId) => {
544
504
  };
545
505
  }
546
506
  };
547
- const initializeAnimation = (toggleAnimationName = true) => {
507
+ const initializeAnimation = () => {
548
508
  beforeAnimation();
549
509
  if (_keyframes.length > 0) {
550
510
  if (supportsWebAnimations) {
551
511
  initializeWebAnimation();
552
512
  }
553
- else {
554
- initializeCSSAnimation(toggleAnimationName);
555
- }
556
513
  }
557
514
  initialized = true;
558
515
  };
@@ -565,15 +522,6 @@ export const createAnimation = (animationId) => {
565
522
  animation.pause();
566
523
  });
567
524
  }
568
- else {
569
- const animationDuration = `-${getDuration() * step}ms`;
570
- elements.forEach((element) => {
571
- if (_keyframes.length > 0) {
572
- setStyleProperty(element, 'animation-delay', animationDuration);
573
- setStyleProperty(element, 'animation-play-state', 'paused');
574
- }
575
- });
576
- }
577
525
  };
578
526
  const updateWebAnimation = (step) => {
579
527
  webAnimations.forEach((animation) => {
@@ -590,26 +538,6 @@ export const createAnimation = (animationId) => {
590
538
  setAnimationStep(step);
591
539
  }
592
540
  };
593
- const updateCSSAnimation = (toggleAnimationName = true, step) => {
594
- raf(() => {
595
- elements.forEach((element) => {
596
- setStyleProperty(element, 'animation-name', keyframeName || null);
597
- setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
598
- setStyleProperty(element, 'animation-timing-function', getEasing());
599
- setStyleProperty(element, 'animation-delay', step !== undefined ? `-${step * getDuration()}ms` : `${getDelay()}ms`);
600
- setStyleProperty(element, 'animation-fill-mode', getFill() || null);
601
- setStyleProperty(element, 'animation-direction', getDirection() || null);
602
- const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
603
- setStyleProperty(element, 'animation-iteration-count', iterationsCount);
604
- if (toggleAnimationName) {
605
- setStyleProperty(element, 'animation-name', `${keyframeName}-alt`);
606
- }
607
- raf(() => {
608
- setStyleProperty(element, 'animation-name', keyframeName || null);
609
- });
610
- });
611
- });
612
- };
613
541
  const update = (deep = false, toggleAnimationName = true, step) => {
614
542
  if (deep) {
615
543
  childAnimations.forEach((animation) => {
@@ -619,9 +547,6 @@ export const createAnimation = (animationId) => {
619
547
  if (supportsWebAnimations) {
620
548
  updateWebAnimation(step);
621
549
  }
622
- else {
623
- updateCSSAnimation(toggleAnimationName, step);
624
- }
625
550
  return ani;
626
551
  };
627
552
  const progressStart = (forceLinearEasing = false, step) => {
@@ -704,10 +629,6 @@ export const createAnimation = (animationId) => {
704
629
  pauseAnimation();
705
630
  return ani;
706
631
  };
707
- const onAnimationEndFallback = () => {
708
- cssAnimationsTimerFallback = undefined;
709
- animationFinish();
710
- };
711
632
  const clearCSSAnimationsTimeout = () => {
712
633
  if (cssAnimationsTimerFallback) {
713
634
  clearTimeout(cssAnimationsTimerFallback);
@@ -715,56 +636,7 @@ export const createAnimation = (animationId) => {
715
636
  };
716
637
  const playCSSAnimations = () => {
717
638
  clearCSSAnimationsTimeout();
718
- raf(() => {
719
- elements.forEach((element) => {
720
- if (_keyframes.length > 0) {
721
- setStyleProperty(element, 'animation-play-state', 'running');
722
- }
723
- });
724
- });
725
- if (_keyframes.length === 0 || elements.length === 0) {
726
- animationFinish();
727
- }
728
- else {
729
- /**
730
- * This is a catchall in the event that a CSS Animation did not finish.
731
- * The Web Animations API has mechanisms in place for preventing this.
732
- * CSS Animations will not fire an `animationend` event
733
- * for elements with `display: none`. The Web Animations API
734
- * accounts for this, but using raw CSS Animations requires
735
- * this workaround.
736
- */
737
- const animationDelay = getDelay() || 0;
738
- const animationDuration = getDuration() || 0;
739
- const animationIterations = getIterations() || 1;
740
- // No need to set a timeout when animation has infinite iterations
741
- if (isFinite(animationIterations)) {
742
- cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + animationDuration * animationIterations + ANIMATION_END_FALLBACK_PADDING_MS);
743
- }
744
- animationEnd(elements[0], () => {
745
- clearCSSAnimationsTimeout();
746
- /**
747
- * Ensure that clean up
748
- * is always done a frame
749
- * before the onFinish handlers
750
- * are fired. Otherwise, there
751
- * may be flickering if a new
752
- * animation is started on the same
753
- * element too quickly
754
- */
755
- raf(() => {
756
- clearCSSAnimationPlayState();
757
- raf(animationFinish);
758
- });
759
- });
760
- }
761
- };
762
- const clearCSSAnimationPlayState = () => {
763
- elements.forEach((element) => {
764
- removeStyleProperty(element, 'animation-duration');
765
- removeStyleProperty(element, 'animation-delay');
766
- removeStyleProperty(element, 'animation-play-state');
767
- });
639
+ animationFinish();
768
640
  };
769
641
  const playWebAnimations = () => {
770
642
  webAnimations.forEach((animation) => {
@@ -779,9 +651,6 @@ export const createAnimation = (animationId) => {
779
651
  setAnimationStep(0);
780
652
  updateWebAnimation();
781
653
  }
782
- else {
783
- updateCSSAnimation();
784
- }
785
654
  };
786
655
  const play = (opts) => {
787
656
  return new Promise((resolve) => {
@@ -2,7 +2,6 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { createAnimation } from "../animation";
5
- import { processKeyframes } from "../animation-utils";
6
5
  import { getTimeGivenProgression } from "../cubic-bezier";
7
6
  describe('Animation Class', () => {
8
7
  describe('progressEnd callbacks', () => {
@@ -48,84 +47,6 @@ describe('Animation Class', () => {
48
47
  animation.play();
49
48
  expect(animation.isRunning()).toEqual(false);
50
49
  });
51
- it('should be running', () => {
52
- const el = document.createElement('div');
53
- animation.addElement(el);
54
- animation.keyframes([
55
- { transform: 'scale(1)', opacity: 1, offset: 0 },
56
- { transform: 'scale(0)', opacity: 0, offset: 1 },
57
- ]);
58
- animation.duration(250);
59
- animation.play();
60
- expect(animation.isRunning()).toEqual(true);
61
- });
62
- it('should not be running after finishing the animation', async () => {
63
- const el = document.createElement('div');
64
- animation.addElement(el);
65
- animation.keyframes([
66
- { transform: 'scale(1)', opacity: 1, offset: 0 },
67
- { transform: 'scale(0)', opacity: 0, offset: 1 },
68
- ]);
69
- animation.duration(250);
70
- await animation.play();
71
- expect(animation.isRunning()).toEqual(false);
72
- });
73
- it('should not be running after calling pause', () => {
74
- const el = document.createElement('div');
75
- animation.addElement(el);
76
- animation.keyframes([
77
- { transform: 'scale(1)', opacity: 1, offset: 0 },
78
- { transform: 'scale(0)', opacity: 0, offset: 1 },
79
- ]);
80
- animation.duration(250);
81
- animation.play();
82
- expect(animation.isRunning()).toEqual(true);
83
- animation.pause();
84
- expect(animation.isRunning()).toEqual(false);
85
- });
86
- it('should not be running when doing progress steps', () => {
87
- const el = document.createElement('div');
88
- animation.addElement(el);
89
- animation.keyframes([
90
- { transform: 'scale(1)', opacity: 1, offset: 0 },
91
- { transform: 'scale(0)', opacity: 0, offset: 1 },
92
- ]);
93
- animation.duration(250);
94
- animation.play();
95
- animation.progressStart();
96
- expect(animation.isRunning()).toEqual(false);
97
- });
98
- it('should be running after calling progressEnd', () => {
99
- const el = document.createElement('div');
100
- animation.addElement(el);
101
- animation.keyframes([
102
- { transform: 'scale(1)', opacity: 1, offset: 0 },
103
- { transform: 'scale(0)', opacity: 0, offset: 1 },
104
- ]);
105
- animation.duration(250);
106
- animation.play();
107
- animation.progressStart();
108
- animation.progressEnd(1, 0);
109
- expect(animation.isRunning()).toEqual(true);
110
- });
111
- it('should not be running after playing to beginning', async () => {
112
- const el = document.createElement('div');
113
- animation.addElement(el);
114
- animation.keyframes([
115
- { transform: 'scale(1)', opacity: 1, offset: 0 },
116
- { transform: 'scale(0)', opacity: 0, offset: 1 },
117
- ]);
118
- animation.duration(250);
119
- await animation.play();
120
- animation.progressStart();
121
- animation.progressEnd(0, 0);
122
- await new Promise((resolve) => {
123
- animation.onFinish(() => {
124
- expect(animation.isRunning()).toEqual(false);
125
- resolve();
126
- });
127
- });
128
- });
129
50
  });
130
51
  describe('addElement()', () => {
131
52
  let animation;
@@ -183,16 +104,6 @@ describe('Animation Class', () => {
183
104
  ]);
184
105
  expect(animation.getKeyframes().length).toEqual(3);
185
106
  });
186
- it('should convert properties for CSS Animations', () => {
187
- const processedKeyframes = processKeyframes([
188
- { borderRadius: '0px', easing: 'ease-in', offset: 0 },
189
- { borderRadius: '4px', easing: 'ease-out', offset: 1 },
190
- ]);
191
- expect(processedKeyframes).toEqual([
192
- { 'border-radius': '0px', 'animation-timing-function': 'ease-in', offset: 0 },
193
- { 'border-radius': '4px', 'animation-timing-function': 'ease-out', offset: 1 },
194
- ]);
195
- });
196
107
  it('should set the from keyframe properly', () => {
197
108
  animation.from('opacity', 0).from('background', 'red').from('color', 'purple');
198
109
  const keyframes = animation.getKeyframes();
@@ -12,10 +12,6 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
12
12
  await page.goto('/src/utils/animation/test/animationbuilder', config);
13
13
  await testNavigation(page);
14
14
  });
15
- test('ios-transition css', async ({ page }) => {
16
- await page.goto('/src/utils/animation/test/animationbuilder?ionic:_forceCSSAnimations=true', config);
17
- await testNavigation(page);
18
- });
19
15
  });
20
16
  });
21
17
  const testNavigation = async (page) => {
@@ -8,10 +8,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
8
8
  await page.goto('/src/utils/animation/test/basic', config);
9
9
  await testPage(page);
10
10
  });
11
- test(`should resolve using css animations`, async ({ page }) => {
12
- await page.goto('/src/utils/animation/test/basic?ionic:_forceCSSAnimations=true', config);
13
- await testPage(page);
14
- });
15
11
  });
16
12
  });
17
13
  const testPage = async (page) => {
@@ -9,10 +9,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
9
9
  await page.goto('/src/utils/animation/test/display', config);
10
10
  await testDisplay(page);
11
11
  });
12
- test(`should resolve using css animations`, async ({ page }) => {
13
- await page.goto('/src/utils/animation/test/display?ionic:_forceCSSAnimations=true', config);
14
- await testDisplay(page);
15
- });
16
12
  });
17
13
  });
18
14
  const testDisplay = async (page) => {
@@ -9,10 +9,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
9
9
  await page.goto('/src/utils/animation/test/hooks', config);
10
10
  await testHooks(page);
11
11
  });
12
- test(`should fire hooks using css animations`, async ({ page }) => {
13
- await page.goto('/src/utils/animation/test/hooks?ionic:_forceCSSAnimations=true', config);
14
- await testHooks(page);
15
- });
16
12
  });
17
13
  });
18
14
  const testHooks = async (page) => {
@@ -9,13 +9,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
9
9
  await page.goto('/src/utils/animation/test/multiple', config);
10
10
  await testMultiple(page);
11
11
  });
12
- /**
13
- * CSS animations will occasionally resolve out of order, so we skip for now
14
- */
15
- test.skip(`should resolve grouped animations using css animations`, async ({ page }) => {
16
- await page.goto('/src/utils/animation/test/multiple?ionic:_forceCSSAnimations=true', config);
17
- await testMultiple(page);
18
- });
19
12
  });
20
13
  });
21
14
  const testMultiple = async (page) => {
@@ -46,12 +46,6 @@ export var NotificationType;
46
46
  })(NotificationType || (NotificationType = {}));
47
47
  const HapticEngine = {
48
48
  getEngine() {
49
- const tapticEngine = window.TapticEngine;
50
- if (tapticEngine) {
51
- // Cordova
52
- // TODO FW-4707 - Remove this in Ionic 8
53
- return tapticEngine;
54
- }
55
49
  const capacitor = getCapacitor();
56
50
  if (capacitor === null || capacitor === void 0 ? void 0 : capacitor.isPluginAvailable('Haptics')) {
57
51
  // Capacitor
@@ -80,85 +74,43 @@ const HapticEngine = {
80
74
  }
81
75
  return true;
82
76
  },
83
- isCordova() {
84
- return window.TapticEngine !== undefined;
85
- },
86
- isCapacitor() {
87
- return getCapacitor() !== undefined;
88
- },
89
77
  impact(options) {
90
78
  const engine = this.getEngine();
91
79
  if (!engine) {
92
80
  return;
93
81
  }
94
- /**
95
- * To provide backwards compatibility with Cordova apps,
96
- * we convert the style to lowercase.
97
- *
98
- * TODO: FW-4707 - Remove this in Ionic 8
99
- */
100
- const style = this.isCapacitor() ? options.style : options.style.toLowerCase();
101
- engine.impact({ style });
82
+ engine.impact({ style: options.style });
102
83
  },
103
84
  notification(options) {
104
85
  const engine = this.getEngine();
105
86
  if (!engine) {
106
87
  return;
107
88
  }
108
- /**
109
- * To provide backwards compatibility with Cordova apps,
110
- * we convert the style to lowercase.
111
- *
112
- * TODO: FW-4707 - Remove this in Ionic 8
113
- */
114
- const type = this.isCapacitor() ? options.type : options.type.toLowerCase();
115
- engine.notification({ type });
89
+ engine.notification({ type: options.type });
116
90
  },
117
91
  selection() {
118
- /**
119
- * To provide backwards compatibility with Cordova apps,
120
- * we convert the style to lowercase.
121
- *
122
- * TODO: FW-4707 - Remove this in Ionic 8
123
- */
124
- const style = this.isCapacitor() ? ImpactStyle.Light : 'light';
125
- this.impact({ style });
92
+ this.impact({ style: ImpactStyle.Light });
126
93
  },
127
94
  selectionStart() {
128
95
  const engine = this.getEngine();
129
96
  if (!engine) {
130
97
  return;
131
98
  }
132
- if (this.isCapacitor()) {
133
- engine.selectionStart();
134
- }
135
- else {
136
- engine.gestureSelectionStart();
137
- }
99
+ engine.selectionStart();
138
100
  },
139
101
  selectionChanged() {
140
102
  const engine = this.getEngine();
141
103
  if (!engine) {
142
104
  return;
143
105
  }
144
- if (this.isCapacitor()) {
145
- engine.selectionChanged();
146
- }
147
- else {
148
- engine.gestureSelectionChanged();
149
- }
106
+ engine.selectionChanged();
150
107
  },
151
108
  selectionEnd() {
152
109
  const engine = this.getEngine();
153
110
  if (!engine) {
154
111
  return;
155
112
  }
156
- if (this.isCapacitor()) {
157
- engine.selectionEnd();
158
- }
159
- else {
160
- engine.gestureSelectionEnd();
161
- }
113
+ engine.selectionEnd();
162
114
  },
163
115
  };
164
116
  /**
@@ -2,43 +2,17 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { doc } from "../browser/index";
5
- import { now, pointerCoord } from "../helpers";
5
+ import { pointerCoord } from "../helpers";
6
6
  export const startTapClick = (config) => {
7
7
  if (doc === undefined) {
8
8
  return;
9
9
  }
10
- let lastTouch = -MOUSE_WAIT * 10;
11
10
  let lastActivated = 0;
12
11
  let activatableEle;
13
12
  let activeRipple;
14
13
  let activeDefer;
15
14
  const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);
16
15
  const clearDefers = new WeakMap();
17
- // Touch Events
18
- const onTouchStart = (ev) => {
19
- lastTouch = now(ev);
20
- pointerDown(ev);
21
- };
22
- const onTouchEnd = (ev) => {
23
- lastTouch = now(ev);
24
- pointerUp(ev);
25
- };
26
- const onMouseDown = (ev) => {
27
- // Ignore right clicks
28
- if (ev.button === 2) {
29
- return;
30
- }
31
- const t = now(ev) - MOUSE_WAIT;
32
- if (lastTouch < t) {
33
- pointerDown(ev);
34
- }
35
- };
36
- const onMouseUp = (ev) => {
37
- const t = now(ev) - MOUSE_WAIT;
38
- if (lastTouch < t) {
39
- pointerUp(ev);
40
- }
41
- };
42
16
  const cancelActive = () => {
43
17
  if (activeDefer)
44
18
  clearTimeout(activeDefer);
@@ -49,7 +23,8 @@ export const startTapClick = (config) => {
49
23
  }
50
24
  };
51
25
  const pointerDown = (ev) => {
52
- if (activatableEle) {
26
+ // Ignore right clicks
27
+ if (activatableEle || ev.button === 2) {
53
28
  return;
54
29
  }
55
30
  setActivatedElement(getActivatableTarget(ev), ev);
@@ -133,9 +108,8 @@ export const startTapClick = (config) => {
133
108
  }
134
109
  };
135
110
  doc.addEventListener('ionGestureCaptured', cancelActive);
136
- doc.addEventListener('touchstart', onTouchStart, true);
137
- doc.addEventListener('touchcancel', onTouchEnd, true);
138
- doc.addEventListener('touchend', onTouchEnd, true);
111
+ doc.addEventListener('pointerdown', pointerDown, true);
112
+ doc.addEventListener('pointerup', pointerUp, true);
139
113
  /**
140
114
  * Tap click effects such as the ripple effect should
141
115
  * not happen when scrolling. For example, if a user scrolls
@@ -149,8 +123,6 @@ export const startTapClick = (config) => {
149
123
  * ion-content's scroll events.
150
124
  */
151
125
  doc.addEventListener('pointercancel', cancelActive, true);
152
- doc.addEventListener('mousedown', onMouseDown, true);
153
- doc.addEventListener('mouseup', onMouseUp, true);
154
126
  };
155
127
  // TODO(FW-2832): type
156
128
  const getActivatableTarget = (ev) => {
@@ -190,4 +162,3 @@ const getRippleEffect = (el) => {
190
162
  const ACTIVATED = 'ion-activated';
191
163
  const ADD_ACTIVATED_DEFERS = 100;
192
164
  const CLEAR_STATE_DEFERS = 150;
193
- const MOUSE_WAIT = 2500;