@ionic/core 8.4.4-dev.11741027468.1f4941f2 → 8.4.4-dev.11741032668.18899f9b

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 (383) hide show
  1. package/components/checkbox.js +4 -6
  2. package/components/index6.js +3 -11
  3. package/components/ion-select.js +14 -43
  4. package/components/ion-toggle.js +4 -6
  5. package/components/ionic-global.js +2 -1
  6. package/components/modal.js +35 -259
  7. package/components/toolbar.js +2 -2
  8. package/css/core.css.map +1 -1
  9. package/css/ionic.bundle.css.map +1 -1
  10. package/dist/cjs/{app-globals-21afee77.js → app-globals-4283fe37.js} +1 -1
  11. package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
  12. package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-f2cbbdce.js} +1 -1
  13. package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
  14. package/dist/cjs/{index-26bb7e42.js → index-90ec3b6c.js} +4 -4
  15. package/dist/cjs/{index-0ff61d0b.js → index-9c6c9e9c.js} +3 -3
  16. package/dist/cjs/{index-6770fc00.js → index-c441c903.js} +1 -1
  17. package/dist/cjs/index.cjs.js +8 -8
  18. package/dist/cjs/{input-shims-fd997b01.js → input-shims-e748a364.js} +2 -4
  19. package/dist/cjs/{input.utils-c15a1814.js → input.utils-74e4ec28.js} +1 -1
  20. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  21. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  22. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  23. package/dist/cjs/ion-app_8.cjs.entry.js +10 -10
  24. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  26. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  27. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  28. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  30. package/dist/cjs/ion-checkbox.cjs.entry.js +5 -6
  31. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  32. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  33. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  34. package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
  35. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  36. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  37. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  38. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  39. package/dist/cjs/ion-input.cjs.entry.js +3 -3
  40. package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -3
  41. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  42. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  43. package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
  44. package/dist/cjs/ion-modal.cjs.entry.js +41 -264
  45. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  46. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  47. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  48. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  49. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  50. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
  51. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  52. package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
  53. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  54. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  55. package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
  56. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  57. package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
  58. package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
  59. package/dist/cjs/ion-select_3.cjs.entry.js +17 -45
  60. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  61. package/dist/cjs/ion-split-pane.cjs.entry.js +1 -1
  62. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  63. package/dist/cjs/ion-text.cjs.entry.js +1 -1
  64. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  65. package/dist/cjs/ion-toast.cjs.entry.js +4 -4
  66. package/dist/cjs/ion-toggle.cjs.entry.js +5 -6
  67. package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-96da1b2e.js} +2 -1
  68. package/dist/cjs/ionic.cjs.js +3 -3
  69. package/dist/cjs/{ios.transition-a4f35c55.js → ios.transition-2dae3b92.js} +3 -3
  70. package/dist/cjs/loader.cjs.js +3 -3
  71. package/dist/cjs/{md.transition-cdf904e6.js → md.transition-ea3260a7.js} +3 -3
  72. package/dist/cjs/{overlays-86695cf1.js → overlays-3880b5b5.js} +3 -3
  73. package/dist/cjs/{status-tap-1a2485c1.js → status-tap-fb807fad.js} +2 -3
  74. package/dist/collection/components/checkbox/checkbox.js +4 -23
  75. package/dist/collection/components/modal/animations/ios.enter.js +4 -50
  76. package/dist/collection/components/modal/animations/ios.leave.js +2 -24
  77. package/dist/collection/components/modal/animations/md.enter.js +5 -52
  78. package/dist/collection/components/modal/animations/md.leave.js +3 -26
  79. package/dist/collection/components/modal/animations/sheet.js +2 -11
  80. package/dist/collection/components/modal/gestures/sheet.js +10 -79
  81. package/dist/collection/components/modal/modal.ios.css +0 -16
  82. package/dist/collection/components/modal/modal.js +7 -32
  83. package/dist/collection/components/modal/modal.md.css +0 -6
  84. package/dist/collection/components/select/select.js +13 -59
  85. package/dist/collection/components/toggle/toggle.js +4 -23
  86. package/dist/collection/components/toolbar/toolbar.js +2 -6
  87. package/dist/collection/utils/logging/index.js +3 -10
  88. package/dist/collection/utils/platform.js +2 -1
  89. package/dist/collection/utils/test/platform.utils.js +1 -1
  90. package/dist/docs.json +2 -115
  91. package/dist/esm/{app-globals-5dbb61a5.js → app-globals-c10a1137.js} +1 -1
  92. package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  93. package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-44195e92.js} +1 -1
  94. package/dist/esm/{index-dd0f7395.js → index-33f7e3ff.js} +1 -1
  95. package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
  96. package/dist/esm/{index-6a5baab0.js → index-b019fc18.js} +4 -4
  97. package/dist/esm/{index-7105cd59.js → index-e1e9a0d3.js} +3 -3
  98. package/dist/esm/index.js +8 -8
  99. package/dist/esm/{input-shims-dff819a9.js → input-shims-0e65111b.js} +2 -4
  100. package/dist/esm/{input.utils-2f1029cf.js → input.utils-1ad8dafc.js} +1 -1
  101. package/dist/esm/ion-accordion_2.entry.js +2 -2
  102. package/dist/esm/ion-action-sheet.entry.js +4 -4
  103. package/dist/esm/ion-alert.entry.js +4 -4
  104. package/dist/esm/ion-app_8.entry.js +10 -10
  105. package/dist/esm/ion-avatar_3.entry.js +1 -1
  106. package/dist/esm/ion-back-button.entry.js +1 -1
  107. package/dist/esm/ion-backdrop.entry.js +1 -1
  108. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  109. package/dist/esm/ion-button_2.entry.js +2 -2
  110. package/dist/esm/ion-card_5.entry.js +1 -1
  111. package/dist/esm/ion-checkbox.entry.js +5 -6
  112. package/dist/esm/ion-chip.entry.js +1 -1
  113. package/dist/esm/ion-col_3.entry.js +1 -1
  114. package/dist/esm/ion-datetime-button.entry.js +3 -3
  115. package/dist/esm/ion-datetime_3.entry.js +5 -5
  116. package/dist/esm/ion-fab_3.entry.js +1 -1
  117. package/dist/esm/ion-img.entry.js +1 -1
  118. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  119. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  120. package/dist/esm/ion-input.entry.js +3 -3
  121. package/dist/esm/ion-item-option_3.entry.js +3 -3
  122. package/dist/esm/ion-item_8.entry.js +1 -1
  123. package/dist/esm/ion-loading.entry.js +4 -4
  124. package/dist/esm/ion-menu_3.entry.js +5 -5
  125. package/dist/esm/ion-modal.entry.js +41 -264
  126. package/dist/esm/ion-nav_2.entry.js +3 -3
  127. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  128. package/dist/esm/ion-picker-column.entry.js +1 -1
  129. package/dist/esm/ion-popover.entry.js +5 -5
  130. package/dist/esm/ion-progress-bar.entry.js +1 -1
  131. package/dist/esm/ion-radio_2.entry.js +1 -1
  132. package/dist/esm/ion-range.entry.js +3 -3
  133. package/dist/esm/ion-refresher_2.entry.js +3 -3
  134. package/dist/esm/ion-reorder_2.entry.js +3 -3
  135. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  136. package/dist/esm/ion-route_4.entry.js +1 -1
  137. package/dist/esm/ion-searchbar.entry.js +1 -1
  138. package/dist/esm/ion-segment_2.entry.js +1 -1
  139. package/dist/esm/ion-select-modal.entry.js +4 -4
  140. package/dist/esm/ion-select_3.entry.js +18 -46
  141. package/dist/esm/ion-spinner.entry.js +1 -1
  142. package/dist/esm/ion-split-pane.entry.js +1 -1
  143. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  144. package/dist/esm/ion-text.entry.js +1 -1
  145. package/dist/esm/ion-textarea.entry.js +3 -3
  146. package/dist/esm/ion-toast.entry.js +4 -4
  147. package/dist/esm/ion-toggle.entry.js +5 -6
  148. package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-bf78a847.js} +2 -1
  149. package/dist/esm/ionic.js +3 -3
  150. package/dist/esm/{ios.transition-314468a2.js → ios.transition-b7103952.js} +3 -3
  151. package/dist/esm/loader.js +3 -3
  152. package/dist/esm/{md.transition-a560e0e2.js → md.transition-e4034e0a.js} +3 -3
  153. package/dist/esm/{overlays-9a81f230.js → overlays-aea27b63.js} +3 -3
  154. package/dist/esm/{status-tap-d07dbc82.js → status-tap-163e8128.js} +2 -3
  155. package/dist/esm-es5/app-globals-c10a1137.js +4 -0
  156. package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  157. package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-44195e92.js} +1 -1
  158. package/dist/esm-es5/{index-dd0f7395.js → index-33f7e3ff.js} +1 -1
  159. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  160. package/dist/esm-es5/{index-6a5baab0.js → index-b019fc18.js} +1 -1
  161. package/dist/esm-es5/{index-7105cd59.js → index-e1e9a0d3.js} +1 -1
  162. package/dist/esm-es5/index.js +1 -1
  163. package/dist/esm-es5/input-shims-0e65111b.js +4 -0
  164. package/dist/esm-es5/{input.utils-2f1029cf.js → input.utils-1ad8dafc.js} +1 -1
  165. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  166. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  167. package/dist/esm-es5/ion-alert.entry.js +1 -1
  168. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  169. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  170. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  171. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  172. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  173. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  174. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  175. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  176. package/dist/esm-es5/ion-chip.entry.js +1 -1
  177. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  178. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  179. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  180. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  181. package/dist/esm-es5/ion-img.entry.js +1 -1
  182. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  183. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  184. package/dist/esm-es5/ion-input.entry.js +1 -1
  185. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  186. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  187. package/dist/esm-es5/ion-loading.entry.js +1 -1
  188. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  189. package/dist/esm-es5/ion-modal.entry.js +1 -1
  190. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  191. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  192. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  193. package/dist/esm-es5/ion-popover.entry.js +1 -1
  194. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  195. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  196. package/dist/esm-es5/ion-range.entry.js +1 -1
  197. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  198. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  199. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  200. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  201. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  202. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  203. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  204. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  205. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  206. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  207. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  208. package/dist/esm-es5/ion-text.entry.js +1 -1
  209. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  210. package/dist/esm-es5/ion-toast.entry.js +1 -1
  211. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  212. package/dist/esm-es5/{ionic-global-c81d82ab.js → ionic-global-bf78a847.js} +1 -1
  213. package/dist/esm-es5/ionic.js +1 -1
  214. package/dist/esm-es5/{ios.transition-314468a2.js → ios.transition-b7103952.js} +1 -1
  215. package/dist/esm-es5/loader.js +1 -1
  216. package/dist/esm-es5/{md.transition-a560e0e2.js → md.transition-e4034e0a.js} +1 -1
  217. package/dist/esm-es5/{overlays-9a81f230.js → overlays-aea27b63.js} +1 -1
  218. package/dist/esm-es5/status-tap-163e8128.js +4 -0
  219. package/dist/html.html-data.json +0 -16
  220. package/dist/ionic/index.esm.js +1 -1
  221. package/dist/ionic/ionic.esm.js +1 -1
  222. package/dist/ionic/ionic.js +1 -1
  223. package/dist/ionic/{p-5b932840.entry.js → p-026517fb.entry.js} +1 -1
  224. package/dist/ionic/{p-e8f34871.entry.js → p-035c0885.entry.js} +1 -1
  225. package/dist/ionic/p-0440660b.js +4 -0
  226. package/dist/ionic/p-06fee233.js +4 -0
  227. package/dist/ionic/p-075a94bd.js +4 -0
  228. package/dist/ionic/{p-c935cfc9.js → p-0a499487.js} +1 -1
  229. package/dist/ionic/{p-484d855b.system.entry.js → p-0d0a6fb9.system.entry.js} +2 -2
  230. package/dist/ionic/{p-d7bb5325.entry.js → p-0dc23518.entry.js} +1 -1
  231. package/dist/ionic/p-0ee3b5a2.system.js +4 -0
  232. package/dist/ionic/{p-155c2bb0.entry.js → p-13052792.entry.js} +1 -1
  233. package/dist/ionic/p-135e5731.js +4 -0
  234. package/dist/ionic/{p-84d08aae.system.entry.js → p-13892787.system.entry.js} +1 -1
  235. package/dist/ionic/{p-92365bc1.system.entry.js → p-1543d6b2.system.entry.js} +1 -1
  236. package/dist/ionic/{p-f301a694.system.entry.js → p-16f1ba65.system.entry.js} +1 -1
  237. package/dist/ionic/{p-578efda4.system.js → p-1a790eef.system.js} +2 -2
  238. package/dist/ionic/{p-63c09585.system.entry.js → p-1c2f74e4.system.entry.js} +1 -1
  239. package/dist/ionic/{p-c32644d7.entry.js → p-200dfb8f.entry.js} +1 -1
  240. package/dist/ionic/{p-65346408.system.entry.js → p-22e4210e.system.entry.js} +1 -1
  241. package/dist/ionic/{p-fca17935.entry.js → p-288a2cff.entry.js} +1 -1
  242. package/dist/ionic/{p-10327ad2.system.entry.js → p-28cb707b.system.entry.js} +1 -1
  243. package/dist/ionic/{p-bc616455.entry.js → p-2c9abc61.entry.js} +1 -1
  244. package/dist/ionic/p-30ec5574.entry.js +4 -0
  245. package/dist/ionic/p-3667bc71.system.js +4 -0
  246. package/dist/ionic/{p-a9e24ae2.system.entry.js → p-3c6d2c1e.system.entry.js} +1 -1
  247. package/dist/ionic/p-3c7371c4.system.entry.js +4 -0
  248. package/dist/ionic/{p-9b3bb24e.entry.js → p-406f9aa1.entry.js} +1 -1
  249. package/dist/ionic/{p-da8ef548.system.entry.js → p-42585688.system.entry.js} +1 -1
  250. package/dist/ionic/{p-39dd4f62.js → p-42808996.js} +1 -1
  251. package/dist/ionic/{p-afecb188.entry.js → p-42a9bb35.entry.js} +1 -1
  252. package/dist/ionic/{p-f3102647.system.entry.js → p-478dfa8c.system.entry.js} +1 -1
  253. package/dist/ionic/{p-346b2baf.js → p-47e6c342.js} +1 -1
  254. package/dist/ionic/{p-af744710.system.entry.js → p-4a465405.system.entry.js} +2 -2
  255. package/dist/ionic/{p-f89cf011.system.entry.js → p-4c9ccc7f.system.entry.js} +1 -1
  256. package/dist/ionic/p-4e8946f7.js +4 -0
  257. package/dist/ionic/{p-2abae1cc.system.entry.js → p-4eed0eb2.system.entry.js} +1 -1
  258. package/dist/ionic/{p-9962f63f.entry.js → p-4f2f4e3b.entry.js} +1 -1
  259. package/dist/ionic/{p-d821466d.system.entry.js → p-50c24ade.system.entry.js} +1 -1
  260. package/dist/ionic/p-51f13ac7.entry.js +4 -0
  261. package/dist/ionic/{p-95775830.entry.js → p-56a8aa85.entry.js} +1 -1
  262. package/dist/ionic/{p-f56752be.system.entry.js → p-5976e3b7.system.entry.js} +1 -1
  263. package/dist/ionic/{p-f78af648.system.entry.js → p-5a8efe64.system.entry.js} +1 -1
  264. package/dist/ionic/{p-5882bffa.system.entry.js → p-5b03d498.system.entry.js} +1 -1
  265. package/dist/ionic/{p-36c448fe.entry.js → p-5b867a40.entry.js} +1 -1
  266. package/dist/ionic/{p-5fe8b767.entry.js → p-5bc12439.entry.js} +1 -1
  267. package/dist/ionic/{p-70af0afb.entry.js → p-60f1b2fa.entry.js} +1 -1
  268. package/dist/ionic/p-6167f80e.entry.js +4 -0
  269. package/dist/ionic/p-627c1f42.entry.js +4 -0
  270. package/dist/ionic/{p-d99e8644.system.js → p-647b0625.system.js} +1 -1
  271. package/dist/ionic/{p-02e23f26.entry.js → p-656516a2.entry.js} +1 -1
  272. package/dist/ionic/p-68dc53a5.js +4 -0
  273. package/dist/ionic/p-699c97a3.entry.js +4 -0
  274. package/dist/ionic/{p-7b98cebe.entry.js → p-6b1f082e.entry.js} +1 -1
  275. package/dist/ionic/p-6bc9998f.entry.js +4 -0
  276. package/dist/ionic/{p-ecceeb90.js → p-6f3d8334.js} +1 -1
  277. package/dist/ionic/{p-76446a85.entry.js → p-703d60a2.entry.js} +1 -1
  278. package/dist/ionic/{p-fca6ef5f.system.entry.js → p-712b57f9.system.entry.js} +1 -1
  279. package/dist/ionic/{p-955c3eb8.entry.js → p-72b65035.entry.js} +1 -1
  280. package/dist/ionic/{p-acc8399c.system.entry.js → p-75a0fffe.system.entry.js} +2 -2
  281. package/dist/ionic/{p-e32557bb.system.entry.js → p-77b1bb00.system.entry.js} +1 -1
  282. package/dist/ionic/{p-dc146a2a.system.entry.js → p-808c9efc.system.entry.js} +1 -1
  283. package/dist/ionic/{p-eeb5cb45.system.entry.js → p-8154947f.system.entry.js} +1 -1
  284. package/dist/ionic/{p-8cfba7e9.system.entry.js → p-830f1a37.system.entry.js} +1 -1
  285. package/dist/ionic/{p-0bfffa34.system.entry.js → p-842bb3c8.system.entry.js} +1 -1
  286. package/dist/ionic/{p-41780810.entry.js → p-85632b54.entry.js} +1 -1
  287. package/dist/ionic/{p-62af944c.entry.js → p-85b1ffae.entry.js} +1 -1
  288. package/dist/ionic/{p-af452fa4.system.js → p-881d9e52.system.js} +1 -1
  289. package/dist/ionic/{p-3c8e5c23.system.js → p-8911101b.system.js} +1 -1
  290. package/dist/ionic/{p-990630ca.js → p-8db44ad3.js} +1 -1
  291. package/dist/ionic/{p-77e7b7b6.system.entry.js → p-9065e1ed.system.entry.js} +1 -1
  292. package/dist/ionic/{p-2ef3c7ee.system.entry.js → p-92e4df0c.system.entry.js} +1 -1
  293. package/dist/ionic/{p-655723eb.system.entry.js → p-9393bfbe.system.entry.js} +1 -1
  294. package/dist/ionic/{p-a584c79d.system.entry.js → p-944d66b5.system.entry.js} +1 -1
  295. package/dist/ionic/{p-acb30a5c.system.js → p-97acff20.system.js} +1 -1
  296. package/dist/ionic/{p-97a65908.entry.js → p-98c08d09.entry.js} +1 -1
  297. package/dist/ionic/{p-5fce0c0b.system.entry.js → p-9c7efe25.system.entry.js} +1 -1
  298. package/dist/ionic/{p-d1172fe3.system.entry.js → p-9c82a07c.system.entry.js} +1 -1
  299. package/dist/ionic/{p-93e3654c.system.entry.js → p-9ce56f65.system.entry.js} +1 -1
  300. package/dist/ionic/{p-bdad26e3.entry.js → p-9d4a8059.entry.js} +1 -1
  301. package/dist/ionic/{p-a5b31c0f.entry.js → p-9fe2050a.entry.js} +1 -1
  302. package/dist/ionic/{p-2515cb4d.system.entry.js → p-a197ff3b.system.entry.js} +1 -1
  303. package/dist/ionic/{p-9de5c787.entry.js → p-a33837c9.entry.js} +1 -1
  304. package/dist/ionic/{p-e5849f8d.entry.js → p-a3705e10.entry.js} +1 -1
  305. package/dist/ionic/{p-2507278c.system.entry.js → p-a873feda.system.entry.js} +1 -1
  306. package/dist/ionic/{p-73897169.system.js → p-aa63b365.system.js} +1 -1
  307. package/dist/ionic/{p-fec13c57.entry.js → p-acc78e36.entry.js} +1 -1
  308. package/dist/ionic/{p-c8d645b3.entry.js → p-b5639a4f.entry.js} +1 -1
  309. package/dist/ionic/{p-037fc3f3.entry.js → p-b609d03b.entry.js} +1 -1
  310. package/dist/ionic/{p-70ccc275.system.entry.js → p-b637aa3f.system.entry.js} +1 -1
  311. package/dist/ionic/{p-bb2a6761.entry.js → p-b7d2ba68.entry.js} +1 -1
  312. package/dist/ionic/{p-80c6d619.entry.js → p-bed40aa8.entry.js} +1 -1
  313. package/dist/ionic/{p-155f4d90.entry.js → p-c15a77e2.entry.js} +1 -1
  314. package/dist/ionic/{p-6d32975a.entry.js → p-c2583512.entry.js} +1 -1
  315. package/dist/ionic/{p-efbf5af5.system.entry.js → p-c3f4ea6c.system.entry.js} +1 -1
  316. package/dist/ionic/{p-265939f0.entry.js → p-c3f5dcf9.entry.js} +1 -1
  317. package/dist/ionic/p-c42a4dad.system.entry.js +4 -0
  318. package/dist/ionic/{p-33a8a71b.entry.js → p-c66604e4.entry.js} +1 -1
  319. package/dist/ionic/{p-058e61eb.system.js → p-c6ff3239.system.js} +1 -1
  320. package/dist/ionic/{p-4d413973.system.entry.js → p-ca908a50.system.entry.js} +1 -1
  321. package/dist/ionic/{p-fbf86e62.system.js → p-cc964e4f.system.js} +1 -1
  322. package/dist/ionic/{p-5010643d.system.entry.js → p-d0a7f584.system.entry.js} +1 -1
  323. package/dist/ionic/{p-7ae680ba.system.entry.js → p-d17f0dca.system.entry.js} +1 -1
  324. package/dist/ionic/{p-7458862e.system.entry.js → p-d4896d36.system.entry.js} +1 -1
  325. package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
  326. package/dist/ionic/{p-ed75fcfb.system.entry.js → p-d7fef52e.system.entry.js} +1 -1
  327. package/dist/ionic/{p-a69b9fc5.system.js → p-d86d7845.system.js} +1 -1
  328. package/dist/ionic/{p-dd0c9350.system.entry.js → p-dcc9aaf1.system.entry.js} +1 -1
  329. package/dist/ionic/{p-6190d0d6.entry.js → p-dd0cad9c.entry.js} +1 -1
  330. package/dist/ionic/{p-56da53ad.system.entry.js → p-ddc058a7.system.entry.js} +1 -1
  331. package/dist/ionic/{p-d743e981.js → p-e25cd3c7.js} +1 -1
  332. package/dist/ionic/{p-df862603.entry.js → p-e3357909.entry.js} +1 -1
  333. package/dist/ionic/{p-179bf9d1.system.entry.js → p-e78bff37.system.entry.js} +1 -1
  334. package/dist/ionic/{p-18e101b7.system.entry.js → p-ea7c658c.system.entry.js} +2 -2
  335. package/dist/ionic/{p-9f3008d4.system.js → p-eb4ac14d.system.js} +1 -1
  336. package/dist/ionic/{p-4d3a5f86.js → p-eb599bcb.js} +1 -1
  337. package/dist/ionic/{p-72ec9a26.entry.js → p-eb6f173b.entry.js} +1 -1
  338. package/dist/ionic/{p-89bf08c7.entry.js → p-ebd0a280.entry.js} +1 -1
  339. package/dist/ionic/{p-31a6efce.system.entry.js → p-ef144104.system.entry.js} +1 -1
  340. package/dist/ionic/{p-2cbe5399.entry.js → p-f00ba947.entry.js} +1 -1
  341. package/dist/ionic/{p-8e407469.system.js → p-f1d1c614.system.js} +1 -1
  342. package/dist/ionic/p-f4f255cb.system.js +4 -0
  343. package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
  344. package/dist/ionic/{p-f5d6624d.entry.js → p-faa5e2b9.entry.js} +1 -1
  345. package/dist/ionic/{p-8818edd8.entry.js → p-fd988d29.entry.js} +1 -1
  346. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  347. package/dist/types/components/checkbox/checkbox.d.ts +0 -6
  348. package/dist/types/components/modal/animations/sheet.d.ts +0 -1
  349. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  350. package/dist/types/components/modal/modal-interface.d.ts +0 -1
  351. package/dist/types/components/modal/modal.d.ts +0 -11
  352. package/dist/types/components/select/select.d.ts +0 -6
  353. package/dist/types/components/toggle/toggle.d.ts +0 -6
  354. package/dist/types/components/toolbar/toolbar.d.ts +0 -4
  355. package/dist/types/components.d.ts +0 -32
  356. package/dist/types/utils/config.d.ts +0 -9
  357. package/dist/types/utils/logging/index.d.ts +1 -13
  358. package/dist/types/utils/test/platform.utils.d.ts +1 -1
  359. package/hydrate/index.js +63 -329
  360. package/hydrate/index.mjs +63 -329
  361. package/package.json +2 -2
  362. package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
  363. package/dist/esm-es5/index-6ad967f3.js +0 -4
  364. package/dist/esm-es5/input-shims-dff819a9.js +0 -4
  365. package/dist/esm-es5/status-tap-d07dbc82.js +0 -4
  366. package/dist/ionic/p-0574e87e.js +0 -4
  367. package/dist/ionic/p-16bfb979.system.entry.js +0 -4
  368. package/dist/ionic/p-21227121.js +0 -4
  369. package/dist/ionic/p-22149a4f.js +0 -4
  370. package/dist/ionic/p-322c5fb4.system.js +0 -4
  371. package/dist/ionic/p-34479cfb.entry.js +0 -4
  372. package/dist/ionic/p-3e99e3e0.entry.js +0 -4
  373. package/dist/ionic/p-42c9deb1.entry.js +0 -4
  374. package/dist/ionic/p-49a0e74c.entry.js +0 -4
  375. package/dist/ionic/p-52245809.js +0 -4
  376. package/dist/ionic/p-5c9324c6.js +0 -4
  377. package/dist/ionic/p-67222c16.system.js +0 -4
  378. package/dist/ionic/p-712fedc9.entry.js +0 -4
  379. package/dist/ionic/p-860eb968.system.js +0 -4
  380. package/dist/ionic/p-a18470c6.entry.js +0 -4
  381. package/dist/ionic/p-c3802319.system.js +0 -4
  382. package/dist/ionic/p-e8d56122.js +0 -4
  383. package/dist/ionic/p-f2613334.system.entry.js +0 -4
