@ionic/core 8.3.2-dev.11728333520.118877e0 → 8.3.2-dev.11729014526.1ab61c12

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 (1025) hide show
  1. package/components/action-sheet.js +13 -8
  2. package/components/alert.js +18 -36
  3. package/components/backdrop.js +10 -6
  4. package/components/button.js +41 -11
  5. package/components/buttons.js +11 -7
  6. package/components/caret-down.js +6 -0
  7. package/components/caret-left.js +6 -0
  8. package/components/caret-right.js +6 -0
  9. package/components/checkbox.js +30 -13
  10. package/components/data.js +4 -4
  11. package/components/index2.js +1 -2
  12. package/components/index4.js +8 -7
  13. package/components/index6.js +27 -30
  14. package/components/index7.js +124 -27
  15. package/components/index8.js +150 -111
  16. package/components/input-shims.js +1 -1
  17. package/components/input.utils.js +1 -1
  18. package/components/ion-accordion-group.js +9 -6
  19. package/components/ion-accordion.js +31 -9
  20. package/components/ion-app.js +6 -6
  21. package/components/ion-avatar.js +52 -3
  22. package/components/ion-back-button.js +28 -19
  23. package/components/ion-badge.js +44 -8
  24. package/components/ion-breadcrumb.js +44 -11
  25. package/components/ion-breadcrumbs.js +9 -5
  26. package/components/ion-card-content.js +11 -7
  27. package/components/ion-card-header.js +9 -5
  28. package/components/ion-card-subtitle.js +9 -5
  29. package/components/ion-card-title.js +9 -5
  30. package/components/ion-card.js +17 -9
  31. package/components/ion-chip.js +45 -8
  32. package/components/ion-col.js +5 -5
  33. package/components/ion-content.js +11 -11
  34. package/components/ion-datetime-button.js +9 -6
  35. package/components/ion-datetime.js +95 -20
  36. package/components/ion-fab-button.js +32 -10
  37. package/components/ion-fab-list.js +5 -5
  38. package/components/ion-fab.js +6 -6
  39. package/components/ion-footer.js +15 -11
  40. package/components/ion-grid.js +5 -5
  41. package/components/ion-header.js +20 -13
  42. package/components/ion-img.js +5 -2
  43. package/components/ion-infinite-scroll-content.js +12 -8
  44. package/components/ion-infinite-scroll.js +5 -5
  45. package/components/ion-input-password-toggle.js +52 -14
  46. package/components/ion-input.js +117 -20
  47. package/components/ion-item-divider.js +9 -5
  48. package/components/ion-item-group.js +9 -5
  49. package/components/ion-item-option.js +28 -8
  50. package/components/ion-item-options.js +9 -5
  51. package/components/ion-item-sliding.js +5 -5
  52. package/components/ion-loading.js +12 -8
  53. package/components/ion-menu-button.js +27 -10
  54. package/components/ion-menu-toggle.js +5 -5
  55. package/components/ion-menu.js +11 -7
  56. package/components/ion-modal.js +29 -11
  57. package/components/ion-nav-link.js +1 -1
  58. package/components/ion-nav.js +7 -6
  59. package/components/ion-note.js +9 -5
  60. package/components/ion-picker-legacy.js +7 -8
  61. package/components/ion-progress-bar.js +10 -6
  62. package/components/ion-range.js +11 -8
  63. package/components/ion-refresher-content.js +27 -9
  64. package/components/ion-refresher.js +11 -7
  65. package/components/ion-reorder-group.js +5 -5
  66. package/components/ion-reorder.js +30 -5
  67. package/components/ion-router-link.js +6 -6
  68. package/components/ion-router-outlet.js +2 -2
  69. package/components/ion-row.js +5 -2
  70. package/components/ion-searchbar.js +92 -16
  71. package/components/ion-segment-button.js +12 -8
  72. package/components/ion-segment.js +15 -24
  73. package/components/ion-select-option.js +5 -2
  74. package/components/ion-select.js +76 -28
  75. package/components/ion-skeleton-text.js +5 -5
  76. package/components/ion-split-pane.js +12 -8
  77. package/components/ion-tab-bar.js +31 -8
  78. package/components/ion-tab-button.js +11 -7
  79. package/components/ion-tab.js +2 -2
  80. package/components/ion-tabs.js +2 -2
  81. package/components/ion-text.js +5 -5
  82. package/components/ion-textarea.js +38 -11
  83. package/components/ion-thumbnail.js +5 -2
  84. package/components/ion-title.js +11 -7
  85. package/components/ion-toast.js +15 -11
  86. package/components/ion-toggle.js +76 -18
  87. package/components/ion-toolbar.js +11 -7
  88. package/components/ionic-global.js +191 -14
  89. package/components/ios.transition.js +1 -0
  90. package/components/item.js +40 -11
  91. package/components/label.js +9 -5
  92. package/components/list-header.js +9 -5
  93. package/components/list.js +29 -6
  94. package/components/list2.js +6 -0
  95. package/components/overlays.js +1 -2
  96. package/components/picker-column-option.js +9 -5
  97. package/components/picker-column.js +7 -7
  98. package/components/picker-column2.js +4 -4
  99. package/components/picker.js +8 -4
  100. package/components/popover.js +11 -8
  101. package/components/radio-group.js +5 -3
  102. package/components/radio.js +12 -8
  103. package/components/ripple-effect.js +18 -8
  104. package/components/select-popover.js +9 -2
  105. package/components/spinner.js +35 -9
  106. package/components/status-tap.js +1 -1
  107. package/components/x.js +6 -0
  108. package/css/core.css +1 -1
  109. package/css/core.css.map +1 -1
  110. package/css/display.css.map +1 -1
  111. package/css/flex-utils.css.map +1 -1
  112. package/css/float-elements.css.map +1 -1
  113. package/css/global.bundle.css.map +1 -1
  114. package/css/ionic/bundle.ionic.css +1 -0
  115. package/css/ionic/bundle.ionic.css.map +1 -0
  116. package/css/ionic/core.ionic.css +1 -0
  117. package/css/ionic/core.ionic.css.map +1 -0
  118. package/css/ionic/global.bundle.ionic.css +1 -0
  119. package/css/ionic/global.bundle.ionic.css.map +1 -0
  120. package/css/ionic/ionic-swiper.ionic.css +1 -0
  121. package/css/ionic/ionic-swiper.ionic.css.map +1 -0
  122. package/css/ionic/link.ionic.css +1 -0
  123. package/css/ionic/link.ionic.css.map +1 -0
  124. package/css/ionic/structure.ionic.css +1 -0
  125. package/css/ionic/structure.ionic.css.map +1 -0
  126. package/css/ionic/typography.ionic.css +1 -0
  127. package/css/ionic/typography.ionic.css.map +1 -0
  128. package/css/ionic/utils.bundle.ionic.css +1 -0
  129. package/css/ionic/utils.bundle.ionic.css.map +1 -0
  130. package/css/ionic-swiper.css +1 -1
  131. package/css/ionic-swiper.css.map +1 -1
  132. package/css/ionic.bundle.css +1 -1
  133. package/css/ionic.bundle.css.map +1 -1
  134. package/css/normalize.css.map +1 -1
  135. package/css/padding.css.map +1 -1
  136. package/css/palettes/dark.always.css.map +1 -1
  137. package/css/palettes/dark.class.css.map +1 -1
  138. package/css/palettes/dark.system.css.map +1 -1
  139. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  140. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  141. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  142. package/css/palettes/high-contrast.always.css.map +1 -1
  143. package/css/palettes/high-contrast.class.css.map +1 -1
  144. package/css/palettes/high-contrast.system.css.map +1 -1
  145. package/css/structure.css.map +1 -1
  146. package/css/text-alignment.css.map +1 -1
  147. package/css/text-transformation.css.map +1 -1
  148. package/css/typography.css.map +1 -1
  149. package/css/utils.bundle.css.map +1 -1
  150. package/dist/cjs/{app-globals-21afee77.js → app-globals-38bbc401.js} +1 -1
  151. package/dist/cjs/caret-down-3c215cff.js +8 -0
  152. package/dist/cjs/caret-left-2bb66970.js +8 -0
  153. package/dist/cjs/caret-right-88e03970.js +8 -0
  154. package/dist/cjs/{data-21dc0f81.js → data-b3a1a686.js} +6 -6
  155. package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-d37054f2.js} +1 -1
  156. package/dist/cjs/{index-5b6a7459.js → index-2fa32189.js} +2 -2
  157. package/dist/cjs/{index-f05acd21.js → index-694a3808.js} +7 -8
  158. package/dist/cjs/{index-9cd00dc3.js → index-ed0f67a3.js} +13 -12
  159. package/dist/cjs/index.cjs.js +7 -8
  160. package/dist/cjs/{input-shims-9e59ef62.js → input-shims-ab680ecf.js} +3 -2
  161. package/dist/cjs/{input.utils-611cde0b.js → input.utils-44ff82f0.js} +2 -2
  162. package/dist/cjs/ion-accordion_2.cjs.entry.js +39 -14
  163. package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -11
  164. package/dist/cjs/ion-alert.cjs.entry.js +20 -39
  165. package/dist/cjs/ion-app_8.cjs.entry.js +94 -72
  166. package/dist/cjs/ion-avatar_3.cjs.entry.js +92 -9
  167. package/dist/cjs/ion-back-button.cjs.entry.js +27 -18
  168. package/dist/cjs/ion-backdrop.cjs.entry.js +10 -6
  169. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +51 -14
  170. package/dist/cjs/ion-button_2.cjs.entry.js +44 -14
  171. package/dist/cjs/ion-card_5.cjs.entry.js +50 -27
  172. package/dist/cjs/ion-checkbox.cjs.entry.js +27 -12
  173. package/dist/cjs/ion-chip.cjs.entry.js +42 -7
  174. package/dist/cjs/ion-col_3.cjs.entry.js +13 -10
  175. package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -11
  176. package/dist/cjs/ion-datetime_3.cjs.entry.js +183 -108
  177. package/dist/cjs/ion-fab_3.cjs.entry.js +40 -18
  178. package/dist/cjs/ion-img.cjs.entry.js +5 -2
  179. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +16 -13
  180. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +54 -16
  181. package/dist/cjs/ion-input.cjs.entry.js +115 -20
  182. package/dist/cjs/ion-item-option_3.cjs.entry.js +38 -16
  183. package/dist/cjs/ion-item_8.cjs.entry.js +110 -39
  184. package/dist/cjs/ion-loading.cjs.entry.js +14 -11
  185. package/dist/cjs/ion-menu_3.cjs.entry.js +43 -23
  186. package/dist/cjs/ion-modal.cjs.entry.js +36 -19
  187. package/dist/cjs/ion-nav_2.cjs.entry.js +9 -8
  188. package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -5
  189. package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
  190. package/dist/cjs/ion-picker.cjs.entry.js +8 -4
  191. package/dist/cjs/ion-popover.cjs.entry.js +17 -14
  192. package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -6
  193. package/dist/cjs/ion-radio_2.cjs.entry.js +16 -10
  194. package/dist/cjs/ion-range.cjs.entry.js +16 -13
  195. package/dist/cjs/ion-refresher_2.cjs.entry.js +35 -14
  196. package/dist/cjs/ion-reorder_2.cjs.entry.js +33 -9
  197. package/dist/cjs/ion-ripple-effect.cjs.entry.js +17 -7
  198. package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
  199. package/dist/cjs/ion-searchbar.cjs.entry.js +91 -15
  200. package/dist/cjs/ion-segment_2.cjs.entry.js +26 -31
  201. package/dist/cjs/ion-select_3.cjs.entry.js +89 -32
  202. package/dist/cjs/ion-spinner.cjs.entry.js +32 -7
  203. package/dist/cjs/ion-split-pane.cjs.entry.js +12 -8
  204. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +39 -14
  205. package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
  206. package/dist/cjs/ion-text.cjs.entry.js +5 -5
  207. package/dist/cjs/ion-textarea.cjs.entry.js +38 -13
  208. package/dist/cjs/ion-toast.cjs.entry.js +38 -34
  209. package/dist/cjs/ion-toggle.cjs.entry.js +75 -17
  210. package/dist/cjs/ionic-global-5df85d73.js +418 -0
  211. package/dist/cjs/ionic.cjs.js +3 -3
  212. package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-7574ba71.js} +3 -3
  213. package/dist/cjs/list-2930c629.js +8 -0
  214. package/dist/cjs/loader.cjs.js +3 -3
  215. package/dist/cjs/{md.transition-ededf99f.js → md.transition-d9d90911.js} +2 -3
  216. package/dist/cjs/{overlays-0123d7d4.js → overlays-faf6f843.js} +3 -4
  217. package/dist/cjs/{status-tap-37681226.js → status-tap-28780caa.js} +2 -2
  218. package/dist/cjs/x-81a8f51c.js +8 -0
  219. package/dist/collection/components/accordion/accordion.ios.css +12 -0
  220. package/dist/collection/components/accordion/accordion.js +35 -15
  221. package/dist/collection/components/accordion/accordion.md.css +6 -0
  222. package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
  223. package/dist/collection/components/accordion-group/accordion-group.js +11 -8
  224. package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
  225. package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
  226. package/dist/collection/components/action-sheet/action-sheet.js +14 -10
  227. package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
  228. package/dist/collection/components/alert/alert.ios.css +19 -1
  229. package/dist/collection/components/alert/alert.js +19 -42
  230. package/dist/collection/components/alert/alert.md.css +19 -1
  231. package/dist/collection/components/app/app.js +14 -6
  232. package/dist/collection/components/avatar/avatar.ionic.css +271 -0
  233. package/dist/collection/components/avatar/avatar.ios.css +12 -0
  234. package/dist/collection/components/avatar/avatar.js +92 -4
  235. package/dist/collection/components/avatar/avatar.md.css +12 -0
  236. package/dist/collection/components/back-button/back-button.ios.css +60 -48
  237. package/dist/collection/components/back-button/back-button.js +27 -19
  238. package/dist/collection/components/back-button/back-button.md.css +60 -48
  239. package/dist/collection/components/backdrop/backdrop.ionic.css +153 -0
  240. package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
  241. package/dist/collection/components/backdrop/backdrop.js +12 -6
  242. package/dist/collection/components/backdrop/backdrop.md.css +13 -1
  243. package/dist/collection/components/badge/badge.ionic.css +251 -0
  244. package/dist/collection/components/badge/badge.ios.css +106 -3
  245. package/dist/collection/components/badge/badge.js +75 -8
  246. package/dist/collection/components/badge/badge.md.css +106 -3
  247. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
  248. package/dist/collection/components/breadcrumb/breadcrumb.js +43 -11
  249. package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
  250. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
  251. package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
  252. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
  253. package/dist/collection/components/button/button.ionic.css +591 -0
  254. package/dist/collection/components/button/button.ios.css +129 -36
  255. package/dist/collection/components/button/button.js +46 -16
  256. package/dist/collection/components/button/button.md.css +120 -40
  257. package/dist/collection/components/buttons/buttons.ionic.css +101 -0
  258. package/dist/collection/components/buttons/buttons.ios.css +59 -7
  259. package/dist/collection/components/buttons/buttons.js +14 -8
  260. package/dist/collection/components/buttons/buttons.md.css +55 -3
  261. package/dist/collection/components/card/card.ionic.css +139 -0
  262. package/dist/collection/components/card/card.ios.css +65 -14
  263. package/dist/collection/components/card/card.js +34 -10
  264. package/dist/collection/components/card/card.md.css +65 -14
  265. package/dist/collection/components/card-content/card-content.ionic.css +92 -0
  266. package/dist/collection/components/card-content/card-content.ios.css +16 -1
  267. package/dist/collection/components/card-content/card-content.js +11 -8
  268. package/dist/collection/components/card-content/card-content.md.css +16 -1
  269. package/dist/collection/components/card-header/card-header.ionic.css +89 -0
  270. package/dist/collection/components/card-header/card-header.ios.css +27 -15
  271. package/dist/collection/components/card-header/card-header.js +12 -9
  272. package/dist/collection/components/card-header/card-header.md.css +27 -15
  273. package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +148 -0
  274. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
  275. package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
  276. package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
  277. package/dist/collection/components/card-title/card-title.ios.css +73 -0
  278. package/dist/collection/components/card-title/card-title.js +11 -8
  279. package/dist/collection/components/card-title/card-title.md.css +73 -0
  280. package/dist/collection/components/checkbox/checkbox.ionic.css +409 -0
  281. package/dist/collection/components/checkbox/checkbox.ios.css +20 -2
  282. package/dist/collection/components/checkbox/checkbox.js +63 -14
  283. package/dist/collection/components/checkbox/checkbox.md.css +21 -3
  284. package/dist/collection/components/chip/chip.ionic.css +162 -0
  285. package/dist/collection/components/chip/chip.ios.css +20 -1
  286. package/dist/collection/components/chip/chip.js +77 -8
  287. package/dist/collection/components/chip/chip.md.css +20 -1
  288. package/dist/collection/components/col/col.css +12 -0
  289. package/dist/collection/components/col/col.js +9 -5
  290. package/dist/collection/components/content/content.css +8 -2
  291. package/dist/collection/components/content/content.js +13 -10
  292. package/dist/collection/components/datetime/datetime.ionic.css +670 -0
  293. package/dist/collection/components/datetime/datetime.ios.css +232 -73
  294. package/dist/collection/components/datetime/datetime.js +95 -19
  295. package/dist/collection/components/datetime/datetime.md.css +232 -73
  296. package/dist/collection/components/datetime/utils/data.js +3 -3
  297. package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
  298. package/dist/collection/components/datetime-button/datetime-button.js +11 -8
  299. package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
  300. package/dist/collection/components/fab/fab.css +25 -1
  301. package/dist/collection/components/fab/fab.js +9 -5
  302. package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
  303. package/dist/collection/components/fab-button/fab-button.js +36 -15
  304. package/dist/collection/components/fab-button/fab-button.md.css +20 -8
  305. package/dist/collection/components/fab-list/fab-list.css +12 -0
  306. package/dist/collection/components/fab-list/fab-list.js +9 -5
  307. package/dist/collection/components/footer/footer.ios.css +14 -2
  308. package/dist/collection/components/footer/footer.js +17 -14
  309. package/dist/collection/components/footer/footer.md.css +12 -0
  310. package/dist/collection/components/grid/grid.css +12 -0
  311. package/dist/collection/components/grid/grid.js +9 -5
  312. package/dist/collection/components/header/header.ionic.css +88 -0
  313. package/dist/collection/components/header/header.ios.css +25 -10
  314. package/dist/collection/components/header/header.js +38 -15
  315. package/dist/collection/components/header/header.md.css +23 -8
  316. package/dist/collection/components/img/img.js +8 -2
  317. package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
  318. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
  319. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
  320. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
  321. package/dist/collection/components/input/input.ionic.css +1099 -0
  322. package/dist/collection/components/input/input.ios.css +21 -2
  323. package/dist/collection/components/input/input.js +143 -29
  324. package/dist/collection/components/input/input.md.css +43 -4
  325. package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +61 -0
  326. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +143 -0
  327. package/dist/collection/components/input-password-toggle/input-password-toggle.js +48 -12
  328. package/dist/collection/components/item/item.ionic.css +502 -0
  329. package/dist/collection/components/item/item.ios.css +108 -69
  330. package/dist/collection/components/item/item.js +44 -16
  331. package/dist/collection/components/item/item.md.css +119 -68
  332. package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
  333. package/dist/collection/components/item-divider/item-divider.js +11 -8
  334. package/dist/collection/components/item-divider/item-divider.md.css +18 -0
  335. package/dist/collection/components/item-group/item-group.ios.css +12 -0
  336. package/dist/collection/components/item-group/item-group.js +13 -7
  337. package/dist/collection/components/item-group/item-group.md.css +12 -0
  338. package/dist/collection/components/item-option/item-option.ionic.css +334 -0
  339. package/dist/collection/components/item-option/item-option.ios.css +14 -2
  340. package/dist/collection/components/item-option/item-option.js +43 -8
  341. package/dist/collection/components/item-option/item-option.md.css +14 -2
  342. package/dist/collection/components/item-options/item-options.ionic.css +260 -0
  343. package/dist/collection/components/item-options/item-options.ios.css +18 -0
  344. package/dist/collection/components/item-options/item-options.js +13 -7
  345. package/dist/collection/components/item-options/item-options.md.css +18 -0
  346. package/dist/collection/components/item-sliding/item-sliding.css +6 -0
  347. package/dist/collection/components/item-sliding/item-sliding.js +8 -4
  348. package/dist/collection/components/label/label.ios.css +18 -0
  349. package/dist/collection/components/label/label.js +11 -8
  350. package/dist/collection/components/label/label.md.css +18 -0
  351. package/dist/collection/components/list/list.ionic.css +196 -0
  352. package/dist/collection/components/list/list.ios.css +18 -0
  353. package/dist/collection/components/list/list.js +47 -9
  354. package/dist/collection/components/list/list.md.css +20 -2
  355. package/dist/collection/components/list-header/list-header.ionic.css +238 -0
  356. package/dist/collection/components/list-header/list-header.ios.css +18 -0
  357. package/dist/collection/components/list-header/list-header.js +11 -8
  358. package/dist/collection/components/list-header/list-header.md.css +18 -0
  359. package/dist/collection/components/loading/loading.ios.css +13 -1
  360. package/dist/collection/components/loading/loading.js +13 -10
  361. package/dist/collection/components/loading/loading.md.css +13 -1
  362. package/dist/collection/components/menu/menu.ios.css +15 -3
  363. package/dist/collection/components/menu/menu.js +12 -7
  364. package/dist/collection/components/menu/menu.md.css +15 -3
  365. package/dist/collection/components/menu-button/menu-button.ionic.css +240 -0
  366. package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
  367. package/dist/collection/components/menu-button/menu-button.js +26 -10
  368. package/dist/collection/components/menu-button/menu-button.md.css +49 -15
  369. package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
  370. package/dist/collection/components/modal/modal.ionic.css +241 -0
  371. package/dist/collection/components/modal/modal.ios.css +106 -63
  372. package/dist/collection/components/modal/modal.js +44 -10
  373. package/dist/collection/components/modal/modal.md.css +106 -63
  374. package/dist/collection/components/nav/nav.css +7 -1
  375. package/dist/collection/components/nav/nav.js +11 -5
  376. package/dist/collection/components/nav-link/nav-link.js +5 -1
  377. package/dist/collection/components/note/note.ios.css +12 -0
  378. package/dist/collection/components/note/note.js +11 -8
  379. package/dist/collection/components/note/note.md.css +12 -0
  380. package/dist/collection/components/picker/picker.ios.css +15 -3
  381. package/dist/collection/components/picker/picker.js +8 -5
  382. package/dist/collection/components/picker/picker.md.css +15 -3
  383. package/dist/collection/components/picker-column/picker-column.css +9 -2
  384. package/dist/collection/components/picker-column/picker-column.js +8 -7
  385. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
  386. package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
  387. package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
  388. package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
  389. package/dist/collection/components/picker-legacy/picker.js +7 -6
  390. package/dist/collection/components/picker-legacy/picker.md.css +13 -1
  391. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
  392. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
  393. package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
  394. package/dist/collection/components/popover/popover.ios.css +13 -1
  395. package/dist/collection/components/popover/popover.js +15 -12
  396. package/dist/collection/components/popover/popover.md.css +13 -1
  397. package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
  398. package/dist/collection/components/progress-bar/progress-bar.js +10 -7
  399. package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
  400. package/dist/collection/components/radio/radio.ionic.css +420 -0
  401. package/dist/collection/components/radio/radio.ios.css +134 -91
  402. package/dist/collection/components/radio/radio.js +12 -9
  403. package/dist/collection/components/radio/radio.md.css +134 -91
  404. package/dist/collection/components/radio-group/radio-group.js +9 -3
  405. package/dist/collection/components/range/range.ios.css +12 -0
  406. package/dist/collection/components/range/range.js +12 -9
  407. package/dist/collection/components/range/range.md.css +12 -0
  408. package/dist/collection/components/refresher/refresher.ios.css +14 -1
  409. package/dist/collection/components/refresher/refresher.js +11 -8
  410. package/dist/collection/components/refresher/refresher.md.css +15 -2
  411. package/dist/collection/components/refresher-content/refresher-content.js +28 -7
  412. package/dist/collection/components/reorder/reorder.ios.css +6 -0
  413. package/dist/collection/components/reorder/reorder.js +33 -6
  414. package/dist/collection/components/reorder/reorder.md.css +6 -0
  415. package/dist/collection/components/reorder-group/reorder-group.css +6 -0
  416. package/dist/collection/components/reorder-group/reorder-group.js +8 -4
  417. package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +7 -1
  418. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +154 -0
  419. package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
  420. package/dist/collection/components/route/route.js +4 -0
  421. package/dist/collection/components/router/router.js +4 -0
  422. package/dist/collection/components/router-link/router-link.css +8 -2
  423. package/dist/collection/components/router-link/router-link.js +9 -5
  424. package/dist/collection/components/router-outlet/router-outlet.css +7 -1
  425. package/dist/collection/components/router-outlet/router-outlet.js +5 -2
  426. package/dist/collection/components/row/row.css +12 -0
  427. package/dist/collection/components/row/row.js +9 -2
  428. package/dist/collection/components/searchbar/searchbar.ionic.css +347 -0
  429. package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
  430. package/dist/collection/components/searchbar/searchbar.js +96 -24
  431. package/dist/collection/components/searchbar/searchbar.md.css +56 -18
  432. package/dist/collection/components/segment/segment.ionic.css +119 -0
  433. package/dist/collection/components/segment/segment.ios.css +45 -2
  434. package/dist/collection/components/segment/segment.js +15 -25
  435. package/dist/collection/components/segment/segment.md.css +45 -2
  436. package/dist/collection/components/segment-button/segment-button.ionic.css +352 -0
  437. package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
  438. package/dist/collection/components/segment-button/segment-button.js +12 -9
  439. package/dist/collection/components/segment-button/segment-button.md.css +148 -107
  440. package/dist/collection/components/select/select.ios.css +22 -3
  441. package/dist/collection/components/select/select.js +79 -31
  442. package/dist/collection/components/select/select.md.css +38 -5
  443. package/dist/collection/components/select-option/select-option.js +9 -2
  444. package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
  445. package/dist/collection/components/select-popover/select-popover.js +12 -4
  446. package/dist/collection/components/select-popover/select-popover.md.css +18 -0
  447. package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
  448. package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
  449. package/dist/collection/components/spinner/spinner.common.css +199 -0
  450. package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +65 -0
  451. package/dist/collection/components/spinner/spinner.js +46 -6
  452. package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
  453. package/dist/collection/components/split-pane/split-pane.js +14 -8
  454. package/dist/collection/components/split-pane/split-pane.md.css +20 -2
  455. package/dist/collection/components/tab/tab.js +6 -2
  456. package/dist/collection/components/tab-bar/tab-bar.ionic.css +254 -0
  457. package/dist/collection/components/tab-bar/tab-bar.ios.css +71 -43
  458. package/dist/collection/components/tab-bar/tab-bar.js +65 -10
  459. package/dist/collection/components/tab-bar/tab-bar.md.css +71 -43
  460. package/dist/collection/components/tab-button/tab-button.ionic.css +273 -0
  461. package/dist/collection/components/tab-button/tab-button.ios.css +103 -88
  462. package/dist/collection/components/tab-button/tab-button.js +11 -8
  463. package/dist/collection/components/tab-button/tab-button.md.css +103 -88
  464. package/dist/collection/components/tabs/tabs.css +7 -1
  465. package/dist/collection/components/tabs/tabs.js +4 -1
  466. package/dist/collection/components/text/text.css +6 -0
  467. package/dist/collection/components/text/text.js +7 -6
  468. package/dist/collection/components/textarea/textarea.ionic.css +806 -0
  469. package/dist/collection/components/textarea/textarea.ios.css +201 -96
  470. package/dist/collection/components/textarea/textarea.js +59 -16
  471. package/dist/collection/components/textarea/textarea.md.css +214 -97
  472. package/dist/collection/components/thumbnail/thumbnail.css +6 -0
  473. package/dist/collection/components/thumbnail/thumbnail.js +9 -2
  474. package/dist/collection/components/title/title.ionic.css +147 -0
  475. package/dist/collection/components/title/title.ios.css +32 -4
  476. package/dist/collection/components/title/title.js +13 -7
  477. package/dist/collection/components/title/title.md.css +32 -4
  478. package/dist/collection/components/toast/animations/utils.js +1 -1
  479. package/dist/collection/components/toast/toast.ionic.css +348 -0
  480. package/dist/collection/components/toast/toast.ios.css +74 -35
  481. package/dist/collection/components/toast/toast.js +15 -11
  482. package/dist/collection/components/toast/toast.md.css +74 -35
  483. package/dist/collection/components/toggle/toggle.ionic.css +421 -0
  484. package/dist/collection/components/toggle/toggle.ios.css +166 -120
  485. package/dist/collection/components/toggle/toggle.js +73 -18
  486. package/dist/collection/components/toggle/toggle.md.css +163 -120
  487. package/dist/collection/components/toolbar/toolbar.ionic.css +235 -0
  488. package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
  489. package/dist/collection/components/toolbar/toolbar.js +13 -10
  490. package/dist/collection/components/toolbar/toolbar.md.css +90 -47
  491. package/dist/collection/global/ionic-global.js +161 -13
  492. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  493. package/dist/collection/utils/menu-controller/animations/push.js +2 -1
  494. package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
  495. package/dist/collection/utils/test/playwright/generator.js +48 -23
  496. package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
  497. package/dist/collection/utils/test/playwright/page/utils/set-content.js +14 -1
  498. package/dist/collection/utils/transition/ios.transition.js +1 -0
  499. package/dist/docs.json +6852 -252
  500. package/dist/esm/{app-globals-5dbb61a5.js → app-globals-c45950ba.js} +1 -1
  501. package/dist/esm/{button-active-f6503382.js → button-active-873732e5.js} +1 -1
  502. package/dist/esm/caret-down-3eaad1cc.js +6 -0
  503. package/dist/esm/caret-left-33424bb0.js +6 -0
  504. package/dist/esm/caret-right-68d856ad.js +6 -0
  505. package/dist/esm/{data-ae11fd43.js → data-fde041b0.js} +4 -4
  506. package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-2bb5194f.js} +2 -2
  507. package/dist/esm/{index-3ad7f18b.js → index-29be96b3.js} +4 -5
  508. package/dist/esm/{index-fe1782b1.js → index-2d8b49ae.js} +9 -8
  509. package/dist/esm/{index-5cc724f3.js → index-56cab0d6.js} +1 -1
  510. package/dist/esm/{index-28849c61.js → index-723c0e5d.js} +1 -1
  511. package/dist/esm/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
  512. package/dist/esm/index.js +8 -9
  513. package/dist/esm/{input-shims-0314bbe5.js → input-shims-59f93016.js} +3 -2
  514. package/dist/esm/{input.utils-09c71bc7.js → input.utils-8755322f.js} +1 -1
  515. package/dist/esm/ion-accordion_2.entry.js +40 -15
  516. package/dist/esm/ion-action-sheet.entry.js +17 -13
  517. package/dist/esm/ion-alert.entry.js +22 -41
  518. package/dist/esm/ion-app_8.entry.js +84 -62
  519. package/dist/esm/ion-avatar_3.entry.js +93 -10
  520. package/dist/esm/ion-back-button.entry.js +29 -20
  521. package/dist/esm/ion-backdrop.entry.js +11 -7
  522. package/dist/esm/ion-breadcrumb_2.entry.js +53 -16
  523. package/dist/esm/ion-button_2.entry.js +42 -12
  524. package/dist/esm/ion-card_5.entry.js +51 -28
  525. package/dist/esm/ion-checkbox.entry.js +28 -13
  526. package/dist/esm/ion-chip.entry.js +43 -8
  527. package/dist/esm/ion-col_3.entry.js +14 -11
  528. package/dist/esm/ion-datetime-button.entry.js +11 -8
  529. package/dist/esm/ion-datetime_3.entry.js +108 -33
  530. package/dist/esm/ion-fab_3.entry.js +42 -20
  531. package/dist/esm/ion-img.entry.js +6 -3
  532. package/dist/esm/ion-infinite-scroll_2.entry.js +17 -14
  533. package/dist/esm/ion-input-password-toggle.entry.js +53 -15
  534. package/dist/esm/ion-input.entry.js +117 -22
  535. package/dist/esm/ion-item-option_3.entry.js +39 -17
  536. package/dist/esm/ion-item_8.entry.js +112 -41
  537. package/dist/esm/ion-loading.entry.js +15 -12
  538. package/dist/esm/ion-menu_3.entry.js +45 -25
  539. package/dist/esm/ion-modal.entry.js +32 -15
  540. package/dist/esm/ion-nav_2.entry.js +10 -9
  541. package/dist/esm/ion-picker-column-option.entry.js +10 -6
  542. package/dist/esm/ion-picker-column.entry.js +8 -8
  543. package/dist/esm/ion-picker.entry.js +9 -5
  544. package/dist/esm/ion-popover.entry.js +15 -12
  545. package/dist/esm/ion-progress-bar.entry.js +11 -7
  546. package/dist/esm/ion-radio_2.entry.js +17 -11
  547. package/dist/esm/ion-range.entry.js +12 -9
  548. package/dist/esm/ion-refresher_2.entry.js +37 -16
  549. package/dist/esm/ion-reorder_2.entry.js +35 -11
  550. package/dist/esm/ion-ripple-effect.entry.js +18 -8
  551. package/dist/esm/ion-route_4.entry.js +7 -7
  552. package/dist/esm/ion-searchbar.entry.js +93 -17
  553. package/dist/esm/ion-segment_2.entry.js +27 -32
  554. package/dist/esm/ion-select_3.entry.js +91 -34
  555. package/dist/esm/ion-spinner.entry.js +33 -8
  556. package/dist/esm/ion-split-pane.entry.js +13 -9
  557. package/dist/esm/ion-tab-bar_2.entry.js +40 -15
  558. package/dist/esm/ion-tab_2.entry.js +5 -5
  559. package/dist/esm/ion-text.entry.js +6 -6
  560. package/dist/esm/ion-textarea.entry.js +39 -14
  561. package/dist/esm/ion-toast.entry.js +18 -14
  562. package/dist/esm/ion-toggle.entry.js +77 -19
  563. package/dist/esm/ionic-global-a8cbb8b0.js +408 -0
  564. package/dist/esm/ionic.js +5 -5
  565. package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-4706aa28.js} +4 -4
  566. package/dist/esm/list-6524700c.js +6 -0
  567. package/dist/esm/loader.js +5 -5
  568. package/dist/esm/{md.transition-5106a0d2.js → md.transition-20ad6960.js} +3 -4
  569. package/dist/esm/{overlays-9c75ec54.js → overlays-40e86f77.js} +2 -3
  570. package/dist/esm/{status-tap-f472b09f.js → status-tap-0433b6a6.js} +3 -3
  571. package/dist/esm/x-a64bcd9f.js +6 -0
  572. package/dist/esm-es5/app-globals-c45950ba.js +4 -0
  573. package/dist/esm-es5/{button-active-f6503382.js → button-active-873732e5.js} +1 -1
  574. package/dist/esm-es5/caret-down-3eaad1cc.js +4 -0
  575. package/dist/esm-es5/caret-left-33424bb0.js +4 -0
  576. package/dist/esm-es5/caret-right-68d856ad.js +4 -0
  577. package/dist/esm-es5/data-fde041b0.js +4 -0
  578. package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-2bb5194f.js} +1 -1
  579. package/dist/esm-es5/index-29be96b3.js +4 -0
  580. package/dist/esm-es5/index-2d8b49ae.js +4 -0
  581. package/dist/esm-es5/index-56cab0d6.js +4 -0
  582. package/dist/esm-es5/{index-28849c61.js → index-723c0e5d.js} +1 -1
  583. package/dist/esm-es5/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
  584. package/dist/esm-es5/index.js +1 -1
  585. package/dist/esm-es5/input-shims-59f93016.js +4 -0
  586. package/dist/esm-es5/input.utils-8755322f.js +4 -0
  587. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  588. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  589. package/dist/esm-es5/ion-alert.entry.js +1 -1
  590. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  591. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  592. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  593. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  594. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  595. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  596. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  597. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  598. package/dist/esm-es5/ion-chip.entry.js +1 -1
  599. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  600. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  601. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  602. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  603. package/dist/esm-es5/ion-img.entry.js +1 -1
  604. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  605. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  606. package/dist/esm-es5/ion-input.entry.js +1 -1
  607. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  608. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  609. package/dist/esm-es5/ion-loading.entry.js +1 -1
  610. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  611. package/dist/esm-es5/ion-modal.entry.js +1 -1
  612. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  613. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  614. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  615. package/dist/esm-es5/ion-picker.entry.js +1 -1
  616. package/dist/esm-es5/ion-popover.entry.js +1 -1
  617. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  618. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  619. package/dist/esm-es5/ion-range.entry.js +1 -1
  620. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  621. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  622. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  623. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  624. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  625. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  626. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  627. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  628. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  629. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  630. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  631. package/dist/esm-es5/ion-text.entry.js +1 -1
  632. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  633. package/dist/esm-es5/ion-toast.entry.js +1 -1
  634. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  635. package/dist/esm-es5/ionic-global-a8cbb8b0.js +4 -0
  636. package/dist/esm-es5/ionic.js +1 -1
  637. package/dist/esm-es5/ios.transition-4706aa28.js +4 -0
  638. package/dist/esm-es5/list-6524700c.js +4 -0
  639. package/dist/esm-es5/loader.js +1 -1
  640. package/dist/esm-es5/md.transition-20ad6960.js +4 -0
  641. package/dist/esm-es5/overlays-40e86f77.js +4 -0
  642. package/dist/esm-es5/status-tap-0433b6a6.js +4 -0
  643. package/dist/esm-es5/x-a64bcd9f.js +4 -0
  644. package/dist/html.html-data.json +2186 -114
  645. package/dist/ionic/index.esm.js +1 -1
  646. package/dist/ionic/ionic.esm.js +1 -1
  647. package/dist/ionic/ionic.js +1 -1
  648. package/dist/ionic/p-00093fc0.entry.js +4 -0
  649. package/dist/ionic/p-01d80901.system.js +4 -0
  650. package/dist/ionic/p-0328213e.system.entry.js +4 -0
  651. package/dist/ionic/p-06ec4706.js +4 -0
  652. package/dist/ionic/{p-d60342e3.js → p-0b120b1d.js} +1 -1
  653. package/dist/ionic/{p-ecceeb90.js → p-0bfbe380.js} +1 -1
  654. package/dist/ionic/p-0c9a7872.system.entry.js +4 -0
  655. package/dist/ionic/p-0cd67533.js +4 -0
  656. package/dist/ionic/p-0d86eb56.system.entry.js +4 -0
  657. package/dist/ionic/p-0d945ebd.entry.js +4 -0
  658. package/dist/ionic/{p-25180df3.system.js → p-0fa218e9.system.js} +1 -1
  659. package/dist/ionic/p-0fd7a8cb.system.entry.js +4 -0
  660. package/dist/ionic/p-10dacd80.entry.js +4 -0
  661. package/dist/ionic/{p-1e955a45.system.js → p-115d74cd.system.js} +1 -1
  662. package/dist/ionic/p-12299223.system.entry.js +4 -0
  663. package/dist/ionic/p-175821bc.entry.js +4 -0
  664. package/dist/ionic/p-19c89aeb.system.entry.js +4 -0
  665. package/dist/ionic/p-1f6507e4.entry.js +4 -0
  666. package/dist/ionic/p-1f7b26cc.entry.js +4 -0
  667. package/dist/ionic/{p-f687573e.system.js → p-1fd1d157.system.js} +1 -1
  668. package/dist/ionic/p-2282c878.system.entry.js +4 -0
  669. package/dist/ionic/p-243adf8c.js +4 -0
  670. package/dist/ionic/p-26313905.system.entry.js +4 -0
  671. package/dist/ionic/p-27bb59a9.system.entry.js +4 -0
  672. package/dist/ionic/p-28be0cf9.js +4 -0
  673. package/dist/ionic/p-2a844e7c.entry.js +4 -0
  674. package/dist/ionic/{p-58d5df0c.system.entry.js → p-2b98e44b.system.entry.js} +1 -1
  675. package/dist/ionic/p-2fd3e890.system.entry.js +4 -0
  676. package/dist/ionic/p-30c8168f.system.entry.js +4 -0
  677. package/dist/ionic/p-3281aaeb.entry.js +4 -0
  678. package/dist/ionic/p-32f4a0b9.entry.js +4 -0
  679. package/dist/ionic/p-35b66bbc.system.entry.js +4 -0
  680. package/dist/ionic/p-36db29d9.system.js +4 -0
  681. package/dist/ionic/p-3c1b93db.system.entry.js +4 -0
  682. package/dist/ionic/p-3dfa54e6.js +4 -0
  683. package/dist/ionic/{p-c0b0a426.system.entry.js → p-3efc5d47.system.entry.js} +2 -2
  684. package/dist/ionic/p-429dd2b5.system.js +4 -0
  685. package/dist/ionic/p-432e6521.system.entry.js +4 -0
  686. package/dist/ionic/{p-b9d7015f.entry.js → p-44c281df.entry.js} +1 -1
  687. package/dist/ionic/p-46f790b3.entry.js +4 -0
  688. package/dist/ionic/p-48cd1ced.entry.js +4 -0
  689. package/dist/ionic/{p-0c06e09b.system.js → p-4c38fcdd.system.js} +1 -1
  690. package/dist/ionic/{p-5da94421.system.js → p-4ccbf702.system.js} +2 -2
  691. package/dist/ionic/p-4de02483.entry.js +4 -0
  692. package/dist/ionic/p-4e6c9480.system.entry.js +4 -0
  693. package/dist/ionic/p-4e7c68a5.entry.js +4 -0
  694. package/dist/ionic/{p-d743e981.js → p-5771eacd.js} +1 -1
  695. package/dist/ionic/{p-da2b833b.js → p-58f16ef6.js} +1 -1
  696. package/dist/ionic/p-5a583b1a.entry.js +4 -0
  697. package/dist/ionic/p-5b57d327.system.js +4 -0
  698. package/dist/ionic/p-5c766439.entry.js +4 -0
  699. package/dist/ionic/p-5c8fa89d.system.js +4 -0
  700. package/dist/ionic/p-5cc80c49.system.js +4 -0
  701. package/dist/ionic/p-607c9c33.js +4 -0
  702. package/dist/ionic/p-614c3822.system.js +4 -0
  703. package/dist/ionic/p-614d974e.system.entry.js +4 -0
  704. package/dist/ionic/p-62836b01.js +4 -0
  705. package/dist/ionic/p-63fe75bc.js +4 -0
  706. package/dist/ionic/p-664480c8.system.entry.js +4 -0
  707. package/dist/ionic/p-6a0dd6bc.js +4 -0
  708. package/dist/ionic/p-6b6ee9ca.system.entry.js +4 -0
  709. package/dist/ionic/p-6c555957.system.entry.js +4 -0
  710. package/dist/ionic/p-6ca5f4da.system.entry.js +4 -0
  711. package/dist/ionic/{p-96cc4814.js → p-6d7c455f.js} +1 -1
  712. package/dist/ionic/p-6f418011.system.entry.js +4 -0
  713. package/dist/ionic/p-713374f2.entry.js +4 -0
  714. package/dist/ionic/p-727aa804.system.entry.js +4 -0
  715. package/dist/ionic/p-737d64f9.entry.js +4 -0
  716. package/dist/ionic/p-77c3fe69.entry.js +4 -0
  717. package/dist/ionic/p-7986665a.system.entry.js +4 -0
  718. package/dist/ionic/p-7b341352.js +4 -0
  719. package/dist/ionic/p-7c9d5354.entry.js +4 -0
  720. package/dist/ionic/p-7ccf7f29.entry.js +4 -0
  721. package/dist/ionic/p-7dfa7ebc.entry.js +4 -0
  722. package/dist/ionic/p-80ff4e55.entry.js +4 -0
  723. package/dist/ionic/p-82028c01.system.entry.js +4 -0
  724. package/dist/ionic/{p-7458862e.system.entry.js → p-8285d686.system.entry.js} +1 -1
  725. package/dist/ionic/p-82d80c8f.entry.js +4 -0
  726. package/dist/ionic/{p-d836d43e.js → p-83948e48.js} +1 -1
  727. package/dist/ionic/p-83e4478f.entry.js +4 -0
  728. package/dist/ionic/p-854b1e11.system.entry.js +4 -0
  729. package/dist/ionic/p-87365857.system.entry.js +4 -0
  730. package/dist/ionic/p-87a81a63.system.entry.js +4 -0
  731. package/dist/ionic/p-916f6c1d.entry.js +4 -0
  732. package/dist/ionic/p-927b5898.entry.js +4 -0
  733. package/dist/ionic/p-93cf45ec.system.entry.js +4 -0
  734. package/dist/ionic/p-9493acfe.entry.js +4 -0
  735. package/dist/ionic/p-9805b25a.system.entry.js +4 -0
  736. package/dist/ionic/p-9c8e5275.system.entry.js +4 -0
  737. package/dist/ionic/p-a1b80dd6.system.js +4 -0
  738. package/dist/ionic/{p-372ae7f4.system.js → p-a4519424.system.js} +1 -1
  739. package/dist/ionic/p-a8a04757.system.entry.js +4 -0
  740. package/dist/ionic/p-a9af4103.js +4 -0
  741. package/dist/ionic/p-b24c259e.entry.js +4 -0
  742. package/dist/ionic/p-b33b643b.entry.js +4 -0
  743. package/dist/ionic/{p-afecb188.entry.js → p-b6d72f12.entry.js} +1 -1
  744. package/dist/ionic/p-ba45ad7d.entry.js +4 -0
  745. package/dist/ionic/p-bc8e48de.entry.js +4 -0
  746. package/dist/ionic/p-bcf5573f.entry.js +4 -0
  747. package/dist/ionic/p-bcfa9bb5.system.entry.js +4 -0
  748. package/dist/ionic/p-bd7fb7b4.js +4 -0
  749. package/dist/ionic/p-bdd4e026.entry.js +4 -0
  750. package/dist/ionic/p-bef12497.entry.js +4 -0
  751. package/dist/ionic/p-bf673222.system.entry.js +4 -0
  752. package/dist/ionic/p-c248c88d.system.js +4 -0
  753. package/dist/ionic/{p-01186920.system.entry.js → p-c32229bb.system.entry.js} +1 -1
  754. package/dist/ionic/{p-9ea607bd.system.js → p-c4ae4d32.system.js} +2 -2
  755. package/dist/ionic/p-c628bdcb.system.js +4 -0
  756. package/dist/ionic/p-c6f1b434.js +4 -0
  757. package/dist/ionic/p-ca3bf740.system.entry.js +4 -0
  758. package/dist/ionic/p-cb3dc48f.entry.js +4 -0
  759. package/dist/ionic/p-cd40baea.entry.js +4 -0
  760. package/dist/ionic/p-cde755fc.system.entry.js +4 -0
  761. package/dist/ionic/p-ce5c2902.system.js +4 -0
  762. package/dist/ionic/p-d05aabdf.system.entry.js +4 -0
  763. package/dist/ionic/p-d3fd2c98.entry.js +4 -0
  764. package/dist/ionic/p-d53e0b4b.entry.js +4 -0
  765. package/dist/ionic/p-d6eda1bb.system.entry.js +4 -0
  766. package/dist/ionic/p-d79ed7b3.system.js +4 -0
  767. package/dist/ionic/p-d878447e.entry.js +4 -0
  768. package/dist/ionic/p-db63907a.system.entry.js +4 -0
  769. package/dist/ionic/p-dbb02a23.system.entry.js +4 -0
  770. package/dist/ionic/p-dd79c031.js +4 -0
  771. package/dist/ionic/p-dde3a646.entry.js +4 -0
  772. package/dist/ionic/p-dfd995cc.system.entry.js +4 -0
  773. package/dist/ionic/p-e050dad9.system.js +4 -0
  774. package/dist/ionic/p-e259208f.entry.js +4 -0
  775. package/dist/ionic/p-e2bd011e.js +4 -0
  776. package/dist/ionic/p-e34e037d.system.entry.js +4 -0
  777. package/dist/ionic/p-e3b70846.system.js +4 -0
  778. package/dist/ionic/p-e5333f3f.entry.js +4 -0
  779. package/dist/ionic/p-e61c9280.entry.js +4 -0
  780. package/dist/ionic/p-ea16a842.entry.js +4 -0
  781. package/dist/ionic/p-eafeb1ff.system.js +4 -0
  782. package/dist/ionic/{p-c41ac815.entry.js → p-ed419a44.entry.js} +1 -1
  783. package/dist/ionic/{p-98231c01.system.entry.js → p-eef611dc.system.entry.js} +1 -1
  784. package/dist/ionic/p-f3cfb48a.entry.js +4 -0
  785. package/dist/ionic/p-f4ad1cf6.system.entry.js +4 -0
  786. package/dist/ionic/{p-3c8e5c23.system.js → p-f7712c17.system.js} +1 -1
  787. package/dist/ionic/p-f9782d44.system.entry.js +4 -0
  788. package/dist/types/components/accordion/accordion.d.ts +4 -2
  789. package/dist/types/components/accordion-group/accordion-group.d.ts +2 -1
  790. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
  791. package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
  792. package/dist/types/components/alert/alert-interface.d.ts +3 -7
  793. package/dist/types/components/alert/alert.d.ts +3 -2
  794. package/dist/types/components/app/app.d.ts +5 -0
  795. package/dist/types/components/avatar/avatar.d.ts +28 -0
  796. package/dist/types/components/back-button/back-button.d.ts +2 -1
  797. package/dist/types/components/backdrop/backdrop.d.ts +4 -0
  798. package/dist/types/components/badge/badge.d.ts +23 -1
  799. package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -1
  800. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  801. package/dist/types/components/button/button.d.ts +15 -4
  802. package/dist/types/components/buttons/buttons.d.ts +5 -1
  803. package/dist/types/components/card/card.d.ts +8 -1
  804. package/dist/types/components/card-content/card-content.d.ts +2 -1
  805. package/dist/types/components/card-header/card-header.d.ts +3 -2
  806. package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
  807. package/dist/types/components/card-title/card-title.d.ts +2 -1
  808. package/dist/types/components/checkbox/checkbox.d.ts +14 -4
  809. package/dist/types/components/chip/chip.d.ts +19 -1
  810. package/dist/types/components/col/col.d.ts +4 -0
  811. package/dist/types/components/content/content.d.ts +3 -0
  812. package/dist/types/components/datetime/datetime.d.ts +26 -1
  813. package/dist/types/components/datetime/utils/data.d.ts +3 -3
  814. package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
  815. package/dist/types/components/fab/fab.d.ts +4 -0
  816. package/dist/types/components/fab-button/fab-button.d.ts +5 -3
  817. package/dist/types/components/fab-list/fab-list.d.ts +4 -0
  818. package/dist/types/components/footer/footer.d.ts +4 -3
  819. package/dist/types/components/grid/grid.d.ts +4 -0
  820. package/dist/types/components/header/header.d.ts +9 -3
  821. package/dist/types/components/img/img.d.ts +3 -0
  822. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
  823. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
  824. package/dist/types/components/input/input.d.ts +31 -5
  825. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +2 -0
  826. package/dist/types/components/item/item.d.ts +11 -4
  827. package/dist/types/components/item-divider/item-divider.d.ts +2 -1
  828. package/dist/types/components/item-group/item-group.d.ts +4 -0
  829. package/dist/types/components/item-option/item-option.d.ts +11 -1
  830. package/dist/types/components/item-options/item-options.d.ts +4 -0
  831. package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
  832. package/dist/types/components/label/label.d.ts +2 -1
  833. package/dist/types/components/list/list.d.ts +15 -1
  834. package/dist/types/components/list-header/list-header.d.ts +2 -1
  835. package/dist/types/components/loading/loading-interface.d.ts +2 -7
  836. package/dist/types/components/loading/loading.d.ts +3 -2
  837. package/dist/types/components/menu/menu.d.ts +3 -0
  838. package/dist/types/components/menu-button/menu-button.d.ts +3 -1
  839. package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
  840. package/dist/types/components/modal/modal-interface.d.ts +3 -7
  841. package/dist/types/components/modal/modal.d.ts +11 -1
  842. package/dist/types/components/nav/nav-interface.d.ts +9 -1
  843. package/dist/types/components/nav/nav.d.ts +5 -1
  844. package/dist/types/components/nav-link/nav-link.d.ts +4 -0
  845. package/dist/types/components/note/note.d.ts +2 -1
  846. package/dist/types/components/picker/picker.d.ts +2 -1
  847. package/dist/types/components/picker-column/picker-column.d.ts +2 -1
  848. package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
  849. package/dist/types/components/picker-legacy/picker.d.ts +2 -1
  850. package/dist/types/components/popover/popover-interface.d.ts +3 -6
  851. package/dist/types/components/popover/popover.d.ts +6 -5
  852. package/dist/types/components/progress-bar/progress-bar.d.ts +2 -1
  853. package/dist/types/components/radio/radio.d.ts +2 -1
  854. package/dist/types/components/radio-group/radio-group.d.ts +4 -0
  855. package/dist/types/components/range/range.d.ts +2 -1
  856. package/dist/types/components/refresher/refresher.d.ts +2 -1
  857. package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
  858. package/dist/types/components/reorder/reorder.d.ts +9 -0
  859. package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
  860. package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
  861. package/dist/types/components/route/route.d.ts +4 -0
  862. package/dist/types/components/router/router.d.ts +4 -0
  863. package/dist/types/components/router-link/router-link.d.ts +4 -0
  864. package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
  865. package/dist/types/components/row/row.d.ts +4 -0
  866. package/dist/types/components/searchbar/searchbar.d.ts +30 -8
  867. package/dist/types/components/segment/segment.d.ts +2 -1
  868. package/dist/types/components/segment-button/segment-button.d.ts +2 -1
  869. package/dist/types/components/select/select.d.ts +20 -5
  870. package/dist/types/components/select-option/select-option.d.ts +4 -0
  871. package/dist/types/components/select-popover/select-popover.d.ts +3 -0
  872. package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
  873. package/dist/types/components/spinner/spinner.d.ts +15 -0
  874. package/dist/types/components/split-pane/split-pane.d.ts +4 -0
  875. package/dist/types/components/tab/tab.d.ts +4 -0
  876. package/dist/types/components/tab-bar/tab-bar.d.ts +22 -2
  877. package/dist/types/components/tab-button/tab-button.d.ts +2 -1
  878. package/dist/types/components/tabs/tabs.d.ts +3 -0
  879. package/dist/types/components/text/text.d.ts +2 -1
  880. package/dist/types/components/textarea/textarea.d.ts +16 -4
  881. package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
  882. package/dist/types/components/title/title.d.ts +4 -0
  883. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  884. package/dist/types/components/toast/toast-interface.d.ts +3 -7
  885. package/dist/types/components/toast/toast.d.ts +3 -2
  886. package/dist/types/components/toggle/toggle.d.ts +15 -1
  887. package/dist/types/components/toolbar/toolbar.d.ts +4 -3
  888. package/dist/types/components.d.ts +1346 -181
  889. package/dist/types/global/ionic-global.d.ts +25 -2
  890. package/dist/types/interface.d.ts +3 -0
  891. package/dist/types/utils/config.d.ts +99 -2
  892. package/dist/types/utils/overlays-interface.d.ts +31 -1
  893. package/dist/types/utils/test/playwright/generator.d.ts +31 -2
  894. package/hydrate/index.js +2035 -700
  895. package/hydrate/index.mjs +2035 -700
  896. package/package.json +9 -5
  897. package/components/index9.js +0 -167
  898. package/dist/cjs/index-5915f9b3.js +0 -38
  899. package/dist/cjs/ionic-global-d9a8bb5b.js +0 -237
  900. package/dist/esm/index-9b0d46f4.js +0 -34
  901. package/dist/esm/ionic-global-c81d82ab.js +0 -231
  902. package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
  903. package/dist/esm-es5/data-ae11fd43.js +0 -4
  904. package/dist/esm-es5/index-3ad7f18b.js +0 -4
  905. package/dist/esm-es5/index-5cc724f3.js +0 -4
  906. package/dist/esm-es5/index-9b0d46f4.js +0 -4
  907. package/dist/esm-es5/index-fe1782b1.js +0 -4
  908. package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
  909. package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
  910. package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
  911. package/dist/esm-es5/ios.transition-4ee1a3af.js +0 -4
  912. package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
  913. package/dist/esm-es5/overlays-9c75ec54.js +0 -4
  914. package/dist/esm-es5/status-tap-f472b09f.js +0 -4
  915. package/dist/ionic/p-0303d0f8.js +0 -4
  916. package/dist/ionic/p-0574e87e.js +0 -4
  917. package/dist/ionic/p-06e07c7b.system.entry.js +0 -4
  918. package/dist/ionic/p-06e58c4e.js +0 -4
  919. package/dist/ionic/p-06fee233.js +0 -4
  920. package/dist/ionic/p-081a4ce4.entry.js +0 -4
  921. package/dist/ionic/p-1136a842.entry.js +0 -4
  922. package/dist/ionic/p-15e76dd1.entry.js +0 -4
  923. package/dist/ionic/p-17474161.system.js +0 -4
  924. package/dist/ionic/p-19ec4f42.entry.js +0 -4
  925. package/dist/ionic/p-1acf0142.entry.js +0 -4
  926. package/dist/ionic/p-1e010627.system.entry.js +0 -4
  927. package/dist/ionic/p-1e67b266.system.entry.js +0 -4
  928. package/dist/ionic/p-2097482f.entry.js +0 -4
  929. package/dist/ionic/p-21e5e7e4.js +0 -4
  930. package/dist/ionic/p-22c020db.system.entry.js +0 -4
  931. package/dist/ionic/p-2507278c.system.entry.js +0 -4
  932. package/dist/ionic/p-2690b1de.js +0 -4
  933. package/dist/ionic/p-2799c6d3.system.entry.js +0 -4
  934. package/dist/ionic/p-2e46590d.system.entry.js +0 -4
  935. package/dist/ionic/p-2eba228d.system.entry.js +0 -4
  936. package/dist/ionic/p-322c5fb4.system.js +0 -4
  937. package/dist/ionic/p-3254d107.entry.js +0 -4
  938. package/dist/ionic/p-347ac2ef.system.entry.js +0 -4
  939. package/dist/ionic/p-3b323c61.entry.js +0 -4
  940. package/dist/ionic/p-3cd3704c.entry.js +0 -4
  941. package/dist/ionic/p-41b6ad85.system.entry.js +0 -4
  942. package/dist/ionic/p-42eee9d3.system.entry.js +0 -4
  943. package/dist/ionic/p-4439fc2a.entry.js +0 -4
  944. package/dist/ionic/p-449ec9f0.system.entry.js +0 -4
  945. package/dist/ionic/p-45693d7e.entry.js +0 -4
  946. package/dist/ionic/p-469e0773.entry.js +0 -4
  947. package/dist/ionic/p-52d7a191.entry.js +0 -4
  948. package/dist/ionic/p-53b77274.system.entry.js +0 -4
  949. package/dist/ionic/p-567de071.system.entry.js +0 -4
  950. package/dist/ionic/p-5823babc.system.entry.js +0 -4
  951. package/dist/ionic/p-5988556c.system.entry.js +0 -4
  952. package/dist/ionic/p-5a6d132d.entry.js +0 -4
  953. package/dist/ionic/p-5ad5dd4e.entry.js +0 -4
  954. package/dist/ionic/p-5f9b0722.entry.js +0 -4
  955. package/dist/ionic/p-61e494dc.system.entry.js +0 -4
  956. package/dist/ionic/p-63b0abde.system.entry.js +0 -4
  957. package/dist/ionic/p-66640ff7.system.entry.js +0 -4
  958. package/dist/ionic/p-68642392.entry.js +0 -4
  959. package/dist/ionic/p-69066a53.js +0 -4
  960. package/dist/ionic/p-6d32975a.entry.js +0 -4
  961. package/dist/ionic/p-7740e32c.system.js +0 -4
  962. package/dist/ionic/p-78feb35d.entry.js +0 -4
  963. package/dist/ionic/p-7b9a2b23.entry.js +0 -4
  964. package/dist/ionic/p-7ed1657c.system.entry.js +0 -4
  965. package/dist/ionic/p-802b4ce7.entry.js +0 -4
  966. package/dist/ionic/p-850a3c12.entry.js +0 -4
  967. package/dist/ionic/p-87a5f97a.system.entry.js +0 -4
  968. package/dist/ionic/p-88e63c7d.js +0 -4
  969. package/dist/ionic/p-8ebd3f36.system.entry.js +0 -4
  970. package/dist/ionic/p-90df71aa.system.entry.js +0 -4
  971. package/dist/ionic/p-927f180c.system.entry.js +0 -4
  972. package/dist/ionic/p-92a96c69.system.entry.js +0 -4
  973. package/dist/ionic/p-937a7e21.entry.js +0 -4
  974. package/dist/ionic/p-9644984a.entry.js +0 -4
  975. package/dist/ionic/p-985a7e17.system.entry.js +0 -4
  976. package/dist/ionic/p-98871496.system.js +0 -4
  977. package/dist/ionic/p-98e71235.system.entry.js +0 -4
  978. package/dist/ionic/p-9c901780.entry.js +0 -4
  979. package/dist/ionic/p-9df2c6fb.entry.js +0 -4
  980. package/dist/ionic/p-9ee1e8a6.entry.js +0 -4
  981. package/dist/ionic/p-9f18a6cf.entry.js +0 -4
  982. package/dist/ionic/p-9f3008d4.system.js +0 -4
  983. package/dist/ionic/p-9fa07aec.entry.js +0 -4
  984. package/dist/ionic/p-a440397c.js +0 -4
  985. package/dist/ionic/p-a4565eb5.system.js +0 -4
  986. package/dist/ionic/p-a49378bb.system.entry.js +0 -4
  987. package/dist/ionic/p-a4d51b8d.system.js +0 -4
  988. package/dist/ionic/p-a61cba41.entry.js +0 -4
  989. package/dist/ionic/p-a69b9fc5.system.js +0 -4
  990. package/dist/ionic/p-a6d7bc6c.entry.js +0 -4
  991. package/dist/ionic/p-adcb6def.system.entry.js +0 -4
  992. package/dist/ionic/p-adceb282.system.entry.js +0 -4
  993. package/dist/ionic/p-b14210d4.system.entry.js +0 -4
  994. package/dist/ionic/p-b398aa77.entry.js +0 -4
  995. package/dist/ionic/p-bb0db172.entry.js +0 -4
  996. package/dist/ionic/p-bc36ad98.system.entry.js +0 -4
  997. package/dist/ionic/p-bdad26e3.entry.js +0 -4
  998. package/dist/ionic/p-bfceff7f.system.entry.js +0 -4
  999. package/dist/ionic/p-c29f8157.system.entry.js +0 -4
  1000. package/dist/ionic/p-c7b03316.entry.js +0 -4
  1001. package/dist/ionic/p-c9f3a539.entry.js +0 -4
  1002. package/dist/ionic/p-ca065903.system.entry.js +0 -4
  1003. package/dist/ionic/p-cac0e0b3.system.entry.js +0 -4
  1004. package/dist/ionic/p-cfab4f20.entry.js +0 -4
  1005. package/dist/ionic/p-d04481d7.entry.js +0 -4
  1006. package/dist/ionic/p-d18ab582.system.entry.js +0 -4
  1007. package/dist/ionic/p-d1db10ed.system.entry.js +0 -4
  1008. package/dist/ionic/p-d6841eac.js +0 -4
  1009. package/dist/ionic/p-d77e12ca.entry.js +0 -4
  1010. package/dist/ionic/p-d7aa6b00.entry.js +0 -4
  1011. package/dist/ionic/p-da074ff7.entry.js +0 -4
  1012. package/dist/ionic/p-de930745.entry.js +0 -4
  1013. package/dist/ionic/p-dfb78785.system.js +0 -4
  1014. package/dist/ionic/p-e2fb0d06.system.entry.js +0 -4
  1015. package/dist/ionic/p-e3f13b08.js +0 -4
  1016. package/dist/ionic/p-e4ee80be.system.entry.js +0 -4
  1017. package/dist/ionic/p-eba29931.entry.js +0 -4
  1018. package/dist/ionic/p-eba81f15.entry.js +0 -4
  1019. package/dist/ionic/p-efaffe74.entry.js +0 -4
  1020. package/dist/ionic/p-f1acf541.system.entry.js +0 -4
  1021. package/dist/ionic/p-f3102647.system.entry.js +0 -4
  1022. package/dist/ionic/p-f43382c8.system.entry.js +0 -4
  1023. package/dist/ionic/p-f9a53abb.system.js +0 -4
  1024. package/dist/ionic/p-ff4b7e40.system.js +0 -4
  1025. /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
