@ionic/core 8.8.20-dev.11788449221.155f9f1e → 8.8.20-dev.11789504012.1a675914

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 (418) hide show
  1. package/components/ion-accordion.js +1 -1
  2. package/components/ion-action-sheet.js +1 -1
  3. package/components/ion-alert.js +1 -1
  4. package/components/ion-back-button.js +1 -1
  5. package/components/ion-breadcrumb.js +1 -1
  6. package/components/ion-button.js +1 -1
  7. package/components/ion-card.js +1 -1
  8. package/components/ion-checkbox.js +1 -1
  9. package/components/ion-chip.js +1 -1
  10. package/components/ion-col.js +1 -1
  11. package/components/ion-content.js +1 -1
  12. package/components/ion-datetime-button.js +1 -1
  13. package/components/ion-datetime.js +1 -1
  14. package/components/ion-divider.js +1 -1
  15. package/components/ion-fab-button.js +1 -1
  16. package/components/ion-fab-list.js +1 -1
  17. package/components/ion-fab.js +1 -1
  18. package/components/ion-footer.js +1 -1
  19. package/components/ion-gallery-item.js +1 -1
  20. package/components/ion-gallery.js +1 -1
  21. package/components/ion-grid.js +1 -1
  22. package/components/ion-header.js +1 -1
  23. package/components/ion-img.js +1 -1
  24. package/components/ion-infinite-scroll-content.js +1 -1
  25. package/components/ion-infinite-scroll.js +1 -1
  26. package/components/ion-input-otp.js +1 -1
  27. package/components/ion-input-password-toggle.js +1 -1
  28. package/components/ion-input.js +1 -1
  29. package/components/ion-item-divider.js +1 -1
  30. package/components/ion-item-group.js +1 -1
  31. package/components/ion-item-option.js +1 -1
  32. package/components/ion-item-options.js +1 -1
  33. package/components/ion-item-sliding.js +1 -1
  34. package/components/ion-item.js +1 -1
  35. package/components/ion-label.js +1 -1
  36. package/components/ion-list-header.js +1 -1
  37. package/components/ion-list.js +1 -1
  38. package/components/ion-loading.js +1 -1
  39. package/components/ion-menu-button.js +1 -1
  40. package/components/ion-menu-toggle.js +1 -1
  41. package/components/ion-menu.js +1 -1
  42. package/components/ion-modal.js +1 -1
  43. package/components/ion-nav-link.js +1 -1
  44. package/components/ion-nav.js +1 -1
  45. package/components/ion-note.js +1 -1
  46. package/components/ion-picker-column-option.js +1 -1
  47. package/components/ion-picker-column.js +1 -1
  48. package/components/ion-picker-legacy-column.js +1 -1
  49. package/components/ion-picker-legacy.js +1 -1
  50. package/components/ion-picker.js +1 -1
  51. package/components/ion-popover.js +1 -1
  52. package/components/ion-progress-bar.js +1 -1
  53. package/components/ion-radio-group.js +1 -1
  54. package/components/ion-radio.js +1 -1
  55. package/components/ion-range.js +1 -1
  56. package/components/ion-refresher-content.js +1 -1
  57. package/components/ion-refresher.js +1 -1
  58. package/components/ion-reorder-group.js +1 -1
  59. package/components/ion-reorder.js +1 -1
  60. package/components/ion-ripple-effect.js +1 -1
  61. package/components/ion-router-link.js +1 -1
  62. package/components/ion-router-outlet.js +1 -1
  63. package/components/ion-row.js +1 -1
  64. package/components/ion-searchbar.js +1 -1
  65. package/components/ion-segment-button.js +1 -1
  66. package/components/ion-segment-content.js +1 -1
  67. package/components/ion-segment-view.js +1 -1
  68. package/components/ion-segment.js +1 -1
  69. package/components/ion-select-modal.js +1 -1
  70. package/components/ion-select-option.js +1 -1
  71. package/components/ion-select-popover.js +1 -1
  72. package/components/ion-select.js +1 -1
  73. package/components/ion-skeleton-text.js +1 -1
  74. package/components/ion-spinner.js +1 -1
  75. package/components/ion-split-pane.js +1 -1
  76. package/components/ion-tab-bar.js +1 -1
  77. package/components/ion-tab-button.js +1 -1
  78. package/components/ion-tab.js +1 -1
  79. package/components/ion-tabs.js +1 -1
  80. package/components/ion-text.js +1 -1
  81. package/components/ion-textarea.js +1 -1
  82. package/components/ion-thumbnail.js +1 -1
  83. package/components/ion-title.js +1 -1
  84. package/components/ion-toast.js +1 -1
  85. package/components/ion-toggle.js +1 -1
  86. package/components/ion-toolbar.js +1 -1
  87. package/components/p-0MMiHJhx.js +4 -0
  88. package/components/{p-Cc3oC60a.js → p-0rXxxCTt.js} +1 -1
  89. package/components/{p-D6zl6ZA8.js → p-BXXTyrCp.js} +1 -1
  90. package/components/{p-D2tZEPGv.js → p-BZxBDeEU.js} +1 -1
  91. package/components/{p-DkfVuzjA.js → p-BcWO94Sl.js} +1 -1
  92. package/components/{p-BrF4HSay.js → p-Br6q6Rgq.js} +1 -1
  93. package/components/{p-CaXMr1SL.js → p-C-cw-bM-.js} +1 -1
  94. package/components/{p-B_a4XnF2.js → p-C2J-Hvv3.js} +1 -1
  95. package/components/{p-CHB9zWT6.js → p-C5Bnq_Hm.js} +1 -1
  96. package/components/{p-CxoHM559.js → p-C5JYXyPD.js} +1 -1
  97. package/components/{p-DNweMi32.js → p-C898H5L0.js} +1 -1
  98. package/components/{p-B39i6rpY.js → p-C8kcgEG7.js} +1 -1
  99. package/components/{p-BLP69XoA.js → p-CH8ypgvS.js} +1 -1
  100. package/components/{p-C1L59jNd.js → p-CMtmHGrE.js} +1 -1
  101. package/components/{p-C784We0w.js → p-CNlz8OTE.js} +1 -1
  102. package/components/p-CToV3-ig.js +4 -0
  103. package/components/p-CV7PNBGr.js +4 -0
  104. package/components/p-CgbD1udy.js +4 -0
  105. package/components/p-ClTdIlic.js +4 -0
  106. package/components/{p-Bs5kME4N.js → p-Dh1f5tAK.js} +1 -1
  107. package/components/{p-CWqLCAML.js → p-DqkLOArC.js} +1 -1
  108. package/components/{p-BUePQFRZ.js → p-WeNgVmOy.js} +1 -1
  109. package/components/p-eRqVSlkn.js +4 -0
  110. package/components/{p-Ds3yn-R0.js → p-fUXE2zLc.js} +1 -1
  111. package/components/p-pztWcmzj.js +4 -0
  112. package/dist/cjs/ion-accordion_2.cjs.entry.js +9 -13
  113. package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
  114. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  115. package/dist/cjs/ion-back-button.cjs.entry.js +10 -11
  116. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +16 -27
  117. package/dist/cjs/ion-checkbox.cjs.entry.js +22 -14
  118. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  119. package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
  120. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  121. package/dist/cjs/ion-datetime_3.cjs.entry.js +16 -48
  122. package/dist/cjs/ion-divider.cjs.entry.js +2 -2
  123. package/dist/cjs/ion-fab_3.cjs.entry.js +13 -17
  124. package/dist/cjs/ion-gallery-item.cjs.entry.js +2 -2
  125. package/dist/cjs/ion-gallery.cjs.entry.js +2 -2
  126. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  127. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  128. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  129. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -27
  130. package/dist/cjs/ion-input.cjs.entry.js +6 -13
  131. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  132. package/dist/cjs/ion-item_8.cjs.entry.js +22 -26
  133. package/dist/cjs/ion-loading.cjs.entry.js +2 -2
  134. package/dist/cjs/ion-menu_3.cjs.entry.js +13 -15
  135. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  136. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  137. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  138. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  139. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  140. package/dist/cjs/ion-popover.cjs.entry.js +2 -2
  141. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  142. package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
  143. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  144. package/dist/cjs/ion-refresher_2.cjs.entry.js +11 -6
  145. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -13
  146. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  147. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  148. package/dist/cjs/ion-searchbar.cjs.entry.js +8 -34
  149. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  150. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  151. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  152. package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
  153. package/dist/cjs/ion-select_3.cjs.entry.js +10 -23
  154. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  155. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  156. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  157. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  158. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  159. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  160. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  161. package/dist/cjs/ion-toggle.cjs.entry.js +12 -27
  162. package/dist/cjs/ionic.cjs.js +1 -1
  163. package/dist/cjs/loader.cjs.js +1 -1
  164. package/dist/collection/components/accordion/accordion.js +9 -13
  165. package/dist/collection/components/back-button/back-button.js +10 -11
  166. package/dist/collection/components/breadcrumb/breadcrumb.js +16 -26
  167. package/dist/collection/components/checkbox/checkbox.ionic.css +33 -40
  168. package/dist/collection/components/checkbox/checkbox.ios.css +30 -24
  169. package/dist/collection/components/checkbox/checkbox.js +22 -12
  170. package/dist/collection/components/checkbox/checkbox.md.css +30 -24
  171. package/dist/collection/components/chip/chip.js +2 -2
  172. package/dist/collection/components/col/col.js +2 -2
  173. package/dist/collection/components/content/content.js +3 -3
  174. package/dist/collection/components/datetime/datetime.js +12 -44
  175. package/dist/collection/components/datetime-button/datetime-button.js +2 -2
  176. package/dist/collection/components/divider/divider.js +2 -2
  177. package/dist/collection/components/fab/fab.js +2 -2
  178. package/dist/collection/components/fab-button/fab-button.js +9 -13
  179. package/dist/collection/components/fab-list/fab-list.js +2 -2
  180. package/dist/collection/components/footer/footer.js +2 -2
  181. package/dist/collection/components/gallery/gallery.js +2 -2
  182. package/dist/collection/components/gallery-item/gallery-item.js +2 -2
  183. package/dist/collection/components/grid/grid.js +2 -2
  184. package/dist/collection/components/header/header.js +2 -2
  185. package/dist/collection/components/img/img.js +2 -2
  186. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  187. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  188. package/dist/collection/components/input/input.js +6 -13
  189. package/dist/collection/components/input-otp/input-otp.js +3 -3
  190. package/dist/collection/components/input-password-toggle/input-password-toggle.js +18 -26
  191. package/dist/collection/components/item/item.js +10 -14
  192. package/dist/collection/components/item-divider/item-divider.js +2 -2
  193. package/dist/collection/components/item-group/item-group.js +1 -1
  194. package/dist/collection/components/item-option/item-option.js +2 -2
  195. package/dist/collection/components/item-options/item-options.js +1 -1
  196. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  197. package/dist/collection/components/label/label.js +2 -2
  198. package/dist/collection/components/list/list.js +1 -1
  199. package/dist/collection/components/list-header/list-header.js +2 -2
  200. package/dist/collection/components/loading/loading.js +2 -2
  201. package/dist/collection/components/menu/menu.js +2 -2
  202. package/dist/collection/components/menu-button/menu-button.js +9 -11
  203. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  204. package/dist/collection/components/modal/modal.js +4 -4
  205. package/dist/collection/components/nav/nav.js +1 -1
  206. package/dist/collection/components/nav-link/nav-link.js +1 -1
  207. package/dist/collection/components/note/note.js +2 -2
  208. package/dist/collection/components/picker/picker.js +2 -2
  209. package/dist/collection/components/picker-column/picker-column.js +3 -3
  210. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  211. package/dist/collection/components/picker-legacy/picker.js +2 -2
  212. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  213. package/dist/collection/components/popover/popover.js +2 -2
  214. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  215. package/dist/collection/components/radio/radio.js +3 -3
  216. package/dist/collection/components/radio-group/radio-group.js +2 -2
  217. package/dist/collection/components/range/range.js +3 -3
  218. package/dist/collection/components/refresher/refresher.js +1 -1
  219. package/dist/collection/components/refresher-content/refresher-content.js +10 -4
  220. package/dist/collection/components/reorder/reorder.js +5 -12
  221. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  222. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  223. package/dist/collection/components/router-link/router-link.js +2 -2
  224. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  225. package/dist/collection/components/row/row.js +2 -2
  226. package/dist/collection/components/searchbar/searchbar.js +8 -32
  227. package/dist/collection/components/segment/segment.js +2 -2
  228. package/dist/collection/components/segment-button/segment-button.js +2 -2
  229. package/dist/collection/components/segment-content/segment-content.js +1 -1
  230. package/dist/collection/components/segment-view/segment-view.js +2 -2
  231. package/dist/collection/components/select/select.js +7 -20
  232. package/dist/collection/components/select-modal/select-modal.js +10 -8
  233. package/dist/collection/components/select-option/select-option.js +1 -1
  234. package/dist/collection/components/select-popover/select-popover.js +2 -2
  235. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  236. package/dist/collection/components/spinner/spinner.js +1 -1
  237. package/dist/collection/components/split-pane/split-pane.js +2 -2
  238. package/dist/collection/components/tab/tab.js +2 -2
  239. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  240. package/dist/collection/components/tab-button/tab-button.js +2 -2
  241. package/dist/collection/components/tabs/tabs.js +1 -1
  242. package/dist/collection/components/text/text.js +2 -2
  243. package/dist/collection/components/textarea/textarea.js +3 -3
  244. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  245. package/dist/collection/components/title/title.js +2 -2
  246. package/dist/collection/components/toast/toast.js +2 -2
  247. package/dist/collection/components/toggle/toggle.js +12 -25
  248. package/dist/collection/components/toolbar/toolbar.js +2 -2
  249. package/dist/docs.json +23 -10
  250. package/dist/esm/{index-B4Kq2YNk.js → index-PnwG0glX.js} +1 -1
  251. package/dist/esm/ion-accordion_2.entry.js +10 -14
  252. package/dist/esm/ion-app_8.entry.js +12 -12
  253. package/dist/esm/ion-avatar_3.entry.js +2 -2
  254. package/dist/esm/ion-back-button.entry.js +11 -12
  255. package/dist/esm/ion-breadcrumb_2.entry.js +17 -28
  256. package/dist/esm/ion-checkbox.entry.js +23 -15
  257. package/dist/esm/ion-chip.entry.js +2 -2
  258. package/dist/esm/ion-col_3.entry.js +6 -6
  259. package/dist/esm/ion-datetime-button.entry.js +2 -2
  260. package/dist/esm/ion-datetime_3.entry.js +17 -49
  261. package/dist/esm/ion-divider.entry.js +2 -2
  262. package/dist/esm/ion-fab_3.entry.js +14 -18
  263. package/dist/esm/ion-gallery-item.entry.js +2 -2
  264. package/dist/esm/ion-gallery.entry.js +2 -2
  265. package/dist/esm/ion-img.entry.js +2 -2
  266. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  267. package/dist/esm/ion-input-otp.entry.js +3 -3
  268. package/dist/esm/ion-input-password-toggle.entry.js +19 -29
  269. package/dist/esm/ion-input.entry.js +7 -14
  270. package/dist/esm/ion-item-option_3.entry.js +4 -4
  271. package/dist/esm/ion-item_8.entry.js +23 -27
  272. package/dist/esm/ion-loading.entry.js +2 -2
  273. package/dist/esm/ion-menu_3.entry.js +14 -16
  274. package/dist/esm/ion-modal.entry.js +4 -4
  275. package/dist/esm/ion-nav_2.entry.js +2 -2
  276. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  277. package/dist/esm/ion-picker-column.entry.js +3 -3
  278. package/dist/esm/ion-picker.entry.js +2 -2
  279. package/dist/esm/ion-popover.entry.js +2 -2
  280. package/dist/esm/ion-progress-bar.entry.js +1 -1
  281. package/dist/esm/ion-radio_2.entry.js +5 -5
  282. package/dist/esm/ion-range.entry.js +3 -3
  283. package/dist/esm/ion-refresher_2.entry.js +12 -7
  284. package/dist/esm/ion-reorder_2.entry.js +7 -14
  285. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  286. package/dist/esm/ion-route_4.entry.js +2 -2
  287. package/dist/esm/ion-searchbar.entry.js +9 -35
  288. package/dist/esm/ion-segment-content.entry.js +1 -1
  289. package/dist/esm/ion-segment-view.entry.js +2 -2
  290. package/dist/esm/ion-segment_2.entry.js +4 -4
  291. package/dist/esm/ion-select-modal.entry.js +11 -10
  292. package/dist/esm/ion-select_3.entry.js +11 -24
  293. package/dist/esm/ion-spinner.entry.js +1 -1
  294. package/dist/esm/ion-split-pane.entry.js +2 -2
  295. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  296. package/dist/esm/ion-tab_2.entry.js +3 -3
  297. package/dist/esm/ion-text.entry.js +2 -2
  298. package/dist/esm/ion-textarea.entry.js +3 -3
  299. package/dist/esm/ion-toast.entry.js +2 -2
  300. package/dist/esm/ion-toggle.entry.js +13 -28
  301. package/dist/esm/ionic.js +1 -1
  302. package/dist/esm/loader.js +1 -1
  303. package/dist/ionic/ionic.esm.js +1 -1
  304. package/dist/ionic/{p-2e0184c0.entry.js → p-0115c2fa.entry.js} +1 -1
  305. package/dist/ionic/p-0b2c58e0.entry.js +4 -0
  306. package/dist/ionic/{p-fc726f4a.entry.js → p-0bfb8d9e.entry.js} +1 -1
  307. package/dist/ionic/{p-68e453f7.entry.js → p-1147fa06.entry.js} +1 -1
  308. package/dist/ionic/{p-c4ed1e18.entry.js → p-1e45586e.entry.js} +1 -1
  309. package/dist/ionic/p-208cecae.entry.js +4 -0
  310. package/dist/ionic/p-29f69d29.entry.js +4 -0
  311. package/dist/ionic/{p-d9ac7a0d.entry.js → p-2b5e04c5.entry.js} +1 -1
  312. package/dist/ionic/{p-31a0c9c2.entry.js → p-311ef139.entry.js} +1 -1
  313. package/dist/ionic/{p-1ce65194.entry.js → p-3eff3411.entry.js} +1 -1
  314. package/dist/ionic/p-3f17704b.entry.js +4 -0
  315. package/dist/ionic/p-46e754ae.entry.js +4 -0
  316. package/dist/ionic/{p-b4901bce.entry.js → p-4901a10b.entry.js} +1 -1
  317. package/dist/ionic/{p-1b473bad.entry.js → p-4c8178d8.entry.js} +1 -1
  318. package/dist/ionic/p-5196bee9.entry.js +4 -0
  319. package/dist/ionic/{p-c4ebdfd2.entry.js → p-5386b094.entry.js} +1 -1
  320. package/dist/ionic/{p-2365483a.entry.js → p-54579b68.entry.js} +1 -1
  321. package/dist/ionic/{p-ff74cf5d.entry.js → p-54baa1af.entry.js} +1 -1
  322. package/dist/ionic/{p-2bf60b77.entry.js → p-59e59209.entry.js} +1 -1
  323. package/dist/ionic/p-5ad0c670.entry.js +4 -0
  324. package/dist/ionic/{p-9db78e5c.entry.js → p-62602fbd.entry.js} +1 -1
  325. package/dist/ionic/{p-316eed75.entry.js → p-6b86cb62.entry.js} +1 -1
  326. package/dist/ionic/p-7134537b.entry.js +4 -0
  327. package/dist/ionic/p-72eacca0.entry.js +4 -0
  328. package/dist/ionic/{p-296226f1.entry.js → p-7ae06f6f.entry.js} +1 -1
  329. package/dist/ionic/p-7bde9ee1.entry.js +4 -0
  330. package/dist/ionic/p-87ab986c.entry.js +4 -0
  331. package/dist/ionic/{p-8303462c.entry.js → p-9dff6288.entry.js} +1 -1
  332. package/dist/ionic/p-9e09cb80.entry.js +4 -0
  333. package/dist/ionic/{p-B4Kq2YNk.js → p-PnwG0glX.js} +1 -1
  334. package/dist/ionic/p-a320cdb2.entry.js +4 -0
  335. package/dist/ionic/{p-731d11e1.entry.js → p-a4bed36b.entry.js} +1 -1
  336. package/dist/ionic/{p-75c7595c.entry.js → p-a7914fe5.entry.js} +1 -1
  337. package/dist/ionic/p-aa298c58.entry.js +4 -0
  338. package/dist/ionic/{p-be06def7.entry.js → p-ace3062d.entry.js} +1 -1
  339. package/dist/ionic/{p-ddc41dbb.entry.js → p-b70775b0.entry.js} +1 -1
  340. package/dist/ionic/{p-2016c1c0.entry.js → p-b7c75507.entry.js} +1 -1
  341. package/dist/ionic/p-b920f149.entry.js +4 -0
  342. package/dist/ionic/p-c39025c0.entry.js +4 -0
  343. package/dist/ionic/{p-2e1d650a.entry.js → p-c9cda5ce.entry.js} +1 -1
  344. package/dist/ionic/{p-f6768728.entry.js → p-cc314123.entry.js} +1 -1
  345. package/dist/ionic/p-d1f42864.entry.js +4 -0
  346. package/dist/ionic/p-d4506138.entry.js +4 -0
  347. package/dist/ionic/{p-f0968c91.entry.js → p-dbd06d8d.entry.js} +1 -1
  348. package/dist/ionic/{p-a9df0ccf.entry.js → p-dda49380.entry.js} +1 -1
  349. package/dist/ionic/{p-5dedd699.entry.js → p-e95618c4.entry.js} +1 -1
  350. package/dist/ionic/{p-b25f3aba.entry.js → p-f89fcf62.entry.js} +1 -1
  351. package/dist/ionic/p-fcce2dda.entry.js +4 -0
  352. package/dist/ionic/p-fd2a869f.entry.js +4 -0
  353. package/dist/ionic/{p-bb7bb4fd.entry.js → p-fd95a423.entry.js} +1 -1
  354. package/dist/ionic/{p-7cbf17f0.entry.js → p-fe14205b.entry.js} +1 -1
  355. package/dist/types/components/accordion/accordion.d.ts +6 -0
  356. package/dist/types/components/back-button/back-button.d.ts +6 -0
  357. package/dist/types/components/breadcrumb/breadcrumb.d.ts +10 -0
  358. package/dist/types/components/checkbox/checkbox.d.ts +12 -1
  359. package/dist/types/components/datetime/datetime.d.ts +4 -4
  360. package/dist/types/components/fab-button/fab-button.d.ts +6 -0
  361. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +12 -0
  362. package/dist/types/components/item/item.d.ts +6 -0
  363. package/dist/types/components/menu-button/menu-button.d.ts +5 -0
  364. package/dist/types/components/refresher-content/refresher-content.d.ts +6 -0
  365. package/dist/types/components/reorder/reorder.d.ts +1 -1
  366. package/dist/types/components/select-modal/select-modal.d.ts +5 -0
  367. package/dist/types/components/toggle/toggle.d.ts +5 -2
  368. package/dist/types/utils/config.d.ts +19 -0
  369. package/hydrate/index.js +297 -415
  370. package/hydrate/index.mjs +297 -415
  371. package/package.json +1 -2
  372. package/components/p-BDqjX7Z_.js +0 -4
  373. package/components/p-BYSs-jZz.js +0 -4
  374. package/components/p-BnQAsi91.js +0 -4
  375. package/components/p-C5F5Zw01.js +0 -4
  376. package/components/p-CA81qANP.js +0 -4
  377. package/components/p-CJNsztW3.js +0 -4
  378. package/components/p-CaB0_AG0.js +0 -4
  379. package/components/p-D1t981Ih.js +0 -4
  380. package/components/p-Dhi5xtNS.js +0 -4
  381. package/components/p-VrmyB-Wu.js +0 -4
  382. package/components/p-fIOYmaqA.js +0 -4
  383. package/components/p-vUGYs065.js +0 -4
  384. package/dist/cjs/caret-down-vtVgfXIs.js +0 -8
  385. package/dist/cjs/caret-left-CxZXLRv5.js +0 -8
  386. package/dist/cjs/caret-right-CRCgv98E.js +0 -8
  387. package/dist/cjs/list-a-7GSA6K.js +0 -8
  388. package/dist/cjs/x-BTF99yFH.js +0 -8
  389. package/dist/esm/caret-down-D1t981Ih.js +0 -6
  390. package/dist/esm/caret-left-fIOYmaqA.js +0 -6
  391. package/dist/esm/caret-right-BYSs-jZz.js +0 -6
  392. package/dist/esm/list-Dhi5xtNS.js +0 -6
  393. package/dist/esm/x-BDqjX7Z_.js +0 -6
  394. package/dist/ionic/p-0166d6e5.entry.js +0 -4
  395. package/dist/ionic/p-0a0a66e2.entry.js +0 -4
  396. package/dist/ionic/p-0c636ad3.entry.js +0 -4
  397. package/dist/ionic/p-126031d2.entry.js +0 -4
  398. package/dist/ionic/p-1a609156.entry.js +0 -4
  399. package/dist/ionic/p-1c1c18da.entry.js +0 -4
  400. package/dist/ionic/p-2a54aec2.entry.js +0 -4
  401. package/dist/ionic/p-40a21a22.entry.js +0 -4
  402. package/dist/ionic/p-431bc3ce.entry.js +0 -4
  403. package/dist/ionic/p-51542c69.entry.js +0 -4
  404. package/dist/ionic/p-711ba315.entry.js +0 -4
  405. package/dist/ionic/p-76232f5f.entry.js +0 -4
  406. package/dist/ionic/p-BDqjX7Z_.js +0 -4
  407. package/dist/ionic/p-BYSs-jZz.js +0 -4
  408. package/dist/ionic/p-D1t981Ih.js +0 -4
  409. package/dist/ionic/p-Dhi5xtNS.js +0 -4
  410. package/dist/ionic/p-ac3af8af.entry.js +0 -4
  411. package/dist/ionic/p-b3da2cc7.entry.js +0 -4
  412. package/dist/ionic/p-b4533070.entry.js +0 -4
  413. package/dist/ionic/p-c0983eac.entry.js +0 -4
  414. package/dist/ionic/p-dc8a8505.entry.js +0 -4
  415. package/dist/ionic/p-df642ef5.entry.js +0 -4
  416. package/dist/ionic/p-e086f8c3.entry.js +0 -4
  417. package/dist/ionic/p-edd8f490.entry.js +0 -4
  418. package/dist/ionic/p-fIOYmaqA.js +0 -4
