@ionic/core 8.3.4-dev.11730140347.1a5a7bee → 8.3.4-dev.11730315987.18af6259

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 (1165) hide show
  1. package/components/action-sheet.js +8 -13
  2. package/components/alert.js +15 -18
  3. package/components/animation.js +1 -1
  4. package/components/backdrop.js +6 -10
  5. package/components/button.js +11 -41
  6. package/components/buttons.js +7 -11
  7. package/components/capacitor.js +1 -1
  8. package/components/checkbox.js +15 -30
  9. package/components/content.js +446 -0
  10. package/components/data.js +4 -4
  11. package/components/focus-visible.js +1 -8
  12. package/components/framework-delegate.js +1 -3
  13. package/components/hardware-back-button.js +115 -0
  14. package/components/header.js +356 -0
  15. package/components/helpers.js +1 -4
  16. package/components/index2.js +2 -2
  17. package/components/index4.js +11 -10
  18. package/components/index5.js +3 -27
  19. package/components/index6.js +20 -114
  20. package/components/index7.js +27 -163
  21. package/components/index8.js +128 -0
  22. package/{dist/esm/index-7f65e865.js → components/index9.js} +2 -3
  23. package/components/input-shims.js +2 -2
  24. package/components/input.utils.js +2 -1
  25. package/components/ion-accordion-group.js +6 -9
  26. package/components/ion-accordion.js +17 -36
  27. package/components/ion-app.js +77 -9
  28. package/components/ion-avatar.js +3 -52
  29. package/components/ion-back-button.js +19 -29
  30. package/components/ion-badge.js +8 -44
  31. package/components/ion-breadcrumb.js +11 -45
  32. package/components/ion-breadcrumbs.js +5 -9
  33. package/components/ion-card-content.js +7 -11
  34. package/components/ion-card-header.js +5 -9
  35. package/components/ion-card-subtitle.js +5 -9
  36. package/components/ion-card-title.js +5 -9
  37. package/components/ion-card.js +9 -17
  38. package/components/ion-chip.js +8 -45
  39. package/components/ion-col.js +5 -5
  40. package/components/ion-content.js +1 -443
  41. package/components/ion-datetime-button.js +6 -9
  42. package/components/ion-datetime.js +20 -96
  43. package/components/ion-fab-button.js +10 -33
  44. package/components/ion-fab-list.js +5 -5
  45. package/components/ion-fab.js +6 -6
  46. package/components/ion-footer.js +12 -18
  47. package/components/ion-grid.js +5 -5
  48. package/components/ion-header.js +1 -360
  49. package/components/ion-img.js +2 -5
  50. package/components/ion-infinite-scroll-content.js +8 -13
  51. package/components/ion-infinite-scroll.js +5 -5
  52. package/components/ion-input-password-toggle.js +14 -53
  53. package/components/ion-input.js +20 -118
  54. package/components/ion-item-divider.js +5 -9
  55. package/components/ion-item-group.js +5 -9
  56. package/components/ion-item-option.js +8 -28
  57. package/components/ion-item-options.js +5 -9
  58. package/components/ion-item-sliding.js +5 -5
  59. package/components/ion-loading.js +8 -13
  60. package/components/ion-menu-button.js +10 -28
  61. package/components/ion-menu-toggle.js +5 -5
  62. package/components/ion-menu.js +25 -29
  63. package/components/ion-modal.js +1 -1767
  64. package/components/ion-nav-link.js +1 -1
  65. package/components/ion-nav.js +6 -8
  66. package/components/ion-note.js +5 -9
  67. package/components/ion-picker-legacy.js +8 -7
  68. package/components/ion-progress-bar.js +6 -11
  69. package/components/ion-range.js +8 -11
  70. package/components/ion-refresher-content.js +9 -28
  71. package/components/ion-refresher.js +7 -11
  72. package/components/ion-reorder-group.js +5 -5
  73. package/components/ion-reorder.js +5 -31
  74. package/components/ion-router-link.js +6 -6
  75. package/components/ion-router-outlet.js +3 -4
  76. package/components/ion-row.js +2 -5
  77. package/components/ion-searchbar.js +16 -93
  78. package/components/ion-segment-button.js +8 -12
  79. package/components/ion-segment.js +7 -11
  80. package/components/ion-select-modal.d.ts +11 -0
  81. package/components/ion-select-modal.js +9 -0
  82. package/components/ion-select-option.js +2 -5
  83. package/components/ion-select.js +140 -116
  84. package/components/ion-skeleton-text.js +5 -6
  85. package/components/ion-split-pane.js +8 -12
  86. package/components/ion-tab-bar.js +8 -31
  87. package/components/ion-tab-button.js +7 -12
  88. package/components/ion-tab.js +2 -2
  89. package/components/ion-tabs.js +2 -2
  90. package/components/ion-text.js +5 -5
  91. package/components/ion-textarea.js +11 -38
  92. package/components/ion-thumbnail.js +2 -5
  93. package/components/ion-title.js +1 -74
  94. package/components/ion-toast.js +12 -30
  95. package/components/ion-toggle.js +18 -77
  96. package/components/ion-toolbar.js +1 -92
  97. package/components/ionic-global.js +84 -374
  98. package/components/ios.transition.js +0 -1
  99. package/components/item.js +11 -41
  100. package/components/keyboard-controller.js +2 -4
  101. package/components/label.js +5 -9
  102. package/components/list-header.js +5 -9
  103. package/components/list.js +6 -29
  104. package/components/modal.js +1742 -0
  105. package/components/notch-controller.js +1 -1
  106. package/components/overlays.js +5 -4
  107. package/components/picker-column-option.js +5 -9
  108. package/components/picker-column.js +8 -7
  109. package/components/picker-column2.js +4 -4
  110. package/components/picker.js +4 -8
  111. package/components/popover.js +8 -11
  112. package/components/radio-group.js +7 -7
  113. package/components/radio.js +12 -14
  114. package/components/ripple-effect.js +8 -18
  115. package/components/select-modal.js +197 -0
  116. package/components/select-popover.js +2 -9
  117. package/components/spinner.js +9 -36
  118. package/components/status-tap.js +1 -1
  119. package/components/title.js +75 -0
  120. package/components/toolbar.js +93 -0
  121. package/css/core.css +1 -1
  122. package/css/core.css.map +1 -1
  123. package/css/display.css.map +1 -1
  124. package/css/flex-utils.css.map +1 -1
  125. package/css/float-elements.css.map +1 -1
  126. package/css/global.bundle.css.map +1 -1
  127. package/css/ionic-swiper.css +1 -1
  128. package/css/ionic-swiper.css.map +1 -1
  129. package/css/ionic.bundle.css +1 -1
  130. package/css/ionic.bundle.css.map +1 -1
  131. package/css/normalize.css.map +1 -1
  132. package/css/padding.css.map +1 -1
  133. package/css/palettes/dark.always.css.map +1 -1
  134. package/css/palettes/dark.class.css.map +1 -1
  135. package/css/palettes/dark.system.css.map +1 -1
  136. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  137. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  138. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  139. package/css/palettes/high-contrast.always.css.map +1 -1
  140. package/css/palettes/high-contrast.class.css.map +1 -1
  141. package/css/palettes/high-contrast.system.css.map +1 -1
  142. package/css/structure.css.map +1 -1
  143. package/css/text-alignment.css.map +1 -1
  144. package/css/text-transformation.css.map +1 -1
  145. package/css/typography.css.map +1 -1
  146. package/css/utils.bundle.css.map +1 -1
  147. package/dist/cjs/{animation-232e0c8f.js → animation-b4fdf128.js} +2 -2
  148. package/dist/cjs/{app-globals-0189a70c.js → app-globals-21afee77.js} +1 -1
  149. package/dist/cjs/{button-active-41228dbf.js → button-active-3f2f60b4.js} +4 -4
  150. package/dist/cjs/{capacitor-806e7fee.js → capacitor-c04564bf.js} +3 -3
  151. package/dist/cjs/{data-cad5d489.js → data-21dc0f81.js} +6 -6
  152. package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
  153. package/dist/cjs/{framework-delegate-cf116b1d.js → framework-delegate-55f5683a.js} +2 -4
  154. package/dist/cjs/{haptic-f0cad9a6.js → haptic-f6b37aa3.js} +1 -1
  155. package/dist/cjs/hardware-back-button-9e8a2c4f.js +122 -0
  156. package/dist/cjs/{helpers-e75eb909.js → helpers-afaa9001.js} +1 -4
  157. package/dist/cjs/index-5915f9b3.js +38 -0
  158. package/dist/cjs/{index-1d02518d.js → index-5b6a7459.js} +3 -3
  159. package/dist/cjs/{config-1349d5b4.js → index-73f75efb.js} +0 -79
  160. package/dist/cjs/{index-71085796.js → index-8e789962.js} +17 -16
  161. package/dist/cjs/{index-2c8b42cd.js → index-9509ecad.js} +7 -8
  162. package/dist/cjs/index-c8d52405.js +10 -0
  163. package/dist/cjs/{index-3ac79a1b.js → index-f05acd21.js} +12 -11
  164. package/dist/cjs/index.cjs.js +13 -10
  165. package/dist/cjs/{input-shims-2958dcc9.js → input-shims-9e59ef62.js} +17 -17
  166. package/dist/cjs/{input.utils-ed749ecb.js → input.utils-611cde0b.js} +5 -4
  167. package/dist/cjs/ion-accordion_2.cjs.entry.js +32 -53
  168. package/dist/cjs/ion-action-sheet.cjs.entry.js +30 -32
  169. package/dist/cjs/ion-alert.cjs.entry.js +46 -45
  170. package/dist/cjs/ion-app_8.cjs.entry.js +189 -144
  171. package/dist/cjs/ion-avatar_3.cjs.entry.js +13 -96
  172. package/dist/cjs/ion-back-button.cjs.entry.js +25 -34
  173. package/dist/cjs/ion-backdrop.cjs.entry.js +9 -13
  174. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +25 -62
  175. package/dist/cjs/ion-button_2.cjs.entry.js +24 -54
  176. package/dist/cjs/ion-card_5.cjs.entry.js +36 -59
  177. package/dist/cjs/ion-checkbox.cjs.entry.js +23 -37
  178. package/dist/cjs/ion-chip.cjs.entry.js +9 -44
  179. package/dist/cjs/ion-col_3.cjs.entry.js +15 -18
  180. package/dist/cjs/ion-datetime-button.cjs.entry.js +15 -18
  181. package/dist/cjs/ion-datetime_3.cjs.entry.js +115 -188
  182. package/dist/cjs/ion-fab_3.cjs.entry.js +29 -51
  183. package/dist/cjs/ion-img.cjs.entry.js +9 -12
  184. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +29 -32
  185. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +19 -57
  186. package/dist/cjs/ion-input.cjs.entry.js +39 -133
  187. package/dist/cjs/ion-item-option_3.cjs.entry.js +29 -51
  188. package/dist/cjs/ion-item_8.cjs.entry.js +60 -131
  189. package/dist/cjs/ion-loading.cjs.entry.js +30 -31
  190. package/dist/cjs/ion-menu_3.cjs.entry.js +64 -82
  191. package/dist/cjs/ion-modal.cjs.entry.js +67 -94
  192. package/dist/cjs/ion-nav_2.cjs.entry.js +28 -29
  193. package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -13
  194. package/dist/cjs/ion-picker-column.cjs.entry.js +17 -16
  195. package/dist/cjs/ion-picker.cjs.entry.js +9 -13
  196. package/dist/cjs/ion-popover.cjs.entry.js +30 -31
  197. package/dist/cjs/ion-progress-bar.cjs.entry.js +14 -18
  198. package/dist/cjs/ion-radio_2.cjs.entry.js +29 -31
  199. package/dist/cjs/ion-range.cjs.entry.js +28 -31
  200. package/dist/cjs/ion-refresher_2.cjs.entry.js +53 -73
  201. package/dist/cjs/ion-reorder_2.cjs.entry.js +22 -45
  202. package/dist/cjs/ion-ripple-effect.cjs.entry.js +12 -22
  203. package/dist/cjs/ion-route_4.cjs.entry.js +17 -17
  204. package/dist/cjs/ion-searchbar.cjs.entry.js +31 -107
  205. package/dist/cjs/ion-segment_2.cjs.entry.js +25 -33
  206. package/dist/cjs/ion-select-modal.cjs.entry.js +111 -0
  207. package/dist/cjs/ion-select_3.cjs.entry.js +98 -128
  208. package/dist/cjs/ion-spinner.cjs.entry.js +17 -42
  209. package/dist/cjs/ion-split-pane.cjs.entry.js +12 -16
  210. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -52
  211. package/dist/cjs/ion-tab_2.cjs.entry.js +14 -14
  212. package/dist/cjs/ion-text.cjs.entry.js +7 -7
  213. package/dist/cjs/ion-textarea.cjs.entry.js +32 -56
  214. package/dist/cjs/ion-toast.cjs.entry.js +43 -58
  215. package/dist/cjs/ion-toggle.cjs.entry.js +31 -88
  216. package/dist/cjs/ionic-global-d9a8bb5b.js +237 -0
  217. package/dist/cjs/ionic.cjs.js +7 -7
  218. package/dist/cjs/{ios.transition-4411892c.js → ios.transition-cf40433b.js} +7 -6
  219. package/dist/cjs/{keyboard-ed6e1327.js → keyboard-0272231f.js} +1 -1
  220. package/dist/cjs/{keyboard-e0062bfc.js → keyboard-af1bb365.js} +3 -4
  221. package/dist/cjs/{keyboard-controller-020444ad.js → keyboard-controller-c05e747a.js} +9 -11
  222. package/dist/cjs/loader.cjs.js +5 -5
  223. package/dist/cjs/{md.transition-261f9f67.js → md.transition-ededf99f.js} +7 -5
  224. package/dist/cjs/{notch-controller-70ad2323.js → notch-controller-d69150f5.js} +4 -4
  225. package/dist/cjs/{overlays-22320753.js → overlays-0123d7d4.js} +19 -18
  226. package/dist/cjs/{status-tap-cfc7f9a5.js → status-tap-37681226.js} +8 -8
  227. package/dist/cjs/{swipe-back-ecdf1cf5.js → swipe-back-0303a5e4.js} +1 -2
  228. package/dist/collection/collection-manifest.json +1 -0
  229. package/dist/collection/components/accordion/accordion.ios.css +58 -73
  230. package/dist/collection/components/accordion/accordion.js +21 -37
  231. package/dist/collection/components/accordion/accordion.md.css +59 -67
  232. package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -16
  233. package/dist/collection/components/accordion-group/accordion-group.js +8 -11
  234. package/dist/collection/components/accordion-group/accordion-group.md.css +4 -22
  235. package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
  236. package/dist/collection/components/action-sheet/action-sheet.js +10 -14
  237. package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
  238. package/dist/collection/components/alert/alert.ios.css +1 -19
  239. package/dist/collection/components/alert/alert.js +17 -18
  240. package/dist/collection/components/alert/alert.md.css +1 -19
  241. package/dist/collection/components/app/app.js +78 -12
  242. package/dist/collection/components/avatar/avatar.ios.css +0 -12
  243. package/dist/collection/components/avatar/avatar.js +4 -92
  244. package/dist/collection/components/avatar/avatar.md.css +0 -12
  245. package/dist/collection/components/back-button/back-button.ios.css +48 -60
  246. package/dist/collection/components/back-button/back-button.js +19 -27
  247. package/dist/collection/components/back-button/back-button.md.css +48 -60
  248. package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
  249. package/dist/collection/components/backdrop/backdrop.js +6 -12
  250. package/dist/collection/components/backdrop/backdrop.md.css +1 -13
  251. package/dist/collection/components/badge/badge.ios.css +3 -106
  252. package/dist/collection/components/badge/badge.js +8 -75
  253. package/dist/collection/components/badge/badge.md.css +3 -106
  254. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
  255. package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
  256. package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
  257. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
  258. package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
  259. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
  260. package/dist/collection/components/button/button.ios.css +36 -129
  261. package/dist/collection/components/button/button.js +16 -46
  262. package/dist/collection/components/button/button.md.css +40 -120
  263. package/dist/collection/components/buttons/buttons.ios.css +7 -59
  264. package/dist/collection/components/buttons/buttons.js +8 -14
  265. package/dist/collection/components/buttons/buttons.md.css +3 -55
  266. package/dist/collection/components/card/card.ios.css +14 -65
  267. package/dist/collection/components/card/card.js +10 -34
  268. package/dist/collection/components/card/card.md.css +14 -65
  269. package/dist/collection/components/card-content/card-content.ios.css +1 -16
  270. package/dist/collection/components/card-content/card-content.js +8 -11
  271. package/dist/collection/components/card-content/card-content.md.css +1 -16
  272. package/dist/collection/components/card-header/card-header.ios.css +15 -27
  273. package/dist/collection/components/card-header/card-header.js +9 -12
  274. package/dist/collection/components/card-header/card-header.md.css +15 -27
  275. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
  276. package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
  277. package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
  278. package/dist/collection/components/card-title/card-title.ios.css +0 -73
  279. package/dist/collection/components/card-title/card-title.js +8 -11
  280. package/dist/collection/components/card-title/card-title.md.css +0 -73
  281. package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
  282. package/dist/collection/components/checkbox/checkbox.js +40 -64
  283. package/dist/collection/components/checkbox/checkbox.md.css +3 -21
  284. package/dist/collection/components/chip/chip.ios.css +1 -20
  285. package/dist/collection/components/chip/chip.js +8 -77
  286. package/dist/collection/components/chip/chip.md.css +1 -20
  287. package/dist/collection/components/col/col.css +0 -12
  288. package/dist/collection/components/col/col.js +5 -9
  289. package/dist/collection/components/content/content.css +2 -8
  290. package/dist/collection/components/content/content.js +11 -16
  291. package/dist/collection/components/datetime/datetime.ios.css +73 -232
  292. package/dist/collection/components/datetime/datetime.js +19 -95
  293. package/dist/collection/components/datetime/datetime.md.css +73 -232
  294. package/dist/collection/components/datetime/utils/data.js +3 -3
  295. package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
  296. package/dist/collection/components/datetime-button/datetime-button.js +8 -11
  297. package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
  298. package/dist/collection/components/fab/fab.css +1 -25
  299. package/dist/collection/components/fab/fab.js +5 -9
  300. package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
  301. package/dist/collection/components/fab-button/fab-button.js +15 -36
  302. package/dist/collection/components/fab-button/fab-button.md.css +8 -20
  303. package/dist/collection/components/fab-list/fab-list.css +0 -12
  304. package/dist/collection/components/fab-list/fab-list.js +5 -9
  305. package/dist/collection/components/footer/footer.ios.css +2 -14
  306. package/dist/collection/components/footer/footer.js +15 -20
  307. package/dist/collection/components/footer/footer.md.css +0 -12
  308. package/dist/collection/components/grid/grid.css +0 -12
  309. package/dist/collection/components/grid/grid.js +5 -9
  310. package/dist/collection/components/header/header.ios.css +10 -25
  311. package/dist/collection/components/header/header.js +17 -42
  312. package/dist/collection/components/header/header.md.css +8 -23
  313. package/dist/collection/components/img/img.js +2 -8
  314. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
  315. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
  316. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
  317. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
  318. package/dist/collection/components/input/input.ios.css +2 -21
  319. package/dist/collection/components/input/input.js +30 -144
  320. package/dist/collection/components/input/input.md.css +4 -43
  321. package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
  322. package/dist/collection/components/item/item.ios.css +69 -109
  323. package/dist/collection/components/item/item.js +16 -44
  324. package/dist/collection/components/item/item.md.css +68 -120
  325. package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
  326. package/dist/collection/components/item-divider/item-divider.js +8 -11
  327. package/dist/collection/components/item-divider/item-divider.md.css +0 -18
  328. package/dist/collection/components/item-group/item-group.ios.css +0 -12
  329. package/dist/collection/components/item-group/item-group.js +7 -13
  330. package/dist/collection/components/item-group/item-group.md.css +0 -12
  331. package/dist/collection/components/item-option/item-option.ios.css +2 -14
  332. package/dist/collection/components/item-option/item-option.js +8 -43
  333. package/dist/collection/components/item-option/item-option.md.css +2 -14
  334. package/dist/collection/components/item-options/item-options.ios.css +0 -18
  335. package/dist/collection/components/item-options/item-options.js +7 -13
  336. package/dist/collection/components/item-options/item-options.md.css +0 -18
  337. package/dist/collection/components/item-sliding/item-sliding.css +0 -6
  338. package/dist/collection/components/item-sliding/item-sliding.js +4 -8
  339. package/dist/collection/components/label/label.ios.css +0 -18
  340. package/dist/collection/components/label/label.js +8 -11
  341. package/dist/collection/components/label/label.md.css +0 -18
  342. package/dist/collection/components/list/list.ios.css +0 -18
  343. package/dist/collection/components/list/list.js +9 -47
  344. package/dist/collection/components/list/list.md.css +2 -20
  345. package/dist/collection/components/list-header/list-header.ios.css +0 -18
  346. package/dist/collection/components/list-header/list-header.js +8 -11
  347. package/dist/collection/components/list-header/list-header.md.css +0 -18
  348. package/dist/collection/components/loading/loading.ios.css +1 -13
  349. package/dist/collection/components/loading/loading.js +10 -13
  350. package/dist/collection/components/loading/loading.md.css +1 -13
  351. package/dist/collection/components/menu/menu.ios.css +3 -15
  352. package/dist/collection/components/menu/menu.js +52 -37
  353. package/dist/collection/components/menu/menu.md.css +3 -15
  354. package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
  355. package/dist/collection/components/menu-button/menu-button.js +10 -26
  356. package/dist/collection/components/menu-button/menu-button.md.css +15 -49
  357. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
  358. package/dist/collection/components/modal/animations/sheet.js +2 -8
  359. package/dist/collection/components/modal/gestures/sheet.js +6 -10
  360. package/dist/collection/components/modal/modal.ios.css +63 -106
  361. package/dist/collection/components/modal/modal.js +11 -47
  362. package/dist/collection/components/modal/modal.md.css +63 -106
  363. package/dist/collection/components/nav/nav.css +1 -7
  364. package/dist/collection/components/nav/nav.js +5 -11
  365. package/dist/collection/components/nav-link/nav-link.js +1 -5
  366. package/dist/collection/components/note/note.ios.css +0 -12
  367. package/dist/collection/components/note/note.js +8 -11
  368. package/dist/collection/components/note/note.md.css +0 -12
  369. package/dist/collection/components/picker/picker.ios.css +3 -15
  370. package/dist/collection/components/picker/picker.js +5 -8
  371. package/dist/collection/components/picker/picker.md.css +3 -15
  372. package/dist/collection/components/picker-column/picker-column.css +2 -9
  373. package/dist/collection/components/picker-column/picker-column.js +7 -8
  374. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
  375. package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
  376. package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
  377. package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
  378. package/dist/collection/components/picker-legacy/picker.js +6 -7
  379. package/dist/collection/components/picker-legacy/picker.md.css +1 -13
  380. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
  381. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
  382. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
  383. package/dist/collection/components/popover/popover.ios.css +1 -13
  384. package/dist/collection/components/popover/popover.js +12 -15
  385. package/dist/collection/components/popover/popover.md.css +1 -13
  386. package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
  387. package/dist/collection/components/progress-bar/progress-bar.js +7 -10
  388. package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
  389. package/dist/collection/components/radio/radio.ios.css +91 -134
  390. package/dist/collection/components/radio/radio.js +15 -16
  391. package/dist/collection/components/radio/radio.md.css +91 -134
  392. package/dist/collection/components/radio-group/radio-group.js +7 -11
  393. package/dist/collection/components/range/range.ios.css +0 -12
  394. package/dist/collection/components/range/range.js +9 -12
  395. package/dist/collection/components/range/range.md.css +0 -12
  396. package/dist/collection/components/refresher/refresher.ios.css +1 -14
  397. package/dist/collection/components/refresher/refresher.js +8 -11
  398. package/dist/collection/components/refresher/refresher.md.css +2 -15
  399. package/dist/collection/components/refresher-content/refresher-content.js +7 -28
  400. package/dist/collection/components/reorder/reorder.ios.css +0 -6
  401. package/dist/collection/components/reorder/reorder.js +6 -33
  402. package/dist/collection/components/reorder/reorder.md.css +0 -6
  403. package/dist/collection/components/reorder-group/reorder-group.css +0 -6
  404. package/dist/collection/components/reorder-group/reorder-group.js +4 -8
  405. package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
  406. package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
  407. package/dist/collection/components/route/route.js +0 -4
  408. package/dist/collection/components/router/router.js +0 -4
  409. package/dist/collection/components/router-link/router-link.css +2 -8
  410. package/dist/collection/components/router-link/router-link.js +5 -9
  411. package/dist/collection/components/router-outlet/router-outlet.css +1 -7
  412. package/dist/collection/components/router-outlet/router-outlet.js +2 -5
  413. package/dist/collection/components/row/row.css +0 -12
  414. package/dist/collection/components/row/row.js +2 -9
  415. package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
  416. package/dist/collection/components/searchbar/searchbar.js +25 -97
  417. package/dist/collection/components/searchbar/searchbar.md.css +18 -56
  418. package/dist/collection/components/segment/segment.ios.css +2 -45
  419. package/dist/collection/components/segment/segment.js +8 -11
  420. package/dist/collection/components/segment/segment.md.css +2 -45
  421. package/dist/collection/components/segment-button/segment-button.ios.css +105 -146
  422. package/dist/collection/components/segment-button/segment-button.js +9 -12
  423. package/dist/collection/components/segment-button/segment-button.md.css +107 -148
  424. package/dist/collection/components/select/select.ios.css +3 -22
  425. package/dist/collection/components/select/select.js +90 -93
  426. package/dist/collection/components/select/select.md.css +5 -38
  427. package/dist/collection/components/select-modal/select-modal-interface.js +1 -0
  428. package/dist/collection/components/select-modal/select-modal.ios.css +3 -0
  429. package/dist/collection/components/select-modal/select-modal.js +159 -0
  430. package/dist/collection/components/{segment/segment.ionic.css → select-modal/select-modal.md.css} +26 -34
  431. package/dist/collection/components/select-modal/test/fixtures.js +48 -0
  432. package/dist/collection/components/select-option/select-option.js +2 -9
  433. package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
  434. package/dist/collection/components/select-popover/select-popover.js +4 -12
  435. package/dist/collection/components/select-popover/select-popover.md.css +0 -18
  436. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
  437. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
  438. package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +0 -64
  439. package/dist/collection/components/spinner/spinner.js +6 -46
  440. package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
  441. package/dist/collection/components/split-pane/split-pane.js +8 -14
  442. package/dist/collection/components/split-pane/split-pane.md.css +2 -20
  443. package/dist/collection/components/tab/tab.js +2 -6
  444. package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
  445. package/dist/collection/components/tab-bar/tab-bar.js +10 -65
  446. package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
  447. package/dist/collection/components/tab-button/tab-button.ios.css +88 -103
  448. package/dist/collection/components/tab-button/tab-button.js +8 -11
  449. package/dist/collection/components/tab-button/tab-button.md.css +88 -103
  450. package/dist/collection/components/tabs/tabs.css +1 -7
  451. package/dist/collection/components/tabs/tabs.js +1 -4
  452. package/dist/collection/components/text/text.css +0 -6
  453. package/dist/collection/components/text/text.js +6 -7
  454. package/dist/collection/components/textarea/textarea.ios.css +96 -201
  455. package/dist/collection/components/textarea/textarea.js +16 -59
  456. package/dist/collection/components/textarea/textarea.md.css +97 -214
  457. package/dist/collection/components/thumbnail/thumbnail.css +0 -6
  458. package/dist/collection/components/thumbnail/thumbnail.js +2 -9
  459. package/dist/collection/components/title/title.ios.css +4 -32
  460. package/dist/collection/components/title/title.js +7 -13
  461. package/dist/collection/components/title/title.md.css +4 -32
  462. package/dist/collection/components/toast/animations/utils.js +1 -1
  463. package/dist/collection/components/toast/toast.ios.css +35 -74
  464. package/dist/collection/components/toast/toast.js +11 -45
  465. package/dist/collection/components/toast/toast.md.css +35 -74
  466. package/dist/collection/components/toggle/toggle.ios.css +120 -166
  467. package/dist/collection/components/toggle/toggle.js +18 -73
  468. package/dist/collection/components/toggle/toggle.md.css +120 -163
  469. package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
  470. package/dist/collection/components/toolbar/toolbar.js +10 -13
  471. package/dist/collection/components/toolbar/toolbar.md.css +47 -90
  472. package/dist/collection/global/ionic-global.js +13 -229
  473. package/dist/collection/utils/focus-visible.js +0 -7
  474. package/dist/collection/utils/framework-delegate.js +1 -3
  475. package/dist/collection/utils/helpers.js +1 -3
  476. package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
  477. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  478. package/dist/collection/utils/menu-controller/animations/push.js +1 -2
  479. package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
  480. package/dist/collection/utils/menu-controller/index.js +2 -2
  481. package/dist/collection/utils/overlays.js +1 -2
  482. package/dist/collection/utils/test/playwright/generator.js +23 -48
  483. package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
  484. package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -14
  485. package/dist/collection/utils/transition/ios.transition.js +0 -1
  486. package/dist/docs.json +603 -7013
  487. package/dist/esm/{animation-16546c84.js → animation-eab5a4ca.js} +1 -1
  488. package/dist/esm/{app-globals-35381e66.js → app-globals-5dbb61a5.js} +1 -1
  489. package/dist/esm/{button-active-c768aceb.js → button-active-f6503382.js} +2 -2
  490. package/dist/esm/{capacitor-0897b83c.js → capacitor-59395cbd.js} +1 -1
  491. package/dist/esm/{data-d9b1fbdb.js → data-ae11fd43.js} +4 -4
  492. package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
  493. package/dist/esm/{framework-delegate-56698eb0.js → framework-delegate-63d1a679.js} +2 -4
  494. package/dist/esm/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
  495. package/dist/esm/hardware-back-button-06ef3c3e.js +116 -0
  496. package/dist/esm/{helpers-d57f52c8.js → helpers-da915de8.js} +1 -4
  497. package/dist/esm/{index-82405a4a.js → index-24b48b06.js} +13 -12
  498. package/dist/esm/{config-0b6b1b3d.js → index-28849c61.js} +1 -76
  499. package/dist/esm/{index-edf94b3b.js → index-3ad7f18b.js} +6 -5
  500. package/dist/esm/{index-f8ad386a.js → index-5cc724f3.js} +2 -2
  501. package/dist/esm/index-79b30591.js +167 -0
  502. package/dist/esm/index-9b0d46f4.js +34 -0
  503. package/dist/esm/index-a5d50daf.js +7 -0
  504. package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
  505. package/dist/esm/index.js +13 -10
  506. package/dist/esm/{input-shims-0f3cc1c3.js → input-shims-0314bbe5.js} +6 -6
  507. package/dist/esm/{input.utils-ef4d8197.js → input.utils-09c71bc7.js} +3 -2
  508. package/dist/esm/ion-accordion_2.entry.js +24 -45
  509. package/dist/esm/ion-action-sheet.entry.js +19 -21
  510. package/dist/esm/ion-alert.entry.js +26 -25
  511. package/dist/esm/ion-app_8.entry.js +140 -95
  512. package/dist/esm/ion-avatar_3.entry.js +10 -93
  513. package/dist/esm/ion-back-button.entry.js +21 -30
  514. package/dist/esm/ion-backdrop.entry.js +7 -11
  515. package/dist/esm/ion-breadcrumb_2.entry.js +17 -54
  516. package/dist/esm/ion-button_2.entry.js +13 -43
  517. package/dist/esm/ion-card_5.entry.js +29 -52
  518. package/dist/esm/ion-checkbox.entry.js +16 -30
  519. package/dist/esm/ion-chip.entry.js +8 -43
  520. package/dist/esm/ion-col_3.entry.js +11 -14
  521. package/dist/esm/ion-datetime-button.entry.js +9 -12
  522. package/dist/esm/ion-datetime_3.entry.js +40 -113
  523. package/dist/esm/ion-fab_3.entry.js +21 -43
  524. package/dist/esm/ion-img.entry.js +4 -7
  525. package/dist/esm/ion-infinite-scroll_2.entry.js +15 -18
  526. package/dist/esm/ion-input-password-toggle.entry.js +15 -53
  527. package/dist/esm/ion-input.entry.js +25 -119
  528. package/dist/esm/ion-item-option_3.entry.js +18 -40
  529. package/dist/esm/ion-item_8.entry.js +42 -113
  530. package/dist/esm/ion-loading.entry.js +16 -17
  531. package/dist/esm/ion-menu_3.entry.js +45 -63
  532. package/dist/esm/ion-modal.entry.js +31 -58
  533. package/dist/esm/ion-nav_2.entry.js +12 -13
  534. package/dist/esm/ion-picker-column-option.entry.js +7 -11
  535. package/dist/esm/ion-picker-column.entry.js +12 -11
  536. package/dist/esm/ion-picker.entry.js +6 -10
  537. package/dist/esm/ion-popover.entry.js +16 -17
  538. package/dist/esm/ion-progress-bar.entry.js +8 -12
  539. package/dist/esm/ion-radio_2.entry.js +20 -22
  540. package/dist/esm/ion-range.entry.js +10 -13
  541. package/dist/esm/ion-refresher_2.entry.js +21 -41
  542. package/dist/esm/ion-reorder_2.entry.js +15 -38
  543. package/dist/esm/ion-ripple-effect.entry.js +8 -18
  544. package/dist/esm/ion-route_4.entry.js +8 -8
  545. package/dist/esm/ion-searchbar.entry.js +18 -94
  546. package/dist/esm/ion-segment_2.entry.js +16 -24
  547. package/dist/esm/ion-select-modal.entry.js +107 -0
  548. package/dist/esm/ion-select_3.entry.js +73 -103
  549. package/dist/esm/ion-spinner.entry.js +8 -33
  550. package/dist/esm/ion-split-pane.entry.js +9 -13
  551. package/dist/esm/ion-tab-bar_2.entry.js +20 -44
  552. package/dist/esm/ion-tab_2.entry.js +7 -7
  553. package/dist/esm/ion-text.entry.js +6 -6
  554. package/dist/esm/ion-textarea.entry.js +17 -41
  555. package/dist/esm/ion-toast.entry.js +18 -33
  556. package/dist/esm/ion-toggle.entry.js +23 -80
  557. package/dist/esm/ionic-global-c81d82ab.js +231 -0
  558. package/dist/esm/ionic.js +5 -5
  559. package/dist/esm/{ios.transition-4b9fe79e.js → ios.transition-4ee1a3af.js} +7 -6
  560. package/dist/esm/{keyboard-584d2e6f.js → keyboard-52278bd7.js} +3 -4
  561. package/dist/esm/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
  562. package/dist/esm/{keyboard-controller-9c9c2301.js → keyboard-controller-ec5c2bfa.js} +3 -5
  563. package/dist/esm/loader.js +5 -5
  564. package/dist/esm/{md.transition-a71dc418.js → md.transition-5106a0d2.js} +7 -5
  565. package/dist/esm/{notch-controller-4d9a7b28.js → notch-controller-55b09e11.js} +2 -2
  566. package/dist/esm/{overlays-9da9aef5.js → overlays-9c75ec54.js} +7 -6
  567. package/dist/esm/{status-tap-82f51b25.js → status-tap-f472b09f.js} +4 -4
  568. package/dist/esm/{swipe-back-c5709ce5.js → swipe-back-e5394307.js} +1 -2
  569. package/dist/esm-es5/animation-eab5a4ca.js +4 -0
  570. package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
  571. package/dist/esm-es5/button-active-f6503382.js +4 -0
  572. package/dist/esm-es5/capacitor-59395cbd.js +4 -0
  573. package/dist/esm-es5/data-ae11fd43.js +4 -0
  574. package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
  575. package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
  576. package/dist/esm-es5/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
  577. package/dist/esm-es5/hardware-back-button-06ef3c3e.js +4 -0
  578. package/dist/esm-es5/helpers-da915de8.js +4 -0
  579. package/dist/esm-es5/index-24b48b06.js +4 -0
  580. package/dist/esm-es5/{config-0b6b1b3d.js → index-28849c61.js} +2 -2
  581. package/dist/esm-es5/index-3ad7f18b.js +4 -0
  582. package/dist/esm-es5/index-5cc724f3.js +4 -0
  583. package/dist/esm-es5/index-79b30591.js +4 -0
  584. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  585. package/dist/esm-es5/index-a5d50daf.js +4 -0
  586. package/dist/esm-es5/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
  587. package/dist/esm-es5/index.js +1 -1
  588. package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
  589. package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
  590. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  591. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  592. package/dist/esm-es5/ion-alert.entry.js +1 -1
  593. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  594. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  595. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  596. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  597. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  598. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  599. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  600. package/dist/esm-es5/ion-checkbox.entry.js +2 -2
  601. package/dist/esm-es5/ion-chip.entry.js +1 -1
  602. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  603. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  604. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  605. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  606. package/dist/esm-es5/ion-img.entry.js +1 -1
  607. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  608. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  609. package/dist/esm-es5/ion-input.entry.js +1 -1
  610. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  611. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  612. package/dist/esm-es5/ion-loading.entry.js +1 -1
  613. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  614. package/dist/esm-es5/ion-modal.entry.js +1 -1
  615. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  616. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  617. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  618. package/dist/esm-es5/ion-picker.entry.js +1 -1
  619. package/dist/esm-es5/ion-popover.entry.js +1 -1
  620. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  621. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  622. package/dist/esm-es5/ion-range.entry.js +1 -1
  623. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  624. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  625. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  626. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  627. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  628. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  629. package/dist/esm-es5/ion-select-modal.entry.js +4 -0
  630. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  631. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  632. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  633. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  634. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  635. package/dist/esm-es5/ion-text.entry.js +1 -1
  636. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  637. package/dist/esm-es5/ion-toast.entry.js +1 -1
  638. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  639. package/dist/esm-es5/ionic-global-c81d82ab.js +4 -0
  640. package/dist/esm-es5/ionic.js +1 -1
  641. package/dist/esm-es5/ios.transition-4ee1a3af.js +4 -0
  642. package/dist/esm-es5/keyboard-52278bd7.js +4 -0
  643. package/dist/esm-es5/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
  644. package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
  645. package/dist/esm-es5/loader.js +1 -1
  646. package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
  647. package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
  648. package/dist/esm-es5/overlays-9c75ec54.js +4 -0
  649. package/dist/esm-es5/status-tap-f472b09f.js +4 -0
  650. package/dist/esm-es5/swipe-back-e5394307.js +4 -0
  651. package/dist/html.html-data.json +237 -2298
  652. package/dist/ionic/index.esm.js +1 -1
  653. package/dist/ionic/ionic.esm.js +1 -1
  654. package/dist/ionic/ionic.js +1 -1
  655. package/dist/ionic/{p-6f8c2e62.system.entry.js → p-01186920.system.entry.js} +1 -1
  656. package/dist/ionic/p-0303d0f8.js +4 -0
  657. package/dist/ionic/p-0574e87e.js +4 -0
  658. package/dist/ionic/p-06e58c4e.js +4 -0
  659. package/dist/ionic/p-06fee233.js +4 -0
  660. package/dist/ionic/p-081a4ce4.entry.js +4 -0
  661. package/dist/ionic/p-08f910f4.entry.js +4 -0
  662. package/dist/ionic/p-0c06e09b.system.js +4 -0
  663. package/dist/ionic/p-0de13e8e.entry.js +4 -0
  664. package/dist/ionic/p-15e76dd1.entry.js +4 -0
  665. package/dist/ionic/p-17474161.system.js +4 -0
  666. package/dist/ionic/{p-61a51379.system.js → p-19ea7bff.system.js} +1 -1
  667. package/dist/ionic/p-19ec4f42.entry.js +4 -0
  668. package/dist/ionic/p-1acf0142.entry.js +4 -0
  669. package/dist/ionic/p-1c1b8e1f.entry.js +4 -0
  670. package/dist/ionic/p-1dfc11b3.system.js +4 -0
  671. package/dist/ionic/p-1e010627.system.entry.js +4 -0
  672. package/dist/ionic/p-1e4371bd.js +4 -0
  673. package/dist/ionic/p-1e67b266.system.entry.js +4 -0
  674. package/dist/ionic/{p-115d74cd.system.js → p-1e955a45.system.js} +1 -1
  675. package/dist/ionic/p-1ebd1e27.system.entry.js +4 -0
  676. package/dist/ionic/p-2097482f.entry.js +4 -0
  677. package/dist/ionic/p-21e5e7e4.js +4 -0
  678. package/dist/ionic/p-22c020db.system.entry.js +4 -0
  679. package/dist/ionic/p-2407875c.system.entry.js +4 -0
  680. package/dist/ionic/p-249b6d9d.entry.js +4 -0
  681. package/dist/ionic/p-2507278c.system.entry.js +4 -0
  682. package/dist/ionic/p-25180df3.system.js +5 -0
  683. package/dist/ionic/p-2690b1de.js +4 -0
  684. package/dist/ionic/{p-4ed7dfdb.js → p-27281edd.js} +1 -1
  685. package/dist/ionic/{p-adec897a.system.entry.js → p-2799c6d3.system.entry.js} +1 -1
  686. package/dist/ionic/p-2b7827c7.js +4 -0
  687. package/dist/ionic/p-2e1c94d5.system.entry.js +4 -0
  688. package/dist/ionic/p-2e46590d.system.entry.js +4 -0
  689. package/dist/ionic/p-2eba228d.system.entry.js +4 -0
  690. package/dist/ionic/p-322c5fb4.system.js +4 -0
  691. package/dist/ionic/p-3254d107.entry.js +4 -0
  692. package/dist/ionic/p-347ac2ef.system.entry.js +4 -0
  693. package/dist/ionic/p-34b11c24.js +4 -0
  694. package/dist/ionic/{p-2c5d7d84.system.js → p-372ae7f4.system.js} +1 -1
  695. package/dist/ionic/p-3ad285e3.system.js +4 -0
  696. package/dist/ionic/{p-d8339079.system.js → p-3c8e5c23.system.js} +1 -1
  697. package/dist/ionic/p-3cc276f4.js +4 -0
  698. package/dist/ionic/p-3ef0ebd1.system.entry.js +4 -0
  699. package/dist/ionic/p-430f30e8.entry.js +4 -0
  700. package/dist/ionic/p-4439fc2a.entry.js +4 -0
  701. package/dist/ionic/p-45693d7e.entry.js +4 -0
  702. package/dist/ionic/p-457998b5.entry.js +4 -0
  703. package/dist/ionic/p-471b5a49.system.entry.js +4 -0
  704. package/dist/ionic/p-4c2d5b80.system.js +4 -0
  705. package/dist/ionic/p-52d7a191.entry.js +4 -0
  706. package/dist/ionic/p-540db186.system.entry.js +4 -0
  707. package/dist/ionic/p-5663547d.entry.js +4 -0
  708. package/dist/ionic/p-567de071.system.entry.js +4 -0
  709. package/dist/ionic/p-5823babc.system.entry.js +4 -0
  710. package/dist/ionic/p-58d5df0c.system.entry.js +4 -0
  711. package/dist/ionic/{p-3bfe43bc.system.js → p-5da94421.system.js} +2 -2
  712. package/dist/ionic/p-5e890005.system.entry.js +4 -0
  713. package/dist/ionic/p-5e9a7134.system.entry.js +4 -0
  714. package/dist/ionic/p-5f9b0722.entry.js +4 -0
  715. package/dist/ionic/p-61e494dc.system.entry.js +4 -0
  716. package/dist/ionic/p-63b0abde.system.entry.js +4 -0
  717. package/dist/ionic/p-66640ff7.system.entry.js +4 -0
  718. package/dist/ionic/p-69066a53.js +4 -0
  719. package/dist/ionic/p-69666e8a.system.entry.js +4 -0
  720. package/dist/ionic/p-6d32975a.entry.js +4 -0
  721. package/dist/ionic/p-6e2961d4.system.entry.js +4 -0
  722. package/dist/ionic/p-72812e99.js +4 -0
  723. package/dist/ionic/p-72bc8a1c.js +4 -0
  724. package/dist/ionic/{p-0695a0af.system.entry.js → p-7458862e.system.entry.js} +1 -1
  725. package/dist/ionic/p-792919fd.system.js +4 -0
  726. package/dist/ionic/p-7b30edcc.js +4 -0
  727. package/dist/ionic/p-7b9a2b23.entry.js +4 -0
  728. package/dist/ionic/p-7ed1657c.system.entry.js +4 -0
  729. package/dist/ionic/p-8635f5e6.system.js +4 -0
  730. package/dist/ionic/p-88e63c7d.js +4 -0
  731. package/dist/ionic/{p-e61e3bb4.system.js → p-8985cdb6.system.js} +1 -1
  732. package/dist/ionic/{p-b9b36d56.js → p-89b61afc.js} +1 -1
  733. package/dist/ionic/p-8c357539.entry.js +4 -0
  734. package/dist/ionic/p-908d6080.entry.js +4 -0
  735. package/dist/ionic/p-90d1e6e2.entry.js +4 -0
  736. package/dist/ionic/p-90df71aa.system.entry.js +4 -0
  737. package/dist/ionic/{p-747e9c9a.system.js → p-9146695e.system.js} +1 -1
  738. package/dist/ionic/p-937a7e21.entry.js +4 -0
  739. package/dist/ionic/p-94afeb70.entry.js +4 -0
  740. package/dist/ionic/p-96cc4814.js +4 -0
  741. package/dist/ionic/{p-093de343.system.entry.js → p-98231c01.system.entry.js} +1 -1
  742. package/dist/ionic/p-985a7e17.system.entry.js +4 -0
  743. package/dist/ionic/p-98871496.system.js +4 -0
  744. package/dist/ionic/p-98e71235.system.entry.js +4 -0
  745. package/dist/ionic/p-9c901780.entry.js +4 -0
  746. package/dist/ionic/p-9cb9edb5.system.entry.js +4 -0
  747. package/dist/ionic/p-9df2c6fb.entry.js +4 -0
  748. package/dist/ionic/{p-3a11234f.system.js → p-9ea607bd.system.js} +2 -2
  749. package/dist/ionic/p-9ee1e8a6.entry.js +4 -0
  750. package/dist/ionic/p-9f3008d4.system.js +4 -0
  751. package/dist/ionic/p-9fa07aec.entry.js +4 -0
  752. package/dist/ionic/p-a15ddedb.system.js +4 -0
  753. package/dist/ionic/p-a2aee540.entry.js +4 -0
  754. package/dist/ionic/p-a440397c.js +4 -0
  755. package/dist/ionic/p-a4565eb5.system.js +4 -0
  756. package/dist/ionic/p-a49378bb.system.entry.js +4 -0
  757. package/dist/ionic/p-a61cba41.entry.js +4 -0
  758. package/dist/ionic/p-a62911e6.system.entry.js +4 -0
  759. package/dist/ionic/p-a6827f02.entry.js +4 -0
  760. package/dist/ionic/p-a69b9fc5.system.js +4 -0
  761. package/dist/ionic/{p-f8e329da.system.js → p-a93873de.system.js} +1 -1
  762. package/dist/ionic/{p-6ecebfc6.entry.js → p-aa5f43c1.entry.js} +1 -1
  763. package/dist/ionic/p-abe101da.system.js +4 -0
  764. package/dist/ionic/p-adcb6def.system.entry.js +4 -0
  765. package/dist/ionic/{p-4b153a9f.entry.js → p-afecb188.entry.js} +1 -1
  766. package/dist/ionic/{p-c9ef0ca7.system.js → p-b06ac4a5.system.js} +1 -1
  767. package/dist/ionic/p-b51e4004.js +4 -0
  768. package/dist/ionic/p-b82d4cab.js +4 -0
  769. package/dist/ionic/p-b889e5de.system.js +4 -0
  770. package/dist/ionic/p-b9d7015f.entry.js +4 -0
  771. package/dist/ionic/p-bb0db172.entry.js +4 -0
  772. package/dist/ionic/p-bc36ad98.system.entry.js +4 -0
  773. package/dist/ionic/p-bdad26e3.entry.js +4 -0
  774. package/dist/ionic/p-c25cf9e8.system.entry.js +4 -0
  775. package/dist/ionic/p-c29f8157.system.entry.js +4 -0
  776. package/dist/ionic/p-c41ac815.entry.js +4 -0
  777. package/dist/ionic/p-c468af8a.system.js +4 -0
  778. package/dist/ionic/p-c61cc894.js +4 -0
  779. package/dist/ionic/{p-d1e991c3.js → p-c7e16491.js} +1 -1
  780. package/dist/ionic/p-c9f3a539.entry.js +4 -0
  781. package/dist/ionic/p-ca065903.system.entry.js +4 -0
  782. package/dist/ionic/p-cac0e0b3.system.entry.js +4 -0
  783. package/dist/ionic/p-cca6e227.system.entry.js +4 -0
  784. package/dist/ionic/p-cfab4f20.entry.js +4 -0
  785. package/dist/ionic/p-d18ab582.system.entry.js +4 -0
  786. package/dist/ionic/p-d1db10ed.system.entry.js +4 -0
  787. package/dist/ionic/p-d3eaac24.entry.js +4 -0
  788. package/dist/ionic/p-d47265c8.js +4 -0
  789. package/dist/ionic/{p-0a820472.js → p-d60342e3.js} +1 -1
  790. package/dist/ionic/p-d6841eac.js +4 -0
  791. package/dist/ionic/{p-dbfc5db6.js → p-d743e981.js} +1 -1
  792. package/dist/ionic/p-d77e12ca.entry.js +4 -0
  793. package/dist/ionic/p-d7aa6b00.entry.js +4 -0
  794. package/dist/ionic/p-d8097686.entry.js +4 -0
  795. package/dist/ionic/{p-a9fd9d48.js → p-d836d43e.js} +2 -2
  796. package/dist/ionic/p-da074ff7.entry.js +4 -0
  797. package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
  798. package/dist/ionic/{p-a65fe34d.system.entry.js → p-da6ce51b.system.entry.js} +2 -2
  799. package/dist/ionic/{p-2b428cf6.entry.js → p-de930745.entry.js} +1 -1
  800. package/dist/ionic/{p-25e2c98f.system.js → p-dfb78785.system.js} +1 -1
  801. package/dist/ionic/p-e4ee80be.system.entry.js +4 -0
  802. package/dist/ionic/p-e629a9fb.system.entry.js +4 -0
  803. package/dist/ionic/p-e7ed4a7f.system.js +4 -0
  804. package/dist/ionic/p-eba29931.entry.js +4 -0
  805. package/dist/ionic/p-eba81f15.entry.js +4 -0
  806. package/dist/ionic/p-ecceeb90.js +4 -0
  807. package/dist/ionic/p-ef4a65bd.system.entry.js +4 -0
  808. package/dist/ionic/p-efaffe74.entry.js +4 -0
  809. package/dist/ionic/p-f1acf541.system.entry.js +4 -0
  810. package/dist/ionic/p-f1b9c92a.entry.js +4 -0
  811. package/dist/ionic/p-f3102647.system.entry.js +4 -0
  812. package/dist/ionic/{p-d9e1c48c.system.js → p-f687573e.system.js} +1 -1
  813. package/dist/ionic/p-f9a53abb.system.js +4 -0
  814. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  815. package/dist/types/components/accordion/accordion.d.ts +3 -5
  816. package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
  817. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
  818. package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
  819. package/dist/types/components/alert/alert-interface.d.ts +7 -3
  820. package/dist/types/components/alert/alert.d.ts +2 -3
  821. package/dist/types/components/app/app.d.ts +2 -4
  822. package/dist/types/components/avatar/avatar.d.ts +0 -28
  823. package/dist/types/components/back-button/back-button.d.ts +1 -2
  824. package/dist/types/components/backdrop/backdrop.d.ts +0 -4
  825. package/dist/types/components/badge/badge.d.ts +1 -23
  826. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
  827. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  828. package/dist/types/components/button/button.d.ts +4 -15
  829. package/dist/types/components/buttons/buttons.d.ts +1 -5
  830. package/dist/types/components/card/card.d.ts +1 -8
  831. package/dist/types/components/card-content/card-content.d.ts +1 -2
  832. package/dist/types/components/card-header/card-header.d.ts +2 -3
  833. package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
  834. package/dist/types/components/card-title/card-title.d.ts +1 -2
  835. package/dist/types/components/checkbox/checkbox.d.ts +6 -15
  836. package/dist/types/components/chip/chip.d.ts +1 -19
  837. package/dist/types/components/col/col.d.ts +0 -4
  838. package/dist/types/components/content/content.d.ts +0 -3
  839. package/dist/types/components/datetime/datetime.d.ts +1 -26
  840. package/dist/types/components/datetime/utils/data.d.ts +3 -3
  841. package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
  842. package/dist/types/components/fab/fab.d.ts +0 -4
  843. package/dist/types/components/fab-button/fab-button.d.ts +3 -5
  844. package/dist/types/components/fab-list/fab-list.d.ts +0 -4
  845. package/dist/types/components/footer/footer.d.ts +3 -4
  846. package/dist/types/components/grid/grid.d.ts +0 -4
  847. package/dist/types/components/header/header.d.ts +3 -9
  848. package/dist/types/components/img/img.d.ts +0 -3
  849. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
  850. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
  851. package/dist/types/components/input/input.d.ts +5 -31
  852. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
  853. package/dist/types/components/item/item.d.ts +4 -11
  854. package/dist/types/components/item-divider/item-divider.d.ts +1 -2
  855. package/dist/types/components/item-group/item-group.d.ts +0 -4
  856. package/dist/types/components/item-option/item-option.d.ts +1 -11
  857. package/dist/types/components/item-options/item-options.d.ts +0 -4
  858. package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
  859. package/dist/types/components/label/label.d.ts +1 -2
  860. package/dist/types/components/list/list.d.ts +1 -15
  861. package/dist/types/components/list-header/list-header.d.ts +1 -2
  862. package/dist/types/components/loading/loading-interface.d.ts +7 -2
  863. package/dist/types/components/loading/loading.d.ts +2 -3
  864. package/dist/types/components/menu/menu-interface.d.ts +5 -2
  865. package/dist/types/components/menu/menu.d.ts +6 -9
  866. package/dist/types/components/menu-button/menu-button.d.ts +1 -3
  867. package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
  868. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  869. package/dist/types/components/modal/modal-interface.d.ts +7 -4
  870. package/dist/types/components/modal/modal.d.ts +1 -11
  871. package/dist/types/components/nav/nav-interface.d.ts +1 -9
  872. package/dist/types/components/nav/nav.d.ts +1 -5
  873. package/dist/types/components/nav-link/nav-link.d.ts +0 -4
  874. package/dist/types/components/note/note.d.ts +1 -2
  875. package/dist/types/components/picker/picker.d.ts +1 -2
  876. package/dist/types/components/picker-column/picker-column.d.ts +1 -2
  877. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
  878. package/dist/types/components/picker-legacy/picker.d.ts +1 -2
  879. package/dist/types/components/popover/popover-interface.d.ts +6 -3
  880. package/dist/types/components/popover/popover.d.ts +5 -6
  881. package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
  882. package/dist/types/components/radio/radio.d.ts +2 -3
  883. package/dist/types/components/radio-group/radio-group.d.ts +0 -4
  884. package/dist/types/components/range/range.d.ts +1 -2
  885. package/dist/types/components/refresher/refresher.d.ts +1 -2
  886. package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
  887. package/dist/types/components/reorder/reorder.d.ts +0 -9
  888. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
  889. package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
  890. package/dist/types/components/route/route.d.ts +0 -4
  891. package/dist/types/components/router/router.d.ts +0 -4
  892. package/dist/types/components/router-link/router-link.d.ts +0 -4
  893. package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
  894. package/dist/types/components/row/row.d.ts +0 -4
  895. package/dist/types/components/searchbar/searchbar.d.ts +8 -30
  896. package/dist/types/components/segment/segment.d.ts +1 -2
  897. package/dist/types/components/segment-button/segment-button.d.ts +1 -2
  898. package/dist/types/components/select/select-interface.d.ts +1 -1
  899. package/dist/types/components/select/select.d.ts +10 -24
  900. package/dist/types/components/select-modal/select-modal-interface.d.ts +10 -0
  901. package/dist/types/components/select-modal/select-modal.d.ts +16 -0
  902. package/dist/types/components/select-modal/test/fixtures.d.ts +16 -0
  903. package/dist/types/components/select-option/select-option.d.ts +0 -4
  904. package/dist/types/components/select-popover/select-popover.d.ts +0 -3
  905. package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
  906. package/dist/types/components/spinner/spinner.d.ts +0 -15
  907. package/dist/types/components/split-pane/split-pane.d.ts +0 -4
  908. package/dist/types/components/tab/tab.d.ts +0 -4
  909. package/dist/types/components/tab-bar/tab-bar.d.ts +2 -22
  910. package/dist/types/components/tab-button/tab-button.d.ts +1 -2
  911. package/dist/types/components/tabs/tabs.d.ts +0 -3
  912. package/dist/types/components/text/text.d.ts +1 -2
  913. package/dist/types/components/textarea/textarea.d.ts +4 -16
  914. package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
  915. package/dist/types/components/title/title.d.ts +0 -4
  916. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  917. package/dist/types/components/toast/toast-interface.d.ts +7 -3
  918. package/dist/types/components/toast/toast.d.ts +2 -12
  919. package/dist/types/components/toggle/toggle.d.ts +1 -15
  920. package/dist/types/components/toolbar/toolbar.d.ts +3 -4
  921. package/dist/types/components.d.ts +213 -1367
  922. package/dist/types/global/ionic-global.d.ts +2 -27
  923. package/dist/types/interface.d.ts +0 -3
  924. package/dist/types/utils/config.d.ts +2 -106
  925. package/dist/types/utils/focus-visible.d.ts +0 -1
  926. package/dist/types/utils/overlays-interface.d.ts +2 -32
  927. package/dist/types/utils/test/playwright/generator.d.ts +2 -31
  928. package/hydrate/index.js +1020 -2284
  929. package/hydrate/index.mjs +1020 -2284
  930. package/package.json +4 -9
  931. package/components/caret-down.js +0 -6
  932. package/components/caret-left.js +0 -6
  933. package/components/caret-right.js +0 -6
  934. package/components/config2.js +0 -79
  935. package/components/list2.js +0 -6
  936. package/components/x.js +0 -6
  937. package/css/ionic/bundle.ionic.css +0 -1
  938. package/css/ionic/bundle.ionic.css.map +0 -1
  939. package/css/ionic/core.ionic.css +0 -1
  940. package/css/ionic/core.ionic.css.map +0 -1
  941. package/css/ionic/global.bundle.ionic.css +0 -1
  942. package/css/ionic/global.bundle.ionic.css.map +0 -1
  943. package/css/ionic/ionic-swiper.ionic.css +0 -1
  944. package/css/ionic/ionic-swiper.ionic.css.map +0 -1
  945. package/css/ionic/link.ionic.css +0 -1
  946. package/css/ionic/link.ionic.css.map +0 -1
  947. package/css/ionic/structure.ionic.css +0 -1
  948. package/css/ionic/structure.ionic.css.map +0 -1
  949. package/css/ionic/typography.ionic.css +0 -1
  950. package/css/ionic/typography.ionic.css.map +0 -1
  951. package/css/ionic/utils.bundle.ionic.css +0 -1
  952. package/css/ionic/utils.bundle.ionic.css.map +0 -1
  953. package/dist/cjs/caret-down-3c215cff.js +0 -8
  954. package/dist/cjs/caret-left-2bb66970.js +0 -8
  955. package/dist/cjs/caret-right-88e03970.js +0 -8
  956. package/dist/cjs/ionic-global-3647b9f5.js +0 -534
  957. package/dist/cjs/list-2930c629.js +0 -8
  958. package/dist/cjs/x-81a8f51c.js +0 -8
  959. package/dist/collection/components/accordion/accordion.ionic.css +0 -202
  960. package/dist/collection/components/accordion-group/accordion-group.ionic.css +0 -82
  961. package/dist/collection/components/avatar/avatar.ionic.css +0 -270
  962. package/dist/collection/components/backdrop/backdrop.ionic.css +0 -152
  963. package/dist/collection/components/badge/badge.ionic.css +0 -250
  964. package/dist/collection/components/button/button.ionic.css +0 -590
  965. package/dist/collection/components/buttons/buttons.ionic.css +0 -100
  966. package/dist/collection/components/card/card.ionic.css +0 -138
  967. package/dist/collection/components/card-content/card-content.ionic.css +0 -91
  968. package/dist/collection/components/card-header/card-header.ionic.css +0 -88
  969. package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -147
  970. package/dist/collection/components/checkbox/checkbox.ionic.css +0 -403
  971. package/dist/collection/components/chip/chip.ionic.css +0 -161
  972. package/dist/collection/components/datetime/datetime.ionic.css +0 -669
  973. package/dist/collection/components/header/header.ionic.css +0 -87
  974. package/dist/collection/components/input/input.ionic.css +0 -1097
  975. package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +0 -61
  976. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -142
  977. package/dist/collection/components/item/item.ionic.css +0 -502
  978. package/dist/collection/components/item-option/item-option.ionic.css +0 -333
  979. package/dist/collection/components/item-options/item-options.ionic.css +0 -259
  980. package/dist/collection/components/list/list.ionic.css +0 -194
  981. package/dist/collection/components/list-header/list-header.ionic.css +0 -237
  982. package/dist/collection/components/menu-button/menu-button.ionic.css +0 -239
  983. package/dist/collection/components/modal/modal.ionic.css +0 -240
  984. package/dist/collection/components/radio/radio.ionic.css +0 -419
  985. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -154
  986. package/dist/collection/components/searchbar/searchbar.ionic.css +0 -346
  987. package/dist/collection/components/segment-button/segment-button.ionic.css +0 -351
  988. package/dist/collection/components/spinner/spinner.common.css +0 -199
  989. package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -252
  990. package/dist/collection/components/tab-button/tab-button.ionic.css +0 -272
  991. package/dist/collection/components/textarea/textarea.ionic.css +0 -805
  992. package/dist/collection/components/title/title.ionic.css +0 -146
  993. package/dist/collection/components/toast/toast.ionic.css +0 -359
  994. package/dist/collection/components/toggle/toggle.ionic.css +0 -420
  995. package/dist/collection/components/toolbar/toolbar.ionic.css +0 -234
  996. package/dist/esm/caret-down-3eaad1cc.js +0 -6
  997. package/dist/esm/caret-left-33424bb0.js +0 -6
  998. package/dist/esm/caret-right-68d856ad.js +0 -6
  999. package/dist/esm/ionic-global-d7017fd9.js +0 -520
  1000. package/dist/esm/list-6524700c.js +0 -6
  1001. package/dist/esm/x-a64bcd9f.js +0 -6
  1002. package/dist/esm-es5/animation-16546c84.js +0 -4
  1003. package/dist/esm-es5/app-globals-35381e66.js +0 -4
  1004. package/dist/esm-es5/button-active-c768aceb.js +0 -4
  1005. package/dist/esm-es5/capacitor-0897b83c.js +0 -4
  1006. package/dist/esm-es5/caret-down-3eaad1cc.js +0 -4
  1007. package/dist/esm-es5/caret-left-33424bb0.js +0 -4
  1008. package/dist/esm-es5/caret-right-68d856ad.js +0 -4
  1009. package/dist/esm-es5/data-d9b1fbdb.js +0 -4
  1010. package/dist/esm-es5/focus-visible-501aff19.js +0 -4
  1011. package/dist/esm-es5/framework-delegate-56698eb0.js +0 -4
  1012. package/dist/esm-es5/helpers-d57f52c8.js +0 -4
  1013. package/dist/esm-es5/index-7f65e865.js +0 -4
  1014. package/dist/esm-es5/index-82405a4a.js +0 -4
  1015. package/dist/esm-es5/index-edf94b3b.js +0 -4
  1016. package/dist/esm-es5/index-f8ad386a.js +0 -4
  1017. package/dist/esm-es5/input-shims-0f3cc1c3.js +0 -4
  1018. package/dist/esm-es5/input.utils-ef4d8197.js +0 -4
  1019. package/dist/esm-es5/ionic-global-d7017fd9.js +0 -4
  1020. package/dist/esm-es5/ios.transition-4b9fe79e.js +0 -4
  1021. package/dist/esm-es5/keyboard-584d2e6f.js +0 -4
  1022. package/dist/esm-es5/keyboard-controller-9c9c2301.js +0 -4
  1023. package/dist/esm-es5/list-6524700c.js +0 -4
  1024. package/dist/esm-es5/md.transition-a71dc418.js +0 -4
  1025. package/dist/esm-es5/notch-controller-4d9a7b28.js +0 -4
  1026. package/dist/esm-es5/overlays-9da9aef5.js +0 -4
  1027. package/dist/esm-es5/status-tap-82f51b25.js +0 -4
  1028. package/dist/esm-es5/swipe-back-c5709ce5.js +0 -4
  1029. package/dist/esm-es5/x-a64bcd9f.js +0 -4
  1030. package/dist/ionic/p-01d80901.system.js +0 -4
  1031. package/dist/ionic/p-036e1c5b.entry.js +0 -4
  1032. package/dist/ionic/p-0689d382.entry.js +0 -4
  1033. package/dist/ionic/p-06ec4706.js +0 -4
  1034. package/dist/ionic/p-087e8765.system.entry.js +0 -4
  1035. package/dist/ionic/p-08df90cf.system.js +0 -4
  1036. package/dist/ionic/p-08f1ef0c.entry.js +0 -4
  1037. package/dist/ionic/p-0a701833.entry.js +0 -4
  1038. package/dist/ionic/p-1037b7dd.js +0 -4
  1039. package/dist/ionic/p-12e3e308.entry.js +0 -4
  1040. package/dist/ionic/p-13046601.system.entry.js +0 -4
  1041. package/dist/ionic/p-1331f417.system.entry.js +0 -4
  1042. package/dist/ionic/p-14719a77.entry.js +0 -4
  1043. package/dist/ionic/p-15d51b10.js +0 -4
  1044. package/dist/ionic/p-19ac8e04.system.entry.js +0 -4
  1045. package/dist/ionic/p-221e5078.system.js +0 -4
  1046. package/dist/ionic/p-243adf8c.js +0 -4
  1047. package/dist/ionic/p-25389914.entry.js +0 -4
  1048. package/dist/ionic/p-25564f4c.system.entry.js +0 -4
  1049. package/dist/ionic/p-26f7c080.system.js +0 -4
  1050. package/dist/ionic/p-28d04212.system.js +0 -4
  1051. package/dist/ionic/p-291dc0b3.system.entry.js +0 -4
  1052. package/dist/ionic/p-29d6d1fc.system.entry.js +0 -4
  1053. package/dist/ionic/p-2a559ac6.js +0 -4
  1054. package/dist/ionic/p-2a79e451.entry.js +0 -4
  1055. package/dist/ionic/p-2be91f19.entry.js +0 -4
  1056. package/dist/ionic/p-2c368e32.entry.js +0 -4
  1057. package/dist/ionic/p-2d580501.entry.js +0 -4
  1058. package/dist/ionic/p-2d621d56.system.entry.js +0 -4
  1059. package/dist/ionic/p-2da8c20c.system.entry.js +0 -4
  1060. package/dist/ionic/p-2e6d744f.system.entry.js +0 -4
  1061. package/dist/ionic/p-361c24e5.system.entry.js +0 -4
  1062. package/dist/ionic/p-36bdcfc4.js +0 -4
  1063. package/dist/ionic/p-388ac217.js +0 -4
  1064. package/dist/ionic/p-39d15e64.system.entry.js +0 -4
  1065. package/dist/ionic/p-3a5869c3.entry.js +0 -4
  1066. package/dist/ionic/p-3ca5196c.js +0 -4
  1067. package/dist/ionic/p-419fac38.entry.js +0 -4
  1068. package/dist/ionic/p-4228a245.entry.js +0 -4
  1069. package/dist/ionic/p-429dd2b5.system.js +0 -4
  1070. package/dist/ionic/p-434c7348.system.entry.js +0 -4
  1071. package/dist/ionic/p-45e150eb.js +0 -4
  1072. package/dist/ionic/p-46787abb.system.js +0 -4
  1073. package/dist/ionic/p-46cc2492.system.js +0 -4
  1074. package/dist/ionic/p-49a3fc76.entry.js +0 -4
  1075. package/dist/ionic/p-4a9b61ed.system.entry.js +0 -4
  1076. package/dist/ionic/p-4c251d59.entry.js +0 -4
  1077. package/dist/ionic/p-4d000ec5.entry.js +0 -4
  1078. package/dist/ionic/p-4e202665.js +0 -4
  1079. package/dist/ionic/p-51151575.system.entry.js +0 -4
  1080. package/dist/ionic/p-5468bfbf.entry.js +0 -4
  1081. package/dist/ionic/p-5b57d327.system.js +0 -4
  1082. package/dist/ionic/p-5ce35a03.js +0 -4
  1083. package/dist/ionic/p-607c9c33.js +0 -4
  1084. package/dist/ionic/p-643e2eb8.js +0 -4
  1085. package/dist/ionic/p-660f3b98.entry.js +0 -4
  1086. package/dist/ionic/p-6703f239.entry.js +0 -4
  1087. package/dist/ionic/p-68f3fa48.system.entry.js +0 -4
  1088. package/dist/ionic/p-69e54172.js +0 -4
  1089. package/dist/ionic/p-6a0dd6bc.js +0 -4
  1090. package/dist/ionic/p-6ad6d594.js +0 -4
  1091. package/dist/ionic/p-6b64dce1.entry.js +0 -4
  1092. package/dist/ionic/p-6d9e1887.system.entry.js +0 -4
  1093. package/dist/ionic/p-70c6cd75.system.js +0 -4
  1094. package/dist/ionic/p-719fca78.entry.js +0 -4
  1095. package/dist/ionic/p-71e8ffdd.system.js +0 -4
  1096. package/dist/ionic/p-726b9197.system.entry.js +0 -4
  1097. package/dist/ionic/p-73e32456.system.js +0 -4
  1098. package/dist/ionic/p-774d5b57.system.entry.js +0 -4
  1099. package/dist/ionic/p-776adb3d.entry.js +0 -4
  1100. package/dist/ionic/p-7811f251.system.entry.js +0 -4
  1101. package/dist/ionic/p-7d02004b.entry.js +0 -4
  1102. package/dist/ionic/p-7ebc381e.entry.js +0 -4
  1103. package/dist/ionic/p-80342c88.system.entry.js +0 -4
  1104. package/dist/ionic/p-8181e971.entry.js +0 -4
  1105. package/dist/ionic/p-8248976b.system.entry.js +0 -4
  1106. package/dist/ionic/p-836515ee.entry.js +0 -4
  1107. package/dist/ionic/p-8421aedf.js +0 -4
  1108. package/dist/ionic/p-8d7bc281.system.entry.js +0 -4
  1109. package/dist/ionic/p-931d77d5.entry.js +0 -4
  1110. package/dist/ionic/p-95c2258a.entry.js +0 -4
  1111. package/dist/ionic/p-974aaf78.entry.js +0 -4
  1112. package/dist/ionic/p-99ab41a8.system.entry.js +0 -4
  1113. package/dist/ionic/p-9abdb4a7.system.entry.js +0 -4
  1114. package/dist/ionic/p-9e4ede77.system.entry.js +0 -4
  1115. package/dist/ionic/p-9e8e25e4.system.js +0 -4
  1116. package/dist/ionic/p-9e9bff83.system.js +0 -4
  1117. package/dist/ionic/p-9f51595b.entry.js +0 -4
  1118. package/dist/ionic/p-9fa0b117.entry.js +0 -4
  1119. package/dist/ionic/p-9fcaadad.system.entry.js +0 -4
  1120. package/dist/ionic/p-a856dbc6.entry.js +0 -4
  1121. package/dist/ionic/p-a9af4103.js +0 -4
  1122. package/dist/ionic/p-aacc6ddd.system.js +0 -5
  1123. package/dist/ionic/p-ab6e0f02.system.entry.js +0 -4
  1124. package/dist/ionic/p-adaa7af1.entry.js +0 -4
  1125. package/dist/ionic/p-b19a9aa9.system.js +0 -4
  1126. package/dist/ionic/p-b297c7b5.system.js +0 -4
  1127. package/dist/ionic/p-b5bf8a04.entry.js +0 -4
  1128. package/dist/ionic/p-b6fc8ee2.system.entry.js +0 -4
  1129. package/dist/ionic/p-ba3ddec4.js +0 -4
  1130. package/dist/ionic/p-bad792a6.entry.js +0 -4
  1131. package/dist/ionic/p-bd50f24e.system.entry.js +0 -4
  1132. package/dist/ionic/p-c08a9937.system.entry.js +0 -4
  1133. package/dist/ionic/p-c248c88d.system.js +0 -4
  1134. package/dist/ionic/p-c24ff776.system.entry.js +0 -4
  1135. package/dist/ionic/p-c6191942.js +0 -4
  1136. package/dist/ionic/p-c6e47379.entry.js +0 -4
  1137. package/dist/ionic/p-c7e967c0.system.entry.js +0 -4
  1138. package/dist/ionic/p-c8097757.system.entry.js +0 -4
  1139. package/dist/ionic/p-c8f207d8.entry.js +0 -4
  1140. package/dist/ionic/p-cb131dda.system.entry.js +0 -4
  1141. package/dist/ionic/p-d0259f44.system.js +0 -4
  1142. package/dist/ionic/p-d0953ec9.system.entry.js +0 -4
  1143. package/dist/ionic/p-d10313a6.system.js +0 -4
  1144. package/dist/ionic/p-d2ef848a.entry.js +0 -4
  1145. package/dist/ionic/p-d346c889.system.entry.js +0 -4
  1146. package/dist/ionic/p-d67b88b0.system.entry.js +0 -4
  1147. package/dist/ionic/p-d8b501bd.system.entry.js +0 -4
  1148. package/dist/ionic/p-da968066.entry.js +0 -4
  1149. package/dist/ionic/p-db8aeb40.system.js +0 -4
  1150. package/dist/ionic/p-dd50ef12.js +0 -4
  1151. package/dist/ionic/p-df668729.entry.js +0 -4
  1152. package/dist/ionic/p-e270862e.js +0 -4
  1153. package/dist/ionic/p-e3b70846.system.js +0 -4
  1154. package/dist/ionic/p-e51ff133.system.entry.js +0 -4
  1155. package/dist/ionic/p-e5239905.system.entry.js +0 -4
  1156. package/dist/ionic/p-eeb60a8f.entry.js +0 -4
  1157. package/dist/ionic/p-eec767ca.entry.js +0 -4
  1158. package/dist/ionic/p-f065578f.js +0 -4
  1159. package/dist/ionic/p-f0d3419a.entry.js +0 -4
  1160. package/dist/ionic/p-f4ae533b.js +0 -4
  1161. package/dist/ionic/p-f61ce679.js +0 -4
  1162. package/dist/ionic/p-fbcb3139.entry.js +0 -4
  1163. package/dist/ionic/p-fca5d1b1.system.entry.js +0 -4
  1164. package/dist/ionic/p-ffa51f41.system.entry.js +0 -4
  1165. /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
