@ionic/core 8.5.7-dev.11746044124.147aab6c → 8.5.7-dev.11747180955.1e468923

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 (779) hide show
  1. package/components/action-sheet.js +37 -23
  2. package/components/alert.js +42 -26
  3. package/components/animation.js +2 -2
  4. package/components/backdrop.js +11 -4
  5. package/components/button-active.js +1 -1
  6. package/components/button.js +30 -24
  7. package/components/buttons.js +14 -4
  8. package/components/capacitor.js +1 -1
  9. package/components/checkbox.js +43 -26
  10. package/components/config.js +1 -1
  11. package/components/content.js +24 -5
  12. package/components/data.js +31 -6
  13. package/components/gesture-controller.js +1 -1
  14. package/components/haptic.js +1 -1
  15. package/components/hardware-back-button.js +2 -2
  16. package/components/header.js +12 -7
  17. package/components/helpers.js +3 -6
  18. package/components/icon.js +1 -2
  19. package/components/index2.js +1 -1
  20. package/components/index3.js +3 -5
  21. package/components/index4.js +1 -1
  22. package/components/index5.js +2 -2
  23. package/components/index6.js +28 -3
  24. package/components/index7.js +163 -27
  25. package/components/index8.js +1 -1
  26. package/components/index9.js +3 -163
  27. package/components/input-shims.js +20 -2
  28. package/components/input.utils.js +2 -2
  29. package/components/ion-accordion-group.js +20 -7
  30. package/components/ion-accordion.js +32 -14
  31. package/components/ion-app.js +4 -5
  32. package/components/ion-avatar.js +2 -4
  33. package/components/ion-back-button.js +12 -13
  34. package/components/ion-badge.js +2 -5
  35. package/components/ion-breadcrumb.js +22 -20
  36. package/components/ion-breadcrumbs.js +14 -10
  37. package/components/ion-card-content.js +2 -4
  38. package/components/ion-card-header.js +7 -5
  39. package/components/ion-card-subtitle.js +2 -5
  40. package/components/ion-card-title.js +2 -5
  41. package/components/ion-card.js +16 -11
  42. package/components/ion-chip.js +8 -5
  43. package/components/ion-col.js +1 -26
  44. package/components/ion-datetime-button.js +16 -14
  45. package/components/ion-datetime.js +197 -82
  46. package/components/ion-fab-button.js +37 -20
  47. package/components/ion-fab-list.js +7 -2
  48. package/components/ion-fab.js +10 -4
  49. package/components/ion-footer.js +13 -8
  50. package/components/ion-grid.js +4 -2
  51. package/components/ion-img.js +1 -6
  52. package/components/ion-infinite-scroll-content.js +2 -6
  53. package/components/ion-infinite-scroll.js +27 -6
  54. package/components/ion-input-password-toggle.js +8 -10
  55. package/components/ion-input.js +80 -63
  56. package/components/ion-item-divider.js +9 -5
  57. package/components/ion-item-group.js +2 -4
  58. package/components/ion-item-option.js +14 -12
  59. package/components/ion-item-options.js +6 -4
  60. package/components/ion-item-sliding.js +5 -3
  61. package/components/ion-loading.js +36 -19
  62. package/components/ion-menu-button.js +15 -10
  63. package/components/ion-menu-toggle.js +9 -5
  64. package/components/ion-menu.js +26 -10
  65. package/components/ion-nav-link.js +6 -6
  66. package/components/ion-nav.js +8 -11
  67. package/components/ion-note.js +2 -5
  68. package/components/ion-picker-legacy.js +45 -25
  69. package/components/ion-progress-bar.js +19 -6
  70. package/components/ion-range.js +66 -26
  71. package/components/ion-refresher-content.js +1 -5
  72. package/components/ion-refresher.js +55 -7
  73. package/components/ion-reorder-group.js +6 -4
  74. package/components/ion-reorder.js +3 -5
  75. package/components/ion-route-redirect.js +0 -2
  76. package/components/ion-route.js +9 -7
  77. package/components/ion-router-link.js +7 -9
  78. package/components/ion-router-outlet.js +11 -9
  79. package/components/ion-router.js +19 -1
  80. package/components/ion-row.js +1 -2
  81. package/components/ion-searchbar.js +78 -29
  82. package/components/ion-segment-button.js +20 -11
  83. package/components/ion-segment-content.js +1 -2
  84. package/components/ion-segment-view.js +5 -5
  85. package/components/ion-segment.js +22 -11
  86. package/components/ion-select-option.js +4 -3
  87. package/components/ion-select.js +68 -45
  88. package/components/ion-skeleton-text.js +4 -2
  89. package/components/ion-split-pane.js +11 -6
  90. package/components/ion-tab-bar.js +7 -6
  91. package/components/ion-tab-button.js +10 -12
  92. package/components/ion-tab.js +3 -6
  93. package/components/ion-tabs.js +4 -5
  94. package/components/ion-text.js +1 -3
  95. package/components/ion-textarea.js +72 -47
  96. package/components/ion-thumbnail.js +1 -2
  97. package/components/ion-toast.js +56 -33
  98. package/components/ion-toggle.js +55 -31
  99. package/components/ionic-global.js +1 -1
  100. package/components/item.js +20 -14
  101. package/components/keyboard-controller.js +2 -2
  102. package/components/keyboard.js +134 -69
  103. package/components/keyboard2.js +69 -134
  104. package/components/label.js +2 -6
  105. package/components/list-header.js +2 -6
  106. package/components/list.js +5 -5
  107. package/components/modal.js +118 -40
  108. package/components/notch-controller.js +1 -1
  109. package/components/overlays.js +3 -3
  110. package/components/picker-column-option.js +18 -5
  111. package/components/picker-column.js +25 -10
  112. package/components/picker-column2.js +5 -8
  113. package/components/picker.js +2 -4
  114. package/components/popover.js +130 -38
  115. package/components/radio-group.js +10 -10
  116. package/components/radio.js +27 -13
  117. package/components/refresher.utils.js +2 -2
  118. package/components/ripple-effect.js +10 -2
  119. package/components/select-modal.js +3 -8
  120. package/components/select-popover.js +5 -8
  121. package/components/spinner.js +4 -5
  122. package/components/swipe-back.js +1 -1
  123. package/components/title.js +2 -6
  124. package/components/toolbar.js +2 -5
  125. package/css/global.bundle.css +1 -1
  126. package/css/global.bundle.css.map +1 -1
  127. package/css/ionic.bundle.css +1 -1
  128. package/css/ionic.bundle.css.map +1 -1
  129. package/css/structure.css +1 -1
  130. package/css/structure.css.map +1 -1
  131. package/dist/cjs/{animation-ab2d3449.js → animation-CIZtxug4.js} +2 -2
  132. package/dist/cjs/{app-globals-ddceb1f4.js → app-globals-CWtQHdcK.js} +1 -1
  133. package/dist/cjs/{button-active-43e2b419.js → button-active-BzpKQ5zN.js} +3 -3
  134. package/dist/cjs/{capacitor-c04564bf.js → capacitor-DmA66EwP.js} +1 -1
  135. package/dist/cjs/{config-f6225ae7.js → config-ByqNVsV-.js} +1 -1
  136. package/dist/cjs/{data-94e8d392.js → data-BOIdk4ZX.js} +30 -5
  137. package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-BZr8Dger.js} +1 -1
  138. package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-dtqlP_q4.js} +1 -1
  139. package/dist/cjs/{haptic-f6b37aa3.js → haptic-ClPPQ_PS.js} +1 -1
  140. package/dist/cjs/{hardware-back-button-3d2b1004.js → hardware-back-button-BhLS9ov9.js} +2 -2
  141. package/dist/cjs/{helpers-8a48fdea.js → helpers-BWWnt1yc.js} +2 -5
  142. package/dist/cjs/{index-1eff7149.js → index-C6GLB0dQ.js} +5 -5
  143. package/dist/cjs/{index-ee07ed59.js → index-CAvQ7Tka.js} +3 -4
  144. package/dist/cjs/{index-073c7cdc.js → index-CPbAsnJK.js} +1 -0
  145. package/dist/cjs/{index-31b07b9c.js → index-CfS4TqIo.js} +3 -3
  146. package/dist/cjs/{index-a96d31ae.js → index-CrE5792q.js} +9 -9
  147. package/dist/cjs/{index-dbe01e08.js → index-CrVjA49i.js} +3 -3
  148. package/dist/cjs/{index-2e236a04.js → index-qOuhvt-6.js} +1395 -671
  149. package/dist/cjs/index.cjs.js +20 -24
  150. package/dist/cjs/{input-shims-415be7ee.js → input-shims-BIfSj_O3.js} +24 -6
  151. package/dist/cjs/{input.utils-a7957fd6.js → input.utils-DQKGaXXm.js} +3 -3
  152. package/dist/cjs/ion-accordion_2.cjs.entry.js +56 -27
  153. package/dist/cjs/ion-action-sheet.cjs.entry.js +50 -38
  154. package/dist/cjs/ion-alert.cjs.entry.js +55 -41
  155. package/dist/cjs/ion-app_8.cjs.entry.js +96 -65
  156. package/dist/cjs/ion-avatar_3.cjs.entry.js +9 -17
  157. package/dist/cjs/ion-back-button.cjs.entry.js +16 -19
  158. package/dist/cjs/ion-backdrop.cjs.entry.js +14 -9
  159. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +39 -35
  160. package/dist/cjs/ion-button_2.cjs.entry.js +33 -30
  161. package/dist/cjs/ion-card_5.cjs.entry.js +33 -36
  162. package/dist/cjs/ion-checkbox.cjs.entry.js +48 -33
  163. package/dist/cjs/ion-chip.cjs.entry.js +12 -11
  164. package/dist/cjs/ion-col_3.cjs.entry.js +9 -35
  165. package/dist/cjs/ion-datetime-button.cjs.entry.js +20 -20
  166. package/dist/cjs/ion-datetime_3.cjs.entry.js +251 -122
  167. package/dist/cjs/ion-fab_3.cjs.entry.js +58 -32
  168. package/dist/cjs/ion-img.cjs.entry.js +5 -12
  169. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +35 -20
  170. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +11 -15
  171. package/dist/cjs/ion-input.cjs.entry.js +87 -72
  172. package/dist/cjs/ion-item-option_3.cjs.entry.js +32 -28
  173. package/dist/cjs/ion-item_8.cjs.entry.js +50 -53
  174. package/dist/cjs/ion-loading.cjs.entry.js +46 -31
  175. package/dist/cjs/ion-menu_3.cjs.entry.js +62 -39
  176. package/dist/cjs/ion-modal.cjs.entry.js +128 -52
  177. package/dist/cjs/ion-nav_2.cjs.entry.js +17 -22
  178. package/dist/cjs/ion-picker-column-option.cjs.entry.js +23 -12
  179. package/dist/cjs/ion-picker-column.cjs.entry.js +31 -18
  180. package/dist/cjs/ion-picker.cjs.entry.js +5 -9
  181. package/dist/cjs/ion-popover.cjs.entry.js +137 -47
  182. package/dist/cjs/ion-progress-bar.cjs.entry.js +23 -12
  183. package/dist/cjs/ion-radio_2.cjs.entry.js +43 -31
  184. package/dist/cjs/ion-range.cjs.entry.js +71 -33
  185. package/dist/cjs/ion-refresher_2.cjs.entry.js +68 -26
  186. package/dist/cjs/ion-reorder_2.cjs.entry.js +17 -19
  187. package/dist/cjs/ion-ripple-effect.cjs.entry.js +13 -7
  188. package/dist/cjs/ion-route_4.cjs.entry.js +35 -21
  189. package/dist/cjs/ion-searchbar.cjs.entry.js +84 -37
  190. package/dist/cjs/ion-segment-content.cjs.entry.js +2 -5
  191. package/dist/cjs/ion-segment-view.cjs.entry.js +6 -8
  192. package/dist/cjs/ion-segment_2.cjs.entry.js +48 -30
  193. package/dist/cjs/ion-select-modal.cjs.entry.js +13 -20
  194. package/dist/cjs/ion-select_3.cjs.entry.js +88 -69
  195. package/dist/cjs/ion-spinner.cjs.entry.js +9 -12
  196. package/dist/cjs/ion-split-pane.cjs.entry.js +13 -10
  197. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +26 -29
  198. package/dist/cjs/ion-tab_2.cjs.entry.js +9 -15
  199. package/dist/cjs/ion-text.cjs.entry.js +5 -9
  200. package/dist/cjs/ion-textarea.cjs.entry.js +79 -56
  201. package/dist/cjs/ion-toast.cjs.entry.js +65 -44
  202. package/dist/cjs/ion-toggle.cjs.entry.js +66 -44
  203. package/dist/cjs/{ionic-global-6dea5a96.js → ionic-global-BC3ee-Wa.js} +2 -2
  204. package/dist/cjs/ionic.cjs.js +9 -9
  205. package/dist/cjs/{ios.transition-a131cd4d.js → ios.transition-C9J4bBGV.js} +6 -6
  206. package/dist/cjs/{keyboard-0272231f.js → keyboard-UuAS4D_9.js} +1 -1
  207. package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-GXBiBRKS.js} +2 -2
  208. package/dist/cjs/{keyboard-af1bb365.js → keyboard-hHzlEQpk.js} +3 -3
  209. package/dist/cjs/loader.cjs.js +5 -7
  210. package/dist/cjs/{md.transition-e018ebe5.js → md.transition-DT8PB4eS.js} +6 -6
  211. package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-CARhSI1k.js} +2 -2
  212. package/dist/cjs/{overlays-4c291a05.js → overlays-B4rlyxhY.js} +7 -7
  213. package/dist/cjs/{status-tap-f1acefac.js → status-tap-B8fjNFjq.js} +4 -4
  214. package/dist/cjs/{swipe-back-4918e56b.js → swipe-back-N5-bJv4m.js} +5 -5
  215. package/dist/collection/collection-manifest.json +2 -2
  216. package/dist/collection/components/accordion/accordion.js +43 -13
  217. package/dist/collection/components/accordion-group/accordion-group.js +35 -8
  218. package/dist/collection/components/action-sheet/action-sheet.js +84 -31
  219. package/dist/collection/components/alert/alert.js +94 -34
  220. package/dist/collection/components/back-button/back-button.js +30 -14
  221. package/dist/collection/components/backdrop/backdrop.js +18 -3
  222. package/dist/collection/components/badge/badge.js +3 -4
  223. package/dist/collection/components/breadcrumb/breadcrumb.js +57 -26
  224. package/dist/collection/components/breadcrumbs/breadcrumbs.js +24 -10
  225. package/dist/collection/components/button/button.js +74 -33
  226. package/dist/collection/components/buttons/buttons.js +15 -1
  227. package/dist/collection/components/card/card.js +44 -16
  228. package/dist/collection/components/card-header/card-header.js +11 -3
  229. package/dist/collection/components/card-subtitle/card-subtitle.js +3 -4
  230. package/dist/collection/components/card-title/card-title.js +3 -4
  231. package/dist/collection/components/checkbox/checkbox.js +77 -34
  232. package/dist/collection/components/chip/chip.js +15 -4
  233. package/dist/collection/components/col/col.js +72 -50
  234. package/dist/collection/components/content/content.js +43 -9
  235. package/dist/collection/components/datetime/datetime.ios.css +7 -2
  236. package/dist/collection/components/datetime/datetime.js +298 -98
  237. package/dist/collection/components/datetime/datetime.md.css +9 -3
  238. package/dist/collection/components/datetime/utils/data.js +29 -4
  239. package/dist/collection/components/datetime-button/datetime-button.js +21 -11
  240. package/dist/collection/components/fab/fab.js +21 -6
  241. package/dist/collection/components/fab-button/fab-button.js +76 -28
  242. package/dist/collection/components/fab-list/fab-list.js +12 -2
  243. package/dist/collection/components/footer/footer.js +16 -5
  244. package/dist/collection/components/grid/grid.js +6 -1
  245. package/dist/collection/components/header/header.js +15 -4
  246. package/dist/collection/components/img/img.js +6 -6
  247. package/dist/collection/components/infinite-scroll/infinite-scroll.js +35 -7
  248. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +6 -4
  249. package/dist/collection/components/input/input.js +179 -91
  250. package/dist/collection/components/input-password-toggle/input-password-toggle.js +16 -8
  251. package/dist/collection/components/item/item.js +56 -21
  252. package/dist/collection/components/item-divider/item-divider.js +13 -3
  253. package/dist/collection/components/item-option/item-option.js +36 -16
  254. package/dist/collection/components/item-options/item-options.js +7 -1
  255. package/dist/collection/components/item-sliding/item-sliding.js +6 -1
  256. package/dist/collection/components/label/label.js +6 -4
  257. package/dist/collection/components/list/list.js +9 -3
  258. package/dist/collection/components/list-header/list-header.js +6 -6
  259. package/dist/collection/components/loading/loading.js +86 -29
  260. package/dist/collection/components/menu/menu.js +42 -10
  261. package/dist/collection/components/menu-button/menu-button.js +27 -10
  262. package/dist/collection/components/menu-toggle/menu-toggle.js +14 -5
  263. package/dist/collection/components/modal/modal.js +188 -51
  264. package/dist/collection/components/nav/nav.js +24 -11
  265. package/dist/collection/components/nav-link/nav-link.js +18 -8
  266. package/dist/collection/components/note/note.js +3 -4
  267. package/dist/collection/components/picker-column/picker-column.js +34 -10
  268. package/dist/collection/components/picker-column-option/picker-column-option.js +25 -4
  269. package/dist/collection/components/picker-legacy/picker.js +91 -31
  270. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -2
  271. package/dist/collection/components/popover/popover.js +208 -55
  272. package/dist/collection/components/progress-bar/progress-bar.js +31 -6
  273. package/dist/collection/components/radio/radio.js +46 -16
  274. package/dist/collection/components/radio-group/radio-group.js +26 -12
  275. package/dist/collection/components/range/range.js +109 -34
  276. package/dist/collection/components/refresher/refresher.js +68 -6
  277. package/dist/collection/components/refresher-content/refresher-content.js +12 -8
  278. package/dist/collection/components/reorder-group/reorder-group.js +6 -1
  279. package/dist/collection/components/ripple-effect/ripple-effect.js +12 -1
  280. package/dist/collection/components/route/route.js +24 -9
  281. package/dist/collection/components/route-redirect/route-redirect.js +6 -6
  282. package/dist/collection/components/router/router.js +24 -2
  283. package/dist/collection/components/router-link/router-link.js +24 -12
  284. package/dist/collection/components/router-outlet/router-outlet.js +24 -8
  285. package/dist/collection/components/searchbar/searchbar.js +141 -46
  286. package/dist/collection/components/segment/segment.js +38 -13
  287. package/dist/collection/components/segment-button/segment-button.js +32 -11
  288. package/dist/collection/components/segment-view/segment-view.js +6 -2
  289. package/dist/collection/components/select/select.js +128 -59
  290. package/dist/collection/components/select-modal/select-modal.js +9 -4
  291. package/dist/collection/components/select-option/select-option.js +9 -3
  292. package/dist/collection/components/select-popover/select-popover.js +18 -8
  293. package/dist/collection/components/skeleton-text/skeleton-text.js +6 -1
  294. package/dist/collection/components/spinner/spinner.js +15 -7
  295. package/dist/collection/components/split-pane/split-pane.js +17 -4
  296. package/dist/collection/components/tab/tab.js +14 -7
  297. package/dist/collection/components/tab-bar/tab-bar.js +14 -5
  298. package/dist/collection/components/tab-button/tab-button.js +32 -16
  299. package/dist/collection/components/tabs/tabs.js +5 -3
  300. package/dist/collection/components/text/text.js +3 -4
  301. package/dist/collection/components/textarea/textarea.js +154 -70
  302. package/dist/collection/components/title/title.js +6 -6
  303. package/dist/collection/components/toast/toast.js +119 -45
  304. package/dist/collection/components/toggle/toggle.js +86 -35
  305. package/dist/collection/components/toolbar/toolbar.js +3 -2
  306. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +18 -0
  307. package/dist/docs.d.ts +8 -0
  308. package/dist/docs.json +1823 -584
  309. package/dist/esm/{animation-8b25e105.js → animation-D4bve5rR.js} +2 -2
  310. package/dist/esm/{app-globals-dbdbb3df.js → app-globals-Ts_E1ch0.js} +1 -1
  311. package/dist/esm/{button-active-90f1dbc4.js → button-active-BQqkZ_sm.js} +3 -3
  312. package/dist/esm/{capacitor-59395cbd.js → capacitor-CFERIeaU.js} +1 -1
  313. package/dist/esm/{config-9898ed97.js → config-DTWRsyX5.js} +1 -1
  314. package/dist/esm/{data-0d7ea6eb.js → data-Iz8JZ8Jy.js} +31 -6
  315. package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-BEwxd9AM.js} +1 -1
  316. package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-BTEOs1at.js} +1 -1
  317. package/dist/esm/{haptic-ac164e4c.js → haptic-DzAMWJuk.js} +2 -2
  318. package/dist/esm/{hardware-back-button-a7eb8233.js → hardware-back-button-pnZ0X1YR.js} +2 -2
  319. package/dist/esm/{helpers-d94bc8ad.js → helpers-CzIihwFO.js} +3 -6
  320. package/dist/esm/{index-68c0d151.js → index-B83thFnh.js} +5 -5
  321. package/dist/esm/{index-e2cf2ceb.js → index-BLV6ykCk.js} +2 -1
  322. package/dist/esm/{index-be190feb.js → index-BjwCqtOY.js} +3 -3
  323. package/dist/esm/{index-cfd9c1f2.js → index-CEo1SqXS.js} +1 -1
  324. package/dist/esm/{index-39782642.js → index-CfgBF1SE.js} +4 -6
  325. package/dist/esm/{index-527b9e34.js → index-EP3pwcdb.js} +1395 -651
  326. package/dist/esm/{index-9a17db3d.js → index-M5ufqlzF.js} +3 -3
  327. package/dist/esm/{index-18f31305.js → index-RyWq7qIc.js} +6 -6
  328. package/dist/esm/index.js +18 -18
  329. package/dist/esm/{input-shims-279903e2.js → input-shims-BbXgvAcA.js} +24 -6
  330. package/dist/esm/{input.utils-40504d6d.js → input.utils-CWgOv5Mm.js} +3 -3
  331. package/dist/esm/ion-accordion_2.entry.js +54 -23
  332. package/dist/esm/ion-action-sheet.entry.js +50 -36
  333. package/dist/esm/ion-alert.entry.js +55 -39
  334. package/dist/esm/ion-app_8.entry.js +96 -63
  335. package/dist/esm/ion-avatar_3.entry.js +9 -15
  336. package/dist/esm/ion-back-button.entry.js +16 -17
  337. package/dist/esm/ion-backdrop.entry.js +14 -7
  338. package/dist/esm/ion-breadcrumb_2.entry.js +39 -33
  339. package/dist/esm/ion-button_2.entry.js +33 -28
  340. package/dist/esm/ion-card_5.entry.js +33 -34
  341. package/dist/esm/ion-checkbox.entry.js +48 -31
  342. package/dist/esm/ion-chip.entry.js +12 -9
  343. package/dist/esm/ion-col_3.entry.js +9 -33
  344. package/dist/esm/ion-datetime-button.entry.js +20 -18
  345. package/dist/esm/ion-datetime_3.entry.js +251 -120
  346. package/dist/esm/ion-fab_3.entry.js +58 -30
  347. package/dist/esm/ion-img.entry.js +5 -10
  348. package/dist/esm/ion-infinite-scroll_2.entry.js +35 -18
  349. package/dist/esm/ion-input-password-toggle.entry.js +11 -13
  350. package/dist/esm/ion-input.entry.js +87 -70
  351. package/dist/esm/ion-item-option_3.entry.js +32 -26
  352. package/dist/esm/ion-item_8.entry.js +50 -51
  353. package/dist/esm/ion-loading.entry.js +46 -29
  354. package/dist/esm/ion-menu_3.entry.js +62 -37
  355. package/dist/esm/ion-modal.entry.js +128 -50
  356. package/dist/esm/ion-nav_2.entry.js +17 -20
  357. package/dist/esm/ion-picker-column-option.entry.js +23 -10
  358. package/dist/esm/ion-picker-column.entry.js +31 -16
  359. package/dist/esm/ion-picker.entry.js +5 -7
  360. package/dist/esm/ion-popover.entry.js +137 -45
  361. package/dist/esm/ion-progress-bar.entry.js +23 -10
  362. package/dist/esm/ion-radio_2.entry.js +43 -29
  363. package/dist/esm/ion-range.entry.js +71 -31
  364. package/dist/esm/ion-refresher_2.entry.js +68 -24
  365. package/dist/esm/ion-reorder_2.entry.js +17 -17
  366. package/dist/esm/ion-ripple-effect.entry.js +13 -5
  367. package/dist/esm/ion-route_4.entry.js +35 -19
  368. package/dist/esm/ion-searchbar.entry.js +84 -35
  369. package/dist/esm/ion-segment-content.entry.js +2 -3
  370. package/dist/esm/ion-segment-view.entry.js +6 -6
  371. package/dist/esm/ion-segment_2.entry.js +48 -28
  372. package/dist/esm/ion-select-modal.entry.js +13 -18
  373. package/dist/esm/ion-select_3.entry.js +88 -67
  374. package/dist/esm/ion-spinner.entry.js +9 -10
  375. package/dist/esm/ion-split-pane.entry.js +13 -8
  376. package/dist/esm/ion-tab-bar_2.entry.js +26 -27
  377. package/dist/esm/ion-tab_2.entry.js +9 -13
  378. package/dist/esm/ion-text.entry.js +5 -7
  379. package/dist/esm/ion-textarea.entry.js +79 -54
  380. package/dist/esm/ion-toast.entry.js +65 -42
  381. package/dist/esm/ion-toggle.entry.js +64 -40
  382. package/dist/esm/{ionic-global-b26f573e.js → ionic-global-DapnXdYs.js} +2 -2
  383. package/dist/esm/ionic.js +8 -7
  384. package/dist/esm/{ios.transition-4047cb68.js → ios.transition-DN6Dy4K4.js} +6 -6
  385. package/dist/esm/{keyboard-73175e24.js → keyboard-CUw4ekVy.js} +1 -1
  386. package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-BaaVITYt.js} +2 -2
  387. package/dist/esm/{keyboard-52278bd7.js → keyboard-ywgs5efA.js} +3 -3
  388. package/dist/esm/loader.js +6 -6
  389. package/dist/esm/{md.transition-30ce8d1b.js → md.transition-DR8zuFnL.js} +6 -6
  390. package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-B3wZOqJe.js} +2 -2
  391. package/dist/esm/{overlays-d99dcb0a.js → overlays-Blhb_0oI.js} +7 -7
  392. package/dist/esm/{status-tap-42a8af65.js → status-tap-CZEjiztV.js} +4 -4
  393. package/dist/esm/{swipe-back-0184f6b3.js → swipe-back-DKV4csu9.js} +5 -5
  394. package/dist/html.html-data.json +216 -0
  395. package/dist/index.js +1 -1
  396. package/dist/ionic/index.esm.js +1 -1
  397. package/dist/ionic/ionic.esm.js +1 -1
  398. package/dist/ionic/p-030daf32.entry.js +4 -0
  399. package/dist/ionic/p-0434efbb.entry.js +4 -0
  400. package/dist/ionic/p-07a47eb6.entry.js +4 -0
  401. package/dist/ionic/p-08232f2d.entry.js +4 -0
  402. package/dist/ionic/{p-393ffcc2.entry.js → p-0c2a069d.entry.js} +1 -1
  403. package/dist/ionic/p-112af08b.entry.js +4 -0
  404. package/dist/ionic/{p-2469240b.entry.js → p-12b44c66.entry.js} +1 -1
  405. package/dist/ionic/p-1a19090e.entry.js +4 -0
  406. package/dist/ionic/p-306eab7a.entry.js +4 -0
  407. package/dist/ionic/p-38598652.entry.js +4 -0
  408. package/dist/ionic/p-38921e2f.entry.js +4 -0
  409. package/dist/ionic/p-38dcbd40.entry.js +4 -0
  410. package/dist/ionic/{p-b445ff65.entry.js → p-3edb2346.entry.js} +1 -1
  411. package/dist/ionic/p-4119d144.entry.js +4 -0
  412. package/dist/ionic/p-46a1ce99.entry.js +4 -0
  413. package/dist/ionic/p-46c15fe2.entry.js +4 -0
  414. package/dist/ionic/{p-e8245753.entry.js → p-46f82b82.entry.js} +1 -1
  415. package/dist/ionic/p-484073b5.entry.js +4 -0
  416. package/dist/ionic/p-49122d48.entry.js +4 -0
  417. package/dist/ionic/p-4a5cf7ac.entry.js +4 -0
  418. package/dist/ionic/p-5459e444.entry.js +4 -0
  419. package/dist/ionic/{p-12914457.entry.js → p-5b8abc2f.entry.js} +1 -1
  420. package/dist/ionic/p-5fb997f8.entry.js +4 -0
  421. package/dist/ionic/p-61f52724.entry.js +4 -0
  422. package/dist/ionic/{p-0f5e6225.js → p-7QgQi64o.js} +1 -1
  423. package/dist/ionic/p-83fdd9f6.entry.js +4 -0
  424. package/dist/ionic/p-89e3b3c6.entry.js +4 -0
  425. package/dist/ionic/p-8dda7cd4.entry.js +4 -0
  426. package/dist/ionic/p-93996b12.entry.js +4 -0
  427. package/dist/ionic/p-99c93730.entry.js +4 -0
  428. package/dist/ionic/p-9a0bde6e.entry.js +4 -0
  429. package/dist/ionic/p-9eeaBrnk.js +4 -0
  430. package/dist/ionic/p-B0af2jd_.js +4 -0
  431. package/dist/ionic/{p-da2b833b.js → p-BLV6ykCk.js} +1 -1
  432. package/dist/ionic/p-BNIA2meb.js +4 -0
  433. package/dist/ionic/{p-aded71ec.js → p-BSMFLyVh.js} +1 -1
  434. package/dist/ionic/{p-2bb55ebc.js → p-Bj2C9kIj.js} +1 -1
  435. package/dist/ionic/{p-b6d324f0.js → p-BoW9sZxI.js} +1 -1
  436. package/dist/ionic/{p-10a1bddc.js → p-C719rkLH.js} +1 -1
  437. package/dist/ionic/{p-17e21141.js → p-CEo1SqXS.js} +1 -1
  438. package/dist/ionic/p-CG4wBMWx.js +4 -0
  439. package/dist/ionic/p-CGDL9pFJ.js +4 -0
  440. package/dist/ionic/p-CIGNaXM1.js +4 -0
  441. package/dist/ionic/{p-89b61afc.js → p-CKvCXMs9.js} +1 -1
  442. package/dist/ionic/{p-8d2d39d0.js → p-CgRZM5_E.js} +1 -1
  443. package/dist/ionic/{p-ed005d9c.js → p-Ck7uSZOL.js} +1 -1
  444. package/dist/ionic/p-Cl0B-RWe.js +4 -0
  445. package/dist/ionic/p-CqNf-A5G.js +4 -0
  446. package/dist/ionic/p-CtWGkNnJ.js +4 -0
  447. package/dist/ionic/{p-f08a92cc.js → p-D-bDfEy0.js} +1 -1
  448. package/dist/ionic/{p-27281edd.js → p-D13Eaw-8.js} +1 -1
  449. package/dist/ionic/{p-809483ac.js → p-DCstKNei.js} +1 -1
  450. package/dist/ionic/p-DPhSdjFK.js +4 -0
  451. package/dist/ionic/p-DWFxQD6t.js +4 -0
  452. package/dist/ionic/{p-5b67b447.js → p-Dnc554yu.js} +1 -1
  453. package/dist/ionic/p-EP3pwcdb.js +5 -0
  454. package/dist/ionic/p-EglNvYQn.js +4 -0
  455. package/dist/ionic/{p-95001a19.js → p-LpklIrOy.js} +1 -1
  456. package/dist/ionic/{p-b7b1d91a.js → p-RuOFleJd.js} +1 -1
  457. package/dist/ionic/p-Uz6zKimy.js +4 -0
  458. package/dist/ionic/p-a178af33.entry.js +4 -0
  459. package/dist/ionic/p-a26637b1.entry.js +4 -0
  460. package/dist/ionic/p-a4bcf305.entry.js +4 -0
  461. package/dist/ionic/p-a9997b1b.entry.js +4 -0
  462. package/dist/ionic/p-ade7bda6.entry.js +4 -0
  463. package/dist/ionic/p-aeb7297a.entry.js +4 -0
  464. package/dist/ionic/p-b2b0f539.entry.js +4 -0
  465. package/dist/ionic/p-bc9feb4b.entry.js +4 -0
  466. package/dist/ionic/p-c19bc276.entry.js +4 -0
  467. package/dist/ionic/p-c3abde95.entry.js +4 -0
  468. package/dist/ionic/p-ce26cd7d.entry.js +4 -0
  469. package/dist/ionic/p-d77d0b41.entry.js +4 -0
  470. package/dist/ionic/p-d887000e.entry.js +4 -0
  471. package/dist/ionic/p-d9c08f93.entry.js +4 -0
  472. package/dist/ionic/p-df87cf2d.entry.js +4 -0
  473. package/dist/ionic/p-e2e4b1f1.entry.js +4 -0
  474. package/dist/ionic/p-e426331f.entry.js +4 -0
  475. package/dist/ionic/p-e471e1e5.entry.js +4 -0
  476. package/dist/ionic/p-e5e82fa5.entry.js +4 -0
  477. package/dist/ionic/p-f0c5ea4c.entry.js +4 -0
  478. package/dist/ionic/{p-481e0885.entry.js → p-ff362ebc.entry.js} +1 -1
  479. package/dist/types/components/checkbox/checkbox.d.ts +0 -5
  480. package/dist/types/components/datetime/datetime-interface.d.ts +1 -0
  481. package/dist/types/components/datetime/datetime.d.ts +6 -0
  482. package/dist/types/components/datetime/utils/data.d.ts +3 -1
  483. package/dist/types/components/datetime/utils/manipulation.d.ts +1 -0
  484. package/dist/types/components/input/input.d.ts +0 -5
  485. package/dist/types/components/select/select.d.ts +0 -5
  486. package/dist/types/components/textarea/textarea.d.ts +0 -5
  487. package/dist/types/components/toggle/toggle.d.ts +0 -5
  488. package/dist/types/components.d.ts +8 -0
  489. package/dist/types/stencil-public-runtime.d.ts +9 -0
  490. package/hydrate/index.d.ts +40 -5
  491. package/hydrate/index.js +4753 -2320
  492. package/hydrate/index.mjs +4752 -2319
  493. package/loader/cdn.js +1 -2
  494. package/loader/index.cjs.js +1 -2
  495. package/loader/index.es2017.js +0 -1
  496. package/loader/index.js +1 -2
  497. package/package.json +2 -2
  498. package/dist/esm/polyfills/core-js.js +0 -11
  499. package/dist/esm/polyfills/dom.js +0 -79
  500. package/dist/esm/polyfills/es5-html-element.js +0 -1
  501. package/dist/esm/polyfills/index.js +0 -34
  502. package/dist/esm/polyfills/system.js +0 -6
  503. package/dist/esm-es5/animation-8b25e105.js +0 -4
  504. package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
  505. package/dist/esm-es5/button-active-90f1dbc4.js +0 -4
  506. package/dist/esm-es5/capacitor-59395cbd.js +0 -4
  507. package/dist/esm-es5/compare-with-utils-a96ff2ea.js +0 -4
  508. package/dist/esm-es5/config-9898ed97.js +0 -4
  509. package/dist/esm-es5/cubic-bezier-fe2083dc.js +0 -4
  510. package/dist/esm-es5/data-0d7ea6eb.js +0 -4
  511. package/dist/esm-es5/dir-babeabeb.js +0 -4
  512. package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
  513. package/dist/esm-es5/framework-delegate-56b467ad.js +0 -4
  514. package/dist/esm-es5/gesture-controller-314a54f6.js +0 -4
  515. package/dist/esm-es5/haptic-ac164e4c.js +0 -4
  516. package/dist/esm-es5/hardware-back-button-a7eb8233.js +0 -4
  517. package/dist/esm-es5/helpers-d94bc8ad.js +0 -4
  518. package/dist/esm-es5/index-18f31305.js +0 -4
  519. package/dist/esm-es5/index-39782642.js +0 -4
  520. package/dist/esm-es5/index-527b9e34.js +0 -5
  521. package/dist/esm-es5/index-68c0d151.js +0 -4
  522. package/dist/esm-es5/index-9a17db3d.js +0 -4
  523. package/dist/esm-es5/index-a5d50daf.js +0 -4
  524. package/dist/esm-es5/index-be190feb.js +0 -4
  525. package/dist/esm-es5/index-cfd9c1f2.js +0 -5
  526. package/dist/esm-es5/index-e2cf2ceb.js +0 -4
  527. package/dist/esm-es5/index.js +0 -4
  528. package/dist/esm-es5/input-shims-279903e2.js +0 -4
  529. package/dist/esm-es5/input.utils-40504d6d.js +0 -4
  530. package/dist/esm-es5/ion-accordion_2.entry.js +0 -4
  531. package/dist/esm-es5/ion-action-sheet.entry.js +0 -4
  532. package/dist/esm-es5/ion-alert.entry.js +0 -4
  533. package/dist/esm-es5/ion-app_8.entry.js +0 -4
  534. package/dist/esm-es5/ion-avatar_3.entry.js +0 -4
  535. package/dist/esm-es5/ion-back-button.entry.js +0 -4
  536. package/dist/esm-es5/ion-backdrop.entry.js +0 -4
  537. package/dist/esm-es5/ion-breadcrumb_2.entry.js +0 -4
  538. package/dist/esm-es5/ion-button_2.entry.js +0 -4
  539. package/dist/esm-es5/ion-card_5.entry.js +0 -4
  540. package/dist/esm-es5/ion-checkbox.entry.js +0 -4
  541. package/dist/esm-es5/ion-chip.entry.js +0 -4
  542. package/dist/esm-es5/ion-col_3.entry.js +0 -4
  543. package/dist/esm-es5/ion-datetime-button.entry.js +0 -4
  544. package/dist/esm-es5/ion-datetime_3.entry.js +0 -4
  545. package/dist/esm-es5/ion-fab_3.entry.js +0 -4
  546. package/dist/esm-es5/ion-img.entry.js +0 -4
  547. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +0 -4
  548. package/dist/esm-es5/ion-input-password-toggle.entry.js +0 -4
  549. package/dist/esm-es5/ion-input.entry.js +0 -4
  550. package/dist/esm-es5/ion-item-option_3.entry.js +0 -4
  551. package/dist/esm-es5/ion-item_8.entry.js +0 -4
  552. package/dist/esm-es5/ion-loading.entry.js +0 -4
  553. package/dist/esm-es5/ion-menu_3.entry.js +0 -4
  554. package/dist/esm-es5/ion-modal.entry.js +0 -4
  555. package/dist/esm-es5/ion-nav_2.entry.js +0 -4
  556. package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
  557. package/dist/esm-es5/ion-picker-column.entry.js +0 -4
  558. package/dist/esm-es5/ion-picker.entry.js +0 -4
  559. package/dist/esm-es5/ion-popover.entry.js +0 -4
  560. package/dist/esm-es5/ion-progress-bar.entry.js +0 -4
  561. package/dist/esm-es5/ion-radio_2.entry.js +0 -4
  562. package/dist/esm-es5/ion-range.entry.js +0 -4
  563. package/dist/esm-es5/ion-refresher_2.entry.js +0 -4
  564. package/dist/esm-es5/ion-reorder_2.entry.js +0 -4
  565. package/dist/esm-es5/ion-ripple-effect.entry.js +0 -4
  566. package/dist/esm-es5/ion-route_4.entry.js +0 -4
  567. package/dist/esm-es5/ion-searchbar.entry.js +0 -4
  568. package/dist/esm-es5/ion-segment-content.entry.js +0 -4
  569. package/dist/esm-es5/ion-segment-view.entry.js +0 -4
  570. package/dist/esm-es5/ion-segment_2.entry.js +0 -4
  571. package/dist/esm-es5/ion-select-modal.entry.js +0 -4
  572. package/dist/esm-es5/ion-select_3.entry.js +0 -4
  573. package/dist/esm-es5/ion-spinner.entry.js +0 -4
  574. package/dist/esm-es5/ion-split-pane.entry.js +0 -4
  575. package/dist/esm-es5/ion-tab-bar_2.entry.js +0 -4
  576. package/dist/esm-es5/ion-tab_2.entry.js +0 -4
  577. package/dist/esm-es5/ion-text.entry.js +0 -4
  578. package/dist/esm-es5/ion-textarea.entry.js +0 -4
  579. package/dist/esm-es5/ion-toast.entry.js +0 -4
  580. package/dist/esm-es5/ion-toggle.entry.js +0 -4
  581. package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
  582. package/dist/esm-es5/ionic.js +0 -4
  583. package/dist/esm-es5/ios.transition-4047cb68.js +0 -4
  584. package/dist/esm-es5/keyboard-52278bd7.js +0 -4
  585. package/dist/esm-es5/keyboard-73175e24.js +0 -4
  586. package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
  587. package/dist/esm-es5/loader.js +0 -4
  588. package/dist/esm-es5/lock-controller-316928be.js +0 -4
  589. package/dist/esm-es5/md.transition-30ce8d1b.js +0 -4
  590. package/dist/esm-es5/notch-controller-1a1f7183.js +0 -4
  591. package/dist/esm-es5/overlays-d99dcb0a.js +0 -4
  592. package/dist/esm-es5/spinner-configs-964f7cf3.js +0 -4
  593. package/dist/esm-es5/status-tap-42a8af65.js +0 -4
  594. package/dist/esm-es5/swipe-back-0184f6b3.js +0 -4
  595. package/dist/esm-es5/theme-01f3f29c.js +0 -4
  596. package/dist/esm-es5/watch-options-c2911ace.js +0 -4
  597. package/dist/ionic/ionic.js +0 -127
  598. package/dist/ionic/p-00023f5a.system.js +0 -4
  599. package/dist/ionic/p-012c3ceb.system.js +0 -4
  600. package/dist/ionic/p-019e30a3.system.entry.js +0 -4
  601. package/dist/ionic/p-03480b95.system.entry.js +0 -4
  602. package/dist/ionic/p-08cef0b1.entry.js +0 -4
  603. package/dist/ionic/p-08e01816.system.js +0 -4
  604. package/dist/ionic/p-105b2e8b.entry.js +0 -4
  605. package/dist/ionic/p-117d0013.system.entry.js +0 -4
  606. package/dist/ionic/p-11dca959.entry.js +0 -4
  607. package/dist/ionic/p-12193821.system.js +0 -4
  608. package/dist/ionic/p-12830298.system.entry.js +0 -4
  609. package/dist/ionic/p-14154301.system.entry.js +0 -4
  610. package/dist/ionic/p-14bdb5aa.entry.js +0 -4
  611. package/dist/ionic/p-1706b406.system.entry.js +0 -4
  612. package/dist/ionic/p-171ca87d.system.js +0 -4
  613. package/dist/ionic/p-19494658.system.entry.js +0 -4
  614. package/dist/ionic/p-1966a13c.system.js +0 -4
  615. package/dist/ionic/p-1974d5b2.system.js +0 -4
  616. package/dist/ionic/p-1a81ac09.system.js +0 -4
  617. package/dist/ionic/p-1b9c59ab.js +0 -4
  618. package/dist/ionic/p-1d307396.system.js +0 -4
  619. package/dist/ionic/p-1dfc11b3.system.js +0 -4
  620. package/dist/ionic/p-1e4371bd.js +0 -4
  621. package/dist/ionic/p-1e955a45.system.js +0 -4
  622. package/dist/ionic/p-20d469d0.system.js +0 -4
  623. package/dist/ionic/p-21891ead.js +0 -4
  624. package/dist/ionic/p-2233344a.system.js +0 -4
  625. package/dist/ionic/p-24a6c8a3.system.entry.js +0 -4
  626. package/dist/ionic/p-257fb777.entry.js +0 -4
  627. package/dist/ionic/p-25b10f81.js +0 -4
  628. package/dist/ionic/p-2b7827c7.js +0 -4
  629. package/dist/ionic/p-2bff0e69.system.entry.js +0 -4
  630. package/dist/ionic/p-31dc303d.entry.js +0 -4
  631. package/dist/ionic/p-3535d6b5.entry.js +0 -4
  632. package/dist/ionic/p-35cdfd77.system.entry.js +0 -4
  633. package/dist/ionic/p-39fa7dd1.system.entry.js +0 -4
  634. package/dist/ionic/p-3a30f31b.system.entry.js +0 -4
  635. package/dist/ionic/p-3e1e14d9.system.js +0 -4
  636. package/dist/ionic/p-42f08b26.system.entry.js +0 -4
  637. package/dist/ionic/p-4609d030.system.js +0 -4
  638. package/dist/ionic/p-4a5be299.system.entry.js +0 -4
  639. package/dist/ionic/p-4c667fce.js +0 -4
  640. package/dist/ionic/p-4cf4172e.entry.js +0 -4
  641. package/dist/ionic/p-4da92dac.entry.js +0 -4
  642. package/dist/ionic/p-4ed5db19.system.js +0 -4
  643. package/dist/ionic/p-4f255d5a.system.js +0 -4
  644. package/dist/ionic/p-50cb2e8b.system.entry.js +0 -4
  645. package/dist/ionic/p-57957c0f.entry.js +0 -4
  646. package/dist/ionic/p-57d6e18e.entry.js +0 -4
  647. package/dist/ionic/p-57e55ecb.system.js +0 -4
  648. package/dist/ionic/p-5c9feddc.system.entry.js +0 -4
  649. package/dist/ionic/p-5fac20aa.system.entry.js +0 -4
  650. package/dist/ionic/p-612096e6.system.entry.js +0 -4
  651. package/dist/ionic/p-6201c4ba.entry.js +0 -4
  652. package/dist/ionic/p-625248d0.system.js +0 -4
  653. package/dist/ionic/p-663413be.system.js +0 -4
  654. package/dist/ionic/p-6636a436.js +0 -4
  655. package/dist/ionic/p-66a5d6a8.js +0 -5
  656. package/dist/ionic/p-66df5468.system.entry.js +0 -4
  657. package/dist/ionic/p-67077d48.entry.js +0 -4
  658. package/dist/ionic/p-6835ebdd.system.entry.js +0 -4
  659. package/dist/ionic/p-6a03fc0f.entry.js +0 -4
  660. package/dist/ionic/p-6b8530f5.system.entry.js +0 -4
  661. package/dist/ionic/p-6c474e87.entry.js +0 -4
  662. package/dist/ionic/p-6dd86ff5.system.entry.js +0 -4
  663. package/dist/ionic/p-6ec0c94a.entry.js +0 -4
  664. package/dist/ionic/p-6f832afe.system.entry.js +0 -4
  665. package/dist/ionic/p-707408c5.system.entry.js +0 -4
  666. package/dist/ionic/p-712c0131.entry.js +0 -4
  667. package/dist/ionic/p-721f43f9.entry.js +0 -4
  668. package/dist/ionic/p-72b3050b.system.entry.js +0 -4
  669. package/dist/ionic/p-7445a2e5.system.js +0 -4
  670. package/dist/ionic/p-7611ede3.system.entry.js +0 -4
  671. package/dist/ionic/p-781e2dbb.system.js +0 -4
  672. package/dist/ionic/p-792919fd.system.js +0 -4
  673. package/dist/ionic/p-7b8c12c3.entry.js +0 -4
  674. package/dist/ionic/p-7c5c7ae1.system.entry.js +0 -4
  675. package/dist/ionic/p-7e3e6ed2.entry.js +0 -4
  676. package/dist/ionic/p-7ffedf77.system.entry.js +0 -4
  677. package/dist/ionic/p-81904a80.entry.js +0 -4
  678. package/dist/ionic/p-84096b45.system.js +0 -4
  679. package/dist/ionic/p-8450f761.entry.js +0 -4
  680. package/dist/ionic/p-8460d95a.entry.js +0 -4
  681. package/dist/ionic/p-85b01465.js +0 -4
  682. package/dist/ionic/p-865fe95c.entry.js +0 -4
  683. package/dist/ionic/p-8674af94.entry.js +0 -4
  684. package/dist/ionic/p-890a4ee2.entry.js +0 -4
  685. package/dist/ionic/p-891553d8.entry.js +0 -4
  686. package/dist/ionic/p-8985cdb6.system.js +0 -4
  687. package/dist/ionic/p-8ab2f7a4.system.entry.js +0 -4
  688. package/dist/ionic/p-8b050e84.system.js +0 -4
  689. package/dist/ionic/p-8dacf4e2.entry.js +0 -4
  690. package/dist/ionic/p-8ededb41.js +0 -4
  691. package/dist/ionic/p-94551927.js +0 -4
  692. package/dist/ionic/p-965287fb.system.entry.js +0 -4
  693. package/dist/ionic/p-979d4f5c.system.js +0 -4
  694. package/dist/ionic/p-98fd942b.system.entry.js +0 -4
  695. package/dist/ionic/p-9df5043e.system.entry.js +0 -4
  696. package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
  697. package/dist/ionic/p-a4866e3e.system.js +0 -4
  698. package/dist/ionic/p-a5dbe0ff.system.entry.js +0 -4
  699. package/dist/ionic/p-a7a97bf4.system.entry.js +0 -4
  700. package/dist/ionic/p-a835aca8.entry.js +0 -4
  701. package/dist/ionic/p-a83e3290.system.js +0 -4
  702. package/dist/ionic/p-a93873de.system.js +0 -4
  703. package/dist/ionic/p-aad57e35.entry.js +0 -4
  704. package/dist/ionic/p-ab7337e1.entry.js +0 -4
  705. package/dist/ionic/p-abe101da.system.js +0 -4
  706. package/dist/ionic/p-ad592db9.entry.js +0 -4
  707. package/dist/ionic/p-ae039072.entry.js +0 -4
  708. package/dist/ionic/p-aebfab05.system.entry.js +0 -4
  709. package/dist/ionic/p-b06ac4a5.system.js +0 -4
  710. package/dist/ionic/p-b22ab9f4.js +0 -4
  711. package/dist/ionic/p-b2e7eda0.system.entry.js +0 -4
  712. package/dist/ionic/p-b4d17da0.system.entry.js +0 -4
  713. package/dist/ionic/p-b5432d15.entry.js +0 -4
  714. package/dist/ionic/p-b8050298.system.entry.js +0 -4
  715. package/dist/ionic/p-b904cfe2.system.entry.js +0 -4
  716. package/dist/ionic/p-b9c793d4.entry.js +0 -4
  717. package/dist/ionic/p-bafc3eae.system.entry.js +0 -4
  718. package/dist/ionic/p-bf184319.system.entry.js +0 -4
  719. package/dist/ionic/p-c16443a8.system.js +0 -4
  720. package/dist/ionic/p-c1b7d311.system.entry.js +0 -4
  721. package/dist/ionic/p-c2160d8c.entry.js +0 -4
  722. package/dist/ionic/p-c468af8a.system.js +0 -4
  723. package/dist/ionic/p-c5b77054.entry.js +0 -4
  724. package/dist/ionic/p-c5bfa3e9.entry.js +0 -4
  725. package/dist/ionic/p-c61cc894.js +0 -4
  726. package/dist/ionic/p-cad82569.entry.js +0 -4
  727. package/dist/ionic/p-cec902a0.system.entry.js +0 -4
  728. package/dist/ionic/p-d16fab3f.entry.js +0 -4
  729. package/dist/ionic/p-d1eb2d7f.entry.js +0 -4
  730. package/dist/ionic/p-d382f09c.system.js +0 -4
  731. package/dist/ionic/p-d8d84afa.system.js +0 -4
  732. package/dist/ionic/p-d984c1ab.system.entry.js +0 -4
  733. package/dist/ionic/p-dabe3bd4.js +0 -4
  734. package/dist/ionic/p-df069a0d.entry.js +0 -4
  735. package/dist/ionic/p-e1678e42.entry.js +0 -4
  736. package/dist/ionic/p-e673a0a2.system.js +0 -4
  737. package/dist/ionic/p-e727e32d.system.entry.js +0 -4
  738. package/dist/ionic/p-e887b6a9.system.js +0 -4
  739. package/dist/ionic/p-edd2e3c7.entry.js +0 -4
  740. package/dist/ionic/p-f0c9f8e3.system.entry.js +0 -4
  741. package/dist/ionic/p-f0ef39ab.entry.js +0 -4
  742. package/dist/ionic/p-f11a9436.system.js +0 -5
  743. package/dist/ionic/p-f22490a7.system.entry.js +0 -4
  744. package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
  745. package/dist/ionic/p-f6e7d104.system.js +0 -4
  746. package/dist/ionic/p-f725bf9e.system.js +0 -4
  747. package/dist/ionic/p-f9a87db2.system.entry.js +0 -4
  748. package/dist/ionic/p-fa3f4b96.system.js +0 -4
  749. package/dist/ionic/p-fe063952.system.entry.js +0 -4
  750. package/loader/package.json +0 -11
  751. /package/dist/cjs/{compare-with-utils-df1001d7.js → compare-with-utils-DSicavqM.js} +0 -0
  752. /package/dist/cjs/{cubic-bezier-f2dccc53.js → cubic-bezier-DAjy1V-e.js} +0 -0
  753. /package/dist/cjs/{dir-94c21456.js → dir-Cn0z1rJH.js} +0 -0
  754. /package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-CCvKiLh3.js} +0 -0
  755. /package/dist/cjs/{index-cc858e97.js → index-CAT7dkq1.js} +0 -0
  756. /package/dist/cjs/{index-c8d52405.js → index-DkNv4J_i.js} +0 -0
  757. /package/dist/cjs/{lock-controller-6585a42a.js → lock-controller-aDB9wrEf.js} +0 -0
  758. /package/dist/cjs/{spinner-configs-282fd50a.js → spinner-configs-DxHKnd3-.js} +0 -0
  759. /package/dist/cjs/{theme-d1c573d2.js → theme-CeDs6Hcv.js} +0 -0
  760. /package/dist/cjs/{watch-options-f5f3e158.js → watch-options-CviOsrTS.js} +0 -0
  761. /package/dist/esm/{compare-with-utils-a96ff2ea.js → compare-with-utils-sObYyvOy.js} +0 -0
  762. /package/dist/esm/{cubic-bezier-fe2083dc.js → cubic-bezier-hHmYLOfE.js} +0 -0
  763. /package/dist/esm/{dir-babeabeb.js → dir-C53feagD.js} +0 -0
  764. /package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-BmVRXR1y.js} +0 -0
  765. /package/dist/esm/{index-a5d50daf.js → index-ZjP4CjeZ.js} +0 -0
  766. /package/dist/esm/{lock-controller-316928be.js → lock-controller-B-hirT0v.js} +0 -0
  767. /package/dist/esm/{spinner-configs-964f7cf3.js → spinner-configs-D4RIp70E.js} +0 -0
  768. /package/dist/esm/{theme-01f3f29c.js → theme-DiVJyqlX.js} +0 -0
  769. /package/dist/esm/{watch-options-c2911ace.js → watch-options-Dtdm8lKC.js} +0 -0
  770. /package/dist/ionic/{p-ccd02320.js → p-B-hirT0v.js} +0 -0
  771. /package/dist/ionic/{p-9b97df10.js → p-BTEOs1at.js} +0 -0
  772. /package/dist/ionic/{p-d47265c8.js → p-BmVRXR1y.js} +0 -0
  773. /package/dist/ionic/{p-fb813dab.js → p-C53feagD.js} +0 -0
  774. /package/dist/ionic/{p-f0c2a614.js → p-D4RIp70E.js} +0 -0
  775. /package/dist/ionic/{p-47794def.js → p-DiVJyqlX.js} +0 -0
  776. /package/dist/ionic/{p-459d13d5.js → p-Dtdm8lKC.js} +0 -0
  777. /package/dist/ionic/{p-7b30edcc.js → p-ZjP4CjeZ.js} +0 -0
  778. /package/dist/ionic/{p-2408c236.js → p-hHmYLOfE.js} +0 -0
  779. /package/dist/ionic/{p-de756e5c.js → p-sObYyvOy.js} +0 -0