@@ -1,36 +1,3 @@
1
- /**
2
- * Convert a font size to a dynamic font size.
3
- * Fonts that participate in Dynamic Type should use
4
- * dynamic font sizes.
5
- * @param size - The initial font size including the unit (i.e. px or pt)
6
- * @param unit (optional) - The unit to convert to. Use this if you want to
7
- * convert to a unit other than $baselineUnit.
8
- */
9
- /**
10
- * Convert a font size to a dynamic font size but impose
11
- * a maximum font size.
12
- * @param size - The initial font size including the unit (i.e. px or pt)
13
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
- * convert to a unit other than $baselineUnit.
16
- */
17
- /**
18
- * Convert a font size to a dynamic font size but impose
19
- * a minimum font size.
20
- * @param size - The initial font size including the unit (i.e. px or pt)
21
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
- * convert to a unit other than $baselineUnit.
24
- */
25
- /**
26
- * Convert a font size to a dynamic font size but impose
27
- * maximum and minimum font sizes.
28
- * @param size - The initial font size including the unit (i.e. px or pt)
29
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
- * convert to a unit other than $baselineUnit.
33
- */
34
1
  /**
35
2
  * A heuristic that applies CSS to tablet
36
3
  * viewports.
@@ -84,20 +51,10 @@
84
51
  padding-right: var(--ion-safe-area-right);
85
52
  padding-left: var(--ion-safe-area-left);
86
53
  color: var(--color);
87
- font-family: var(--ion-font-family, inherit);
88
54
  contain: content;
89
- z-index: 10;
90
55
  box-sizing: border-box;
91
56
  }
92
57
 
93
- :host(.ion-color) {
94
- color: var(--ion-color-contrast);
95
- }
96
-
97
- :host(.ion-color) .toolbar-background {
98
- background: var(--ion-color-base);
99
- }
100
-
101
58
  .toolbar-container {
102
59
  -webkit-padding-start: var(--padding-start);
103
60
  padding-inline-start: var(--padding-start);
@@ -114,13 +71,12 @@
114
71
  min-height: var(--min-height);
115
72
  contain: content;
116
73
  overflow: hidden;
117
- z-index: 10;
118
74
  box-sizing: border-box;
119
75
  }
120
76
 
121
77
  .toolbar-background {
122
- left: 0;
123
78
  right: 0;
79
+ left: 0;
124
80
  top: 0;
125
81
  bottom: 0;
126
82
  position: absolute;
@@ -131,17 +87,104 @@
131
87
  background: var(--background);
132
88
  contain: strict;
133
89
  opacity: calc(var(--opacity) * var(--opacity-scale));
134
- z-index: -1;
135
90
  pointer-events: none;
136
91
  }
137
92
 
138
93
  ::slotted(ion-progress-bar) {
139
- left: 0;
140
94
  right: 0;
95
+ left: 0;
141
96
  bottom: 0;
142
97
  position: absolute;
143
98
  }
144
99
 
100
+ /**
101
+ * Convert a pixels given value into rem
102
+ *
103
+ * @param pixels - Value in pixels to be converted (i.e. px)
104
+ * @param context (optional) - Baseline value
105
+ */
106
+ /**
107
+ * Convert a font size to a dynamic font size.
108
+ * Fonts that participate in Dynamic Type should use
109
+ * dynamic font sizes.
110
+ * @param size - The initial font size including the unit (i.e. px or pt)
111
+ * @param unit (optional) - The unit to convert to. Use this if you want to
112
+ * convert to a unit other than $baselineUnit.
113
+ */
114
+ /**
115
+ * Convert a font size to a dynamic font size but impose
116
+ * a maximum font size.
117
+ * @param size - The initial font size including the unit (i.e. px or pt)
118
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
119
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
120
+ * convert to a unit other than $baselineUnit.
121
+ */
122
+ /**
123
+ * Convert a font size to a dynamic font size but impose
124
+ * a minimum font size.
125
+ * @param size - The initial font size including the unit (i.e. px or pt)
126
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
127
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
128
+ * convert to a unit other than $baselineUnit.
129
+ */
130
+ /**
131
+ * Convert a font size to a dynamic font size but impose
132
+ * maximum and minimum font sizes.
133
+ * @param size - The initial font size including the unit (i.e. px or pt)
134
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
135
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
136
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
137
+ * convert to a unit other than $baselineUnit.
138
+ */
139
+ /**
140
+ * A heuristic that applies CSS to tablet
141
+ * viewports.
142
+ *
143
+ * Usage:
144
+ * @include tablet-viewport() {
145
+ * :host {
146
+ * background-color: green;
147
+ * }
148
+ * }
149
+ */
150
+ /**
151
+ * A heuristic that applies CSS to mobile
152
+ * viewports (i.e. phones, not tablets).
153
+ *
154
+ * Usage:
155
+ * @include mobile-viewport() {
156
+ * :host {
157
+ * background-color: blue;
158
+ * }
159
+ * }
160
+ */
161
+ :host {
162
+ font-family: var(--ion-font-family, inherit);
163
+ z-index: 10;
164
+ }
165
+
166
+ :host(.ion-color) {
167
+ color: var(--ion-color-contrast);
168
+ }
169
+
170
+ :host(.ion-color) .toolbar-background {
171
+ background: var(--ion-color-base);
172
+ }
173
+
174
+ .toolbar-container {
175
+ z-index: 10;
176
+ }
177
+
178
+ .toolbar-background {
179
+ z-index: -1;
180
+ }
181
+
182
+ /**
183
+ * Convert a pixels given value into rem
184
+ *
185
+ * @param pixels - Value in pixels to be converted (i.e. px)
186
+ * @param context (optional) - Baseline value
187
+ */
145
188
  /**
146
189
  * Convert a font size to a dynamic font size.
147
190
  * Fonts that participate in Dynamic Type should use
@@ -3,14 +3,15 @@
3
3
  */