@@ -62,7 +62,6 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
62
62
  this.labelPlacement = 'start';
63
63
  this.justify = undefined;
64
64
  this.alignment = undefined;
65
- this.required = false;
66
65
  }
67
66
  componentWillLoad() {
68
67
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
@@ -74,11 +73,11 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
74
73
  }
75
74
  }
76
75
  render() {
77
- 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;
78
77
  const mode = getIonMode(this);
79
78
  const path = getSVGPath(mode, indeterminate);
80
79
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
81
- return (h(Host, { key: '07a5884062dd256b570e856270c74a5a09d2f2a5', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
80
+ return (h(Host, { key: '6dc787e1100521d08c4900104e1a3e2f594e919f', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
82
81
  [mode]: true,
83
82
  'in-item': hostContext('ion-item', el),
84
83
  'checkbox-checked': checked,
@@ -88,10 +87,10 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
88
87
  [`checkbox-justify-${justify}`]: justify !== undefined,
89
88
  [`checkbox-alignment-${alignment}`]: alignment !== undefined,
90
89
  [`checkbox-label-placement-${labelPlacement}`]: true,
91
- }), onClick: this.onClick }, h("label", { key: '3439d546e8b60187421db698eab63a0bdd31c973', class: "checkbox-wrapper" }, h("input", Object.assign({ key: '9f45cf7dbdedcf01ec132c11e16979adb1aa102f', 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: '4e882f98939cc4b7c7ab7459c751d3f4bb2023fe', 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: {
92
91
  'label-text-wrapper': true,
93
92
  'label-text-wrapper-hidden': el.textContent === '',
94
- }, part: "label" }, h("slot", { key: '0abda81297a086d02c4a56af75005547971dfcfe' })), h("div", { key: '36489ea3f48a7d0ec46b77c243f9f253ef5c2b3b', class: "native-wrapper" }, h("svg", { key: '4c53b52f5e93752672a34eb6f180b75fa9af9046', 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)))));
95
94
  }
96
95
  getSVGPath(mode, indeterminate) {
97
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" }));
@@ -115,7 +114,6 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
115
114
  "labelPlacement": [1, "label-placement"],
116
115
  "justify": [1],
117
116
  "alignment": [1],
118
- "required": [4],
119
117
  "setFocus": [64]
120
118
  }]);
121
119
  let checkboxIds = 0;
@@ -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
@@ -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, e as renderHiddenInput, f as focusVisibleElement } from './helpers.js';
7
+ import { d as inheritAttributes, f as focusVisibleElement, e as renderHiddenInput } 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,8 +177,15 @@ 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
- // Add logic to scroll selected item into view before presenting
182
- const scrollSelectedIntoView = () => {
180
+ overlay.onDidDismiss().then(() => {
181
+ this.overlay = undefined;
182
+ this.isExpanded = false;
183
+ this.ionDismiss.emit();
184
+ this.setFocus();
185
+ });
186
+ await overlay.present();
187
+ // focus selected option for popovers and modals
188
+ if (this.interface === 'popover' || this.interface === 'modal') {
183
189
  const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
184
190
  if (indexOfSelected > -1) {
185
191
  const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
@@ -197,7 +203,6 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
197
203
  */
198
204
  const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');
199
205
  if (interactiveEl) {
200
- selectedItem.scrollIntoView({ block: 'nearest' });
201
206
  // Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
202
207
  // and removing `ion-focused` style
203
208
  interactiveEl.setFocus();
@@ -221,40 +226,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
221
226
  focusVisibleElement(firstEnabledOption.closest('ion-item'));
222
227
  }
223
228
  }
224
- };
225
- // For modals and popovers, we can scroll before they're visible
226
- if (this.interface === 'modal') {
227
- overlay.addEventListener('ionModalWillPresent', scrollSelectedIntoView, { once: true });
228
- }
229
- else if (this.interface === 'popover') {
230
- overlay.addEventListener('ionPopoverWillPresent', scrollSelectedIntoView, { once: true });
231
229
  }
232
- else {
233
- /**
234
- * For alerts and action sheets, we need to wait a frame after willPresent
235
- * because these overlays don't have their content in the DOM immediately
236
- * when willPresent fires. By waiting a frame, we ensure the content is
237
- * rendered and can be properly scrolled into view.
238
- */
239
- const scrollAfterRender = () => {
240
- requestAnimationFrame(() => {
241
- scrollSelectedIntoView();
242
- });
243
- };
244
- if (this.interface === 'alert') {
245
- overlay.addEventListener('ionAlertWillPresent', scrollAfterRender, { once: true });
246
- }
247
- else if (this.interface === 'action-sheet') {
248
- overlay.addEventListener('ionActionSheetWillPresent', scrollAfterRender, { once: true });
249
- }
250
- }
251
- overlay.onDidDismiss().then(() => {
252
- this.overlay = undefined;
253
- this.isExpanded = false;
254
- this.ionDismiss.emit();
255
- this.setFocus();
256
- });
257
- await overlay.present();
258
230
  return overlay;
259
231
  }
