voyager-ionic-core 8.0.0-beta.3 → 8.0.0-rc.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 (562) hide show
  1. package/components/animation.js +9 -250
  2. package/components/button.js +18 -5
  3. package/components/haptic.js +6 -54
  4. package/components/helpers.js +1 -4
  5. package/components/index7.js +3 -1
  6. package/components/index9.js +5 -34
  7. package/components/ion-input-password-toggle.d.ts +11 -0
  8. package/components/ion-input-password-toggle.js +132 -0
  9. package/components/ion-input.js +27 -8
  10. package/components/ion-item-divider.js +2 -2
  11. package/components/ion-item-group.js +1 -1
  12. package/components/ion-item-option.js +2 -2
  13. package/components/ion-item-options.js +1 -1
  14. package/components/ion-item-sliding.js +1 -1
  15. package/components/ion-loading.js +2 -2
  16. package/components/ion-menu-button.js +3 -3
  17. package/components/ion-menu-toggle.js +2 -2
  18. package/components/ion-menu.js +2 -2
  19. package/components/ion-modal.js +3 -3
  20. package/components/ion-nav-link.js +1 -1
  21. package/components/ion-nav.js +1 -1
  22. package/components/ion-note.js +2 -2
  23. package/components/ion-picker-legacy.js +2 -2
  24. package/components/ion-progress-bar.js +1 -1
  25. package/components/ion-range.js +3 -3
  26. package/components/ion-refresher-content.js +2 -2
  27. package/components/ion-refresher.js +1 -1
  28. package/components/ion-reorder-group.js +1 -1
  29. package/components/ion-reorder.js +2 -2
  30. package/components/ion-router-link.js +2 -2
  31. package/components/ion-router-outlet.js +1 -1
  32. package/components/ion-row.js +1 -1
  33. package/components/ion-searchbar.js +7 -7
  34. package/components/ion-segment-button.js +3 -3
  35. package/components/ion-segment.js +2 -2
  36. package/components/ion-select-option.js +1 -1
  37. package/components/ion-select.js +3 -3
  38. package/components/ion-skeleton-text.js +2 -2
  39. package/components/ion-split-pane.js +2 -2
  40. package/components/ion-tab-bar.js +2 -2
  41. package/components/ion-tab-button.js +2 -2
  42. package/components/ion-tab.js +2 -2
  43. package/components/ion-tabs.js +1 -1
  44. package/components/ion-text.js +2 -2
  45. package/components/ion-textarea.js +2 -3
  46. package/components/ion-thumbnail.js +1 -1
  47. package/components/ion-title.js +2 -2
  48. package/components/ion-toast.js +2 -2
  49. package/components/ion-toggle.js +4 -4
  50. package/components/ion-toolbar.js +2 -2
  51. package/components/label.js +2 -2
  52. package/components/list-header.js +2 -2
  53. package/components/list.js +1 -1
  54. package/components/picker-column-option.js +2 -2
  55. package/components/picker-column2.js +2 -2
  56. package/components/popover.js +2 -2
  57. package/components/radio-group.js +1 -1
  58. package/components/radio.js +3 -3
  59. package/components/ripple-effect.js +1 -1
  60. package/components/select-popover.js +1 -1
  61. package/components/spinner.js +1 -1
  62. package/dist/cjs/{animation-58ecfe20.js → animation-b4fdf128.js} +9 -250
  63. package/dist/cjs/{app-globals-e132c781.js → app-globals-63aebf89.js} +1 -1
  64. package/dist/cjs/{button-active-60ecf64d.js → button-active-bd13859e.js} +2 -2
  65. package/dist/cjs/{framework-delegate-df3a2b04.js → framework-delegate-55f5683a.js} +1 -1
  66. package/dist/cjs/{haptic-b882e0bb.js → haptic-f6b37aa3.js} +6 -54
  67. package/dist/cjs/{hardware-back-button-1c67a5a2.js → hardware-back-button-ad9299b4.js} +2 -2
  68. package/dist/cjs/{helpers-71097d9c.js → helpers-afaa9001.js} +0 -4
  69. package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
  70. package/dist/cjs/{index-7479ea5a.js → index-5b6a7459.js} +1 -1
  71. package/dist/cjs/{index-289297dc.js → index-5cf05f94.js} +4 -4
  72. package/dist/cjs/{index-a91a3e24.js → index-9509ecad.js} +5 -34
  73. package/dist/cjs/{index-2d21d526.js → index-af6d0fbb.js} +16 -4
  74. package/dist/cjs/{index-14ae0c27.js → index-ff66cc7c.js} +4 -4
  75. package/dist/cjs/index.cjs.js +11 -11
  76. package/dist/cjs/{input-shims-77b14f24.js → input-shims-20d639e6.js} +2 -2
  77. package/dist/cjs/{input.utils-ca74d73a.js → input.utils-611cde0b.js} +1 -1
  78. package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
  79. package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -9
  80. package/dist/cjs/ion-alert.cjs.entry.js +9 -9
  81. package/dist/cjs/ion-app_8.cjs.entry.js +17 -17
  82. package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
  83. package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
  84. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  85. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
  86. package/dist/cjs/ion-button_2.cjs.entry.js +19 -7
  87. package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
  88. package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
  89. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  90. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  91. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  92. package/dist/cjs/ion-datetime_3.cjs.entry.js +13 -13
  93. package/dist/cjs/ion-fab_3.cjs.entry.js +4 -4
  94. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  95. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
  96. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +93 -0
  97. package/dist/cjs/ion-input.cjs.entry.js +30 -12
  98. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  99. package/dist/cjs/ion-item_8.cjs.entry.js +16 -16
  100. package/dist/cjs/ion-loading.cjs.entry.js +9 -9
  101. package/dist/cjs/ion-menu_3.cjs.entry.js +15 -15
  102. package/dist/cjs/ion-modal.cjs.entry.js +12 -12
  103. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  104. package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
  105. package/dist/cjs/ion-picker-column.cjs.entry.js +4 -4
  106. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  107. package/dist/cjs/ion-popover.cjs.entry.js +10 -10
  108. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
  109. package/dist/cjs/ion-radio_2.cjs.entry.js +7 -7
  110. package/dist/cjs/ion-range.cjs.entry.js +7 -7
  111. package/dist/cjs/ion-refresher_2.cjs.entry.js +9 -9
  112. package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
  113. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
  114. package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
  115. package/dist/cjs/ion-searchbar.cjs.entry.js +10 -10
  116. package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
  117. package/dist/cjs/ion-select_3.cjs.entry.js +12 -12
  118. package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
  119. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
  120. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
  121. package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
  122. package/dist/cjs/ion-text.cjs.entry.js +4 -4
  123. package/dist/cjs/ion-textarea.cjs.entry.js +7 -8
  124. package/dist/cjs/ion-toast.cjs.entry.js +9 -9
  125. package/dist/cjs/ion-toggle.cjs.entry.js +8 -8
  126. package/dist/cjs/{ionic-global-5762eca9.js → ionic-global-1adf9bc4.js} +1 -1
  127. package/dist/cjs/ionic.cjs.js +5 -5
  128. package/dist/cjs/{ios.transition-8e0ca8ed.js → ios.transition-06673f18.js} +4 -4
  129. package/dist/cjs/loader.cjs.js +4 -4
  130. package/dist/cjs/{md.transition-5d0f134b.js → md.transition-4d7bb4b1.js} +4 -4
  131. package/dist/cjs/{notch-controller-0042ad49.js → notch-controller-d69150f5.js} +1 -1
  132. package/dist/cjs/{overlays-30b83581.js → overlays-6487955a.js} +4 -4
  133. package/dist/cjs/{status-tap-dc3b8fda.js → status-tap-0be20572.js} +3 -3
  134. package/dist/cjs/{swipe-back-49825f1f.js → swipe-back-f38a434a.js} +1 -1
  135. package/dist/collection/collection-manifest.json +3 -2
  136. package/dist/collection/components/button/button.ios.css +32 -10
  137. package/dist/collection/components/button/button.js +19 -2
  138. package/dist/collection/components/button/button.md.css +28 -13
  139. package/dist/collection/components/button/test/round/button.e2e.js +39 -4
  140. package/dist/collection/components/input/input.ios.css +9 -0
  141. package/dist/collection/components/input/input.js +27 -30
  142. package/dist/collection/components/input/input.md.css +9 -0
  143. package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
  144. package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
  145. package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
  146. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
  147. package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
  148. package/dist/collection/components/item-divider/item-divider.js +2 -2
  149. package/dist/collection/components/item-group/item-group.js +1 -1
  150. package/dist/collection/components/item-option/item-option.js +2 -2
  151. package/dist/collection/components/item-options/item-options.js +1 -1
  152. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  153. package/dist/collection/components/label/label.js +2 -2
  154. package/dist/collection/components/list/list.js +1 -1
  155. package/dist/collection/components/list-header/list-header.js +2 -2
  156. package/dist/collection/components/loading/loading.js +2 -2
  157. package/dist/collection/components/menu/menu.js +2 -2
  158. package/dist/collection/components/menu-button/menu-button.js +2 -2
  159. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  160. package/dist/collection/components/modal/modal.js +3 -3
  161. package/dist/collection/components/nav/nav.js +1 -1
  162. package/dist/collection/components/nav-link/nav-link.js +1 -1
  163. package/dist/collection/components/note/note.js +2 -2
  164. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  165. package/dist/collection/components/picker-legacy/picker.js +2 -2
  166. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  167. package/dist/collection/components/popover/popover.js +2 -2
  168. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  169. package/dist/collection/components/radio/radio.js +3 -3
  170. package/dist/collection/components/radio-group/radio-group.js +1 -1
  171. package/dist/collection/components/range/range.js +3 -3
  172. package/dist/collection/components/refresher/refresher.js +1 -1
  173. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  174. package/dist/collection/components/reorder/reorder.js +1 -1
  175. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  176. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  177. package/dist/collection/components/router-link/router-link.js +2 -2
  178. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  179. package/dist/collection/components/row/row.js +1 -1
  180. package/dist/collection/components/searchbar/searchbar.js +10 -9
  181. package/dist/collection/components/segment/segment.js +2 -2
  182. package/dist/collection/components/segment-button/segment-button.js +3 -3
  183. package/dist/collection/components/select/select.js +2 -2
  184. package/dist/collection/components/select-option/select-option.js +1 -1
  185. package/dist/collection/components/select-popover/select-popover.js +1 -1
  186. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  187. package/dist/collection/components/spinner/spinner.js +1 -1
  188. package/dist/collection/components/split-pane/split-pane.js +2 -2
  189. package/dist/collection/components/tab/tab.js +2 -2
  190. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  191. package/dist/collection/components/tab-button/tab-button.js +2 -2
  192. package/dist/collection/components/tabs/tabs.js +1 -1
  193. package/dist/collection/components/text/text.js +2 -2
  194. package/dist/collection/components/textarea/textarea.js +2 -26
  195. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  196. package/dist/collection/components/title/title.js +2 -2
  197. package/dist/collection/components/toast/toast.js +2 -2
  198. package/dist/collection/components/toggle/toggle.js +3 -3
  199. package/dist/collection/components/toolbar/toolbar.js +2 -2
  200. package/dist/collection/utils/animation/animation-utils.js +0 -102
  201. package/dist/collection/utils/animation/animation.js +10 -141
  202. package/dist/collection/utils/animation/test/animation.spec.js +0 -89
  203. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -4
  204. package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -4
  205. package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -4
  206. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -4
  207. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -7
  208. package/dist/collection/utils/native/haptic.js +6 -54
  209. package/dist/collection/utils/tap-click/index.js +5 -34
  210. package/dist/docs.json +210 -35
  211. package/dist/esm/{animation-6a3c0abb.js → animation-eab5a4ca.js} +9 -250
  212. package/dist/esm/{app-globals-80842d68.js → app-globals-b8e5e7fa.js} +1 -1
  213. package/dist/esm/{button-active-c6e18fac.js → button-active-a411da52.js} +2 -2
  214. package/dist/esm/{framework-delegate-3dede018.js → framework-delegate-63d1a679.js} +1 -1
  215. package/dist/esm/{haptic-554688a5.js → haptic-ac164e4c.js} +6 -54
  216. package/dist/esm/{hardware-back-button-fb295e3a.js → hardware-back-button-329c81fd.js} +2 -2
  217. package/dist/esm/{helpers-eab4f597.js → helpers-da915de8.js} +1 -4
  218. package/dist/esm/{index-95a691d4.js → index-10916999.js} +4 -4
  219. package/dist/esm/{index-044b5a86.js → index-5cc724f3.js} +1 -1
  220. package/dist/esm/{index-5d6a0317.js → index-6e4709ff.js} +16 -4
  221. package/dist/esm/{index-fa221975.js → index-79b30591.js} +5 -34
  222. package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
  223. package/dist/esm/{index-136e99c8.js → index-f1f5de26.js} +4 -4
  224. package/dist/esm/index.js +11 -11
  225. package/dist/esm/{input-shims-196afa11.js → input-shims-4530285e.js} +2 -2
  226. package/dist/esm/{input.utils-426cc674.js → input.utils-09c71bc7.js} +1 -1
  227. package/dist/esm/ion-accordion_2.entry.js +4 -4
  228. package/dist/esm/ion-action-sheet.entry.js +9 -9
  229. package/dist/esm/ion-alert.entry.js +9 -9
  230. package/dist/esm/ion-app_8.entry.js +17 -17
  231. package/dist/esm/ion-avatar_3.entry.js +3 -3
  232. package/dist/esm/ion-back-button.entry.js +4 -4
  233. package/dist/esm/ion-backdrop.entry.js +2 -2
  234. package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
  235. package/dist/esm/ion-button_2.entry.js +19 -7
  236. package/dist/esm/ion-card_5.entry.js +3 -3
  237. package/dist/esm/ion-checkbox.entry.js +3 -3
  238. package/dist/esm/ion-chip.entry.js +2 -2
  239. package/dist/esm/ion-col_3.entry.js +3 -3
  240. package/dist/esm/ion-datetime-button.entry.js +3 -3
  241. package/dist/esm/ion-datetime_3.entry.js +13 -13
  242. package/dist/esm/ion-fab_3.entry.js +4 -4
  243. package/dist/esm/ion-img.entry.js +3 -3
  244. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
  245. package/dist/esm/ion-input-password-toggle.entry.js +89 -0
  246. package/dist/esm/ion-input.entry.js +30 -12
  247. package/dist/esm/ion-item-option_3.entry.js +8 -8
  248. package/dist/esm/ion-item_8.entry.js +16 -16
  249. package/dist/esm/ion-loading.entry.js +9 -9
  250. package/dist/esm/ion-menu_3.entry.js +15 -15
  251. package/dist/esm/ion-modal.entry.js +12 -12
  252. package/dist/esm/ion-nav_2.entry.js +8 -8
  253. package/dist/esm/ion-picker-column-option.entry.js +5 -5
  254. package/dist/esm/ion-picker-column.entry.js +4 -4
  255. package/dist/esm/ion-picker.entry.js +2 -2
  256. package/dist/esm/ion-popover.entry.js +10 -10
  257. package/dist/esm/ion-progress-bar.entry.js +4 -4
  258. package/dist/esm/ion-radio_2.entry.js +7 -7
  259. package/dist/esm/ion-range.entry.js +7 -7
  260. package/dist/esm/ion-refresher_2.entry.js +9 -9
  261. package/dist/esm/ion-reorder_2.entry.js +8 -8
  262. package/dist/esm/ion-ripple-effect.entry.js +3 -3
  263. package/dist/esm/ion-route_4.entry.js +5 -5
  264. package/dist/esm/ion-searchbar.entry.js +10 -10
  265. package/dist/esm/ion-segment_2.entry.js +8 -8
  266. package/dist/esm/ion-select_3.entry.js +12 -12
  267. package/dist/esm/ion-spinner.entry.js +3 -3
  268. package/dist/esm/ion-split-pane.entry.js +4 -4
  269. package/dist/esm/ion-tab-bar_2.entry.js +7 -7
  270. package/dist/esm/ion-tab_2.entry.js +6 -6
  271. package/dist/esm/ion-text.entry.js +4 -4
  272. package/dist/esm/ion-textarea.entry.js +7 -8
  273. package/dist/esm/ion-toast.entry.js +9 -9
  274. package/dist/esm/ion-toggle.entry.js +8 -8
  275. package/dist/esm/{ionic-global-a589c12c.js → ionic-global-c4e0c089.js} +1 -1
  276. package/dist/esm/ionic.js +6 -6
  277. package/dist/esm/{ios.transition-d1c8eea2.js → ios.transition-8e181a7e.js} +4 -4
  278. package/dist/esm/loader.js +5 -5
  279. package/dist/esm/{md.transition-0d2de76d.js → md.transition-f1c3c737.js} +4 -4
  280. package/dist/esm/{notch-controller-cff691e5.js → notch-controller-55b09e11.js} +1 -1
  281. package/dist/esm/{overlays-d41f74ac.js → overlays-9472c98b.js} +4 -4
  282. package/dist/esm/{status-tap-45595148.js → status-tap-39da9160.js} +3 -3
  283. package/dist/esm/{swipe-back-5aa5feeb.js → swipe-back-b613d7db.js} +1 -1
  284. package/dist/esm-es5/animation-eab5a4ca.js +4 -0
  285. package/dist/esm-es5/app-globals-b8e5e7fa.js +4 -0
  286. package/dist/esm-es5/{button-active-c6e18fac.js → button-active-a411da52.js} +1 -1
  287. package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
  288. package/dist/esm-es5/haptic-ac164e4c.js +4 -0
  289. package/dist/esm-es5/{hardware-back-button-fb295e3a.js → hardware-back-button-329c81fd.js} +1 -1
  290. package/dist/esm-es5/{helpers-eab4f597.js → helpers-da915de8.js} +1 -1
  291. package/dist/esm-es5/index-10916999.js +4 -0
  292. package/dist/esm-es5/{index-044b5a86.js → index-5cc724f3.js} +1 -1
  293. package/dist/esm-es5/index-6e4709ff.js +5 -0
  294. package/dist/esm-es5/index-79b30591.js +4 -0
  295. package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
  296. package/dist/esm-es5/{index-136e99c8.js → index-f1f5de26.js} +1 -1
  297. package/dist/esm-es5/index.js +1 -1
  298. package/dist/esm-es5/input-shims-4530285e.js +4 -0
  299. package/dist/esm-es5/{input.utils-426cc674.js → input.utils-09c71bc7.js} +1 -1
  300. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  301. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  302. package/dist/esm-es5/ion-alert.entry.js +1 -1
  303. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  304. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  305. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  306. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  307. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  308. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  309. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  310. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  311. package/dist/esm-es5/ion-chip.entry.js +1 -1
  312. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  313. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  314. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  315. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  316. package/dist/esm-es5/ion-img.entry.js +1 -1
  317. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  318. package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
  319. package/dist/esm-es5/ion-input.entry.js +1 -1
  320. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  321. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  322. package/dist/esm-es5/ion-loading.entry.js +1 -1
  323. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  324. package/dist/esm-es5/ion-modal.entry.js +1 -1
  325. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  326. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  327. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  328. package/dist/esm-es5/ion-picker.entry.js +1 -1
  329. package/dist/esm-es5/ion-popover.entry.js +1 -1
  330. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  331. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  332. package/dist/esm-es5/ion-range.entry.js +1 -1
  333. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  334. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  335. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  336. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  337. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  338. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  339. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  340. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  341. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  342. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  343. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  344. package/dist/esm-es5/ion-text.entry.js +1 -1
  345. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  346. package/dist/esm-es5/ion-toast.entry.js +1 -1
  347. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  348. package/dist/esm-es5/{ionic-global-a589c12c.js → ionic-global-c4e0c089.js} +1 -1
  349. package/dist/esm-es5/ionic.js +1 -1
  350. package/dist/esm-es5/{ios.transition-d1c8eea2.js → ios.transition-8e181a7e.js} +1 -1
  351. package/dist/esm-es5/loader.js +1 -1
  352. package/dist/esm-es5/md.transition-f1c3c737.js +4 -0
  353. package/dist/esm-es5/{notch-controller-cff691e5.js → notch-controller-55b09e11.js} +1 -1
  354. package/dist/esm-es5/{overlays-d41f74ac.js → overlays-9472c98b.js} +1 -1
  355. package/dist/esm-es5/{status-tap-45595148.js → status-tap-39da9160.js} +1 -1
  356. package/dist/esm-es5/{swipe-back-5aa5feeb.js → swipe-back-b613d7db.js} +1 -1
  357. package/dist/html.html-data.json +86 -18
  358. package/dist/ionic/index.esm.js +1 -1
  359. package/dist/ionic/ionic.esm.js +1 -1
  360. package/dist/ionic/ionic.js +1 -1
  361. package/dist/ionic/{p-92b05b70.system.entry.js → p-04070329.system.entry.js} +1 -1
  362. package/dist/ionic/p-049fa018.system.entry.js +4 -0
  363. package/dist/ionic/{p-325c61a4.js → p-06e58c4e.js} +1 -1
  364. package/dist/ionic/{p-7adde43c.system.entry.js → p-07ae133d.system.entry.js} +1 -1
  365. package/dist/ionic/p-0aa4682e.entry.js +4 -0
  366. package/dist/ionic/{p-d286cfbe.system.entry.js → p-0bbb6edf.system.entry.js} +1 -1
  367. package/dist/ionic/{p-4a3055ef.system.js → p-0c06e09b.system.js} +1 -1
  368. package/dist/ionic/{p-d8090ce4.entry.js → p-0de546bb.entry.js} +1 -1
  369. package/dist/ionic/{p-2852c537.system.entry.js → p-0ebb1fe7.system.entry.js} +1 -1
  370. package/dist/ionic/p-0f2d99a6.entry.js +4 -0
  371. package/dist/ionic/{p-1685d81c.system.entry.js → p-100bedc4.system.entry.js} +1 -1
  372. package/dist/ionic/{p-91567c90.system.entry.js → p-105f7d62.system.entry.js} +1 -1
  373. package/dist/ionic/{p-185db19b.system.entry.js → p-1672c4fd.system.entry.js} +1 -1
  374. package/dist/ionic/{p-fb870c48.entry.js → p-17978fce.entry.js} +1 -1
  375. package/dist/ionic/p-184fbc9e.system.js +4 -0
  376. package/dist/ionic/{p-2cc2c631.system.js → p-19ea7bff.system.js} +1 -1
  377. package/dist/ionic/{p-29ef3b9b.entry.js → p-1b235142.entry.js} +1 -1
  378. package/dist/ionic/{p-fe35b5c0.entry.js → p-1cff9cad.entry.js} +1 -1
  379. package/dist/ionic/p-1e955a45.system.js +4 -0
  380. package/dist/ionic/p-1f9cdee2.entry.js +4 -0
  381. package/dist/ionic/p-23b89985.entry.js +4 -0
  382. package/dist/ionic/{p-07759435.system.js → p-25575222.system.js} +1 -1
  383. package/dist/ionic/{p-6d9f8fac.system.js → p-266fc56e.system.js} +1 -1
  384. package/dist/ionic/{p-3ae4a2a2.entry.js → p-2e12bda2.entry.js} +1 -1
  385. package/dist/ionic/{p-23838a94.system.entry.js → p-2f6cedaf.system.entry.js} +1 -1
  386. package/dist/ionic/{p-78b3da77.js → p-3040730e.js} +1 -1
  387. package/dist/ionic/{p-ebc5b98f.entry.js → p-3391d9a3.entry.js} +1 -1
  388. package/dist/ionic/{p-a600a3e3.js → p-34b11c24.js} +1 -1
  389. package/dist/ionic/{p-4d325220.system.entry.js → p-352f7037.system.entry.js} +1 -1
  390. package/dist/ionic/{p-2130b526.entry.js → p-35b9e842.entry.js} +1 -1
  391. package/dist/ionic/{p-668607c2.system.js → p-3ad285e3.system.js} +1 -1
  392. package/dist/ionic/{p-dd9168f3.entry.js → p-3c70b01b.entry.js} +1 -1
  393. package/dist/ionic/{p-c6f9f3eb.js → p-3cc276f4.js} +1 -1
  394. package/dist/ionic/{p-d0496c22.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
  395. package/dist/ionic/{p-d8ffe61c.system.entry.js → p-3e3b34f7.system.entry.js} +1 -1
  396. package/dist/ionic/{p-f1d1524c.entry.js → p-3f70bfba.entry.js} +1 -1
  397. package/dist/ionic/{p-9e6a5e3d.system.entry.js → p-43505ff8.system.entry.js} +1 -1
  398. package/dist/ionic/{p-a88b41d1.system.entry.js → p-4429fc97.system.entry.js} +2 -2
  399. package/dist/ionic/{p-70c278c4.system.entry.js → p-4511ba0e.system.entry.js} +1 -1
  400. package/dist/ionic/p-46111310.js +4 -0
  401. package/dist/ionic/p-46f407f0.system.js +4 -0
  402. package/dist/ionic/{p-7d29dff0.system.entry.js → p-49b6fee0.system.entry.js} +1 -1
  403. package/dist/ionic/{p-6a448415.entry.js → p-4a615fea.entry.js} +1 -1
  404. package/dist/ionic/{p-f85a4df5.system.js → p-4dd82d9d.system.js} +1 -1
  405. package/dist/ionic/{p-6a62da36.system.js → p-5033128d.system.js} +2 -2
  406. package/dist/ionic/{p-17ee2784.system.entry.js → p-510578f3.system.entry.js} +1 -1
  407. package/dist/ionic/{p-40976b1c.system.entry.js → p-51b68ec9.system.entry.js} +1 -1
  408. package/dist/ionic/{p-610f0e12.entry.js → p-51ff648c.entry.js} +1 -1
  409. package/dist/ionic/p-546433d2.js +4 -0
  410. package/dist/ionic/{p-976c7c54.js → p-54f76ced.js} +1 -1
  411. package/dist/ionic/{p-66e50777.entry.js → p-56c3b69c.entry.js} +1 -1
  412. package/dist/ionic/p-58ea73f7.system.entry.js +4 -0
  413. package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
  414. package/dist/ionic/{p-ba0290d1.entry.js → p-5ae49f12.entry.js} +1 -1
  415. package/dist/ionic/{p-ec34194e.system.entry.js → p-5b1273f4.system.entry.js} +2 -2
  416. package/dist/ionic/p-5d3f6707.entry.js +4 -0
  417. package/dist/ionic/{p-bb5eba12.entry.js → p-5da04d11.entry.js} +1 -1
  418. package/dist/ionic/p-5e7c32e8.system.entry.js +4 -0
  419. package/dist/ionic/p-65d26d94.system.entry.js +4 -0
  420. package/dist/ionic/{p-5e39b9d8.entry.js → p-6744e460.entry.js} +1 -1
  421. package/dist/ionic/{p-42fecf9c.system.entry.js → p-68a1e274.system.entry.js} +1 -1
  422. package/dist/ionic/{p-031c5621.js → p-6994c97a.js} +1 -1
  423. package/dist/ionic/p-69bc14fd.entry.js +4 -0
  424. package/dist/ionic/p-6a7eac5a.js +4 -0
  425. package/dist/ionic/p-6f4db5ce.system.entry.js +4 -0
  426. package/dist/ionic/{p-30dfa360.system.js → p-71215c1d.system.js} +1 -1
  427. package/dist/ionic/{p-5a277399.system.entry.js → p-71688099.system.entry.js} +1 -1
  428. package/dist/ionic/{p-282bd5f9.system.entry.js → p-716ab5f8.system.entry.js} +1 -1
  429. package/dist/ionic/p-72812e99.js +4 -0
  430. package/dist/ionic/p-74a9cafe.system.js +5 -0
  431. package/dist/ionic/{p-2bb65deb.entry.js → p-75280815.entry.js} +1 -1
  432. package/dist/ionic/{p-98c86cdd.js → p-75cddcc9.js} +1 -1
  433. package/dist/ionic/{p-85f43165.system.entry.js → p-76907c2f.system.entry.js} +1 -1
  434. package/dist/ionic/p-7d9eefb3.system.js +4 -0
  435. package/dist/ionic/{p-3cd3214e.entry.js → p-7df2c495.entry.js} +1 -1
  436. package/dist/ionic/p-7fc505bf.entry.js +4 -0
  437. package/dist/ionic/{p-8a881b39.entry.js → p-83321ee8.entry.js} +1 -1
  438. package/dist/ionic/p-8635f5e6.system.js +4 -0
  439. package/dist/ionic/{p-da5bbd4f.entry.js → p-88cff52d.entry.js} +1 -1
  440. package/dist/ionic/{p-ed3463be.entry.js → p-896111fa.entry.js} +1 -1
  441. package/dist/ionic/p-89b61afc.js +4 -0
  442. package/dist/ionic/{p-db7fcadb.system.entry.js → p-8bd567ba.system.entry.js} +2 -2
  443. package/dist/ionic/{p-02a803dc.entry.js → p-8e9ac22d.entry.js} +1 -1
  444. package/dist/ionic/p-9146695e.system.js +4 -0
  445. package/dist/ionic/{p-a3dae2ce.js → p-96cc4814.js} +1 -1
  446. package/dist/ionic/{p-7680d0ec.entry.js → p-99daf8b7.entry.js} +1 -1
  447. package/dist/ionic/p-9ad82dba.js +5 -0
  448. package/dist/ionic/{p-af9256a0.system.js → p-9d7fc908.system.js} +1 -1
  449. package/dist/ionic/{p-e0d52ee3.system.js → p-9ea607bd.system.js} +2 -2
  450. package/dist/ionic/p-a15ddedb.system.js +4 -0
  451. package/dist/ionic/{p-a6b8342e.system.entry.js → p-a1b4e619.system.entry.js} +1 -1
  452. package/dist/ionic/{p-d372938e.system.entry.js → p-a1f9f629.system.entry.js} +1 -1
  453. package/dist/ionic/{p-7c7e495d.system.js → p-a7ba2dcc.system.js} +1 -1
  454. package/dist/ionic/{p-54c31b4f.entry.js → p-a88fdfac.entry.js} +1 -1
  455. package/dist/ionic/{p-853bd866.system.js → p-a8f02173.system.js} +1 -1
  456. package/dist/ionic/p-a93873de.system.js +4 -0
  457. package/dist/ionic/{p-9b5d033a.system.entry.js → p-aa110ca0.system.entry.js} +1 -1
  458. package/dist/ionic/{p-103ec049.system.entry.js → p-aa4f2703.system.entry.js} +1 -1
  459. package/dist/ionic/{p-a94092b9.entry.js → p-ab85debb.entry.js} +1 -1
  460. package/dist/ionic/{p-1bb1ef31.system.entry.js → p-ac4e2a74.system.entry.js} +1 -1
  461. package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
  462. package/dist/ionic/{p-364044f0.js → p-b51e4004.js} +1 -1
  463. package/dist/ionic/{p-d5ab02f5.entry.js → p-b689b8d4.entry.js} +1 -1
  464. package/dist/ionic/p-b7af48c0.js +4 -0
  465. package/dist/ionic/p-bb835b4d.system.entry.js +4 -0
  466. package/dist/ionic/{p-7002bc75.entry.js → p-c04d5a75.entry.js} +1 -1
  467. package/dist/ionic/{p-cbf0a046.system.entry.js → p-c198e1e1.system.entry.js} +1 -1
  468. package/dist/ionic/{p-bb608006.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
  469. package/dist/ionic/{p-239906f1.js → p-c222f76a.js} +1 -1
  470. package/dist/ionic/{p-c8383c20.entry.js → p-c41af68a.entry.js} +1 -1
  471. package/dist/ionic/p-c7e16491.js +4 -0
  472. package/dist/ionic/p-c80d05c9.js +4 -0
  473. package/dist/ionic/{p-23efc001.entry.js → p-c8510ca2.entry.js} +1 -1
  474. package/dist/ionic/{p-a4c287f9.entry.js → p-c8f2b769.entry.js} +1 -1
  475. package/dist/ionic/{p-b1d9b078.entry.js → p-c99ccdc9.entry.js} +1 -1
  476. package/dist/ionic/{p-af2e3481.system.entry.js → p-c9c39c98.system.entry.js} +1 -1
  477. package/dist/ionic/{p-8ed900e4.entry.js → p-cae889f9.entry.js} +1 -1
  478. package/dist/ionic/{p-9e3177a5.system.js → p-d2544865.system.js} +1 -1
  479. package/dist/ionic/{p-219c17cf.system.entry.js → p-d5f48185.system.entry.js} +1 -1
  480. package/dist/ionic/p-d79542bd.system.js +4 -0
  481. package/dist/ionic/p-d8067ea4.system.entry.js +4 -0
  482. package/dist/ionic/p-d8f66669.entry.js +4 -0
  483. package/dist/ionic/{p-b141e253.entry.js → p-d98c0112.entry.js} +1 -1
  484. package/dist/ionic/p-da2b833b.js +4 -0
  485. package/dist/ionic/{p-4d361c89.entry.js → p-dc1372e0.entry.js} +1 -1
  486. package/dist/ionic/{p-1807190c.entry.js → p-df48edd6.entry.js} +1 -1
  487. package/dist/ionic/{p-a0e8f913.entry.js → p-df6fa126.entry.js} +1 -1
  488. package/dist/ionic/{p-fa8ee4c3.entry.js → p-e8a0e731.entry.js} +1 -1
  489. package/dist/ionic/{p-8dd3d9c3.system.entry.js → p-ea2c16b5.system.entry.js} +2 -2
  490. package/dist/ionic/p-ea4be6ac.system.js +4 -0
  491. package/dist/ionic/{p-43c751c6.system.entry.js → p-eb3da535.system.entry.js} +1 -1
  492. package/dist/ionic/{p-2f6bc4a9.system.entry.js → p-ec2d3928.system.entry.js} +1 -1
  493. package/dist/ionic/p-f0392d49.entry.js +4 -0
  494. package/dist/ionic/{p-978f4710.js → p-f4cb521c.js} +1 -1
  495. package/dist/ionic/{p-00a6f38d.entry.js → p-f818b01a.entry.js} +1 -1
  496. package/dist/ionic/p-f94cbfe9.js +4 -0
  497. package/dist/ionic/{p-c41e0b5f.system.entry.js → p-fab4ecad.system.entry.js} +1 -1
  498. package/dist/ionic/{p-6a888b39.system.entry.js → p-fb02eeec.system.entry.js} +1 -1
  499. package/dist/ionic/{p-5ac63b19.system.entry.js → p-fb97326f.system.entry.js} +1 -1
  500. package/dist/ionic/{p-1a8bbd2e.entry.js → p-fbd30ec7.entry.js} +1 -1
  501. package/dist/ionic/{p-d4d17d47.entry.js → p-fda4872f.entry.js} +1 -1
  502. package/dist/ionic/{p-294c47cd.system.entry.js → p-ff2323ba.system.entry.js} +1 -1
  503. package/dist/types/components/button/button.d.ts +5 -0
  504. package/dist/types/components/input/input.d.ts +7 -6
  505. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
  506. package/dist/types/components/modal/animations/sheet.d.ts +4 -4
  507. package/dist/types/components/refresher/refresher.utils.d.ts +2 -2
  508. package/dist/types/components/searchbar/searchbar.d.ts +0 -14
  509. package/dist/types/components/textarea/textarea.d.ts +1 -6
  510. package/dist/types/components.d.ts +47 -3
  511. package/dist/types/utils/animation/animation-utils.d.ts +0 -12
  512. package/dist/types/utils/focus-trap.d.ts +2 -2
  513. package/dist/types/utils/overlays.d.ts +2 -2
  514. package/hydrate/index.js +282 -428
  515. package/package.json +1 -1
  516. package/dist/esm-es5/animation-6a3c0abb.js +0 -4
  517. package/dist/esm-es5/app-globals-80842d68.js +0 -4
  518. package/dist/esm-es5/framework-delegate-3dede018.js +0 -4
  519. package/dist/esm-es5/haptic-554688a5.js +0 -4
  520. package/dist/esm-es5/index-5d6a0317.js +0 -5
  521. package/dist/esm-es5/index-95a691d4.js +0 -4
  522. package/dist/esm-es5/index-fa221975.js +0 -4
  523. package/dist/esm-es5/input-shims-196afa11.js +0 -4
  524. package/dist/esm-es5/md.transition-0d2de76d.js +0 -4
  525. package/dist/ionic/p-0051ceb9.entry.js +0 -4
  526. package/dist/ionic/p-08a8971e.system.js +0 -4
  527. package/dist/ionic/p-0e4c9e45.system.js +0 -4
  528. package/dist/ionic/p-17043350.system.js +0 -4
  529. package/dist/ionic/p-1c801dd4.entry.js +0 -4
  530. package/dist/ionic/p-22b5c888.system.entry.js +0 -4
  531. package/dist/ionic/p-23cff6c1.system.js +0 -4
  532. package/dist/ionic/p-244f56fd.js +0 -4
  533. package/dist/ionic/p-27c668a0.entry.js +0 -4
  534. package/dist/ionic/p-2f53c3eb.js +0 -4
  535. package/dist/ionic/p-34c50a42.system.entry.js +0 -4
  536. package/dist/ionic/p-3785c067.entry.js +0 -4
  537. package/dist/ionic/p-3e6e53fe.system.entry.js +0 -4
  538. package/dist/ionic/p-42f189f4.js +0 -4
  539. package/dist/ionic/p-5b2951c1.system.entry.js +0 -4
  540. package/dist/ionic/p-5b52897c.js +0 -4
  541. package/dist/ionic/p-7d4d9c40.system.entry.js +0 -4
  542. package/dist/ionic/p-7e7d534c.js +0 -4
  543. package/dist/ionic/p-831269de.js +0 -4
  544. package/dist/ionic/p-86c17a09.entry.js +0 -4
  545. package/dist/ionic/p-ac6db4c2.js +0 -4
  546. package/dist/ionic/p-b0aaa59a.system.entry.js +0 -4
  547. package/dist/ionic/p-c385e49d.entry.js +0 -4
  548. package/dist/ionic/p-c3f5d0e7.js +0 -4
  549. package/dist/ionic/p-c629d22b.system.js +0 -5
  550. package/dist/ionic/p-c995da88.system.js +0 -4
  551. package/dist/ionic/p-d704f798.system.js +0 -4
  552. package/dist/ionic/p-d80b7e31.system.js +0 -4
  553. package/dist/ionic/p-dad515dc.js +0 -4
  554. package/dist/ionic/p-dfb6de03.system.js +0 -4
  555. package/dist/ionic/p-e3611c25.entry.js +0 -4
  556. package/dist/ionic/p-e4ca94bd.js +0 -4
  557. package/dist/ionic/p-e7b0b64d.system.js +0 -4
  558. package/dist/ionic/p-ec613387.entry.js +0 -4
  559. package/dist/ionic/p-f7a1318d.system.entry.js +0 -4
  560. package/dist/ionic/p-f7af3144.system.entry.js +0 -4
  561. package/dist/ionic/p-f8502e85.js +0 -5
  562. package/dist/ionic/p-fe1fd531.system.js +0 -4
@@ -135,7 +135,7 @@ export class Tabs {
135
135
  return Array.from(this.el.querySelectorAll('ion-tab'));
136
136
  }
137
137
  render() {
138
- return (h(Host, { key: 'ee98a688e181f29f70bf67d8ac9a74f6863de070', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: 'd0fab7c4acb24591931523584c8f2d0a0685058a', name: "top" }), h("div", { key: '0a71bcbc44d45b0f47834f055e13a4d5ad2ec189', class: "tabs-inner" }, h("slot", { key: 'df40115d87f04d6068b1d44d4eef26d51435405a' })), h("slot", { key: '1ba4b7ff756fec9954645f13b295121fe2dc3ca3', name: "bottom" })));
138
+ return (h(Host, { key: '05f1607d092d5bef9f1f42dd46d4bec6caa58f15', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '8e175dbf3afeb76c0b3a794b3064a2191b1b5fbc', name: "top" }), h("div", { key: 'd7120d2f0dc58cca23c0854e042a4d4b8fde4db6', class: "tabs-inner" }, h("slot", { key: 'a3651076ad9ab1c6cf56a7b82172ff59930d1963' })), h("slot", { key: 'a719a23f813740dc2c03d21af0c2fe28f1b4f8bb', name: "bottom" })));
139
139
  }
