@ionic/core 7.4.2-dev.11695829531.1e5aff3d → 7.4.2-dev.11695832397.13fa6703

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 (428) hide show
  1. package/components/action-sheet.js +2 -2
  2. package/components/button.js +2 -2
  3. package/components/buttons.js +2 -2
  4. package/components/ion-back-button.js +2 -2
  5. package/components/ion-badge.js +2 -2
  6. package/components/ion-breadcrumb.js +2 -2
  7. package/components/ion-card-content.js +2 -2
  8. package/components/ion-card-subtitle.js +2 -2
  9. package/components/ion-card-title.js +2 -2
  10. package/components/ion-card.js +2 -2
  11. package/components/ion-chip.js +3 -8
  12. package/components/ion-content.js +51 -5
  13. package/components/ion-datetime-button.js +2 -2
  14. package/components/ion-datetime.js +3 -3
  15. package/components/ion-header.js +1 -1
  16. package/components/ion-input.js +2 -2
  17. package/components/ion-item-divider.js +2 -2
  18. package/components/ion-item-option.js +2 -2
  19. package/components/ion-item-options.js +2 -2
  20. package/components/ion-loading.js +2 -2
  21. package/components/ion-menu-button.js +2 -2
  22. package/components/ion-nav.js +1 -1
  23. package/components/ion-range.js +2 -2
  24. package/components/ion-reorder.js +2 -2
  25. package/components/ion-router-outlet.js +1 -1
  26. package/components/ion-searchbar.js +3 -9
  27. package/components/ion-tab-bar.js +4 -0
  28. package/components/ion-textarea.js +2 -2
  29. package/components/ion-title.js +2 -2
  30. package/components/ion-toast.js +2 -2
  31. package/components/ion-toolbar.js +1 -1
  32. package/components/ios.transition.js +4 -4
  33. package/components/item.js +2 -2
  34. package/components/label.js +2 -2
  35. package/components/list-header.js +2 -2
  36. package/components/note.js +2 -2
  37. package/css/core.css +0 -101
  38. package/css/core.css.map +1 -1
  39. package/css/display.css +0 -33
  40. package/css/display.css.map +1 -1
  41. package/css/float-elements.css +0 -33
  42. package/css/float-elements.css.map +1 -1
  43. package/css/global.bundle.css +6 -84
  44. package/css/global.bundle.css.map +1 -1
  45. package/css/ionic-swiper.css +0 -33
  46. package/css/ionic-swiper.css.map +1 -1
  47. package/css/ionic.bundle.css +1 -1
  48. package/css/ionic.bundle.css.map +1 -1
  49. package/css/padding.css +0 -33
  50. package/css/padding.css.map +1 -1
  51. package/css/structure.css +0 -33
  52. package/css/structure.css.map +1 -1
  53. package/css/text-alignment.css +0 -33
  54. package/css/text-alignment.css.map +1 -1
  55. package/css/text-transformation.css +0 -33
  56. package/css/text-transformation.css.map +1 -1
  57. package/css/typography.css +6 -51
  58. package/css/typography.css.map +1 -1
  59. package/css/utils.bundle.css +0 -165
  60. package/css/utils.bundle.css.map +1 -1
  61. package/dist/cjs/{index-4e502bd1.js → index-b183138a.js} +2 -2
  62. package/dist/cjs/index.cjs.js +3 -3
  63. package/dist/cjs/ion-action-sheet.cjs.entry.js +2 -2
  64. package/dist/cjs/ion-app_8.cjs.entry.js +57 -11
  65. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  66. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  67. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-card_5.cjs.entry.js +8 -8
  70. package/dist/cjs/ion-chip.cjs.entry.js +2 -7
  71. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  72. package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
  73. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  75. package/dist/cjs/ion-item_8.cjs.entry.js +10 -10
  76. package/dist/cjs/ion-loading.cjs.entry.js +2 -2
  77. package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
  78. package/dist/cjs/ion-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  80. package/dist/cjs/ion-popover.cjs.entry.js +1 -1
  81. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  82. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  83. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -9
  84. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -0
  85. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  86. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  87. package/dist/cjs/ionic.cjs.js +1 -1
  88. package/dist/cjs/{ios.transition-7ff33297.js → ios.transition-4b93903d.js} +5 -5
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/cjs/{md.transition-2224e480.js → md.transition-79f3a215.js} +1 -1
  91. package/dist/collection/components/accordion/accordion.ios.css +0 -66
  92. package/dist/collection/components/accordion/accordion.md.css +0 -33
  93. package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -66
  94. package/dist/collection/components/accordion-group/accordion-group.md.css +0 -99
  95. package/dist/collection/components/action-sheet/action-sheet.ios.css +12 -80
  96. package/dist/collection/components/action-sheet/action-sheet.md.css +8 -76
  97. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -27
  98. package/dist/collection/components/alert/alert.ios.css +0 -99
  99. package/dist/collection/components/alert/alert.md.css +0 -99
  100. package/dist/collection/components/avatar/avatar.ios.css +0 -66
  101. package/dist/collection/components/avatar/avatar.md.css +0 -66
  102. package/dist/collection/components/back-button/back-button.ios.css +1 -83
  103. package/dist/collection/components/back-button/back-button.md.css +3 -75
  104. package/dist/collection/components/backdrop/backdrop.ios.css +0 -66
  105. package/dist/collection/components/backdrop/backdrop.md.css +0 -66
  106. package/dist/collection/components/badge/badge.ios.css +1 -75
  107. package/dist/collection/components/badge/badge.md.css +1 -67
  108. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +3 -80
  109. package/dist/collection/components/breadcrumb/breadcrumb.md.css +3 -69
  110. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -33
  111. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -33
  112. package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -21
  113. package/dist/collection/components/button/button.ios.css +19 -118
  114. package/dist/collection/components/button/button.md.css +3 -69
  115. package/dist/collection/components/buttons/buttons.ios.css +3 -102
  116. package/dist/collection/components/buttons/buttons.md.css +2 -101
  117. package/dist/collection/components/card/card.ios.css +1 -67
  118. package/dist/collection/components/card/card.md.css +1 -67
  119. package/dist/collection/components/card-content/card-content.ios.css +5 -71
  120. package/dist/collection/components/card-content/card-content.md.css +5 -71
  121. package/dist/collection/components/card-header/card-header.ios.css +0 -66
  122. package/dist/collection/components/card-header/card-header.md.css +0 -66
  123. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +1 -67
  124. package/dist/collection/components/card-subtitle/card-subtitle.md.css +1 -67
  125. package/dist/collection/components/card-title/card-title.ios.css +1 -67
  126. package/dist/collection/components/card-title/card-title.md.css +1 -67
  127. package/dist/collection/components/checkbox/checkbox.ios.css +0 -99
  128. package/dist/collection/components/checkbox/checkbox.md.css +0 -99
  129. package/dist/collection/components/chip/{chip.md.css → chip.css} +7 -43
  130. package/dist/collection/components/chip/chip.js +2 -4
  131. package/dist/collection/components/col/col.css +0 -66
  132. package/dist/collection/components/content/content.css +0 -33
  133. package/dist/collection/components/content/content.js +50 -10
  134. package/dist/collection/components/datetime/datetime.ios.css +7 -198
  135. package/dist/collection/components/datetime/datetime.js +1 -1
  136. package/dist/collection/components/datetime/datetime.md.css +5 -97
  137. package/dist/collection/components/datetime-button/datetime-button.css +2 -36
  138. package/dist/collection/components/fab/fab.css +0 -66
  139. package/dist/collection/components/fab-button/fab-button.ios.css +0 -66
  140. package/dist/collection/components/fab-button/fab-button.md.css +0 -66
  141. package/dist/collection/components/fab-list/fab-list.css +0 -66
  142. package/dist/collection/components/footer/footer.ios.css +0 -66
  143. package/dist/collection/components/footer/footer.md.css +0 -66
  144. package/dist/collection/components/grid/grid.css +0 -66
  145. package/dist/collection/components/header/header.ios.css +2 -71
  146. package/dist/collection/components/header/header.md.css +0 -66
  147. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -66
  148. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -66
  149. package/dist/collection/components/input/input.ios.css +1 -100
  150. package/dist/collection/components/input/input.md.css +1 -199
  151. package/dist/collection/components/input/test/a11y/input.e2e.js +1 -15
  152. package/dist/collection/components/item/item.ios.css +4 -70
  153. package/dist/collection/components/item/item.md.css +6 -138
  154. package/dist/collection/components/item/test/a11y/item.e2e.js +1 -116
  155. package/dist/collection/components/item-divider/item-divider.ios.css +9 -101
  156. package/dist/collection/components/item-divider/item-divider.md.css +11 -103
  157. package/dist/collection/components/item-group/item-group.ios.css +1 -68
  158. package/dist/collection/components/item-group/item-group.md.css +1 -68
  159. package/dist/collection/components/item-option/item-option.ios.css +1 -67
  160. package/dist/collection/components/item-option/item-option.md.css +1 -67
  161. package/dist/collection/components/item-options/item-options.ios.css +1 -99
  162. package/dist/collection/components/item-options/item-options.md.css +1 -99
  163. package/dist/collection/components/item-sliding/item-sliding.css +0 -33
  164. package/dist/collection/components/label/label.ios.css +6 -105
  165. package/dist/collection/components/label/label.md.css +5 -104
  166. package/dist/collection/components/list/list.ios.css +0 -99
  167. package/dist/collection/components/list/list.md.css +0 -99
  168. package/dist/collection/components/list-header/list-header.ios.css +1 -100
  169. package/dist/collection/components/list-header/list-header.md.css +1 -100
  170. package/dist/collection/components/loading/loading.ios.css +1 -67
  171. package/dist/collection/components/loading/loading.md.css +1 -67
  172. package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -19
  173. package/dist/collection/components/menu/menu.ios.css +0 -66
  174. package/dist/collection/components/menu/menu.md.css +0 -66
  175. package/dist/collection/components/menu-button/menu-button.ios.css +2 -70
  176. package/dist/collection/components/menu-button/menu-button.md.css +3 -71
  177. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +1 -20
  178. package/dist/collection/components/modal/modal.ios.css +0 -66
  179. package/dist/collection/components/modal/modal.md.css +0 -66
  180. package/dist/collection/components/nav/nav.css +0 -34
  181. package/dist/collection/components/note/note.ios.css +0 -67
  182. package/dist/collection/components/note/note.md.css +1 -67
  183. package/dist/collection/components/picker/picker.ios.css +0 -66
  184. package/dist/collection/components/picker/picker.md.css +0 -66
  185. package/dist/collection/components/picker-column/picker-column.ios.css +0 -66
  186. package/dist/collection/components/picker-column/picker-column.md.css +0 -66
  187. package/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +0 -33
  188. package/dist/collection/components/picker-column-internal/picker-column-internal.md.css +0 -66
  189. package/dist/collection/components/picker-internal/picker-internal.ios.css +0 -66
  190. package/dist/collection/components/picker-internal/picker-internal.md.css +0 -66
  191. package/dist/collection/components/popover/popover.ios.css +0 -66
  192. package/dist/collection/components/popover/popover.md.css +0 -66
  193. package/dist/collection/components/progress-bar/progress-bar.ios.css +0 -33
  194. package/dist/collection/components/progress-bar/progress-bar.md.css +0 -33
  195. package/dist/collection/components/radio/radio.ios.css +0 -99
  196. package/dist/collection/components/radio/radio.md.css +0 -99
  197. package/dist/collection/components/range/range.ios.css +8 -82
  198. package/dist/collection/components/range/range.md.css +11 -99
  199. package/dist/collection/components/range/test/a11y/range.e2e.js +0 -22
  200. package/dist/collection/components/refresher/refresher.ios.css +0 -66
  201. package/dist/collection/components/refresher/refresher.md.css +0 -66
  202. package/dist/collection/components/reorder/reorder.ios.css +2 -75
  203. package/dist/collection/components/reorder/reorder.md.css +2 -75
  204. package/dist/collection/components/reorder-group/reorder-group.css +0 -33
  205. package/dist/collection/components/ripple-effect/ripple-effect.css +0 -33
  206. package/dist/collection/components/router-link/router-link.css +0 -33
  207. package/dist/collection/components/router-outlet/router-outlet.css +0 -34
  208. package/dist/collection/components/row/row.css +0 -66
  209. package/dist/collection/components/searchbar/searchbar.ios.css +16 -95
  210. package/dist/collection/components/searchbar/searchbar.js +1 -7
  211. package/dist/collection/components/searchbar/searchbar.md.css +10 -77
  212. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -18
  213. package/dist/collection/components/segment/segment.ios.css +0 -99
  214. package/dist/collection/components/segment/segment.md.css +0 -99
  215. package/dist/collection/components/segment-button/segment-button.ios.css +0 -66
  216. package/dist/collection/components/segment-button/segment-button.md.css +0 -66
  217. package/dist/collection/components/select/select.ios.css +0 -99
  218. package/dist/collection/components/select/select.md.css +0 -165
  219. package/dist/collection/components/select-popover/select-popover.ios.css +1 -101
  220. package/dist/collection/components/select-popover/select-popover.md.css +0 -99
  221. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -33
  222. package/dist/collection/components/spinner/spinner.css +0 -33
  223. package/dist/collection/components/split-pane/split-pane.ios.css +0 -99
  224. package/dist/collection/components/split-pane/split-pane.md.css +0 -99
  225. package/dist/collection/components/tab-bar/tab-bar.ios.css +0 -99
  226. package/dist/collection/components/tab-bar/tab-bar.js +21 -0
  227. package/dist/collection/components/tab-bar/tab-bar.md.css +0 -99
  228. package/dist/collection/components/tab-button/tab-button.ios.css +0 -66
  229. package/dist/collection/components/tab-button/tab-button.md.css +0 -66
  230. package/dist/collection/components/tabs/tabs.css +0 -33
  231. package/dist/collection/components/text/text.css +0 -33
  232. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +1 -15
  233. package/dist/collection/components/textarea/textarea.ios.css +1 -133
  234. package/dist/collection/components/textarea/textarea.md.css +1 -199
  235. package/dist/collection/components/thumbnail/thumbnail.css +0 -33
  236. package/dist/collection/components/title/title.ios.css +10 -44
  237. package/dist/collection/components/title/title.md.css +2 -35
  238. package/dist/collection/components/toast/test/a11y/toast.e2e.js +1 -98
  239. package/dist/collection/components/toast/toast.ios.css +3 -74
  240. package/dist/collection/components/toast/toast.md.css +4 -74
  241. package/dist/collection/components/toggle/toggle.ios.css +0 -99
  242. package/dist/collection/components/toggle/toggle.md.css +0 -99
  243. package/dist/collection/components/toolbar/toolbar.ios.css +14 -66
  244. package/dist/collection/components/toolbar/toolbar.md.css +0 -66
  245. package/dist/collection/utils/transition/ios.transition.js +4 -4
  246. package/dist/docs.json +1 -7
  247. package/dist/esm/{index-39bc1180.js → index-87684bba.js} +2 -2
  248. package/dist/esm/index.js +3 -3
  249. package/dist/esm/ion-action-sheet.entry.js +2 -2
  250. package/dist/esm/ion-app_8.entry.js +58 -12
  251. package/dist/esm/ion-avatar_3.entry.js +2 -2
  252. package/dist/esm/ion-back-button.entry.js +2 -2
  253. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  254. package/dist/esm/ion-button_2.entry.js +2 -2
  255. package/dist/esm/ion-card_5.entry.js +8 -8
  256. package/dist/esm/ion-chip.entry.js +2 -7
  257. package/dist/esm/ion-datetime-button.entry.js +2 -2
  258. package/dist/esm/ion-datetime_3.entry.js +3 -3
  259. package/dist/esm/ion-input.entry.js +2 -2
  260. package/dist/esm/ion-item-option_3.entry.js +4 -4
  261. package/dist/esm/ion-item_8.entry.js +10 -10
  262. package/dist/esm/ion-loading.entry.js +2 -2
  263. package/dist/esm/ion-menu_3.entry.js +2 -2
  264. package/dist/esm/ion-modal.entry.js +1 -1
  265. package/dist/esm/ion-nav_2.entry.js +2 -2
  266. package/dist/esm/ion-popover.entry.js +1 -1
  267. package/dist/esm/ion-range.entry.js +2 -2
  268. package/dist/esm/ion-reorder_2.entry.js +2 -2
  269. package/dist/esm/ion-searchbar.entry.js +3 -9
  270. package/dist/esm/ion-tab-bar_2.entry.js +4 -0
  271. package/dist/esm/ion-textarea.entry.js +2 -2
  272. package/dist/esm/ion-toast.entry.js +2 -2
  273. package/dist/esm/ionic.js +1 -1
  274. package/dist/esm/{ios.transition-72ffa6ed.js → ios.transition-81e1aed6.js} +5 -5
  275. package/dist/esm/loader.js +1 -1
  276. package/dist/esm/{md.transition-e6a907d4.js → md.transition-5becd8b5.js} +1 -1
  277. package/dist/esm-es5/{index-39bc1180.js → index-87684bba.js} +1 -1
  278. package/dist/esm-es5/index.js +1 -1
  279. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  280. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  281. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  282. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  283. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  284. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  285. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  286. package/dist/esm-es5/ion-chip.entry.js +1 -1
  287. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  288. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  289. package/dist/esm-es5/ion-input.entry.js +1 -1
  290. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  291. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  292. package/dist/esm-es5/ion-loading.entry.js +1 -1
  293. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  294. package/dist/esm-es5/ion-modal.entry.js +1 -1
  295. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  296. package/dist/esm-es5/ion-popover.entry.js +1 -1
  297. package/dist/esm-es5/ion-range.entry.js +1 -1
  298. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  299. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  300. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  301. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  302. package/dist/esm-es5/ion-toast.entry.js +1 -1
  303. package/dist/esm-es5/ionic.js +1 -1
  304. package/dist/esm-es5/ios.transition-81e1aed6.js +4 -0
  305. package/dist/esm-es5/loader.js +1 -1
  306. package/dist/esm-es5/{md.transition-e6a907d4.js → md.transition-5becd8b5.js} +1 -1
  307. package/dist/ionic/index.esm.js +1 -1
  308. package/dist/ionic/ionic.esm.js +1 -1
  309. package/dist/ionic/p-09e15a2a.system.entry.js +4 -0
  310. package/dist/ionic/p-0bd3cc92.entry.js +4 -0
  311. package/dist/ionic/{p-380ef450.entry.js → p-13a91505.entry.js} +1 -1
  312. package/dist/ionic/p-1a36bf45.system.entry.js +4 -0
  313. package/dist/ionic/p-1bce805b.entry.js +4 -0
  314. package/dist/ionic/p-1c406ee0.system.entry.js +4 -0
  315. package/dist/ionic/p-1f6ac05b.system.entry.js +4 -0
  316. package/dist/ionic/p-20e5eb3e.entry.js +4 -0
  317. package/dist/ionic/{p-2e93e3db.entry.js → p-27614d55.entry.js} +1 -1
  318. package/dist/ionic/{p-7ea21b21.system.entry.js → p-37456282.system.entry.js} +1 -1
  319. package/dist/ionic/p-3c0b06ef.system.entry.js +4 -0
  320. package/dist/ionic/p-3cbcb899.entry.js +4 -0
  321. package/dist/ionic/{p-2f1ba678.system.entry.js → p-40e16caa.system.entry.js} +1 -1
  322. package/dist/ionic/p-4616f20a.system.entry.js +4 -0
  323. package/dist/ionic/{p-784863dd.entry.js → p-4912b933.entry.js} +1 -1
  324. package/dist/ionic/p-568fec78.entry.js +4 -0
  325. package/dist/ionic/p-5c8c9748.system.entry.js +4 -0
  326. package/dist/ionic/p-5e0cf844.system.entry.js +4 -0
  327. package/dist/ionic/p-5e2dc8e0.js +4 -0
  328. package/dist/ionic/p-60838ce3.system.entry.js +4 -0
  329. package/dist/ionic/{p-e64ce6ad.system.entry.js → p-65a4c12f.system.entry.js} +1 -1
  330. package/dist/ionic/p-67c441fa.entry.js +4 -0
  331. package/dist/ionic/p-6ba07931.system.entry.js +4 -0
  332. package/dist/ionic/p-6ca0e4b2.system.entry.js +4 -0
  333. package/dist/ionic/p-6edbc09b.system.js +1 -1
  334. package/dist/ionic/p-72a1cbc7.js +4 -0
  335. package/dist/ionic/p-73f50e29.system.js +4 -0
  336. package/dist/ionic/p-78a293a5.js +4 -0
  337. package/dist/ionic/p-7dc0ee11.system.entry.js +4 -0
  338. package/dist/ionic/p-7e46b6ab.entry.js +4 -0
  339. package/dist/ionic/p-7e9e16bf.system.entry.js +4 -0
  340. package/dist/ionic/p-82da795c.system.entry.js +4 -0
  341. package/dist/ionic/p-82f58c25.system.entry.js +4 -0
  342. package/dist/ionic/p-875a2dce.entry.js +4 -0
  343. package/dist/ionic/p-88ad9cb6.entry.js +4 -0
  344. package/dist/ionic/{p-f39999bb.system.js → p-8fdd4a2f.system.js} +1 -1
  345. package/dist/ionic/{p-ca9b6832.system.js → p-918d5f19.system.js} +1 -1
  346. package/dist/ionic/p-a6d8476b.system.entry.js +4 -0
  347. package/dist/ionic/{p-3b104ae6.entry.js → p-a720dc73.entry.js} +1 -1
  348. package/dist/ionic/{p-442f2497.system.js → p-b098f738.system.js} +1 -1
  349. package/dist/ionic/p-b0dd4f33.entry.js +4 -0
  350. package/dist/ionic/p-b49fe110.entry.js +4 -0
  351. package/dist/ionic/{p-2a393411.entry.js → p-b95fd3c6.entry.js} +1 -1
  352. package/dist/ionic/p-c4d08d6d.system.entry.js +4 -0
  353. package/dist/ionic/{p-c68b68b1.entry.js → p-cc3aa152.entry.js} +1 -1
  354. package/dist/ionic/p-cd675d89.system.entry.js +4 -0
  355. package/dist/ionic/p-ce24ddd7.system.entry.js +4 -0
  356. package/dist/ionic/p-d8b2c214.entry.js +4 -0
  357. package/dist/ionic/p-de0f1af2.system.entry.js +4 -0
  358. package/dist/ionic/p-de676d36.system.entry.js +4 -0
  359. package/dist/ionic/p-ea88031d.entry.js +4 -0
  360. package/dist/ionic/p-ebaeeee8.entry.js +4 -0
  361. package/dist/ionic/{p-09babc88.entry.js → p-ee6d9730.entry.js} +1 -1
  362. package/dist/ionic/p-f0dcf99b.entry.js +4 -0
  363. package/dist/ionic/{p-2c35490e.entry.js → p-f8f60fbf.entry.js} +1 -1
  364. package/dist/ionic/p-f920f5ca.entry.js +4 -0
  365. package/dist/types/components/content/content.d.ts +2 -1
  366. package/dist/types/components/tab-bar/tab-bar.d.ts +8 -0
  367. package/hydrate/index.js +123 -84
  368. package/package.json +2 -2
  369. package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -26
  370. package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -22
  371. package/dist/collection/components/button/test/a11y/button.e2e.js +0 -61
  372. package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
  373. package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
  374. package/dist/collection/components/chip/chip.ios.css +0 -190
  375. package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
  376. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -28
  377. package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
  378. package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
  379. package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -34
  380. package/dist/collection/components/label/test/a11y/label.e2e.js +0 -66
  381. package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
  382. package/dist/collection/components/note/test/a11y/note.e2e.js +0 -52
  383. package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
  384. package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
  385. package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
  386. package/dist/collection/css/test/a11y/typography.e2e.js +0 -32
  387. package/dist/esm-es5/ios.transition-72ffa6ed.js +0 -4
  388. package/dist/ionic/p-06c29a8b.entry.js +0 -4
  389. package/dist/ionic/p-0c535e5a.system.entry.js +0 -4
  390. package/dist/ionic/p-160d0dfd.system.entry.js +0 -4
  391. package/dist/ionic/p-18848294.entry.js +0 -4
  392. package/dist/ionic/p-1c1c18b3.system.entry.js +0 -4
  393. package/dist/ionic/p-1f82997d.system.entry.js +0 -4
  394. package/dist/ionic/p-234a7edb.js +0 -4
  395. package/dist/ionic/p-2b8cd28f.entry.js +0 -4
  396. package/dist/ionic/p-3ae2faf0.entry.js +0 -4
  397. package/dist/ionic/p-4342501d.entry.js +0 -4
  398. package/dist/ionic/p-450fe187.system.entry.js +0 -4
  399. package/dist/ionic/p-4d0eb845.system.entry.js +0 -4
  400. package/dist/ionic/p-4e4bedbd.entry.js +0 -4
  401. package/dist/ionic/p-50d2e748.js +0 -4
  402. package/dist/ionic/p-5a5ff46b.system.entry.js +0 -4
  403. package/dist/ionic/p-5c790762.system.js +0 -4
  404. package/dist/ionic/p-5e84b718.system.entry.js +0 -4
  405. package/dist/ionic/p-622d7b0e.system.entry.js +0 -4
  406. package/dist/ionic/p-6aa5065e.entry.js +0 -4
  407. package/dist/ionic/p-6f940aec.system.entry.js +0 -4
  408. package/dist/ionic/p-7302a3e1.entry.js +0 -4
  409. package/dist/ionic/p-86859d57.system.entry.js +0 -4
  410. package/dist/ionic/p-8d5c7b4e.system.entry.js +0 -4
  411. package/dist/ionic/p-8e06ca5e.entry.js +0 -4
  412. package/dist/ionic/p-9493d5e8.system.entry.js +0 -4
  413. package/dist/ionic/p-972817e1.js +0 -4
  414. package/dist/ionic/p-9ad5893a.entry.js +0 -4
  415. package/dist/ionic/p-af14deab.system.entry.js +0 -4
  416. package/dist/ionic/p-b2215bd4.entry.js +0 -4
  417. package/dist/ionic/p-b8846173.entry.js +0 -4
  418. package/dist/ionic/p-bb8365af.system.entry.js +0 -4
  419. package/dist/ionic/p-be22efa8.entry.js +0 -4
  420. package/dist/ionic/p-c3d501f5.system.entry.js +0 -4
  421. package/dist/ionic/p-c872a0a0.entry.js +0 -4
  422. package/dist/ionic/p-daf85ebe.entry.js +0 -4
  423. package/dist/ionic/p-df16bb3f.system.entry.js +0 -4
  424. package/dist/ionic/p-e8fa3573.system.entry.js +0 -4
  425. package/dist/ionic/p-edbec144.entry.js +0 -4
  426. package/dist/ionic/p-f474437d.system.entry.js +0 -4
  427. package/dist/ionic/p-f9ef5c4a.system.entry.js +0 -4
  428. package/dist/ionic/p-fa1a57ae.system.entry.js +0 -4