4
4
  import { Host, forceUpdate, h } from "@stencil/core";
5
5
  import { createColorClasses, hostContext } from "../../utils/theme";
6
- import { getIonMode } from "../../global/ionic-global";
6
+ import { getIonTheme } from "../../global/ionic-global";
7
7
  /**
8
- * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
8
+ * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
9
+ * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
9
10
  *
10
11
  * @slot - Content is placed between the named slots if provided without a slot.
11
12
  * @slot start - Content is placed to the left of the toolbar text in LTR, and to the right in RTL.
12
- * @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
13
- * @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
13
+ * @slot secondary - Content is placed to the left of the toolbar text in the `"ios"` theme, and directly to the right in the `"md"` theme.
14
+ * @slot primary - Content is placed to the right of the toolbar text in the `"ios"` theme, and to the far right in the `"md"` theme.
14
15
  * @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
15
16
  */
16
17
  export class Toolbar {
@@ -57,28 +58,30 @@ export class Toolbar {
57
58
  }
58
59
  }
59
60
  render() {
60
- const mode = getIonMode(this);
61
+ const theme = getIonTheme(this);
61
62
  const childStyles = {};
62
63
  this.childrenStyles.forEach((value) => {
63
64
  Object.assign(childStyles, value);
64
65
  });
65
- return (h(Host, { key: 'af016bf9981a2d6182783c6643e2d460245ecc2f', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
66
- [mode]: true,
66
+ return (h(Host, { key: '0b157e806d08ed75667a8d4c824531274c636c3f', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
67
+ [theme]: true,
67
68
  'in-toolbar': hostContext('ion-toolbar', this.el),
68
- })) }, h("div", { key: '437debb5b7c561b315d887ae8d47186cba5521ce', class: "toolbar-background" }), h("div", { key: '4c2429fa3e8526fedf456e4658be92d5dce8ca34', class: "toolbar-container" }, h("slot", { key: '4c07db12cfc48b4836b566449b854c24db308e3a', name: "start" }), h("slot", { key: '12855ec04622c09cc404f9b4f07f57a73e5770a0', name: "secondary" }), h("div", { key: '56f37d52c91de2b76910defbc9e5b7c1def3861c', class: "toolbar-content" }, h("slot", { key: 'c10ec3fdbea10a6388f4f510d45188f7fda1a371' })), h("slot", { key: 'c8ed49c6888faf35e71f2a8f4f6bf98fb0c34a25', name: "primary" }), h("slot", { key: '0251f3980082a092304f95cbc002bc8c633c5739', name: "end" }))));
69
+ })) }, h("div", { key: '8413374c1b4f3d16afb265d89a2506c83983da11', class: "toolbar-background" }), h("div", { key: 'da917701a03f82fe0030c68663381f99324dd9aa', class: "toolbar-container" }, h("slot", { key: '89cbc4450b377901cd732dcef02303a41205f202', name: "start" }), h("slot", { key: 'ee00a40995e755970cb9be8ccacaefbe394bca93', name: "secondary" }), h("div", { key: 'ae653739005ac675f789a57a6c5ee6899d24c34b', class: "toolbar-content" }, h("slot", { key: 'e90829ef9c274f14bfd8e85834183d3498bd2825' })), h("slot", { key: '8f5106bb52b434a6760cf6f7848471ab99f2c80b', name: "primary" }), h("slot", { key: '9d20e5120164268411bd7e9e091ced61d24da5cc', name: "end" }))));
69
70
  }