@@ -4,6 +4,7 @@
4
4
  import { Host, h } from "@stencil/core";
5
5
  import { renderHiddenInput, inheritAriaAttributes } from "../../utils/helpers";
6
6
  import { hapticSelection } from "../../utils/native/haptic";
7
+ import { isPlatform } from "../../utils/platform";
7
8
  import { isRTL } from "../../utils/rtl/index";
8
9
  import { createColorClasses, hostContext } from "../../utils/theme";
9
10
  import { checkmarkOutline, removeOutline, ellipseOutline } from "ionicons/icons";
@@ -30,6 +31,45 @@ export class Toggle {
30
31
  this.lastDrag = 0;
31
32
  this.inheritedAttributes = {};
32
33
  this.didLoad = false;
34
+ this.activated = false;
35
+ /**
36
+ * The name of the control, which is submitted with the form data.
37
+ */
38
+ this.name = this.inputId;
39
+ /**
40
+ * If `true`, the toggle is selected.
41
+ */
42
+ this.checked = false;
43
+ /**
44
+ * If `true`, the user cannot interact with the toggle.
45
+ */
46
+ this.disabled = false;
47
+ /**
48
+ * The value of the toggle does not mean if it's checked or not, use the `checked`
49
+ * property for that.
50
+ *
51
+ * The value of a toggle is analogous to the value of a `<input type="checkbox">`,
52
+ * it's only used when the toggle participates in a native `<form>`.
53
+ */
54
+ this.value = 'on';
55
+ /**
56
+ * Enables the on/off accessibility switch labels within the toggle.
57
+ */
58
+ this.enableOnOffLabels = config.get('toggleOnOffLabels');
59
+ /**
60
+ * Where to place the label relative to the input.
61
+ * `"start"`: The label will appear to the left of the toggle in LTR and to the right in RTL.
62
+ * `"end"`: The label will appear to the right of the toggle in LTR and to the left in RTL.
63
+ * `"fixed"`: The label has the same behavior as `"start"` except it also has a fixed width. Long text will be truncated with ellipses ("...").
64
+ * `"stacked"`: The label will appear above the toggle regardless of the direction. The alignment of the label can be controlled with the `alignment` property.
65
+ */
66
+ this.labelPlacement = 'start';
67
+ /**
68
+ * If true, screen readers will announce it as a required field. This property
69
+ * works only for accessibility purposes, it will not prevent the form from
70
+ * submitting if the value is invalid.
71
+ */
72
+ this.required = false;
33
73
  this.setupGesture = async () => {
34
74
  const { toggleTrack } = this;
35
75
  if (toggleTrack) {
@@ -55,21 +95,21 @@ export class Toggle {
55
95
  }
56
96
  };
57
97
  this.onClick = (ev) => {
98
+ /**
99
+ * The haptics for the toggle on tap is
100
+ * an iOS-only feature. As such, it should
101
+ * only trigger on iOS.
102
+ */
103
+ const enableHaptics = isPlatform('ios');
58
104
  if (this.disabled) {
59
105
  return;
60
106
  }
61
107
  ev.preventDefault();
62
108
  if (this.lastDrag + 300 < Date.now()) {
63
109
  this.toggleChecked();
110
+ enableHaptics && hapticSelection();
64
111
  }
65
112
  };
66
- /**
67
- * Stops propagation when the display label is clicked,
68
- * otherwise, two clicks will be triggered.
69
- */
70
- this.onDivLabelClick = (ev) => {
71
- ev.stopPropagation();
72
- };
73
113
  this.onFocus = () => {
74
114
  this.ionFocus.emit();
75
115
  };
@@ -82,19 +122,6 @@ export class Toggle {
82
122
  }
83
123
  return checked ? removeOutline : ellipseOutline;
84
124
  };
85
- this.activated = false;
86
- this.color = undefined;
87
- this.name = this.inputId;
88
- this.checked = false;
89
- this.disabled = false;
90
- this.errorText = undefined;
91
- this.helperText = undefined;
92
- this.value = 'on';
93
- this.enableOnOffLabels = config.get('toggleOnOffLabels');
94
- this.labelPlacement = 'start';
95
- this.justify = undefined;
96
- this.alignment = undefined;
97
- this.required = false;
98
125
  }