@@ -1,69 +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
- /**
35
- * Convert a font size to a dynamic font size.
36
- * Fonts that participate in Dynamic Type should use
37
- * dynamic font sizes.
38
- * @param size - The initial font size including the unit (i.e. px or pt)
39
- * @param unit (optional) - The unit to convert to. Use this if you want to
40
- * convert to a unit other than $baselineUnit.
41
- */
42
- /**
43
- * Convert a font size to a dynamic font size but impose
44
- * a maximum font size.
45
- * @param size - The initial font size including the unit (i.e. px or pt)
46
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
47
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
48
- * convert to a unit other than $baselineUnit.
49
- */
50
- /**
51
- * Convert a font size to a dynamic font size but impose
52
- * a minimum font size.
53
- * @param size - The initial font size including the unit (i.e. px or pt)
54
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
55
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
56
- * convert to a unit other than $baselineUnit.
57
- */
58
- /**
59
- * Convert a font size to a dynamic font size but impose
60
- * maximum and minimum font sizes.
61
- * @param size - The initial font size including the unit (i.e. px or pt)
62
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
63
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
64
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
65
- * convert to a unit other than $baselineUnit.
66
- */
67
1
  :host {
68
2
  /**
69
3
  * @prop --ion-grid-columns: The number of total Columns in the Grid
@@ -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
  :host {
35
2
  /**
36
3
  * @prop --background: Background of the content
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Build, Host, forceUpdate, h, readTask } from "@stencil/core";
5
- import { componentOnReady } from "../../utils/helpers";
5
+ import { componentOnReady, hasLazyBuild } from "../../utils/helpers";
6
6
  import { isPlatform } from "../../utils/platform";
7
7
  import { isRTL } from "../../utils/rtl/index";
8
8
  import { createColorClasses, hostContext } from "../../utils/theme";
@@ -24,6 +24,7 @@ export class Content {
24
24
  this.cBottom = -1;
25
25
  this.isMainContent = true;
26
26
  this.resizeTimeout = null;
27
+ this.tabsElement = null;
27
28
  // Detail is used in a hot loop in the scroll event, by allocating it here
28
29
  // V8 will be able to inline any read/write to it since it's a monomorphic class.
29
30
  // https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html
@@ -54,12 +55,57 @@ export class Content {
54
55
  }
55
56
  connectedCallback() {
56
57
  this.isMainContent = this.el.closest('ion-menu, ion-popover, ion-modal') === null;
58
+ /**
59
+ * The fullscreen content offsets need to be
60
+ * computed after the tab bar has loaded. Since
61
+ * lazy evaluation means components are not hydrated
62
+ * at the same time, we need to wait for the ionTabBarLoaded
63
+ * event to fire. This does not impact dist-custom-elements
64
+ * because there is no hydration there.
65
+ */
66
+ if (hasLazyBuild(this.el)) {
67
+ /**
68
+ * We need to cache the reference to the tabs.
69
+ * If just the content is unmounted then we won't
70
+ * be able to query for the closest tabs on disconnectedCallback
71
+ * since the content has been removed from the DOM tree.
72
+ */
73
+ const closestTabs = (this.tabsElement = this.el.closest('ion-tabs'));
74
+ if (closestTabs !== null) {
75
+ /**
76
+ * When adding and removing the event listener
77
+ * we need to make sure we pass the same function reference
78
+ * otherwise the event listener will not be removed properly.
79
+ * We can't only pass `this.resize` because "this" in the function
80
+ * context becomes a reference to IonTabs instead of IonContent.
81
+ *
82
+ * Additionally, we listen for ionTabBarLoaded on the IonTabs
83
+ * instance rather than the IonTabBar instance. It's possible for
84
+ * a tab bar to be conditionally rendered/mounted. Since ionTabBarLoaded
85
+ * bubbles, we can catch any instances of child tab bars loading by listening
86
+ * on IonTabs.
87
+ */
88
+ this.tabsLoadCallback = () => this.resize();
89
+ closestTabs.addEventListener('ionTabBarLoaded', this.tabsLoadCallback);
90
+ }
91
+ }
57
92
  }
