@ionic/core 8.4.4-dev.11741046329.16b83b14 → 8.4.4-dev.11741048645.1fe58d92

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 (553) hide show
  1. package/components/checkbox.js +6 -40
  2. package/components/helpers.js +11 -1
  3. package/components/index6.js +3 -11
  4. package/components/index7.js +2 -2
  5. package/components/index9.js +1 -1
  6. package/components/ion-segment-button.js +40 -9
  7. package/components/ion-select.js +41 -16
  8. package/components/ion-toggle.js +4 -6
  9. package/components/modal.js +35 -259
  10. package/components/toolbar.js +2 -2
  11. package/css/core.css +1 -1
  12. package/css/core.css.map +1 -1
  13. package/css/global.bundle.css +1 -1
  14. package/css/global.bundle.css.map +1 -1
  15. package/css/ionic.bundle.css +1 -1
  16. package/css/ionic.bundle.css.map +1 -1
  17. package/css/palettes/dark.always.css +1 -1
  18. package/css/palettes/dark.always.css.map +1 -1
  19. package/css/palettes/dark.class.css +1 -1
  20. package/css/palettes/dark.class.css.map +1 -1
  21. package/css/palettes/dark.system.css +1 -1
  22. package/css/palettes/dark.system.css.map +1 -1
  23. package/css/palettes/high-contrast-dark.always.css +1 -1
  24. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  25. package/css/palettes/high-contrast-dark.class.css +1 -1
  26. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  27. package/css/palettes/high-contrast-dark.system.css +1 -1
  28. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  29. package/css/palettes/high-contrast.always.css +1 -1
  30. package/css/palettes/high-contrast.always.css.map +1 -1
  31. package/css/palettes/high-contrast.class.css +1 -1
  32. package/css/palettes/high-contrast.class.css.map +1 -1
  33. package/css/palettes/high-contrast.system.css +1 -1
  34. package/css/palettes/high-contrast.system.css.map +1 -1
  35. package/css/structure.css +1 -1
  36. package/css/structure.css.map +1 -1
  37. package/css/typography.css +1 -1
  38. package/css/typography.css.map +1 -1
  39. package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
  40. package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
  41. package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
  42. package/dist/cjs/{index-073c7cdc.js → index-0e360e93.js} +2 -2
  43. package/dist/cjs/{index-3652c918.js → index-1ae3f40a.js} +2 -2
  44. package/dist/cjs/{index-e975c92b.js → index-4e14a46e.js} +4 -4
  45. package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
  46. package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
  47. package/dist/cjs/{index-0d762bba.js → index-c441c903.js} +2 -2
  48. package/dist/cjs/index.cjs.js +8 -8
  49. package/dist/cjs/{input-shims-cd05268a.js → input-shims-e748a364.js} +3 -5
  50. package/dist/cjs/{input.utils-ffb2f81b.js → input.utils-74e4ec28.js} +2 -2
  51. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  52. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  53. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  54. package/dist/cjs/ion-app_8.cjs.entry.js +11 -11
  55. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  56. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  57. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  58. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  59. package/dist/cjs/ion-checkbox.cjs.entry.js +7 -38
  60. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  61. package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
  62. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  63. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  64. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  65. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  66. package/dist/cjs/ion-input.cjs.entry.js +5 -5
  67. package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -3
  68. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  70. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
  71. package/dist/cjs/ion-modal.cjs.entry.js +41 -264
  72. package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
  73. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  74. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  75. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  76. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  77. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  78. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
  79. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  80. package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
  81. package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
  82. package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
  83. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-segment_2.cjs.entry.js +40 -9
  85. package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
  86. package/dist/cjs/ion-select_3.cjs.entry.js +46 -20
  87. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  88. package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
  89. package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
  90. package/dist/cjs/ion-toast.cjs.entry.js +4 -4
  91. package/dist/cjs/ion-toggle.cjs.entry.js +6 -7
  92. package/dist/cjs/ionic.cjs.js +1 -1
  93. package/dist/cjs/{ios.transition-0e664e88.js → ios.transition-afdec89f.js} +3 -3
  94. package/dist/cjs/loader.cjs.js +1 -1
  95. package/dist/cjs/{md.transition-2e8aef2c.js → md.transition-9f0d3db5.js} +3 -3
  96. package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
  97. package/dist/cjs/{overlays-65fdaff6.js → overlays-76b29cd4.js} +3 -3
  98. package/dist/cjs/{status-tap-d74f1429.js → status-tap-fb807fad.js} +3 -4
  99. package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
  100. package/dist/collection/components/checkbox/checkbox.ios.css +15 -52
  101. package/dist/collection/components/checkbox/checkbox.js +4 -90
  102. package/dist/collection/components/checkbox/checkbox.md.css +15 -52
  103. package/dist/collection/components/modal/animations/ios.enter.js +4 -50
  104. package/dist/collection/components/modal/animations/ios.leave.js +2 -24
  105. package/dist/collection/components/modal/animations/md.enter.js +5 -52
  106. package/dist/collection/components/modal/animations/md.leave.js +3 -26
  107. package/dist/collection/components/modal/animations/sheet.js +2 -11
  108. package/dist/collection/components/modal/gestures/sheet.js +10 -79
  109. package/dist/collection/components/modal/modal.ios.css +0 -16
  110. package/dist/collection/components/modal/modal.js +7 -32
  111. package/dist/collection/components/modal/modal.md.css +0 -6
  112. package/dist/collection/components/segment-button/segment-button.js +40 -9
  113. package/dist/collection/components/select/select.js +40 -32
  114. package/dist/collection/components/toggle/toggle.js +4 -23
  115. package/dist/collection/components/toolbar/toolbar.js +2 -6
  116. package/dist/collection/utils/helpers.js +10 -0
  117. package/dist/collection/utils/logging/index.js +3 -10
  118. package/dist/docs.json +2 -187
  119. package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  120. package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  121. package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
  122. package/dist/esm/{index-e2cf2ceb.js → index-10f4ed65.js} +2 -2
  123. package/dist/esm/{index-efb8ecdf.js → index-33f7e3ff.js} +2 -2
  124. package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  125. package/dist/esm/{index-2f7fde3d.js → index-7ec5519a.js} +4 -4
  126. package/dist/esm/{index-cb21eccb.js → index-8785a9c6.js} +2 -2
  127. package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
  128. package/dist/esm/index.js +8 -8
  129. package/dist/esm/{input-shims-2fd7c6ef.js → input-shims-0e65111b.js} +3 -5
  130. package/dist/esm/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +2 -2
  131. package/dist/esm/ion-accordion_2.entry.js +3 -3
  132. package/dist/esm/ion-action-sheet.entry.js +4 -4
  133. package/dist/esm/ion-alert.entry.js +4 -4
  134. package/dist/esm/ion-app_8.entry.js +11 -11
  135. package/dist/esm/ion-back-button.entry.js +2 -2
  136. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  137. package/dist/esm/ion-button_2.entry.js +2 -2
  138. package/dist/esm/ion-card_5.entry.js +1 -1
  139. package/dist/esm/ion-checkbox.entry.js +7 -38
  140. package/dist/esm/ion-datetime-button.entry.js +3 -3
  141. package/dist/esm/ion-datetime_3.entry.js +6 -6
  142. package/dist/esm/ion-fab_3.entry.js +2 -2
  143. package/dist/esm/ion-img.entry.js +1 -1
  144. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  145. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  146. package/dist/esm/ion-input.entry.js +5 -5
  147. package/dist/esm/ion-item-option_3.entry.js +3 -3
  148. package/dist/esm/ion-item_8.entry.js +2 -2
  149. package/dist/esm/ion-loading.entry.js +4 -4
  150. package/dist/esm/ion-menu_3.entry.js +6 -6
  151. package/dist/esm/ion-modal.entry.js +41 -264
  152. package/dist/esm/ion-nav_2.entry.js +5 -5
  153. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  154. package/dist/esm/ion-picker-column.entry.js +1 -1
  155. package/dist/esm/ion-picker.entry.js +1 -1
  156. package/dist/esm/ion-popover.entry.js +5 -5
  157. package/dist/esm/ion-progress-bar.entry.js +1 -1
  158. package/dist/esm/ion-radio_2.entry.js +1 -1
  159. package/dist/esm/ion-range.entry.js +3 -3
  160. package/dist/esm/ion-refresher_2.entry.js +4 -4
  161. package/dist/esm/ion-reorder_2.entry.js +4 -4
  162. package/dist/esm/ion-route_4.entry.js +1 -1
  163. package/dist/esm/ion-searchbar.entry.js +2 -2
  164. package/dist/esm/ion-segment_2.entry.js +40 -9
  165. package/dist/esm/ion-select-modal.entry.js +4 -4
  166. package/dist/esm/ion-select_3.entry.js +46 -20
  167. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  168. package/dist/esm/ion-tab_2.entry.js +2 -2
  169. package/dist/esm/ion-textarea.entry.js +4 -4
  170. package/dist/esm/ion-toast.entry.js +4 -4
  171. package/dist/esm/ion-toggle.entry.js +6 -7
  172. package/dist/esm/ionic.js +1 -1
  173. package/dist/esm/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +3 -3
  174. package/dist/esm/loader.js +1 -1
  175. package/dist/esm/{md.transition-571b3859.js → md.transition-33826623.js} +3 -3
  176. package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  177. package/dist/esm/{overlays-5deab4de.js → overlays-e3d0d356.js} +3 -3
  178. package/dist/esm/{status-tap-79eac0ac.js → status-tap-163e8128.js} +3 -4
  179. package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  180. package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  181. package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  182. package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
  183. package/dist/esm-es5/{index-e2cf2ceb.js → index-10f4ed65.js} +1 -1
  184. package/dist/esm-es5/{index-efb8ecdf.js → index-33f7e3ff.js} +1 -1
  185. package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  186. package/dist/esm-es5/{index-2f7fde3d.js → index-7ec5519a.js} +1 -1
  187. package/dist/esm-es5/{index-cb21eccb.js → index-8785a9c6.js} +1 -1
  188. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  189. package/dist/esm-es5/index.js +1 -1
  190. package/dist/esm-es5/input-shims-0e65111b.js +4 -0
  191. package/dist/esm-es5/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +1 -1
  192. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  193. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  194. package/dist/esm-es5/ion-alert.entry.js +1 -1
  195. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  196. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  197. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  198. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  199. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  200. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  201. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  202. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  203. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  204. package/dist/esm-es5/ion-img.entry.js +1 -1
  205. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  206. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  207. package/dist/esm-es5/ion-input.entry.js +1 -1
  208. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  209. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  210. package/dist/esm-es5/ion-loading.entry.js +1 -1
  211. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  212. package/dist/esm-es5/ion-modal.entry.js +1 -1
  213. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  214. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  215. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  216. package/dist/esm-es5/ion-picker.entry.js +1 -1
  217. package/dist/esm-es5/ion-popover.entry.js +1 -1
  218. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  219. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  220. package/dist/esm-es5/ion-range.entry.js +1 -1
  221. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  222. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  223. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  224. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  225. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  226. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  227. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  228. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  229. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  230. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  231. package/dist/esm-es5/ion-toast.entry.js +1 -1
  232. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  233. package/dist/esm-es5/ionic.js +1 -1
  234. package/dist/esm-es5/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +1 -1
  235. package/dist/esm-es5/loader.js +1 -1
  236. package/dist/esm-es5/md.transition-33826623.js +4 -0
  237. package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  238. package/dist/esm-es5/{overlays-5deab4de.js → overlays-e3d0d356.js} +1 -1
  239. package/dist/esm-es5/status-tap-163e8128.js +4 -0
  240. package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  241. package/dist/html.html-data.json +0 -24
  242. package/dist/ionic/index.esm.js +1 -1
  243. package/dist/ionic/ionic.esm.js +1 -1
  244. package/dist/ionic/{p-f1c4dcd4.js → p-02e1ebd9.js} +1 -1
  245. package/dist/ionic/{p-937a7e21.entry.js → p-02e23f26.entry.js} +1 -1
  246. package/dist/ionic/{p-15e76dd1.entry.js → p-03ee25cb.entry.js} +1 -1
  247. package/dist/ionic/p-06fee233.js +4 -0
  248. package/dist/ionic/p-075a94bd.js +4 -0
  249. package/dist/ionic/{p-8cfba7e9.system.entry.js → p-085a5dd6.system.entry.js} +1 -1
  250. package/dist/ionic/p-0a59f4fa.entry.js +4 -0
  251. package/dist/ionic/p-0e43be1b.entry.js +4 -0
  252. package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  253. package/dist/ionic/p-0ee3b5a2.system.js +4 -0
  254. package/dist/ionic/{p-2b838f86.system.entry.js → p-0f191cbe.system.entry.js} +1 -1
  255. package/dist/ionic/p-135e5731.js +4 -0
  256. package/dist/ionic/{p-b6efeab8.js → p-13dc21b0.js} +1 -1
  257. package/dist/ionic/{p-9b428d25.entry.js → p-1693cbc4.entry.js} +1 -1
  258. package/dist/ionic/{p-567de071.system.entry.js → p-17ba2b14.system.entry.js} +1 -1
  259. package/dist/ionic/{p-a88dec0d.system.js → p-1a790eef.system.js} +2 -2
  260. package/dist/ionic/{p-a0eb506c.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
  261. package/dist/ionic/p-1f405274.js +4 -0
  262. package/dist/ionic/{p-120fb79a.entry.js → p-203633d1.entry.js} +1 -1
  263. package/dist/ionic/{p-9f364443.system.entry.js → p-23b73db1.system.entry.js} +1 -1
  264. package/dist/ionic/p-25fa1d30.system.entry.js +4 -0
  265. package/dist/ionic/{p-f1060cd8.entry.js → p-26194519.entry.js} +1 -1
  266. package/dist/ionic/{p-de930745.entry.js → p-265939f0.entry.js} +1 -1
  267. package/dist/ionic/{p-16188af7.entry.js → p-2aebc4a0.entry.js} +1 -1
  268. package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
  269. package/dist/ionic/p-2c9eb774.system.js +4 -0
  270. package/dist/ionic/{p-1e67b266.system.entry.js → p-2cf2db18.system.entry.js} +1 -1
  271. package/dist/ionic/{p-2e46590d.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
  272. package/dist/ionic/p-322c5fb4.system.js +1 -1
  273. package/dist/ionic/{p-1e955a45.system.js → p-32be7b07.system.js} +1 -1
  274. package/dist/ionic/{p-f63c2d12.entry.js → p-32e99b0a.entry.js} +1 -1
  275. package/dist/ionic/{p-61db139d.entry.js → p-337a61d5.entry.js} +1 -1
  276. package/dist/ionic/{p-c4238c12.system.js → p-340e3f24.system.js} +1 -1
  277. package/dist/ionic/{p-a090bce8.system.entry.js → p-3572f86a.system.entry.js} +1 -1
  278. package/dist/ionic/{p-ab674093.system.entry.js → p-3df889b3.system.entry.js} +1 -1
  279. package/dist/ionic/{p-05b74e45.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
  280. package/dist/ionic/{p-1ab13b2b.js → p-42808996.js} +1 -1
  281. package/dist/ionic/{p-744c8672.system.entry.js → p-4346c79d.system.entry.js} +1 -1
  282. package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
  283. package/dist/ionic/{p-63b0abde.system.entry.js → p-45accc62.system.entry.js} +1 -1
  284. package/dist/ionic/{p-b1eb86fd.entry.js → p-45de8d2a.entry.js} +1 -1
  285. package/dist/ionic/p-48a8d9b4.system.entry.js +4 -0
  286. package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
  287. package/dist/ionic/{p-2da9c8a7.entry.js → p-4c252070.entry.js} +1 -1
  288. package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
  289. package/dist/ionic/{p-cb13696c.js → p-51dec25d.js} +1 -1
  290. package/dist/ionic/{p-bdf2cb2e.system.entry.js → p-551e8ff7.system.entry.js} +1 -1
  291. package/dist/ionic/{p-933727f9.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
  292. package/dist/ionic/p-56da53ad.system.entry.js +4 -0
  293. package/dist/ionic/{p-948e6c6a.entry.js → p-57379000.entry.js} +1 -1
  294. package/dist/ionic/{p-e06057c9.entry.js → p-57ceead7.entry.js} +1 -1
  295. package/dist/ionic/{p-6d6cedc5.entry.js → p-6190d0d6.entry.js} +1 -1
  296. package/dist/ionic/p-68dc53a5.js +4 -0
  297. package/dist/ionic/{p-74e3f0af.system.entry.js → p-697b4a5e.system.entry.js} +2 -2
  298. package/dist/ionic/{p-248318e0.system.entry.js → p-6a2d9764.system.entry.js} +1 -1
  299. package/dist/ionic/{p-15d18206.entry.js → p-702caed7.entry.js} +1 -1
  300. package/dist/ionic/{p-7ddc46c3.system.entry.js → p-70ccc275.system.entry.js} +1 -1
  301. package/dist/ionic/{p-98ff6b32.entry.js → p-76446a85.entry.js} +1 -1
  302. package/dist/ionic/{p-2346ab53.system.entry.js → p-77036bbd.system.entry.js} +1 -1
  303. package/dist/ionic/{p-98231c01.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
  304. package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
  305. package/dist/ionic/{p-cba1f9bc.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
  306. package/dist/ionic/{p-7b9a2b23.entry.js → p-7bac3d83.entry.js} +1 -1
  307. package/dist/ionic/{p-9df2c6fb.entry.js → p-7c1f8b94.entry.js} +1 -1
  308. package/dist/ionic/{p-8694928f.entry.js → p-803f0bc2.entry.js} +1 -1
  309. package/dist/ionic/p-83810019.entry.js +4 -0
  310. package/dist/ionic/{p-7a6eaf9e.entry.js → p-85fee58d.entry.js} +1 -1
  311. package/dist/ionic/{p-d22e2a38.system.js → p-881d9e52.system.js} +1 -1
  312. package/dist/ionic/{p-9b122e3c.system.entry.js → p-8922be26.system.entry.js} +1 -1
  313. package/dist/ionic/p-8a836849.entry.js +4 -0
  314. package/dist/ionic/p-8d5472fb.entry.js +4 -0
  315. package/dist/ionic/{p-e09d6392.system.entry.js → p-91f17b25.system.entry.js} +2 -2
  316. package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
  317. package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
  318. package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
  319. package/dist/ionic/{p-d6eaffb1.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
  320. package/dist/ionic/{p-5c08627a.system.js → p-9eee4de1.system.js} +1 -1
  321. package/dist/ionic/{p-cac0e0b3.system.entry.js → p-a0f3846e.system.entry.js} +1 -1
  322. package/dist/ionic/{p-7de1e42c.system.js → p-a2b6dd57.system.js} +1 -1
  323. package/dist/ionic/{p-6933c482.system.entry.js → p-a4575db1.system.entry.js} +1 -1
  324. package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  325. package/dist/ionic/{p-0eb35a7f.system.js → p-aa63b365.system.js} +1 -1
  326. package/dist/ionic/p-af09741c.entry.js +4 -0
  327. package/dist/ionic/{p-a8f2c254.entry.js → p-b0d8bbee.entry.js} +1 -1
  328. package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
  329. package/dist/ionic/p-b7433d7d.js +4 -0
  330. package/dist/ionic/{p-585b455c.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
  331. package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
  332. package/dist/ionic/{p-ada36597.system.js → p-c1b51537.system.js} +1 -1
  333. package/dist/ionic/{p-bb0db172.entry.js → p-c32644d7.entry.js} +1 -1
  334. package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
  335. package/dist/ionic/{p-5c9eb9af.entry.js → p-cc700b6b.entry.js} +1 -1
  336. package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
  337. package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
  338. package/dist/ionic/{p-081a4ce4.entry.js → p-d9b3fa7e.entry.js} +1 -1
  339. package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  340. package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  341. package/dist/ionic/p-df862603.entry.js +4 -0
  342. package/dist/ionic/{p-eef505e8.entry.js → p-e1bbacb7.entry.js} +1 -1
  343. package/dist/ionic/{p-302b50bb.system.entry.js → p-e265ae18.system.entry.js} +1 -1
  344. package/dist/ionic/{p-2172893e.system.entry.js → p-e2e19375.system.entry.js} +1 -1
  345. package/dist/ionic/p-e308de5b.system.js +4 -0
  346. package/dist/ionic/{p-a4a2420e.system.entry.js → p-e456ee59.system.entry.js} +1 -1
  347. package/dist/ionic/{p-da2b833b.js → p-e6200d13.js} +1 -1
  348. package/dist/ionic/{p-b3c60433.system.js → p-e8232807.system.js} +1 -1
  349. package/dist/ionic/{p-f1120724.system.entry.js → p-e8aed00f.system.entry.js} +1 -1
  350. package/dist/ionic/{p-fceec762.entry.js → p-e97a3f44.entry.js} +1 -1
  351. package/dist/ionic/{p-89bf08c7.entry.js → p-ed882fb1.entry.js} +1 -1
  352. package/dist/ionic/{p-6dfb0f39.system.entry.js → p-f2c19415.system.entry.js} +1 -1
  353. package/dist/ionic/{p-e4ee80be.system.entry.js → p-f301a694.system.entry.js} +1 -1
  354. package/dist/ionic/{p-7a02f476.entry.js → p-f3269679.entry.js} +1 -1
  355. package/dist/ionic/{p-92763d3d.entry.js → p-f4066aa9.entry.js} +1 -1
  356. package/dist/ionic/{p-e76dae93.entry.js → p-f42743d1.entry.js} +1 -1
  357. package/dist/ionic/{p-28706c6f.js → p-f5035354.js} +1 -1
  358. package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
  359. package/dist/ionic/{p-797eeea8.system.entry.js → p-f78af648.system.entry.js} +1 -1
  360. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  361. package/dist/ionic/{p-fbd41a7e.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
  362. package/dist/ionic/svg/accessibility-outline.svg +1 -1
  363. package/dist/ionic/svg/accessibility-sharp.svg +1 -1
  364. package/dist/ionic/svg/accessibility.svg +1 -1
  365. package/dist/ionic/svg/arrow-down-left-box-outline.svg +1 -0
  366. package/dist/ionic/svg/arrow-down-left-box-sharp.svg +1 -0
  367. package/dist/ionic/svg/arrow-down-left-box.svg +1 -0
  368. package/dist/ionic/svg/arrow-down-right-box-outline.svg +1 -0
  369. package/dist/ionic/svg/arrow-down-right-box-sharp.svg +1 -0
  370. package/dist/ionic/svg/arrow-down-right-box.svg +1 -0
  371. package/dist/ionic/svg/arrow-up-left-box-outline.svg +1 -0
  372. package/dist/ionic/svg/arrow-up-left-box-sharp.svg +1 -0
  373. package/dist/ionic/svg/arrow-up-left-box.svg +1 -0
  374. package/dist/ionic/svg/arrow-up-right-box-outline.svg +1 -0
  375. package/dist/ionic/svg/arrow-up-right-box-sharp.svg +1 -0
  376. package/dist/ionic/svg/arrow-up-right-box.svg +1 -0
  377. package/dist/ionic/svg/bag-add-outline.svg +1 -1
  378. package/dist/ionic/svg/bag-add-sharp.svg +1 -1
  379. package/dist/ionic/svg/bag-add.svg +1 -1
  380. package/dist/ionic/svg/bag-check-outline.svg +1 -1
  381. package/dist/ionic/svg/bag-check-sharp.svg +1 -1
  382. package/dist/ionic/svg/bag-check.svg +1 -1
  383. package/dist/ionic/svg/bag-handle-outline.svg +1 -1
  384. package/dist/ionic/svg/bag-handle-sharp.svg +1 -1
  385. package/dist/ionic/svg/bag-handle.svg +1 -1
  386. package/dist/ionic/svg/bag-outline.svg +1 -1
  387. package/dist/ionic/svg/bag-remove-outline.svg +1 -1
  388. package/dist/ionic/svg/bag-remove-sharp.svg +1 -1
  389. package/dist/ionic/svg/bag-remove.svg +1 -1
  390. package/dist/ionic/svg/bag-sharp.svg +1 -1
  391. package/dist/ionic/svg/bag.svg +1 -1
  392. package/dist/ionic/svg/balloon-outline.svg +1 -1
  393. package/dist/ionic/svg/balloon-sharp.svg +1 -1
  394. package/dist/ionic/svg/balloon.svg +1 -1
  395. package/dist/ionic/svg/ban-outline.svg +1 -1
  396. package/dist/ionic/svg/ban-sharp.svg +1 -1
  397. package/dist/ionic/svg/ban.svg +1 -1
  398. package/dist/ionic/svg/binoculars-outline.svg +1 -0
  399. package/dist/ionic/svg/binoculars-sharp.svg +1 -0
  400. package/dist/ionic/svg/binoculars.svg +1 -0
  401. package/dist/ionic/svg/body-outline.svg +1 -1
  402. package/dist/ionic/svg/bowling-ball-outline.svg +1 -1
  403. package/dist/ionic/svg/bowling-ball-sharp.svg +1 -1
  404. package/dist/ionic/svg/bowling-ball.svg +1 -1
  405. package/dist/ionic/svg/calendar-clear-outline.svg +1 -1
  406. package/dist/ionic/svg/calendar-clear-sharp.svg +1 -1
  407. package/dist/ionic/svg/calendar-clear.svg +1 -1
  408. package/dist/ionic/svg/calendar-number-outline.svg +1 -1
  409. package/dist/ionic/svg/calendar-number-sharp.svg +1 -1
  410. package/dist/ionic/svg/calendar-number.svg +1 -1
  411. package/dist/ionic/svg/calendar-outline.svg +1 -1
  412. package/dist/ionic/svg/calendar-sharp.svg +1 -1
  413. package/dist/ionic/svg/calendar.svg +1 -1
  414. package/dist/ionic/svg/chevron-collapse-outline.svg +1 -1
  415. package/dist/ionic/svg/chevron-collapse-sharp.svg +1 -1
  416. package/dist/ionic/svg/chevron-collapse.svg +1 -1
  417. package/dist/ionic/svg/chevron-expand-outline.svg +1 -1
  418. package/dist/ionic/svg/chevron-expand-sharp.svg +1 -1
  419. package/dist/ionic/svg/chevron-expand.svg +1 -1
  420. package/dist/ionic/svg/color-wand-outline.svg +1 -1
  421. package/dist/ionic/svg/color-wand.svg +1 -1
  422. package/dist/ionic/svg/diamond-outline.svg +1 -1
  423. package/dist/ionic/svg/diamond-sharp.svg +1 -1
  424. package/dist/ionic/svg/diamond.svg +1 -1
  425. package/dist/ionic/svg/dice-outline.svg +1 -1
  426. package/dist/ionic/svg/dice-sharp.svg +1 -1
  427. package/dist/ionic/svg/dice.svg +1 -1
  428. package/dist/ionic/svg/document-lock-outline.svg +1 -1
  429. package/dist/ionic/svg/document-lock-sharp.svg +1 -1
  430. package/dist/ionic/svg/document-lock.svg +1 -1
  431. package/dist/ionic/svg/extension-puzzle-outline.svg +1 -1
  432. package/dist/ionic/svg/extension-puzzle-sharp.svg +1 -1
  433. package/dist/ionic/svg/extension-puzzle.svg +1 -1
  434. package/dist/ionic/svg/filter-circle-outline.svg +1 -1
  435. package/dist/ionic/svg/filter-circle-sharp.svg +1 -1
  436. package/dist/ionic/svg/filter-circle.svg +1 -1
  437. package/dist/ionic/svg/fish-outline.svg +1 -1
  438. package/dist/ionic/svg/fish-sharp.svg +1 -1
  439. package/dist/ionic/svg/fish.svg +1 -1
  440. package/dist/ionic/svg/footsteps-outline.svg +1 -1
  441. package/dist/ionic/svg/footsteps-sharp.svg +1 -1
  442. package/dist/ionic/svg/footsteps.svg +1 -1
  443. package/dist/ionic/svg/id-card-outline.svg +1 -1
  444. package/dist/ionic/svg/id-card-sharp.svg +1 -1
  445. package/dist/ionic/svg/id-card.svg +1 -1
  446. package/dist/ionic/svg/invert-mode-outline.svg +1 -1
  447. package/dist/ionic/svg/invert-mode-sharp.svg +1 -1
  448. package/dist/ionic/svg/invert-mode.svg +1 -1
  449. package/dist/ionic/svg/logo-alipay.svg +1 -1
  450. package/dist/ionic/svg/logo-android.svg +1 -1
  451. package/dist/ionic/svg/logo-appflow.svg +1 -0
  452. package/dist/ionic/svg/logo-apple-ar.svg +1 -1
  453. package/dist/ionic/svg/logo-behance.svg +1 -1
  454. package/dist/ionic/svg/logo-bitbucket.svg +1 -1
  455. package/dist/ionic/svg/logo-deviantart.svg +1 -1
  456. package/dist/ionic/svg/logo-discord.svg +1 -1
  457. package/dist/ionic/svg/logo-docker.svg +1 -1
  458. package/dist/ionic/svg/logo-edge.svg +1 -1
  459. package/dist/ionic/svg/logo-facebook.svg +1 -1
  460. package/dist/ionic/svg/logo-figma.svg +1 -1
  461. package/dist/ionic/svg/logo-firebase.svg +1 -1
  462. package/dist/ionic/svg/logo-gitlab.svg +1 -1
  463. package/dist/ionic/svg/logo-ionic.svg +1 -1
  464. package/dist/ionic/svg/logo-mastodon.svg +1 -1
  465. package/dist/ionic/svg/logo-medium.svg +1 -1
  466. package/dist/ionic/svg/logo-microsoft.svg +1 -1
  467. package/dist/ionic/svg/logo-npm.svg +1 -1
  468. package/dist/ionic/svg/logo-paypal.svg +1 -1
  469. package/dist/ionic/svg/logo-soundcloud.svg +1 -1
  470. package/dist/ionic/svg/logo-tableau.svg +1 -1
  471. package/dist/ionic/svg/logo-tiktok.svg +1 -1
  472. package/dist/ionic/svg/logo-trapeze.svg +1 -0
  473. package/dist/ionic/svg/logo-venmo.svg +1 -1
  474. package/dist/ionic/svg/logo-vercel.svg +1 -1
  475. package/dist/ionic/svg/logo-wechat.svg +1 -1
  476. package/dist/ionic/svg/logo-x.svg +1 -0
  477. package/dist/ionic/svg/logo-yahoo.svg +1 -1
  478. package/dist/ionic/svg/prism-outline.svg +1 -1
  479. package/dist/ionic/svg/prism-sharp.svg +1 -1
  480. package/dist/ionic/svg/prism.svg +1 -1
  481. package/dist/ionic/svg/scale-outline.svg +1 -1
  482. package/dist/ionic/svg/scale-sharp.svg +1 -1
  483. package/dist/ionic/svg/scale.svg +1 -1
  484. package/dist/ionic/svg/server-outline.svg +1 -1
  485. package/dist/ionic/svg/server-sharp.svg +1 -1
  486. package/dist/ionic/svg/server.svg +1 -1
  487. package/dist/ionic/svg/shield-half-outline.svg +1 -1
  488. package/dist/ionic/svg/shield-half-sharp.svg +1 -1
  489. package/dist/ionic/svg/shield-half.svg +1 -1
  490. package/dist/ionic/svg/sparkles-outline.svg +1 -1
  491. package/dist/ionic/svg/sparkles-sharp.svg +1 -1
  492. package/dist/ionic/svg/sparkles.svg +1 -1
  493. package/dist/ionic/svg/storefront-outline.svg +1 -1
  494. package/dist/ionic/svg/storefront-sharp.svg +1 -1
  495. package/dist/ionic/svg/storefront.svg +1 -1
  496. package/dist/ionic/svg/telescope-outline.svg +1 -1
  497. package/dist/ionic/svg/telescope-sharp.svg +1 -1
  498. package/dist/ionic/svg/telescope.svg +1 -1
  499. package/dist/ionic/svg/ticket-outline.svg +1 -1
  500. package/dist/ionic/svg/ticket-sharp.svg +1 -1
  501. package/dist/ionic/svg/ticket.svg +1 -1
  502. package/dist/ionic/svg/today-outline.svg +1 -1
  503. package/dist/ionic/svg/today-sharp.svg +1 -1
  504. package/dist/ionic/svg/today.svg +1 -1
  505. package/dist/ionic/svg/unlink-outline.svg +1 -1
  506. package/dist/ionic/svg/unlink-sharp.svg +1 -1
  507. package/dist/ionic/svg/unlink.svg +1 -1
  508. package/dist/ionic/svg/videocam-off-outline.svg +1 -1
  509. package/dist/ionic/svg/videocam-off-sharp.svg +1 -1
  510. package/dist/ionic/svg/videocam-off.svg +1 -1
  511. package/dist/ionic/svg/wifi-outline.svg +1 -1
  512. package/dist/ionic/svg/wifi-sharp.svg +1 -1
  513. package/dist/ionic/svg/wifi.svg +1 -1
  514. package/dist/types/components/checkbox/checkbox.d.ts +0 -25
  515. package/dist/types/components/modal/animations/sheet.d.ts +0 -1
  516. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  517. package/dist/types/components/modal/modal-interface.d.ts +0 -1
  518. package/dist/types/components/modal/modal.d.ts +0 -11
  519. package/dist/types/components/segment-button/segment-button.d.ts +2 -1
  520. package/dist/types/components/select/select.d.ts +0 -6
  521. package/dist/types/components/toggle/toggle.d.ts +0 -6
  522. package/dist/types/components/toolbar/toolbar.d.ts +0 -4
  523. package/dist/types/components.d.ts +0 -48
  524. package/dist/types/utils/config.d.ts +0 -9
  525. package/dist/types/utils/helpers.d.ts +1 -0
  526. package/dist/types/utils/logging/index.d.ts +1 -13
  527. package/hydrate/index.js +141 -348
  528. package/hydrate/index.mjs +141 -348
  529. package/package.json +5 -5
  530. package/dist/esm-es5/index-6ad967f3.js +0 -4
  531. package/dist/esm-es5/input-shims-2fd7c6ef.js +0 -4
  532. package/dist/esm-es5/md.transition-571b3859.js +0 -4
  533. package/dist/esm-es5/status-tap-79eac0ac.js +0 -4
  534. package/dist/ionic/p-0430c2e0.entry.js +0 -4
  535. package/dist/ionic/p-0af823e1.js +0 -4
  536. package/dist/ionic/p-1132ffee.entry.js +0 -4
  537. package/dist/ionic/p-4c2d5b80.system.js +0 -4
  538. package/dist/ionic/p-4c98e2cf.system.js +0 -4
  539. package/dist/ionic/p-4ec778aa.entry.js +0 -4
  540. package/dist/ionic/p-577bc414.entry.js +0 -4
  541. package/dist/ionic/p-67222c16.system.js +0 -4
  542. package/dist/ionic/p-72bc8a1c.js +0 -4
  543. package/dist/ionic/p-7513b0c4.js +0 -4
  544. package/dist/ionic/p-9343a445.js +0 -4
  545. package/dist/ionic/p-a3db8ee3.js +0 -4
  546. package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
  547. package/dist/ionic/p-cdc83025.entry.js +0 -4
  548. package/dist/ionic/p-d1c5b60e.system.js +0 -4
  549. package/dist/ionic/p-d7dd8fb1.entry.js +0 -4
  550. package/dist/ionic/p-e3171ff3.entry.js +0 -4
  551. package/dist/ionic/p-e4fde4fb.system.entry.js +0 -4
  552. package/dist/ionic/p-e6376b93.system.entry.js +0 -4
  553. package/dist/ionic/p-e8d56122.js +0 -4
@@ -6,10 +6,10 @@ import { i as inheritAriaAttributes, e as renderHiddenInput } from './helpers.js
6
6
  import { c as createColorClasses, h as hostContext } from './theme.js';
7
7
  import { b as getIonMode } from './ionic-global.js';
8
8
 
9
- const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
9
+ const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
10
10
  const IonCheckboxIosStyle0 = checkboxIosCss;
11
11
 
12
- const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}";
12
+ const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}";
13
13
  const IonCheckboxMdStyle0 = checkboxMdCss;
14
14
 
15
15
  const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLElement {
@@ -21,8 +21,6 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
21
21
  this.ionFocus = createEvent(this, "ionFocus", 7);
22
22
  this.ionBlur = createEvent(this, "ionBlur", 7);
23
23
  this.inputId = `ion-cb-${checkboxIds++}`;
24
- this.helperTextId = `${this.inputId}-helper-text`;
25
- this.errorTextId = `${this.inputId}-error-text`;
26
24
  this.inheritedAttributes = {};
27
25
  /**
28
26
  * Sets the checked property and emits
@@ -60,13 +58,10 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
60
58
  this.checked = false;
61
59
  this.indeterminate = false;
62
60
  this.disabled = false;
63
- this.errorText = undefined;
64
- this.helperText = undefined;
65
61
  this.value = 'on';
66
62
  this.labelPlacement = 'start';
67
63
  this.justify = undefined;
68
64
  this.alignment = undefined;
69
- this.required = false;
70
65
  }
71
66
  componentWillLoad() {
72
67
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
@@ -77,38 +72,12 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
77
72
  this.focusEl.focus();
78
73
  }
79
74
  }
80
- getHintTextID() {
81
- const { el, helperText, errorText, helperTextId, errorTextId } = this;
82
- if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
83
- return errorTextId;
84
- }
85
- if (helperText) {
86
- return helperTextId;
87
- }
88
- return undefined;
89
- }
90
- /**
91
- * Responsible for rendering helper text and error text.
92
- * This element should only be rendered if hint text is set.
93
- */
94
- renderHintText() {
95
- const { helperText, errorText, helperTextId, errorTextId } = this;
96
- /**
97
- * undefined and empty string values should
98
- * be treated as not having helper/error text.
99
- */
100
- const hasHintText = !!helperText || !!errorText;
101
- if (!hasHintText) {
102
- return;
103
- }
104
- return (h("div", { class: "checkbox-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)));
105
- }
106
75
  render() {
107
- const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, } = this;
76
+ const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
108
77
  const mode = getIonMode(this);
109
78
  const path = getSVGPath(mode, indeterminate);
110
79
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
111
- return (h(Host, { key: '7ac31df89b07c781ddcd30a6a8c109494d0c500a', "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, class: createColorClasses(color, {
80
+ return (h(Host, { key: '6dc787e1100521d08c4900104e1a3e2f594e919f', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
112
81
  [mode]: true,
113
82
  'in-item': hostContext('ion-item', el),
114
83
  'checkbox-checked': checked,
@@ -118,10 +87,10 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
118
87
  [`checkbox-justify-${justify}`]: justify !== undefined,
119
88
  [`checkbox-alignment-${alignment}`]: alignment !== undefined,
120
89
  [`checkbox-label-placement-${labelPlacement}`]: true,
121
- }), onClick: this.onClick }, h("label", { key: '674e923fe1ec83a33c31d67b0d414d61ba8f9e4b', class: "checkbox-wrapper" }, h("input", Object.assign({ key: 'c4866e392fbdf3b76edcd1507cb67f40a213a4e7', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: '79cb96e5963b9331a760438ec8cc9e456215de91', class: {
90
+ }), onClick: this.onClick }, h("label", { key: '68222fb736a5ec3f2e488649b0e2ce0417dcb224', class: "checkbox-wrapper" }, h("input", Object.assign({ key: 'f12962d7e9b19c744cfdbdeccc67ae7f5d080281', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { key: 'c72df2699414b1e5a41a1bc267bc634f0c93dcff', class: {
122
91
  'label-text-wrapper': true,
123
92
  'label-text-wrapper-hidden': el.textContent === '',
124
- }, part: "label" }, h("slot", { key: '896cb26292c9a4a6c105afb39611472b93bf5e90' }), this.renderHintText()), h("div", { key: '52cd22e79fd5db30b45d7b092aa5af3944392336', class: "native-wrapper" }, h("svg", { key: '18d862ab7cc32055eaf200eea560ff1b2b6cbde0', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
93
+ }, part: "label" }, h("slot", { key: 'a2a80285178a7e0e3b536fc9ca26b8b444aa4307' })), h("div", { key: 'c2b05e0d1fe8df5dcd72858220b5ff51ecaee4cc', class: "native-wrapper" }, h("svg", { key: 'ee24913fded72258ebd9713654a6dba92a18fcf7', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
125
94
  }
126
95
  getSVGPath(mode, indeterminate) {
127
96
  let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
@@ -141,13 +110,10 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
141
110
  "checked": [1028],
142
111
  "indeterminate": [1028],
143
112
  "disabled": [4],
144
- "errorText": [1, "error-text"],
145
- "helperText": [1, "helper-text"],
146
113
  "value": [8],
147
114
  "labelPlacement": [1, "label-placement"],
148
115
  "justify": [1],
149
116
  "alignment": [1],
150
- "required": [4],
151
117
  "setFocus": [64]
152
118
  }]);
153
119
  let checkboxIds = 0;
@@ -358,5 +358,15 @@ const shallowEqualStringMap = (map1, map2) => {
358
358
  }
359
359
  return true;
360
360
  };
361
+ const getNextSiblingOfType = (element) => {
362
+ let sibling = element.nextSibling;
363
+ while (sibling) {
364
+ if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
365
+ return sibling;
366
+ }
367
+ sibling = sibling.nextSibling;
368
+ }
369
+ return null;
370
+ };
361
371
 
362
- export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, debounce as o, pointerCoord as p, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
372
+ export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, debounce as o, getNextSiblingOfType as p, pointerCoord as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
@@ -1,8 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as config } from './ionic-global.js';
5
-
6
4
  /**
7
5
  * Logs a warning to the console with an Ionic prefix
8
6
  * to indicate the library that is warning the developer.
@@ -10,12 +8,9 @@ import { c as config } from './ionic-global.js';
10
8
  * @param message - The string message to be logged to the console.
11
9
  */
12
10
  const printIonWarning = (message, ...params) => {
13
- const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
14
- if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
15
- return console.warn(`[Ionic Warning]: ${message}`, ...params);
16
- }
11
+ return console.warn(`[Ionic Warning]: ${message}`, ...params);
17
12
  };
18
- /**
13
+ /*
19
14
  * Logs an error to the console with an Ionic prefix
20
15
  * to indicate the library that is warning the developer.
21
16
  *
@@ -23,10 +18,7 @@ const printIonWarning = (message, ...params) => {
23
18
  * @param params - Additional arguments to supply to the console.error.
24
19
  */
25
20
  const printIonError = (message, ...params) => {
26
- const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
27
- if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
28
- return console.error(`[Ionic Error]: ${message}`, ...params);
29
- }
21
+ return console.error(`[Ionic Error]: ${message}`, ...params);
30
22
  };
31
23
  /**
32
24
  * Prints an error informing developers that an implementation requires an element to be used
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- /* Ionicons v7.2.2, ES Modules */
4
+ /* Ionicons v7.4.0, ES Modules */
5
5
  const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
6
6
  const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
7
7
  const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
@@ -10,7 +10,7 @@ const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000
10
10
  const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
11
11
  const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
12
12
  const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
13
- const chevronExpand = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>";
13
+ const chevronExpand = "data:image/svg+xml;utf8,<svg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' class='ionicon'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>";
14
14
  const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
15
15
  const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
16
16
  const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { d as doc } from './index5.js';
5
- import { p as pointerCoord } from './helpers.js';
5
+ import { q as pointerCoord } from './helpers.js';
6
6
 
7
7
  const startTapClick = (config) => {
8
8
  if (doc === undefined) {
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
5
- import { a as addEventListener, b as removeEventListener, d as inheritAttributes } from './helpers.js';
5
+ import { a as addEventListener, b as removeEventListener, d as inheritAttributes, p as getNextSiblingOfType } from './helpers.js';
6
6
  import { h as hostContext } from './theme.js';
7
7
  import { b as getIonMode } from './ionic-global.js';
8
8
  import { d as defineCustomElement$2 } from './ripple-effect.js';
@@ -43,7 +43,35 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
43
43
  valueChanged() {
44
44
  this.updateState();
45
45
  }
46
- connectedCallback() {
46
+ waitForSegmentContent(ionSegment, contentId) {
47
+ return new Promise((resolve, reject) => {
48
+ let timeoutId = undefined;
49
+ let animationFrameId;
50
+ const check = () => {
51
+ if (!ionSegment) {
52
+ reject(new Error(`Segment not found when looking for Segment Content`));
53
+ return;
54
+ }
55
+ const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
56
+ const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
57
+ if (segmentContent && timeoutId) {
58
+ clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
59
+ cancelAnimationFrame(animationFrameId);
60
+ resolve(segmentContent);
61
+ }
62
+ else {
63
+ animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
64
+ }
65
+ };
66
+ check();
67
+ // Set a timeout to reject the promise
68
+ timeoutId = setTimeout(() => {
69
+ cancelAnimationFrame(animationFrameId);
70
+ reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
71
+ }, 1000);
72
+ });
73
+ }
74
+ async connectedCallback() {
47
75
  const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
48
76
  if (segmentEl) {
49
77
  this.updateState();
@@ -53,11 +81,14 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
53
81
  // Return if there is no contentId defined
54
82
  if (!this.contentId)
55
83
  return;
56
- // Attempt to find the Segment Content by its contentId
57
- const segmentContent = document.getElementById(this.contentId);
58
- // If no associated Segment Content exists, log an error and return
59
- if (!segmentContent) {
60
- console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
84
+ let segmentContent;
85
+ try {
86
+ // Attempt to find the Segment Content by its contentId
87
+ segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
88
+ }
89
+ catch (error) {
90
+ // If no associated Segment Content exists, log an error and return
91
+ console.error('Segment Button: ', error.message);
61
92
  return;
62
93
  }
63
94
  // Ensure the found element is a valid ION-SEGMENT-CONTENT
@@ -103,7 +134,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
103
134
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
104
135
  const mode = getIonMode(this);
105
136
  const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
106
- return (h(Host, { key: 'd50a5d5e2f6206e8523598f258d8217d2903f69b', class: {
137
+ return (h(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
107
138
  [mode]: true,
108
139
  'in-toolbar': hostContext('ion-toolbar', this.el),
109
140
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -119,7 +150,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
119
150
  'ion-activatable': true,
120
151
  'ion-activatable-instant': true,
121
152
  'ion-focusable': true,
122
- } }, 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" }))));
153
+ } }, 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" }))));
123
154
  }
124
155
  get el() { return this; }
125
156
  static get watchers() { return {
@@ -4,7 +4,7 @@
4
4
  import { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } from '@stencil/core/internal/client';
5
5
  import { c as createNotchController } from './notch-controller.js';
6
6
  import { i as isOptionSelected, c as compareOptions, d as defineCustomElement$8 } from './radio.js';
7
- import { d as inheritAttributes, f as focusVisibleElement, e as renderHiddenInput } from './helpers.js';
7
+ import { d as inheritAttributes, e as renderHiddenInput, f as focusVisibleElement } from './helpers.js';
8
8
  import { c as popoverController, b as actionSheetController, a as alertController, m as modalController } from './overlays.js';
9
9
  import { i as isRTL } from './dir.js';
10
10
  import { h as hostContext, c as createColorClasses } from './theme.js';
@@ -115,7 +115,6 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
115
115
  this.expandedIcon = undefined;
116
116
  this.shape = undefined;
117
117
  this.value = undefined;
118
- this.required = false;
119
118
  }
120
119
  styleChanged() {
121
120
  this.emitStyle();
@@ -178,15 +177,8 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
178
177
  }
179
178
  this.isExpanded = true;
180
179
  const overlay = (this.overlay = await this.createOverlay(event));
181
- overlay.onDidDismiss().then(() => {
182
- this.overlay = undefined;
183
- this.isExpanded = false;
184
- this.ionDismiss.emit();
185
- this.setFocus();
186
- });
187
- await overlay.present();
188
- // focus selected option for popovers and modals
189
- if (this.interface === 'popover' || this.interface === 'modal') {
180
+ // Add logic to scroll selected item into view before presenting
181
+ const scrollSelectedIntoView = () => {
190
182
  const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
191
183
  if (indexOfSelected > -1) {
192
184
  const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
@@ -204,6 +196,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
204
196
  */
205
197
  const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');
206
198
  if (interactiveEl) {
199
+ selectedItem.scrollIntoView({ block: 'nearest' });
207
200
  // Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
208
201
  // and removing `ion-focused` style
209
202
  interactiveEl.setFocus();
@@ -227,7 +220,40 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
227
220
  focusVisibleElement(firstEnabledOption.closest('ion-item'));
228
221
  }
229
222
  }
223
+ };
224
+ // For modals and popovers, we can scroll before they're visible
225
+ if (this.interface === 'modal') {
226
+ overlay.addEventListener('ionModalWillPresent', scrollSelectedIntoView, { once: true });
227
+ }
228
+ else if (this.interface === 'popover') {
229
+ overlay.addEventListener('ionPopoverWillPresent', scrollSelectedIntoView, { once: true });
230
230
  }
231
+ else {
232
+ /**
233
+ * For alerts and action sheets, we need to wait a frame after willPresent
234
+ * because these overlays don't have their content in the DOM immediately
235
+ * when willPresent fires. By waiting a frame, we ensure the content is
236
+ * rendered and can be properly scrolled into view.
237
+ */
238
+ const scrollAfterRender = () => {
239
+ requestAnimationFrame(() => {
240
+ scrollSelectedIntoView();
241
+ });
242
+ };
243
+ if (this.interface === 'alert') {
244
+ overlay.addEventListener('ionAlertWillPresent', scrollAfterRender, { once: true });
245
+ }
246
+ else if (this.interface === 'action-sheet') {
247
+ overlay.addEventListener('ionActionSheetWillPresent', scrollAfterRender, { once: true });
248
+ }
249
+ }
250
+ overlay.onDidDismiss().then(() => {
251
+ this.overlay = undefined;
252
+ this.isExpanded = false;
253
+ this.ionDismiss.emit();
254
+ this.setFocus();
255
+ });
256
+ await overlay.present();
231
257
  return overlay;
232
258
  }
233
259
  createOverlay(ev) {
@@ -607,8 +633,8 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
607
633
  return renderedLabel;
608
634
  }
609
635
  renderListbox() {
610
- const { disabled, inputId, isExpanded, required } = this;
611
- return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, "aria-required": `${required}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
636
+ const { disabled, inputId, isExpanded } = this;
637
+ return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
612
638
  }
613
639
  render() {
614
640
  const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
@@ -639,7 +665,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
639
665
  * TODO(FW-5592): Remove hasStartEndSlots condition
640
666
  */
641
667
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
642
- return (h(Host, { key: '491cf1b0e3aa31e7c9cfad3e87d83eb54272312a', onClick: this.onClick, class: createColorClasses(this.color, {
668
+ return (h(Host, { key: 'b2dca9ae25d88e4d9fdb55003041a66be5668fcf', onClick: this.onClick, class: createColorClasses(this.color, {
643
669
  [mode]: true,
644
670
  'in-item': inItem,
645
671
  'in-item-color': hostContext('ion-item.ion-color', el),
@@ -655,7 +681,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
655
681
  [`select-justify-${justify}`]: justifyEnabled,
656
682
  [`select-shape-${shape}`]: shape !== undefined,
657
683
  [`select-label-placement-${labelPlacement}`]: true,
658
- }) }, h("label", { key: '07bf3cb57bd1121383d8c746e3ac49da38300082', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '884facd18342797576bbacc761d18d83c52762e3', class: "select-wrapper-inner" }, h("slot", { key: 'c4f2a2a7a76f52db15f9a0b806017caea443c47a', name: "start" }), h("div", { key: '235cf383f268cc74412722cd31e246cbd4c2abe5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1481302e11c494d49dfd80a7aaf743f7e851558f', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '8a45ea9280651695c8e5435f266c286f3e3f6a18', class: "select-highlight" }))));
684
+ }) }, h("label", { key: 'c22fe9aee8cd448223497ef143e89529fcef8af6', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '601972df4579f4fa6a9c2c12865593e807decb72', class: "select-wrapper-inner" }, h("slot", { key: '5f7b1261862f74b978b26f026533e3fd1cc666ba', name: "start" }), h("div", { key: '39616da89f4b4b78432f6da85116a7de2ca589e7', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1d7b3601b73af7c05b3627cfc8e5147ea379bb03', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'b0344f0ac15003e22fee66d3d7ed03a07da7e8b7', class: "select-highlight" }))));
659
685
  }
660
686
  get el() { return this; }
661
687
  static get watchers() { return {
@@ -688,7 +714,6 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
688
714
  "expandedIcon": [1, "expanded-icon"],
689
715
  "shape": [1],
690
716
  "value": [1032],
691
- "required": [4],
692
717
  "isExpanded": [32],
693
718
  "open": [64]
694
719
  }, undefined, {
@@ -75,7 +75,6 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
75
75
  this.labelPlacement = 'start';
76
76
  this.justify = undefined;
77
77
  this.alignment = undefined;
78
- this.required = false;
79
78
  }
80
79
  disabledChanged() {
81
80
  if (this.gesture) {
@@ -157,12 +156,12 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
157
156
  return this.el.textContent !== '';
158
157
  }
159
158
  render() {
160
- const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment, required } = this;
159
+ const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
161
160
  const mode = getIonMode(this);
162
161
  const value = this.getValue();
163
162
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
164
163
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
165
- return (h(Host, { key: 'ed75573caa6e37011f1453dd7f723fb9bd8a3656', onClick: this.onClick, class: createColorClasses(color, {
164
+ return (h(Host, { key: 'f52195ec3bc14c024647cb41319c32a4cd330e19', onClick: this.onClick, class: createColorClasses(color, {
166
165
  [mode]: true,
167
166
  'in-item': hostContext('ion-item', el),
168
167
  'toggle-activated': activated,
@@ -172,10 +171,10 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
172
171
  [`toggle-alignment-${alignment}`]: alignment !== undefined,
173
172
  [`toggle-label-placement-${labelPlacement}`]: true,
174
173
  [`toggle-${rtl}`]: true,
175
- }) }, h("label", { key: '484860e2a33f4d123904edb96159f0e1972d3add', class: "toggle-wrapper" }, h("input", Object.assign({ key: '360b53080aacfd99a9ff60ffb5219816bd4163ee', 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: 'f7239fa668fe11257239ea30cf0198e4f3274f6b', class: {
174
+ }) }, h("label", { key: 'f8b3a215ad85b2cee611ad63449b584e1640f27f', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f387b1ea840737a9737917e516834c887be99c09', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '936af880db59fe377cd2de9101eb28a1c4fb8914', class: {
176
175
  'label-text-wrapper': true,
177
176
  'label-text-wrapper-hidden': !this.hasLabel,
178
- }, part: "label" }, h("slot", { key: '9495a4a39889822ee68e0d89dc5a2f863d1feb3c' })), h("div", { key: '55f1eb08c4b705e94fbcf02220bbe1d292f06155', class: "native-wrapper" }, this.renderToggleControl()))));
177
+ }, part: "label" }, h("slot", { key: '80a6672e2e792c15011a9496dcd75363cdba31c6' })), h("div", { key: '2b2b318b38ab27b194c0dab4cecd77d9d780f2ca', class: "native-wrapper" }, this.renderToggleControl()))));
179
178
  }
180
179
  get el() { return this; }
181
180
  static get watchers() { return {
@@ -195,7 +194,6 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
195
194
  "labelPlacement": [1, "label-placement"],
196
195
  "justify": [1],
197
196
  "alignment": [1],
198
- "required": [4],
199
197
  "activated": [32]
200
198
  }, undefined, {
201
199
  "disabled": ["disabledChanged"]