70
71
  static get is() { return "ion-toolbar"; }
71
72
  static get encapsulation() { return "shadow"; }
72
73
  static get originalStyleUrls() {
73
74
  return {
74
75
  "ios": ["toolbar.ios.scss"],
75
- "md": ["toolbar.md.scss"]
76
+ "md": ["toolbar.md.scss"],
77
+ "ionic": ["toolbar.ionic.scss"]
76
78
  };
77
79
  }
78
80
  static get styleUrls() {
79
81
  return {
80
82
  "ios": ["toolbar.ios.css"],
81
- "md": ["toolbar.md.css"]
83
+ "md": ["toolbar.md.css"],
84
+ "ionic": ["toolbar.ionic.css"]
82
85
  };
83
86
  }
84
87
  static get properties() {
@@ -1,36 +1,3 @@
1
- /**
2
- * Convert a font size to a dynamic font size.
3
- * Fonts that participate in Dynamic Type should use
4
- * dynamic font sizes.
5
- * @param size - The initial font size including the unit (i.e. px or pt)
6
- * @param unit (optional) - The unit to convert to. Use this if you want to
7
- * convert to a unit other than $baselineUnit.
8
- */
9
- /**
10
- * Convert a font size to a dynamic font size but impose
11
- * a maximum font size.
12
- * @param size - The initial font size including the unit (i.e. px or pt)
13
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
- * convert to a unit other than $baselineUnit.
16
- */
17
- /**
18
- * Convert a font size to a dynamic font size but impose
19
- * a minimum font size.
20
- * @param size - The initial font size including the unit (i.e. px or pt)
21
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
- * convert to a unit other than $baselineUnit.
24
- */
25
- /**
26
- * Convert a font size to a dynamic font size but impose
27
- * maximum and minimum font sizes.
28
- * @param size - The initial font size including the unit (i.e. px or pt)
29
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
- * convert to a unit other than $baselineUnit.
33
- */
34
1
  /**
35
2
  * A heuristic that applies CSS to tablet
36
3
  * viewports.
@@ -84,20 +51,10 @@
84
51
  padding-right: var(--ion-safe-area-right);
85
52
  padding-left: var(--ion-safe-area-left);
86
53
  color: var(--color);
87
- font-family: var(--ion-font-family, inherit);
88
54
  contain: content;
89
- z-index: 10;
90
55
  box-sizing: border-box;
91
56
  }
92
57
 
93
- :host(.ion-color) {
94
- color: var(--ion-color-contrast);
95
- }
96
-
97
- :host(.ion-color) .toolbar-background {
98
- background: var(--ion-color-base);
99
- }
100
-
101
58
  .toolbar-container {
102
59
  -webkit-padding-start: var(--padding-start);
103
60
  padding-inline-start: var(--padding-start);
@@ -114,13 +71,12 @@
114
71
  min-height: var(--min-height);
115
72
  contain: content;
116
73
  overflow: hidden;
117
- z-index: 10;
118
74
  box-sizing: border-box;
119
75
  }
120
76
 
121
77
  .toolbar-background {
122
- left: 0;
123
78
  right: 0;
79
+ left: 0;
124
80
  top: 0;
125
81
  bottom: 0;
126
82
  position: absolute;
@@ -131,17 +87,104 @@
131
87
  background: var(--background);
132
88
  contain: strict;
133
89
  opacity: calc(var(--opacity) * var(--opacity-scale));
134
- z-index: -1;
135
90
  pointer-events: none;
136
91
  }
137
92
 
138
93
  ::slotted(ion-progress-bar) {
139
- left: 0;
140
94
  right: 0;
95
+ left: 0;
141
96
  bottom: 0;
142
97
  position: absolute;
143
98
  }
144
99
 
100
+ /**
101
+ * Convert a pixels given value into rem
102
+ *
103
+ * @param pixels - Value in pixels to be converted (i.e. px)
104
+ * @param context (optional) - Baseline value
105
+ */
106
+ /**
107
+ * Convert a font size to a dynamic font size.
108
+ * Fonts that participate in Dynamic Type should use
109
+ * dynamic font sizes.
110
+ * @param size - The initial font size including the unit (i.e. px or pt)
111
+ * @param unit (optional) - The unit to convert to. Use this if you want to
112
+ * convert to a unit other than $baselineUnit.
113
+ */
114
+ /**
115
+ * Convert a font size to a dynamic font size but impose
116
+ * a maximum font size.
117
+ * @param size - The initial font size including the unit (i.e. px or pt)
118
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
119
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
120
+ * convert to a unit other than $baselineUnit.
121
+ */
122
+ /**
123
+ * Convert a font size to a dynamic font size but impose
124
+ * a minimum font size.
125
+ * @param size - The initial font size including the unit (i.e. px or pt)
126
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
127
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
128
+ * convert to a unit other than $baselineUnit.
129
+ */
130
+ /**
131
+ * Convert a font size to a dynamic font size but impose
132
+ * maximum and minimum font sizes.
133
+ * @param size - The initial font size including the unit (i.e. px or pt)
134
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
135
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
136
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
137
+ * convert to a unit other than $baselineUnit.
138
+ */
139
+ /**
140
+ * A heuristic that applies CSS to tablet
141
+ * viewports.
142
+ *
143
+ * Usage:
144
+ * @include tablet-viewport() {
145
+ * :host {
146
+ * background-color: green;
147
+ * }
148
+ * }
149
+ */
150
+ /**
151
+ * A heuristic that applies CSS to mobile
152
+ * viewports (i.e. phones, not tablets).
153
+ *
154
+ * Usage:
155
+ * @include mobile-viewport() {
156
+ * :host {
157
+ * background-color: blue;
158
+ * }
159
+ * }
160
+ */
161
+ :host {
162
+ font-family: var(--ion-font-family, inherit);
163
+ z-index: 10;
164
+ }
165
+
166
+ :host(.ion-color) {
167
+ color: var(--ion-color-contrast);
168
+ }
169
+
170
+ :host(.ion-color) .toolbar-background {
171
+ background: var(--ion-color-base);
172
+ }
173
+
174
+ .toolbar-container {
175
+ z-index: 10;
176
+ }
177
+
178
+ .toolbar-background {
179
+ z-index: -1;
180
+ }
181
+
182
+ /**
183
+ * Convert a pixels given value into rem
184
+ *
185
+ * @param pixels - Value in pixels to be converted (i.e. px)
186
+ * @param context (optional) - Baseline value
187
+ */
145
188
  /**
146
189
  * Convert a font size to a dynamic font size.
147
190
  * Fonts that participate in Dynamic Type should use
@@ -1,13 +1,120 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { getMode, setMode, setPlatformHelpers } from "@stencil/core";
4
+ import { getMode, setMode, setPlatformHelpers, getElement } from "@stencil/core";
5
+ import { printIonWarning } from "../utils/logging/index";
5
6
  import { isPlatform, setupPlatforms } from "../utils/platform";
6
7
  import { config, configFromSession, configFromURL, saveConfig } from "./config";
7
- // TODO(FW-2832): types
8
8
  let defaultMode;
9
- export const getIonMode = (ref) => {
10
- return (ref && getMode(ref)) || defaultMode;
9
+ let defaultTheme = 'md';
10
+ /**
11
+ * Prints a warning message to the developer to inform them of
12
+ * an invalid configuration of mode and theme.
13
+ * @param mode The invalid mode configuration.
14
+ * @param theme The invalid theme configuration.
15
+ */
16
+ const printInvalidModeWarning = (mode, theme, ref) => {
17
+ printIonWarning(`Invalid mode and theme combination provided: mode: ${mode}, theme: ${theme}. Fallback mode ${getDefaultModeForTheme(theme)} will be used.`, ref);
18
+ };
19
+ /**
20
+ * Validates if a mode is accepted for a theme configuration.
21
+ * @param mode The mode to validate.
22
+ * @param theme The theme the mode is being used with.
23
+ * @returns `true` if the mode is valid for the theme, `false` if invalid.
24
+ */
25
+ export const isModeValidForTheme = (mode, theme) => {
26
+ if (mode === 'md') {
27
+ return theme === 'md' || theme === 'ionic';
28
+ }
29
+ else if (mode === 'ios') {
30
+ return theme === 'ios' || theme === 'ionic';
31
+ }
32
+ return false;
33
+ };
34
+ /**
35
+ * Returns the default mode for a specified theme.
36
+ * @param theme The theme to return a default mode for.
37
+ * @returns The default mode, either `ios` or `md`.
38
+ */
39
+ const getDefaultModeForTheme = (theme) => {
40
+ if (theme === 'ios') {
41
+ return 'ios';
42
+ }
43
+ return 'md';
44
+ };
45
+ /**
46
+ * Returns the default theme for a specified mode.
47
+ * @param mode The mode to return a default theme for.
48
+ * @returns The default theme.
49
+ */
50
+ const getDefaultThemeForMode = (mode) => {
51
+ if (mode === 'ios') {
52
+ return 'ios';
53
+ }
54
+ return 'md';
55
+ };
56
+ const isModeSupported = (elmMode) => ['ios', 'md'].includes(elmMode);
57
+ const isThemeSupported = (theme) => ['ios', 'md', 'ionic'].includes(theme);
58
+ const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
59
+ /**
60
+ * Returns the mode value of the element reference or the closest
61
+ * parent with a valid mode.
62
+ * @param ref The element reference to look up the mode for.
63
+ * @param theme Optionally can provide the theme to avoid an additional look-up.
64
+ * @returns The mode value for the element reference.
65
+ */
66
+ export const getIonMode = (ref, theme = getIonTheme(ref)) => {
67
+ var _a;
68
+ if ((ref === null || ref === void 0 ? void 0 : ref.mode) && isModeValidForTheme(ref === null || ref === void 0 ? void 0 : ref.mode, theme)) {
69
+ /**
70
+ * If the reference already has a mode configuration,
71
+ * use it instead of performing a look-up.
72
+ */
73
+ return ref.mode;
74
+ }
75
+ else {
76
+ const el = getElement(ref);
77
+ const mode = ((_a = el.closest('[mode]')) === null || _a === void 0 ? void 0 : _a.getAttribute('mode')) || defaultMode;
78
+ if (isModeValidForTheme(mode, theme)) {
79
+ /**
80
+ * The mode configuration is supported for the configured theme.
81
+ */
82
+ return mode;
83
+ }
84
+ else {
85
+ printInvalidModeWarning(mode, theme, ref);
86
+ }
87
+ }
88
+ return getDefaultModeForTheme(theme);
89
+ };
90
+ /**
91
+ * Returns the theme value of the element reference or the closest
92
+ * parent with a valid theme.
93
+ *
94
+ * @param ref The element reference to look up the theme for.
95
+ * @returns The theme value for the element reference, defaults to
96
+ * the default theme if it cannot be determined.
97
+ */
98
+ export const getIonTheme = (ref) => {
99
+ var _a, _b;
100
+ const theme = ref && getMode(ref);
101
+ if (theme) {
102
+ return theme;
103
+ }
104
+ /**
105
+ * If the theme cannot be detected, then fallback to using
106
+ * the `mode` attribute to determine the style sheets to use.
107
+ */
108
+ const el = getElement(ref);
109
+ const mode = (_a = ref === null || ref === void 0 ? void 0 : ref.mode) !== null && _a !== void 0 ? _a : (_b = el.closest('[mode]')) === null || _b === void 0 ? void 0 : _b.getAttribute('mode');
110
+ if (mode) {
111
+ return getDefaultThemeForMode(mode);
112
+ }
113
+ /**
114
+ * If a mode is not detected, then fallback to using the
115
+ * default theme.
116
+ */
117
+ return defaultTheme;
11
118
  };
12
119
  export const initialize = (userConfig = {}) => {
13
120
  if (typeof window === 'undefined') {
@@ -36,33 +143,74 @@ export const initialize = (userConfig = {}) => {
36
143
  }
37
144
  // Setup platforms
38
145
  setupPlatforms(win);
39
- // first see if the mode was set as an attribute on <html>
40
- // which could have been set by the user, or by pre-rendering
41
- // otherwise get the mode via config settings, and fallback to md
42
146
  Ionic.config = config;
147
+ /**
148
+ * Check if the mode was set as an attribute on <html>
149
+ * which could have been set by the user, or by pre-rendering
150
+ * otherwise get the mode via config settings, and fallback to md.
151
+ */
43
152
  Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
153
+ /**
154
+ * Check if the theme was set as an attribute on <html>
155
+ * which could have been set by the user, or by pre-rendering
156
+ * otherwise get the theme via config settings, and fallback to md.
157
+ */
158
+ Ionic.theme = defaultTheme = config.get('theme', doc.documentElement.getAttribute('theme') || getDefaultThemeForMode(defaultMode));
159
+ if (!isModeValidForTheme(defaultMode, defaultTheme)) {
160
+ printInvalidModeWarning(defaultMode, defaultTheme, configObj);
161
+ defaultMode = getDefaultModeForTheme(defaultTheme);
162
+ }
44
163
  config.set('mode', defaultMode);
45
164
  doc.documentElement.setAttribute('mode', defaultMode);
46
165
  doc.documentElement.classList.add(defaultMode);
166
+ config.set('theme', defaultTheme);
167
+ doc.documentElement.setAttribute('theme', defaultTheme);
168
+ doc.documentElement.classList.add(defaultTheme);
47
169
  if (config.getBoolean('_testing')) {
48
170
  config.set('animated', false);
49
171
  }
50
- const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
51
- const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
52
172
  setMode((elm) => {
173
+ /**
174
+ * Iterate over all the element nodes, to both validate and
175
+ * set the "mode" that is used for determining the styles to
176
+ * apply to the element.
177
+ *
178
+ * setMode refers to Stencil's internal metadata for "mode",
179
+ * which is used to set the correct styleUrl for the component.
180
+ *
181
+ * If the "theme" attribute or property is set, then use it
182
+ * to determine the style sheets to use.
183
+ *
184
+ * If the "mode" attribute or property is set, then use it
185
+ * to determine the style sheets to use. This is fallback
186
+ * behavior for applications that are not setting the "theme".
187
+ */
53
188
  while (elm) {
54
- const elmMode = elm.mode || elm.getAttribute('mode');
189
+ const theme = elm.getAttribute('theme');
190
+ if (theme) {
191
+ if (isThemeSupported(theme)) {
192
+ return theme;
193
+ }
194
+ else if (isIonicElement(elm)) {
195
+ printIonWarning(`Invalid theme: "${theme}". Supported themes include: "ios" or "md".`);
196
+ }
197
+ }
198
+ /**
199
+ * If a theme is not detected, then fallback to using the
200
+ * `mode` attribute to determine the style sheets to use.
201
+ */
202
+ const elmMode = elm.getAttribute('mode');
55
203
  if (elmMode) {
56
- if (isAllowedIonicModeValue(elmMode)) {
204
+ if (isModeSupported(elmMode)) {
57
205
  return elmMode;
58
206
  }
59
207
  else if (isIonicElement(elm)) {
60
- console.warn('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
208
+ printIonWarning(`Invalid mode: "${elmMode}". Ionic modes can be only "ios" or "md"`);
61
209
  }
62
210
  }
63
211
  elm = elm.parentElement;
64
212
  }
65
- return defaultMode;
213
+ return defaultTheme;
66
214
  });
67
215
  };
68
216
  export default initialize;
@@ -27,8 +27,8 @@ export const menuOverlayAnimation = (menu) => {
27
27
  }
28
28
  menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
29
29
  const mode = getIonMode(menu);
30
- const isIos = mode === 'ios';
31
- const opacity = isIos ? 0.2 : 0.25;
30
+ const isIOS = mode === 'ios';
31
+ const opacity = isIOS ? 0.2 : 0.25;
32
32
  backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
33
- return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);
33
+ return baseAnimation(isIOS).addAnimation([menuAnimation, backdropAnimation]);
34
34
  };
@@ -14,6 +14,7 @@ export const menuPushAnimation = (menu) => {
14
14
  let menuClosedX;
15
15
  const mode = getIonMode(menu);
16
16
  const width = menu.width;
17
+ const isIOS = mode === 'ios';
17
18
  if (menu.isEndSide) {
18
19
  contentOpenedX = -width + 'px';
19
20
  menuClosedX = width + 'px';
@@ -29,5 +30,5 @@ export const menuPushAnimation = (menu) => {
29
30
  .addElement(menu.contentEl)
30
31
  .fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
31
32
  const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
32
- return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
33
+ return baseAnimation(isIOS).addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
33
34
  };
@@ -11,9 +11,10 @@ import { baseAnimation } from "./base";
11
11
  */
12
12
  export const menuRevealAnimation = (menu) => {
13
13
  const mode = getIonMode(menu);
14
+ const isIOS = mode === 'ios';
14
15
  const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
15
16
  const contentOpen = createAnimation()
16
17
  .addElement(menu.contentEl) // REVIEW
17
18
  .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
18
- return baseAnimation(mode === 'ios').addAnimation(contentOpen);
19
+ return baseAnimation(isIOS).addAnimation(contentOpen);
19
20
  };