99
126
  disabledChanged() {
100
127
  if (this.gesture) {
@@ -208,7 +235,7 @@ export class Toggle {
208
235
  const value = this.getValue();
209
236
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
210
237
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
211
- return (h(Host, { key: 'd9dad2132e9d6cf8e9844fefa009402e1a637ef8', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === errorTextId, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: createColorClasses(color, {
238
+ return (h(Host, { key: '4a79e050a8ec58650ca13c8ac087891dc608013b', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === errorTextId, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: createColorClasses(color, {
212
239
  [mode]: true,
213
240
  'in-item': hostContext('ion-item', el),
214
241
  'toggle-activated': activated,
@@ -218,10 +245,10 @@ export class Toggle {
218
245
  [`toggle-alignment-${alignment}`]: alignment !== undefined,
219
246
  [`toggle-label-placement-${labelPlacement}`]: true,
220
247
  [`toggle-${rtl}`]: true,
221
- }) }, h("label", { key: '4becda2f40a735e941ecaba26f14231271e38197', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: 'c1946dd6aa23dee3562915a7165e012c48b79890', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: '2493dc0aa587f5f9d9a7d0a388f92928f2db0cf3', class: {
248
+ }) }, h("label", { key: 'a733a3b0e458b917f12c1c6495fbb5f2455ff828', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '95fdd95755fe4d972a07d1dfa2865a26b9be519c', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: '8207caf19f2679e40bd23eacd694c24ea5819916', class: {
222
249
  'label-text-wrapper': true,
223
250
  'label-text-wrapper-hidden': !hasLabel,
224
- }, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '798220850b311a26b081914d5c774b757bde2992' }), this.renderHintText()), h("div", { key: '3c6142c9697b60646f286f6fd59f54609377f7d0', class: "native-wrapper" }, this.renderToggleControl()))));
251
+ }, part: "label", id: inputLabelId }, h("slot", { key: '4555e00e2997e0a20d2e2f736e7b048c2de5320e' }), this.renderHintText()), h("div", { key: 'b60d3e41561cf2ae46fb6de09f5590fa127a6172', class: "native-wrapper" }, this.renderToggleControl()))));
225
252
  }