260
232
  createOverlay(ev) {
@@ -634,8 +606,8 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
634
606
  return renderedLabel;
635
607
  }
636
608
  renderListbox() {
637
- const { disabled, inputId, isExpanded, required } = this;
638
- 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) }));
609
+ const { disabled, inputId, isExpanded } = this;
610
+ 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) }));
639
611
  }
640
612
  render() {
641
613
  const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
@@ -666,7 +638,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
666
638
  * TODO(FW-5592): Remove hasStartEndSlots condition
667
639
  */
668
640
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
669
- return (h(Host, { key: 'f7cf03de773cd85da42978e274d65cc1eb6ed8a3', onClick: this.onClick, class: createColorClasses(this.color, {
641
+ return (h(Host, { key: '144dfa5c49549a74fe516c65b9b8104a477ac789', onClick: this.onClick, class: createColorClasses(this.color, {
670
642
  [mode]: true,
671
643
  'in-item': inItem,
672
644
  'in-item-color': hostContext('ion-item.ion-color', el),
@@ -682,7 +654,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
682
654
  [`select-justify-${justify}`]: justifyEnabled,
683
655
  [`select-shape-${shape}`]: shape !== undefined,
684
656
  [`select-label-placement-${labelPlacement}`]: true,
685
- }) }, h("label", { key: '91674f8f5cce37c87a7096d09b3f1d351cba1527', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '2229333833047db13ed2a01cb10bb6e6f774031d', class: "select-wrapper-inner" }, h("slot", { key: 'f2766bdf8bff261efa5711f72d9edef407e45189', name: "start" }), h("div", { key: '84fec020ecaaac41298a01dbffdbb2f3744170b4', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '9b91237d7a1621bce1e15546abcb4f6b74cccc5f', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'e02aea3e8f344376013257f5261a29408e62b359', class: "select-highlight" }))));
657
+ }) }, h("label", { key: '0edcfcbac575a9dccc77991531b6980d1caebf42', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '348151d90cb093f5d21c7d4a834264ac4a312c40', class: "select-wrapper-inner" }, h("slot", { key: '8b7708c7f81217435c58276da0c08bba766d9500', name: "start" }), h("div", { key: '10c520a335da0a0d1cf40f9365597beb244d3b48', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '0f15c40a5495e98e29d2a21ba21e0bc6f1c0125a', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'c87faad2e5ebf7f9453397d7ede43abd64d21294', class: "select-highlight" }))));
686
658
  }
687
659
  get el() { return this; }
688
660
  static get watchers() { return {
@@ -715,7 +687,6 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
715
687
  "expandedIcon": [1, "expanded-icon"],
716
688
  "shape": [1],
717
689
  "value": [1032],
718
- "required": [4],
719
690
  "isExpanded": [32],
720
691
  "open": [64]
721
692
  }, 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"]
@@ -143,7 +143,8 @@ const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
143
143
  const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
144
144
  const isCapacitorNative = (win) => {
145
145
  const capacitor = win['Capacitor'];
146
- return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
146
+ // TODO(ROU-11693): Remove when we no longer support Capacitor 2, which does not have isNativePlatform
147
+ return !!((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative) || ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNativePlatform) && !!capacitor.isNativePlatform()));
147
148
  };
148
149
  const isElectron = (win) => testUserAgent(win, /electron/i);
149
150
  const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };