@ionic/core 8.4.4-dev.11739906326.1989484f → 8.4.4-dev.11740658609.11c22eeb

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 (346) hide show
  1. package/components/alert.js +25 -4
  2. package/components/helpers.js +11 -1
  3. package/components/index6.js +3 -11
  4. package/components/index9.js +1 -1
  5. package/components/ion-segment-button.js +40 -9
  6. package/components/radio.js +5 -37
  7. package/components/toolbar.js +2 -2
  8. package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
  9. package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
  10. package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
  11. package/dist/cjs/{index-3652c918.js → index-1ae3f40a.js} +2 -2
  12. package/dist/cjs/{index-e975c92b.js → index-4e14a46e.js} +4 -4
  13. package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
  14. package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
  15. package/dist/cjs/{index-0d762bba.js → index-c441c903.js} +2 -2
  16. package/dist/cjs/index.cjs.js +8 -8
  17. package/dist/cjs/{input-shims-cd05268a.js → input-shims-e748a364.js} +3 -5
  18. package/dist/cjs/{input.utils-ffb2f81b.js → input.utils-74e4ec28.js} +2 -2
  19. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  20. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  21. package/dist/cjs/ion-alert.cjs.entry.js +29 -8
  22. package/dist/cjs/ion-app_8.cjs.entry.js +11 -11
  23. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  24. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  27. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  28. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  29. package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
  30. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  31. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  32. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
  34. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  35. package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -3
  36. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  37. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  38. package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
  39. package/dist/cjs/ion-modal.cjs.entry.js +6 -6
  40. package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
  41. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  42. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  43. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  44. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  45. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  46. package/dist/cjs/ion-radio_2.cjs.entry.js +6 -36
  47. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  48. package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
  49. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
  51. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  52. package/dist/cjs/ion-segment_2.cjs.entry.js +40 -9
  53. package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
  54. package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
  55. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  56. package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
  57. package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
  58. package/dist/cjs/ion-toast.cjs.entry.js +4 -4
  59. package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
  60. package/dist/cjs/ionic.cjs.js +1 -1
  61. package/dist/cjs/{ios.transition-0e664e88.js → ios.transition-afdec89f.js} +3 -3
  62. package/dist/cjs/loader.cjs.js +1 -1
  63. package/dist/cjs/{md.transition-2e8aef2c.js → md.transition-9f0d3db5.js} +3 -3
  64. package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
  65. package/dist/cjs/{overlays-65fdaff6.js → overlays-76b29cd4.js} +3 -3
  66. package/dist/cjs/{status-tap-d74f1429.js → status-tap-fb807fad.js} +3 -4
  67. package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
  68. package/dist/collection/components/alert/alert.js +29 -4
  69. package/dist/collection/components/radio/radio.ios.css +15 -52
  70. package/dist/collection/components/radio/radio.js +3 -70
  71. package/dist/collection/components/radio/radio.md.css +15 -52
  72. package/dist/collection/components/segment-button/segment-button.js +40 -9
  73. package/dist/collection/components/toolbar/toolbar.js +2 -6
  74. package/dist/collection/utils/helpers.js +10 -0
  75. package/dist/collection/utils/logging/index.js +3 -10
  76. package/dist/docs.json +6 -99
  77. package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  78. package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  79. package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
  80. package/dist/esm/{index-efb8ecdf.js → index-33f7e3ff.js} +2 -2
  81. package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  82. package/dist/esm/{index-2f7fde3d.js → index-7ec5519a.js} +4 -4
  83. package/dist/esm/{index-cb21eccb.js → index-8785a9c6.js} +2 -2
  84. package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
  85. package/dist/esm/index.js +8 -8
  86. package/dist/esm/{input-shims-2fd7c6ef.js → input-shims-0e65111b.js} +3 -5
  87. package/dist/esm/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +2 -2
  88. package/dist/esm/ion-accordion_2.entry.js +2 -2
  89. package/dist/esm/ion-action-sheet.entry.js +4 -4
  90. package/dist/esm/ion-alert.entry.js +29 -8
  91. package/dist/esm/ion-app_8.entry.js +11 -11
  92. package/dist/esm/ion-back-button.entry.js +1 -1
  93. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  94. package/dist/esm/ion-button_2.entry.js +2 -2
  95. package/dist/esm/ion-card_5.entry.js +1 -1
  96. package/dist/esm/ion-checkbox.entry.js +1 -1
  97. package/dist/esm/ion-datetime-button.entry.js +3 -3
  98. package/dist/esm/ion-datetime_3.entry.js +5 -5
  99. package/dist/esm/ion-fab_3.entry.js +1 -1
  100. package/dist/esm/ion-img.entry.js +1 -1
  101. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  102. package/dist/esm/ion-input-password-toggle.entry.js +1 -1
  103. package/dist/esm/ion-input.entry.js +4 -4
  104. package/dist/esm/ion-item-option_3.entry.js +3 -3
  105. package/dist/esm/ion-item_8.entry.js +1 -1
  106. package/dist/esm/ion-loading.entry.js +4 -4
  107. package/dist/esm/ion-menu_3.entry.js +5 -5
  108. package/dist/esm/ion-modal.entry.js +6 -6
  109. package/dist/esm/ion-nav_2.entry.js +5 -5
  110. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  111. package/dist/esm/ion-picker-column.entry.js +1 -1
  112. package/dist/esm/ion-picker.entry.js +1 -1
  113. package/dist/esm/ion-popover.entry.js +5 -5
  114. package/dist/esm/ion-progress-bar.entry.js +1 -1
  115. package/dist/esm/ion-radio_2.entry.js +6 -36
  116. package/dist/esm/ion-range.entry.js +3 -3
  117. package/dist/esm/ion-refresher_2.entry.js +3 -3
  118. package/dist/esm/ion-reorder_2.entry.js +3 -3
  119. package/dist/esm/ion-route_4.entry.js +1 -1
  120. package/dist/esm/ion-searchbar.entry.js +1 -1
  121. package/dist/esm/ion-segment_2.entry.js +40 -9
  122. package/dist/esm/ion-select-modal.entry.js +4 -4
  123. package/dist/esm/ion-select_3.entry.js +5 -5
  124. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  125. package/dist/esm/ion-tab_2.entry.js +2 -2
  126. package/dist/esm/ion-textarea.entry.js +4 -4
  127. package/dist/esm/ion-toast.entry.js +4 -4
  128. package/dist/esm/ion-toggle.entry.js +1 -1
  129. package/dist/esm/ionic.js +1 -1
  130. package/dist/esm/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +3 -3
  131. package/dist/esm/loader.js +1 -1
  132. package/dist/esm/{md.transition-571b3859.js → md.transition-33826623.js} +3 -3
  133. package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  134. package/dist/esm/{overlays-5deab4de.js → overlays-e3d0d356.js} +3 -3
  135. package/dist/esm/{status-tap-79eac0ac.js → status-tap-163e8128.js} +3 -4
  136. package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  137. package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  138. package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  139. package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
  140. package/dist/esm-es5/{index-efb8ecdf.js → index-33f7e3ff.js} +1 -1
  141. package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  142. package/dist/esm-es5/{index-2f7fde3d.js → index-7ec5519a.js} +1 -1
  143. package/dist/esm-es5/{index-cb21eccb.js → index-8785a9c6.js} +1 -1
  144. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  145. package/dist/esm-es5/index.js +1 -1
  146. package/dist/esm-es5/input-shims-0e65111b.js +4 -0
  147. package/dist/esm-es5/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +1 -1
  148. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  149. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  150. package/dist/esm-es5/ion-alert.entry.js +1 -1
  151. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  152. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  153. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  154. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  155. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  156. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  157. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  158. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  159. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  160. package/dist/esm-es5/ion-img.entry.js +1 -1
  161. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  162. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  163. package/dist/esm-es5/ion-input.entry.js +1 -1
  164. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  165. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  166. package/dist/esm-es5/ion-loading.entry.js +1 -1
  167. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  168. package/dist/esm-es5/ion-modal.entry.js +1 -1
  169. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  170. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  171. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  172. package/dist/esm-es5/ion-picker.entry.js +1 -1
  173. package/dist/esm-es5/ion-popover.entry.js +1 -1
  174. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  175. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  176. package/dist/esm-es5/ion-range.entry.js +1 -1
  177. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  178. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  179. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  180. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  181. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  182. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  183. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  184. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  185. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  186. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  187. package/dist/esm-es5/ion-toast.entry.js +1 -1
  188. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  189. package/dist/esm-es5/ionic.js +1 -1
  190. package/dist/esm-es5/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +1 -1
  191. package/dist/esm-es5/loader.js +1 -1
  192. package/dist/esm-es5/md.transition-33826623.js +4 -0
  193. package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  194. package/dist/esm-es5/{overlays-5deab4de.js → overlays-e3d0d356.js} +1 -1
  195. package/dist/esm-es5/status-tap-163e8128.js +4 -0
  196. package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  197. package/dist/html.html-data.json +0 -8
  198. package/dist/ionic/index.esm.js +1 -1
  199. package/dist/ionic/ionic.esm.js +1 -1
  200. package/dist/ionic/{p-f1c4dcd4.js → p-02e1ebd9.js} +1 -1
  201. package/dist/ionic/{p-937a7e21.entry.js → p-02e23f26.entry.js} +1 -1
  202. package/dist/ionic/{p-9b428d25.entry.js → p-0397811d.entry.js} +1 -1
  203. package/dist/ionic/p-06fee233.js +4 -0
  204. package/dist/ionic/p-075a94bd.js +4 -0
  205. package/dist/ionic/{p-908d6080.entry.js → p-0a59f4fa.entry.js} +1 -1
  206. package/dist/ionic/{p-2346ab53.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
  207. package/dist/ionic/{p-f55baa37.entry.js → p-0e43be1b.entry.js} +1 -1
  208. package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  209. package/dist/ionic/p-0ee3b5a2.system.js +4 -0
  210. package/dist/ionic/p-135e5731.js +4 -0
  211. package/dist/ionic/{p-b6efeab8.js → p-13dc21b0.js} +1 -1
  212. package/dist/ionic/{p-7a6eaf9e.entry.js → p-14143257.entry.js} +1 -1
  213. package/dist/ionic/{p-248318e0.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
  214. package/dist/ionic/{p-a88dec0d.system.js → p-1a790eef.system.js} +2 -2
  215. package/dist/ionic/{p-74e3f0af.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
  216. package/dist/ionic/{p-a0eb506c.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
  217. package/dist/ionic/p-1f405274.js +4 -0
  218. package/dist/ionic/{p-120fb79a.entry.js → p-203633d1.entry.js} +1 -1
  219. package/dist/ionic/{p-2b838f86.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
  220. package/dist/ionic/{p-bc64bd27.system.entry.js → p-25fa1d30.system.entry.js} +1 -1
  221. package/dist/ionic/{p-f1060cd8.entry.js → p-26194519.entry.js} +1 -1
  222. package/dist/ionic/{p-de930745.entry.js → p-265939f0.entry.js} +1 -1
  223. package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
  224. package/dist/ionic/{p-1a11f49f.entry.js → p-2c8798d0.entry.js} +1 -1
  225. package/dist/ionic/p-2c9eb774.system.js +4 -0
  226. package/dist/ionic/{p-a4a2420e.system.entry.js → p-2e4be620.system.entry.js} +1 -1
  227. package/dist/ionic/{p-2e46590d.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
  228. package/dist/ionic/p-322c5fb4.system.js +1 -1
  229. package/dist/ionic/{p-f63c2d12.entry.js → p-32e99b0a.entry.js} +1 -1
  230. package/dist/ionic/{p-c4238c12.system.js → p-340e3f24.system.js} +1 -1
  231. package/dist/ionic/{p-a090bce8.system.entry.js → p-3572f86a.system.entry.js} +1 -1
  232. package/dist/ionic/p-360ced64.entry.js +4 -0
  233. package/dist/ionic/{p-ab674093.system.entry.js → p-3df889b3.system.entry.js} +1 -1
  234. package/dist/ionic/{p-05b74e45.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
  235. package/dist/ionic/{p-9df2c6fb.entry.js → p-41780810.entry.js} +1 -1
  236. package/dist/ionic/{p-1ab13b2b.js → p-42808996.js} +1 -1
  237. package/dist/ionic/{p-744c8672.system.entry.js → p-4346c79d.system.entry.js} +1 -1
  238. package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
  239. package/dist/ionic/{p-b1eb86fd.entry.js → p-45de8d2a.entry.js} +1 -1
  240. package/dist/ionic/{p-69666e8a.system.entry.js → p-48a8d9b4.system.entry.js} +1 -1
  241. package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
  242. package/dist/ionic/{p-2da9c8a7.entry.js → p-4c252070.entry.js} +1 -1
  243. package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
  244. package/dist/ionic/{p-cb13696c.js → p-51dec25d.js} +1 -1
  245. package/dist/ionic/{p-933727f9.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
  246. package/dist/ionic/p-56da53ad.system.entry.js +4 -0
  247. package/dist/ionic/{p-948e6c6a.entry.js → p-57379000.entry.js} +1 -1
  248. package/dist/ionic/{p-e06057c9.entry.js → p-57ceead7.entry.js} +1 -1
  249. package/dist/ionic/{p-15d18206.entry.js → p-5cde8ef3.entry.js} +1 -1
  250. package/dist/ionic/p-6190d0d6.entry.js +4 -0
  251. package/dist/ionic/{p-5ab1b709.entry.js → p-61d044b4.entry.js} +1 -1
  252. package/dist/ionic/p-68dc53a5.js +4 -0
  253. package/dist/ionic/{p-61db139d.entry.js → p-6b1bd0c1.entry.js} +1 -1
  254. package/dist/ionic/p-70ccc275.system.entry.js +4 -0
  255. package/dist/ionic/{p-98ff6b32.entry.js → p-76446a85.entry.js} +1 -1
  256. package/dist/ionic/{p-98231c01.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
  257. package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
  258. package/dist/ionic/{p-cba1f9bc.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
  259. package/dist/ionic/{p-16188af7.entry.js → p-7b98cebe.entry.js} +1 -1
  260. package/dist/ionic/{p-8694928f.entry.js → p-803f0bc2.entry.js} +1 -1
  261. package/dist/ionic/{p-92763d3d.entry.js → p-82b931e2.entry.js} +1 -1
  262. package/dist/ionic/{p-7a02f476.entry.js → p-83e68c71.entry.js} +1 -1
  263. package/dist/ionic/{p-1e67b266.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  264. package/dist/ionic/{p-d22e2a38.system.js → p-881d9e52.system.js} +1 -1
  265. package/dist/ionic/p-8a836849.entry.js +4 -0
  266. package/dist/ionic/{p-e09d6392.system.entry.js → p-91f17b25.system.entry.js} +2 -2
  267. package/dist/ionic/{p-567de071.system.entry.js → p-92365bc1.system.entry.js} +1 -1
  268. package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
  269. package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
  270. package/dist/ionic/{p-6dfb0f39.system.entry.js → p-9a1f985d.system.entry.js} +1 -1
  271. package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
  272. package/dist/ionic/{p-d6eaffb1.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
  273. package/dist/ionic/{p-5c08627a.system.js → p-9eee4de1.system.js} +1 -1
  274. package/dist/ionic/{p-7de1e42c.system.js → p-a2b6dd57.system.js} +1 -1
  275. package/dist/ionic/{p-9b122e3c.system.entry.js → p-a3c78186.system.entry.js} +1 -1
  276. package/dist/ionic/{p-6933c482.system.entry.js → p-a4575db1.system.entry.js} +1 -1
  277. package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  278. package/dist/ionic/{p-0eb35a7f.system.js → p-aa63b365.system.js} +1 -1
  279. package/dist/ionic/p-af09741c.entry.js +4 -0
  280. package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
  281. package/dist/ionic/p-b7433d7d.js +4 -0
  282. package/dist/ionic/{p-585b455c.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
  283. package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
  284. package/dist/ionic/{p-081a4ce4.entry.js → p-bb2a6761.entry.js} +1 -1
  285. package/dist/ionic/{p-ada36597.system.js → p-c1b51537.system.js} +1 -1
  286. package/dist/ionic/{p-8cfba7e9.system.entry.js → p-c29f8157.system.entry.js} +1 -1
  287. package/dist/ionic/{p-bb0db172.entry.js → p-c32644d7.entry.js} +1 -1
  288. package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
  289. package/dist/ionic/{p-5c9eb9af.entry.js → p-cc700b6b.entry.js} +1 -1
  290. package/dist/ionic/{p-ebf042e0.system.entry.js → p-d06601eb.system.entry.js} +1 -1
  291. package/dist/ionic/{p-f1120724.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
  292. package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
  293. package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
  294. package/dist/ionic/{p-89bf08c7.entry.js → p-da074ff7.entry.js} +1 -1
  295. package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  296. package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  297. package/dist/ionic/{p-cac0e0b3.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  298. package/dist/ionic/p-df862603.entry.js +4 -0
  299. package/dist/ionic/{p-eef505e8.entry.js → p-e1bbacb7.entry.js} +1 -1
  300. package/dist/ionic/{p-302b50bb.system.entry.js → p-e265ae18.system.entry.js} +1 -1
  301. package/dist/ionic/{p-2172893e.system.entry.js → p-e2e19375.system.entry.js} +1 -1
  302. package/dist/ionic/p-e308de5b.system.js +4 -0
  303. package/dist/ionic/{p-b3c60433.system.js → p-e8232807.system.js} +1 -1
  304. package/dist/ionic/{p-15e76dd1.entry.js → p-e8f34871.entry.js} +1 -1
  305. package/dist/ionic/{p-fceec762.entry.js → p-e97a3f44.entry.js} +1 -1
  306. package/dist/ionic/{p-fd1c40cc.system.entry.js → p-f2b8c349.system.entry.js} +1 -1
  307. package/dist/ionic/{p-e4ee80be.system.entry.js → p-f301a694.system.entry.js} +1 -1
  308. package/dist/ionic/{p-e76dae93.entry.js → p-f42743d1.entry.js} +1 -1
  309. package/dist/ionic/{p-28706c6f.js → p-f5035354.js} +1 -1
  310. package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
  311. package/dist/ionic/{p-797eeea8.system.entry.js → p-f78af648.system.entry.js} +1 -1
  312. package/dist/ionic/{p-63b0abde.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  313. package/dist/ionic/{p-7b9a2b23.entry.js → p-fca17935.entry.js} +1 -1
  314. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  315. package/dist/ionic/{p-fbd41a7e.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
  316. package/dist/types/components/radio/radio.d.ts +0 -19
  317. package/dist/types/components/segment-button/segment-button.d.ts +2 -1
  318. package/dist/types/components/toolbar/toolbar.d.ts +0 -4
  319. package/dist/types/components.d.ts +0 -16
  320. package/dist/types/utils/config.d.ts +0 -9
  321. package/dist/types/utils/helpers.d.ts +1 -0
  322. package/dist/types/utils/logging/index.d.ts +1 -13
  323. package/hydrate/index.js +84 -67
  324. package/hydrate/index.mjs +84 -67
  325. package/package.json +2 -2
  326. package/dist/esm-es5/index-6ad967f3.js +0 -4
  327. package/dist/esm-es5/input-shims-2fd7c6ef.js +0 -4
  328. package/dist/esm-es5/md.transition-571b3859.js +0 -4
  329. package/dist/esm-es5/status-tap-79eac0ac.js +0 -4
  330. package/dist/ionic/p-0af823e1.js +0 -4
  331. package/dist/ionic/p-1b1af767.system.entry.js +0 -4
  332. package/dist/ionic/p-4c2d5b80.system.js +0 -4
  333. package/dist/ionic/p-4c98e2cf.system.js +0 -4
  334. package/dist/ionic/p-4ec778aa.entry.js +0 -4
  335. package/dist/ionic/p-577bc414.entry.js +0 -4
  336. package/dist/ionic/p-67222c16.system.js +0 -4
  337. package/dist/ionic/p-72bc8a1c.js +0 -4
  338. package/dist/ionic/p-7513b0c4.js +0 -4
  339. package/dist/ionic/p-92a0f863.entry.js +0 -4
  340. package/dist/ionic/p-9343a445.js +0 -4
  341. package/dist/ionic/p-a3db8ee3.js +0 -4
  342. package/dist/ionic/p-a8f2c254.entry.js +0 -4
  343. package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
  344. package/dist/ionic/p-cdc83025.entry.js +0 -4
  345. package/dist/ionic/p-d1c5b60e.system.js +0 -4
  346. package/dist/ionic/p-e8d56122.js +0 -4
@@ -175,39 +175,32 @@ input {
175
175
  align-items: center;
176
176
  }
177
177
 
178
- .radio-bottom {
179
- padding-top: 4px;
180
- display: flex;
178
+ :host(.radio-justify-space-between) .radio-wrapper {
181
179
  justify-content: space-between;
182
- font-size: 0.75rem;
183
- white-space: normal;
184
180
  }
185
181
 
186
- :host(.radio-label-placement-stacked) .radio-bottom {
187
- font-size: 1rem;
182
+ :host(.radio-justify-start) .radio-wrapper {
183
+ justify-content: start;
188
184
  }
189
185
 
190
- /**
191
- * Error text should only be shown when .ion-invalid is
192
- * present on the checkbox. Otherwise the helper text should
193
- * be shown.
194
- */
195
- .radio-bottom .error-text {
196
- display: none;
197
- color: var(--ion-color-danger, #c5000f);
186
+ :host(.radio-justify-end) .radio-wrapper {
187
+ justify-content: end;
198
188
  }
199
189
 
200
- .radio-bottom .helper-text {
201
- display: block;
202
- color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
190
+ :host(.radio-alignment-start) .radio-wrapper {
191
+ align-items: start;
203
192
  }
204
193
 
205
- :host(.ion-touched.ion-invalid) .radio-bottom .error-text {
206
- display: block;
194
+ :host(.radio-alignment-center) .radio-wrapper {
195
+ align-items: center;
207
196
  }
208
197
 
209
- :host(.ion-touched.ion-invalid) .radio-bottom .helper-text {
210
- display: none;
198
+ :host(.radio-justify-space-between),
199
+ :host(.radio-justify-start),
200
+ :host(.radio-justify-end),
201
+ :host(.radio-alignment-start),
202
+ :host(.radio-alignment-center) {
203
+ display: block;
211
204
  }
212
205
 
213
206
  /**
@@ -236,7 +229,6 @@ input {
236
229
  */
237
230
  :host(.radio-label-placement-end) .radio-wrapper {
238
231
  flex-direction: row-reverse;
239
- justify-content: start;
240
232
  }
241
233
 
242
234
  /**
@@ -278,7 +270,6 @@ input {
278
270
  */
279
271
  :host(.radio-label-placement-stacked) .radio-wrapper {
280
272
  flex-direction: column;
281
- text-align: center;
282
273
  }
283
274
 
284
275
  :host(.radio-label-placement-stacked) .label-text-wrapper {
@@ -324,34 +315,6 @@ input {
324
315
  }
325
316
  }
326
317
 
327
- :host(.radio-justify-space-between) .radio-wrapper {
328
- justify-content: space-between;
329
- }
330
-
331
- :host(.radio-justify-start) .radio-wrapper {
332
- justify-content: start;
333
- }
334
-
335
- :host(.radio-justify-end) .radio-wrapper {
336
- justify-content: end;
337
- }
338
-
339
- :host(.radio-alignment-start) .radio-wrapper {
340
- align-items: start;
341
- }
342
-
343
- :host(.radio-alignment-center) .radio-wrapper {
344
- align-items: center;
345
- }
346
-
347
- :host(.radio-justify-space-between),
348
- :host(.radio-justify-start),
349
- :host(.radio-justify-end),
350
- :host(.radio-alignment-start),
351
- :host(.radio-alignment-center) {
352
- display: block;
353
- }
354
-
355
318
  /**
356
319
  * Convert a font size to a dynamic font size.
357
320
  * Fonts that participate in Dynamic Type should use
@@ -14,15 +14,10 @@ import { getIonMode } from "../../global/ionic-global";
14
14
  * @part container - The container for the radio mark.
15
15
  * @part label - The label text describing the radio.
16
16
  * @part mark - The checkmark or dot used to indicate the checked state.
17
- * @part supporting-text - Supporting text displayed beneath the radio label.
18
- * @part helper-text - Supporting text displayed beneath the radio label when the radio is valid.
19
- * @part error-text - Supporting text displayed beneath the radio label when the radio is invalid and touched.
20
17
  */
21
18
  export class Radio {
22
19
  constructor() {
23
20
  this.inputId = `ion-rb-${radioButtonIds++}`;
24
- this.helperTextId = `${this.inputId}-helper-text`;
25
- this.errorTextId = `${this.inputId}-error-text`;
26
21
  this.radioGroup = null;
27
22
  this.updateState = () => {
28
23
  if (this.radioGroup) {
@@ -62,8 +57,6 @@ export class Radio {
62
57
  this.color = undefined;
63
58
  this.name = this.inputId;
64
59
  this.disabled = false;
65
- this.errorText = undefined;
66
- this.helperText = undefined;
67
60
  this.value = undefined;
68
61
  this.labelPlacement = 'start';
69
62
  this.justify = undefined;
@@ -123,37 +116,11 @@ export class Radio {
123
116
  renderRadioControl() {
124
117
  return (h("div", { class: "radio-icon", part: "container" }, h("div", { class: "radio-inner", part: "mark" }), h("div", { class: "radio-ripple" })));
125
118
  }
126
- getHintTextID() {
127
- const { el, helperText, errorText, helperTextId, errorTextId } = this;
128
- if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
129
- return errorTextId;
130
- }
131
- if (helperText) {
132
- return helperTextId;
133
- }
134
- return undefined;
135
- }
136
- /**
137
- * Responsible for rendering helper text and error text.
138
- * This element should only be rendered if hint text is set.
139
- */
140
- renderHintText() {
141
- const { helperText, errorText, helperTextId, errorTextId } = this;
142
- /**
143
- * undefined and empty string values should
144
- * be treated as not having helper/error text.
145
- */
146
- const hasHintText = !!helperText || !!errorText;
147
- if (!hasHintText) {
148
- return;
149
- }
150
- return (h("div", { class: "radio-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)));
151
- }
152
119
  render() {
153
120
  const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
154
121
  const mode = getIonMode(this);
155
122
  const inItem = hostContext('ion-item', el);
156
- return (h(Host, { key: '4f01024a74c1846438372c40519df1044f5b12b9', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
123
+ return (h(Host, { key: '5a0adab55ad009305de4856fa1b9f93f2279a734', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
157
124
  [mode]: true,
158
125
  'in-item': inItem,
159
126
  'radio-checked': checked,
@@ -164,10 +131,10 @@ export class Radio {
164
131
  // Focus and active styling should not apply when the radio is in an item
165
132
  'ion-activatable': !inItem,
166
133
  'ion-focusable': !inItem,
167
- }), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, tabindex: buttonTabindex }, h("label", { key: '59dc0343534e626692f3b71b32204c1b2b25d40a', class: "radio-wrapper" }, h("div", { key: '26d7d3faf1b02bb138fb2c46f83e824962b6b92e', class: {
134
+ }), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: 'f5673a798e6d87868339f046445f707e1d93b7b6', class: "radio-wrapper" }, h("div", { key: 'e9190c06f75a171cab63e3f74ccf771c3ed87005', class: {
168
135
  'label-text-wrapper': true,
169
136
  'label-text-wrapper-hidden': !hasLabel,
170
- }, part: "label" }, h("slot", { key: '9c3d8bb0c5cd3ce94d1e661d89587cf67c522bc0' }), this.renderHintText()), h("div", { key: '3183f79e2977ee001e69c23f73073555744281d8', class: "native-wrapper" }, this.renderRadioControl()))));
137
+ }, part: "label" }, h("slot", { key: '6cedf4e7b3bd03e4a635727dd7b6094bab64af64' })), h("div", { key: '26dd48d9d2848b7f100b732abdc4a3171adde483', class: "native-wrapper" }, this.renderRadioControl()))));
171
138
  }
172
139
  static get is() { return "ion-radio"; }
173
140
  static get encapsulation() { return "shadow"; }
@@ -244,40 +211,6 @@ export class Radio {
244
211
  "reflect": false,
245
212
  "defaultValue": "false"
246
213
  },
247
- "errorText": {
248
- "type": "string",
249
- "mutable": false,
250
- "complexType": {
251
- "original": "string",
252
- "resolved": "string | undefined",
253
- "references": {}
254
- },
255
- "required": false,
256
- "optional": true,
257
- "docs": {
258
- "tags": [],
259
- "text": "Text that is placed under the radio label and displayed when an error is detected."
260
- },
261
- "attribute": "error-text",
262
- "reflect": false
263
- },
264
- "helperText": {
265
- "type": "string",
266
- "mutable": false,
267
- "complexType": {
268
- "original": "string",
269
- "resolved": "string | undefined",
270
- "references": {}
271
- },
272
- "required": false,
273
- "optional": true,
274
- "docs": {
275
- "tags": [],
276
- "text": "Text that is placed under the radio label and displayed when no error is detected."
277
- },
278
- "attribute": "helper-text",
279
- "reflect": false
280
- },
281
214
  "value": {
282
215
  "type": "any",
283
216
  "mutable": false,
@@ -175,39 +175,32 @@ input {
175
175
  align-items: center;
176
176
  }
177
177
 
178
- .radio-bottom {
179
- padding-top: 4px;
180
- display: flex;
178
+ :host(.radio-justify-space-between) .radio-wrapper {
181
179
  justify-content: space-between;
182
- font-size: 0.75rem;
183
- white-space: normal;
184
180
  }
185
181
 
186
- :host(.radio-label-placement-stacked) .radio-bottom {
187
- font-size: 1rem;
182
+ :host(.radio-justify-start) .radio-wrapper {
183
+ justify-content: start;
188
184
  }
189
185
 
190
- /**
191
- * Error text should only be shown when .ion-invalid is
192
- * present on the checkbox. Otherwise the helper text should
193
- * be shown.
194
- */
195
- .radio-bottom .error-text {
196
- display: none;
197
- color: var(--ion-color-danger, #c5000f);
186
+ :host(.radio-justify-end) .radio-wrapper {
187
+ justify-content: end;
198
188
  }
199
189
 
200
- .radio-bottom .helper-text {
201
- display: block;
202
- color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
190
+ :host(.radio-alignment-start) .radio-wrapper {
191
+ align-items: start;
203
192
  }
204
193
 
205
- :host(.ion-touched.ion-invalid) .radio-bottom .error-text {
206
- display: block;
194
+ :host(.radio-alignment-center) .radio-wrapper {
195
+ align-items: center;
207
196
  }
208
197
 
209
- :host(.ion-touched.ion-invalid) .radio-bottom .helper-text {
210
- display: none;
198
+ :host(.radio-justify-space-between),
199
+ :host(.radio-justify-start),
200
+ :host(.radio-justify-end),
201
+ :host(.radio-alignment-start),
202
+ :host(.radio-alignment-center) {
203
+ display: block;
211
204
  }
212
205
 
213
206
  /**
@@ -236,7 +229,6 @@ input {
236
229
  */
237
230
  :host(.radio-label-placement-end) .radio-wrapper {
238
231
  flex-direction: row-reverse;
239
- justify-content: start;
240
232
  }
241
233
 
242
234
  /**
@@ -278,7 +270,6 @@ input {
278
270
  */
279
271
  :host(.radio-label-placement-stacked) .radio-wrapper {
280
272
  flex-direction: column;
281
- text-align: center;
282
273
  }
283
274
 
284
275
  :host(.radio-label-placement-stacked) .label-text-wrapper {
@@ -324,34 +315,6 @@ input {
324
315
  }
325
316
  }
326
317
 
327
- :host(.radio-justify-space-between) .radio-wrapper {
328
- justify-content: space-between;
329
- }
330
-
331
- :host(.radio-justify-start) .radio-wrapper {
332
- justify-content: start;
333
- }
334
-
335
- :host(.radio-justify-end) .radio-wrapper {
336
- justify-content: end;
337
- }
338
-
339
- :host(.radio-alignment-start) .radio-wrapper {
340
- align-items: start;
341
- }
342
-
343
- :host(.radio-alignment-center) .radio-wrapper {
344
- align-items: center;
345
- }
346
-
347
- :host(.radio-justify-space-between),
348
- :host(.radio-justify-start),
349
- :host(.radio-justify-end),
350
- :host(.radio-alignment-start),
351
- :host(.radio-alignment-center) {
352
- display: block;
353
- }
354
-
355
318
  /**
356
319
  * Convert a font size to a dynamic font size.
357
320
  * Fonts that participate in Dynamic Type should use
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Host, forceUpdate, h } from "@stencil/core";
5
- import { addEventListener, removeEventListener, inheritAttributes } from "../../utils/helpers";
5
+ import { addEventListener, removeEventListener, inheritAttributes, getNextSiblingOfType } from "../../utils/helpers";
6
6
  import { hostContext } from "../../utils/theme";
7
7
  import { getIonMode } from "../../global/ionic-global";
8
8
  let ids = 0;
@@ -39,7 +39,35 @@ export class SegmentButton {
39
39
  valueChanged() {
40
40
  this.updateState();
41
41
  }
42
- connectedCallback() {
42
+ waitForSegmentContent(ionSegment, contentId) {
43
+ return new Promise((resolve, reject) => {
44
+ let timeoutId = undefined;
45
+ let animationFrameId;
46
+ const check = () => {
47
+ if (!ionSegment) {
48
+ reject(new Error(`Segment not found when looking for Segment Content`));
49
+ return;
50
+ }
51
+ const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
52
+ const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
53
+ if (segmentContent && timeoutId) {
54
+ clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
55
+ cancelAnimationFrame(animationFrameId);
56
+ resolve(segmentContent);
57
+ }
58
+ else {
59
+ animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
60
+ }
61
+ };
62
+ check();
63
+ // Set a timeout to reject the promise
64
+ timeoutId = setTimeout(() => {
65
+ cancelAnimationFrame(animationFrameId);
66
+ reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
67
+ }, 1000);
68
+ });
69
+ }
70
+ async connectedCallback() {
43
71
  const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
44
72
  if (segmentEl) {
45
73
  this.updateState();
@@ -49,11 +77,14 @@ export class SegmentButton {
49
77
  // Return if there is no contentId defined
50
78
  if (!this.contentId)
51
79
  return;
52
- // Attempt to find the Segment Content by its contentId
53
- const segmentContent = document.getElementById(this.contentId);
54
- // If no associated Segment Content exists, log an error and return
55
- if (!segmentContent) {
56
- console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
80
+ let segmentContent;
81
+ try {
82
+ // Attempt to find the Segment Content by its contentId
83
+ segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
84
+ }
85
+ catch (error) {
86
+ // If no associated Segment Content exists, log an error and return
87
+ console.error('Segment Button: ', error.message);
57
88
  return;
58
89
  }
59
90
  // Ensure the found element is a valid ION-SEGMENT-CONTENT
@@ -99,7 +130,7 @@ export class SegmentButton {
99
130
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
100
131
  const mode = getIonMode(this);
101
132
  const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
102
- return (h(Host, { key: 'd50a5d5e2f6206e8523598f258d8217d2903f69b', class: {
133
+ return (h(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
103
134
  [mode]: true,
104
135
  'in-toolbar': hostContext('ion-toolbar', this.el),
105
136
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -115,7 +146,7 @@ export class SegmentButton {
115
146
  'ion-activatable': true,
116
147
  'ion-activatable-instant': true,
117
148
  'ion-focusable': true,
118
- } }, h("button", Object.assign({ key: 'b4f6f145286ba8ab79669e11035b906daa85ae7e', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '67965996c9ffe70553875e00d3da0ae5b2b1d814', class: "button-inner" }, h("slot", { key: '5087988fe45a8fdf388ec44c395d0b745b207806' })), mode === 'md' && h("ion-ripple-effect", { key: 'b24858de0750bbc769b3183fac0077dfe817ba27' })), h("div", { key: '97b4359432acd1c9da0816360cd1df9472e183f7', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '0561738ea15b0986f4ed3d8276d5e6f2d13f7e51', part: "indicator-background", class: "segment-button-indicator-background" }))));
149
+ } }, h("button", Object.assign({ key: '00dbcdbd81cd74abdd39803f6840a6e477cc7b0c', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, h("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && h("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), h("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
119
150
  }
120
151
  static get is() { return "ion-segment-button"; }
121
152
  static get encapsulation() { return "shadow"; }
@@ -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: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', 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: '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" }))));
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"; }
@@ -364,3 +364,13 @@ export const shallowEqualStringMap = (map1, map2) => {
364
364
  }
365
365
  return true;
366
366
  };
367
+ export const getNextSiblingOfType = (element) => {
368
+ let sibling = element.nextSibling;
369
+ while (sibling) {
370
+ if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
371
+ return sibling;
372
+ }
373
+ sibling = sibling.nextSibling;
374
+ }
375
+ return null;
376
+ };
@@ -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
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-02-18T19:20:37",
2
+ "timestamp": "2025-02-27T12:18:42",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
@@ -1921,6 +1921,10 @@
1921
1921
  "Promise": {
1922
1922
  "location": "global",
1923
1923
  "id": "global::Promise"
1924
+ },
1925
+ "HTMLButtonElement": {
1926
+ "location": "global",
1927
+ "id": "global::HTMLButtonElement"
1924
1928
  }
1925
1929
  },
1926
1930
  "return": "Promise<void>"
@@ -22104,18 +22108,6 @@
22104
22108
  {
22105
22109
  "name": "part",
22106
22110
  "text": "mark - The checkmark or dot used to indicate the checked state."
22107
- },
22108
- {
22109
- "name": "part",
22110
- "text": "supporting-text - Supporting text displayed beneath the radio label."
22111
- },
22112
- {
22113
- "name": "part",
22114
- "text": "helper-text - Supporting text displayed beneath the radio label when the radio is valid."
22115
- },
22116
- {
22117
- "name": "part",
22118
- "text": "error-text - Supporting text displayed beneath the radio label when the radio is invalid and touched."
22119
22111
  }
22120
22112
  ],
22121
22113
  "usage": {},
@@ -22237,54 +22229,6 @@
22237
22229
  "optional": false,
22238
22230
  "required": false
22239
22231
  },
22240
- {
22241
- "name": "errorText",
22242
- "type": "string | undefined",
22243
- "complexType": {
22244
- "original": "string",
22245
- "resolved": "string | undefined",
22246
- "references": {}
22247
- },
22248
- "mutable": false,
22249
- "attr": "error-text",
22250
- "reflectToAttr": false,
22251
- "docs": "Text that is placed under the radio label and displayed when an error is detected.",
22252
- "docsTags": [],
22253
- "values": [
22254
- {
22255
- "type": "string"
22256
- },
22257
- {
22258
- "type": "undefined"
22259
- }
22260
- ],
22261
- "optional": true,
22262
- "required": false
22263
- },
22264
- {
22265
- "name": "helperText",
22266
- "type": "string | undefined",
22267
- "complexType": {
22268
- "original": "string",
22269
- "resolved": "string | undefined",
22270
- "references": {}
22271
- },
22272
- "mutable": false,
22273
- "attr": "helper-text",
22274
- "reflectToAttr": false,
22275
- "docs": "Text that is placed under the radio label and displayed when no error is detected.",
22276
- "docsTags": [],
22277
- "values": [
22278
- {
22279
- "type": "string"
22280
- },
22281
- {
22282
- "type": "undefined"
22283
- }
22284
- ],
22285
- "optional": true,
22286
- "required": false
22287
- },
22288
22232
  {
22289
22233
  "name": "justify",
22290
22234
  "type": "\"end\" | \"space-between\" | \"start\" | undefined",
@@ -22511,14 +22455,6 @@
22511
22455
  "name": "container",
22512
22456
  "docs": "The container for the radio mark."
22513
22457
  },
22514
- {
22515
- "name": "error-text",
22516
- "docs": "Supporting text displayed beneath the radio label when the radio is invalid and touched."
22517
- },
22518
- {
22519
- "name": "helper-text",
22520
- "docs": "Supporting text displayed beneath the radio label when the radio is valid."
22521
- },
22522
22458
  {
22523
22459
  "name": "label",
22524
22460
  "docs": "The label text describing the radio."
@@ -22526,10 +22462,6 @@
22526
22462
  {
22527
22463
  "name": "mark",
22528
22464
  "docs": "The checkmark or dot used to indicate the checked state."
22529
- },
22530
- {
22531
- "name": "supporting-text",
22532
- "docs": "Supporting text displayed beneath the radio label."
22533
22465
  }
22534
22466
  ],
22535
22467
  "dependents": [
@@ -33017,18 +32949,6 @@
33017
32949
  {
33018
32950
  "name": "slot",
33019
32951
  "text": "end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL."
33020
- },
33021
- {
33022
- "name": "part",
33023
- "text": "background - The background of the toolbar, covering the entire area behind the toolbar content."
33024
- },
33025
- {
33026
- "name": "part",
33027
- "text": "container - The container that wraps all toolbar content, including the default slot and named slot content."
33028
- },
33029
- {
33030
- "name": "part",
33031
- "text": "content - The container for the default slot, wrapping content provided without a named slot."
33032
32952
  }
33033
32953
  ],
33034
32954
  "usage": {},
@@ -33286,20 +33206,7 @@
33286
33206
  "docs": "Content is placed to the left of the toolbar text in LTR, and to the right in RTL."
33287
33207
  }
33288
33208
  ],
33289
- "parts": [
33290
- {
33291
- "name": "background",
33292
- "docs": "The background of the toolbar, covering the entire area behind the toolbar content."
33293
- },
33294
- {
33295
- "name": "container",
33296
- "docs": "The container that wraps all toolbar content, including the default slot and named slot content."
33297
- },
33298
- {
33299
- "name": "content",
33300
- "docs": "The container for the default slot, wrapping content provided without a named slot."
33301
- }
33302
- ],
33209
+ "parts": [],
33303
33210
  "dependents": [
33304
33211
  "ion-select-modal"
33305
33212
  ],
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { p as printIonWarning } from './index-6ad967f3.js';
4
+ import { p as printIonWarning } from './index-9b0d46f4.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-da915de8.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) => {