@ionic/core 8.3.2-dev.11727691590.17002933 → 8.3.2-dev.11728333520.118877e0

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 (1022) hide show
  1. package/components/action-sheet.js +8 -13
  2. package/components/alert.js +36 -18
  3. package/components/backdrop.js +6 -10
  4. package/components/button.js +11 -41
  5. package/components/buttons.js +7 -11
  6. package/components/checkbox.js +13 -30
  7. package/components/data.js +4 -4
  8. package/components/index2.js +2 -1
  9. package/components/index4.js +7 -8
  10. package/components/index6.js +30 -27
  11. package/components/index7.js +27 -124
  12. package/components/index8.js +111 -150
  13. package/components/index9.js +167 -0
  14. package/components/input-shims.js +1 -1
  15. package/components/input.utils.js +1 -1
  16. package/components/ion-accordion-group.js +6 -9
  17. package/components/ion-accordion.js +9 -31
  18. package/components/ion-app.js +6 -6
  19. package/components/ion-avatar.js +3 -52
  20. package/components/ion-back-button.js +19 -28
  21. package/components/ion-badge.js +8 -44
  22. package/components/ion-breadcrumb.js +11 -44
  23. package/components/ion-breadcrumbs.js +5 -9
  24. package/components/ion-card-content.js +7 -11
  25. package/components/ion-card-header.js +5 -9
  26. package/components/ion-card-subtitle.js +5 -9
  27. package/components/ion-card-title.js +5 -9
  28. package/components/ion-card.js +9 -17
  29. package/components/ion-chip.js +8 -45
  30. package/components/ion-col.js +5 -5
  31. package/components/ion-content.js +11 -11
  32. package/components/ion-datetime-button.js +6 -9
  33. package/components/ion-datetime.js +20 -95
  34. package/components/ion-fab-button.js +10 -32
  35. package/components/ion-fab-list.js +5 -5
  36. package/components/ion-fab.js +6 -6
  37. package/components/ion-footer.js +11 -15
  38. package/components/ion-grid.js +5 -5
  39. package/components/ion-header.js +13 -20
  40. package/components/ion-img.js +2 -5
  41. package/components/ion-infinite-scroll-content.js +8 -12
  42. package/components/ion-infinite-scroll.js +5 -5
  43. package/components/ion-input-password-toggle.js +14 -52
  44. package/components/ion-input.js +20 -117
  45. package/components/ion-item-divider.js +5 -9
  46. package/components/ion-item-group.js +5 -9
  47. package/components/ion-item-option.js +8 -28
  48. package/components/ion-item-options.js +5 -9
  49. package/components/ion-item-sliding.js +5 -5
  50. package/components/ion-loading.js +8 -12
  51. package/components/ion-menu-button.js +10 -27
  52. package/components/ion-menu-toggle.js +5 -5
  53. package/components/ion-menu.js +7 -11
  54. package/components/ion-modal.js +11 -29
  55. package/components/ion-nav-link.js +1 -1
  56. package/components/ion-nav.js +6 -7
  57. package/components/ion-note.js +5 -9
  58. package/components/ion-picker-legacy.js +8 -7
  59. package/components/ion-progress-bar.js +6 -10
  60. package/components/ion-range.js +8 -11
  61. package/components/ion-refresher-content.js +9 -27
  62. package/components/ion-refresher.js +7 -11
  63. package/components/ion-reorder-group.js +5 -5
  64. package/components/ion-reorder.js +5 -30
  65. package/components/ion-router-link.js +6 -6
  66. package/components/ion-router-outlet.js +2 -2
  67. package/components/ion-row.js +2 -5
  68. package/components/ion-searchbar.js +16 -92
  69. package/components/ion-segment-button.js +8 -12
  70. package/components/ion-segment.js +22 -13
  71. package/components/ion-select-option.js +2 -5
  72. package/components/ion-select.js +28 -76
  73. package/components/ion-skeleton-text.js +5 -5
  74. package/components/ion-split-pane.js +8 -12
  75. package/components/ion-tab-bar.js +8 -31
  76. package/components/ion-tab-button.js +7 -11
  77. package/components/ion-tab.js +2 -2
  78. package/components/ion-tabs.js +2 -2
  79. package/components/ion-text.js +5 -5
  80. package/components/ion-textarea.js +11 -38
  81. package/components/ion-thumbnail.js +2 -5
  82. package/components/ion-title.js +7 -11
  83. package/components/ion-toast.js +9 -13
  84. package/components/ion-toggle.js +18 -76
  85. package/components/ion-toolbar.js +7 -11
  86. package/components/ionic-global.js +14 -191
  87. package/components/ios.transition.js +0 -1
  88. package/components/item.js +11 -40
  89. package/components/label.js +5 -9
  90. package/components/list-header.js +5 -9
  91. package/components/list.js +6 -29
  92. package/components/overlays.js +2 -1
  93. package/components/picker-column-option.js +5 -9
  94. package/components/picker-column.js +7 -7
  95. package/components/picker-column2.js +4 -4
  96. package/components/picker.js +4 -8
  97. package/components/popover.js +8 -11
  98. package/components/radio-group.js +3 -5
  99. package/components/radio.js +8 -12
  100. package/components/ripple-effect.js +8 -18
  101. package/components/select-popover.js +2 -9
  102. package/components/spinner.js +9 -35
  103. package/components/status-tap.js +1 -1
  104. package/css/core.css +1 -1
  105. package/css/core.css.map +1 -1
  106. package/css/display.css.map +1 -1
  107. package/css/flex-utils.css.map +1 -1
  108. package/css/float-elements.css.map +1 -1
  109. package/css/global.bundle.css.map +1 -1
  110. package/css/ionic-swiper.css +1 -1
  111. package/css/ionic-swiper.css.map +1 -1
  112. package/css/ionic.bundle.css +1 -1
  113. package/css/ionic.bundle.css.map +1 -1
  114. package/css/normalize.css.map +1 -1
  115. package/css/padding.css.map +1 -1
  116. package/css/palettes/dark.always.css.map +1 -1
  117. package/css/palettes/dark.class.css.map +1 -1
  118. package/css/palettes/dark.system.css.map +1 -1
  119. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  120. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  121. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  122. package/css/palettes/high-contrast.always.css.map +1 -1
  123. package/css/palettes/high-contrast.class.css.map +1 -1
  124. package/css/palettes/high-contrast.system.css.map +1 -1
  125. package/css/structure.css.map +1 -1
  126. package/css/text-alignment.css.map +1 -1
  127. package/css/text-transformation.css.map +1 -1
  128. package/css/typography.css.map +1 -1
  129. package/css/utils.bundle.css.map +1 -1
  130. package/dist/cjs/{app-globals-38bbc401.js → app-globals-21afee77.js} +1 -1
  131. package/dist/cjs/{data-b3a1a686.js → data-21dc0f81.js} +6 -6
  132. package/dist/cjs/{hardware-back-button-d37054f2.js → hardware-back-button-9e8a2c4f.js} +1 -1
  133. package/dist/cjs/index-5915f9b3.js +38 -0
  134. package/dist/cjs/{index-2fa32189.js → index-5b6a7459.js} +2 -2
  135. package/dist/cjs/{index-ed0f67a3.js → index-9cd00dc3.js} +12 -13
  136. package/dist/cjs/{index-694a3808.js → index-f05acd21.js} +8 -7
  137. package/dist/cjs/index.cjs.js +8 -7
  138. package/dist/cjs/{input-shims-ab680ecf.js → input-shims-9e59ef62.js} +2 -3
  139. package/dist/cjs/{input.utils-44ff82f0.js → input.utils-611cde0b.js} +2 -2
  140. package/dist/cjs/ion-accordion_2.cjs.entry.js +14 -39
  141. package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -15
  142. package/dist/cjs/ion-alert.cjs.entry.js +39 -20
  143. package/dist/cjs/ion-app_8.cjs.entry.js +72 -94
  144. package/dist/cjs/ion-avatar_3.cjs.entry.js +9 -92
  145. package/dist/cjs/ion-back-button.cjs.entry.js +18 -27
  146. package/dist/cjs/ion-backdrop.cjs.entry.js +6 -10
  147. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +14 -51
  148. package/dist/cjs/ion-button_2.cjs.entry.js +14 -44
  149. package/dist/cjs/ion-card_5.cjs.entry.js +27 -50
  150. package/dist/cjs/ion-checkbox.cjs.entry.js +12 -27
  151. package/dist/cjs/ion-chip.cjs.entry.js +7 -42
  152. package/dist/cjs/ion-col_3.cjs.entry.js +10 -13
  153. package/dist/cjs/ion-datetime-button.cjs.entry.js +11 -14
  154. package/dist/cjs/ion-datetime_3.cjs.entry.js +108 -183
  155. package/dist/cjs/ion-fab_3.cjs.entry.js +18 -40
  156. package/dist/cjs/ion-img.cjs.entry.js +2 -5
  157. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +13 -16
  158. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +16 -54
  159. package/dist/cjs/ion-input.cjs.entry.js +20 -115
  160. package/dist/cjs/ion-item-option_3.cjs.entry.js +16 -38
  161. package/dist/cjs/ion-item_8.cjs.entry.js +39 -110
  162. package/dist/cjs/ion-loading.cjs.entry.js +11 -14
  163. package/dist/cjs/ion-menu_3.cjs.entry.js +23 -43
  164. package/dist/cjs/ion-modal.cjs.entry.js +19 -36
  165. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -9
  166. package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -9
  167. package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
  168. package/dist/cjs/ion-picker.cjs.entry.js +4 -8
  169. package/dist/cjs/ion-popover.cjs.entry.js +14 -17
  170. package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -10
  171. package/dist/cjs/ion-radio_2.cjs.entry.js +10 -16
  172. package/dist/cjs/ion-range.cjs.entry.js +13 -16
  173. package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -35
  174. package/dist/cjs/ion-reorder_2.cjs.entry.js +9 -33
  175. package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -17
  176. package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
  177. package/dist/cjs/ion-searchbar.cjs.entry.js +15 -91
  178. package/dist/cjs/ion-segment_2.cjs.entry.js +29 -24
  179. package/dist/cjs/ion-select_3.cjs.entry.js +32 -89
  180. package/dist/cjs/ion-spinner.cjs.entry.js +7 -32
  181. package/dist/cjs/ion-split-pane.cjs.entry.js +8 -12
  182. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +14 -39
  183. package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
  184. package/dist/cjs/ion-text.cjs.entry.js +5 -5
  185. package/dist/cjs/ion-textarea.cjs.entry.js +13 -38
  186. package/dist/cjs/ion-toast.cjs.entry.js +32 -36
  187. package/dist/cjs/ion-toggle.cjs.entry.js +17 -75
  188. package/dist/cjs/ionic-global-d9a8bb5b.js +237 -0
  189. package/dist/cjs/ionic.cjs.js +3 -3
  190. package/dist/cjs/{ios.transition-7574ba71.js → ios.transition-cf40433b.js} +3 -3
  191. package/dist/cjs/loader.cjs.js +3 -3
  192. package/dist/cjs/{md.transition-d9d90911.js → md.transition-ededf99f.js} +3 -2
  193. package/dist/cjs/{overlays-faf6f843.js → overlays-0123d7d4.js} +4 -3
  194. package/dist/cjs/{status-tap-28780caa.js → status-tap-37681226.js} +2 -2
  195. package/dist/collection/components/accordion/accordion.ios.css +0 -12
  196. package/dist/collection/components/accordion/accordion.js +15 -35
  197. package/dist/collection/components/accordion/accordion.md.css +0 -6
  198. package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
  199. package/dist/collection/components/accordion-group/accordion-group.js +8 -11
  200. package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
  201. package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
  202. package/dist/collection/components/action-sheet/action-sheet.js +10 -14
  203. package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
  204. package/dist/collection/components/alert/alert.ios.css +1 -19
  205. package/dist/collection/components/alert/alert.js +42 -19
  206. package/dist/collection/components/alert/alert.md.css +1 -19
  207. package/dist/collection/components/app/app.js +6 -14
  208. package/dist/collection/components/avatar/avatar.ios.css +0 -12
  209. package/dist/collection/components/avatar/avatar.js +4 -92
  210. package/dist/collection/components/avatar/avatar.md.css +0 -12
  211. package/dist/collection/components/back-button/back-button.ios.css +48 -60
  212. package/dist/collection/components/back-button/back-button.js +19 -27
  213. package/dist/collection/components/back-button/back-button.md.css +48 -60
  214. package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
  215. package/dist/collection/components/backdrop/backdrop.js +6 -12
  216. package/dist/collection/components/backdrop/backdrop.md.css +1 -13
  217. package/dist/collection/components/badge/badge.ios.css +3 -106
  218. package/dist/collection/components/badge/badge.js +8 -75
  219. package/dist/collection/components/badge/badge.md.css +3 -106
  220. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
  221. package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
  222. package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
  223. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
  224. package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
  225. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
  226. package/dist/collection/components/button/button.ios.css +36 -129
  227. package/dist/collection/components/button/button.js +16 -46
  228. package/dist/collection/components/button/button.md.css +40 -120
  229. package/dist/collection/components/buttons/buttons.ios.css +7 -59
  230. package/dist/collection/components/buttons/buttons.js +8 -14
  231. package/dist/collection/components/buttons/buttons.md.css +3 -55
  232. package/dist/collection/components/card/card.ios.css +14 -65
  233. package/dist/collection/components/card/card.js +10 -34
  234. package/dist/collection/components/card/card.md.css +14 -65
  235. package/dist/collection/components/card-content/card-content.ios.css +1 -16
  236. package/dist/collection/components/card-content/card-content.js +8 -11
  237. package/dist/collection/components/card-content/card-content.md.css +1 -16
  238. package/dist/collection/components/card-header/card-header.ios.css +15 -27
  239. package/dist/collection/components/card-header/card-header.js +9 -12
  240. package/dist/collection/components/card-header/card-header.md.css +15 -27
  241. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
  242. package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
  243. package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
  244. package/dist/collection/components/card-title/card-title.ios.css +0 -73
  245. package/dist/collection/components/card-title/card-title.js +8 -11
  246. package/dist/collection/components/card-title/card-title.md.css +0 -73
  247. package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
  248. package/dist/collection/components/checkbox/checkbox.js +14 -63
  249. package/dist/collection/components/checkbox/checkbox.md.css +3 -21
  250. package/dist/collection/components/chip/chip.ios.css +1 -20
  251. package/dist/collection/components/chip/chip.js +8 -77
  252. package/dist/collection/components/chip/chip.md.css +1 -20
  253. package/dist/collection/components/col/col.css +0 -12
  254. package/dist/collection/components/col/col.js +5 -9
  255. package/dist/collection/components/content/content.css +2 -8
  256. package/dist/collection/components/content/content.js +10 -13
  257. package/dist/collection/components/datetime/datetime.ios.css +73 -232
  258. package/dist/collection/components/datetime/datetime.js +19 -95
  259. package/dist/collection/components/datetime/datetime.md.css +73 -232
  260. package/dist/collection/components/datetime/utils/data.js +3 -3
  261. package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
  262. package/dist/collection/components/datetime-button/datetime-button.js +8 -11
  263. package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
  264. package/dist/collection/components/fab/fab.css +1 -25
  265. package/dist/collection/components/fab/fab.js +5 -9
  266. package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
  267. package/dist/collection/components/fab-button/fab-button.js +15 -36
  268. package/dist/collection/components/fab-button/fab-button.md.css +8 -20
  269. package/dist/collection/components/fab-list/fab-list.css +0 -12
  270. package/dist/collection/components/fab-list/fab-list.js +5 -9
  271. package/dist/collection/components/footer/footer.ios.css +2 -14
  272. package/dist/collection/components/footer/footer.js +14 -17
  273. package/dist/collection/components/footer/footer.md.css +0 -12
  274. package/dist/collection/components/grid/grid.css +0 -12
  275. package/dist/collection/components/grid/grid.js +5 -9
  276. package/dist/collection/components/header/header.ios.css +10 -25
  277. package/dist/collection/components/header/header.js +15 -38
  278. package/dist/collection/components/header/header.md.css +8 -23
  279. package/dist/collection/components/img/img.js +2 -8
  280. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
  281. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
  282. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
  283. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
  284. package/dist/collection/components/input/input.ios.css +2 -21
  285. package/dist/collection/components/input/input.js +29 -143
  286. package/dist/collection/components/input/input.md.css +4 -43
  287. package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
  288. package/dist/collection/components/item/item.ios.css +69 -108
  289. package/dist/collection/components/item/item.js +16 -44
  290. package/dist/collection/components/item/item.md.css +68 -119
  291. package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
  292. package/dist/collection/components/item-divider/item-divider.js +8 -11
  293. package/dist/collection/components/item-divider/item-divider.md.css +0 -18
  294. package/dist/collection/components/item-group/item-group.ios.css +0 -12
  295. package/dist/collection/components/item-group/item-group.js +7 -13
  296. package/dist/collection/components/item-group/item-group.md.css +0 -12
  297. package/dist/collection/components/item-option/item-option.ios.css +2 -14
  298. package/dist/collection/components/item-option/item-option.js +8 -43
  299. package/dist/collection/components/item-option/item-option.md.css +2 -14
  300. package/dist/collection/components/item-options/item-options.ios.css +0 -18
  301. package/dist/collection/components/item-options/item-options.js +7 -13
  302. package/dist/collection/components/item-options/item-options.md.css +0 -18
  303. package/dist/collection/components/item-sliding/item-sliding.css +0 -6
  304. package/dist/collection/components/item-sliding/item-sliding.js +4 -8
  305. package/dist/collection/components/label/label.ios.css +0 -18
  306. package/dist/collection/components/label/label.js +8 -11
  307. package/dist/collection/components/label/label.md.css +0 -18
  308. package/dist/collection/components/list/list.ios.css +0 -18
  309. package/dist/collection/components/list/list.js +9 -47
  310. package/dist/collection/components/list/list.md.css +2 -20
  311. package/dist/collection/components/list-header/list-header.ios.css +0 -18
  312. package/dist/collection/components/list-header/list-header.js +8 -11
  313. package/dist/collection/components/list-header/list-header.md.css +0 -18
  314. package/dist/collection/components/loading/loading.ios.css +1 -13
  315. package/dist/collection/components/loading/loading.js +10 -13
  316. package/dist/collection/components/loading/loading.md.css +1 -13
  317. package/dist/collection/components/menu/menu.ios.css +3 -15
  318. package/dist/collection/components/menu/menu.js +7 -12
  319. package/dist/collection/components/menu/menu.md.css +3 -15
  320. package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
  321. package/dist/collection/components/menu-button/menu-button.js +10 -26
  322. package/dist/collection/components/menu-button/menu-button.md.css +15 -49
  323. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
  324. package/dist/collection/components/modal/modal.ios.css +63 -106
  325. package/dist/collection/components/modal/modal.js +10 -44
  326. package/dist/collection/components/modal/modal.md.css +63 -106
  327. package/dist/collection/components/nav/nav.css +1 -7
  328. package/dist/collection/components/nav/nav.js +5 -11
  329. package/dist/collection/components/nav-link/nav-link.js +1 -5
  330. package/dist/collection/components/note/note.ios.css +0 -12
  331. package/dist/collection/components/note/note.js +8 -11
  332. package/dist/collection/components/note/note.md.css +0 -12
  333. package/dist/collection/components/picker/picker.ios.css +3 -15
  334. package/dist/collection/components/picker/picker.js +5 -8
  335. package/dist/collection/components/picker/picker.md.css +3 -15
  336. package/dist/collection/components/picker-column/picker-column.css +2 -9
  337. package/dist/collection/components/picker-column/picker-column.js +7 -8
  338. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
  339. package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
  340. package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
  341. package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
  342. package/dist/collection/components/picker-legacy/picker.js +6 -7
  343. package/dist/collection/components/picker-legacy/picker.md.css +1 -13
  344. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
  345. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
  346. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
  347. package/dist/collection/components/popover/popover.ios.css +1 -13
  348. package/dist/collection/components/popover/popover.js +12 -15
  349. package/dist/collection/components/popover/popover.md.css +1 -13
  350. package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
  351. package/dist/collection/components/progress-bar/progress-bar.js +7 -10
  352. package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
  353. package/dist/collection/components/radio/radio.ios.css +91 -134
  354. package/dist/collection/components/radio/radio.js +9 -12
  355. package/dist/collection/components/radio/radio.md.css +91 -134
  356. package/dist/collection/components/radio-group/radio-group.js +3 -9
  357. package/dist/collection/components/range/range.ios.css +0 -12
  358. package/dist/collection/components/range/range.js +9 -12
  359. package/dist/collection/components/range/range.md.css +0 -12
  360. package/dist/collection/components/refresher/refresher.ios.css +1 -14
  361. package/dist/collection/components/refresher/refresher.js +8 -11
  362. package/dist/collection/components/refresher/refresher.md.css +2 -15
  363. package/dist/collection/components/refresher-content/refresher-content.js +7 -28
  364. package/dist/collection/components/reorder/reorder.ios.css +0 -6
  365. package/dist/collection/components/reorder/reorder.js +6 -33
  366. package/dist/collection/components/reorder/reorder.md.css +0 -6
  367. package/dist/collection/components/reorder-group/reorder-group.css +0 -6
  368. package/dist/collection/components/reorder-group/reorder-group.js +4 -8
  369. package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
  370. package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
  371. package/dist/collection/components/route/route.js +0 -4
  372. package/dist/collection/components/router/router.js +0 -4
  373. package/dist/collection/components/router-link/router-link.css +2 -8
  374. package/dist/collection/components/router-link/router-link.js +5 -9
  375. package/dist/collection/components/router-outlet/router-outlet.css +1 -7
  376. package/dist/collection/components/router-outlet/router-outlet.js +2 -5
  377. package/dist/collection/components/row/row.css +0 -12
  378. package/dist/collection/components/row/row.js +2 -9
  379. package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
  380. package/dist/collection/components/searchbar/searchbar.js +24 -96
  381. package/dist/collection/components/searchbar/searchbar.md.css +18 -56
  382. package/dist/collection/components/segment/segment.ios.css +0 -18
  383. package/dist/collection/components/segment/segment.js +25 -15
  384. package/dist/collection/components/segment/segment.md.css +0 -18
  385. package/dist/collection/components/segment-button/segment-button.ios.css +4 -16
  386. package/dist/collection/components/segment-button/segment-button.js +9 -12
  387. package/dist/collection/components/segment-button/segment-button.md.css +6 -18
  388. package/dist/collection/components/select/select.ios.css +3 -22
  389. package/dist/collection/components/select/select.js +31 -79
  390. package/dist/collection/components/select/select.md.css +5 -38
  391. package/dist/collection/components/select-option/select-option.js +2 -9
  392. package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
  393. package/dist/collection/components/select-popover/select-popover.js +4 -12
  394. package/dist/collection/components/select-popover/select-popover.md.css +0 -18
  395. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
  396. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
  397. package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +0 -61
  398. package/dist/collection/components/spinner/spinner.js +6 -46
  399. package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
  400. package/dist/collection/components/split-pane/split-pane.js +8 -14
  401. package/dist/collection/components/split-pane/split-pane.md.css +2 -20
  402. package/dist/collection/components/tab/tab.js +2 -6
  403. package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
  404. package/dist/collection/components/tab-bar/tab-bar.js +10 -65
  405. package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
  406. package/dist/collection/components/tab-button/tab-button.ios.css +88 -103
  407. package/dist/collection/components/tab-button/tab-button.js +8 -11
  408. package/dist/collection/components/tab-button/tab-button.md.css +88 -103
  409. package/dist/collection/components/tabs/tabs.css +1 -7
  410. package/dist/collection/components/tabs/tabs.js +1 -4
  411. package/dist/collection/components/text/text.css +0 -6
  412. package/dist/collection/components/text/text.js +6 -7
  413. package/dist/collection/components/textarea/textarea.ios.css +96 -201
  414. package/dist/collection/components/textarea/textarea.js +16 -59
  415. package/dist/collection/components/textarea/textarea.md.css +97 -214
  416. package/dist/collection/components/thumbnail/thumbnail.css +0 -6
  417. package/dist/collection/components/thumbnail/thumbnail.js +2 -9
  418. package/dist/collection/components/title/title.ios.css +4 -32
  419. package/dist/collection/components/title/title.js +7 -13
  420. package/dist/collection/components/title/title.md.css +4 -32
  421. package/dist/collection/components/toast/animations/utils.js +1 -1
  422. package/dist/collection/components/toast/toast.ios.css +0 -12
  423. package/dist/collection/components/toast/toast.js +11 -15
  424. package/dist/collection/components/toast/toast.md.css +0 -12
  425. package/dist/collection/components/toggle/toggle.ios.css +120 -166
  426. package/dist/collection/components/toggle/toggle.js +18 -73
  427. package/dist/collection/components/toggle/toggle.md.css +120 -163
  428. package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
  429. package/dist/collection/components/toolbar/toolbar.js +10 -13
  430. package/dist/collection/components/toolbar/toolbar.md.css +47 -90
  431. package/dist/collection/global/ionic-global.js +13 -161
  432. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  433. package/dist/collection/utils/menu-controller/animations/push.js +1 -2
  434. package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
  435. package/dist/collection/utils/test/playwright/generator.js +23 -48
  436. package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
  437. package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
  438. package/dist/collection/utils/transition/ios.transition.js +0 -1
  439. package/dist/docs.json +252 -6870
  440. package/dist/esm/{app-globals-c45950ba.js → app-globals-5dbb61a5.js} +1 -1
  441. package/dist/esm/{button-active-873732e5.js → button-active-f6503382.js} +1 -1
  442. package/dist/esm/{data-fde041b0.js → data-ae11fd43.js} +4 -4
  443. package/dist/esm/{hardware-back-button-2bb5194f.js → hardware-back-button-06ef3c3e.js} +2 -2
  444. package/dist/esm/{index-723c0e5d.js → index-28849c61.js} +1 -1
  445. package/dist/esm/{index-29be96b3.js → index-3ad7f18b.js} +5 -4
  446. package/dist/esm/{index-56cab0d6.js → index-5cc724f3.js} +1 -1
  447. package/dist/esm/index-9b0d46f4.js +34 -0
  448. package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
  449. package/dist/esm/{index-2d8b49ae.js → index-fe1782b1.js} +8 -9
  450. package/dist/esm/index.js +9 -8
  451. package/dist/esm/{input-shims-59f93016.js → input-shims-0314bbe5.js} +2 -3
  452. package/dist/esm/{input.utils-8755322f.js → input.utils-09c71bc7.js} +1 -1
  453. package/dist/esm/ion-accordion_2.entry.js +15 -40
  454. package/dist/esm/ion-action-sheet.entry.js +13 -17
  455. package/dist/esm/ion-alert.entry.js +41 -22
  456. package/dist/esm/ion-app_8.entry.js +62 -84
  457. package/dist/esm/ion-avatar_3.entry.js +10 -93
  458. package/dist/esm/ion-back-button.entry.js +20 -29
  459. package/dist/esm/ion-backdrop.entry.js +7 -11
  460. package/dist/esm/ion-breadcrumb_2.entry.js +16 -53
  461. package/dist/esm/ion-button_2.entry.js +12 -42
  462. package/dist/esm/ion-card_5.entry.js +28 -51
  463. package/dist/esm/ion-checkbox.entry.js +13 -28
  464. package/dist/esm/ion-chip.entry.js +8 -43
  465. package/dist/esm/ion-col_3.entry.js +11 -14
  466. package/dist/esm/ion-datetime-button.entry.js +8 -11
  467. package/dist/esm/ion-datetime_3.entry.js +33 -108
  468. package/dist/esm/ion-fab_3.entry.js +20 -42
  469. package/dist/esm/ion-img.entry.js +3 -6
  470. package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
  471. package/dist/esm/ion-input-password-toggle.entry.js +15 -53
  472. package/dist/esm/ion-input.entry.js +22 -117
  473. package/dist/esm/ion-item-option_3.entry.js +17 -39
  474. package/dist/esm/ion-item_8.entry.js +41 -112
  475. package/dist/esm/ion-loading.entry.js +12 -15
  476. package/dist/esm/ion-menu_3.entry.js +25 -45
  477. package/dist/esm/ion-modal.entry.js +15 -32
  478. package/dist/esm/ion-nav_2.entry.js +9 -10
  479. package/dist/esm/ion-picker-column-option.entry.js +6 -10
  480. package/dist/esm/ion-picker-column.entry.js +8 -8
  481. package/dist/esm/ion-picker.entry.js +5 -9
  482. package/dist/esm/ion-popover.entry.js +12 -15
  483. package/dist/esm/ion-progress-bar.entry.js +7 -11
  484. package/dist/esm/ion-radio_2.entry.js +11 -17
  485. package/dist/esm/ion-range.entry.js +9 -12
  486. package/dist/esm/ion-refresher_2.entry.js +16 -37
  487. package/dist/esm/ion-reorder_2.entry.js +11 -35
  488. package/dist/esm/ion-ripple-effect.entry.js +8 -18
  489. package/dist/esm/ion-route_4.entry.js +7 -7
  490. package/dist/esm/ion-searchbar.entry.js +17 -93
  491. package/dist/esm/ion-segment_2.entry.js +30 -25
  492. package/dist/esm/ion-select_3.entry.js +34 -91
  493. package/dist/esm/ion-spinner.entry.js +8 -33
  494. package/dist/esm/ion-split-pane.entry.js +9 -13
  495. package/dist/esm/ion-tab-bar_2.entry.js +15 -40
  496. package/dist/esm/ion-tab_2.entry.js +5 -5
  497. package/dist/esm/ion-text.entry.js +6 -6
  498. package/dist/esm/ion-textarea.entry.js +14 -39
  499. package/dist/esm/ion-toast.entry.js +12 -16
  500. package/dist/esm/ion-toggle.entry.js +19 -77
  501. package/dist/esm/ionic-global-c81d82ab.js +231 -0
  502. package/dist/esm/ionic.js +5 -5
  503. package/dist/esm/{ios.transition-4706aa28.js → ios.transition-4ee1a3af.js} +4 -4
  504. package/dist/esm/loader.js +5 -5
  505. package/dist/esm/{md.transition-20ad6960.js → md.transition-5106a0d2.js} +4 -3
  506. package/dist/esm/{overlays-40e86f77.js → overlays-9c75ec54.js} +3 -2
  507. package/dist/esm/{status-tap-0433b6a6.js → status-tap-f472b09f.js} +3 -3
  508. package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
  509. package/dist/esm-es5/{button-active-873732e5.js → button-active-f6503382.js} +1 -1
  510. package/dist/esm-es5/data-ae11fd43.js +4 -0
  511. package/dist/esm-es5/{hardware-back-button-2bb5194f.js → hardware-back-button-06ef3c3e.js} +1 -1
  512. package/dist/esm-es5/{index-723c0e5d.js → index-28849c61.js} +1 -1
  513. package/dist/esm-es5/index-3ad7f18b.js +4 -0
  514. package/dist/esm-es5/index-5cc724f3.js +4 -0
  515. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  516. package/dist/esm-es5/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
  517. package/dist/esm-es5/index-fe1782b1.js +4 -0
  518. package/dist/esm-es5/index.js +1 -1
  519. package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
  520. package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
  521. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  522. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  523. package/dist/esm-es5/ion-alert.entry.js +1 -1
  524. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  525. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  526. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  527. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  528. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  529. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  530. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  531. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  532. package/dist/esm-es5/ion-chip.entry.js +1 -1
  533. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  534. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  535. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  536. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  537. package/dist/esm-es5/ion-img.entry.js +1 -1
  538. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  539. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  540. package/dist/esm-es5/ion-input.entry.js +1 -1
  541. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  542. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  543. package/dist/esm-es5/ion-loading.entry.js +1 -1
  544. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  545. package/dist/esm-es5/ion-modal.entry.js +1 -1
  546. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  547. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  548. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  549. package/dist/esm-es5/ion-picker.entry.js +1 -1
  550. package/dist/esm-es5/ion-popover.entry.js +1 -1
  551. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  552. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  553. package/dist/esm-es5/ion-range.entry.js +1 -1
  554. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  555. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  556. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  557. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  558. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  559. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  560. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  561. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  562. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  563. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  564. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  565. package/dist/esm-es5/ion-text.entry.js +1 -1
  566. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  567. package/dist/esm-es5/ion-toast.entry.js +1 -1
  568. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  569. package/dist/esm-es5/ionic-global-c81d82ab.js +4 -0
  570. package/dist/esm-es5/ionic.js +1 -1
  571. package/dist/esm-es5/ios.transition-4ee1a3af.js +4 -0
  572. package/dist/esm-es5/loader.js +1 -1
  573. package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
  574. package/dist/esm-es5/overlays-9c75ec54.js +4 -0
  575. package/dist/esm-es5/status-tap-f472b09f.js +4 -0
  576. package/dist/html.html-data.json +121 -2193
  577. package/dist/ionic/index.esm.js +1 -1
  578. package/dist/ionic/ionic.esm.js +1 -1
  579. package/dist/ionic/ionic.js +1 -1
  580. package/dist/ionic/{p-c32229bb.system.entry.js → p-01186920.system.entry.js} +1 -1
  581. package/dist/ionic/p-0303d0f8.js +4 -0
  582. package/dist/ionic/p-0574e87e.js +4 -0
  583. package/dist/ionic/p-06e07c7b.system.entry.js +4 -0
  584. package/dist/ionic/p-06e58c4e.js +4 -0
  585. package/dist/ionic/p-06fee233.js +4 -0
  586. package/dist/ionic/p-081a4ce4.entry.js +4 -0
  587. package/dist/ionic/{p-4c38fcdd.system.js → p-0c06e09b.system.js} +1 -1
  588. package/dist/ionic/p-1136a842.entry.js +4 -0
  589. package/dist/ionic/p-15e76dd1.entry.js +4 -0
  590. package/dist/ionic/p-17474161.system.js +4 -0
  591. package/dist/ionic/p-19ec4f42.entry.js +4 -0
  592. package/dist/ionic/p-1acf0142.entry.js +4 -0
  593. package/dist/ionic/p-1e010627.system.entry.js +4 -0
  594. package/dist/ionic/p-1e67b266.system.entry.js +4 -0
  595. package/dist/ionic/{p-115d74cd.system.js → p-1e955a45.system.js} +1 -1
  596. package/dist/ionic/p-2097482f.entry.js +4 -0
  597. package/dist/ionic/p-21e5e7e4.js +4 -0
  598. package/dist/ionic/p-22c020db.system.entry.js +4 -0
  599. package/dist/ionic/p-2507278c.system.entry.js +4 -0
  600. package/dist/ionic/{p-0fa218e9.system.js → p-25180df3.system.js} +1 -1
  601. package/dist/ionic/p-2690b1de.js +4 -0
  602. package/dist/ionic/p-2799c6d3.system.entry.js +4 -0
  603. package/dist/ionic/p-2e46590d.system.entry.js +4 -0
  604. package/dist/ionic/p-2eba228d.system.entry.js +4 -0
  605. package/dist/ionic/p-322c5fb4.system.js +4 -0
  606. package/dist/ionic/p-3254d107.entry.js +4 -0
  607. package/dist/ionic/p-347ac2ef.system.entry.js +4 -0
  608. package/dist/ionic/{p-a4519424.system.js → p-372ae7f4.system.js} +1 -1
  609. package/dist/ionic/p-3b323c61.entry.js +4 -0
  610. package/dist/ionic/{p-f7712c17.system.js → p-3c8e5c23.system.js} +1 -1
  611. package/dist/ionic/p-3cd3704c.entry.js +4 -0
  612. package/dist/ionic/p-41b6ad85.system.entry.js +4 -0
  613. package/dist/ionic/p-42eee9d3.system.entry.js +4 -0
  614. package/dist/ionic/p-4439fc2a.entry.js +4 -0
  615. package/dist/ionic/p-449ec9f0.system.entry.js +4 -0
  616. package/dist/ionic/p-45693d7e.entry.js +4 -0
  617. package/dist/ionic/p-469e0773.entry.js +4 -0
  618. package/dist/ionic/p-52d7a191.entry.js +4 -0
  619. package/dist/ionic/p-53b77274.system.entry.js +4 -0
  620. package/dist/ionic/p-567de071.system.entry.js +4 -0
  621. package/dist/ionic/p-5823babc.system.entry.js +4 -0
  622. package/dist/ionic/{p-2b98e44b.system.entry.js → p-58d5df0c.system.entry.js} +1 -1
  623. package/dist/ionic/p-5988556c.system.entry.js +4 -0
  624. package/dist/ionic/p-5a6d132d.entry.js +4 -0
  625. package/dist/ionic/p-5ad5dd4e.entry.js +4 -0
  626. package/dist/ionic/{p-4ccbf702.system.js → p-5da94421.system.js} +2 -2
  627. package/dist/ionic/p-5f9b0722.entry.js +4 -0
  628. package/dist/ionic/p-61e494dc.system.entry.js +4 -0
  629. package/dist/ionic/p-63b0abde.system.entry.js +4 -0
  630. package/dist/ionic/p-66640ff7.system.entry.js +4 -0
  631. package/dist/ionic/p-68642392.entry.js +4 -0
  632. package/dist/ionic/p-69066a53.js +4 -0
  633. package/dist/ionic/p-6d32975a.entry.js +4 -0
  634. package/dist/ionic/{p-8285d686.system.entry.js → p-7458862e.system.entry.js} +1 -1
  635. package/dist/ionic/p-7740e32c.system.js +4 -0
  636. package/dist/ionic/p-78feb35d.entry.js +4 -0
  637. package/dist/ionic/p-7b9a2b23.entry.js +4 -0
  638. package/dist/ionic/p-7ed1657c.system.entry.js +4 -0
  639. package/dist/ionic/p-802b4ce7.entry.js +4 -0
  640. package/dist/ionic/p-850a3c12.entry.js +4 -0
  641. package/dist/ionic/p-87a5f97a.system.entry.js +4 -0
  642. package/dist/ionic/p-88e63c7d.js +4 -0
  643. package/dist/ionic/p-8ebd3f36.system.entry.js +4 -0
  644. package/dist/ionic/p-90df71aa.system.entry.js +4 -0
  645. package/dist/ionic/p-927f180c.system.entry.js +4 -0
  646. package/dist/ionic/p-92a96c69.system.entry.js +4 -0
  647. package/dist/ionic/p-937a7e21.entry.js +4 -0
  648. package/dist/ionic/p-9644984a.entry.js +4 -0
  649. package/dist/ionic/{p-6d7c455f.js → p-96cc4814.js} +1 -1
  650. package/dist/ionic/{p-eef611dc.system.entry.js → p-98231c01.system.entry.js} +1 -1
  651. package/dist/ionic/p-985a7e17.system.entry.js +4 -0
  652. package/dist/ionic/p-98871496.system.js +4 -0
  653. package/dist/ionic/p-98e71235.system.entry.js +4 -0
  654. package/dist/ionic/p-9c901780.entry.js +4 -0
  655. package/dist/ionic/p-9df2c6fb.entry.js +4 -0
  656. package/dist/ionic/{p-c4ae4d32.system.js → p-9ea607bd.system.js} +2 -2
  657. package/dist/ionic/p-9ee1e8a6.entry.js +4 -0
  658. package/dist/ionic/p-9f18a6cf.entry.js +4 -0
  659. package/dist/ionic/p-9f3008d4.system.js +4 -0
  660. package/dist/ionic/p-9fa07aec.entry.js +4 -0
  661. package/dist/ionic/p-a440397c.js +4 -0
  662. package/dist/ionic/p-a4565eb5.system.js +4 -0
  663. package/dist/ionic/p-a49378bb.system.entry.js +4 -0
  664. package/dist/ionic/p-a4d51b8d.system.js +4 -0
  665. package/dist/ionic/p-a61cba41.entry.js +4 -0
  666. package/dist/ionic/p-a69b9fc5.system.js +4 -0
  667. package/dist/ionic/p-a6d7bc6c.entry.js +4 -0
  668. package/dist/ionic/p-adcb6def.system.entry.js +4 -0
  669. package/dist/ionic/p-adceb282.system.entry.js +4 -0
  670. package/dist/ionic/{p-b6d72f12.entry.js → p-afecb188.entry.js} +1 -1
  671. package/dist/ionic/p-b14210d4.system.entry.js +4 -0
  672. package/dist/ionic/p-b398aa77.entry.js +4 -0
  673. package/dist/ionic/{p-44c281df.entry.js → p-b9d7015f.entry.js} +1 -1
  674. package/dist/ionic/p-bb0db172.entry.js +4 -0
  675. package/dist/ionic/p-bc36ad98.system.entry.js +4 -0
  676. package/dist/ionic/p-bdad26e3.entry.js +4 -0
  677. package/dist/ionic/p-bfceff7f.system.entry.js +4 -0
  678. package/dist/ionic/{p-3efc5d47.system.entry.js → p-c0b0a426.system.entry.js} +2 -2
  679. package/dist/ionic/p-c29f8157.system.entry.js +4 -0
  680. package/dist/ionic/{p-ed419a44.entry.js → p-c41ac815.entry.js} +1 -1
  681. package/dist/ionic/p-c7b03316.entry.js +4 -0
  682. package/dist/ionic/p-c9f3a539.entry.js +4 -0
  683. package/dist/ionic/p-ca065903.system.entry.js +4 -0
  684. package/dist/ionic/p-cac0e0b3.system.entry.js +4 -0
  685. package/dist/ionic/p-cfab4f20.entry.js +4 -0
  686. package/dist/ionic/p-d04481d7.entry.js +4 -0
  687. package/dist/ionic/p-d18ab582.system.entry.js +4 -0
  688. package/dist/ionic/p-d1db10ed.system.entry.js +4 -0
  689. package/dist/ionic/{p-0b120b1d.js → p-d60342e3.js} +1 -1
  690. package/dist/ionic/p-d6841eac.js +4 -0
  691. package/dist/ionic/{p-5771eacd.js → p-d743e981.js} +1 -1
  692. package/dist/ionic/p-d77e12ca.entry.js +4 -0
  693. package/dist/ionic/p-d7aa6b00.entry.js +4 -0
  694. package/dist/ionic/{p-83948e48.js → p-d836d43e.js} +1 -1
  695. package/dist/ionic/p-da074ff7.entry.js +4 -0
  696. package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
  697. package/dist/ionic/p-de930745.entry.js +4 -0
  698. package/dist/ionic/p-dfb78785.system.js +4 -0
  699. package/dist/ionic/p-e2fb0d06.system.entry.js +4 -0
  700. package/dist/ionic/p-e3f13b08.js +4 -0
  701. package/dist/ionic/p-e4ee80be.system.entry.js +4 -0
  702. package/dist/ionic/p-eba29931.entry.js +4 -0
  703. package/dist/ionic/p-eba81f15.entry.js +4 -0
  704. package/dist/ionic/{p-0bfbe380.js → p-ecceeb90.js} +1 -1
  705. package/dist/ionic/p-efaffe74.entry.js +4 -0
  706. package/dist/ionic/p-f1acf541.system.entry.js +4 -0
  707. package/dist/ionic/p-f3102647.system.entry.js +4 -0
  708. package/dist/ionic/p-f43382c8.system.entry.js +4 -0
  709. package/dist/ionic/{p-1fd1d157.system.js → p-f687573e.system.js} +1 -1
  710. package/dist/ionic/p-f9a53abb.system.js +4 -0
  711. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  712. package/dist/types/components/accordion/accordion.d.ts +2 -4
  713. package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
  714. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
  715. package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
  716. package/dist/types/components/alert/alert-interface.d.ts +7 -3
  717. package/dist/types/components/alert/alert.d.ts +2 -3
  718. package/dist/types/components/app/app.d.ts +0 -5
  719. package/dist/types/components/avatar/avatar.d.ts +0 -28
  720. package/dist/types/components/back-button/back-button.d.ts +1 -2
  721. package/dist/types/components/backdrop/backdrop.d.ts +0 -4
  722. package/dist/types/components/badge/badge.d.ts +1 -23
  723. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
  724. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  725. package/dist/types/components/button/button.d.ts +4 -15
  726. package/dist/types/components/buttons/buttons.d.ts +1 -5
  727. package/dist/types/components/card/card.d.ts +1 -8
  728. package/dist/types/components/card-content/card-content.d.ts +1 -2
  729. package/dist/types/components/card-header/card-header.d.ts +2 -3
  730. package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
  731. package/dist/types/components/card-title/card-title.d.ts +1 -2
  732. package/dist/types/components/checkbox/checkbox.d.ts +4 -14
  733. package/dist/types/components/chip/chip.d.ts +1 -19
  734. package/dist/types/components/col/col.d.ts +0 -4
  735. package/dist/types/components/content/content.d.ts +0 -3
  736. package/dist/types/components/datetime/datetime.d.ts +1 -26
  737. package/dist/types/components/datetime/utils/data.d.ts +3 -3
  738. package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
  739. package/dist/types/components/fab/fab.d.ts +0 -4
  740. package/dist/types/components/fab-button/fab-button.d.ts +3 -5
  741. package/dist/types/components/fab-list/fab-list.d.ts +0 -4
  742. package/dist/types/components/footer/footer.d.ts +3 -4
  743. package/dist/types/components/grid/grid.d.ts +0 -4
  744. package/dist/types/components/header/header.d.ts +3 -9
  745. package/dist/types/components/img/img.d.ts +0 -3
  746. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
  747. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
  748. package/dist/types/components/input/input.d.ts +5 -31
  749. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
  750. package/dist/types/components/item/item.d.ts +4 -11
  751. package/dist/types/components/item-divider/item-divider.d.ts +1 -2
  752. package/dist/types/components/item-group/item-group.d.ts +0 -4
  753. package/dist/types/components/item-option/item-option.d.ts +1 -11
  754. package/dist/types/components/item-options/item-options.d.ts +0 -4
  755. package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
  756. package/dist/types/components/label/label.d.ts +1 -2
  757. package/dist/types/components/list/list.d.ts +1 -15
  758. package/dist/types/components/list-header/list-header.d.ts +1 -2
  759. package/dist/types/components/loading/loading-interface.d.ts +7 -2
  760. package/dist/types/components/loading/loading.d.ts +2 -3
  761. package/dist/types/components/menu/menu.d.ts +0 -3
  762. package/dist/types/components/menu-button/menu-button.d.ts +1 -3
  763. package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
  764. package/dist/types/components/modal/modal-interface.d.ts +7 -3
  765. package/dist/types/components/modal/modal.d.ts +1 -11
  766. package/dist/types/components/nav/nav-interface.d.ts +1 -9
  767. package/dist/types/components/nav/nav.d.ts +1 -5
  768. package/dist/types/components/nav-link/nav-link.d.ts +0 -4
  769. package/dist/types/components/note/note.d.ts +1 -2
  770. package/dist/types/components/picker/picker.d.ts +1 -2
  771. package/dist/types/components/picker-column/picker-column.d.ts +1 -2
  772. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
  773. package/dist/types/components/picker-legacy/picker.d.ts +1 -2
  774. package/dist/types/components/popover/popover-interface.d.ts +6 -3
  775. package/dist/types/components/popover/popover.d.ts +5 -6
  776. package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
  777. package/dist/types/components/radio/radio.d.ts +1 -2
  778. package/dist/types/components/radio-group/radio-group.d.ts +0 -4
  779. package/dist/types/components/range/range.d.ts +1 -2
  780. package/dist/types/components/refresher/refresher.d.ts +1 -2
  781. package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
  782. package/dist/types/components/reorder/reorder.d.ts +0 -9
  783. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
  784. package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
  785. package/dist/types/components/route/route.d.ts +0 -4
  786. package/dist/types/components/router/router.d.ts +0 -4
  787. package/dist/types/components/router-link/router-link.d.ts +0 -4
  788. package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
  789. package/dist/types/components/row/row.d.ts +0 -4
  790. package/dist/types/components/searchbar/searchbar.d.ts +8 -30
  791. package/dist/types/components/segment/segment.d.ts +1 -2
  792. package/dist/types/components/segment-button/segment-button.d.ts +1 -2
  793. package/dist/types/components/select/select.d.ts +5 -20
  794. package/dist/types/components/select-option/select-option.d.ts +0 -4
  795. package/dist/types/components/select-popover/select-popover.d.ts +0 -3
  796. package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
  797. package/dist/types/components/spinner/spinner.d.ts +0 -15
  798. package/dist/types/components/split-pane/split-pane.d.ts +0 -4
  799. package/dist/types/components/tab/tab.d.ts +0 -4
  800. package/dist/types/components/tab-bar/tab-bar.d.ts +2 -22
  801. package/dist/types/components/tab-button/tab-button.d.ts +1 -2
  802. package/dist/types/components/tabs/tabs.d.ts +0 -3
  803. package/dist/types/components/text/text.d.ts +1 -2
  804. package/dist/types/components/textarea/textarea.d.ts +4 -16
  805. package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
  806. package/dist/types/components/title/title.d.ts +0 -4
  807. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  808. package/dist/types/components/toast/toast-interface.d.ts +7 -3
  809. package/dist/types/components/toast/toast.d.ts +2 -3
  810. package/dist/types/components/toggle/toggle.d.ts +1 -15
  811. package/dist/types/components/toolbar/toolbar.d.ts +3 -4
  812. package/dist/types/components.d.ts +181 -1346
  813. package/dist/types/global/ionic-global.d.ts +2 -25
  814. package/dist/types/interface.d.ts +0 -3
  815. package/dist/types/utils/config.d.ts +2 -99
  816. package/dist/types/utils/overlays-interface.d.ts +1 -31
  817. package/dist/types/utils/test/playwright/generator.d.ts +2 -31
  818. package/hydrate/index.js +696 -2031
  819. package/hydrate/index.mjs +696 -2031
  820. package/package.json +5 -9
  821. package/components/caret-down.js +0 -6
  822. package/components/caret-left.js +0 -6
  823. package/components/caret-right.js +0 -6
  824. package/components/list2.js +0 -6
  825. package/components/x.js +0 -6
  826. package/css/ionic/bundle.ionic.css +0 -1
  827. package/css/ionic/bundle.ionic.css.map +0 -1
  828. package/css/ionic/core.ionic.css +0 -1
  829. package/css/ionic/core.ionic.css.map +0 -1
  830. package/css/ionic/global.bundle.ionic.css +0 -1
  831. package/css/ionic/global.bundle.ionic.css.map +0 -1
  832. package/css/ionic/ionic-swiper.ionic.css +0 -1
  833. package/css/ionic/ionic-swiper.ionic.css.map +0 -1
  834. package/css/ionic/link.ionic.css +0 -1
  835. package/css/ionic/link.ionic.css.map +0 -1
  836. package/css/ionic/structure.ionic.css +0 -1
  837. package/css/ionic/structure.ionic.css.map +0 -1
  838. package/css/ionic/typography.ionic.css +0 -1
  839. package/css/ionic/typography.ionic.css.map +0 -1
  840. package/css/ionic/utils.bundle.ionic.css +0 -1
  841. package/css/ionic/utils.bundle.ionic.css.map +0 -1
  842. package/dist/cjs/caret-down-3c215cff.js +0 -8
  843. package/dist/cjs/caret-left-2bb66970.js +0 -8
  844. package/dist/cjs/caret-right-88e03970.js +0 -8
  845. package/dist/cjs/ionic-global-5df85d73.js +0 -418
  846. package/dist/cjs/list-2930c629.js +0 -8
  847. package/dist/cjs/x-81a8f51c.js +0 -8
  848. package/dist/collection/components/avatar/avatar.ionic.css +0 -271
  849. package/dist/collection/components/backdrop/backdrop.ionic.css +0 -153
  850. package/dist/collection/components/badge/badge.ionic.css +0 -251
  851. package/dist/collection/components/button/button.ionic.css +0 -591
  852. package/dist/collection/components/buttons/buttons.ionic.css +0 -101
  853. package/dist/collection/components/card/card.ionic.css +0 -139
  854. package/dist/collection/components/card-content/card-content.ionic.css +0 -92
  855. package/dist/collection/components/card-header/card-header.ionic.css +0 -89
  856. package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -148
  857. package/dist/collection/components/checkbox/checkbox.ionic.css +0 -408
  858. package/dist/collection/components/chip/chip.ionic.css +0 -162
  859. package/dist/collection/components/datetime/datetime.ionic.css +0 -670
  860. package/dist/collection/components/header/header.ionic.css +0 -88
  861. package/dist/collection/components/input/input.ionic.css +0 -1099
  862. package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +0 -61
  863. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -143
  864. package/dist/collection/components/item/item.ionic.css +0 -494
  865. package/dist/collection/components/item-option/item-option.ionic.css +0 -334
  866. package/dist/collection/components/item-options/item-options.ionic.css +0 -260
  867. package/dist/collection/components/list/list.ionic.css +0 -196
  868. package/dist/collection/components/list-header/list-header.ionic.css +0 -238
  869. package/dist/collection/components/menu-button/menu-button.ionic.css +0 -240
  870. package/dist/collection/components/modal/modal.ionic.css +0 -241
  871. package/dist/collection/components/radio/radio.ionic.css +0 -420
  872. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -154
  873. package/dist/collection/components/searchbar/searchbar.ionic.css +0 -270
  874. package/dist/collection/components/spinner/spinner.common.css +0 -199
  875. package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -254
  876. package/dist/collection/components/tab-button/tab-button.ionic.css +0 -273
  877. package/dist/collection/components/textarea/textarea.ionic.css +0 -806
  878. package/dist/collection/components/title/title.ionic.css +0 -147
  879. package/dist/collection/components/toggle/toggle.ionic.css +0 -421
  880. package/dist/collection/components/toolbar/toolbar.ionic.css +0 -235
  881. package/dist/esm/caret-down-3eaad1cc.js +0 -6
  882. package/dist/esm/caret-left-33424bb0.js +0 -6
  883. package/dist/esm/caret-right-68d856ad.js +0 -6
  884. package/dist/esm/ionic-global-a8cbb8b0.js +0 -408
  885. package/dist/esm/list-6524700c.js +0 -6
  886. package/dist/esm/x-a64bcd9f.js +0 -6
  887. package/dist/esm-es5/app-globals-c45950ba.js +0 -4
  888. package/dist/esm-es5/caret-down-3eaad1cc.js +0 -4
  889. package/dist/esm-es5/caret-left-33424bb0.js +0 -4
  890. package/dist/esm-es5/caret-right-68d856ad.js +0 -4
  891. package/dist/esm-es5/data-fde041b0.js +0 -4
  892. package/dist/esm-es5/index-29be96b3.js +0 -4
  893. package/dist/esm-es5/index-2d8b49ae.js +0 -4
  894. package/dist/esm-es5/index-56cab0d6.js +0 -4
  895. package/dist/esm-es5/input-shims-59f93016.js +0 -4
  896. package/dist/esm-es5/input.utils-8755322f.js +0 -4
  897. package/dist/esm-es5/ionic-global-a8cbb8b0.js +0 -4
  898. package/dist/esm-es5/ios.transition-4706aa28.js +0 -4
  899. package/dist/esm-es5/list-6524700c.js +0 -4
  900. package/dist/esm-es5/md.transition-20ad6960.js +0 -4
  901. package/dist/esm-es5/overlays-40e86f77.js +0 -4
  902. package/dist/esm-es5/status-tap-0433b6a6.js +0 -4
  903. package/dist/esm-es5/x-a64bcd9f.js +0 -4
  904. package/dist/ionic/p-00093fc0.entry.js +0 -4
  905. package/dist/ionic/p-01d80901.system.js +0 -4
  906. package/dist/ionic/p-0328213e.system.entry.js +0 -4
  907. package/dist/ionic/p-06ec4706.js +0 -4
  908. package/dist/ionic/p-09b9918f.system.entry.js +0 -4
  909. package/dist/ionic/p-0cd67533.js +0 -4
  910. package/dist/ionic/p-0d86eb56.system.entry.js +0 -4
  911. package/dist/ionic/p-0fd7a8cb.system.entry.js +0 -4
  912. package/dist/ionic/p-10dacd80.entry.js +0 -4
  913. package/dist/ionic/p-1158a829.entry.js +0 -4
  914. package/dist/ionic/p-175821bc.entry.js +0 -4
  915. package/dist/ionic/p-1f6507e4.entry.js +0 -4
  916. package/dist/ionic/p-1f7b26cc.entry.js +0 -4
  917. package/dist/ionic/p-1fe2380b.system.entry.js +0 -4
  918. package/dist/ionic/p-2282c878.system.entry.js +0 -4
  919. package/dist/ionic/p-22b0483a.system.entry.js +0 -4
  920. package/dist/ionic/p-243adf8c.js +0 -4
  921. package/dist/ionic/p-28be0cf9.js +0 -4
  922. package/dist/ionic/p-2f0f1db6.system.entry.js +0 -4
  923. package/dist/ionic/p-2fd3e890.system.entry.js +0 -4
  924. package/dist/ionic/p-30c8168f.system.entry.js +0 -4
  925. package/dist/ionic/p-3281aaeb.entry.js +0 -4
  926. package/dist/ionic/p-35b66bbc.system.entry.js +0 -4
  927. package/dist/ionic/p-36db29d9.system.js +0 -4
  928. package/dist/ionic/p-3c1b93db.system.entry.js +0 -4
  929. package/dist/ionic/p-3dfa54e6.js +0 -4
  930. package/dist/ionic/p-3f8a3fb4.system.entry.js +0 -4
  931. package/dist/ionic/p-429dd2b5.system.js +0 -4
  932. package/dist/ionic/p-46f790b3.entry.js +0 -4
  933. package/dist/ionic/p-48cd1ced.entry.js +0 -4
  934. package/dist/ionic/p-4ca47744.entry.js +0 -4
  935. package/dist/ionic/p-4de02483.entry.js +0 -4
  936. package/dist/ionic/p-4e6c9480.system.entry.js +0 -4
  937. package/dist/ionic/p-4e7c68a5.entry.js +0 -4
  938. package/dist/ionic/p-52c8442b.system.entry.js +0 -4
  939. package/dist/ionic/p-5a583b1a.entry.js +0 -4
  940. package/dist/ionic/p-5b57d327.system.js +0 -4
  941. package/dist/ionic/p-5c766439.entry.js +0 -4
  942. package/dist/ionic/p-5c8fa89d.system.js +0 -4
  943. package/dist/ionic/p-5cc80c49.system.js +0 -4
  944. package/dist/ionic/p-600b69a0.entry.js +0 -4
  945. package/dist/ionic/p-607c9c33.js +0 -4
  946. package/dist/ionic/p-614c3822.system.js +0 -4
  947. package/dist/ionic/p-614d974e.system.entry.js +0 -4
  948. package/dist/ionic/p-62836b01.js +0 -4
  949. package/dist/ionic/p-63fe75bc.js +0 -4
  950. package/dist/ionic/p-664480c8.system.entry.js +0 -4
  951. package/dist/ionic/p-6a0dd6bc.js +0 -4
  952. package/dist/ionic/p-6b6ee9ca.system.entry.js +0 -4
  953. package/dist/ionic/p-6c555957.system.entry.js +0 -4
  954. package/dist/ionic/p-6f418011.system.entry.js +0 -4
  955. package/dist/ionic/p-713374f2.entry.js +0 -4
  956. package/dist/ionic/p-727aa804.system.entry.js +0 -4
  957. package/dist/ionic/p-737d64f9.entry.js +0 -4
  958. package/dist/ionic/p-77c3fe69.entry.js +0 -4
  959. package/dist/ionic/p-7b341352.js +0 -4
  960. package/dist/ionic/p-7c9d5354.entry.js +0 -4
  961. package/dist/ionic/p-7ccf7f29.entry.js +0 -4
  962. package/dist/ionic/p-80ff4e55.entry.js +0 -4
  963. package/dist/ionic/p-82028c01.system.entry.js +0 -4
  964. package/dist/ionic/p-82d80c8f.entry.js +0 -4
  965. package/dist/ionic/p-83f68992.entry.js +0 -4
  966. package/dist/ionic/p-854b1e11.system.entry.js +0 -4
  967. package/dist/ionic/p-87365857.system.entry.js +0 -4
  968. package/dist/ionic/p-87a81a63.system.entry.js +0 -4
  969. package/dist/ionic/p-8fa4ae3e.entry.js +0 -4
  970. package/dist/ionic/p-916f6c1d.entry.js +0 -4
  971. package/dist/ionic/p-927b5898.entry.js +0 -4
  972. package/dist/ionic/p-93cf45ec.system.entry.js +0 -4
  973. package/dist/ionic/p-9493acfe.entry.js +0 -4
  974. package/dist/ionic/p-9805b25a.system.entry.js +0 -4
  975. package/dist/ionic/p-9c8e5275.system.entry.js +0 -4
  976. package/dist/ionic/p-a1b80dd6.system.js +0 -4
  977. package/dist/ionic/p-a8a04757.system.entry.js +0 -4
  978. package/dist/ionic/p-a9af4103.js +0 -4
  979. package/dist/ionic/p-b016e5d7.system.entry.js +0 -4
  980. package/dist/ionic/p-b24c259e.entry.js +0 -4
  981. package/dist/ionic/p-b33b643b.entry.js +0 -4
  982. package/dist/ionic/p-ba45ad7d.entry.js +0 -4
  983. package/dist/ionic/p-bc8e48de.entry.js +0 -4
  984. package/dist/ionic/p-bcf5573f.entry.js +0 -4
  985. package/dist/ionic/p-bcfa9bb5.system.entry.js +0 -4
  986. package/dist/ionic/p-bd7fb7b4.js +0 -4
  987. package/dist/ionic/p-bdd4e026.entry.js +0 -4
  988. package/dist/ionic/p-bf673222.system.entry.js +0 -4
  989. package/dist/ionic/p-c248c88d.system.js +0 -4
  990. package/dist/ionic/p-c628bdcb.system.js +0 -4
  991. package/dist/ionic/p-c6f1b434.js +0 -4
  992. package/dist/ionic/p-c872ac0c.entry.js +0 -4
  993. package/dist/ionic/p-c9ecc338.entry.js +0 -4
  994. package/dist/ionic/p-ca3bf740.system.entry.js +0 -4
  995. package/dist/ionic/p-cb3dc48f.entry.js +0 -4
  996. package/dist/ionic/p-cd40baea.entry.js +0 -4
  997. package/dist/ionic/p-cde755fc.system.entry.js +0 -4
  998. package/dist/ionic/p-ce5c2902.system.js +0 -4
  999. package/dist/ionic/p-d05aabdf.system.entry.js +0 -4
  1000. package/dist/ionic/p-d3fd2c98.entry.js +0 -4
  1001. package/dist/ionic/p-d53e0b4b.entry.js +0 -4
  1002. package/dist/ionic/p-d6eda1bb.system.entry.js +0 -4
  1003. package/dist/ionic/p-d79ed7b3.system.js +0 -4
  1004. package/dist/ionic/p-d878447e.entry.js +0 -4
  1005. package/dist/ionic/p-d9c8bac9.system.entry.js +0 -4
  1006. package/dist/ionic/p-db63907a.system.entry.js +0 -4
  1007. package/dist/ionic/p-dbb02a23.system.entry.js +0 -4
  1008. package/dist/ionic/p-dd79c031.js +0 -4
  1009. package/dist/ionic/p-dde3a646.entry.js +0 -4
  1010. package/dist/ionic/p-dfd995cc.system.entry.js +0 -4
  1011. package/dist/ionic/p-e050dad9.system.js +0 -4
  1012. package/dist/ionic/p-e259208f.entry.js +0 -4
  1013. package/dist/ionic/p-e2bd011e.js +0 -4
  1014. package/dist/ionic/p-e34e037d.system.entry.js +0 -4
  1015. package/dist/ionic/p-e3b70846.system.js +0 -4
  1016. package/dist/ionic/p-e61c9280.entry.js +0 -4
  1017. package/dist/ionic/p-eafeb1ff.system.js +0 -4
  1018. package/dist/ionic/p-f3cfb48a.entry.js +0 -4
  1019. package/dist/ionic/p-f4ad1cf6.system.entry.js +0 -4
  1020. package/dist/ionic/p-f9782d44.system.entry.js +0 -4
  1021. package/dist/ionic/p-fadc15c0.entry.js +0 -4
  1022. /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