58
93
  disconnectedCallback() {
59
94
  this.onScrollEnd();
60
- }
61
- onAppLoad() {
62
- this.resize();
95
+ if (hasLazyBuild(this.el)) {
96
+ /**
97
+ * The event listener and tabs caches need to
98
+ * be cleared otherwise this will create a memory
99
+ * leak where the IonTabs instance can never be
100
+ * garbage collected.
101
+ */
102
+ const { tabsElement, tabsLoadCallback } = this;
103
+ if (tabsElement !== null && tabsLoadCallback !== undefined) {
104
+ tabsElement.removeEventListener('ionTabBarLoaded', tabsLoadCallback);
105
+ }
106
+ this.tabsElement = null;
107
+ this.tabsLoadCallback = undefined;
108
+ }
63
109
  }
64
110
  /**
65
111
  * Rotating certain devices can update
@@ -691,12 +737,6 @@ export class Content {
691
737
  static get elementRef() { return "el"; }
692
738
  static get listeners() {
693
739
  return [{
694
- "name": "appload",
695
- "method": "onAppLoad",
696
- "target": "window",
697
- "capture": false,
698
- "passive": false
699
- }, {
700
740
  "name": "resize",
701
741
  "method": "onResize",
702
742
  "target": "window",
@@ -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
  :host {
35
2
  /**
36
3
  * @prop --background: The primary background of the datetime component.
@@ -253,18 +220,6 @@ ion-picker-column-internal {
253
220
  justify-content: space-between;
254
221
  }
255
222
 
256
- /**
257
- * The confirm and clear buttons are grouped in a
258
- * container so that they appear on the end opposite
259
- * of the cancel button.
260
- * We use display: flex so that the
261
- * wrapper only takes up as much
262
- * height as it needs.
263
- */
264
- .datetime-action-buttons .datetime-action-buttons-container {
265
- display: flex;
266
- }
267
-
268
223
  /**
269
224
  * Date/Year button should be on
270
225
  * the opposite side of the component
@@ -300,20 +255,6 @@ ion-picker-column-internal {
300
255
  text-align: center;
301
256
  }
302
257
 
303
- .calendar-days-of-week .day-of-week {
304
- /**
305
- * Center the days of the week within each cell
306
- * if the container size is changed as a result
307
- * of Dynamic Type.
308
- */
309
- -webkit-margin-start: auto;
310
- margin-inline-start: auto;
311
- -webkit-margin-end: auto;
312
- margin-inline-end: auto;
313
- margin-top: 0;
314
- margin-bottom: 0;
315
- }
316
-
317
258
  :host .calendar-body {
318
259
  /**
319
260
  * Show all calendar months inline
@@ -388,7 +329,7 @@ ion-picker-column-internal {
388
329
  * Center the day text vertically
389
330
  * and horizontally within its grid cell.
390
331
  */
391
- .calendar-day {
332
+ :host .calendar-day {
392
333
  border-radius: 50%;
393
334
  -webkit-padding-start: 0px;
394
335
  padding-inline-start: 0px;
@@ -477,39 +418,6 @@ ion-picker-column-internal {
477
418
  --color: var(--ion-color-base);
478
419
  }
479
420
 
480
- /**
481
- * Convert a font size to a dynamic font size.
482
- * Fonts that participate in Dynamic Type should use
483
- * dynamic font sizes.
484
- * @param size - The initial font size including the unit (i.e. px or pt)
485
- * @param unit (optional) - The unit to convert to. Use this if you want to
486
- * convert to a unit other than $baselineUnit.
487
- */
488
- /**
489
- * Convert a font size to a dynamic font size but impose
490
- * a maximum font size.
491
- * @param size - The initial font size including the unit (i.e. px or pt)
492
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
493
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
494
- * convert to a unit other than $baselineUnit.
495
- */
496
- /**
497
- * Convert a font size to a dynamic font size but impose
498
- * a minimum font size.
499
- * @param size - The initial font size including the unit (i.e. px or pt)
500
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
501
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
502
- * convert to a unit other than $baselineUnit.
503
- */
504
- /**
505
- * Convert a font size to a dynamic font size but impose
506
- * maximum and minimum font sizes.
507
- * @param size - The initial font size including the unit (i.e. px or pt)
508
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
509
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
510
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
511
- * convert to a unit other than $baselineUnit.
512
- */
513
421
  :host {
514
422
  --background: var(--ion-color-light, #ffffff);
515
423
  --background-rgb: var(--ion-color-light-rgb);
@@ -530,7 +438,7 @@ ion-picker-column-internal {
530
438
  padding-top: 16px;
531
439
  padding-bottom: 16px;
532
440
  border-bottom: 0.55px solid var(--ion-color-step-200, #cccccc);
533
- font-size: min(0.875rem, 22.4px);
441
+ font-size: 14px;
534
442
  }
535
443
 
536
444
  :host .datetime-header .datetime-title {
@@ -545,7 +453,7 @@ ion-picker-column-internal {
545
453
  --padding-start: 16px;
546
454
  --background-hover: transparent;
547
455
  --background-activated: transparent;
548
- font-size: min(1rem, 25.6px);
456
+ font-size: 16px;
549
457
  font-weight: 600;
550
458
  }
551
459
 
@@ -576,111 +484,12 @@ ion-picker-column-internal {
576
484
  padding-top: 0;
577
485
  padding-bottom: 0;
578
486
  color: var(--ion-color-step-300, #b3b3b3);
579
- font-size: min(0.75rem, 19.2px);
487
+ font-size: 12px;
580
488
  font-weight: 600;
581
489
  line-height: 24px;
582
490
  text-transform: uppercase;
583
491
  }
584
492
 
585
- @supports (border-radius: mod(1px, 1px)) {
586
- .calendar-days-of-week .day-of-week {
587
- /**
588
- * When the computed font size is 24px
589
- * we want the days of the week to only
590
- * show the first letter of each day.
591
- *
592
- * We use the modulus operator to ensure
593
- * that any font size less than 24px is
594
- * unchanged (i.e. 16 % 24 = 16). If the
595
- * font size is 24px then the remainder
596
- * will be 0.
597
- */
598
- /**
599
- * From here, we scale the remainder to get
600
- * a width value larger than 20px.
601
- * We then clamp the width to have a max width
602
- * of 100% so that each element does not appear
603
- * too wide if $width is a very large number.
604
- *
605
- * When the font size is >=24px then $remainder
606
- * will be 0px. This results in $width being 0px
607
- * since 0px * 10 is still 0px. We set a minimum
608
- * width of 20px below so that the days of the
609
- * week still show when the font size is >=24px
610
- * and have a fixed width of 20px.
611
- *
612
- * The days of the week text on iOS have a maximum font size
613
- * that is no larger than 20px, so setting a minimum width
614
- * of 20px ensures that the text will always fit. (See font-size
615
- * declaration in the .calendar-days-of-week block).
616
- */
617
- width: clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);
618
- /**
619
- * We show the first letter of the week
620
- * by setting the width small such that all other
621
- * letters wrap to the next line. While we do have
622
- * overflow: hidden to visually hide the overflowing
623
- * text, we need to explicitly set the height of the
624
- * container too otherwise it will increase as the text wraps.
625
- */
626
- height: 24px;
627
- /**
628
- * The above width will cause
629
- * all the other letters to overflow
630
- * to other lines. The below code hides
631
- * those additional letters so only
632
- * the first letter is shown.
633
- */
634
- overflow: hidden;
635
- }
636
- .calendar-day {
637
- /**
638
- * We use the modulus operator to ensure
639
- * that any font size less than 24px is
640
- * unchanged (i.e. 16 % 24 = 16). If the
641
- * font size is 24px then the remainder
642
- * will be 0.
643
- */
644
- /**
645
- * From here, we scale the remainder. The purpose of
646
- * scaling the remainder is to get a border radius
647
- * large enough such that the element's
648
- * shape is a circle.
649
- *
650
- * Note that when the font size is 24px
651
- * then the remainder will be 0, so $radius
652
- * will still be zero.
653
- */
654
- /**
655
- * In the event that $radius is 0
656
- * we use max() to ensure a minimum
657
- * border radius of 8px which will
658
- * give the day button the rounded
659
- * rectangle appearance.
660
- * For font sizes smaller than 24px
661
- * the border radius will give a circle appearance.
662
- */
663
- border-radius: max(8px, mod(min(1rem, 24px), 24px) * 10);
664
- }
665
- }
666
- /**
667
- * iOS <17 has a bug where the result of mod() is
668
- * used incorrectly if used inside of another CSS function such
669
- * as calc(). The first set of @support checks accounts for iOS <17.
670
- * We check -webkit-named-image to ensure that non-WebKit browsers are ignored.
671
- * The second set of @support checks account for all other browsers that
672
- * do not support mod() yet.
673
- */
674
- @supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))) {
675
- .calendar-days-of-week .day-of-week {
676
- width: auto;
677
- height: auto;
678
- overflow: initial;
679
- }
680
- .calendar-day {
681
- border-radius: 32px;
682
- }
683
- }
684
493
  :host .calendar-body .calendar-month .calendar-month-grid {
685
494
  /**
686
495
  * We need to apply the padding to
@@ -707,14 +516,14 @@ ion-picker-column-internal {
707
516
  padding-top: 4px;
708
517
  padding-bottom: 4px;
709
518
  height: 0;
710
- min-height: 1rem;
519
+ min-height: 16px;
711
520
  }
712
521
 
713
522
  :host .calendar-day {
714
523
  width: 40px;
715
524
  min-width: 40px;
716
525
  height: 40px;
717
- font-size: min(1.25rem, 32px);
526
+ font-size: 20px;
718
527
  }
719
528
 
720
529
  .calendar-day.calendar-day-active {
@@ -754,7 +563,7 @@ ion-picker-column-internal {
754
563
  padding-inline-end: 16px;
755
564
  padding-top: 8px;
756
565
  padding-bottom: 16px;
757
- font-size: min(1rem, 25.6px);
566
+ font-size: 16px;
758
567
  }
759
568
 
760
569
  :host .datetime-time .time-header {
@@ -933,7 +933,7 @@ export class Datetime {
933
933
  return (h("div", { class: "datetime-footer" }, h("div", { class: "datetime-buttons" }, h("div", { class: {
934
934
  ['datetime-action-buttons']: true,
935
935
  ['has-clear-button']: this.showClearButton,
936
- } }, h("slot", { name: "buttons" }, h("ion-buttons", null, showDefaultButtons && (h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true) }, this.cancelText)), h("div", { class: "datetime-action-buttons-container" }, showClearButton && (h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick() }, this.clearText)), showDefaultButtons && (h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true) }, this.doneText)))))))));
936
+ } }, h("slot", { name: "buttons" }, h("ion-buttons", null, showDefaultButtons && (h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true) }, this.cancelText)), h("div", null, showClearButton && (h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick() }, this.clearText)), showDefaultButtons && (h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true) }, this.doneText)))))))));
937
937
  }
938
938
  /**
939
939
  * Wheel picker render methods
@@ -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
  :host {
35
2
  /**
36
3
  * @prop --background: The primary background of the datetime component.
@@ -253,18 +220,6 @@ ion-picker-column-internal {
253
220
  justify-content: space-between;
254
221
  }
255
222
 
256
- /**
257
- * The confirm and clear buttons are grouped in a
258
- * container so that they appear on the end opposite
259
- * of the cancel button.
260
- * We use display: flex so that the
261
- * wrapper only takes up as much
262
- * height as it needs.
263
- */
264
- .datetime-action-buttons .datetime-action-buttons-container {
265
- display: flex;
266
- }
267
-
268
223
  /**
269
224
  * Date/Year button should be on
270
225
  * the opposite side of the component
@@ -300,20 +255,6 @@ ion-picker-column-internal {
300
255
  text-align: center;
301
256
  }
302
257
 
303
- .calendar-days-of-week .day-of-week {
304
- /**
305
- * Center the days of the week within each cell
306
- * if the container size is changed as a result
307
- * of Dynamic Type.
308
- */
309
- -webkit-margin-start: auto;
310
- margin-inline-start: auto;
311
- -webkit-margin-end: auto;
312
- margin-inline-end: auto;
313
- margin-top: 0;
314
- margin-bottom: 0;
315
- }
316
-
317
258
  :host .calendar-body {
318
259
  /**
319
260
  * Show all calendar months inline
@@ -388,7 +329,7 @@ ion-picker-column-internal {
388
329
  * Center the day text vertically
389
330
  * and horizontally within its grid cell.
390
331
  */
391
- .calendar-day {
332
+ :host .calendar-day {
392
333
  border-radius: 50%;
393
334
  -webkit-padding-start: 0px;
394
335
  padding-inline-start: 0px;
@@ -477,39 +418,6 @@ ion-picker-column-internal {
477
418
  --color: var(--ion-color-base);
478
419
  }
479
420
 
480
- /**
481
- * Convert a font size to a dynamic font size.
482
- * Fonts that participate in Dynamic Type should use
483
- * dynamic font sizes.
484
- * @param size - The initial font size including the unit (i.e. px or pt)
485
- * @param unit (optional) - The unit to convert to. Use this if you want to
486
- * convert to a unit other than $baselineUnit.
487
- */
488
- /**
489
- * Convert a font size to a dynamic font size but impose
490
- * a maximum font size.
491
- * @param size - The initial font size including the unit (i.e. px or pt)
492
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
493
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
494
- * convert to a unit other than $baselineUnit.
495
- */
496
- /**
497
- * Convert a font size to a dynamic font size but impose
498
- * a minimum font size.
499
- * @param size - The initial font size including the unit (i.e. px or pt)
500
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
501
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
502
- * convert to a unit other than $baselineUnit.
503
- */
504
- /**
505
- * Convert a font size to a dynamic font size but impose
506
- * maximum and minimum font sizes.
507
- * @param size - The initial font size including the unit (i.e. px or pt)
508
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
509
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
510
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
511
- * convert to a unit other than $baselineUnit.
512
- */
513
421
  :host {
514
422
  --background: var(--ion-color-step-100, #ffffff);
515
423
  --title-color: var(--ion-color-contrast);
@@ -527,13 +435,13 @@ ion-picker-column-internal {
527
435
  }
528
436
 
529
437
  :host .datetime-header .datetime-title {
530
- font-size: 0.75rem;
438
+ font-size: 12px;
531
439
  text-transform: uppercase;
532
440
  }
533
441
 
534
442
  :host .datetime-header .datetime-selected-date {
535
443
  margin-top: 30px;
536
- font-size: 2.125rem;
444
+ font-size: 34px;
537
445
  }
538
446
 
539
447
  :host .datetime-calendar .calendar-action-buttons ion-item {
@@ -553,7 +461,7 @@ ion-picker-column-internal {
553
461
  padding-top: 0px;
554
462
  padding-bottom: 0px;
555
463
  color: var(--ion-color-step-500, gray);
556
- font-size: 0.875rem;
464
+ font-size: 14px;
557
465
  line-height: 36px;
558
466
  }
559
467
 
@@ -578,7 +486,7 @@ ion-picker-column-internal {
578
486
  width: 42px;
579
487
  min-width: 42px;
580
488
  height: 42px;
581
- font-size: 0.875rem;
489
+ font-size: 14px;
582
490
  }
583
491
 
584
492
  /**