@@ -1,7 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import caretDownRegular from "@phosphor-icons/core/assets/regular/caret-down.svg";
5
4
  import { Host, h } from "@stencil/core";
6
5
  import { addEventListener, getElementRoot, raf, removeEventListener, transitionEndAsync } from "../../utils/helpers";
7
6
  import { hostContext } from "../../utils/theme";
@@ -365,22 +364,19 @@ export class Accordion {
365
364
  this.setAria(expanded);
366
365
  });
367
366
  }
367
+ /**
368
+ * Get the icon to use for the toggle icon.
369
+ * If an icon is set on the component, use that.
370
+ * Otherwise, use the icon set in the config.
371
+ * If no icon is set in the config, use the default icon.
372
+ */
368
373
  get accordionToggleIcon() {
369
374
  // Return the icon if it is explicitly set
370
375
  if (this.toggleIcon != null) {
371
376
  return this.toggleIcon;
372
377
  }
373
- // Determine the theme and map to default icons
374
- const theme = getIonTheme(this);
375
- const defaultIcons = {
376
- ios: chevronDown,
377
- ionic: caretDownRegular,
378
- md: chevronDown,
379
- };
380
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
381
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
382
378
  // Return the configured accordion toggle icon or the default icon
383
- return config.get('accordionToggleIcon', defaultIcon);
379
+ return config.get('accordionToggleIcon', chevronDown);
384
380
  }
