@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,15 +1,19 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
+ import arrowLeftRegular from "@phosphor-icons/core/assets/regular/arrow-left.svg";
5
+ import magnifyingGlassRegular from "@phosphor-icons/core/assets/regular/magnifying-glass.svg";
6
+ import xRegular from "@phosphor-icons/core/assets/regular/x.svg";
4
7
  import { Host, forceUpdate, h } from "@stencil/core";
5
8
  import { debounceEvent, raf, componentOnReady, inheritAttributes } from "../../utils/helpers";
6
9
  import { isRTL } from "../../utils/rtl/index";
7
10
  import { createColorClasses } from "../../utils/theme";
8
11
  import { arrowBackSharp, closeCircle, closeSharp, searchOutline, searchSharp } from "ionicons/icons";
9
12
  import { config } from "../../global/config";
10
- import { getIonMode } from "../../global/ionic-global";
13
+ import { getIonTheme } from "../../global/ionic-global";
11
14
  /**
12
- * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
15
+ * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
16
+ * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
13
17
  */
14
18
  export class Searchbar {
15
19
  constructor() {
@@ -120,7 +124,7 @@ export class Searchbar {
120
124
  this.autocapitalize = 'off';
121
125
  this.autocomplete = 'off';
122
126
  this.autocorrect = 'off';
123
- this.cancelButtonIcon = config.get('backButtonIcon', arrowBackSharp);
127
+ this.cancelButtonIcon = undefined;
124
128
  this.cancelButtonText = 'Cancel';
125
129
  this.clearIcon = undefined;
126
130
  this.debounce = undefined;
@@ -251,10 +255,10 @@ export class Searchbar {
251
255
  positionElements() {
252
256
  const value = this.getValue();
253
257
  const prevAlignLeft = this.shouldAlignLeft;
254
- const mode = getIonMode(this);
258
+ const theme = getIonTheme(this);
255
259
  const shouldAlignLeft = !this.animated || value.trim() !== '' || !!this.focused;
256
260
  this.shouldAlignLeft = shouldAlignLeft;
257
- if (mode !== 'ios') {
261
+ if (theme !== 'ios') {
258
262
  return;
259
263
  }
260
264
  if (prevAlignLeft !== shouldAlignLeft) {
@@ -371,16 +375,83 @@ export class Searchbar {
371
375
  }
372
376
  return true;
373
377
  }
378
+ /**
379
+ * Get the icon to use for the clear icon.
380
+ * If an icon is set on the component, use that.
381
+ * Otherwise, use the icon set in the config.
382
+ * If no icon is set in the config, use the default icon.
383
+ */
384
+ get searchbarClearIcon() {
385
+ // Return the icon if it is explicitly set
386
+ if (this.clearIcon != null) {
387
+ return this.clearIcon;
388
+ }
389
+ // Determine the theme and map to default icons
390
+ const theme = getIonTheme(this);
391
+ const defaultIcons = {
392
+ ios: closeCircle,
393
+ ionic: xRegular,
394
+ md: closeSharp,
395
+ };
396
+ // Get the default icon based on the theme, falling back to 'md' icon if necessary
397
+ const defaultIcon = defaultIcons[theme] || defaultIcons.md;
398
+ // Return the configured searchbar clear icon or the default icon
399
+ return config.get('searchbarClearIcon', defaultIcon);
400
+ }
401
+ /**
402
+ * Get the icon to use for the search icon.
403
+ * If an icon is set on the component, use that.
404
+ * Otherwise, use the icon set in the config.
405
+ * If no icon is set in the config, use the default icon.
406
+ */
407
+ get searchbarSearchIcon() {
408
+ // Return the icon if it is explicitly set
409
+ if (this.searchIcon != null) {
410
+ return this.searchIcon;
411
+ }
412
+ // Determine the theme and map to default icons
413
+ const theme = getIonTheme(this);
414
+ const defaultIcons = {
415
+ ios: searchOutline,
416
+ ionic: magnifyingGlassRegular,
417
+ md: searchSharp,
418
+ };
419
+ // Get the default icon based on the theme, falling back to 'md' icon if necessary
420
+ const defaultIcon = defaultIcons[theme] || defaultIcons.md;
421
+ // Return the configured searchbar search icon or the default icon
422
+ return config.get('searchbarSearchIcon', defaultIcon);
423
+ }
424
+ /**
425
+ * Get the icon to use for the cancel icon.
426
+ * If an icon is set on the component, use that.
427
+ * Otherwise, use the icon set in the config.
428
+ * If no icon is set in the config, use the default icon.
429
+ */
430
+ get searchbarCancelIcon() {
431
+ // Return the icon if it is explicitly set
432
+ if (this.cancelButtonIcon != null) {
433
+ return this.cancelButtonIcon;
434
+ }
435
+ // Determine the theme and map to default icons
436
+ const theme = getIonTheme(this);
437
+ const defaultIcons = {
438
+ ios: arrowBackSharp,
439
+ ionic: arrowLeftRegular,
440
+ md: arrowBackSharp,
441
+ };
442
+ // Get the default icon based on the theme, falling back to 'md' icon if necessary
443
+ const defaultIcon = defaultIcons[theme] || defaultIcons.md;
444
+ // Return the configured searchbar cancel icon, the back button icon or the default icon
445
+ return config.get('searchbarCancelIcon', config.get('backButtonIcon', defaultIcon));
446
+ }
374
447
  render() {
375
- const { cancelButtonText, autocapitalize } = this;
448
+ const { cancelButtonText, autocapitalize, searchbarCancelIcon, searchbarClearIcon, searchbarSearchIcon } = this;
376
449
  const animated = this.animated && config.getBoolean('animated', true);
377
- const mode = getIonMode(this);
378
- const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
379
- const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
450
+ const theme = getIonTheme(this);
380
451
  const shouldShowCancelButton = this.shouldShowCancelButton();
381
- const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0ef595eb1628928d4c7fdb166b8e41768700fa6e', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'ea2c9b36d991acf5af7662059cb6b045f683ca94', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
382
- return (h(Host, { key: '17d57ece5852d03047e4d53ddad6c9d88a432a00', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
383
- [mode]: true,
452
+ const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '8864a41b139b41cff1ed28df8e9b182abd586205', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '0b65f3dff4b2a2904bcd34e1eb2de0ea845739a1', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
453
+ return (h(Host, { key: 'bfdaa58f80a6a7e3baaf34c7180d6c8a8f26db3b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
454
+ [theme]: true,
384
455
  'searchbar-animated': animated,
385
456
  'searchbar-disabled': this.disabled,
386
457
  'searchbar-no-animate': animated && this.noAnimate,
@@ -389,27 +460,29 @@ export class Searchbar {
389
460
  'searchbar-has-focus': this.focused,
390
461
  'searchbar-should-show-clear': this.shouldShowClearButton(),
391
462
  'searchbar-should-show-cancel': this.shouldShowCancelButton(),
392
- }) }, h("div", { key: 'f67c2124e70c24eef0a271516e9c4bdaf7e98ceb', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8c7f7ccc6809cca30ccc8c4e98e349d3f916321d', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: 'f06524d3163b3883bbde937862aa1e0e8f49f6e1', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '9f7ba2bec93412ecb674b197be13db1de308bb57', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
463
+ }) }, h("div", { key: '026738237b8ce44dbf9aa0c3e28495722fd4fe43', class: "searchbar-input-container" }, h("input", Object.assign({ key: '2c95c7a1c26e114a0200a64aeb4d65ee744dcc16', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, h("ion-icon", { key: 'b377e3f6b8e8d81811dec662d88de49516467210', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '72e66dd70a9759f853cf10ca0904d1f94b5c46c0', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
393
464
  /**
394
465
  * This prevents mobile browsers from
395
466
  * blurring the input when the clear
396
467
  * button is activated.
397
468
  */
398
469
  ev.preventDefault();
399
- }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '19fc3dbc722acc47ff7eb3c94ad4de8aed38dff4', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
470
+ }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '43c0c542e4a2e86c17ac0fe945b507ff8bf2f306', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme === 'ios' && cancelButton));
400
471
  }
401
472
  static get is() { return "ion-searchbar"; }
402
473
  static get encapsulation() { return "scoped"; }
403
474
  static get originalStyleUrls() {
404
475
  return {
405
476
  "ios": ["searchbar.ios.scss"],
406
- "md": ["searchbar.md.scss"]
477
+ "md": ["searchbar.md.scss"],
478
+ "ionic": ["searchbar.ionic.scss"]
407
479
  };
408
480
  }
409
481
  static get styleUrls() {
410
482
  return {
411
483
  "ios": ["searchbar.ios.css"],
412
- "md": ["searchbar.md.css"]
484
+ "md": ["searchbar.md.css"],
485
+ "ionic": ["searchbar.ionic.css"]
413
486
  };
414
487
  }
415
488
  static get properties() {
@@ -520,18 +593,17 @@ export class Searchbar {
520
593
  "mutable": false,
521
594
  "complexType": {
522
595
  "original": "string",
523
- "resolved": "string",
596
+ "resolved": "string | undefined",
524
597
  "references": {}
525
598
  },
526
599
  "required": false,
527
- "optional": false,
600
+ "optional": true,
528
601
  "docs": {
529
602
  "tags": [],
530
- "text": "Set the cancel button icon. Only applies to `md` mode.\nDefaults to `arrow-back-sharp`."
603
+ "text": "Set the cancel button icon. Only available when the theme is `\"md\"`.\nDefaults to `\"arrow-back-sharp\"`."
531
604
  },
532
605
  "attribute": "cancel-button-icon",
533
- "reflect": false,
534
- "defaultValue": "config.get('backButtonIcon', arrowBackSharp) as string"
606
+ "reflect": false
535
607
  },
536
608
  "cancelButtonText": {
537
609
  "type": "string",
@@ -545,7 +617,7 @@ export class Searchbar {
545
617
  "optional": false,
546
618
  "docs": {
547
619
  "tags": [],
548
- "text": "Set the the cancel button text. Only applies to `ios` mode."
620
+ "text": "Set the the cancel button text. Only available when the theme is `\"ios\"`."
549
621
  },
550
622
  "attribute": "cancel-button-text",
551
623
  "reflect": false,
@@ -563,7 +635,7 @@ export class Searchbar {
563
635
  "optional": true,
564
636
  "docs": {
565
637
  "tags": [],
566
- "text": "Set the clear icon. Defaults to `close-circle` for `ios` and `close-sharp` for `md`."
638
+ "text": "Set the clear icon. Defaults to `\"close-circle\"` for `\"ios\"` theme and `\"close-sharp\"` for `\"md\"` and `\"ionic\"` theme."
567
639
  },
568
640
  "attribute": "clear-icon",
569
641
  "reflect": false
@@ -719,7 +791,7 @@ export class Searchbar {
719
791
  "optional": true,
720
792
  "docs": {
721
793
  "tags": [],
722
- "text": "The icon to use as the search icon. Defaults to `search-outline` in\n`ios` mode and `search-sharp` in `md` mode."
794
+ "text": "The icon to use as the search icon. Defaults to `\"search-outline\"` in\nthe `\"ios\"` theme and `\"search-sharp\"` in the `\"md\"` and `\"ionic\"` themes."
723
795
  },
724
796
  "attribute": "search-icon",
725
797
  "reflect": false
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -53,6 +59,28 @@
53
59
  * }
54
60
  * }
55
61
  */
62
+ /**
63
+ * A heuristic that applies CSS to tablet
64
+ * viewports.
65
+ *
66
+ * Usage:
67
+ * @include tablet-viewport() {
68
+ * :host {
69
+ * background-color: green;
70
+ * }
71
+ * }
72
+ */
73
+ /**
74
+ * A heuristic that applies CSS to mobile
75
+ * viewports (i.e. phones, not tablets).
76
+ *
77
+ * Usage:
78
+ * @include mobile-viewport() {
79
+ * :host {
80
+ * background-color: blue;
81
+ * }
82
+ * }
83
+ */
56
84
  :host {
57
85
  /**
58
86
  * @prop --background: Background of the searchbar input
@@ -70,7 +98,7 @@
70
98
  --placeholder-color: initial;
71
99
  --placeholder-font-style: initial;
72
100
  --placeholder-font-weight: initial;
73
- --placeholder-opacity: var(--ion-placeholder-opacity, 0.6);
101
+ --placeholder-opacity: var(--ion-placeholder-opacity, 1);
74
102
  -moz-osx-font-smoothing: grayscale;
75
103
  -webkit-font-smoothing: antialiased;
76
104
  display: flex;
@@ -78,24 +106,9 @@
78
106
  align-items: center;
79
107
  width: 100%;
80
108
  color: var(--color);
81
- font-family: var(--ion-font-family, inherit);
82
109
  box-sizing: border-box;
83
110
  }
84
111
 
85
- :host(.ion-color) {
86
- color: var(--ion-color-contrast);
87
- }
88
-
89
- :host(.ion-color) .searchbar-input {
90
- background: var(--ion-color-base);
91
- }
92
-
93
- :host(.ion-color) .searchbar-clear-button,
94
- :host(.ion-color) .searchbar-cancel-button,
95
- :host(.ion-color) .searchbar-search-icon {
96
- color: inherit;
97
- }
98
-
99
112
  .searchbar-search-icon {
100
113
  color: var(--icon-color);
101
114
  pointer-events: none;
@@ -109,18 +122,18 @@
109
122
  }
110
123
 
111
124
  .searchbar-input {
125
+ color: inherit;
112
126
  font-family: inherit;
113
127
  font-size: inherit;
114
128
  font-style: inherit;
115
129
  font-weight: inherit;
116
130
  letter-spacing: inherit;
131
+ text-align: inherit;
117
132
  text-decoration: inherit;
118
133
  text-indent: inherit;
119
134
  text-overflow: inherit;
120
135
  text-transform: inherit;
121
- text-align: inherit;
122
136
  white-space: inherit;
123
- color: inherit;
124
137
  border-radius: var(--border-radius);
125
138
  display: block;
126
139
  width: 100%;
@@ -197,12 +210,37 @@
197
210
  display: block;
198
211
  }
199
212
 
213
+ :host {
214
+ --placeholder-opacity: var(--ion-placeholder-opacity, 0.6);
215
+ font-family: var(--ion-font-family, inherit);
216
+ }
217
+
218
+ :host(.ion-color) {
219
+ color: var(--ion-color-contrast);
220
+ }
221
+
222
+ :host(.ion-color) .searchbar-input {
223
+ background: var(--ion-color-base);
224
+ }
225
+
226
+ :host(.ion-color) .searchbar-clear-button,
227
+ :host(.ion-color) .searchbar-cancel-button,
228
+ :host(.ion-color) .searchbar-search-icon {
229
+ color: inherit;
230
+ }
231
+
200
232
  :host(.searchbar-disabled) {
201
233
  cursor: default;
202
234
  opacity: 0.4;
203
235
  pointer-events: none;
204
236
  }
205
237
 
238
+ /**
239
+ * Convert a pixels given value into rem
240
+ *
241
+ * @param pixels - Value in pixels to be converted (i.e. px)
242
+ * @param context (optional) - Baseline value
243
+ */
206
244
  /**
207
245
  * Convert a font size to a dynamic font size.
208
246
  * Fonts that participate in Dynamic Type should use
@@ -0,0 +1,119 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
7
+ /**
8
+ * This is an auto-generated file, please do not change it directly.
9
+ * Ionic Design System
10
+ */
11
+ /**
12
+ * A heuristic that applies CSS to tablet
13
+ * viewports.
14
+ *
15
+ * Usage:
16
+ * @include tablet-viewport() {
17
+ * :host {
18
+ * background-color: green;
19
+ * }
20
+ * }
21
+ */
22
+ /**
23
+ * A heuristic that applies CSS to mobile
24
+ * viewports (i.e. phones, not tablets).
25
+ *
26
+ * Usage:
27
+ * @include mobile-viewport() {
28
+ * :host {
29
+ * background-color: blue;
30
+ * }
31
+ * }
32
+ */
33
+ /**
34
+ * Convert a font size to a dynamic font size.
35
+ * Fonts that participate in Dynamic Type should use
36
+ * dynamic font sizes.
37
+ * @param size - The initial font size including the unit (i.e. px or pt)
38
+ * @param unit (optional) - The unit to convert to. Use this if you want to
39
+ * convert to a unit other than $baselineUnit.
40
+ */
41
+ /**
42
+ * Convert a font size to a dynamic font size but impose
43
+ * a maximum font size.
44
+ * @param size - The initial font size including the unit (i.e. px or pt)
45
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
46
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
47
+ * convert to a unit other than $baselineUnit.
48
+ */
49
+ /**
50
+ * Convert a font size to a dynamic font size but impose
51
+ * a minimum font size.
52
+ * @param size - The initial font size including the unit (i.e. px or pt)
53
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
54
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
55
+ * convert to a unit other than $baselineUnit.
56
+ */
57
+ /**
58
+ * Convert a font size to a dynamic font size but impose
59
+ * maximum and minimum font sizes.
60
+ * @param size - The initial font size including the unit (i.e. px or pt)
61
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
62
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
63
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
64
+ * convert to a unit other than $baselineUnit.
65
+ */
66
+ /**
67
+ * A heuristic that applies CSS to tablet
68
+ * viewports.
69
+ *
70
+ * Usage:
71
+ * @include tablet-viewport() {
72
+ * :host {
73
+ * background-color: green;
74
+ * }
75
+ * }
76
+ */
77
+ /**
78
+ * A heuristic that applies CSS to mobile
79
+ * viewports (i.e. phones, not tablets).
80
+ *
81
+ * Usage:
82
+ * @include mobile-viewport() {
83
+ * :host {
84
+ * background-color: blue;
85
+ * }
86
+ * }
87
+ */
88
+ :host {
89
+ /**
90
+ * @prop --background: Background of the segment button
91
+ */
92
+ -moz-osx-font-smoothing: grayscale;
93
+ -webkit-font-smoothing: antialiased;
94
+ display: grid;
95
+ grid-auto-columns: 1fr;
96
+ position: relative;
97
+ align-items: stretch;
98
+ justify-content: center;
99
+ width: 100%;
100
+ background: var(--background);
101
+ text-align: center;
102
+ contain: paint;
103
+ user-select: none;
104
+ }
105
+
106
+ :host(.segment-scrollable) {
107
+ justify-content: start;
108
+ width: auto;
109
+ overflow-x: auto;
110
+ grid-auto-columns: minmax(min-content, 1fr);
111
+ }
112
+
113
+ :host(.segment-scrollable::-webkit-scrollbar) {
114
+ display: none;
115
+ }
116
+
117
+ :host {
118
+ --background: var(--ionic-color-base-white, #ffffff);
119
+ }
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -53,11 +59,32 @@
53
59
  * }
54
60
  * }
55
61
  */
62
+ /**
63
+ * A heuristic that applies CSS to tablet
64
+ * viewports.
65
+ *
66
+ * Usage:
67
+ * @include tablet-viewport() {
68
+ * :host {
69
+ * background-color: green;
70
+ * }
71
+ * }
72
+ */
73
+ /**
74
+ * A heuristic that applies CSS to mobile
75
+ * viewports (i.e. phones, not tablets).
76
+ *
77
+ * Usage:
78
+ * @include mobile-viewport() {
79
+ * :host {
80
+ * background-color: blue;
81
+ * }
82
+ * }
83
+ */
56
84
  :host {
57
85
  /**
58
86
  * @prop --background: Background of the segment button
59
87
  */
60
- --ripple-color: currentColor;
61
88
  -moz-osx-font-smoothing: grayscale;
62
89
  -webkit-font-smoothing: antialiased;
63
90
  display: grid;
@@ -67,7 +94,6 @@
67
94
  justify-content: center;
68
95
  width: 100%;
69
96
  background: var(--background);
70
- font-family: var(--ion-font-family, inherit);
71
97
  text-align: center;
72
98
  contain: paint;
73
99
  user-select: none;
@@ -84,6 +110,17 @@
84
110
  display: none;
85
111
  }
86
112
 
113
+ :host {
114
+ --ripple-color: currentColor;
115
+ font-family: var(--ion-font-family, inherit);
116
+ }
117
+
118
+ /**
119
+ * Convert a pixels given value into rem
120
+ *
121
+ * @param pixels - Value in pixels to be converted (i.e. px)
122
+ * @param context (optional) - Baseline value
123
+ */
87
124
  /**
88
125
  * Convert a font size to a dynamic font size.
89
126
  * Fonts that participate in Dynamic Type should use
@@ -139,6 +176,12 @@
139
176
  * }
140
177
  * }
141
178
  */
179
+ /**
180
+ * Convert a pixels given value into rem
181
+ *
182
+ * @param pixels - Value in pixels to be converted (i.e. px)
183
+ * @param context (optional) - Baseline value
184
+ */
142
185
  /**
143
186
  * Convert a font size to a dynamic font size.
144
187
  * Fonts that participate in Dynamic Type should use
@@ -5,9 +5,10 @@ import { Host, h, writeTask } from "@stencil/core";
5
5
  import { raf } from "../../utils/helpers";
6
6
  import { isRTL } from "../../utils/rtl/index";
7
7
  import { createColorClasses, hostContext } from "../../utils/theme";
8
- import { getIonMode } from "../../global/ionic-global";
8
+ import { getIonTheme } from "../../global/ionic-global";
9
9
  /**
10
- * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
10
+ * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
11
+ * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
11
12
  */
12
13
  export class Segment {
13
14
  constructor() {
@@ -276,34 +277,21 @@ export class Segment {
276
277
  */
277
278
  const centeredX = activeButtonLeft - scrollContainerBox.width / 2 + activeButtonBox.width / 2;
278
279
  /**
279
- * newScrollPosition is the absolute scroll position that the
280
- * container needs to move to in order to center the active button.
281
- * It is calculated by adding the current scroll position
282
- * (scrollLeft) to the offset needed to center the button
283
- * (centeredX).
284
- */
285
- const newScrollPosition = el.scrollLeft + centeredX;
286
- /**
287
- * We intentionally use scrollTo here instead of scrollIntoView
280
+ * We intentionally use scrollBy here instead of scrollIntoView
288
281
  * to avoid a WebKit bug where accelerated animations break
289
282
  * when using scrollIntoView. Using scrollIntoView will cause the
290
283
  * segment container to jump during the transition and then snap into place.
291
284
  * This is because scrollIntoView can potentially cause parent element
292
- * containers to also scroll. scrollTo does not have this same behavior, so
285
+ * containers to also scroll. scrollBy does not have this same behavior, so
293
286
  * we use this API instead.
294
287
  *
295
- * scrollTo is used instead of scrollBy because there is a
296
- * Webkit bug that causes scrollBy to not work smoothly when
297
- * the active button is near the edge of the scroll container.
298
- * This leads to the buttons to jump around during the transition.
299
- *
300
288
  * Note that if there is not enough scrolling space to center the element
301
289
  * within the scroll container, the browser will attempt
302
290
  * to center by as much as it can.
303
291
  */
304
- el.scrollTo({
292
+ el.scrollBy({
305
293
  top: 0,
306
- left: newScrollPosition,
294
+ left: centeredX,
307
295
  behavior: smoothScroll ? 'smooth' : 'instant',
308
296
  });
309
297
  }
@@ -433,28 +421,30 @@ export class Segment {
433
421
  current.setFocus();
434
422
  }
435
423
  render() {
436
- const mode = getIonMode(this);
437
- return (h(Host, { key: '1f50689291d24812e33145272f9a73c01e085383', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
438
- [mode]: true,
424
+ const theme = getIonTheme(this);
425
+ return (h(Host, { key: 'a82caab0d6fe34847f5a85282d0916a647b5976a', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
426
+ [theme]: true,
439
427
  'in-toolbar': hostContext('ion-toolbar', this.el),
440
428
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
441
429
  'segment-activated': this.activated,
442
430
  'segment-disabled': this.disabled,
443
431
  'segment-scrollable': this.scrollable,
444
- }) }, h("slot", { key: 'd3b90e1adabf0b923e41a36cd856dc0a5a3d041e', onSlotchange: this.onSlottedItemsChange })));
432
+ }) }, h("slot", { key: '1b04fd3a2c340014376ab52824435c5f27b963b7', onSlotchange: this.onSlottedItemsChange })));
445
433
  }
446
434
  static get is() { return "ion-segment"; }
447
435
  static get encapsulation() { return "shadow"; }
448
436
  static get originalStyleUrls() {
449
437
  return {
450
438
  "ios": ["segment.ios.scss"],
451
- "md": ["segment.md.scss"]
439
+ "md": ["segment.md.scss"],
440
+ "ionic": ["segment.ionic.scss"]
452
441
  };
453
442
  }
454
443
  static get styleUrls() {
455
444
  return {
456
445
  "ios": ["segment.ios.css"],
457
- "md": ["segment.md.css"]
446
+ "md": ["segment.md.css"],
447
+ "ionic": ["segment.ionic.css"]
458
448
  };
459
449
  }
460
450
  static get properties() {