140
140
  static get is() { return "ion-tabs"; }
141
141
  static get encapsulation() { return "shadow"; }
@@ -13,9 +13,9 @@ export class Text {
13
13
  }
14
14
  render() {
15
15
  const mode = getIonMode(this);
16
- return (h(Host, { key: '9b808f0e1c85e39e89df51ea0a8b97bf815907ec', class: createColorClasses(this.color, {
16
+ return (h(Host, { key: '7481d3ae97e8623e9cdbf7702b16465f9aaa13bf', class: createColorClasses(this.color, {
17
17
  [mode]: true,
18
- }) }, h("slot", { key: '200d6bf3820c9428b645abf8ec2a6f9de849e78a' })));
18
+ }) }, h("slot", { key: 'ae2ed8d29d2e52914f0d38b804e1cdc8941c9c64' })));
19
19
  }
20
20
  static get is() { return "ion-text"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -359,7 +359,7 @@ export class Textarea {
359
359
  * TODO(FW-5592): Remove hasStartEndSlots condition
360
360
  */
361
361
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
362
- return (h(Host, { key: '031dd0f49d577017faa1c5ec87184f8047e1be86', class: createColorClasses(this.color, {
362
+ return (h(Host, { key: 'bb02bfa6a2f0f80d98df5a556941dfe4e6167f1a', class: createColorClasses(this.color, {
363
363
  [mode]: true,
364
364
  'has-value': hasValue,
365
365
  'has-focus': hasFocus,
@@ -368,7 +368,7 @@ export class Textarea {
368
368
  [`textarea-shape-${shape}`]: shape !== undefined,
369
369
  [`textarea-label-placement-${labelPlacement}`]: true,
370
370
  'textarea-disabled': disabled,
371
- }) }, h("label", { key: '867331fa40e10931dc3b476ce96a5c1bf24f10d8', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '0e63c53cdf36b2f5abc80f5e0327c50407785d75', class: "textarea-wrapper-inner" }, h("div", { key: '762d406affec3ff1cc42349b926f39d1a03bb86e', class: "start-slot-wrapper" }, h("slot", { key: '94f5c12011301d17c61c05794e162c06257b1e3f', name: "start" })), h("div", { key: '9f4c77548e14e61cf003c3876270838ee7ccb1c4', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '7677c92431fd88cda4b3318e0eabb5747b23416c', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: 'a3d97905a3e526a6a65fac13cc379c981bfeedd2', class: "end-slot-wrapper" }, h("slot", { key: '3edf3ecd1917595917aa960f99698eabf3268a6f', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
371
+ }) }, h("label", { key: '1b94ad5bc71dd4441fe6d35690ba2d8e19e4f59c', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'cd3143f63bf715782f849a4d29549473d5ee9a80', class: "textarea-wrapper-inner" }, h("div", { key: 'bebcda4eed228f9742fb3446e5b5d27daf2d2dd4', class: "start-slot-wrapper" }, h("slot", { key: '4cc32fbeae35ae04914183abc4e300aa21863ec6', name: "start" })), h("div", { key: '6f43f54dd8e0a548bc8b376025fb8f914d705130', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '11b30015d9b5daf6781651a1d0111d2be893f4c6', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: '7dc55f082b3268b78b1f8230ce81c9b870d945a8', class: "end-slot-wrapper" }, h("slot", { key: '054c0a7e052a301c00f8fe3cb975e61e7a7b4d3c', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
372
372
  }
373
373
  static get is() { return "ion-textarea"; }
374
374
  static get encapsulation() { return "scoped"; }
@@ -928,30 +928,6 @@ export class Textarea {
928
928
  }
929
929
  }
930
930
  }
931
- }, {
932
- "method": "ionStyle",
933
- "name": "ionStyle",
934
- "bubbles": true,
935
- "cancelable": true,
936
- "composed": true,
937
- "docs": {
938
- "tags": [{
939
- "name": "internal",
940
- "text": undefined
941
- }],
942
- "text": "Emitted when the styles change."
943
- },
944
- "complexType": {
945
- "original": "StyleEventDetail",
946
- "resolved": "StyleEventDetail",
947
- "references": {
948
- "StyleEventDetail": {
949
- "location": "import",
950
- "path": "../../interface",
951
- "id": "src/interface.d.ts::StyleEventDetail"
952
- }
953
- }
954
- }
955
931
  }, {
956
932
  "method": "ionBlur",
957
933
  "name": "ionBlur",
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  import { getIonMode } from "../../global/ionic-global";
6
6
  export class Thumbnail {
7
7
  render() {
8
- return (h(Host, { key: 'a399199598f8eb605a2c41e0b372609e0c1df8ee', class: getIonMode(this) }, h("slot", { key: 'a63159fa02a1339273066bf7d74ec7d5d2ed0c53' })));
8
+ return (h(Host, { key: 'b1fe245cf42f0462336519d07afd6c91eef388cf', class: getIonMode(this) }, h("slot", { key: '5e0f575864fcd9ae03ec8f5f7eb915efcf568337' })));
9
9
  }
10
10
  static get is() { return "ion-thumbnail"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -27,11 +27,11 @@ export class ToolbarTitle {
27
27
  render() {
28
28
  const mode = getIonMode(this);
29
29
  const size = this.getSize();
30
- return (h(Host, { key: '2e4240e81db3a6c9293b7cc0589226429c82790d', class: createColorClasses(this.color, {
30
+ return (h(Host, { key: '4e7a269caceb9cf7a71c3ba5dc15903a72203132', class: createColorClasses(this.color, {
31
31
  [mode]: true,
32
32
  [`title-${size}`]: true,
33
33
  'title-rtl': document.dir === 'rtl',
34
- }) }, h("div", { key: '2dccef7ee6ec217b12844e0ed72401eb834ac54e', class: "toolbar-title" }, h("slot", { key: '8d109bb5cd4e883d1e47aaa6b26ac9a345de525e' }))));
34
+ }) }, h("div", { key: 'e42d43e85a57a2ac16579021df43ade524f1d9bf', class: "toolbar-title" }, h("slot", { key: '2319bcfdb2b79eec9c03db84bea2a9f133cc8576' }))));
35
35
  }
36
36
  static get is() { return "ion-title"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -388,9 +388,9 @@ export class Toast {
388
388
  if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
389
389
  printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
390
390
  }
391
- return (h(Host, Object.assign({ key: '66dcfb5335d7476659c05a3df8f8b49f198197c5', tabindex: "-1" }, this.htmlAttributes, { style: {
391
+ return (h(Host, Object.assign({ key: 'ebab697ab245b8ffe7163c59ee059d143242845a', tabindex: "-1" }, this.htmlAttributes, { style: {
392
392
  zIndex: `${60000 + this.overlayIndex}`,
393
- }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: 'fb798e74b5ebcb1e17f368679d4947a490d0fdeb', class: wrapperClass }, h("div", { key: '0b39964d740f1172d172dca5af306c083f3435ae', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '265b36d5c914ac6a42a9a8e622237e026035a658', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
393
+ }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '94d1bcbb17cb4ed81ec67d63ccf61822fedbed94', class: wrapperClass }, h("div", { key: 'd10a99dcdf94d70003b70dea7d965c05baefa934', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '6475020a6890eb79bb37638c0ad0267f1cbf89fb', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
394
394
  }
395
395
  static get is() { return "ion-toast"; }
396
396
  static get encapsulation() { return "shadow"; }
@@ -157,7 +157,7 @@ export class Toggle {
157
157
  const value = this.getValue();
158
158
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
159
159
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
160
- return (h(Host, { key: '4a786aed54ad9c746cc3fb4cc73dc831d5cc39dc', onClick: this.onClick, class: createColorClasses(color, {
160
+ return (h(Host, { key: '9ea705862e0a6c8c3250d19d6487ba5a312557f4', onClick: this.onClick, class: createColorClasses(color, {
161
161
  [mode]: true,
162
162
  'in-item': hostContext('ion-item', el),
163
163
  'toggle-activated': activated,
@@ -167,10 +167,10 @@ export class Toggle {
167
167
  [`toggle-alignment-${alignment}`]: true,
168
168
  [`toggle-label-placement-${labelPlacement}`]: true,
169
169
  [`toggle-${rtl}`]: true,
170
- }) }, h("label", { key: '7e0d74361076d55bf500a08c7f24856c1f712afa', class: "toggle-wrapper" }, h("input", Object.assign({ key: '1112f0a15dd0e8b39a1cb60e2bdef19e37e9a4ce', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: 'ff94aa7e50d1b68d8131f54141209ca67b4889b9', class: {
170
+ }) }, h("label", { key: '6347141bd48c42c10f358bdf95ee5c3e9719f7e7', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'a81935c322ccdec55723986bc69556833e057b7b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '0ab294895807335c63c9a31685d861a9f75f0129', class: {
171
171
  'label-text-wrapper': true,
172
172
  'label-text-wrapper-hidden': !this.hasLabel,
173
- }, part: "label" }, h("slot", { key: 'd43b70d600179d41f98b17b2e249b8e672096ccd' })), h("div", { key: 'c8e1bec8e42a09e3947209fdc7a31c66a474702f', class: "native-wrapper" }, this.renderToggleControl()))));
173
+ }, part: "label" }, h("slot", { key: '918de14911b5c1453ac1b817a92614d80fe81082' })), h("div", { key: 'f7f8b23c1de4eacdf912034286d51d88dde09699', class: "native-wrapper" }, this.renderToggleControl()))));
174
174
  }
175
175
  static get is() { return "ion-toggle"; }
176
176
  static get encapsulation() { return "shadow"; }
@@ -62,10 +62,10 @@ export class Toolbar {
62
62
  this.childrenStyles.forEach((value) => {
63
63
  Object.assign(childStyles, value);
64
64
  });
65
- return (h(Host, { key: 'ccdad3d73213ea96f320bedcfc77dba0b1d5a1e6', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
65
+ return (h(Host, { key: 'f11da98ce3398f95930cd6f5b95783a5b658e206', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
66
66
  [mode]: true,
67
67
  'in-toolbar': hostContext('ion-toolbar', this.el),
68
- })) }, h("div", { key: 'a7511bff77244f06648e7a9fa88dba7cfa341736', class: "toolbar-background" }), h("div", { key: '11347fdb377f492d454709d552754b71c0d62754', class: "toolbar-container" }, h("slot", { key: '49b7e5f7fa17329b9160f1017d00c0d39fbd1e59', name: "start" }), h("slot", { key: '23f248e4273880e4629f1149dfb3081f873d9fcb', name: "secondary" }), h("div", { key: '4f2d1b71e624c2e63427c13a1e5c4c37a422004e', class: "toolbar-content" }, h("slot", { key: '3554cda5a394ec59b6161ce45fd1c71e41dfc26c' })), h("slot", { key: 'de77e5bca3c49d3c961838681fca239ff4d4bba9', name: "primary" }), h("slot", { key: 'e3e32c04cd0558ea1cd2af1a99d527eb67de5863', name: "end" }))));
68
+ })) }, h("div", { key: '2e473c8bebf448f411ec1a579f0c81eb05310c56', class: "toolbar-background" }), h("div", { key: 'cf2d7c69bc028410338942aaea37527c570ccec5', class: "toolbar-container" }, h("slot", { key: '445cbd5299188eef4761c605b4a8d20a61079590', name: "start" }), h("slot", { key: '77675b5c0c0afffe5251ba271f5db23f87339859', name: "secondary" }), h("div", { key: '7d5967c4ad6c0fca7573aa48da707c8b0dfcd052', class: "toolbar-content" }, h("slot", { key: 'ad5530d63df9ca101760fb9f71e3641c66e95b6c' })), h("slot", { key: '35837ac1b7a4a59f000149d480900bc19015b258', name: "primary" }), h("slot", { key: '504904cf46e2190dd0a3aa5b7855b5fc54f73726', name: "end" }))));
69
69
  }
70
70
  static get is() { return "ion-toolbar"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -2,36 +2,6 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  let animationPrefix;
5
- /**
6
- * Web Animations requires hyphenated CSS properties
7
- * to be written in camelCase when animating
8
- */
9
- export const processKeyframes = (keyframes) => {
10
- keyframes.forEach((keyframe) => {
11
- for (const key in keyframe) {
12
- // eslint-disable-next-line no-prototype-builtins
13
- if (keyframe.hasOwnProperty(key)) {
14
- const value = keyframe[key];
15
- if (key === 'easing') {
16
- const newKey = 'animation-timing-function';
17
- keyframe[newKey] = value;
18
- delete keyframe[key];
19
- }
20
- else {
21
- const newKey = convertCamelCaseToHypen(key);
22
- if (newKey !== key) {
23
- keyframe[newKey] = value;
24
- delete keyframe[key];
25
- }
26
- }
27
- }
28
- }
29
- });
30
- return keyframes;
31
- };
32
- const convertCamelCaseToHypen = (str) => {
33
- return str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
34
- };
35
5
  export const getAnimationPrefix = (el) => {
36
6
  if (animationPrefix === undefined) {
37
7
  const supportsUnprefixed = el.style.animationName !== undefined;
@@ -44,78 +14,6 @@ export const setStyleProperty = (element, propertyName, value) => {
44
14
  const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';
45
15
  element.style.setProperty(prefix + propertyName, value);
46
16
  };
47
- export const removeStyleProperty = (element, propertyName) => {
48
- const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';
49
- element.style.removeProperty(prefix + propertyName);
50
- };
51
- export const animationEnd = (el, callback) => {
52
- let unRegTrans;
53
- const opts = { passive: true };
54
- const unregister = () => {
55
- if (unRegTrans) {
56
- unRegTrans();
57
- }
58
- };
59
- const onTransitionEnd = (ev) => {
60
- if (el === ev.target) {
61
- unregister();
62
- callback(ev);
63
- }
64
- };
65
- if (el) {
66
- el.addEventListener('webkitAnimationEnd', onTransitionEnd, opts);
67
- el.addEventListener('animationend', onTransitionEnd, opts);
68
- unRegTrans = () => {
69
- el.removeEventListener('webkitAnimationEnd', onTransitionEnd, opts);
70
- el.removeEventListener('animationend', onTransitionEnd, opts);
71
- };
72
- }
73
- return unregister;
74
- };
75
- // TODO(FW-2832): type
76
- export const generateKeyframeRules = (keyframes = []) => {
77
- return keyframes
78
- .map((keyframe) => {
79
- const offset = keyframe.offset;
80
- const frameString = [];
81
- for (const property in keyframe) {
82
- // eslint-disable-next-line no-prototype-builtins
83
- if (keyframe.hasOwnProperty(property) && property !== 'offset') {
84
- frameString.push(`${property}: ${keyframe[property]};`);
85
- }
86
- }
87
- return `${offset * 100}% { ${frameString.join(' ')} }`;
88
- })
89
- .join(' ');
90
- };
91
- const keyframeIds = [];
92
- export const generateKeyframeName = (keyframeRules) => {
93
- let index = keyframeIds.indexOf(keyframeRules);
94
- if (index < 0) {
95
- index = keyframeIds.push(keyframeRules) - 1;
96
- }
97
- return `ion-animation-${index}`;
98
- };
99
- export const getStyleContainer = (element) => {
100
- // getRootNode is not always available in SSR environments.
101
- // TODO(FW-2832): types
102
- const rootNode = element.getRootNode !== undefined ? element.getRootNode() : element;
103
- return rootNode.head || rootNode;
104
- };
105
- export const createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {
106
- var _a;
107
- const styleContainer = getStyleContainer(element);
108
- const keyframePrefix = getAnimationPrefix(element);
109
- const existingStylesheet = styleContainer.querySelector('#' + keyframeName);
110
- if (existingStylesheet) {
111
- return existingStylesheet;
112
- }
113
- const stylesheet = ((_a = element.ownerDocument) !== null && _a !== void 0 ? _a : document).createElement('style');
114
- stylesheet.id = keyframeName;
115
- stylesheet.textContent = `@${keyframePrefix}keyframes ${keyframeName} { ${keyframeRules} } @${keyframePrefix}keyframes ${keyframeName}-alt { ${keyframeRules} }`;
116
- styleContainer.appendChild(stylesheet);
117
- return stylesheet;
118
- };
119
17
  export const addClassToArray = (classes = [], className) => {
120
18
  if (className !== undefined) {
121
19
  const classNameToAppend = Array.isArray(className) ? className : [className];
@@ -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) => {