@@ -7,14 +7,13 @@ import { raf } from "../../utils/helpers";
7
7
  import { createLockController } from "../../utils/lock-controller";
8
8
  import { BACKDROP, createDelegateController, createTriggerController, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall, setOverlayId, } from "../../utils/overlays";
9
9
  import { getClassMap } from "../../utils/theme";
10
- import { getIonMode, getIonTheme } from "../../global/ionic-global";
10
+ import { getIonMode } from "../../global/ionic-global";
11
11
  import { iosEnterAnimation } from "./animations/ios.enter";
12
12
  import { iosLeaveAnimation } from "./animations/ios.leave";
13
13
  import { mdEnterAnimation } from "./animations/md.enter";
14
14
  import { mdLeaveAnimation } from "./animations/md.leave";
15
15
  /**
16
- * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
17
- * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
16
+ * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
18
17
  */
19
18
  export class ActionSheet {
20
19
  constructor() {
@@ -153,7 +152,6 @@ export class ActionSheet {
153
152
  }
154
153
  }
155
154
  componentDidLoad() {
156
- const mode = getIonMode(this);
157
155
  /**
158
156
  * Only create gesture if:
159
157
  * 1. A gesture does not already exist
@@ -162,7 +160,7 @@ export class ActionSheet {
162
160
  * 4. A group ref exists
163
161
  */
164
162
  const { groupEl, wrapperEl } = this;
165
- if (!this.gesture && mode === 'ios' && wrapperEl && groupEl) {
163
+ if (!this.gesture && getIonMode(this) === 'ios' && wrapperEl && groupEl) {
166
164
  readTask(() => {
167
165
  const isScrollable = groupEl.scrollHeight > groupEl.clientHeight;
168
166
  if (!isScrollable) {
@@ -191,32 +189,30 @@ export class ActionSheet {
191
189
  }
192
190
  render() {
193
191
  const { header, htmlAttributes, overlayIndex } = this;
194
- const theme = getIonTheme(this);
192
+ const mode = getIonMode(this);
195
193
  const allButtons = this.getButtons();
196
194
  const cancelButton = allButtons.find((b) => b.role === 'cancel');
197
195
  const buttons = allButtons.filter((b) => b.role !== 'cancel');
198
196
  const headerID = `action-sheet-${overlayIndex}-header`;
199
- return (h(Host, Object.assign({ key: '7fbcf04cb0243a39d87b08b29265880c92f0ad3f', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
197
+ return (h(Host, Object.assign({ key: '7bbd202ca9e19727e7514abbe073687d982f80c3', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
200
198
  zIndex: `${20000 + this.overlayIndex}`,
201
- }, class: Object.assign(Object.assign({ [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '897a78d622d666b27410354501317b0b3eb48093', tappable: this.backdropDismiss }), h("div", { key: 'ad5c42ebfa41a89cac1df8167afa76c8e9bd3947', tabindex: "0" }), h("div", { key: '18c881b0df474f53959f14a497e050d2a7ec2eb7', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: 'f2788afe2d371e80244c13ba6c259894a5ffe6ea', class: "action-sheet-container" }, h("div", { key: 'a48766378a6951da925707e59a662a2371544083', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (h("div", { key: 'a76b97ed07af33785ed48bfede75658081b4ad43', id: headerID, class: {
199
+ }, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '23344a9221a2e6720d7b9de5249dc37256cafa7b', tappable: this.backdropDismiss }), h("div", { key: 'd46361bb5cdc32a7922dcf76b566f358a6174bfa', tabindex: "0" }), h("div", { key: '136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '6168ea8b2be42020b2edeb8ff3a0f3d1254be37a', class: "action-sheet-container" }, h("div", { key: '29b9e6619dc54574733a704d6bf885839151bd84', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (h("div", { key: '536ce764bfddb3816ea3512d90f4acef2ccb8589', id: headerID, class: {
202
200
  'action-sheet-title': true,
203
201
  'action-sheet-has-sub-title': this.subHeader !== undefined,
204
- } }, header, this.subHeader && h("div", { key: '7e033981ae660204fd71a1f983e383d6601ad688', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), theme === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { key: '404f04670ad494b7a6578167d2e2935197550185', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: '49b4a535e6749b9dbac135d064831457c43b6e35' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '159fd069191f32b962bda834756a7f0d7e1b1ca0', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: 'c06fb27fa0b3daad25d621124f44f3ec6c4bf015', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), theme === 'md' && h("ion-ripple-effect", { key: 'f6d6179b58da0dfe3310fe957c0441fd20abb47a' })))))), h("div", { key: '3222a9753771914b523a98354ef6d2373bb19aa2', tabindex: "0" })));
202
+ } }, header, this.subHeader && h("div", { key: '6d888219145824fd36cdfe0d3c8388bbf2769777', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null))))), cancelButton && (h("div", { key: '46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: 'e3c457bced8ad5f692e48de26e65f731fd631b4f' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '4cba6dc559f734ecc852e024959210cd0dd25354', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: '9df64989aad1b4d1e75edf4d37ab208965cfe37f', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", { key: '558089275a29177cefdb2e38eefc9b5c8b62872b' })))))), h("div", { key: 'fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc', tabindex: "0" })));
205
203
  }
206
204
  static get is() { return "ion-action-sheet"; }
207
205
  static get encapsulation() { return "scoped"; }
208
206
  static get originalStyleUrls() {
209
207
  return {
210
208
  "ios": ["action-sheet.ios.scss"],
211
- "md": ["action-sheet.md.scss"],
212
- "ionic": ["action-sheet.md.scss"]
209
+ "md": ["action-sheet.md.scss"]
213
210
  };
214
211
  }
215
212
  static get styleUrls() {
216
213
  return {
217
214
  "ios": ["action-sheet.ios.css"],
218
- "md": ["action-sheet.md.css"],
219
- "ionic": ["action-sheet.md.css"]
215
+ "md": ["action-sheet.md.css"]
220
216
  };
221
217
  }
222
218
  static get properties() {
@@ -449,7 +445,7 @@ export class ActionSheet {
449
445
  "optional": false,
450
446
  "docs": {
451
447
  "tags": [],
452
- "text": "If `true`, the action sheet will be translucent.\nOnly applies when the theme is `\"ios\"` and the device supports\n[`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility)."
448
+ "text": "If `true`, the action sheet will be translucent.\nOnly applies when the mode is `\"ios\"` and the device supports\n[`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility)."
453
449
  },
454
450
  "attribute": "translucent",
455
451
  "reflect": false,
@@ -1,9 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
1
  /**
8
2
  * Convert a font size to a dynamic font size.
9
3
  * Fonts that participate in Dynamic Type should use
@@ -104,8 +98,8 @@
104
98
  --max-height: calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));
105
99
  -moz-osx-font-smoothing: grayscale;
106
100
  -webkit-font-smoothing: antialiased;
107
- right: 0;
108
101
  left: 0;
102
+ right: 0;
109
103
  top: 0;
110
104
  bottom: 0;
111
105
  display: block;
@@ -122,8 +116,8 @@
122
116
  }
123
117
 
124
118
  .action-sheet-wrapper {
125
- right: 0;
126
119
  left: 0;
120
+ right: 0;
127
121
  bottom: 0;
128
122
  transform: translate3d(0, 100%, 0);
129
123
  display: block;
@@ -210,8 +204,8 @@
210
204
  }
211
205
 
212
206
  .action-sheet-button::after {
213
- right: 0;
214
207
  left: 0;
208
+ right: 0;
215
209
  top: 0;
216
210
  bottom: 0;
217
211
  position: absolute;
@@ -252,12 +246,6 @@
252
246
  opacity: var(--button-background-hover-opacity);
253
247
  }
254
248
  }
255
- /**
256
- * Convert a pixels given value into rem
257
- *
258
- * @param pixels - Value in pixels to be converted (i.e. px)
259
- * @param context (optional) - Baseline value
260
- */
261
249
  /**
262
250
  * Convert a font size to a dynamic font size.
263
251
  * Fonts that participate in Dynamic Type should use
@@ -322,9 +310,9 @@
322
310
  --button-background-activated: transparent;
323
311
  --button-background-activated-opacity: 0;
324
312
  --button-background-hover: currentColor;
325
- --button-background-hover-opacity: 0.04;
313
+ --button-background-hover-opacity: .04;
326
314
  --button-background-focused: currentColor;
327
- --button-background-focused-opacity: 0.12;
315
+ --button-background-focused-opacity: .12;
328
316
  --button-color: var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));
329
317
  --button-color-disabled: var(--button-color);
330
318
  --color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);
@@ -1,9 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
1
  /**
8
2
  * Convert a font size to a dynamic font size.
9
3
  * Fonts that participate in Dynamic Type should use
@@ -80,8 +74,8 @@
80
74
  --max-height: 90%;
81
75
  -moz-osx-font-smoothing: grayscale;
82
76
  -webkit-font-smoothing: antialiased;
83
- right: 0;
84
77
  left: 0;
78
+ right: 0;
85
79
  top: 0;
86
80
  bottom: 0;
87
81
  display: flex;
@@ -294,12 +288,6 @@ textarea.alert-input {
294
288
  resize: none;
295
289
  }
296
290
 
297
- /**
298
- * Convert a pixels given value into rem
299
- *
300
- * @param pixels - Value in pixels to be converted (i.e. px)
301
- * @param context (optional) - Baseline value
302
- */
303
291
  /**
304
292
  * Convert a font size to a dynamic font size.
305
293
  * Fonts that participate in Dynamic Type should use
@@ -355,12 +343,6 @@ textarea.alert-input {
355
343
  * }
356
344
  * }
357
345
  */
358
- /**
359
- * Convert a pixels given value into rem
360
- *
361
- * @param pixels - Value in pixels to be converted (i.e. px)
362
- * @param context (optional) - Baseline value
363
- */
364
346
  /**
365
347
  * Convert a font size to a dynamic font size.
366
348
  * Fonts that participate in Dynamic Type should use
@@ -10,15 +10,14 @@ import { createDelegateController, createTriggerController, BACKDROP, dismiss, e
10
10
  import { sanitizeDOMString } from "../../utils/sanitization/index";
11
11
  import { getClassMap } from "../../utils/theme";
12
12
  import { config } from "../../global/config";
13
- import { getIonMode, getIonTheme } from "../../global/ionic-global";
13
+ import { getIonMode } from "../../global/ionic-global";
14
14
  import { iosEnterAnimation } from "./animations/ios.enter";
15
15
  import { iosLeaveAnimation } from "./animations/ios.leave";
16
16
  import { mdEnterAnimation } from "./animations/md.enter";
17
17
  import { mdLeaveAnimation } from "./animations/md.leave";
18
18
  // TODO(FW-2832): types
19
19
  /**
20
- * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
21
- * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
20
+ * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
22
21
  */
23
22
  export class Alert {
24
23
  constructor() {
@@ -213,7 +212,27 @@ export class Alert {
213
212
  async present() {
214
213
  const unlock = await this.lockController.lock();
215
214
  await this.delegateController.attachViewToDom();
216
- await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
215
+ const ariaDescribedBy = this.el.getAttribute('aria-describedby');
216
+ const ariaLabelledBy = this.el.getAttribute('aria-labelledby');
217
+ if (ariaDescribedBy) {
218
+ this.el.removeAttribute('aria-describedby');
219
+ }
220
+ if (ariaLabelledBy) {
221
+ this.el.removeAttribute('aria-labelledby');
222
+ }
223
+ await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation).then(() => {
224
+ const firstButton = this.el.querySelector('.alert-button-role-cancel') ||
225
+ this.el.querySelector('.alert-button');
226
+ if (firstButton) {
227
+ firstButton.focus();
228
+ }
229
+ if (ariaDescribedBy) {
230
+ this.el.setAttribute('aria-describedby', ariaDescribedBy);
231
+ }
232
+ if (ariaLabelledBy) {
233
+ this.el.setAttribute('aria-labelledby', ariaLabelledBy);
234
+ }
235
+ });
217
236
  unlock();
218
237
  }
219
238
  /**
@@ -327,11 +346,11 @@ export class Alert {
327
346
  }
328
347
  renderCheckbox() {
329
348
  const inputs = this.processedInputs;
330
- const theme = getIonTheme(this);
349
+ const mode = getIonMode(this);
331
350
  if (inputs.length === 0) {
332
351
  return null;
333
352
  }
334
- return (h("div", { class: "alert-checkbox-group" }, inputs.map((i) => (h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, h("div", { class: "alert-button-inner" }, h("div", { class: "alert-checkbox-icon" }, h("div", { class: "alert-checkbox-inner" })), h("div", { class: "alert-checkbox-label" }, i.label)), theme === 'md' && h("ion-ripple-effect", null))))));
353
+ return (h("div", { class: "alert-checkbox-group" }, inputs.map((i) => (h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, h("div", { class: "alert-button-inner" }, h("div", { class: "alert-checkbox-icon" }, h("div", { class: "alert-checkbox-inner" })), h("div", { class: "alert-checkbox-label" }, i.label)), mode === 'md' && h("ion-ripple-effect", null))))));
335
354
  }
336
355
  renderRadio() {
337
356
  const inputs = this.processedInputs;
@@ -369,12 +388,12 @@ export class Alert {
369
388
  }
370
389
  renderAlertButtons() {
371
390
  const buttons = this.processedButtons;
372
- const theme = getIonTheme(this);
391
+ const mode = getIonMode(this);
373
392
  const alertButtonGroupClass = {
374
393
  'alert-button-group': true,
375
394
  'alert-button-group-vertical': buttons.length > 2,
376
395
  };
377
- return (h("div", { class: alertButtonGroupClass }, buttons.map((button) => (h("button", Object.assign({}, button.htmlAttributes, { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }), h("span", { class: "alert-button-inner" }, button.text), theme === 'md' && h("ion-ripple-effect", null))))));
396
+ return (h("div", { class: alertButtonGroupClass }, buttons.map((button) => (h("button", Object.assign({}, button.htmlAttributes, { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }), h("span", { class: "alert-button-inner" }, button.text), mode === 'md' && h("ion-ripple-effect", null))))));
378
397
  }
379
398
  renderAlertMessage(msgId) {
380
399
  const { customHTMLEnabled, message } = this;
@@ -385,34 +404,34 @@ export class Alert {
385
404
  }
386
405
  render() {
387
406
  const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
388
- const theme = getIonTheme(this);
407
+ const mode = getIonMode(this);
389
408
  const hdrId = `alert-${overlayIndex}-hdr`;
390
409
  const subHdrId = `alert-${overlayIndex}-sub-hdr`;
391
410
  const msgId = `alert-${overlayIndex}-msg`;
392
411
  const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
393
412
  /**
394
- * If the header is defined, use that. Otherwise, fall back to the subHeader.
395
- * If neither is defined, don't set aria-labelledby.
413
+ * Use both the header and subHeader ids if they are defined.
414
+ * If only the header is defined, use the header id.
415
+ * If only the subHeader is defined, use the subHeader id.
416
+ * If neither are defined, do not set aria-labelledby.
396
417
  */
397
- const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;
398
- return (h(Host, Object.assign({ key: 'f94be430d013dbed789006bf51f7fa15c2ab9a52', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
418
+ const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
419
+ return (h(Host, Object.assign({ key: '791c3ba1f6abcda8fe153b4955f23606a0b3a9aa', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
399
420
  zIndex: `${20000 + overlayIndex}`,
400
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: 'f2e2ea4faa80e01396af170366706e8693fc62af', tappable: this.backdropDismiss }), h("div", { key: '43d3d320a194da2cf641e426a8f0da7305221010', tabindex: "0" }), h("div", { key: 'e61ba6f339c3a02cecd37d8b641ee5043018eb29', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '044e00667ffcb74aa2c5e0d0b42669c4004dbb4f', class: "alert-head" }, header && (h("h2", { key: '1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd', id: hdrId, class: "alert-title" }, header)), subHeader && (h("h2", { key: '1a3012e49cd91380957f710bac766c163e119f72', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'dd77d86dcebb2c78d3325d93c70d4b7fb452d702', tabindex: "0" })));
421
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '54b07de06a8afa1ada43aa4913ac0c2a426cb481', tappable: this.backdropDismiss }), h("div", { key: 'b1a2b429da950955986e8f8a8c1876494d1d4e41', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '8b2717b23acc271f0745b321d637cb2f57a82cd3', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '05cda2b08bfd8446f9b3173cf90cf54152c27615', class: "alert-head" }, header && (h("h2", { key: '7c186a1e3d14c482020262627f769bf2305e4d66', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '425ac023c9bf6d401137424f8d664a5404dee4b7', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: 'c9444dc007533a99e98b6524e45049d344ec4015', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'de8934de31a8c655fd78d069a39a4927544e93ce', tabindex: "0", "aria-hidden": "true" })));
401
422
  }
402
423
  static get is() { return "ion-alert"; }
403
424
  static get encapsulation() { return "scoped"; }
404
425
  static get originalStyleUrls() {
405
426
  return {
406
427
  "ios": ["alert.ios.scss"],
407
- "md": ["alert.md.scss"],
408
- "ionic": ["alert.md.scss"]
428
+ "md": ["alert.md.scss"]
409
429
  };
410
430
  }
411
431
  static get styleUrls() {
412
432
  return {
413
433
  "ios": ["alert.ios.css"],
414
- "md": ["alert.md.css"],
415
- "ionic": ["alert.md.css"]
434
+ "md": ["alert.md.css"]
416
435
  };
417
436
  }
418
437
  static get properties() {
@@ -690,7 +709,7 @@ export class Alert {
690
709
  "optional": false,
691
710
  "docs": {
692
711
  "tags": [],
693
- "text": "If `true`, the alert will be translucent.\nOnly applies when the theme is `\"ios\"` and the device supports\n[`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility)."
712
+ "text": "If `true`, the alert will be translucent.\nOnly applies when the mode is `\"ios\"` and the device supports\n[`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility)."
694
713
  },
695
714
  "attribute": "translucent",
696
715
  "reflect": false,
@@ -923,6 +942,10 @@ export class Alert {
923
942
  "Promise": {
924
943
  "location": "global",
925
944
  "id": "global::Promise"
945
+ },
946
+ "HTMLElement": {
947
+ "location": "global",
948
+ "id": "global::HTMLElement"
926
949
  }
927
950
  },
928
951
  "return": "Promise<void>"
@@ -1,9 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
1
  /**
8
2
  * Convert a font size to a dynamic font size.
9
3
  * Fonts that participate in Dynamic Type should use
@@ -80,8 +74,8 @@
80
74
  --max-height: 90%;
81
75
  -moz-osx-font-smoothing: grayscale;
82
76
  -webkit-font-smoothing: antialiased;
83
- right: 0;
84
77
  left: 0;
78
+ right: 0;
85
79
  top: 0;
86
80
  bottom: 0;
87
81
  display: flex;
@@ -294,12 +288,6 @@ textarea.alert-input {
294
288
  resize: none;
295
289
  }
296
290
 
297
- /**
298
- * Convert a pixels given value into rem
299
- *
300
- * @param pixels - Value in pixels to be converted (i.e. px)
301
- * @param context (optional) - Baseline value
302
- */
303
291
  /**
304
292
  * Convert a font size to a dynamic font size.
305
293
  * Fonts that participate in Dynamic Type should use
@@ -355,12 +343,6 @@ textarea.alert-input {
355
343
  * }
356
344
  * }
357
345
  */
358
- /**
359
- * Convert a pixels given value into rem
360
- *
361
- * @param pixels - Value in pixels to be converted (i.e. px)
362
- * @param context (optional) - Baseline value
363
- */
364
346
  /**
365
347
  * Convert a font size to a dynamic font size.
366
348
  * Fonts that participate in Dynamic Type should use
@@ -6,11 +6,7 @@ import { shouldUseCloseWatcher } from "../../utils/hardware-back-button";
6
6
  import { printIonWarning } from "../../utils/logging/index";
7
7
  import { isPlatform } from "../../utils/platform";
8
8
  import { config } from "../../global/config";
9
- import { getIonTheme } from "../../global/ionic-global";
10
- /**
11
- * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
12
- * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
13
- */
9
+ import { getIonMode } from "../../global/ionic-global";
14
10
  export class App {
15
11
  componentDidLoad() {
16
12
  if (Build.isBrowser) {
@@ -53,7 +49,6 @@ export class App {
53
49
  }
54
50
  }
55
51
  /**
56
- * @internal
57
52
  * Used to set focus on an element that uses `ion-focusable`.
58
53
  * Do not use this if focusing the element as a result of a keyboard
59
54
  * event as the focus utility should handle this for us. This method
@@ -68,9 +63,9 @@ export class App {
68
63
  }
69
64
  }
70
65
  render() {
71
- const theme = getIonTheme(this);
72
- return (h(Host, { key: 'd65c8ab0ff36058e8d66849617b530b1df43dbb7', class: {
73
- [theme]: true,
66
+ const mode = getIonMode(this);
67
+ return (h(Host, { key: '96715520fd05d6f0e6fa26a8ba78792cfccd4c0a', class: {
68
+ [mode]: true,
74
69
  'ion-page': true,
75
70
  'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
76
71
  } }));
@@ -109,11 +104,8 @@ export class App {
109
104
  "return": "Promise<void>"
110
105
  },
111
106
  "docs": {
112
- "text": "",
113
- "tags": [{
114
- "name": "internal",
115
- "text": "Used to set focus on an element that uses `ion-focusable`.\nDo not use this if focusing the element as a result of a keyboard\nevent as the focus utility should handle this for us. This method\nshould be used when we want to programmatically focus an element as\na result of another user action. (Ex: We focus the first element\ninside of a popover when the user presents it, but the popover is not always\npresented as a result of keyboard action.)"
116
- }]
107
+ "text": "Used to set focus on an element that uses `ion-focusable`.\nDo not use this if focusing the element as a result of a keyboard\nevent as the focus utility should handle this for us. This method\nshould be used when we want to programmatically focus an element as\na result of another user action. (Ex: We focus the first element\ninside of a popover when the user presents it, but the popover is not always\npresented as a result of keyboard action.)",
108
+ "tags": []
117
109
  }
118
110
  }
119
111
  };
@@ -1,9 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
1
  /**
8
2
  * Convert a font size to a dynamic font size.
9
3
  * Fonts that participate in Dynamic Type should use
@@ -76,12 +70,6 @@
76
70
  overflow: hidden;
77
71
  }
78
72
 
79
- /**
80
- * Convert a pixels given value into rem
81
- *
82
- * @param pixels - Value in pixels to be converted (i.e. px)
83
- * @param context (optional) - Baseline value
84
- */
85
73
  /**
86
74
  * Convert a font size to a dynamic font size.
87
75
  * Fonts that participate in Dynamic Type should use
@@ -2,111 +2,23 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Host, h } from "@stencil/core";
5
- import { getIonTheme } from "../../global/ionic-global";
6
- /**
7
- * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
8
- * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
9
- */
5
+ import { getIonMode } from "../../global/ionic-global";
10
6
  export class Avatar {
11
- constructor() {
12
- this.size = undefined;
13
- this.shape = undefined;
14
- }
15
- get hasImage() {
16
- return !!this.el.querySelector('ion-img') || !!this.el.querySelector('img');
17
- }
18
- get hasIcon() {
19
- return !!this.el.querySelector('ion-icon');
20
- }
21
- getSize() {
22
- const theme = getIonTheme(this);
23
- const { size } = this;
24
- // TODO(ROU-10752): Remove theme check when sizes are defined for all themes.
25
- if (theme !== 'ionic') {
26
- return undefined;
27
- }
28
- if (size === undefined) {
29
- return 'medium';
30
- }
31
- return size;
32
- }
33
- getShape() {
34
- const theme = getIonTheme(this);
35
- const { shape } = this;
36
- // TODO(ROU-10755): Remove theme check when shapes are defined for all themes.
37
- if (theme !== 'ionic') {
38
- return undefined;
39
- }
40
- if (shape === undefined) {
41
- return 'round';
42
- }
43
- return shape;
44
- }
45
7
  render() {
46
- const theme = getIonTheme(this);
47
- const size = this.getSize();
48
- const shape = this.getShape();
49
- return (h(Host, { key: '169f3e804c30f9eedc8c3cf064af9871bead2f5f', class: {
50
- [theme]: true,
51
- [`avatar-${size}`]: size !== undefined,
52
- [`avatar-${shape}`]: shape !== undefined,
53
- [`avatar-image`]: this.hasImage,
54
- [`avatar-icon`]: this.hasIcon,
55
- } }, h("slot", { key: '67bb5a3c1a6bd33af37141df05663f1685c84286' })));
8
+ return (h(Host, { key: '998217066084f966bf5d356fed85bcbd451f675a', class: getIonMode(this) }, h("slot", { key: '1a6f7c9d4dc6a875f86b5b3cda6d59cb39587f22' })));
56
9
  }
57
10
  static get is() { return "ion-avatar"; }
58
11
  static get encapsulation() { return "shadow"; }
59
12
  static get originalStyleUrls() {
60
13
  return {
61
14
  "ios": ["avatar.ios.scss"],
62
- "md": ["avatar.md.scss"],
63
- "ionic": ["avatar.ionic.scss"]
15
+ "md": ["avatar.md.scss"]
64
16
  };
65
17
  }
66
18
  static get styleUrls() {
67
19
  return {
68
20
  "ios": ["avatar.ios.css"],
69
- "md": ["avatar.md.css"],
70
- "ionic": ["avatar.ionic.css"]
71
- };
72
- }
73
- static get properties() {
74
- return {
75
- "size": {
76
- "type": "string",
77
- "mutable": false,
78
- "complexType": {
79
- "original": "'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'",
80
- "resolved": "\"large\" | \"medium\" | \"small\" | \"xlarge\" | \"xsmall\" | \"xxsmall\" | undefined",
81
- "references": {}
82
- },
83
- "required": false,
84
- "optional": true,
85
- "docs": {
86
- "tags": [],
87
- "text": "Set to `\"xxsmall\"` for the smallest size.\nSet to `\"xsmall\"` for a very small size.\nSet to `\"small\"` for a compact size.\nSet to `\"medium\"` for the default height and width.\nSet to `\"large\"` for a larger size.\nSet to `\"xlarge\"` for the largest dimensions.\n\nDefaults to `\"medium\"` for the `ionic` theme, undefined for all other themes."
88
- },
89
- "attribute": "size",
90
- "reflect": false
91
- },
92
- "shape": {
93
- "type": "string",
94
- "mutable": false,
95
- "complexType": {
96
- "original": "'soft' | 'round' | 'rectangular'",
97
- "resolved": "\"rectangular\" | \"round\" | \"soft\" | undefined",
98
- "references": {}
99
- },
100
- "required": false,
101
- "optional": true,
102
- "docs": {
103
- "tags": [],
104
- "text": "Set to `\"soft\"` for an avatar with slightly rounded corners,\n`\"round\"` for an avatar with fully rounded corners, or `\"rectangular\"`\nfor an avatar without rounded corners.\n\nDefaults to `\"round\"` for the `ionic` theme, undefined for all other themes."
105
- },
106
- "attribute": "shape",
107
- "reflect": false
108
- }
21
+ "md": ["avatar.md.css"]
109
22
  };
110
23
  }
111
- static get elementRef() { return "el"; }
112
24
  }
@@ -1,9 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
1
  /**
8
2
  * Convert a font size to a dynamic font size.
9
3
  * Fonts that participate in Dynamic Type should use
@@ -76,12 +70,6 @@
76
70
  overflow: hidden;
77
71
  }
78
72
 
79
- /**
80
- * Convert a pixels given value into rem
81
- *
82
- * @param pixels - Value in pixels to be converted (i.e. px)
83
- * @param context (optional) - Baseline value
84
- */
85
73
  /**
86
74
  * Convert a font size to a dynamic font size.
87
75
  * Fonts that participate in Dynamic Type should use