226
253
  static get is() { return "ion-toggle"; }
227
254
  static get encapsulation() { return "shadow"; }
@@ -241,6 +268,7 @@ export class Toggle {
241
268
  return {
242
269
  "color": {
243
270
  "type": "string",
271
+ "attribute": "color",
244
272
  "mutable": false,
245
273
  "complexType": {
246
274
  "original": "Color",
@@ -259,11 +287,13 @@ export class Toggle {
259
287
  "tags": [],
260
288
  "text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
261
289
  },
262
- "attribute": "color",
290
+ "getter": false,
291
+ "setter": false,
263
292
  "reflect": true
264
293
  },
265
294
  "name": {
266
295
  "type": "string",
296
+ "attribute": "name",
267
297
  "mutable": false,
268
298
  "complexType": {
269
299
  "original": "string",
@@ -276,12 +306,14 @@ export class Toggle {
276
306
  "tags": [],
277
307
  "text": "The name of the control, which is submitted with the form data."
278
308
  },
279
- "attribute": "name",
309
+ "getter": false,
310
+ "setter": false,
280
311
  "reflect": false,
281
312
  "defaultValue": "this.inputId"
282
313
  },
283
314
  "checked": {
284
315
  "type": "boolean",
316
+ "attribute": "checked",
285
317
  "mutable": true,
286
318
  "complexType": {
287
319
  "original": "boolean",
@@ -294,12 +326,14 @@ export class Toggle {
294
326
  "tags": [],
295
327
  "text": "If `true`, the toggle is selected."
296
328
  },
297
- "attribute": "checked",
329
+ "getter": false,
330
+ "setter": false,
298
331
  "reflect": false,
299
332
  "defaultValue": "false"
300
333
  },
301
334
  "disabled": {
302
335
  "type": "boolean",
336
+ "attribute": "disabled",
303
337
  "mutable": false,
304
338
  "complexType": {
305
339
  "original": "boolean",
@@ -312,12 +346,14 @@ export class Toggle {
312
346
  "tags": [],
313
347
  "text": "If `true`, the user cannot interact with the toggle."
314
348
  },
315
- "attribute": "disabled",
349
+ "getter": false,
350
+ "setter": false,
316
351
  "reflect": false,
317
352
  "defaultValue": "false"
318
353
  },
319
354
  "errorText": {
320
355
  "type": "string",
356
+ "attribute": "error-text",
321
357
  "mutable": false,
322
358
  "complexType": {
323
359
  "original": "string",
@@ -330,11 +366,13 @@ export class Toggle {
330
366
  "tags": [],
331
367
  "text": "Text that is placed under the toggle label and displayed when an error is detected."
332
368
  },
333
- "attribute": "error-text",
369
+ "getter": false,
370
+ "setter": false,
334
371
  "reflect": false
335
372
  },
336
373
  "helperText": {
337
374
  "type": "string",
375
+ "attribute": "helper-text",
338
376
  "mutable": false,
339
377
  "complexType": {
340
378
  "original": "string",
@@ -347,11 +385,13 @@ export class Toggle {
347
385
  "tags": [],
348
386
  "text": "Text that is placed under the toggle label and displayed when no error is detected."
349
387
  },
350
- "attribute": "helper-text",
388
+ "getter": false,
389
+ "setter": false,
351
390
  "reflect": false
352
391
  },
353
392
  "value": {
354
393
  "type": "string",
394
+ "attribute": "value",
355
395
  "mutable": false,
356
396
  "complexType": {
357
397
  "original": "string | null",
@@ -364,12 +404,14 @@ export class Toggle {
364
404
  "tags": [],
365
405
  "text": "The value of the toggle does not mean if it's checked or not, use the `checked`\nproperty for that.\n\nThe value of a toggle is analogous to the value of a `<input type=\"checkbox\">`,\nit's only used when the toggle participates in a native `<form>`."
366
406
  },
367
- "attribute": "value",
407
+ "getter": false,
408
+ "setter": false,
368
409
  "reflect": false,
369
410
  "defaultValue": "'on'"
370
411
  },
371
412
  "enableOnOffLabels": {
372
413
  "type": "boolean",
414
+ "attribute": "enable-on-off-labels",
373
415
  "mutable": false,
374
416
  "complexType": {
375
417
  "original": "boolean | undefined",
@@ -382,12 +424,14 @@ export class Toggle {
382
424
  "tags": [],
383
425
  "text": "Enables the on/off accessibility switch labels within the toggle."
384
426
  },
385
- "attribute": "enable-on-off-labels",
427
+ "getter": false,
428
+ "setter": false,
386
429
  "reflect": false,
387
430
  "defaultValue": "config.get('toggleOnOffLabels')"
388
431
  },
389
432
  "labelPlacement": {
390
433
  "type": "string",
434
+ "attribute": "label-placement",
391
435
  "mutable": false,
392
436
  "complexType": {
393
437
  "original": "'start' | 'end' | 'fixed' | 'stacked'",
@@ -400,12 +444,14 @@ export class Toggle {
400
444
  "tags": [],
401
445
  "text": "Where to place the label relative to the input.\n`\"start\"`: The label will appear to the left of the toggle in LTR and to the right in RTL.\n`\"end\"`: The label will appear to the right of the toggle in LTR and to the left in RTL.\n`\"fixed\"`: The label has the same behavior as `\"start\"` except it also has a fixed width. Long text will be truncated with ellipses (\"...\").\n`\"stacked\"`: The label will appear above the toggle regardless of the direction. The alignment of the label can be controlled with the `alignment` property."
402
446
  },
403
- "attribute": "label-placement",
447
+ "getter": false,
448
+ "setter": false,
404
449
  "reflect": false,
405
450
  "defaultValue": "'start'"
406
451
  },
407
452
  "justify": {
408
453
  "type": "string",
454
+ "attribute": "justify",
409
455
  "mutable": false,
410
456
  "complexType": {
411
457
  "original": "'start' | 'end' | 'space-between'",
@@ -418,11 +464,13 @@ export class Toggle {
418
464
  "tags": [],
419
465
  "text": "How to pack the label and toggle within a line.\n`\"start\"`: The label and toggle will appear on the left in LTR and\non the right in RTL.\n`\"end\"`: The label and toggle will appear on the right in LTR and\non the left in RTL.\n`\"space-between\"`: The label and toggle will appear on opposite\nends of the line with space between the two elements.\nSetting this property will change the toggle `display` to `block`."
420
466
  },
421
- "attribute": "justify",
467
+ "getter": false,
468
+ "setter": false,
422
469
  "reflect": false
423
470
  },
424
471
  "alignment": {
425
472
  "type": "string",
473
+ "attribute": "alignment",
426
474
  "mutable": false,
427
475
  "complexType": {
428
476
  "original": "'start' | 'center'",
@@ -435,11 +483,13 @@ export class Toggle {
435
483
  "tags": [],
436
484
  "text": "How to control the alignment of the toggle and label on the cross axis.\n`\"start\"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL.\n`\"center\"`: The label and control will appear at the center of the cross axis in both LTR and RTL.\nSetting this property will change the toggle `display` to `block`."
437
485
  },
438
- "attribute": "alignment",
486
+ "getter": false,
487
+ "setter": false,
439
488
  "reflect": false
440
489
  },
441
490
  "required": {
442
491
  "type": "boolean",
492
+ "attribute": "required",
443
493
  "mutable": false,
444
494
  "complexType": {
445
495
  "original": "boolean",
@@ -452,7 +502,8 @@ export class Toggle {
452
502
  "tags": [],
453
503
  "text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
454
504
  },
455
- "attribute": "required",
505
+ "getter": false,
506
+ "setter": false,
456
507
  "reflect": false,
457
508
  "defaultValue": "false"
458
509
  }
@@ -20,7 +20,6 @@ import { getIonMode } from "../../global/ionic-global";
20
20
  export class Toolbar {
21
21
  constructor() {
22
22
  this.childrenStyles = new Map();
23
- this.color = undefined;
24
23
  }
25
24
  componentWillLoad() {
26
25
  const buttons = Array.from(this.el.querySelectorAll('ion-buttons'));
@@ -89,6 +88,7 @@ export class Toolbar {
89
88
  return {
90
89
  "color": {
91
90
  "type": "string",
91
+ "attribute": "color",
92
92
  "mutable": false,
93
93
  "complexType": {
94
94
  "original": "Color",
@@ -107,7 +107,8 @@ export class Toolbar {
107
107
  "tags": [],
108
108
  "text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
109
109
  },
110
- "attribute": "color",
110
+ "getter": false,
111
+ "setter": false,
111
112
  "reflect": true
112
113
  }
113
114
  };
@@ -130,6 +130,7 @@ export const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, ke
130
130
  * focus an input but not have scroll assist run again.
131
131
  */
132
132
  const setManualFocus = (el) => {
133
+ var _a;
133
134
  /**
134
135
  * If element is already focused then
135
136
  * a new focusin event will not be dispatched
@@ -138,6 +139,23 @@ const setManualFocus = (el) => {
138
139
  if (document.activeElement === el) {
139
140
  return;
140
141
  }
142
+ /**
143
+ * Optimization for scenarios where the currently focused element is a sibling
144
+ * of the target element. In such cases, we avoid setting `SKIP_SCROLL_ASSIST`.
145
+ *
146
+ * This is crucial for accessibility: input elements can now contain focusable
147
+ * siblings (e.g., clear buttons, slotted elements). If we didn't skip setting
148
+ * the attribute here, screen readers would be unable to navigate to and interact
149
+ * with these sibling elements.
150
+ *
151
+ * Without this check, we would need to call `ev.stopPropagation()` on the
152
+ * 'focusin' event of each focusable sibling to prevent the scroll assist
153
+ * listener from incorrectly moving focus back to the input. This approach
154
+ * is less maintainable and more error-prone.
155
+ */
156
+ if (((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.parentNode) === el.parentNode) {
157
+ return;
158
+ }
141
159
  el.setAttribute(SKIP_SCROLL_ASSIST, 'true');
142
160
  el.focus();
143
161
  };
package/dist/docs.d.ts CHANGED
@@ -316,6 +316,14 @@ export interface JsonDocsProp {
316
316
  * ```
317
317
  */
318
318
  required: boolean;
319
+ /**
320
+ * `true` if the prop has a `get()`. `false` otherwise
321
+ */
322
+ getter: boolean;
323
+ /**
324
+ * `true` if the prop has a `set()`. `false` otherwise
325
+ */
326
+ setter: boolean;
319
327
  }
320
328
  export interface JsonDocsMethod {
321
329
  name: string;