@ionic/core 8.4.4-dev.11741630999.189d7fc2 → 8.4.4-dev.11741632207.1cb10db6

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 (521) hide show
  1. package/components/alert.js +4 -30
  2. package/components/helpers.js +1 -7
  3. package/components/index9.js +1 -1
  4. package/components/ion-item-divider.js +2 -2
  5. package/components/ion-item-group.js +1 -1
  6. package/components/ion-item-option.js +2 -2
  7. package/components/ion-item-options.js +1 -1
  8. package/components/ion-item-sliding.js +1 -1
  9. package/components/ion-loading.js +2 -2
  10. package/components/ion-menu-button.js +2 -2
  11. package/components/ion-menu-toggle.js +2 -2
  12. package/components/ion-menu.js +2 -2
  13. package/components/ion-nav-link.js +1 -1
  14. package/components/ion-nav.js +1 -1
  15. package/components/ion-note.js +2 -2
  16. package/components/ion-picker-legacy.js +2 -2
  17. package/components/ion-progress-bar.js +1 -1
  18. package/components/ion-range.js +6 -28
  19. package/components/ion-refresher-content.js +1 -1
  20. package/components/ion-refresher.js +1 -1
  21. package/components/ion-reorder-group.js +1 -1
  22. package/components/ion-reorder.js +1 -1
  23. package/components/ion-router-link.js +2 -2
  24. package/components/ion-router-outlet.js +1 -1
  25. package/components/ion-router.js +1 -1
  26. package/components/ion-row.js +1 -1
  27. package/components/ion-searchbar.js +4 -4
  28. package/components/ion-segment-button.js +3 -3
  29. package/components/ion-segment-content.js +1 -1
  30. package/components/ion-segment-view.js +2 -2
  31. package/components/ion-segment.js +2 -2
  32. package/components/ion-select-option.js +1 -1
  33. package/components/ion-select.js +2 -2
  34. package/components/ion-skeleton-text.js +2 -2
  35. package/components/ion-split-pane.js +2 -2
  36. package/components/ion-tab-bar.js +2 -2
  37. package/components/ion-tab-button.js +2 -2
  38. package/components/ion-tab.js +2 -2
  39. package/components/ion-tabs.js +1 -1
  40. package/components/ion-text.js +2 -2
  41. package/components/ion-textarea.js +2 -2
  42. package/components/ion-thumbnail.js +1 -1
  43. package/components/ion-toast.js +2 -2
  44. package/components/ion-toggle.js +5 -38
  45. package/components/ionic-global.js +1 -2
  46. package/components/label.js +2 -2
  47. package/components/list-header.js +2 -2
  48. package/components/modal.js +4 -4
  49. package/components/picker-column-option.js +2 -2
  50. package/components/picker-column2.js +2 -2
  51. package/components/popover.js +2 -2
  52. package/components/radio-group.js +39 -2
  53. package/components/radio.js +3 -3
  54. package/components/ripple-effect.js +1 -1
  55. package/components/select-modal.js +1 -1
  56. package/components/select-popover.js +1 -1
  57. package/components/spinner.js +1 -1
  58. package/components/title.js +2 -2
  59. package/components/toolbar.js +2 -2
  60. package/dist/cjs/{app-globals-4283fe37.js → app-globals-21afee77.js} +1 -1
  61. package/dist/cjs/{data-26456291.js → data-108e531d.js} +1 -1
  62. package/dist/cjs/{framework-delegate-c4f2ba04.js → framework-delegate-05579976.js} +1 -1
  63. package/dist/cjs/{hardware-back-button-f2cbbdce.js → hardware-back-button-9e8a2c4f.js} +1 -1
  64. package/dist/cjs/{helpers-b14a0f09.js → helpers-4be3f90d.js} +0 -7
  65. package/dist/cjs/{index-0d2610b6.js → index-0ff61d0b.js} +4 -4
  66. package/dist/cjs/{index-6ad4725f.js → index-26bb7e42.js} +5 -5
  67. package/dist/cjs/{index-275c982e.js → index-2a46a047.js} +1 -1
  68. package/dist/cjs/{index-608fc5fd.js → index-6770fc00.js} +2 -2
  69. package/dist/cjs/{index-786364c7.js → index-ad7a712e.js} +1 -1
  70. package/dist/cjs/index.cjs.js +10 -10
  71. package/dist/cjs/{input-shims-a2cf9d15.js → input-shims-fd997b01.js} +4 -4
  72. package/dist/cjs/{input.utils-18725f61.js → input.utils-c15a1814.js} +2 -2
  73. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  74. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
  75. package/dist/cjs/ion-alert.cjs.entry.js +10 -36
  76. package/dist/cjs/ion-app_8.cjs.entry.js +17 -17
  77. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  78. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  79. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  80. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  81. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  82. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  83. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  86. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  87. package/dist/cjs/ion-datetime_3.cjs.entry.js +11 -11
  88. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  89. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  90. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
  91. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  92. package/dist/cjs/ion-input.cjs.entry.js +5 -5
  93. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  94. package/dist/cjs/ion-item_8.cjs.entry.js +13 -13
  95. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  96. package/dist/cjs/ion-menu_3.cjs.entry.js +13 -13
  97. package/dist/cjs/ion-modal.cjs.entry.js +12 -12
  98. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  99. package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
  100. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  101. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  102. package/dist/cjs/ion-popover.cjs.entry.js +9 -9
  103. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  104. package/dist/cjs/ion-radio_2.cjs.entry.js +41 -6
  105. package/dist/cjs/ion-range.cjs.entry.js +9 -30
  106. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  107. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  108. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  109. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  110. package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
  111. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  112. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  113. package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
  114. package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
  115. package/dist/cjs/ion-select_3.cjs.entry.js +11 -11
  116. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  117. package/dist/cjs/ion-split-pane.cjs.entry.js +3 -3
  118. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
  119. package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
  120. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  121. package/dist/cjs/ion-textarea.cjs.entry.js +7 -7
  122. package/dist/cjs/ion-toast.cjs.entry.js +8 -8
  123. package/dist/cjs/ion-toggle.cjs.entry.js +7 -38
  124. package/dist/cjs/{ionic-global-96da1b2e.js → ionic-global-d9a8bb5b.js} +1 -2
  125. package/dist/cjs/ionic.cjs.js +3 -3
  126. package/dist/cjs/{ios.transition-e188169d.js → ios.transition-a4f35c55.js} +4 -4
  127. package/dist/cjs/loader.cjs.js +3 -3
  128. package/dist/cjs/{md.transition-b66da2a1.js → md.transition-cdf904e6.js} +4 -4
  129. package/dist/cjs/{notch-controller-bd07748b.js → notch-controller-a0c464d1.js} +1 -1
  130. package/dist/cjs/{overlays-b0b07774.js → overlays-86695cf1.js} +5 -5
  131. package/dist/cjs/{status-tap-3b633cba.js → status-tap-1a2485c1.js} +4 -4
  132. package/dist/cjs/{swipe-back-b70cd52e.js → swipe-back-47a52b83.js} +1 -1
  133. package/dist/collection/components/alert/alert.js +4 -34
  134. package/dist/collection/components/item-divider/item-divider.js +2 -2
  135. package/dist/collection/components/item-group/item-group.js +1 -1
  136. package/dist/collection/components/item-option/item-option.js +2 -2
  137. package/dist/collection/components/item-options/item-options.js +1 -1
  138. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  139. package/dist/collection/components/label/label.js +2 -2
  140. package/dist/collection/components/list-header/list-header.js +2 -2
  141. package/dist/collection/components/loading/loading.js +2 -2
  142. package/dist/collection/components/menu/menu.js +2 -2
  143. package/dist/collection/components/menu-button/menu-button.js +2 -2
  144. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  145. package/dist/collection/components/modal/modal.js +4 -4
  146. package/dist/collection/components/nav/nav.js +1 -1
  147. package/dist/collection/components/nav-link/nav-link.js +1 -1
  148. package/dist/collection/components/note/note.js +2 -2
  149. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  150. package/dist/collection/components/picker-legacy/picker.js +2 -2
  151. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  152. package/dist/collection/components/popover/popover.js +2 -2
  153. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  154. package/dist/collection/components/radio/radio.js +3 -3
  155. package/dist/collection/components/radio-group/radio-group.ios.css +205 -0
  156. package/dist/collection/components/radio-group/radio-group.js +72 -1
  157. package/dist/collection/components/radio-group/radio-group.md.css +205 -0
  158. package/dist/collection/components/range/range.js +6 -25
  159. package/dist/collection/components/refresher/refresher.js +1 -1
  160. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  161. package/dist/collection/components/reorder/reorder.js +1 -1
  162. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  163. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  164. package/dist/collection/components/router-link/router-link.js +2 -2
  165. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  166. package/dist/collection/components/row/row.js +1 -1
  167. package/dist/collection/components/searchbar/searchbar.js +4 -4
  168. package/dist/collection/components/segment/segment.js +2 -2
  169. package/dist/collection/components/segment-button/segment-button.js +2 -2
  170. package/dist/collection/components/segment-content/segment-content.js +1 -1
  171. package/dist/collection/components/segment-view/segment-view.js +2 -2
  172. package/dist/collection/components/select/select.js +2 -2
  173. package/dist/collection/components/select-modal/select-modal.js +1 -1
  174. package/dist/collection/components/select-option/select-option.js +1 -1
  175. package/dist/collection/components/select-popover/select-popover.js +1 -1
  176. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  177. package/dist/collection/components/spinner/spinner.js +1 -1
  178. package/dist/collection/components/split-pane/split-pane.js +2 -2
  179. package/dist/collection/components/tab/tab.js +2 -2
  180. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  181. package/dist/collection/components/tab-button/tab-button.js +2 -2
  182. package/dist/collection/components/tabs/tabs.js +1 -1
  183. package/dist/collection/components/text/text.js +2 -2
  184. package/dist/collection/components/textarea/textarea.js +2 -2
  185. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  186. package/dist/collection/components/title/title.js +2 -2
  187. package/dist/collection/components/toast/toast.js +2 -2
  188. package/dist/collection/components/toggle/toggle.ios.css +15 -52
  189. package/dist/collection/components/toggle/toggle.js +3 -71
  190. package/dist/collection/components/toggle/toggle.md.css +15 -52
  191. package/dist/collection/components/toolbar/toolbar.js +2 -2
  192. package/dist/collection/utils/floating-point/index.js +0 -5
  193. package/dist/collection/utils/helpers.js +0 -6
  194. package/dist/collection/utils/platform.js +1 -2
  195. package/dist/collection/utils/test/platform.utils.js +1 -1
  196. package/dist/docs.json +49 -77
  197. package/dist/esm/{app-globals-c10a1137.js → app-globals-5dbb61a5.js} +1 -1
  198. package/dist/esm/{data-bf516e75.js → data-b3284b5e.js} +1 -1
  199. package/dist/esm/{framework-delegate-42bc40b1.js → framework-delegate-f683816e.js} +1 -1
  200. package/dist/esm/{hardware-back-button-44195e92.js → hardware-back-button-06ef3c3e.js} +1 -1
  201. package/dist/esm/{helpers-13b816c6.js → helpers-9b49d7d2.js} +1 -7
  202. package/dist/esm/{index-28c8fd64.js → index-5a0f5fd0.js} +1 -1
  203. package/dist/esm/{index-879a2080.js → index-6a5baab0.js} +5 -5
  204. package/dist/esm/{index-ce8d38d0.js → index-6ad967f3.js} +1 -1
  205. package/dist/esm/{index-b4ac4019.js → index-7105cd59.js} +4 -4
  206. package/dist/esm/{index-ec2140bf.js → index-dd0f7395.js} +2 -2
  207. package/dist/esm/index.js +10 -10
  208. package/dist/esm/{input-shims-4c3d7279.js → input-shims-dff819a9.js} +4 -4
  209. package/dist/esm/{input.utils-b4805900.js → input.utils-2f1029cf.js} +2 -2
  210. package/dist/esm/ion-accordion_2.entry.js +3 -3
  211. package/dist/esm/ion-action-sheet.entry.js +6 -6
  212. package/dist/esm/ion-alert.entry.js +10 -36
  213. package/dist/esm/ion-app_8.entry.js +17 -17
  214. package/dist/esm/ion-avatar_3.entry.js +2 -2
  215. package/dist/esm/ion-back-button.entry.js +2 -2
  216. package/dist/esm/ion-backdrop.entry.js +1 -1
  217. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  218. package/dist/esm/ion-button_2.entry.js +3 -3
  219. package/dist/esm/ion-card_5.entry.js +2 -2
  220. package/dist/esm/ion-checkbox.entry.js +2 -2
  221. package/dist/esm/ion-chip.entry.js +1 -1
  222. package/dist/esm/ion-col_3.entry.js +2 -2
  223. package/dist/esm/ion-datetime-button.entry.js +4 -4
  224. package/dist/esm/ion-datetime_3.entry.js +11 -11
  225. package/dist/esm/ion-fab_3.entry.js +2 -2
  226. package/dist/esm/ion-img.entry.js +2 -2
  227. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
  228. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  229. package/dist/esm/ion-input.entry.js +5 -5
  230. package/dist/esm/ion-item-option_3.entry.js +8 -8
  231. package/dist/esm/ion-item_8.entry.js +13 -13
  232. package/dist/esm/ion-loading.entry.js +8 -8
  233. package/dist/esm/ion-menu_3.entry.js +13 -13
  234. package/dist/esm/ion-modal.entry.js +12 -12
  235. package/dist/esm/ion-nav_2.entry.js +8 -8
  236. package/dist/esm/ion-picker-column-option.entry.js +4 -4
  237. package/dist/esm/ion-picker-column.entry.js +2 -2
  238. package/dist/esm/ion-picker.entry.js +1 -1
  239. package/dist/esm/ion-popover.entry.js +9 -9
  240. package/dist/esm/ion-progress-bar.entry.js +3 -3
  241. package/dist/esm/ion-radio_2.entry.js +41 -6
  242. package/dist/esm/ion-range.entry.js +9 -30
  243. package/dist/esm/ion-refresher_2.entry.js +6 -6
  244. package/dist/esm/ion-reorder_2.entry.js +6 -6
  245. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  246. package/dist/esm/ion-route_4.entry.js +4 -4
  247. package/dist/esm/ion-searchbar.entry.js +6 -6
  248. package/dist/esm/ion-segment-content.entry.js +1 -1
  249. package/dist/esm/ion-segment-view.entry.js +2 -2
  250. package/dist/esm/ion-segment_2.entry.js +6 -6
  251. package/dist/esm/ion-select-modal.entry.js +7 -7
  252. package/dist/esm/ion-select_3.entry.js +11 -11
  253. package/dist/esm/ion-spinner.entry.js +2 -2
  254. package/dist/esm/ion-split-pane.entry.js +3 -3
  255. package/dist/esm/ion-tab-bar_2.entry.js +6 -6
  256. package/dist/esm/ion-tab_2.entry.js +5 -5
  257. package/dist/esm/ion-text.entry.js +3 -3
  258. package/dist/esm/ion-textarea.entry.js +7 -7
  259. package/dist/esm/ion-toast.entry.js +8 -8
  260. package/dist/esm/ion-toggle.entry.js +7 -38
  261. package/dist/esm/{ionic-global-bf78a847.js → ionic-global-c81d82ab.js} +1 -2
  262. package/dist/esm/ionic.js +3 -3
  263. package/dist/esm/{ios.transition-ffee637f.js → ios.transition-314468a2.js} +4 -4
  264. package/dist/esm/loader.js +3 -3
  265. package/dist/esm/{md.transition-3a4f9709.js → md.transition-a560e0e2.js} +4 -4
  266. package/dist/esm/{notch-controller-bb8f3a48.js → notch-controller-3dc61260.js} +1 -1
  267. package/dist/esm/{overlays-36f5880e.js → overlays-9a81f230.js} +5 -5
  268. package/dist/esm/{status-tap-2ce7841e.js → status-tap-d07dbc82.js} +4 -4
  269. package/dist/esm/{swipe-back-a258b011.js → swipe-back-23ee7ab1.js} +1 -1
  270. package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
  271. package/dist/esm-es5/{data-bf516e75.js → data-b3284b5e.js} +1 -1
  272. package/dist/esm-es5/{framework-delegate-42bc40b1.js → framework-delegate-f683816e.js} +1 -1
  273. package/dist/esm-es5/{hardware-back-button-44195e92.js → hardware-back-button-06ef3c3e.js} +1 -1
  274. package/dist/esm-es5/{helpers-13b816c6.js → helpers-9b49d7d2.js} +1 -1
  275. package/dist/esm-es5/{index-28c8fd64.js → index-5a0f5fd0.js} +1 -1
  276. package/dist/esm-es5/{index-879a2080.js → index-6a5baab0.js} +1 -1
  277. package/dist/esm-es5/{index-ce8d38d0.js → index-6ad967f3.js} +1 -1
  278. package/dist/esm-es5/{index-b4ac4019.js → index-7105cd59.js} +1 -1
  279. package/dist/esm-es5/{index-ec2140bf.js → index-dd0f7395.js} +1 -1
  280. package/dist/esm-es5/index.js +1 -1
  281. package/dist/esm-es5/{input-shims-4c3d7279.js → input-shims-dff819a9.js} +1 -1
  282. package/dist/esm-es5/{input.utils-b4805900.js → input.utils-2f1029cf.js} +1 -1
  283. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  284. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  285. package/dist/esm-es5/ion-alert.entry.js +1 -1
  286. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  287. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  288. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  289. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  290. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  291. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  292. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  293. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  294. package/dist/esm-es5/ion-chip.entry.js +1 -1
  295. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  296. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  297. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  298. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  299. package/dist/esm-es5/ion-img.entry.js +1 -1
  300. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  301. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  302. package/dist/esm-es5/ion-input.entry.js +1 -1
  303. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  304. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  305. package/dist/esm-es5/ion-loading.entry.js +1 -1
  306. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  307. package/dist/esm-es5/ion-modal.entry.js +1 -1
  308. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  309. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  310. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  311. package/dist/esm-es5/ion-picker.entry.js +1 -1
  312. package/dist/esm-es5/ion-popover.entry.js +1 -1
  313. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  314. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  315. package/dist/esm-es5/ion-range.entry.js +1 -1
  316. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  317. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  318. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  319. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  320. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  321. package/dist/esm-es5/ion-segment-content.entry.js +1 -1
  322. package/dist/esm-es5/ion-segment-view.entry.js +1 -1
  323. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  324. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  325. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  326. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  327. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  328. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  329. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  330. package/dist/esm-es5/ion-text.entry.js +1 -1
  331. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  332. package/dist/esm-es5/ion-toast.entry.js +1 -1
  333. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  334. package/dist/esm-es5/{ionic-global-bf78a847.js → ionic-global-c81d82ab.js} +1 -1
  335. package/dist/esm-es5/ionic.js +1 -1
  336. package/dist/esm-es5/{ios.transition-ffee637f.js → ios.transition-314468a2.js} +1 -1
  337. package/dist/esm-es5/loader.js +1 -1
  338. package/dist/esm-es5/md.transition-a560e0e2.js +4 -0
  339. package/dist/esm-es5/{notch-controller-bb8f3a48.js → notch-controller-3dc61260.js} +1 -1
  340. package/dist/esm-es5/{overlays-36f5880e.js → overlays-9a81f230.js} +1 -1
  341. package/dist/esm-es5/{status-tap-2ce7841e.js → status-tap-d07dbc82.js} +1 -1
  342. package/dist/esm-es5/{swipe-back-a258b011.js → swipe-back-23ee7ab1.js} +1 -1
  343. package/dist/html.html-data.json +8 -8
  344. package/dist/ionic/index.esm.js +1 -1
  345. package/dist/ionic/ionic.esm.js +1 -1
  346. package/dist/ionic/ionic.js +1 -1
  347. package/dist/ionic/p-04b4ee62.entry.js +4 -0
  348. package/dist/ionic/p-0574e87e.js +4 -0
  349. package/dist/ionic/{p-d8c1ac0d.system.js → p-058e61eb.system.js} +1 -1
  350. package/dist/ionic/{p-91b944fa.entry.js → p-0609cf64.entry.js} +1 -1
  351. package/dist/ionic/{p-4a98a017.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  352. package/dist/ionic/{p-447d4981.system.entry.js → p-1283c4fa.system.entry.js} +1 -1
  353. package/dist/ionic/p-155f4d90.entry.js +4 -0
  354. package/dist/ionic/p-16960598.entry.js +4 -0
  355. package/dist/ionic/{p-9104d662.system.entry.js → p-18e101b7.system.entry.js} +1 -1
  356. package/dist/ionic/{p-03940ae5.js → p-1a5bc5f7.js} +1 -1
  357. package/dist/ionic/{p-85b1ffae.entry.js → p-1c934892.entry.js} +1 -1
  358. package/dist/ionic/p-1f405274.js +4 -0
  359. package/dist/ionic/{p-7112ab06.system.entry.js → p-1f9fa897.system.entry.js} +1 -1
  360. package/dist/ionic/p-21227121.js +4 -0
  361. package/dist/ionic/{p-badd3610.entry.js → p-21c7f006.entry.js} +1 -1
  362. package/dist/ionic/p-22149a4f.js +4 -0
  363. package/dist/ionic/{p-8c0d81a9.entry.js → p-29c6c783.entry.js} +1 -1
  364. package/dist/ionic/{p-d6b60875.entry.js → p-2abc5389.entry.js} +1 -1
  365. package/dist/ionic/{p-3559bd4f.js → p-2bc73fb5.js} +1 -1
  366. package/dist/ionic/p-2c9eb774.system.js +4 -0
  367. package/dist/ionic/{p-5bf080b2.entry.js → p-2cd35dd9.entry.js} +1 -1
  368. package/dist/ionic/{p-42a9bb35.entry.js → p-2d1d8a25.entry.js} +1 -1
  369. package/dist/ionic/p-322c5fb4.system.js +4 -0
  370. package/dist/ionic/{p-c66604e4.entry.js → p-33a8a71b.entry.js} +1 -1
  371. package/dist/ionic/{p-2c1d4963.system.js → p-343b6b1d.system.js} +1 -1
  372. package/dist/ionic/{p-fe7be7b4.js → p-346b2baf.js} +1 -1
  373. package/dist/ionic/{p-71e1d84d.entry.js → p-3624eb4f.entry.js} +1 -1
  374. package/dist/ionic/{p-5bc47f96.entry.js → p-36c448fe.entry.js} +1 -1
  375. package/dist/ionic/{p-166f4ba0.entry.js → p-3731296e.entry.js} +1 -1
  376. package/dist/ionic/{p-761c42da.js → p-39dd4f62.js} +1 -1
  377. package/dist/ionic/{p-8911101b.system.js → p-3c8e5c23.system.js} +1 -1
  378. package/dist/ionic/p-3e6be709.entry.js +4 -0
  379. package/dist/ionic/{p-f5a536e1.system.js → p-4452a8ac.system.js} +1 -1
  380. package/dist/ionic/{p-fd2c0aa6.entry.js → p-462ddb40.entry.js} +1 -1
  381. package/dist/ionic/{p-7d1cbf97.system.entry.js → p-484d855b.system.entry.js} +2 -2
  382. package/dist/ionic/{p-e18fc89c.entry.js → p-4a1d747d.entry.js} +1 -1
  383. package/dist/ionic/p-4a25618e.system.entry.js +4 -0
  384. package/dist/ionic/{p-1f62c30b.entry.js → p-4ad78edc.entry.js} +1 -1
  385. package/dist/ionic/{p-845f8d16.js → p-4d3a5f86.js} +1 -1
  386. package/dist/ionic/{p-e4c1fd74.system.entry.js → p-4f8e2c0a.system.entry.js} +1 -1
  387. package/dist/ionic/{p-52b61cba.system.js → p-5126cf1e.system.js} +1 -1
  388. package/dist/ionic/p-52245809.js +4 -0
  389. package/dist/ionic/{p-49b2653a.system.entry.js → p-5733b3de.system.entry.js} +1 -1
  390. package/dist/ionic/{p-f6d066b4.system.js → p-578efda4.system.js} +1 -1
  391. package/dist/ionic/{p-7e70835f.js → p-5c9324c6.js} +1 -1
  392. package/dist/ionic/{p-424eb140.system.entry.js → p-5cc9314d.system.entry.js} +1 -1
  393. package/dist/ionic/{p-9c7efe25.system.entry.js → p-5fce0c0b.system.entry.js} +1 -1
  394. package/dist/ionic/{p-8c42a26f.system.entry.js → p-60e2b91f.system.entry.js} +2 -2
  395. package/dist/ionic/{p-6347c733.system.entry.js → p-648f5e38.system.entry.js} +1 -1
  396. package/dist/ionic/{p-72210f2a.system.entry.js → p-655723eb.system.entry.js} +1 -1
  397. package/dist/ionic/p-665c22ee.entry.js +4 -0
  398. package/dist/ionic/p-67222c16.system.js +4 -0
  399. package/dist/ionic/{p-7896a440.system.entry.js → p-68c5fcd6.system.entry.js} +1 -1
  400. package/dist/ionic/{p-136ff13e.entry.js → p-6ca64f4e.entry.js} +1 -1
  401. package/dist/ionic/{p-2cf956b8.entry.js → p-6e077659.entry.js} +1 -1
  402. package/dist/ionic/{p-a17a1fb9.entry.js → p-70af0afb.entry.js} +1 -1
  403. package/dist/ionic/{p-ba61193a.entry.js → p-712fedc9.entry.js} +1 -1
  404. package/dist/ionic/{p-b6208867.system.entry.js → p-73262d9e.system.entry.js} +1 -1
  405. package/dist/ionic/{p-74e328cf.system.js → p-73897169.system.js} +1 -1
  406. package/dist/ionic/{p-712b57f9.system.entry.js → p-744b2484.system.entry.js} +1 -1
  407. package/dist/ionic/{p-193d447d.system.entry.js → p-75544514.system.entry.js} +1 -1
  408. package/dist/ionic/{p-48e13807.system.entry.js → p-75cc5913.system.entry.js} +1 -1
  409. package/dist/ionic/{p-37a21d70.entry.js → p-78604c34.entry.js} +1 -1
  410. package/dist/ionic/{p-d9ef8526.system.entry.js → p-78c884a1.system.entry.js} +1 -1
  411. package/dist/ionic/{p-89e678fa.js → p-7a1766d6.js} +1 -1
  412. package/dist/ionic/{p-16799667.system.entry.js → p-7af3d1e8.system.entry.js} +1 -1
  413. package/dist/ionic/p-7b02a0e4.entry.js +4 -0
  414. package/dist/ionic/p-7c3b0a9b.system.entry.js +4 -0
  415. package/dist/ionic/{p-e2f893bd.entry.js → p-826a2aaf.entry.js} +1 -1
  416. package/dist/ionic/{p-e0a2abde.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  417. package/dist/ionic/{p-86a9a4ca.system.js → p-860eb968.system.js} +1 -1
  418. package/dist/ionic/{p-5996d3ad.system.entry.js → p-88d323cd.system.entry.js} +1 -1
  419. package/dist/ionic/{p-09e4bf0d.entry.js → p-89bf08c7.entry.js} +1 -1
  420. package/dist/ionic/{p-e56b4e0f.system.entry.js → p-8cfba7e9.system.entry.js} +1 -1
  421. package/dist/ionic/{p-3a4d77b9.system.js → p-8e407469.system.js} +1 -1
  422. package/dist/ionic/{p-e84da6cb.system.entry.js → p-8f2fe279.system.entry.js} +1 -1
  423. package/dist/ionic/p-8f4361a8.system.entry.js +4 -0
  424. package/dist/ionic/{p-8f89c8e3.entry.js → p-955c3eb8.entry.js} +1 -1
  425. package/dist/ionic/{p-f6e7870b.system.js → p-95da3ae2.system.js} +1 -1
  426. package/dist/ionic/{p-4e0643a3.js → p-990630ca.js} +1 -1
  427. package/dist/ionic/{p-e824ffe7.entry.js → p-9a100adc.entry.js} +1 -1
  428. package/dist/ionic/{p-34182275.entry.js → p-9b3bb24e.entry.js} +1 -1
  429. package/dist/ionic/{p-eb4ac14d.system.js → p-9f3008d4.system.js} +1 -1
  430. package/dist/ionic/p-9f763f14.entry.js +4 -0
  431. package/dist/ionic/{p-dd14d988.entry.js → p-a309ca1c.entry.js} +1 -1
  432. package/dist/ionic/{p-efcb7383.entry.js → p-a43ad5b5.entry.js} +1 -1
  433. package/dist/ionic/{p-d86d7845.system.js → p-a69b9fc5.system.js} +1 -1
  434. package/dist/ionic/{p-c3a51c19.system.entry.js → p-a6cf686b.system.entry.js} +1 -1
  435. package/dist/ionic/{p-c55254f0.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  436. package/dist/ionic/{p-3b8b35c7.system.entry.js → p-a9eda6d0.system.entry.js} +1 -1
  437. package/dist/ionic/{p-187396b1.system.js → p-acb30a5c.system.js} +1 -1
  438. package/dist/ionic/{p-59884cc7.system.entry.js → p-acc8399c.system.entry.js} +1 -1
  439. package/dist/ionic/{p-98ce0c01.system.entry.js → p-ad10b555.system.entry.js} +1 -1
  440. package/dist/ionic/{p-80d837dd.system.js → p-af452fa4.system.js} +1 -1
  441. package/dist/ionic/{p-84fb742d.system.entry.js → p-af744710.system.entry.js} +1 -1
  442. package/dist/ionic/{p-026517fb.entry.js → p-b1f885df.entry.js} +1 -1
  443. package/dist/ionic/{p-8aa290af.system.js → p-b3680e2f.system.js} +1 -1
  444. package/dist/ionic/{p-b6849d30.system.entry.js → p-b3c4ddc2.system.entry.js} +1 -1
  445. package/dist/ionic/{p-d25142f7.entry.js → p-b93144e1.entry.js} +1 -1
  446. package/dist/ionic/{p-21ee4f71.system.entry.js → p-b936eb7e.system.entry.js} +1 -1
  447. package/dist/ionic/p-ba3f918e.entry.js +4 -0
  448. package/dist/ionic/{p-6eb35904.js → p-bb11d9fb.js} +1 -1
  449. package/dist/ionic/{p-00d5ab83.entry.js → p-bb2a6761.entry.js} +1 -1
  450. package/dist/ionic/{p-bbfa740f.entry.js → p-bc616455.entry.js} +1 -1
  451. package/dist/ionic/{p-9d4a8059.entry.js → p-bdad26e3.entry.js} +1 -1
  452. package/dist/ionic/{p-56a8aa85.entry.js → p-bf63d4b2.entry.js} +1 -1
  453. package/dist/ionic/{p-6c85db7e.system.entry.js → p-c1dbc8b6.system.entry.js} +2 -2
  454. package/dist/ionic/{p-8973b827.system.js → p-c3802319.system.js} +1 -1
  455. package/dist/ionic/{p-2cb33c6c.system.entry.js → p-c59abcb6.system.entry.js} +2 -2
  456. package/dist/ionic/{p-ec197876.entry.js → p-c67ded77.entry.js} +1 -1
  457. package/dist/ionic/{p-a4b108a7.entry.js → p-c8d645b3.entry.js} +1 -1
  458. package/dist/ionic/{p-c30c10af.js → p-c935cfc9.js} +1 -1
  459. package/dist/ionic/{p-5d3dc32b.system.entry.js → p-ca7b5bec.system.entry.js} +1 -1
  460. package/dist/ionic/{p-b566749e.js → p-d4ca0475.js} +1 -1
  461. package/dist/ionic/{p-e25cd3c7.js → p-d743e981.js} +1 -1
  462. package/dist/ionic/{p-f4cddcd0.entry.js → p-d7bb5325.entry.js} +1 -1
  463. package/dist/ionic/{p-9994c82e.system.entry.js → p-d821466d.system.entry.js} +1 -1
  464. package/dist/ionic/{p-6579f457.system.js → p-d99e8644.system.js} +1 -1
  465. package/dist/ionic/{p-05f90810.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  466. package/dist/ionic/{p-de4fef3c.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  467. package/dist/ionic/{p-25580c85.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  468. package/dist/ionic/{p-d782ad8d.entry.js → p-dde1e5b8.entry.js} +1 -1
  469. package/dist/ionic/{p-f670529f.system.entry.js → p-e06861a9.system.entry.js} +1 -1
  470. package/dist/ionic/{p-a873feda.system.entry.js → p-e0a6dc45.system.entry.js} +1 -1
  471. package/dist/ionic/{p-97542341.system.entry.js → p-e32557bb.system.entry.js} +1 -1
  472. package/dist/ionic/{p-3c3d353b.entry.js → p-e5ed3da9.entry.js} +1 -1
  473. package/dist/ionic/p-e75b0c87.entry.js +4 -0
  474. package/dist/ionic/{p-a3e60403.js → p-e8d56122.js} +1 -1
  475. package/dist/ionic/{p-441c2c8c.entry.js → p-e8f34871.entry.js} +1 -1
  476. package/dist/ionic/{p-4eed0eb2.system.entry.js → p-e9ddf8fe.system.entry.js} +1 -1
  477. package/dist/ionic/{p-6f3d8334.js → p-ecceeb90.js} +1 -1
  478. package/dist/ionic/{p-73dc4950.entry.js → p-f2a72b24.entry.js} +1 -1
  479. package/dist/ionic/{p-323984f9.system.entry.js → p-f2fb9a7b.system.entry.js} +1 -1
  480. package/dist/ionic/{p-478dfa8c.system.entry.js → p-f3102647.system.entry.js} +1 -1
  481. package/dist/ionic/{p-5a1017f3.entry.js → p-f5d6624d.entry.js} +1 -1
  482. package/dist/ionic/{p-c3de6cd1.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  483. package/dist/ionic/{p-d4896d36.system.entry.js → p-f8e37d24.system.entry.js} +1 -1
  484. package/dist/ionic/{p-3fe95571.system.entry.js → p-fa210a45.system.entry.js} +1 -1
  485. package/dist/ionic/p-fbf86e62.system.js +4 -0
  486. package/dist/ionic/{p-16dd9c9b.entry.js → p-fca17935.entry.js} +1 -1
  487. package/dist/ionic/{p-d7fef52e.system.entry.js → p-fd4e25b5.system.entry.js} +1 -1
  488. package/dist/ionic/{p-c2583512.entry.js → p-fd6cff12.entry.js} +1 -1
  489. package/dist/types/components/radio-group/radio-group.d.ts +15 -0
  490. package/dist/types/components/range/range.d.ts +2 -3
  491. package/dist/types/components/toggle/toggle.d.ts +0 -19
  492. package/dist/types/components.d.ts +16 -16
  493. package/dist/types/utils/helpers.d.ts +0 -4
  494. package/dist/types/utils/native/capacitor.d.ts +1 -7
  495. package/dist/types/utils/test/platform.utils.d.ts +1 -1
  496. package/hydrate/index.js +141 -194
  497. package/hydrate/index.mjs +141 -194
  498. package/package.json +5 -5
  499. package/dist/esm-es5/app-globals-c10a1137.js +0 -4
  500. package/dist/esm-es5/md.transition-3a4f9709.js +0 -4
  501. package/dist/ionic/p-0412232d.js +0 -4
  502. package/dist/ionic/p-14be4015.entry.js +0 -4
  503. package/dist/ionic/p-30ec5574.entry.js +0 -4
  504. package/dist/ionic/p-37264dcc.entry.js +0 -4
  505. package/dist/ionic/p-38df41a6.system.js +0 -4
  506. package/dist/ionic/p-3c29cb9d.entry.js +0 -4
  507. package/dist/ionic/p-4e8946f7.js +0 -4
  508. package/dist/ionic/p-51d4cdba.system.js +0 -4
  509. package/dist/ionic/p-57cca929.system.entry.js +0 -4
  510. package/dist/ionic/p-60f7c85d.entry.js +0 -4
  511. package/dist/ionic/p-6f36e4c8.system.entry.js +0 -4
  512. package/dist/ionic/p-8a3509b8.js +0 -4
  513. package/dist/ionic/p-8b367303.entry.js +0 -4
  514. package/dist/ionic/p-ab2f4b05.entry.js +0 -4
  515. package/dist/ionic/p-b1c4a9db.js +0 -4
  516. package/dist/ionic/p-be8ecfc1.js +0 -4
  517. package/dist/ionic/p-c1ad8eb0.system.js +0 -4
  518. package/dist/ionic/p-c42a4dad.system.entry.js +0 -4
  519. package/dist/ionic/p-ebb85488.entry.js +0 -4
  520. package/dist/ionic/p-f4f255cb.system.js +0 -4
  521. package/dist/ionic/p-fc9149bd.entry.js +0 -4
@@ -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;
@@ -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,8 +66,6 @@ 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';
@@ -89,7 +82,6 @@ export class Toggle {
89
82
  const { checked, value } = this;
90
83
  const isNowChecked = !checked;
91
84
  this.checked = isNowChecked;
92
- this.setFocus();
93
85
  this.ionChange.emit({
94
86
  checked: isNowChecked,
95
87
  value,
@@ -160,39 +152,13 @@ export class Toggle {
160
152
  get hasLabel() {
161
153
  return this.el.textContent !== '';
162
154
  }
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
155
  render() {
190
156
  const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment, required } = this;
191
157
  const mode = getIonMode(this);
192
158
  const value = this.getValue();
193
159
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
194
160
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
195
- return (h(Host, { key: 'd0c60711ea00ad36fe88766780cffaf9fc5dd538', "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: createColorClasses(color, {
161
+ return (h(Host, { key: '381632cf12ef5d27d729e0d59efcb14efad12a51', onClick: this.onClick, class: createColorClasses(color, {
196
162
  [mode]: true,
197
163
  'in-item': hostContext('ion-item', el),
198
164
  'toggle-activated': activated,
@@ -202,10 +168,10 @@ export class Toggle {
202
168
  [`toggle-alignment-${alignment}`]: alignment !== undefined,
203
169
  [`toggle-label-placement-${labelPlacement}`]: true,
204
170
  [`toggle-${rtl}`]: true,
205
- }) }, h("label", { key: 'ec01cb69c55748d59e325bd3272051568d46d3c9', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'beefe7f842954dd1661504f3b41b6048e8b848f7', 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: 'bbe542a0d6fe29868ff8ffba37a1e96d43ccdccb', class: {
171
+ }) }, h("label", { key: '73f2bd13ccfc4a1efc68781155f603e665be3d7e', class: "toggle-wrapper" }, h("input", Object.assign({ key: '0c4b7663ddbf3b1ce94b5fd4c7c21e51db907d71', 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: 'ef1e73bee832bf9ab58d1e47eb037c50b609c0ee', class: {
206
172
  'label-text-wrapper': true,
207
173
  'label-text-wrapper-hidden': !this.hasLabel,
208
- }, part: "label" }, h("slot", { key: '2c4d6ce193bba3e8cc101664cfacfdeca4c2eb01' }), this.renderHintText()), h("div", { key: 'e9a4ea4c4bb48e7bf8a58ef742b4024867e77051', class: "native-wrapper" }, this.renderToggleControl()))));
174
+ }, part: "label" }, h("slot", { key: '67b7e20dc96503cb76dd5e31c5579752de465dcc' })), h("div", { key: '17f89960bcc3302ef8e0c0d4e10513241744e232', class: "native-wrapper" }, this.renderToggleControl()))));
209
175
  }
210
176
  static get is() { return "ion-toggle"; }
211
177
  static get encapsulation() { return "shadow"; }
@@ -300,40 +266,6 @@ export class Toggle {
300
266
  "reflect": false,
301
267
  "defaultValue": "false"
302
268
  },
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
269
  "value": {
338
270
  "type": "string",
339
271
  "mutable": false,
@@ -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;
@@ -66,10 +66,10 @@ export class Toolbar {
66
66
  this.childrenStyles.forEach((value) => {
67
67
  Object.assign(childStyles, value);
68
68
  });
69
- return (h(Host, { key: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
69
+ return (h(Host, { key: '402afe7ce0c97883cedd0e48a5a0492a9bfe76ae', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
70
70
  [mode]: true,
71
71
  'in-toolbar': hostContext('ion-toolbar', this.el),
72
- })) }, h("div", { key: '443a216362bbbf1c149ed12140d52b0f0ea2d664', class: "toolbar-background", part: "background" }), h("div", { key: '1df87f4027d605e42757a13d4828df45b90a4fdc', class: "toolbar-container", part: "container" }, h("slot", { key: 'f66f34972be8e3f4915b9c6f5808600dbaedb1ea', name: "start" }), h("slot", { key: '14f38b0975e956f404c4eb3ee56f2055c6615276', name: "secondary" }), h("div", { key: '75ba5953a25c7544793484d2b245792cb0a5af75', class: "toolbar-content", part: "content" }, h("slot", { key: '149dfa58ff7106f318fecb4134e7c69edf8bc231' })), h("slot", { key: '807ab9ad21d7f1d9d427a4086460bcb9e5e8c019', name: "primary" }), h("slot", { key: 'bd2f9da95d2fa8e74dc6e0666587ceecbba99d9f', name: "end" }))));
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" }))));
73
73
  }
74
74
  static get is() { return "ion-toolbar"; }
75
75
  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
- };
@@ -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: {
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-03-10T18:25:12",
2
+ "timestamp": "2025-03-10T18:45:23",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
@@ -1921,10 +1921,6 @@
1921
1921
  "Promise": {
1922
1922
  "location": "global",
1923
1923
  "id": "global::Promise"
1924
- },
1925
- "HTMLButtonElement": {
1926
- "location": "global",
1927
- "id": "global::HTMLButtonElement"
1928
1924
  }
1929
1925
  },
1930
1926
  "return": "Promise<void>"
@@ -22588,6 +22584,54 @@
22588
22584
  "optional": true,
22589
22585
  "required": false
22590
22586
  },
22587
+ {
22588
+ "name": "errorText",
22589
+ "type": "string | undefined",
22590
+ "complexType": {
22591
+ "original": "string",
22592
+ "resolved": "string | undefined",
22593
+ "references": {}
22594
+ },
22595
+ "mutable": false,
22596
+ "attr": "error-text",
22597
+ "reflectToAttr": false,
22598
+ "docs": "The error text to display at the top of the radio group.",
22599
+ "docsTags": [],
22600
+ "values": [
22601
+ {
22602
+ "type": "string"
22603
+ },
22604
+ {
22605
+ "type": "undefined"
22606
+ }
22607
+ ],
22608
+ "optional": true,
22609
+ "required": false
22610
+ },
22611
+ {
22612
+ "name": "helperText",
22613
+ "type": "string | undefined",
22614
+ "complexType": {
22615
+ "original": "string",
22616
+ "resolved": "string | undefined",
22617
+ "references": {}
22618
+ },
22619
+ "mutable": false,
22620
+ "attr": "helper-text",
22621
+ "reflectToAttr": false,
22622
+ "docs": "The helper text to display at the top of the radio group.",
22623
+ "docsTags": [],
22624
+ "values": [
22625
+ {
22626
+ "type": "string"
22627
+ },
22628
+ {
22629
+ "type": "undefined"
22630
+ }
22631
+ ],
22632
+ "optional": true,
22633
+ "required": false
22634
+ },
22591
22635
  {
22592
22636
  "name": "name",
22593
22637
  "type": "string",
@@ -32450,18 +32494,6 @@
32450
32494
  {
32451
32495
  "name": "part",
32452
32496
  "text": "label - The label text describing the toggle."
32453
- },
32454
- {
32455
- "name": "part",
32456
- "text": "supporting-text - Supporting text displayed beneath the toggle label."
32457
- },
32458
- {
32459
- "name": "part",
32460
- "text": "helper-text - Supporting text displayed beneath the toggle label when the toggle is valid."
32461
- },
32462
- {
32463
- "name": "part",
32464
- "text": "error-text - Supporting text displayed beneath the toggle label when the toggle is invalid and touched."
32465
32497
  }
32466
32498
  ],
32467
32499
  "usage": {},
@@ -32630,54 +32662,6 @@
32630
32662
  "optional": false,
32631
32663
  "required": false
32632
32664
  },
32633
- {
32634
- "name": "errorText",
32635
- "type": "string | undefined",
32636
- "complexType": {
32637
- "original": "string",
32638
- "resolved": "string | undefined",
32639
- "references": {}
32640
- },
32641
- "mutable": false,
32642
- "attr": "error-text",
32643
- "reflectToAttr": false,
32644
- "docs": "Text that is placed under the toggle label and displayed when an error is detected.",
32645
- "docsTags": [],
32646
- "values": [
32647
- {
32648
- "type": "string"
32649
- },
32650
- {
32651
- "type": "undefined"
32652
- }
32653
- ],
32654
- "optional": true,
32655
- "required": false
32656
- },
32657
- {
32658
- "name": "helperText",
32659
- "type": "string | undefined",
32660
- "complexType": {
32661
- "original": "string",
32662
- "resolved": "string | undefined",
32663
- "references": {}
32664
- },
32665
- "mutable": false,
32666
- "attr": "helper-text",
32667
- "reflectToAttr": false,
32668
- "docs": "Text that is placed under the toggle label and displayed when no error is detected.",
32669
- "docsTags": [],
32670
- "values": [
32671
- {
32672
- "type": "string"
32673
- },
32674
- {
32675
- "type": "undefined"
32676
- }
32677
- ],
32678
- "optional": true,
32679
- "required": false
32680
- },
32681
32665
  {
32682
32666
  "name": "justify",
32683
32667
  "type": "\"end\" | \"space-between\" | \"start\" | undefined",
@@ -33045,26 +33029,14 @@
33045
33029
  }
33046
33030
  ],
33047
33031
  "parts": [
33048
- {
33049
- "name": "error-text",
33050
- "docs": "Supporting text displayed beneath the toggle label when the toggle is invalid and touched."
33051
- },
33052
33032
  {
33053
33033
  "name": "handle",
33054
33034
  "docs": "The toggle handle, or knob, used to change the checked state."
33055
33035
  },
33056
- {
33057
- "name": "helper-text",
33058
- "docs": "Supporting text displayed beneath the toggle label when the toggle is valid."
33059
- },
33060
33036
  {
33061
33037
  "name": "label",
33062
33038
  "docs": "The label text describing the toggle."
33063
33039
  },
33064
- {
33065
- "name": "supporting-text",
33066
- "docs": "Supporting text displayed beneath the toggle label."
33067
- },
33068
33040
  {
33069
33041
  "name": "track",
33070
33042
  "docs": "The background track of the toggle."
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { i as initialize } from './ionic-global-bf78a847.js';
4
+ import { i as initialize } from './ionic-global-c81d82ab.js';
5
5
 
6
6
  const globalScripts = initialize;
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { p as printIonWarning } from './index-ce8d38d0.js';
4
+ import { p as printIonWarning } from './index-6ad967f3.js';
5
5
 
6
6
  /**
7
7
  * Returns true if the selected day is equal to the reference day
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as componentOnReady } from './helpers-13b816c6.js';
4
+ import { c as componentOnReady } from './helpers-9b49d7d2.js';
5
5
 
6
6
  // TODO(FW-2832): types
7
7
  const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { w as win } from './index-a5d50daf.js';
5
- import { c as config } from './ionic-global-bf78a847.js';
5
+ import { c as config } from './ionic-global-c81d82ab.js';
6
6
  import './index-28849c61.js';
7
7
 
8
8
  /**
@@ -368,11 +368,5 @@ const getNextSiblingOfType = (element) => {
368
368
  }
369
369
  return null;
370
370
  };
371
- /**
372
- * Checks input for usable number. Not NaN and not Infinite.
373
- */
374
- const isSafeNumber = (input) => {
375
- return typeof input === 'number' && !isNaN(input) && isFinite(input);
376
- };
377
371
 
378
- export { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k, isSafeNumber as l, hasShadowDom as m, assert as n, getNextSiblingOfType as o, isEndSide as p, debounce as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t, pointerCoord as u };
372
+ export { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k, hasShadowDom as l, assert as m, getNextSiblingOfType as n, isEndSide as o, debounce as p, pointerCoord as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { d as doc } from './index-a5d50daf.js';
5
- import { u as pointerCoord } from './helpers-13b816c6.js';
5
+ import { q as pointerCoord } from './helpers-9b49d7d2.js';
6
6
 
7
7
  const startTapClick = (config) => {
8
8
  if (doc === undefined) {
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as config } from './ionic-global-bf78a847.js';
4
+ import { c as config } from './ionic-global-c81d82ab.js';
5
5
  import { w as writeTask, B as Build } from './index-28849c61.js';
6
- import { p as printIonWarning } from './index-ce8d38d0.js';
7
- import { r as raf } from './helpers-13b816c6.js';
6
+ import { p as printIonWarning } from './index-6ad967f3.js';
7
+ import { r as raf } from './helpers-9b49d7d2.js';
8
8
 
9
9
  const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
10
10
  const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
@@ -120,8 +120,8 @@ const createFocusController = () => {
120
120
  };
121
121
  const LAST_FOCUS = 'ion-last-focus';
122
122
 
123
- const iosTransitionAnimation = () => import('./ios.transition-ffee637f.js');
124
- const mdTransitionAnimation = () => import('./md.transition-3a4f9709.js');
123
+ const iosTransitionAnimation = () => import('./ios.transition-314468a2.js');
124
+ const mdTransitionAnimation = () => import('./md.transition-a560e0e2.js');
125
125
  const focusController = createFocusController();
126
126
  // TODO(FW-2832): types
127
127
  const transition = (opts) => {