@@ -0,0 +1,356 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
5
+ import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
6
+ import { k as clamp, i as inheritAriaAttributes } from './helpers.js';
7
+ import { h as hostContext } from './theme.js';
8
+ import { b as getIonMode } from './ionic-global.js';
9
+
10
+ const TRANSITION = 'all 0.2s ease-in-out';
11
+ const cloneElement = (tagName) => {
12
+ const getCachedEl = document.querySelector(`${tagName}.ion-cloned-element`);
13
+ if (getCachedEl !== null) {
14
+ return getCachedEl;
15
+ }
16
+ const clonedEl = document.createElement(tagName);
17
+ clonedEl.classList.add('ion-cloned-element');
18
+ clonedEl.style.setProperty('display', 'none');
19
+ document.body.appendChild(clonedEl);
20
+ return clonedEl;
21
+ };
22
+ const createHeaderIndex = (headerEl) => {
23
+ if (!headerEl) {
24
+ return;
25
+ }
26
+ const toolbars = headerEl.querySelectorAll('ion-toolbar');
27
+ return {
28
+ el: headerEl,
29
+ toolbars: Array.from(toolbars).map((toolbar) => {
30
+ const ionTitleEl = toolbar.querySelector('ion-title');
31
+ return {
32
+ el: toolbar,
33
+ background: toolbar.shadowRoot.querySelector('.toolbar-background'),
34
+ ionTitleEl,
35
+ innerTitleEl: ionTitleEl ? ionTitleEl.shadowRoot.querySelector('.toolbar-title') : null,
36
+ ionButtonsEl: Array.from(toolbar.querySelectorAll('ion-buttons')),
37
+ };
38
+ }),
39
+ };
40
+ };
41
+ const handleContentScroll = (scrollEl, scrollHeaderIndex, contentEl) => {
42
+ readTask(() => {
43
+ const scrollTop = scrollEl.scrollTop;
44
+ const scale = clamp(1, 1 + -scrollTop / 500, 1.1);
45
+ // Native refresher should not cause titles to scale
46
+ const nativeRefresher = contentEl.querySelector('ion-refresher.refresher-native');
47
+ if (nativeRefresher === null) {
48
+ writeTask(() => {
49
+ scaleLargeTitles(scrollHeaderIndex.toolbars, scale);
50
+ });
51
+ }
52
+ });
53
+ };
54
+ const setToolbarBackgroundOpacity = (headerEl, opacity) => {
55
+ /**
56
+ * Fading in the backdrop opacity
57
+ * should happen after the large title
58
+ * has collapsed, so it is handled
59
+ * by handleHeaderFade()
60
+ */
61
+ if (headerEl.collapse === 'fade') {
62
+ return;
63
+ }
64
+ if (opacity === undefined) {
65
+ headerEl.style.removeProperty('--opacity-scale');
66
+ }
67
+ else {
68
+ headerEl.style.setProperty('--opacity-scale', opacity.toString());
69
+ }
70
+ };
71
+ const handleToolbarBorderIntersection = (ev, mainHeaderIndex, scrollTop) => {
72
+ if (!ev[0].isIntersecting) {
73
+ return;
74
+ }
75
+ /**
76
+ * There is a bug in Safari where overflow scrolling on a non-body element
77
+ * does not always reset the scrollTop position to 0 when letting go. It will
78
+ * set to 1 once the rubber band effect has ended. This causes the background to
79
+ * appear slightly on certain app setups.
80
+ *
81
+ * Additionally, we check if user is rubber banding (scrolling is negative)
82
+ * as this can mean they are using pull to refresh. Once the refresher starts,
83
+ * the content is transformed which can cause the intersection observer to erroneously
84
+ * fire here as well.
85
+ */
86
+ const scale = ev[0].intersectionRatio > 0.9 || scrollTop <= 0 ? 0 : ((1 - ev[0].intersectionRatio) * 100) / 75;
87
+ setToolbarBackgroundOpacity(mainHeaderIndex.el, scale === 1 ? undefined : scale);
88
+ };
89
+ /**
90
+ * If toolbars are intersecting, hide the scrollable toolbar content
91
+ * and show the primary toolbar content. If the toolbars are not intersecting,
92
+ * hide the primary toolbar content and show the scrollable toolbar content
93
+ */
94
+ const handleToolbarIntersection = (ev, // TODO(FW-2832): type (IntersectionObserverEntry[] triggers errors which should be sorted)
95
+ mainHeaderIndex, scrollHeaderIndex, scrollEl) => {
96
+ writeTask(() => {
97
+ const scrollTop = scrollEl.scrollTop;
98
+ handleToolbarBorderIntersection(ev, mainHeaderIndex, scrollTop);
99
+ const event = ev[0];
100
+ const intersection = event.intersectionRect;
101
+ const intersectionArea = intersection.width * intersection.height;
102
+ const rootArea = event.rootBounds.width * event.rootBounds.height;
103
+ const isPageHidden = intersectionArea === 0 && rootArea === 0;
104
+ const leftDiff = Math.abs(intersection.left - event.boundingClientRect.left);
105
+ const rightDiff = Math.abs(intersection.right - event.boundingClientRect.right);
106
+ const isPageTransitioning = intersectionArea > 0 && (leftDiff >= 5 || rightDiff >= 5);
107
+ if (isPageHidden || isPageTransitioning) {
108
+ return;
109
+ }
110
+ if (event.isIntersecting) {
111
+ setHeaderActive(mainHeaderIndex, false);
112
+ setHeaderActive(scrollHeaderIndex);
113
+ }
114
+ else {
115
+ /**
116
+ * There is a bug with IntersectionObserver on Safari
117
+ * where `event.isIntersecting === false` when cancelling
118
+ * a swipe to go back gesture. Checking the intersection
119
+ * x, y, width, and height provides a workaround. This bug
120
+ * does not happen when using Safari + Web Animations,
121
+ * only Safari + CSS Animations.
122
+ */
123
+ const hasValidIntersection = (intersection.x === 0 && intersection.y === 0) || (intersection.width !== 0 && intersection.height !== 0);
124
+ if (hasValidIntersection && scrollTop > 0) {
125
+ setHeaderActive(mainHeaderIndex);
126
+ setHeaderActive(scrollHeaderIndex, false);
127
+ setToolbarBackgroundOpacity(mainHeaderIndex.el);
128
+ }
129
+ }
130
+ });
131
+ };
132
+ const setHeaderActive = (headerIndex, active = true) => {
133
+ const headerEl = headerIndex.el;
134
+ if (active) {
135
+ headerEl.classList.remove('header-collapse-condense-inactive');
136
+ headerEl.removeAttribute('aria-hidden');
137
+ }
138
+ else {
139
+ headerEl.classList.add('header-collapse-condense-inactive');
140
+ headerEl.setAttribute('aria-hidden', 'true');
141
+ }
142
+ };
143
+ const scaleLargeTitles = (toolbars = [], scale = 1, transition = false) => {
144
+ toolbars.forEach((toolbar) => {
145
+ const ionTitle = toolbar.ionTitleEl;
146
+ const titleDiv = toolbar.innerTitleEl;
147
+ if (!ionTitle || ionTitle.size !== 'large') {
148
+ return;
149
+ }
150
+ titleDiv.style.transition = transition ? TRANSITION : '';
151
+ titleDiv.style.transform = `scale3d(${scale}, ${scale}, 1)`;
152
+ });
153
+ };
154
+ const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
155
+ readTask(() => {
156
+ const scrollTop = scrollEl.scrollTop;
157
+ const baseElHeight = baseEl.clientHeight;
158
+ const fadeStart = condenseHeader ? condenseHeader.clientHeight : 0;
159
+ /**
160
+ * If we are using fade header with a condense
161
+ * header, then the toolbar backgrounds should
162
+ * not begin to fade in until the condense
163
+ * header has fully collapsed.
164
+ *
165
+ * Additionally, the main content should not
166
+ * overflow out of the container until the
167
+ * condense header has fully collapsed. When
168
+ * using just the condense header the content
169
+ * should overflow out of the container.
170
+ */
171
+ if (condenseHeader !== null && scrollTop < fadeStart) {
172
+ baseEl.style.setProperty('--opacity-scale', '0');
173
+ scrollEl.style.setProperty('clip-path', `inset(${baseElHeight}px 0px 0px 0px)`);
174
+ return;
175
+ }
176
+ const distanceToStart = scrollTop - fadeStart;
177
+ const fadeDuration = 10;
178
+ const scale = clamp(0, distanceToStart / fadeDuration, 1);
179
+ writeTask(() => {
180
+ scrollEl.style.removeProperty('clip-path');
181
+ baseEl.style.setProperty('--opacity-scale', scale.toString());
182
+ });
183
+ });
184
+ };
185
+
186
+ const headerIosCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}";
187
+ const IonHeaderIosStyle0 = headerIosCss;
188
+
189
+ const headerMdCss = "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}";
190
+ const IonHeaderMdStyle0 = headerMdCss;
191
+
192
+ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement {
193
+ constructor() {
194
+ super();
195
+ this.__registerHost();
196
+ this.inheritedAttributes = {};
197
+ this.setupFadeHeader = async (contentEl, condenseHeader) => {
198
+ const scrollEl = (this.scrollEl = await getScrollElement(contentEl));
199
+ /**
200
+ * Handle fading of toolbars on scroll
201
+ */
202
+ this.contentScrollCallback = () => {
203
+ handleHeaderFade(this.scrollEl, this.el, condenseHeader);
204
+ };
205
+ scrollEl.addEventListener('scroll', this.contentScrollCallback);
206
+ handleHeaderFade(this.scrollEl, this.el, condenseHeader);
207
+ };
208
+ this.collapse = undefined;
209
+ this.translucent = false;
210
+ }
211
+ componentWillLoad() {
212
+ this.inheritedAttributes = inheritAriaAttributes(this.el);
213
+ }
214
+ componentDidLoad() {
215
+ this.checkCollapsibleHeader();
216
+ }
217
+ componentDidUpdate() {
218
+ this.checkCollapsibleHeader();
219
+ }
220
+ disconnectedCallback() {
221
+ this.destroyCollapsibleHeader();
222
+ }
223
+ async checkCollapsibleHeader() {
224
+ const mode = getIonMode(this);
225
+ if (mode !== 'ios') {
226
+ return;
227
+ }
228
+ const { collapse } = this;
229
+ const hasCondense = collapse === 'condense';
230
+ const hasFade = collapse === 'fade';
231
+ this.destroyCollapsibleHeader();
232
+ if (hasCondense) {
233
+ const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
234
+ const contentEl = pageEl ? findIonContent(pageEl) : null;
235
+ // Cloned elements are always needed in iOS transition
236
+ writeTask(() => {
237
+ const title = cloneElement('ion-title');
238
+ title.size = 'large';
239
+ cloneElement('ion-back-button');
240
+ });
241
+ await this.setupCondenseHeader(contentEl, pageEl);
242
+ }
243
+ else if (hasFade) {
244
+ const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
245
+ const contentEl = pageEl ? findIonContent(pageEl) : null;
246
+ if (!contentEl) {
247
+ printIonContentErrorMsg(this.el);
248
+ return;
249
+ }
250
+ const condenseHeader = contentEl.querySelector('ion-header[collapse="condense"]');
251
+ await this.setupFadeHeader(contentEl, condenseHeader);
252
+ }
253
+ }
254
+ destroyCollapsibleHeader() {
255
+ if (this.intersectionObserver) {
256
+ this.intersectionObserver.disconnect();
257
+ this.intersectionObserver = undefined;
258
+ }
259
+ if (this.scrollEl && this.contentScrollCallback) {
260
+ this.scrollEl.removeEventListener('scroll', this.contentScrollCallback);
261
+ this.contentScrollCallback = undefined;
262
+ }
263
+ if (this.collapsibleMainHeader) {
264
+ this.collapsibleMainHeader.classList.remove('header-collapse-main');
265
+ this.collapsibleMainHeader = undefined;
266
+ }
267
+ }
268
+ async setupCondenseHeader(contentEl, pageEl) {
269
+ if (!contentEl || !pageEl) {
270
+ printIonContentErrorMsg(this.el);
271
+ return;
272
+ }
273
+ if (typeof IntersectionObserver === 'undefined') {
274
+ return;
275
+ }
276
+ this.scrollEl = await getScrollElement(contentEl);
277
+ const headers = pageEl.querySelectorAll('ion-header');
278
+ this.collapsibleMainHeader = Array.from(headers).find((header) => header.collapse !== 'condense');
279
+ if (!this.collapsibleMainHeader) {
280
+ return;
281
+ }
282
+ const mainHeaderIndex = createHeaderIndex(this.collapsibleMainHeader);
283
+ const scrollHeaderIndex = createHeaderIndex(this.el);
284
+ if (!mainHeaderIndex || !scrollHeaderIndex) {
285
+ return;
286
+ }
287
+ setHeaderActive(mainHeaderIndex, false);
288
+ setToolbarBackgroundOpacity(mainHeaderIndex.el, 0);
289
+ /**
290
+ * Handle interaction between toolbar collapse and
291
+ * showing/hiding content in the primary ion-header
292
+ * as well as progressively showing/hiding the main header
293
+ * border as the top-most toolbar collapses or expands.
294
+ */
295
+ const toolbarIntersection = (ev) => {
296
+ handleToolbarIntersection(ev, mainHeaderIndex, scrollHeaderIndex, this.scrollEl);
297
+ };
298
+ this.intersectionObserver = new IntersectionObserver(toolbarIntersection, {
299
+ root: contentEl,
300
+ threshold: [0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1],
301
+ });
302
+ this.intersectionObserver.observe(scrollHeaderIndex.toolbars[scrollHeaderIndex.toolbars.length - 1].el);
303
+ /**
304
+ * Handle scaling of large iOS titles and
305
+ * showing/hiding border on last toolbar
306
+ * in primary header
307
+ */
308
+ this.contentScrollCallback = () => {
309
+ handleContentScroll(this.scrollEl, scrollHeaderIndex, contentEl);
310
+ };
311
+ this.scrollEl.addEventListener('scroll', this.contentScrollCallback);
312
+ writeTask(() => {
313
+ if (this.collapsibleMainHeader !== undefined) {
314
+ this.collapsibleMainHeader.classList.add('header-collapse-main');
315
+ }
316
+ });
317
+ }
318
+ render() {
319
+ const { translucent, inheritedAttributes } = this;
320
+ const mode = getIonMode(this);
321
+ const collapse = this.collapse || 'none';
322
+ // banner role must be at top level, so remove role if inside a menu
323
+ const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
324
+ return (h(Host, Object.assign({ key: 'b6cc27f0b08afc9fcc889683525da765d80ba672', role: roleType, class: {
325
+ [mode]: true,
326
+ // Used internally for styling
327
+ [`header-${mode}`]: true,
328
+ [`header-translucent`]: this.translucent,
329
+ [`header-collapse-${collapse}`]: true,
330
+ [`header-translucent-${mode}`]: this.translucent,
331
+ } }, inheritedAttributes), mode === 'ios' && translucent && h("div", { key: '395766d4dcee3398bc91960db21f922095292f14', class: "header-background" }), h("slot", { key: '09a67ece27b258ff1248805d43d92a49b2c6859a' })));
332
+ }
333
+ get el() { return this; }
334
+ static get style() { return {
335
+ ios: IonHeaderIosStyle0,
336
+ md: IonHeaderMdStyle0
337
+ }; }
338
+ }, [36, "ion-header", {
339
+ "collapse": [1],
340
+ "translucent": [4]
341
+ }]);
342
+ function defineCustomElement() {
343
+ if (typeof customElements === "undefined") {
344
+ return;
345
+ }
346
+ const components = ["ion-header"];
347
+ components.forEach(tagName => { switch (tagName) {
348
+ case "ion-header":
349
+ if (!customElements.get(tagName)) {
350
+ customElements.define(tagName, Header);
351
+ }
352
+ break;
353
+ } });
354
+ }
355
+
356
+ export { Header as H, defineCustomElement as d };
@@ -1,8 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as config } from './config2.js';
5
-
6
4
  const transitionEndAsync = (el, expectedDuration = 0) => {
7
5
  return new Promise((resolve) => {
8
6
  transitionEnd(el, expectedDuration, resolve);
@@ -243,8 +241,7 @@ const focusVisibleElement = (el) => {
243
241
  * which will let us explicitly set the elements to focus.
244
242
  */
245
243
  if (el.classList.contains('ion-focusable')) {
246
- const appRootSelector = config.get('appRootSelector', 'ion-app');
247
- const app = el.closest(appRootSelector);
244
+ const app = el.closest('ion-app');
248
245
  if (app) {
249
246
  app.setFocus([el]);
250
247
  }
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as config } from './config2.js';
4
+ import { c as config } from './ionic-global.js';
5
5
  import { writeTask, Build } from '@stencil/core/internal/client';
6
- import { p as printIonWarning } from './ionic-global.js';
6
+ import { p as printIonWarning } from './index6.js';
7
7
  import { r as raf } from './helpers.js';
8
8
 
9
9
  const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
@@ -1,8 +1,11 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { b as getIonMode, p as printIonWarning, d as doc, M as MENU_BACK_BUTTON_PRIORITY } from './ionic-global.js';
4
+ import { d as doc } from './index5.js';
5
+ import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button.js';
6
+ import { p as printIonWarning } from './index6.js';
5
7
  import { c as componentOnReady } from './helpers.js';
8
+ import { b as getIonMode } from './ionic-global.js';
6
9
  import { c as createAnimation } from './animation.js';
7
10
 
8
11
  /**
@@ -45,10 +48,10 @@ const menuOverlayAnimation = (menu) => {
45
48
  }
46
49
  menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
47
50
  const mode = getIonMode(menu);
48
- const isIOS = mode === 'ios';
49
- const opacity = isIOS ? 0.2 : 0.25;
51
+ const isIos = mode === 'ios';
52
+ const opacity = isIos ? 0.2 : 0.25;
50
53
  backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
51
- return baseAnimation(isIOS).addAnimation([menuAnimation, backdropAnimation]);
54
+ return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);
52
55
  };
53
56
 
54
57
  /**
@@ -61,7 +64,6 @@ const menuPushAnimation = (menu) => {
61
64
  let menuClosedX;
62
65
  const mode = getIonMode(menu);
63
66
  const width = menu.width;
64
- const isIOS = mode === 'ios';
65
67
  if (menu.isEndSide) {
66
68
  contentOpenedX = -width + 'px';
67
69
  menuClosedX = width + 'px';
@@ -77,7 +79,7 @@ const menuPushAnimation = (menu) => {
77
79
  .addElement(menu.contentEl)
78
80
  .fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
79
81
  const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
80
- return baseAnimation(isIOS).addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
82
+ return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
81
83
  };
82
84
 
83
85
  /**
@@ -87,12 +89,11 @@ const menuPushAnimation = (menu) => {
87
89
  */
88
90
  const menuRevealAnimation = (menu) => {
89
91
  const mode = getIonMode(menu);
90
- const isIOS = mode === 'ios';
91
92
  const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
92
93
  const contentOpen = createAnimation()
93
94
  .addElement(menu.contentEl) // REVIEW
94
95
  .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
95
- return baseAnimation(isIOS).addAnimation(contentOpen);
96
+ return baseAnimation(mode === 'ios').addAnimation(contentOpen);
96
97
  };
97
98
 
98
99
  const createMenuController = () => {
@@ -230,7 +231,7 @@ const createMenuController = () => {
230
231
  menus.splice(index, 1);
231
232
  }
232
233
  };
233
- const _setOpen = async (menu, shouldOpen, animated) => {
234
+ const _setOpen = async (menu, shouldOpen, animated, role) => {
234
235
  if (isAnimatingSync()) {
235
236
  return false;
236
237
  }
@@ -240,7 +241,7 @@ const createMenuController = () => {
240
241
  await openedMenu.setOpen(false, false);
241
242
  }
242
243
  }
243
- return menu._setOpen(shouldOpen, animated);
244
+ return menu._setOpen(shouldOpen, animated, role);
244
245
  };
245
246
  const _createAnimation = (type, menuCmp) => {
246
247
  const animationBuilder = menuAnimations.get(type); // TODO(FW-2832): type
@@ -1,31 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- /* Ionicons v7.2.2, ES Modules */
5
- const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
6
- const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
7
- const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
8
- const caretDownSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>";
9
- const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>";
10
- const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
11
- const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
12
- const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
13
- const chevronExpand = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>";
14
- const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
15
- const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
16
- const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
17
- const closeCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>";
18
- const closeSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>";
19
- const ellipseOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
20
- const ellipsisHorizontal = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>";
21
- const eye = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z'/></svg>";
22
- const eyeOff = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM248 315.85l-51.79-51.79a2 2 0 00-3.39 1.69 64.11 64.11 0 0053.49 53.49 2 2 0 001.69-3.39zM264 196.15L315.87 248a2 2 0 003.4-1.69 64.13 64.13 0 00-53.55-53.55 2 2 0 00-1.72 3.39z'/><path d='M491 273.36a32.2 32.2 0 00-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 00-71.82 11.79 4 4 0 00-1.56 6.63l47.24 47.24a4 4 0 003.82 1.05 96 96 0 01116 116 4 4 0 001.05 3.81l67.95 68a4 4 0 005.4.24 343.81 343.81 0 0067.24-77.4zM256 352a96 96 0 01-93.3-118.63 4 4 0 00-1.05-3.81l-66.84-66.87a4 4 0 00-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0072.64-11.55 4 4 0 001.61-6.64l-47.47-47.46a4 4 0 00-3.81-1.05A96 96 0 01256 352z'/></svg>";
23
- const menuOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
24
- const menuSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>";
25
- const removeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
26
- const reorderThreeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
27
- const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>";
28
- const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
29
- const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";
4
+ const win = typeof window !== 'undefined' ? window : undefined;
5
+ const doc = typeof document !== 'undefined' ? document : undefined;
30
6
 
31
- export { chevronBack as a, arrowBackSharp as b, chevronDown as c, chevronForwardOutline as d, ellipsisHorizontal as e, chevronForward as f, caretDownSharp as g, caretUpSharp as h, close as i, closeCircle as j, closeSharp as k, eyeOff as l, eye as m, menuOutline as n, menuSharp as o, arrowDown as p, caretBackSharp as q, reorderThreeOutline as r, reorderTwoSharp as s, searchOutline as t, searchSharp as u, chevronExpand as v, removeOutline as w, checkmarkOutline as x, ellipseOutline as y };
7
+ export { doc as d, win as w };
@@ -1,128 +1,34 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as componentOnReady } from './helpers.js';
5
- import { f as printRequiredElementError } from './ionic-global.js';
6
-
7
- const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
8
- const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
9
- const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
10
- /**
11
- * Selector used for implementations reliant on `<ion-content>` for scroll event changes.
12
- *
13
- * Developers should use the `.ion-content-scroll-host` selector to target the element emitting
14
- * scroll events. With virtual scroll implementations this will be the host element for
15
- * the scroll viewport.
16
- */
17
- const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
18
- const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;
19
4
  /**
20
- * Waits for the element host fully initialize before
21
- * returning the inner scroll element.
22
- *
23
- * For `ion-content` the scroll target will be the result
24
- * of the `getScrollElement` function.
5
+ * Logs a warning to the console with an Ionic prefix
6
+ * to indicate the library that is warning the developer.
25
7
  *
26
- * For custom implementations it will be the element host
27
- * or a selector within the host, if supplied through `scrollTarget`.
28
- */
29
- const getScrollElement = async (el) => {
30
- if (isIonContent(el)) {
31
- await new Promise((resolve) => componentOnReady(el, resolve));
32
- return el.getScrollElement();
33
- }
34
- return el;
35
- };
36
- /**
37
- * Queries the element matching the selector for IonContent.
38
- * See ION_CONTENT_SELECTOR for the selector used.
39
- */
40
- const findIonContent = (el) => {
41
- /**
42
- * First we try to query the custom scroll host selector in cases where
43
- * the implementation is using an outer `ion-content` with an inner custom
44
- * scroll container.
45
- */
46
- const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
47
- if (customContentHost) {
48
- return customContentHost;
49
- }
50
- return el.querySelector(ION_CONTENT_SELECTOR);
51
- };
52
- /**
53
- * Queries the closest element matching the selector for IonContent.
8
+ * @param message - The string message to be logged to the console.
54
9
  */
55
- const findClosestIonContent = (el) => {
56
- return el.closest(ION_CONTENT_SELECTOR);
10
+ const printIonWarning = (message, ...params) => {
11
+ return console.warn(`[Ionic Warning]: ${message}`, ...params);
57
12
  };
58
- /**
59
- * Scrolls to the top of the element. If an `ion-content` is found, it will scroll
60
- * using the public API `scrollToTop` with a duration.
61
- */
62
- const scrollToTop = (el, durationMs) => {
63
- if (isIonContent(el)) {
64
- const content = el;
65
- return content.scrollToTop(durationMs);
66
- }
67
- return Promise.resolve(el.scrollTo({
68
- top: 0,
69
- left: 0,
70
- behavior: durationMs > 0 ? 'smooth' : 'auto',
71
- }));
72
- };
73
- /**
74
- * Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
75
- * using the public API `scrollByPoint` with a duration.
13
+ /*
14
+ * Logs an error to the console with an Ionic prefix
15
+ * to indicate the library that is warning the developer.
16
+ *
17
+ * @param message - The string message to be logged to the console.
18
+ * @param params - Additional arguments to supply to the console.error.
76
19
  */
77
- const scrollByPoint = (el, x, y, durationMs) => {
78
- if (isIonContent(el)) {
79
- const content = el;
80
- return content.scrollByPoint(x, y, durationMs);
81
- }
82
- return Promise.resolve(el.scrollBy({
83
- top: y,
84
- left: x,
85
- behavior: durationMs > 0 ? 'smooth' : 'auto',
86
- }));
20
+ const printIonError = (message, ...params) => {
21
+ return console.error(`[Ionic Error]: ${message}`, ...params);
87
22
  };
88
23
  /**
89
24
  * Prints an error informing developers that an implementation requires an element to be used
90
- * within either the `ion-content` selector or the `.ion-content-scroll-host` class.
91
- */
92
- const printIonContentErrorMsg = (el) => {
93
- return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
94
- };
95
- /**
96
- * Several components in Ionic need to prevent scrolling
97
- * during a gesture (card modal, range, item sliding, etc).
98
- * Use this utility to account for ion-content and custom content hosts.
25
+ * within a specific selector.
26
+ *
27
+ * @param el The web component element this is requiring the element.
28
+ * @param targetSelectors The selector or selectors that were not found.
99
29
  */
100
- const disableContentScrollY = (contentEl) => {
101
- if (isIonContent(contentEl)) {
102
- const ionContent = contentEl;
103
- const initialScrollY = ionContent.scrollY;
104
- ionContent.scrollY = false;
105
- /**
106
- * This should be passed into resetContentScrollY
107
- * so that we can revert ion-content's scrollY to the
108
- * correct state. For example, if scrollY = false
109
- * initially, we do not want to enable scrolling
110
- * when we call resetContentScrollY.
111
- */
112
- return initialScrollY;
113
- }
114
- else {
115
- contentEl.style.setProperty('overflow', 'hidden');
116
- return true;
117
- }
118
- };
119
- const resetContentScrollY = (contentEl, initialScrollY) => {
120
- if (isIonContent(contentEl)) {
121
- contentEl.scrollY = initialScrollY;
122
- }
123
- else {
124
- contentEl.style.removeProperty('overflow');
125
- }
30
+ const printRequiredElementError = (el, ...targetSelectors) => {
31
+ return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
126
32
  };
127
33
 
128
- export { ION_CONTENT_CLASS_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_ELEMENT_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
34
+ export { printIonError as a, printRequiredElementError as b, printIonWarning as p };