385
381
  toggleExpanded() {
386
382
  const { accordionGroupEl, disabled, readonly, value, state } = this;
@@ -411,7 +407,7 @@ export class Accordion {
411
407
  const headerPart = expanded ? 'header expanded' : 'header';
412
408
  const contentPart = expanded ? 'content expanded' : 'content';
413
409
  this.setAria(expanded);
414
- return (h(Host, { key: 'dc4f4369be66507b8b0f0e28a8ab73d0d11d89ca', class: {
410
+ return (h(Host, { key: '2e516386263715b2843c0af02e7ac928df1da007', class: {
415
411
  [theme]: true,
416
412
  'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,
417
413
  'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,
@@ -424,7 +420,7 @@ export class Accordion {
424
420
  'accordion-readonly': readonly,
425
421
  'accordion-animated': this.shouldAnimate(),
426
422
  'in-accordion-group-expand-inset': hostContext('.accordion-group-expand-inset', this.el),
427
- }, tabindex: disabled ? '-1' : undefined }, h("div", { key: '3e67b334a8b12eb337d2deae47b6a661cba41c74', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, h("slot", { key: 'ae7618fb460577c6c31995d8e842c1de16263985', name: "header" })), h("div", { key: '9fc9964f77b9344f763c9adf69ce0bc09534bc75', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, h("div", { key: '996cf517f866dc516e4ce488c647364e8b2726c8', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: 'b48b4bc14e8ea1ef04c3e5acebbdf6f7c543c4c7', name: "content" })))));
423
+ }, tabindex: disabled ? '-1' : undefined }, h("div", { key: 'd865a68388a1a7e6d594258a277a0b72a2565043', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, h("slot", { key: '1a5b7987a7e2b4903bdf5575c10f2995bcbc7a64', name: "header" })), h("div", { key: 'dbba2ad70c192a08e73e490876ad57f35499c551', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, h("div", { key: '0183fb76b3a8356b0d1d3f5cd53dd77e1bc196f4', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: 'fa38df103feb66a412d7998e664f3c4818b20f75', name: "content" })))));
428
424
  }
429
425
  static get is() { return "ion-accordion"; }
430
426
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import caretLeftRegular from "@phosphor-icons/core/assets/regular/caret-left.svg";
5
4
  import { Host, h } from "@stencil/core";
6
5
  import { inheritAriaAttributes } from "../../utils/helpers";
7
6
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
@@ -42,20 +41,20 @@ export class BackButton {
42
41
  this.defaultHref = config.get('backButtonDefaultHref');
43
42
  }
44
43
  }
44
+ /**
45
+ * Get the icon to use for the back button icon.
46
+ * If an icon is set on the component, use that.
47
+ * Otherwise, use the icon set in the config.
48
+ * If no icon is set in the config, use the default icon.
49
+ */
45
50
  get backButtonIcon() {
46
51
  // Return the icon if it is explicitly set
47
52
  if (this.icon != null) {
48
53
  return this.icon;
49
54
  }
50
- // Determine the theme and map to default icons
55
+ // Determine the theme and map to the default icon
51
56
  const theme = getIonTheme(this);
52
- const defaultIcons = {
53
- ios: chevronBack,
54
- ionic: caretLeftRegular,
55
- md: arrowBackSharp,
56
- };
57
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
58
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
57
+ const defaultIcon = theme === 'ios' ? chevronBack : arrowBackSharp;
59
58
  // Return the configured back button icon or the default icon
60
59
  return config.get('backButtonIcon', defaultIcon);
61
60
  }
@@ -79,7 +78,7 @@ export class BackButton {
79
78
  const showBackButton = defaultHref !== undefined;
80
79
  const theme = getIonTheme(this);
81
80
  const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
82
- return (h(Host, { key: '30cb7e566ef5182691373de93dbe694fb8cf72ed', onClick: this.onClick, class: createColorClasses(color, {
81
+ return (h(Host, { key: '3ca97664cddb7582c8344b79143b81a9fb7f167a', onClick: this.onClick, class: createColorClasses(color, {
83
82
  [theme]: true,
84
83
  button: true, // ion-buttons target .button
85
84
  'back-button-disabled': disabled,
@@ -89,7 +88,7 @@ export class BackButton {
89
88
  'ion-activatable': true,
90
89
  'ion-focusable': true,
91
90
  'show-back-button': showBackButton,
92
- }) }, h("button", { key: 'be59bfbfec6e6591afee4beff7f0527bdd432dab', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '9118e5a082f9092307d80a53307f768461403928', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: '14193bf4f0edd1ba45f83ab664ddbe08f541997f', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: 'a83a8cdb8a95d67ff997c1e366a46c7ec2f7b9fc', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && h("ion-ripple-effect", { key: '11c5cc4b5eb3fc19db6e094d549546200ba2b90e', type: this.rippleType }))));
91
+ }) }, h("button", { key: '49ec4655d6fbec75fd2b6f70973f98896d9accfe', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '8d701f9933253edab3627adf1b4dae681993e901', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: 'd5064dc4e5a327335fd45f21567fc1188cfcb635', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '9c6611126bc7df058cb4c5669ec35c2456568717', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && h("ion-ripple-effect", { key: '2a88e395bc178ff2d1d14fcb8def5d679cb2e527', type: this.rippleType }))));
93
92
  }
94
93
  static get is() { return "ion-back-button"; }
95
94
  static get encapsulation() { return "shadow"; }
@@ -1,8 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import caretRightRegular from "@phosphor-icons/core/assets/regular/caret-right.svg";
5
- import dotsThreeRegular from "@phosphor-icons/core/assets/regular/dots-three.svg";
6
4
  import { Host, h } from "@stencil/core";
7
5
  import { inheritAriaAttributes } from "../../utils/helpers";
8
6
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
@@ -50,31 +48,23 @@ export class Breadcrumb {
50
48
  componentWillLoad() {
51
49
  this.inheritedAttributes = inheritAriaAttributes(this.el);
52
50
  }
51
+ /**
52
+ * Get the icon to use for the collapsed icon.
53
+ * Use the icon set in the config.
54
+ * If no icon is set in the config, use the default icon.
55
+ */
53
56
  get breadcrumbCollapsedIcon() {
54
- // Determine the theme and map to default icons
55
- const theme = getIonTheme(this);
56
- const defaultIcons = {
57
- ios: ellipsisHorizontal,
58
- ionic: dotsThreeRegular,
59
- md: ellipsisHorizontal,
60
- };
61
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
62
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
63
57
  // Return the configured breadcrumb collapsed icon or the default icon
64
- return config.get('breadcrumbCollapsedIcon', defaultIcon);
58
+ return config.get('breadcrumbCollapsedIcon', ellipsisHorizontal);
65
59
  }
60
+ /**
61
+ * Get the icon to use for the separator icon.
62
+ * Use the icon set in the config.
63
+ * If no icon is set in the config, use the default icon.
64
+ */
66
65
  get breadcrumbSeparatorIcon() {
67
- // Determine the theme and map to default icons
68
- const theme = getIonTheme(this);
69
- const defaultIcons = {
70
- ios: chevronForwardOutline,
71
- ionic: caretRightRegular,
72
- md: chevronForwardOutline,
73
- };
74
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
75
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
76
66
  // Return the configured breadcrumb separator icon or the default icon
77
- return config.get('breadcrumbSeparatorIcon', defaultIcon);
67
+ return config.get('breadcrumbSeparatorIcon', chevronForwardOutline);
78
68
  }
79
69
  isClickable() {
80
70
  return this.href !== undefined;
@@ -98,7 +88,7 @@ export class Breadcrumb {
98
88
  // to show the separator as long as it isn't also the last breadcrumb
99
89
  // otherwise if not collapsed use the value in separator
100
90
  const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;
101
- return (h(Host, { key: 'eb02645656f4ee3752aa9f6c4dee2e57a8ee7527', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
91
+ return (h(Host, { key: '6b586bce50f2956edf0acd8506381b2cb14875f7', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
102
92
  [theme]: true,
103
93
  'breadcrumb-active': active,
104
94
  'breadcrumb-collapsed': collapsed,
@@ -108,15 +98,15 @@ export class Breadcrumb {
108
98
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
109
99
  'ion-activatable': clickable,
110
100
  'ion-focusable': clickable,
111
- }) }, h(TagType, Object.assign({ key: '54ea53cd2e2f6cabca07565574971c80681f49d8' }, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("slot", { key: 'bd61fa6839550c381d559b0c3dccd42469374de2', name: "start" }), h("slot", { key: '095a422dc68e1ed78ea1b301bbea9c53e177cbba' }), h("slot", { key: '958b819ab4a37c9e6d6b5ea06da5bbcb01840627', name: "end" })), showCollapsedIndicator && (h("button", { key: '068f87ca666e09286e2fc09fae63e8bdbaad0900', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
101
+ }) }, h(TagType, Object.assign({ key: '5125505691163148ed2289355d5a2be93db7639d' }, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("slot", { key: 'c11682664ec3ad64f3e59a47f06cf5273b09fa5a', name: "start" }), h("slot", { key: 'eecb817103602a7c5d58f42dd4a1562333b0eabd' }), h("slot", { key: 'b9e050d01d0ba8491d64a670c151a2444be4c6b0', name: "end" })), showCollapsedIndicator && (h("button", { key: '72e49a761f43645987cf0adabd0698c724e87ce1', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
112
102
  'breadcrumbs-collapsed-indicator': true,
113
- } }, h("ion-icon", { key: '46d5821fee23327a23a4dfd7ad507ce551f7b00c', "aria-hidden": "true", icon: breadcrumbCollapsedIcon, lazy: false }))), showSeparator && (
103
+ } }, h("ion-icon", { key: '8efee3f1675165e1bc92c57aef93aa74b53374cc', "aria-hidden": "true", icon: breadcrumbCollapsedIcon, lazy: false }))), showSeparator && (
114
104
  /**
115
105
  * Separators should not be announced by narrators.
116
106
  * We add aria-hidden on the span so that this applies
117
107
  * to any custom separators too.
118
108
  */
119
- h("span", { key: '2520520d582b923c635548be4da74c138db38b46', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: 'e134f59f8fdc1d8602817a072adfc6f2a89885d7', name: "separator" }, theme === 'ios' || theme === 'ionic' ? (h("ion-icon", { icon: breadcrumbSeparatorIcon, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
109
+ h("span", { key: '17bf73869ccb702646afdc3498ef180aa3713b19', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: '13ac39a16f7fe90aaa65165b274ade80e01180b4', name: "separator" }, theme === 'ios' || theme === 'ionic' ? (h("ion-icon", { icon: breadcrumbSeparatorIcon, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
120
110
  }
121
111
  static get is() { return "ion-breadcrumb"; }
122
112
  static get encapsulation() { return "shadow"; }
@@ -137,16 +137,40 @@ input {
137
137
  }
138
138
 
139
139
  .native-wrapper {
140
+ border-radius: var(--border-radius);
140
141
  display: flex;
142
+ position: relative;
143
+ flex-shrink: 0;
141
144
  align-items: center;
145
+ width: var(--size);
146
+ height: var(--size);
147
+ transition: var(--transition);
148
+ border-width: var(--border-width);
149
+ border-style: var(--border-style);
150
+ border-color: var(--border-color);
151
+ background: var(--checkbox-background);
152
+ box-sizing: border-box;
142
153
  }
143
154
 
155
+ /**
156
+ * Apply the color to the ion-icon container so that the default
157
+ * checkmark icon and any configured icon apply color consistently.
158
+ */
144
159
  .checkbox-icon {
145
160
  position: relative;
161
+ color: var(--checkmark-color);
162
+ opacity: 0;
163
+ }
164
+
165
+ .checkbox-icon svg {
166
+ width: 100%;
167
+ height: 100%;
146
168
  }
147
169
 
148
170
  .checkbox-icon path {
149
- opacity: 0;
171
+ fill: none;
172
+ stroke: currentColor;
173
+ stroke-width: var(--checkmark-width);
150
174
  }
151
175
 
152
176
  .checkbox-bottom {
@@ -266,14 +290,14 @@ input {
266
290
  display: block;
267
291
  }
268
292
 
269
- :host(.checkbox-checked) .checkbox-icon,
270
- :host(.checkbox-indeterminate) .checkbox-icon {
293
+ :host(.checkbox-checked) .native-wrapper,
294
+ :host(.checkbox-indeterminate) .native-wrapper {
271
295
  border-color: var(--border-color-checked);
272
296
  background: var(--checkbox-background-checked);
273
297
  }
274
298
 
275
- :host(.checkbox-checked) .checkbox-icon path,
276
- :host(.checkbox-indeterminate) .checkbox-icon path {
299
+ :host(.checkbox-checked) .checkbox-icon,
300
+ :host(.checkbox-indeterminate) .checkbox-icon {
277
301
  opacity: 1;
278
302
  }
279
303
 
@@ -283,8 +307,6 @@ input {
283
307
 
284
308
  :host {
285
309
  /**
286
- * @prop --checkmark-height: Stroke height of the checkbox checkmark
287
- *
288
310
  * @prop --focus-ring-color: Color of the focus ring
289
311
  * @prop --focus-ring-width: Width of the focus ring
290
312
  * @prop --focus-ring-offset: Offset of the focus ring
@@ -292,8 +314,7 @@ input {
292
314
  --border-width: var(--token-border-size-025, var(--token-scale-025, 1px));
293
315
  --border-style: var(--token-border-style-solid, solid);
294
316
  --border-color: var(--token-primitives-neutral-800, #626262);
295
- --checkmark-width: var(--token-scale-400, 16px);
296
- --checkmark-height: var(--checkmark-width);
317
+ --checkmark-width: 3;
297
318
  --focus-ring-color: var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));
298
319
  --focus-ring-width: var(--token-border-size-050, var(--token-scale-050, 2px));
299
320
  --focus-ring-offset: var(--token-space-050, var(--token-scale-050, 2px));
@@ -317,9 +338,6 @@ input {
317
338
  cursor: pointer;
318
339
  z-index: 1;
319
340
  }
320
- :host .native-wrapper {
321
- position: relative;
322
- }
323
341
 
324
342
  .label-text-wrapper {
325
343
  color: var(--token-text-default, var(--token-primitives-neutral-1200, #242424));
@@ -359,26 +377,11 @@ input {
359
377
  }
360
378
 
361
379
  .native-wrapper {
362
- border-radius: var(--border-radius);
363
- flex-shrink: 0;
364
380
  justify-content: center;
365
- width: var(--size);
366
- height: var(--size);
367
- transition: var(--transition);
368
- border-width: var(--border-width);
369
- border-style: var(--border-style);
370
- border-color: var(--border-color);
371
- background: var(--checkbox-background);
372
- box-sizing: border-box;
373
381
  }
374
382
 
375
383
  .checkbox-icon {
376
- width: var(--checkmark-width);
377
- height: var(--checkmark-height);
378
- }
379
-
380
- .checkbox-icon path {
381
- fill: var(--checkmark-color);
384
+ font-size: calc(var(--size) * 2 / 3);
382
385
  }
383
386
 
384
387
  .checkbox-bottom {
@@ -455,12 +458,6 @@ input {
455
458
  --size: var(--token-scale-400, 16px);
456
459
  }
457
460
 
458
- :host(.checkbox-checked) .native-wrapper,
459
- :host(.checkbox-indeterminate) .native-wrapper {
460
- border-color: var(--border-color-checked);
461
- background: var(--checkbox-background-checked);
462
- }
463
-
464
461
  :host(.ion-invalid) {
465
462
  --focus-ring-color: var(--token-border-danger-default, var(--token-semantics-danger-800, var(--token-primitives-red-800, #bf2222)));
466
463
  }
@@ -497,9 +494,7 @@ input {
497
494
  background-color: var(--token-primitives-neutral-100, #f3f3f3);
498
495
  }
499
496
  :host(:hover.checkbox-checked) .native-wrapper,
500
- :host(:hover.checkbox-checked) .checkbox-icon,
501
- :host(:hover.checkbox-indeterminate) .native-wrapper,
502
- :host(:hover.checkbox-indeterminate) .checkbox-icon {
497
+ :host(:hover.checkbox-indeterminate) .native-wrapper {
503
498
  background-color: var(--token-semantics-primary-800, var(--token-primitives-blue-800, #0f54da));
504
499
  }
505
500
  }
@@ -513,9 +508,7 @@ input {
513
508
  }
514
509
 
515
510
  :host(.ion-activated.checkbox-checked) .native-wrapper,
516
- :host(.ion-activated.checkbox-checked) .checkbox-icon,
517
- :host(.ion-activated.checkbox-indeterminate) .native-wrapper,
518
- :host(.ion-activated.checkbox-indeterminate) .checkbox-icon {
511
+ :host(.ion-activated.checkbox-indeterminate) .native-wrapper {
519
512
  background-color: var(--token-bg-primary-base-press, var(--token-semantics-primary-900, var(--token-primitives-blue-900, #0d4bc3)));
520
513
  }
521
514
 
@@ -220,16 +220,40 @@ input {
220
220
  }
221
221
 
222
222
  .native-wrapper {
223
+ border-radius: var(--border-radius);
223
224
  display: flex;
225
+ position: relative;
226
+ flex-shrink: 0;
224
227
  align-items: center;
228
+ width: var(--size);
229
+ height: var(--size);
230
+ transition: var(--transition);
231
+ border-width: var(--border-width);
232
+ border-style: var(--border-style);
233
+ border-color: var(--border-color);
234
+ background: var(--checkbox-background);
235
+ box-sizing: border-box;
225
236
  }
226
237
 
238
+ /**
239
+ * Apply the color to the ion-icon container so that the default
240
+ * checkmark icon and any configured icon apply color consistently.
241
+ */
227
242
  .checkbox-icon {
228
243
  position: relative;
244
+ color: var(--checkmark-color);
245
+ opacity: 0;
246
+ }
247
+
248
+ .checkbox-icon svg {
249
+ width: 100%;
250
+ height: 100%;
229
251
  }
230
252
 
231
253
  .checkbox-icon path {
232
- opacity: 0;
254
+ fill: none;
255
+ stroke: currentColor;
256
+ stroke-width: var(--checkmark-width);
233
257
  }
234
258
 
235
259
  .checkbox-bottom {
@@ -349,14 +373,14 @@ input {
349
373
  display: block;
350
374
  }
351
375
 
352
- :host(.checkbox-checked) .checkbox-icon,
353
- :host(.checkbox-indeterminate) .checkbox-icon {
376
+ :host(.checkbox-checked) .native-wrapper,
377
+ :host(.checkbox-indeterminate) .native-wrapper {
354
378
  border-color: var(--border-color-checked);
355
379
  background: var(--checkbox-background-checked);
356
380
  }
357
381
 
358
- :host(.checkbox-checked) .checkbox-icon path,
359
- :host(.checkbox-indeterminate) .checkbox-icon path {
382
+ :host(.checkbox-checked) .checkbox-icon,
383
+ :host(.checkbox-indeterminate) .checkbox-icon {
360
384
  opacity: 1;
361
385
  }
362
386
 
@@ -381,10 +405,6 @@ input {
381
405
  --checkmark-color: var(--ion-color-contrast);
382
406
  }
383
407
 
384
- .native-wrapper {
385
- position: relative;
386
- }
387
-
388
408
  :host(.ion-focused) .native-wrapper::after {
389
409
  border-radius: 50%;
390
410
  display: block;
@@ -415,21 +435,7 @@ input {
415
435
  }
416
436
 
417
437
  .checkbox-icon {
418
- border-radius: var(--border-radius);
419
- width: var(--size);
420
- height: var(--size);
421
- transition: var(--transition);
422
- border-width: var(--border-width);
423
- border-style: var(--border-style);
424
- border-color: var(--border-color);
425
- background: var(--checkbox-background);
426
- box-sizing: border-box;
427
- }
428
-
429
- .checkbox-icon path {
430
- fill: none;
431
- stroke: var(--checkmark-color);
432
- stroke-width: var(--checkmark-width);
438
+ font-size: calc(var(--size) - 2 * var(--border-width));
433
439
  }
434
440
 
435
441
  .checkbox-bottom {
@@ -5,6 +5,7 @@ import { Build, Host, forceUpdate, h } from "@stencil/core";
5
5
  import { checkInvalidState, createItemMultipleInputsObserver } from "../../utils/forms/index";
6
6
  import { inheritAriaAttributes, renderHiddenInput } from "../../utils/helpers";
7
7
  import { createColorClasses, hostContext } from "../../utils/theme";
8
+ import { config } from "../../global/config";
8
9
  import { getIonTheme } from "../../global/ionic-global";
9
10
  /**
10
11
  * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
@@ -14,7 +15,8 @@ import { getIonTheme } from "../../global/ionic-global";
14
15
  *
15
16
  * @part container - The container for the checkbox mark.
16
17
  * @part label - The label text describing the checkbox.
17
- * @part mark - The checkmark used to indicate the checked state.
18
+ * @part icon - The icon that displays the checkmark.
19
+ * @part mark - The checkmark used to indicate the checked state. Only applies when no icon is set in the config.
18
20
  * @part supporting-text - Supporting text displayed beneath the checkbox label.
19
21
  * @part helper-text - Supporting text displayed beneath the checkbox label when the checkbox is valid.
20
22
  * @part error-text - Supporting text displayed beneath the checkbox label when the checkbox is invalid and touched.
@@ -187,6 +189,20 @@ export class Checkbox {
187
189
  async setFocus() {
188
190
  this.el.focus();
189
191
  }
192
+ /**
193
+ * Get the icon to use for the checked icon.
194
+ * Use the icon set in the config.
195
+ */
196
+ get checkboxCheckedIcon() {
197
+ return config.get('checkboxCheckedIcon');
198
+ }
199
+ /**
200
+ * Get the icon to use for the indeterminate icon.
201
+ * Use the icon set in the config.
202
+ */
203
+ get checkboxIndeterminateIcon() {
204
+ return config.get('checkboxIndeterminateIcon');
205
+ }
190
206
  getHintTextId() {
191
207
  const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
192
208
  if (isInvalid && errorText) {
@@ -216,13 +232,14 @@ export class Checkbox {
216
232
  render() {
217
233
  const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, shape, size, } = this;
218
234
  const theme = getIonTheme(this);
235
+ const markIcon = indeterminate ? this.checkboxIndeterminateIcon : this.checkboxCheckedIcon;
219
236
  const path = getSVGPath(theme, indeterminate);
220
237
  const inItem = hostContext('ion-item', el);
221
238
  const inMultipleInputsItem = hostContext('ion-item.item-multiple-inputs', el);
222
239
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
223
240
  // The host element must have a checkbox role to ensure proper VoiceOver
224
241
  // support in Safari for accessibility.
225
- return (h(Host, { key: '4a87b4c232e9dbf71a489ecd02ec94c1bd5cac24', role: "checkbox", "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.hasLabelContent ? this.inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
242
+ return (h(Host, { key: 'c1eda757784c401a112edfc02c24e89a122fed4a', role: "checkbox", "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.hasLabelContent ? this.inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
226
243
  [theme]: true,
227
244
  'in-item': inItem,
228
245
  'checkbox-checked': checked,
@@ -237,23 +254,16 @@ export class Checkbox {
237
254
  [`checkbox-label-placement-${labelPlacement}`]: true,
238
255
  [`checkbox-size-${size}`]: size !== undefined,
239
256
  [`checkbox-shape-${shape}`]: true,
240
- }) }, h("label", { key: '97aebc716e0ab1ef850620011a4e65f6318fca2c', class: "checkbox-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '47d3d3c93438cf3a135c162893ed502af8914a75', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, required: required }, inheritedAttributes)), h("div", { key: '70935ad2274e5b3f4973cda326abca237aa302f9', class: {
257
+ }) }, h("label", { key: '7d0ef2a71eeb2f6f49b506cf4e9e9917d70cecf5', class: "checkbox-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: '676b7c47f3f8b971fd3c944381fa5c666c848817', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, required: required }, inheritedAttributes)), h("div", { key: 'e1e8083fc65c6708c4a9f918a05fe619b0397679', class: {
241
258
  'label-text-wrapper': true,
242
259
  'label-text-wrapper-hidden': !this.hasLabelContent,
243
- }, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '22f27bd7afd0abefb112419355a0ce9f1a1403e9' }), this.renderHintText()), h("div", { key: 'fda4acb438bafcfdcfefd860e3f92335d4b9ea74', class: "native-wrapper" }, h("svg", { key: 'bab1161b88d36511546cb49ae3d411a16bd60a08', class: "checkbox-icon", viewBox: theme === 'ionic' ? '0 0 256 256' : '0 0 24 24', part: "container", "aria-hidden": "true" }, path)))));
260
+ }, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '22c909d61b4e8c14826818ae8329a45f77d5b414' }), this.renderHintText()), h("div", { key: 'f13a5f97d12d3b7753bf3734dac0ad70ad396c2b', class: "native-wrapper", part: "container" }, h("ion-icon", { key: '5976bb2ecf452a2a75412c667f1df7fc678d1179', class: "checkbox-icon", icon: markIcon, part: "icon", "aria-hidden": "true" }, h("svg", { key: '6f9306fdb6e3b332eb689dc8be329bc7679a492b', viewBox: "0 0 24 24" }, path))))));
244
261
  }
245
262
  getSVGPath(theme, indeterminate) {
246
263
  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" }));
247
- if (theme === 'md') {
264
+ if (theme === 'md' || theme === 'ionic') {
248
265
  path = indeterminate ? (h("path", { d: "M2 12H22", part: "mark" })) : (h("path", { d: "M1.73,12.91 8.1,19.28 22.79,4.59", part: "mark" }));
249
266
  }
250
- else if (theme === 'ionic') {
251
- path = indeterminate ? (
252
- // Phosphor Icon - minus bold
253
- h("path", { d: "M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z" })) : (
254
- // Phosphor Icon - check bold
255
- h("path", { d: "M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z" }));
256
- }
257
267
  return path;
258
268
  }
259
269
  static get is() { return "ion-checkbox"; }
@@ -220,16 +220,40 @@ input {
220
220
  }
221
221
 
222
222
  .native-wrapper {
223
+ border-radius: var(--border-radius);
223
224
  display: flex;
225
+ position: relative;
226
+ flex-shrink: 0;
224
227
  align-items: center;
228
+ width: var(--size);
229
+ height: var(--size);
230
+ transition: var(--transition);
231
+ border-width: var(--border-width);
232
+ border-style: var(--border-style);
233
+ border-color: var(--border-color);
234
+ background: var(--checkbox-background);
235
+ box-sizing: border-box;
225
236
  }
226
237
 
238
+ /**
239
+ * Apply the color to the ion-icon container so that the default
240
+ * checkmark icon and any configured icon apply color consistently.
241
+ */
227
242
  .checkbox-icon {
228
243
  position: relative;
244
+ color: var(--checkmark-color);
245
+ opacity: 0;
246
+ }
247
+
248
+ .checkbox-icon svg {
249
+ width: 100%;
250
+ height: 100%;
229
251
  }
230
252
 
231
253
  .checkbox-icon path {
232
- opacity: 0;
254
+ fill: none;
255
+ stroke: currentColor;
256
+ stroke-width: var(--checkmark-width);
233
257
  }
234
258
 
235
259
  .checkbox-bottom {
@@ -349,14 +373,14 @@ input {
349
373
  display: block;
350
374
  }
351
375
 
352
- :host(.checkbox-checked) .checkbox-icon,
353
- :host(.checkbox-indeterminate) .checkbox-icon {
376
+ :host(.checkbox-checked) .native-wrapper,
377
+ :host(.checkbox-indeterminate) .native-wrapper {
354
378
  border-color: var(--border-color-checked);
355
379
  background: var(--checkbox-background-checked);
356
380
  }
357
381
 
358
- :host(.checkbox-checked) .checkbox-icon path,
359
- :host(.checkbox-indeterminate) .checkbox-icon path {
382
+ :host(.checkbox-checked) .checkbox-icon,
383
+ :host(.checkbox-indeterminate) .checkbox-icon {
360
384
  opacity: 1;
361
385
  }
362
386
 
@@ -381,10 +405,6 @@ input {
381
405
  --checkmark-color: var(--ion-color-contrast);
382
406
  }
383
407
 
384
- .native-wrapper {
385
- position: relative;
386
- }
387
-
388
408
  :host(.ion-focused) .native-wrapper::after {
389
409
  border-radius: 50%;
390
410
  display: block;
@@ -415,21 +435,7 @@ input {
415
435
  }
416
436
 
417
437
  .checkbox-icon {
418
- border-radius: var(--border-radius);
419
- width: var(--size);
420
- height: var(--size);
421
- transition: var(--transition);
422
- border-width: var(--border-width);
423
- border-style: var(--border-style);
424
- border-color: var(--border-color);
425
- background: var(--checkbox-background);
426
- box-sizing: border-box;
427
- }
428
-
429
- .checkbox-icon path {
430
- fill: none;
431
- stroke: var(--checkmark-color);
432
- stroke-width: var(--checkmark-width);
438
+ font-size: calc(var(--size) - 2 * var(--border-width));
433
439
  }
434
440
 
435
441
  .checkbox-bottom {
@@ -56,7 +56,7 @@ export class Chip {
56
56
  const theme = getIonTheme(this);
57
57
  const size = this.getSize();
58
58
  const shape = this.getShape();
59
- return (h(Host, { key: 'ec10528929fb43fcae7d2d7c9cc52bcf67d9823e', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
59
+ return (h(Host, { key: 'b6ac6f314aca3dae06b9a6b38468d82807f7f883', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
60
60
  [theme]: true,
61
61
  [`chip-${shape}`]: true,
62
62
  'chip-outline': this.outline,
@@ -65,7 +65,7 @@ export class Chip {
65
65
  'ion-focusable': !this.disabled,
66
66
  [`chip-${size}`]: size !== undefined,
67
67
  [`chip-${hue}`]: hue !== undefined,
68
- }) }, h("slot", { key: 'c88e9a90b9de62fded05d4323c5b4f86f2f3e96d' }), theme === 'md' && h("ion-ripple-effect", { key: 'f0395345064db0e02cbc886386b07d0d01cb02be' })));
68
+ }) }, h("slot", { key: '0da90695097e5403e6e540f592e67240fb6c4a14' }), theme === 'md' && h("ion-ripple-effect", { key: '764b2a54d45120578a178054ea44b6980e3f63e9' })));
69
69
  }
70
70
  static get is() { return "ion-chip"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -81,12 +81,12 @@ export class Col {
81
81
  const colSize = this.getSizeClass();
82
82
  const colOrder = this.getOrderClass();
83
83
  const colOffset = this.getOffsetClass();
84
- return (h(Host, { key: '7fc98e15bd75e9c22fe7eaf71f2f49f5d987613a', class: {
84
+ return (h(Host, { key: '3a56b2a9b995148f709dc3c0fe862ea6d1a273d8', class: {
85
85
  [theme]: true,
86
86
  [`${colSize}`]: colSize !== undefined,
87
87
  [`${colOrder}`]: colOrder !== undefined,
88
88
  [`${colOffset}`]: colOffset !== undefined,
89
- } }, h("slot", { key: '6ed04a2c2bcdb0400354368c568e58414a60fc39' })));
89
+ } }, h("slot", { key: '1b7336c386b92376cd287ebf85b10d245f5c9ab4' })));
90
90
  }
91
91
  static get is() { return "ion-col"; }
92
92
  static get encapsulation() { return "shadow"; }