@ionic/core 8.4.4-dev.11741648084.118e26ac → 8.4.4-dev.11741733932.1686c035

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 (571) hide show
  1. package/components/alert.js +4 -30
  2. package/components/checkbox.js +6 -40
  3. package/components/helpers.js +1 -7
  4. package/components/index6.js +3 -11
  5. package/components/index9.js +1 -1
  6. package/components/ion-input.js +2 -2
  7. package/components/ion-item-divider.js +2 -2
  8. package/components/ion-item-group.js +1 -1
  9. package/components/ion-item-option.js +2 -2
  10. package/components/ion-item-options.js +1 -1
  11. package/components/ion-item-sliding.js +1 -1
  12. package/components/ion-loading.js +2 -2
  13. package/components/ion-menu-button.js +2 -2
  14. package/components/ion-menu-toggle.js +2 -2
  15. package/components/ion-menu.js +2 -2
  16. package/components/ion-nav-link.js +1 -1
  17. package/components/ion-nav.js +1 -1
  18. package/components/ion-note.js +2 -2
  19. package/components/ion-picker-legacy.js +2 -2
  20. package/components/ion-progress-bar.js +1 -1
  21. package/components/ion-range.js +6 -28
  22. package/components/ion-refresher-content.js +1 -1
  23. package/components/ion-refresher.js +1 -1
  24. package/components/ion-reorder-group.js +1 -1
  25. package/components/ion-reorder.js +1 -1
  26. package/components/ion-router-link.js +2 -2
  27. package/components/ion-router-outlet.js +1 -1
  28. package/components/ion-router.js +1 -1
  29. package/components/ion-row.js +1 -1
  30. package/components/ion-searchbar.js +4 -4
  31. package/components/ion-segment-button.js +3 -3
  32. package/components/ion-segment-content.js +1 -1
  33. package/components/ion-segment-view.js +2 -2
  34. package/components/ion-segment.js +2 -2
  35. package/components/ion-select-option.js +1 -1
  36. package/components/ion-select.js +6 -50
  37. package/components/ion-skeleton-text.js +2 -2
  38. package/components/ion-split-pane.js +2 -2
  39. package/components/ion-tab-bar.js +2 -2
  40. package/components/ion-tab-button.js +2 -2
  41. package/components/ion-tab.js +2 -2
  42. package/components/ion-tabs.js +1 -1
  43. package/components/ion-text.js +2 -2
  44. package/components/ion-textarea.js +4 -4
  45. package/components/ion-thumbnail.js +1 -1
  46. package/components/ion-toast.js +2 -2
  47. package/components/ion-toggle.js +6 -41
  48. package/components/ionic-global.js +1 -2
  49. package/components/label.js +2 -2
  50. package/components/list-header.js +2 -2
  51. package/components/modal.js +35 -267
  52. package/components/picker-column-option.js +2 -2
  53. package/components/picker-column2.js +2 -2
  54. package/components/popover.js +2 -2
  55. package/components/radio-group.js +2 -39
  56. package/components/radio.js +3 -3
  57. package/components/ripple-effect.js +1 -1
  58. package/components/select-modal.js +1 -1
  59. package/components/select-popover.js +1 -1
  60. package/components/spinner.js +1 -1
  61. package/components/title.js +2 -2
  62. package/components/toolbar.js +2 -2
  63. package/css/core.css.map +1 -1
  64. package/css/ionic.bundle.css.map +1 -1
  65. package/dist/cjs/{app-globals-4283fe37.js → app-globals-21afee77.js} +1 -1
  66. package/dist/cjs/{data-26456291.js → data-21dc0f81.js} +1 -1
  67. package/dist/cjs/{framework-delegate-c4f2ba04.js → framework-delegate-05579976.js} +1 -1
  68. package/dist/cjs/{hardware-back-button-f2cbbdce.js → hardware-back-button-9e8a2c4f.js} +1 -1
  69. package/dist/cjs/{helpers-b14a0f09.js → helpers-4be3f90d.js} +0 -7
  70. package/dist/cjs/{index-0d2610b6.js → index-1ae3f40a.js} +4 -4
  71. package/dist/cjs/{index-6ad4725f.js → index-4e14a46e.js} +5 -5
  72. package/dist/cjs/{index-275c982e.js → index-5915f9b3.js} +3 -11
  73. package/dist/cjs/{index-786364c7.js → index-ad7a712e.js} +1 -1
  74. package/dist/cjs/{index-608fc5fd.js → index-c441c903.js} +2 -2
  75. package/dist/cjs/index.cjs.js +10 -10
  76. package/dist/cjs/{input-shims-a2cf9d15.js → input-shims-e748a364.js} +3 -5
  77. package/dist/cjs/{input.utils-18725f61.js → input.utils-74e4ec28.js} +2 -2
  78. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  79. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
  80. package/dist/cjs/ion-alert.cjs.entry.js +10 -36
  81. package/dist/cjs/ion-app_8.cjs.entry.js +17 -17
  82. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  83. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  86. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  87. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  88. package/dist/cjs/ion-checkbox.cjs.entry.js +8 -39
  89. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  90. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  91. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  92. package/dist/cjs/ion-datetime_3.cjs.entry.js +11 -11
  93. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  94. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  95. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
  96. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-input.cjs.entry.js +7 -7
  98. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  99. package/dist/cjs/ion-item_8.cjs.entry.js +13 -13
  100. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  101. package/dist/cjs/ion-menu_3.cjs.entry.js +13 -13
  102. package/dist/cjs/ion-modal.cjs.entry.js +43 -274
  103. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  104. package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
  105. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  107. package/dist/cjs/ion-popover.cjs.entry.js +9 -9
  108. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  109. package/dist/cjs/ion-radio_2.cjs.entry.js +6 -41
  110. package/dist/cjs/ion-range.cjs.entry.js +9 -30
  111. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  112. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  113. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  114. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  115. package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
  116. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  117. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  118. package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
  119. package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
  120. package/dist/cjs/ion-select_3.cjs.entry.js +15 -56
  121. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  122. package/dist/cjs/ion-split-pane.cjs.entry.js +3 -3
  123. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
  124. package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
  125. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  126. package/dist/cjs/ion-textarea.cjs.entry.js +9 -9
  127. package/dist/cjs/ion-toast.cjs.entry.js +8 -8
  128. package/dist/cjs/ion-toggle.cjs.entry.js +8 -40
  129. package/dist/cjs/{ionic-global-96da1b2e.js → ionic-global-d9a8bb5b.js} +1 -2
  130. package/dist/cjs/ionic.cjs.js +3 -3
  131. package/dist/cjs/{ios.transition-e188169d.js → ios.transition-afdec89f.js} +4 -4
  132. package/dist/cjs/loader.cjs.js +3 -3
  133. package/dist/cjs/{md.transition-b66da2a1.js → md.transition-9f0d3db5.js} +4 -4
  134. package/dist/cjs/{notch-controller-bd07748b.js → notch-controller-a0c464d1.js} +1 -1
  135. package/dist/cjs/{overlays-b0b07774.js → overlays-76b29cd4.js} +5 -5
  136. package/dist/cjs/{status-tap-3b633cba.js → status-tap-fb807fad.js} +3 -4
  137. package/dist/cjs/{swipe-back-b70cd52e.js → swipe-back-47a52b83.js} +1 -1
  138. package/dist/collection/components/alert/alert.js +4 -34
  139. package/dist/collection/components/checkbox/checkbox.ios.css +15 -52
  140. package/dist/collection/components/checkbox/checkbox.js +4 -90
  141. package/dist/collection/components/checkbox/checkbox.md.css +15 -52
  142. package/dist/collection/components/input/input.ios.css +2 -3
  143. package/dist/collection/components/input/input.md.css +2 -7
  144. package/dist/collection/components/item-divider/item-divider.js +2 -2
  145. package/dist/collection/components/item-group/item-group.js +1 -1
  146. package/dist/collection/components/item-option/item-option.js +2 -2
  147. package/dist/collection/components/item-options/item-options.js +1 -1
  148. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  149. package/dist/collection/components/label/label.js +2 -2
  150. package/dist/collection/components/list-header/list-header.js +2 -2
  151. package/dist/collection/components/loading/loading.js +2 -2
  152. package/dist/collection/components/menu/menu.js +2 -2
  153. package/dist/collection/components/menu-button/menu-button.js +2 -2
  154. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  155. package/dist/collection/components/modal/animations/ios.enter.js +4 -50
  156. package/dist/collection/components/modal/animations/ios.leave.js +2 -24
  157. package/dist/collection/components/modal/animations/md.enter.js +5 -52
  158. package/dist/collection/components/modal/animations/md.leave.js +3 -26
  159. package/dist/collection/components/modal/animations/sheet.js +2 -11
  160. package/dist/collection/components/modal/gestures/sheet.js +10 -87
  161. package/dist/collection/components/modal/modal.ios.css +0 -16
  162. package/dist/collection/components/modal/modal.js +7 -32
  163. package/dist/collection/components/modal/modal.md.css +0 -6
  164. package/dist/collection/components/nav/nav.js +1 -1
  165. package/dist/collection/components/nav-link/nav-link.js +1 -1
  166. package/dist/collection/components/note/note.js +2 -2
  167. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  168. package/dist/collection/components/picker-legacy/picker.js +2 -2
  169. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  170. package/dist/collection/components/popover/popover.js +2 -2
  171. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  172. package/dist/collection/components/radio/radio.js +3 -3
  173. package/dist/collection/components/radio-group/radio-group.js +1 -72
  174. package/dist/collection/components/range/range.js +6 -25
  175. package/dist/collection/components/refresher/refresher.js +1 -1
  176. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  177. package/dist/collection/components/reorder/reorder.js +1 -1
  178. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  179. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  180. package/dist/collection/components/router-link/router-link.js +2 -2
  181. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  182. package/dist/collection/components/row/row.js +1 -1
  183. package/dist/collection/components/searchbar/searchbar.js +4 -4
  184. package/dist/collection/components/segment/segment.js +2 -2
  185. package/dist/collection/components/segment-button/segment-button.js +2 -2
  186. package/dist/collection/components/segment-content/segment-content.js +1 -1
  187. package/dist/collection/components/segment-view/segment-view.js +2 -2
  188. package/dist/collection/components/select/select.ios.css +0 -59
  189. package/dist/collection/components/select/select.js +4 -100
  190. package/dist/collection/components/select/select.md.css +0 -61
  191. package/dist/collection/components/select-modal/select-modal.js +1 -1
  192. package/dist/collection/components/select-option/select-option.js +1 -1
  193. package/dist/collection/components/select-popover/select-popover.js +1 -1
  194. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  195. package/dist/collection/components/spinner/spinner.js +1 -1
  196. package/dist/collection/components/split-pane/split-pane.js +2 -2
  197. package/dist/collection/components/tab/tab.js +2 -2
  198. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  199. package/dist/collection/components/tab-button/tab-button.js +2 -2
  200. package/dist/collection/components/tabs/tabs.js +1 -1
  201. package/dist/collection/components/text/text.js +2 -2
  202. package/dist/collection/components/textarea/textarea.ios.css +2 -3
  203. package/dist/collection/components/textarea/textarea.js +2 -2
  204. package/dist/collection/components/textarea/textarea.md.css +2 -7
  205. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  206. package/dist/collection/components/title/title.js +2 -2
  207. package/dist/collection/components/toast/toast.js +2 -2
  208. package/dist/collection/components/toggle/toggle.ios.css +15 -52
  209. package/dist/collection/components/toggle/toggle.js +4 -91
  210. package/dist/collection/components/toggle/toggle.md.css +15 -52
  211. package/dist/collection/components/toolbar/toolbar.js +2 -6
  212. package/dist/collection/utils/floating-point/index.js +0 -5
  213. package/dist/collection/utils/helpers.js +0 -6
  214. package/dist/collection/utils/logging/index.js +3 -10
  215. package/dist/collection/utils/platform.js +1 -2
  216. package/dist/collection/utils/test/platform.utils.js +1 -1
  217. package/dist/docs.json +2 -383
  218. package/dist/esm/{app-globals-c10a1137.js → app-globals-5dbb61a5.js} +1 -1
  219. package/dist/esm/{data-bf516e75.js → data-ae11fd43.js} +1 -1
  220. package/dist/esm/{framework-delegate-42bc40b1.js → framework-delegate-f683816e.js} +1 -1
  221. package/dist/esm/{hardware-back-button-44195e92.js → hardware-back-button-06ef3c3e.js} +1 -1
  222. package/dist/esm/{helpers-13b816c6.js → helpers-9b49d7d2.js} +1 -7
  223. package/dist/esm/{index-ec2140bf.js → index-33f7e3ff.js} +2 -2
  224. package/dist/esm/{index-28c8fd64.js → index-5a0f5fd0.js} +1 -1
  225. package/dist/esm/{index-879a2080.js → index-7ec5519a.js} +5 -5
  226. package/dist/esm/{index-b4ac4019.js → index-8785a9c6.js} +4 -4
  227. package/dist/esm/{index-ce8d38d0.js → index-9b0d46f4.js} +3 -11
  228. package/dist/esm/index.js +10 -10
  229. package/dist/esm/{input-shims-4c3d7279.js → input-shims-0e65111b.js} +3 -5
  230. package/dist/esm/{input.utils-b4805900.js → input.utils-1ad8dafc.js} +2 -2
  231. package/dist/esm/ion-accordion_2.entry.js +3 -3
  232. package/dist/esm/ion-action-sheet.entry.js +6 -6
  233. package/dist/esm/ion-alert.entry.js +10 -36
  234. package/dist/esm/ion-app_8.entry.js +17 -17
  235. package/dist/esm/ion-avatar_3.entry.js +2 -2
  236. package/dist/esm/ion-back-button.entry.js +2 -2
  237. package/dist/esm/ion-backdrop.entry.js +1 -1
  238. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  239. package/dist/esm/ion-button_2.entry.js +3 -3
  240. package/dist/esm/ion-card_5.entry.js +2 -2
  241. package/dist/esm/ion-checkbox.entry.js +8 -39
  242. package/dist/esm/ion-chip.entry.js +1 -1
  243. package/dist/esm/ion-col_3.entry.js +2 -2
  244. package/dist/esm/ion-datetime-button.entry.js +4 -4
  245. package/dist/esm/ion-datetime_3.entry.js +11 -11
  246. package/dist/esm/ion-fab_3.entry.js +2 -2
  247. package/dist/esm/ion-img.entry.js +2 -2
  248. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
  249. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  250. package/dist/esm/ion-input.entry.js +7 -7
  251. package/dist/esm/ion-item-option_3.entry.js +8 -8
  252. package/dist/esm/ion-item_8.entry.js +13 -13
  253. package/dist/esm/ion-loading.entry.js +8 -8
  254. package/dist/esm/ion-menu_3.entry.js +13 -13
  255. package/dist/esm/ion-modal.entry.js +43 -274
  256. package/dist/esm/ion-nav_2.entry.js +8 -8
  257. package/dist/esm/ion-picker-column-option.entry.js +4 -4
  258. package/dist/esm/ion-picker-column.entry.js +2 -2
  259. package/dist/esm/ion-picker.entry.js +1 -1
  260. package/dist/esm/ion-popover.entry.js +9 -9
  261. package/dist/esm/ion-progress-bar.entry.js +3 -3
  262. package/dist/esm/ion-radio_2.entry.js +6 -41
  263. package/dist/esm/ion-range.entry.js +9 -30
  264. package/dist/esm/ion-refresher_2.entry.js +6 -6
  265. package/dist/esm/ion-reorder_2.entry.js +6 -6
  266. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  267. package/dist/esm/ion-route_4.entry.js +4 -4
  268. package/dist/esm/ion-searchbar.entry.js +6 -6
  269. package/dist/esm/ion-segment-content.entry.js +1 -1
  270. package/dist/esm/ion-segment-view.entry.js +2 -2
  271. package/dist/esm/ion-segment_2.entry.js +6 -6
  272. package/dist/esm/ion-select-modal.entry.js +7 -7
  273. package/dist/esm/ion-select_3.entry.js +15 -56
  274. package/dist/esm/ion-spinner.entry.js +2 -2
  275. package/dist/esm/ion-split-pane.entry.js +3 -3
  276. package/dist/esm/ion-tab-bar_2.entry.js +6 -6
  277. package/dist/esm/ion-tab_2.entry.js +5 -5
  278. package/dist/esm/ion-text.entry.js +3 -3
  279. package/dist/esm/ion-textarea.entry.js +9 -9
  280. package/dist/esm/ion-toast.entry.js +8 -8
  281. package/dist/esm/ion-toggle.entry.js +8 -40
  282. package/dist/esm/{ionic-global-bf78a847.js → ionic-global-c81d82ab.js} +1 -2
  283. package/dist/esm/ionic.js +3 -3
  284. package/dist/esm/{ios.transition-ffee637f.js → ios.transition-085853ff.js} +4 -4
  285. package/dist/esm/loader.js +3 -3
  286. package/dist/esm/{md.transition-3a4f9709.js → md.transition-33826623.js} +4 -4
  287. package/dist/esm/{notch-controller-bb8f3a48.js → notch-controller-3dc61260.js} +1 -1
  288. package/dist/esm/{overlays-36f5880e.js → overlays-e3d0d356.js} +5 -5
  289. package/dist/esm/{status-tap-2ce7841e.js → status-tap-163e8128.js} +3 -4
  290. package/dist/esm/{swipe-back-a258b011.js → swipe-back-23ee7ab1.js} +1 -1
  291. package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
  292. package/dist/esm-es5/{data-bf516e75.js → data-ae11fd43.js} +1 -1
  293. package/dist/esm-es5/{framework-delegate-42bc40b1.js → framework-delegate-f683816e.js} +1 -1
  294. package/dist/esm-es5/{hardware-back-button-44195e92.js → hardware-back-button-06ef3c3e.js} +1 -1
  295. package/dist/esm-es5/{helpers-13b816c6.js → helpers-9b49d7d2.js} +1 -1
  296. package/dist/esm-es5/{index-ec2140bf.js → index-33f7e3ff.js} +1 -1
  297. package/dist/esm-es5/{index-28c8fd64.js → index-5a0f5fd0.js} +1 -1
  298. package/dist/esm-es5/{index-879a2080.js → index-7ec5519a.js} +1 -1
  299. package/dist/esm-es5/{index-b4ac4019.js → index-8785a9c6.js} +1 -1
  300. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  301. package/dist/esm-es5/index.js +1 -1
  302. package/dist/esm-es5/input-shims-0e65111b.js +4 -0
  303. package/dist/esm-es5/{input.utils-b4805900.js → input.utils-1ad8dafc.js} +1 -1
  304. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  305. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  306. package/dist/esm-es5/ion-alert.entry.js +1 -1
  307. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  308. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  309. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  310. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  311. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  312. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  313. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  314. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  315. package/dist/esm-es5/ion-chip.entry.js +1 -1
  316. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  317. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  318. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  319. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  320. package/dist/esm-es5/ion-img.entry.js +1 -1
  321. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  322. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  323. package/dist/esm-es5/ion-input.entry.js +1 -1
  324. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  325. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  326. package/dist/esm-es5/ion-loading.entry.js +1 -1
  327. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  328. package/dist/esm-es5/ion-modal.entry.js +1 -1
  329. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  330. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  331. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  332. package/dist/esm-es5/ion-picker.entry.js +1 -1
  333. package/dist/esm-es5/ion-popover.entry.js +1 -1
  334. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  335. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  336. package/dist/esm-es5/ion-range.entry.js +1 -1
  337. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  338. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  339. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  340. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  341. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  342. package/dist/esm-es5/ion-segment-content.entry.js +1 -1
  343. package/dist/esm-es5/ion-segment-view.entry.js +1 -1
  344. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  345. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  346. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  347. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  348. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  349. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  350. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  351. package/dist/esm-es5/ion-text.entry.js +1 -1
  352. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  353. package/dist/esm-es5/ion-toast.entry.js +1 -1
  354. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  355. package/dist/esm-es5/{ionic-global-bf78a847.js → ionic-global-c81d82ab.js} +1 -1
  356. package/dist/esm-es5/ionic.js +1 -1
  357. package/dist/esm-es5/{ios.transition-ffee637f.js → ios.transition-085853ff.js} +1 -1
  358. package/dist/esm-es5/loader.js +1 -1
  359. package/dist/esm-es5/md.transition-33826623.js +4 -0
  360. package/dist/esm-es5/{notch-controller-bb8f3a48.js → notch-controller-3dc61260.js} +1 -1
  361. package/dist/esm-es5/{overlays-36f5880e.js → overlays-e3d0d356.js} +1 -1
  362. package/dist/esm-es5/status-tap-163e8128.js +4 -0
  363. package/dist/esm-es5/{swipe-back-a258b011.js → swipe-back-23ee7ab1.js} +1 -1
  364. package/dist/html.html-data.json +0 -48
  365. package/dist/ionic/index.esm.js +1 -1
  366. package/dist/ionic/ionic.esm.js +1 -1
  367. package/dist/ionic/ionic.js +1 -1
  368. package/dist/ionic/{p-c30c10af.js → p-02e1ebd9.js} +1 -1
  369. package/dist/ionic/{p-62d2e17d.entry.js → p-02e23f26.entry.js} +1 -1
  370. package/dist/ionic/{p-dbe534f5.entry.js → p-0397811d.entry.js} +1 -1
  371. package/dist/ionic/p-0574e87e.js +4 -0
  372. package/dist/ionic/p-06fee233.js +4 -0
  373. package/dist/ionic/p-075a94bd.js +4 -0
  374. package/dist/ionic/p-0a59f4fa.entry.js +4 -0
  375. package/dist/ionic/{p-9104d662.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
  376. package/dist/ionic/p-0e43be1b.entry.js +4 -0
  377. package/dist/ionic/{p-4a98a017.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  378. package/dist/ionic/p-0ee3b5a2.system.js +4 -0
  379. package/dist/ionic/p-135e5731.js +4 -0
  380. package/dist/ionic/{p-4e0643a3.js → p-13dc21b0.js} +1 -1
  381. package/dist/ionic/{p-f4cddcd0.entry.js → p-14143257.entry.js} +1 -1
  382. package/dist/ionic/p-14be4015.entry.js +4 -0
  383. package/dist/ionic/p-162c8d0c.system.entry.js +4 -0
  384. package/dist/ionic/{p-7af3d1e8.system.entry.js → p-16799667.system.entry.js} +1 -1
  385. package/dist/ionic/p-16bfb979.system.entry.js +4 -0
  386. package/dist/ionic/{p-f6d066b4.system.js → p-1a790eef.system.js} +2 -2
  387. package/dist/ionic/{p-506f2664.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
  388. package/dist/ionic/{p-fb048d4d.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
  389. package/dist/ionic/p-1f405274.js +4 -0
  390. package/dist/ionic/{p-a17a1fb9.entry.js → p-203633d1.entry.js} +1 -1
  391. package/dist/ionic/{p-ec92cc52.system.entry.js → p-2507278c.system.entry.js} +1 -1
  392. package/dist/ionic/{p-98aefaa1.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
  393. package/dist/ionic/p-25fa1d30.system.entry.js +4 -0
  394. package/dist/ionic/{p-8fa80de0.entry.js → p-26194519.entry.js} +1 -1
  395. package/dist/ionic/p-265939f0.entry.js +4 -0
  396. package/dist/ionic/{p-fa5a45cd.system.entry.js → p-2abae1cc.system.entry.js} +1 -1
  397. package/dist/ionic/{p-3559bd4f.js → p-2bc73fb5.js} +1 -1
  398. package/dist/ionic/p-2c9eb774.system.js +4 -0
  399. package/dist/ionic/{p-f5f52b6d.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
  400. package/dist/ionic/p-322c5fb4.system.js +4 -0
  401. package/dist/ionic/{p-82afe775.entry.js → p-32e99b0a.entry.js} +1 -1
  402. package/dist/ionic/{p-c66604e4.entry.js → p-33a8a71b.entry.js} +1 -1
  403. package/dist/ionic/{p-3a4d77b9.system.js → p-340e3f24.system.js} +1 -1
  404. package/dist/ionic/{p-9994c82e.system.entry.js → p-3572f86a.system.entry.js} +1 -1
  405. package/dist/ionic/{p-8911101b.system.js → p-3c8e5c23.system.js} +1 -1
  406. package/dist/ionic/{p-986a98d9.system.entry.js → p-3df889b3.system.entry.js} +1 -1
  407. package/dist/ionic/{p-97542341.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
  408. package/dist/ionic/{p-85d6d07c.entry.js → p-41780810.entry.js} +1 -1
  409. package/dist/ionic/{p-5cc9314d.system.entry.js → p-424eb140.system.entry.js} +1 -1
  410. package/dist/ionic/{p-761c42da.js → p-42808996.js} +1 -1
  411. package/dist/ionic/p-4346c79d.system.entry.js +4 -0
  412. package/dist/ionic/{p-f5a536e1.system.js → p-4452a8ac.system.js} +1 -1
  413. package/dist/ionic/{p-5bc47f96.entry.js → p-45de8d2a.entry.js} +1 -1
  414. package/dist/ionic/p-48a8d9b4.system.entry.js +4 -0
  415. package/dist/ionic/p-49a0e74c.entry.js +4 -0
  416. package/dist/ionic/{p-1f62c30b.entry.js → p-4ad78edc.entry.js} +1 -1
  417. package/dist/ionic/{p-c43872df.entry.js → p-4c252070.entry.js} +1 -1
  418. package/dist/ionic/{p-52b61cba.system.js → p-5126cf1e.system.js} +1 -1
  419. package/dist/ionic/p-51dec25d.js +4 -0
  420. package/dist/ionic/{p-7d1cbf97.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
  421. package/dist/ionic/{p-6321783a.system.entry.js → p-56da53ad.system.entry.js} +1 -1
  422. package/dist/ionic/{p-bbfa740f.entry.js → p-57379000.entry.js} +1 -1
  423. package/dist/ionic/{p-de0b8503.entry.js → p-57ceead7.entry.js} +1 -1
  424. package/dist/ionic/{p-020df11a.entry.js → p-5b932840.entry.js} +1 -1
  425. package/dist/ionic/p-5cde8ef3.entry.js +4 -0
  426. package/dist/ionic/{p-9c7efe25.system.entry.js → p-5fce0c0b.system.entry.js} +1 -1
  427. package/dist/ionic/p-6190d0d6.entry.js +4 -0
  428. package/dist/ionic/p-61d044b4.entry.js +4 -0
  429. package/dist/ionic/{p-ebceb0ac.entry.js → p-62af944c.entry.js} +1 -1
  430. package/dist/ionic/p-68dc53a5.js +4 -0
  431. package/dist/ionic/{p-0434c94c.entry.js → p-6b1bd0c1.entry.js} +1 -1
  432. package/dist/ionic/{p-8eee812a.entry.js → p-6d32975a.entry.js} +1 -1
  433. package/dist/ionic/{p-7ef62ef9.system.entry.js → p-70ccc275.system.entry.js} +2 -2
  434. package/dist/ionic/{p-f2a72b24.entry.js → p-73dc4950.entry.js} +1 -1
  435. package/dist/ionic/{p-cad0b874.system.entry.js → p-7458862e.system.entry.js} +1 -1
  436. package/dist/ionic/{p-3b872754.entry.js → p-76446a85.entry.js} +1 -1
  437. package/dist/ionic/{p-1cf593cf.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
  438. package/dist/ionic/{p-89e678fa.js → p-7a1766d6.js} +1 -1
  439. package/dist/ionic/{p-99b4160f.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
  440. package/dist/ionic/{p-6f6dd24f.entry.js → p-7b98cebe.entry.js} +1 -1
  441. package/dist/ionic/p-803f0bc2.entry.js +4 -0
  442. package/dist/ionic/p-82b931e2.entry.js +4 -0
  443. package/dist/ionic/{p-b1dbfc12.entry.js → p-83e68c71.entry.js} +1 -1
  444. package/dist/ionic/p-84b1b9a0.entry.js +4 -0
  445. package/dist/ionic/{p-e0a2abde.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  446. package/dist/ionic/{p-80d837dd.system.js → p-881d9e52.system.js} +1 -1
  447. package/dist/ionic/p-8a836849.entry.js +4 -0
  448. package/dist/ionic/{p-84fb742d.system.entry.js → p-91f17b25.system.entry.js} +2 -2
  449. package/dist/ionic/{p-9aaaff17.system.entry.js → p-92365bc1.system.entry.js} +1 -1
  450. package/dist/ionic/{p-8f89c8e3.entry.js → p-955c3eb8.entry.js} +1 -1
  451. package/dist/ionic/{p-43bfbfd7.entry.js → p-95775830.entry.js} +1 -1
  452. package/dist/ionic/{p-f6e7870b.system.js → p-95da3ae2.system.js} +1 -1
  453. package/dist/ionic/{p-5f7a9125.system.entry.js → p-9a1f985d.system.entry.js} +2 -2
  454. package/dist/ionic/{p-34182275.entry.js → p-9b3bb24e.entry.js} +1 -1
  455. package/dist/ionic/{p-ee70a913.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
  456. package/dist/ionic/{p-187396b1.system.js → p-9eee4de1.system.js} +1 -1
  457. package/dist/ionic/{p-eb4ac14d.system.js → p-9f3008d4.system.js} +1 -1
  458. package/dist/ionic/{p-86a9a4ca.system.js → p-a2b6dd57.system.js} +1 -1
  459. package/dist/ionic/{p-166a794f.system.entry.js → p-a3c78186.system.entry.js} +1 -1
  460. package/dist/ionic/{p-47026941.system.entry.js → p-a4575db1.system.entry.js} +1 -1
  461. package/dist/ionic/{p-d86d7845.system.js → p-a69b9fc5.system.js} +1 -1
  462. package/dist/ionic/{p-c55254f0.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  463. package/dist/ionic/{p-74e328cf.system.js → p-aa63b365.system.js} +1 -1
  464. package/dist/ionic/{p-221fbdf5.entry.js → p-af09741c.entry.js} +1 -1
  465. package/dist/ionic/{p-dde5afee.entry.js → p-afecb188.entry.js} +1 -1
  466. package/dist/ionic/p-b0d8bbee.entry.js +4 -0
  467. package/dist/ionic/{p-8aa290af.system.js → p-b3680e2f.system.js} +1 -1
  468. package/dist/ionic/p-b7433d7d.js +4 -0
  469. package/dist/ionic/{p-4200e056.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
  470. package/dist/ionic/{p-6eb35904.js → p-bb11d9fb.js} +1 -1
  471. package/dist/ionic/{p-00d5ab83.entry.js → p-bb2a6761.entry.js} +1 -1
  472. package/dist/ionic/{p-9d4a8059.entry.js → p-bdad26e3.entry.js} +1 -1
  473. package/dist/ionic/{p-6579f457.system.js → p-c1b51537.system.js} +1 -1
  474. package/dist/ionic/{p-e56b4e0f.system.entry.js → p-c29f8157.system.entry.js} +1 -1
  475. package/dist/ionic/{p-bd1c99cb.entry.js → p-c32644d7.entry.js} +1 -1
  476. package/dist/ionic/{p-a4b108a7.entry.js → p-c8d645b3.entry.js} +1 -1
  477. package/dist/ionic/p-cc700b6b.entry.js +4 -0
  478. package/dist/ionic/p-d06601eb.system.entry.js +4 -0
  479. package/dist/ionic/{p-aae5907a.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
  480. package/dist/ionic/p-d3b26da4.system.entry.js +4 -0
  481. package/dist/ionic/{p-b566749e.js → p-d4ca0475.js} +1 -1
  482. package/dist/ionic/{p-03940ae5.js → p-d60342e3.js} +1 -1
  483. package/dist/ionic/{p-e25cd3c7.js → p-d743e981.js} +1 -1
  484. package/dist/ionic/{p-09e4bf0d.entry.js → p-da074ff7.entry.js} +1 -1
  485. package/dist/ionic/{p-05f90810.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  486. package/dist/ionic/{p-de4fef3c.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  487. package/dist/ionic/{p-25580c85.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  488. package/dist/ionic/{p-0eab6979.entry.js → p-df862603.entry.js} +1 -1
  489. package/dist/ionic/{p-2840743b.entry.js → p-e1bbacb7.entry.js} +1 -1
  490. package/dist/ionic/p-e265ae18.system.entry.js +4 -0
  491. package/dist/ionic/{p-6703c724.system.entry.js → p-e2e19375.system.entry.js} +1 -1
  492. package/dist/ionic/p-e308de5b.system.js +4 -0
  493. package/dist/ionic/{p-72210f2a.system.entry.js → p-e456ee59.system.entry.js} +1 -1
  494. package/dist/ionic/{p-d8c1ac0d.system.js → p-e8232807.system.js} +1 -1
  495. package/dist/ionic/{p-441c2c8c.entry.js → p-e8f34871.entry.js} +1 -1
  496. package/dist/ionic/p-e97a3f44.entry.js +4 -0
  497. package/dist/ionic/{p-6f3d8334.js → p-ecceeb90.js} +1 -1
  498. package/dist/ionic/{p-a4e7eaf6.system.entry.js → p-ed75fcfb.system.entry.js} +1 -1
  499. package/dist/ionic/{p-c52ca485.system.entry.js → p-f301a694.system.entry.js} +1 -1
  500. package/dist/ionic/{p-478dfa8c.system.entry.js → p-f3102647.system.entry.js} +1 -1
  501. package/dist/ionic/{p-5a1017f3.entry.js → p-f42743d1.entry.js} +1 -1
  502. package/dist/ionic/{p-845f8d16.js → p-f5035354.js} +1 -1
  503. package/dist/ionic/{p-2c1d4963.system.js → p-f687573e.system.js} +1 -1
  504. package/dist/ionic/{p-5f10138c.system.entry.js → p-f78af648.system.entry.js} +1 -1
  505. package/dist/ionic/{p-c3de6cd1.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  506. package/dist/ionic/{p-16dd9c9b.entry.js → p-fca17935.entry.js} +1 -1
  507. package/dist/ionic/{p-826c4d67.system.entry.js → p-fca6ef5f.system.entry.js} +1 -1
  508. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  509. package/dist/ionic/{p-66425a02.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
  510. package/dist/types/components/checkbox/checkbox.d.ts +0 -25
  511. package/dist/types/components/modal/animations/sheet.d.ts +0 -1
  512. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  513. package/dist/types/components/modal/modal-interface.d.ts +0 -1
  514. package/dist/types/components/modal/modal.d.ts +0 -14
  515. package/dist/types/components/radio-group/radio-group.d.ts +0 -15
  516. package/dist/types/components/range/range.d.ts +2 -3
  517. package/dist/types/components/select/select.d.ts +0 -29
  518. package/dist/types/components/toggle/toggle.d.ts +0 -25
  519. package/dist/types/components/toolbar/toolbar.d.ts +0 -4
  520. package/dist/types/components.d.ts +0 -96
  521. package/dist/types/utils/config.d.ts +0 -9
  522. package/dist/types/utils/helpers.d.ts +0 -4
  523. package/dist/types/utils/logging/index.d.ts +1 -13
  524. package/dist/types/utils/native/capacitor.d.ts +1 -7
  525. package/dist/types/utils/test/platform.utils.d.ts +1 -1
  526. package/hydrate/index.js +153 -608
  527. package/hydrate/index.mjs +153 -608
  528. package/package.json +6 -6
  529. package/dist/collection/components/radio-group/radio-group.ios.css +0 -205
  530. package/dist/collection/components/radio-group/radio-group.md.css +0 -205
  531. package/dist/esm-es5/app-globals-c10a1137.js +0 -4
  532. package/dist/esm-es5/index-ce8d38d0.js +0 -4
  533. package/dist/esm-es5/input-shims-4c3d7279.js +0 -4
  534. package/dist/esm-es5/md.transition-3a4f9709.js +0 -4
  535. package/dist/esm-es5/status-tap-2ce7841e.js +0 -4
  536. package/dist/ionic/p-0412232d.js +0 -4
  537. package/dist/ionic/p-0ab8caf8.system.entry.js +0 -4
  538. package/dist/ionic/p-0f138cf3.entry.js +0 -4
  539. package/dist/ionic/p-21780245.entry.js +0 -4
  540. package/dist/ionic/p-21ee4f71.system.entry.js +0 -4
  541. package/dist/ionic/p-29cccf08.entry.js +0 -4
  542. package/dist/ionic/p-2f429536.entry.js +0 -4
  543. package/dist/ionic/p-38df41a6.system.js +0 -4
  544. package/dist/ionic/p-3e6be709.entry.js +0 -4
  545. package/dist/ionic/p-41d7ca3c.entry.js +0 -4
  546. package/dist/ionic/p-48e9eedb.entry.js +0 -4
  547. package/dist/ionic/p-4e8946f7.js +0 -4
  548. package/dist/ionic/p-51d4cdba.system.js +0 -4
  549. package/dist/ionic/p-541b5191.entry.js +0 -4
  550. package/dist/ionic/p-5c364a5b.entry.js +0 -4
  551. package/dist/ionic/p-60f7c85d.entry.js +0 -4
  552. package/dist/ionic/p-62151078.system.entry.js +0 -4
  553. package/dist/ionic/p-623b4fa6.system.entry.js +0 -4
  554. package/dist/ionic/p-717520d6.system.entry.js +0 -4
  555. package/dist/ionic/p-7e70835f.js +0 -4
  556. package/dist/ionic/p-8973b827.system.js +0 -4
  557. package/dist/ionic/p-8a3509b8.js +0 -4
  558. package/dist/ionic/p-95a11fc4.entry.js +0 -4
  559. package/dist/ionic/p-9a950d3c.entry.js +0 -4
  560. package/dist/ionic/p-a3e60403.js +0 -4
  561. package/dist/ionic/p-afba4c00.system.entry.js +0 -4
  562. package/dist/ionic/p-b1c4a9db.js +0 -4
  563. package/dist/ionic/p-be8ecfc1.js +0 -4
  564. package/dist/ionic/p-c1ad8eb0.system.js +0 -4
  565. package/dist/ionic/p-c4f9367a.entry.js +0 -4
  566. package/dist/ionic/p-d9162cf7.system.entry.js +0 -4
  567. package/dist/ionic/p-e3bd1070.entry.js +0 -4
  568. package/dist/ionic/p-e824ffe7.entry.js +0 -4
  569. package/dist/ionic/p-f4f255cb.system.js +0 -4
  570. package/dist/ionic/p-fe00ac05.system.entry.js +0 -4
  571. package/dist/ionic/p-fe7be7b4.js +0 -4
@@ -17,15 +17,10 @@ import { getIonMode } from "../../global/ionic-global";
17
17
  * @part track - The background track of the toggle.
18
18
  * @part handle - The toggle handle, or knob, used to change the checked state.
19
19
  * @part label - The label text describing the toggle.
20
- * @part supporting-text - Supporting text displayed beneath the toggle label.
21
- * @part helper-text - Supporting text displayed beneath the toggle label when the toggle is valid.
22
- * @part error-text - Supporting text displayed beneath the toggle label when the toggle is invalid and touched.
23
20
  */
24
21
  export class Toggle {
25
22
  constructor() {
26
23
  this.inputId = `ion-tg-${toggleIds++}`;
27
- this.helperTextId = `${this.inputId}-helper-text`;
28
- this.errorTextId = `${this.inputId}-error-text`;
29
24
  this.lastDrag = 0;
30
25
  this.inheritedAttributes = {};
31
26
  this.didLoad = false;
@@ -71,14 +66,11 @@ export class Toggle {
71
66
  this.name = this.inputId;
72
67
  this.checked = false;
73
68
  this.disabled = false;
74
- this.errorText = undefined;
75
- this.helperText = undefined;
76
69
  this.value = 'on';
77
70
  this.enableOnOffLabels = config.get('toggleOnOffLabels');
78
71
  this.labelPlacement = 'start';
79
72
  this.justify = undefined;
80
73
  this.alignment = undefined;
81
- this.required = false;
82
74
  }
83
75
  disabledChanged() {
84
76
  if (this.gesture) {
@@ -89,7 +81,6 @@ export class Toggle {
89
81
  const { checked, value } = this;
90
82
  const isNowChecked = !checked;
91
83
  this.checked = isNowChecked;
92
- this.setFocus();
93
84
  this.ionChange.emit({
94
85
  checked: isNowChecked,
95
86
  value,
@@ -160,39 +151,13 @@ export class Toggle {
160
151
  get hasLabel() {
161
152
  return this.el.textContent !== '';
162
153
  }
163
- getHintTextID() {
164
- const { el, helperText, errorText, helperTextId, errorTextId } = this;
165
- if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
166
- return errorTextId;
167
- }
168
- if (helperText) {
169
- return helperTextId;
170
- }
171
- return undefined;
172
- }
173
- /**
174
- * Responsible for rendering helper text and error text.
175
- * This element should only be rendered if hint text is set.
176
- */
177
- renderHintText() {
178
- const { helperText, errorText, helperTextId, errorTextId } = this;
179
- /**
180
- * undefined and empty string values should
181
- * be treated as not having helper/error text.
182
- */
183
- const hasHintText = !!helperText || !!errorText;
184
- if (!hasHintText) {
185
- return;
186
- }
187
- return (h("div", { class: "toggle-bottom" }, h("div", { id: helperTextId, class: "helper-text", part: "supporting-text helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text", part: "supporting-text error-text" }, errorText)));
188
- }
189
154
  render() {
190
- const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment, required } = this;
155
+ const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
191
156
  const mode = getIonMode(this);
192
157
  const value = this.getValue();
193
158
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
194
159
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
195
- return (h(Host, { key: 'c6db7f5bc0b358944c0d79e24aeb4d319793422f', "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: createColorClasses(color, {
160
+ return (h(Host, { key: 'f52195ec3bc14c024647cb41319c32a4cd330e19', onClick: this.onClick, class: createColorClasses(color, {
196
161
  [mode]: true,
197
162
  'in-item': hostContext('ion-item', el),
198
163
  'toggle-activated': activated,
@@ -202,10 +167,10 @@ export class Toggle {
202
167
  [`toggle-alignment-${alignment}`]: alignment !== undefined,
203
168
  [`toggle-label-placement-${labelPlacement}`]: true,
204
169
  [`toggle-${rtl}`]: true,
205
- }) }, h("label", { key: 'f49531391f4513d084061c27ebc4c4eb1dcd02ab', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f4ab2dc29eae053f54613d1304f755e151037f47', 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 }, this.inheritedAttributes)), h("div", { key: '85674bfab5ec1e422c787d025c4f9f5b3aadd4f2', class: {
170
+ }) }, h("label", { key: 'f8b3a215ad85b2cee611ad63449b584e1640f27f', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f387b1ea840737a9737917e516834c887be99c09', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '936af880db59fe377cd2de9101eb28a1c4fb8914', class: {
206
171
  'label-text-wrapper': true,
207
172
  'label-text-wrapper-hidden': !this.hasLabel,
208
- }, part: "label" }, h("slot", { key: '9bdf7e85c95dc7373f18894ebfe6ad022f098107' }), this.renderHintText()), h("div", { key: '33883642b38421a82001e37db3dd5e5c643785b0', class: "native-wrapper" }, this.renderToggleControl()))));
173
+ }, part: "label" }, h("slot", { key: '80a6672e2e792c15011a9496dcd75363cdba31c6' })), h("div", { key: '2b2b318b38ab27b194c0dab4cecd77d9d780f2ca', class: "native-wrapper" }, this.renderToggleControl()))));
209
174
  }
210
175
  static get is() { return "ion-toggle"; }
211
176
  static get encapsulation() { return "shadow"; }
@@ -300,40 +265,6 @@ export class Toggle {
300
265
  "reflect": false,
301
266
  "defaultValue": "false"
302
267
  },
303
- "errorText": {
304
- "type": "string",
305
- "mutable": false,
306
- "complexType": {
307
- "original": "string",
308
- "resolved": "string | undefined",
309
- "references": {}
310
- },
311
- "required": false,
312
- "optional": true,
313
- "docs": {
314
- "tags": [],
315
- "text": "Text that is placed under the toggle label and displayed when an error is detected."
316
- },
317
- "attribute": "error-text",
318
- "reflect": false
319
- },
320
- "helperText": {
321
- "type": "string",
322
- "mutable": false,
323
- "complexType": {
324
- "original": "string",
325
- "resolved": "string | undefined",
326
- "references": {}
327
- },
328
- "required": false,
329
- "optional": true,
330
- "docs": {
331
- "tags": [],
332
- "text": "Text that is placed under the toggle label and displayed when no error is detected."
333
- },
334
- "attribute": "helper-text",
335
- "reflect": false
336
- },
337
268
  "value": {
338
269
  "type": "string",
339
270
  "mutable": false,
@@ -421,24 +352,6 @@ export class Toggle {
421
352
  },
422
353
  "attribute": "alignment",
423
354
  "reflect": false
424
- },
425
- "required": {
426
- "type": "boolean",
427
- "mutable": false,
428
- "complexType": {
429
- "original": "boolean",
430
- "resolved": "boolean",
431
- "references": {}
432
- },
433
- "required": false,
434
- "optional": false,
435
- "docs": {
436
- "tags": [],
437
- "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."
438
- },
439
- "attribute": "required",
440
- "reflect": false,
441
- "defaultValue": "false"
442
355
  }
443
356
  };
444
357
  }
@@ -171,39 +171,32 @@ input {
171
171
  align-items: center;
172
172
  }
173
173
 
174
- .toggle-bottom {
175
- padding-top: 4px;
176
- display: flex;
174
+ :host(.toggle-justify-space-between) .toggle-wrapper {
177
175
  justify-content: space-between;
178
- font-size: 0.75rem;
179
- white-space: normal;
180
176
  }
181
177
 
182
- :host(.toggle-label-placement-stacked) .toggle-bottom {
183
- font-size: 1rem;
178
+ :host(.toggle-justify-start) .toggle-wrapper {
179
+ justify-content: start;
184
180
  }
185
181
 
186
- /**
187
- * Error text should only be shown when .ion-invalid is
188
- * present on the checkbox. Otherwise the helper text should
189
- * be shown.
190
- */
191
- .toggle-bottom .error-text {
192
- display: none;
193
- color: var(--ion-color-danger, #c5000f);
182
+ :host(.toggle-justify-end) .toggle-wrapper {
183
+ justify-content: end;
194
184
  }
195
185
 
196
- .toggle-bottom .helper-text {
197
- display: block;
198
- color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
186
+ :host(.toggle-alignment-start) .toggle-wrapper {
187
+ align-items: start;
199
188
  }
200
189
 
201
- :host(.ion-touched.ion-invalid) .toggle-bottom .error-text {
202
- display: block;
190
+ :host(.toggle-alignment-center) .toggle-wrapper {
191
+ align-items: center;
203
192
  }
204
193
 
205
- :host(.ion-touched.ion-invalid) .toggle-bottom .helper-text {
206
- display: none;
194
+ :host(.toggle-justify-space-between),
195
+ :host(.toggle-justify-start),
196
+ :host(.toggle-justify-end),
197
+ :host(.toggle-alignment-start),
198
+ :host(.toggle-alignment-center) {
199
+ display: block;
207
200
  }
208
201
 
209
202
  /**
@@ -232,7 +225,6 @@ input {
232
225
  */
233
226
  :host(.toggle-label-placement-end) .toggle-wrapper {
234
227
  flex-direction: row-reverse;
235
- justify-content: start;
236
228
  }
237
229
 
238
230
  /**
@@ -275,7 +267,6 @@ input {
275
267
  */
276
268
  :host(.toggle-label-placement-stacked) .toggle-wrapper {
277
269
  flex-direction: column;
278
- text-align: center;
279
270
  }
280
271
 
281
272
  :host(.toggle-label-placement-stacked) .label-text-wrapper {
@@ -321,34 +312,6 @@ input {
321
312
  }
322
313
  }
323
314
 
324
- :host(.toggle-justify-space-between) .toggle-wrapper {
325
- justify-content: space-between;
326
- }
327
-
328
- :host(.toggle-justify-start) .toggle-wrapper {
329
- justify-content: start;
330
- }
331
-
332
- :host(.toggle-justify-end) .toggle-wrapper {
333
- justify-content: end;
334
- }
335
-
336
- :host(.toggle-alignment-start) .toggle-wrapper {
337
- align-items: start;
338
- }
339
-
340
- :host(.toggle-alignment-center) .toggle-wrapper {
341
- align-items: center;
342
- }
343
-
344
- :host(.toggle-justify-space-between),
345
- :host(.toggle-justify-start),
346
- :host(.toggle-justify-end),
347
- :host(.toggle-alignment-start),
348
- :host(.toggle-alignment-center) {
349
- display: block;
350
- }
351
-
352
315
  .toggle-icon-wrapper {
353
316
  display: flex;
354
317
  position: relative;
@@ -12,10 +12,6 @@ import { getIonMode } from "../../global/ionic-global";
12
12
  * @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
13
13
  * @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
14
14
  * @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
15
- *
16
- * @part background - The background of the toolbar, covering the entire area behind the toolbar content.
17
- * @part container - The container that wraps all toolbar content, including the default slot and named slot content.
18
- * @part content - The container for the default slot, wrapping content provided without a named slot.
19
15
  */
20
16
  export class Toolbar {
21
17
  constructor() {
@@ -66,10 +62,10 @@ export class Toolbar {
66
62
  this.childrenStyles.forEach((value) => {
67
63
  Object.assign(childStyles, value);
68
64
  });
69
- return (h(Host, { key: '402afe7ce0c97883cedd0e48a5a0492a9bfe76ae', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
65
+ return (h(Host, { key: '462538a5ecd01baf3cde116c9f029aeda26c81be', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
70
66
  [mode]: true,
71
67
  'in-toolbar': hostContext('ion-toolbar', this.el),
72
- })) }, h("div", { key: '2465a6dc8d507ec650538378d1be2abd399c58ad', class: "toolbar-background", part: "background" }), h("div", { key: '6075096afd12303b961e4fe9ad345ef2887573af', class: "toolbar-container", part: "container" }, h("slot", { key: '8b7eec1148cfeb339d87cdf9273f2104703e7601', name: "start" }), h("slot", { key: 'b102d3926cade24faf78b7af78ad5e192c4c0308', name: "secondary" }), h("div", { key: 'c6ab2e978328324c6f9e7892024cbcd8b8987067', class: "toolbar-content", part: "content" }, h("slot", { key: '86f8952c4355a9df5b4bbb95e9d0cafefd272d5b' })), h("slot", { key: '501e43431da6b9dd35b47b79222f948d445f7a78', name: "primary" }), h("slot", { key: '84bf1a15a5e52e8e94df9f479c4ce18004f5ab57', name: "end" }))));
68
+ })) }, h("div", { key: 'c0b4415d3b2472de643a9be7cb3b13b3b628621b', class: "toolbar-background" }), h("div", { key: '0ccb8a2dbeaa28d8f9bed87629c0c097446690c2', class: "toolbar-container" }, h("slot", { key: '3e726dac359e923df21d80301651f16063a3de20', name: "start" }), h("slot", { key: 'cd799330b56a7f8833bc61bb2807aafb21846f71', name: "secondary" }), h("div", { key: '395282e6ac8c53576922dcdb5f08c25d34638c86', class: "toolbar-content" }, h("slot", { key: 'a437c60e4ba5aae65e55169ae82a6f379868ec1d' })), h("slot", { key: '711af9b9d321a7b31ede924c9bdcad767aa9a1ca', name: "primary" }), h("slot", { key: 'ecc02edeaf80a837890bcb08d5096df1e22a0b9a', name: "end" }))));
73
69
  }
74
70
  static get is() { return "ion-toolbar"; }
75
71
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { isSafeNumber } from "../helpers";
5
4
  export function getDecimalPlaces(n) {
6
- if (!isSafeNumber(n))
7
- return 0;
8
5
  if (n % 1 === 0)
9
6
  return 0;
10
7
  return n.toString().split('.')[1].length;
@@ -42,8 +39,6 @@ export function getDecimalPlaces(n) {
42
39
  * be used as a reference for the desired specificity.
43
40
  */
44
41
  export function roundToMaxDecimalPlaces(n, ...references) {
45
- if (!isSafeNumber(n))
46
- return 0;
47
42
  const maxPlaces = Math.max(...references.map((r) => getDecimalPlaces(r)));
48
43
  return Number(n.toFixed(maxPlaces));
49
44
  }
@@ -374,9 +374,3 @@ export const getNextSiblingOfType = (element) => {
374
374
  }
375
375
  return null;
376
376
  };
377
- /**
378
- * Checks input for usable number. Not NaN and not Infinite.
379
- */
380
- export const isSafeNumber = (input) => {
381
- return typeof input === 'number' && !isNaN(input) && isFinite(input);
382
- };
@@ -1,7 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { config } from "../../global/config";
5
4
  /**
6
5
  * Logs a warning to the console with an Ionic prefix
7
6
  * to indicate the library that is warning the developer.
@@ -9,12 +8,9 @@ import { config } from "../../global/config";
9
8
  * @param message - The string message to be logged to the console.
10
9
  */
11
10
  export const printIonWarning = (message, ...params) => {
12
- const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
13
- if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
14
- return console.warn(`[Ionic Warning]: ${message}`, ...params);
15
- }
11
+ return console.warn(`[Ionic Warning]: ${message}`, ...params);
16
12
  };
17
- /**
13
+ /*
18
14
  * Logs an error to the console with an Ionic prefix
19
15
  * to indicate the library that is warning the developer.
20
16
  *
@@ -22,10 +18,7 @@ export const printIonWarning = (message, ...params) => {
22
18
  * @param params - Additional arguments to supply to the console.error.
23
19
  */
24
20
  export const printIonError = (message, ...params) => {
25
- const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
26
- if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
27
- return console.error(`[Ionic Error]: ${message}`, ...params);
28
- }
21
+ return console.error(`[Ionic Error]: ${message}`, ...params);
29
22
  };
30
23
  /**
31
24
  * Prints an error informing developers that an implementation requires an element to be used
@@ -67,8 +67,7 @@ const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
67
67
  const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
68
68
  const isCapacitorNative = (win) => {
69
69
  const capacitor = win['Capacitor'];
70
- // TODO(ROU-11693): Remove when we no longer support Capacitor 2, which does not have isNativePlatform
71
- return !!((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative) || ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNativePlatform) && !!capacitor.isNativePlatform()));
70
+ return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
72
71
  };
73
72
  const isElectron = (win) => testUserAgent(win, /electron/i);
74
73
  const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
@@ -28,7 +28,7 @@ export const PlatformConfiguration = {
28
28
  },
29
29
  Capacitor: {
30
30
  Capacitor: {
31
- isNativePlatform: () => true,
31
+ isNative: true,
32
32
  },
33
33
  },
34
34
  PWA: {