@ionic/core 9.0.11-nightly.20261111 → 9.0.12-dev.11794435138.1d5cadc3

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 (508) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-accordion.js +1 -1
  4. package/components/ion-action-sheet.js +1 -1
  5. package/components/ion-alert.js +1 -1
  6. package/components/ion-app.js +1 -1
  7. package/components/ion-avatar.js +1 -1
  8. package/components/ion-back-button.js +1 -1
  9. package/components/ion-backdrop.js +1 -1
  10. package/components/ion-badge.js +1 -1
  11. package/components/ion-breadcrumb.js +1 -1
  12. package/components/ion-breadcrumbs.js +1 -1
  13. package/components/ion-button.js +1 -1
  14. package/components/ion-buttons.js +1 -1
  15. package/components/ion-card-content.js +1 -1
  16. package/components/ion-card-header.js +1 -1
  17. package/components/ion-card-subtitle.js +1 -1
  18. package/components/ion-card-title.js +1 -1
  19. package/components/ion-card.js +1 -1
  20. package/components/ion-checkbox.js +1 -1
  21. package/components/ion-chip.js +1 -1
  22. package/components/ion-col.js +1 -1
  23. package/components/ion-content.js +1 -1
  24. package/components/ion-datetime-button.js +1 -1
  25. package/components/ion-datetime.js +1 -1
  26. package/components/ion-fab-button.js +1 -1
  27. package/components/ion-fab-list.js +1 -1
  28. package/components/ion-fab.js +1 -1
  29. package/components/ion-footer.js +1 -1
  30. package/components/ion-grid.js +1 -1
  31. package/components/ion-header.js +1 -1
  32. package/components/ion-icon.js +1 -1
  33. package/components/ion-img.js +1 -1
  34. package/components/ion-infinite-scroll-content.js +1 -1
  35. package/components/ion-infinite-scroll.js +1 -1
  36. package/components/ion-input-otp.js +1 -1
  37. package/components/ion-input-password-toggle.js +1 -1
  38. package/components/ion-input.js +1 -1
  39. package/components/ion-item-divider.js +1 -1
  40. package/components/ion-item-group.js +1 -1
  41. package/components/ion-item-option.js +1 -1
  42. package/components/ion-item-options.js +1 -1
  43. package/components/ion-item-sliding.js +1 -1
  44. package/components/ion-item.js +1 -1
  45. package/components/ion-label.js +1 -1
  46. package/components/ion-list-header.js +1 -1
  47. package/components/ion-list.js +1 -1
  48. package/components/ion-loading.js +1 -1
  49. package/components/ion-menu-button.js +1 -1
  50. package/components/ion-menu-toggle.js +1 -1
  51. package/components/ion-menu.js +1 -1
  52. package/components/ion-modal.js +1 -1
  53. package/components/ion-nav-link.js +1 -1
  54. package/components/ion-nav.js +1 -1
  55. package/components/ion-note.js +1 -1
  56. package/components/ion-picker-column-option.js +1 -1
  57. package/components/ion-picker-column.js +1 -1
  58. package/components/ion-picker.js +1 -1
  59. package/components/ion-popover.js +1 -1
  60. package/components/ion-progress-bar.js +1 -1
  61. package/components/ion-radio-group.js +1 -1
  62. package/components/ion-radio.js +1 -1
  63. package/components/ion-range.js +1 -1
  64. package/components/ion-refresher-content.js +1 -1
  65. package/components/ion-refresher.js +1 -1
  66. package/components/ion-reorder-group.js +1 -1
  67. package/components/ion-reorder.js +1 -1
  68. package/components/ion-ripple-effect.js +1 -1
  69. package/components/ion-route-redirect.js +1 -1
  70. package/components/ion-route.js +1 -1
  71. package/components/ion-router-link.js +1 -1
  72. package/components/ion-router-outlet.js +1 -1
  73. package/components/ion-router.js +1 -1
  74. package/components/ion-row.js +1 -1
  75. package/components/ion-searchbar.js +1 -1
  76. package/components/ion-segment-button.js +1 -1
  77. package/components/ion-segment-content.js +1 -1
  78. package/components/ion-segment-view.js +1 -1
  79. package/components/ion-segment.js +1 -1
  80. package/components/ion-select-modal.js +1 -1
  81. package/components/ion-select-option.js +1 -1
  82. package/components/ion-select-popover.js +1 -1
  83. package/components/ion-select.js +1 -1
  84. package/components/ion-skeleton-text.js +1 -1
  85. package/components/ion-spinner.js +1 -1
  86. package/components/ion-split-pane.js +1 -1
  87. package/components/ion-tab-bar.js +1 -1
  88. package/components/ion-tab-button.js +1 -1
  89. package/components/ion-tab.js +1 -1
  90. package/components/ion-tabs.js +1 -1
  91. package/components/ion-text.js +1 -1
  92. package/components/ion-textarea.js +1 -1
  93. package/components/ion-thumbnail.js +1 -1
  94. package/components/ion-title.js +1 -1
  95. package/components/ion-toast.js +1 -1
  96. package/components/ion-toggle.js +1 -1
  97. package/components/ion-toolbar.js +1 -1
  98. package/components/{p-D8FyR2IB.js → p-28_KCxSf.js} +1 -1
  99. package/components/{p-PkD1iLNN.js → p-2r7QpBW2.js} +1 -1
  100. package/components/{p-CW84OFQa.js → p-5LnxYgt7.js} +1 -1
  101. package/components/{p-CvyvLbPe.js → p-B89FqNe7.js} +1 -1
  102. package/components/p-BAAtTHkh.js +4 -0
  103. package/components/{p-CjPRDxby.js → p-BE1iSZxK.js} +1 -1
  104. package/components/p-BEN_dW38.js +4 -0
  105. package/components/{p-Dy7x-KDF.js → p-BFhqMUFJ.js} +1 -1
  106. package/components/{p-DRm4t-by.js → p-BKzm8GnQ.js} +1 -1
  107. package/components/{p-DHo45oj7.js → p-BPW1yhC5.js} +1 -1
  108. package/components/{p-HthJZjZ6.js → p-BRwclc4v.js} +1 -1
  109. package/components/{p-ChkSQqfP.js → p-BU1um0go.js} +1 -1
  110. package/components/{p-DaW9OZ6S.js → p-BaD2k7-g.js} +1 -1
  111. package/components/{p-RhI78AKb.js → p-Bl36leJI.js} +1 -1
  112. package/components/{p-B3dSuofL.js → p-Bp-vRdq-.js} +1 -1
  113. package/components/{p-DnBabjgY.js → p-BqRR1T5F.js} +1 -1
  114. package/components/{p-BT2InaHz.js → p-By_XQw23.js} +1 -1
  115. package/components/{p-07wRJfkt.js → p-C6Eoe8TE.js} +1 -1
  116. package/components/p-C6mx0RsH.js +4 -0
  117. package/components/{p-7KepMw9O.js → p-C7PoQnxN.js} +1 -1
  118. package/components/{p-C8BAigo3.js → p-CApfTEZu.js} +1 -1
  119. package/components/{p-D5_mEbGJ.js → p-CHtaS-1H.js} +1 -1
  120. package/components/{p-D_U0pDe5.js → p-CHw0oDIX.js} +1 -1
  121. package/components/p-CVWleXIL.js +4 -0
  122. package/components/p-CeRIYiar.js +4 -0
  123. package/components/{p-BBsseItU.js → p-CekDicbC.js} +1 -1
  124. package/components/p-Cjd_foSx.js +4 -0
  125. package/components/{p-z-EWo6r-.js → p-Cs66-da5.js} +1 -1
  126. package/components/{p-DTGCMApY.js → p-CsEqD5L_.js} +1 -1
  127. package/components/p-CxYMGJTr.js +4 -0
  128. package/components/{p-hLu-eIbb.js → p-CyOxaozL.js} +1 -1
  129. package/{dist/ionic/p-CJmyfI8x.js → components/p-D2CH_C1y.js} +1 -1
  130. package/components/{p-BrrMFd9K.js → p-D3Kil3Ox.js} +1 -1
  131. package/components/{p-BWbz71uB.js → p-D7J-iv5T.js} +1 -1
  132. package/{dist/ionic/p-e1haAYzm.js → components/p-DBdOjgB_.js} +1 -1
  133. package/{dist/ionic/p-BO10QT9r.js → components/p-DDML-XXM.js} +1 -1
  134. package/components/{p-ChsJlFCQ.js → p-DPypH5J1.js} +1 -1
  135. package/components/{p-CqvARtmt.js → p-DSGxE4YQ.js} +1 -1
  136. package/components/{p-KbMCbGRA.js → p-DVRS13xd.js} +1 -1
  137. package/components/p-DVa8nma_.js +4 -0
  138. package/components/{p-7NbIvzb4.js → p-DX2WL1Da.js} +1 -1
  139. package/components/p-Dhhot0Wu.js +4 -0
  140. package/components/{p-Dbi3KqKm.js → p-Di_8hcJD.js} +1 -1
  141. package/components/{p-C-SO5kIs.js → p-Dkw9q24a.js} +1 -1
  142. package/components/{p-BMHdI-wb.js → p-DrXp7JFH.js} +1 -1
  143. package/components/{p-3avHDbEF.js → p-Dt1Xl4fS.js} +1 -1
  144. package/components/p-DuG_CBXq.js +4 -0
  145. package/components/p-HIqLOae3.js +4 -0
  146. package/components/{p-BZ1k9WL7.js → p-Zt5D5E38.js} +1 -1
  147. package/components/p-dgUknkY4.js +4 -0
  148. package/components/{p-DwTzX8Vi.js → p-fCziDtBc.js} +1 -1
  149. package/components/{p-CUQjkOdi.js → p-oTJGwohD.js} +1 -1
  150. package/dist/cjs/{animation-UiXhXV49.js → animation-B7oGwLLy.js} +2 -2
  151. package/dist/cjs/{app-globals-BoFCZq0K.js → app-globals-CIBBAkMv.js} +1 -1
  152. package/dist/cjs/attribute-controller-bNeK5E15.js +219 -0
  153. package/dist/cjs/{button-active-DzN1aPt-.js → button-active-B9Tkc4mf.js} +2 -2
  154. package/dist/cjs/{capacitor-BTjfXFlK.js → capacitor-MxFQgshb.js} +1 -1
  155. package/dist/cjs/{format-CVjpvAl1.js → format-CqApCy46.js} +1 -1
  156. package/dist/cjs/{framework-delegate-hNMKEiQC.js → framework-delegate-DAKg2Azt.js} +1 -1
  157. package/dist/cjs/{haptic-BD5qPgy8.js → haptic-CRRCyhfL.js} +1 -1
  158. package/dist/cjs/{helpers-BrETKUUX.js → helpers-BDvjDsXt.js} +1 -1
  159. package/dist/cjs/{index-BTc0Jnhx.js → index-BUIZTwKD.js} +5 -5
  160. package/dist/cjs/{index-DNBYnlrc.js → index-BashZvQB.js} +4 -4
  161. package/dist/cjs/{index-bwclzjks.js → index-BecWuzkK.js} +2 -2
  162. package/dist/cjs/{index-BiQyIvoc.js → index-CKee8md4.js} +71 -35
  163. package/dist/cjs/{index-DMz2Eyis.js → index-D02LHDVd.js} +2 -2
  164. package/dist/cjs/{index-B4ONUQRp.js → index-DJX-8rkB.js} +1 -1
  165. package/dist/cjs/index.cjs.js +11 -11
  166. package/dist/cjs/{input-shims-CRmdShL9.js → input-shims-ClPpap7E.js} +5 -5
  167. package/dist/cjs/{input.utils-Becpo0ax.js → input.utils-DXw7l7p9.js} +1 -1
  168. package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -5
  169. package/dist/cjs/ion-action-sheet.cjs.entry.js +13 -12
  170. package/dist/cjs/ion-alert.cjs.entry.js +13 -12
  171. package/dist/cjs/ion-app_8.cjs.entry.js +32 -24
  172. package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -5
  173. package/dist/cjs/ion-back-button.cjs.entry.js +16 -6
  174. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -3
  175. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +33 -9
  176. package/dist/cjs/ion-button_2.cjs.entry.js +17 -9
  177. package/dist/cjs/ion-card_5.cjs.entry.js +36 -11
  178. package/dist/cjs/ion-checkbox.cjs.entry.js +6 -5
  179. package/dist/cjs/ion-chip.cjs.entry.js +4 -3
  180. package/dist/cjs/ion-col_3.cjs.entry.js +8 -5
  181. package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -5
  182. package/dist/cjs/ion-datetime.cjs.entry.js +8 -7
  183. package/dist/cjs/ion-fab_3.cjs.entry.js +18 -8
  184. package/dist/cjs/ion-img.cjs.entry.js +5 -4
  185. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +9 -7
  186. package/dist/cjs/ion-input-otp.cjs.entry.js +5 -4
  187. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +4 -3
  188. package/dist/cjs/ion-input.cjs.entry.js +7 -6
  189. package/dist/cjs/ion-item-option_3.cjs.entry.js +23 -9
  190. package/dist/cjs/ion-item_8.cjs.entry.js +38 -14
  191. package/dist/cjs/ion-loading.cjs.entry.js +9 -8
  192. package/dist/cjs/ion-menu_3.cjs.entry.js +24 -12
  193. package/dist/cjs/ion-modal.cjs.entry.js +13 -12
  194. package/dist/cjs/ion-nav_2.cjs.entry.js +10 -8
  195. package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -4
  196. package/dist/cjs/ion-picker-column.cjs.entry.js +7 -6
  197. package/dist/cjs/ion-picker.cjs.entry.js +4 -3
  198. package/dist/cjs/ion-popover.cjs.entry.js +9 -8
  199. package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -4
  200. package/dist/cjs/ion-radio_2.cjs.entry.js +8 -6
  201. package/dist/cjs/ion-range.cjs.entry.js +6 -5
  202. package/dist/cjs/ion-refresher_2.cjs.entry.js +12 -10
  203. package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -8
  204. package/dist/cjs/ion-ripple-effect.cjs.entry.js +4 -3
  205. package/dist/cjs/ion-route_4.cjs.entry.js +26 -10
  206. package/dist/cjs/ion-searchbar.cjs.entry.js +5 -4
  207. package/dist/cjs/ion-segment-content.cjs.entry.js +3 -2
  208. package/dist/cjs/ion-segment-view.cjs.entry.js +3 -2
  209. package/dist/cjs/ion-segment_2.cjs.entry.js +14 -7
  210. package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
  211. package/dist/cjs/ion-select_3.cjs.entry.js +22 -14
  212. package/dist/cjs/ion-spinner.cjs.entry.js +4 -3
  213. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -3
  214. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +21 -10
  215. package/dist/cjs/ion-tab_2.cjs.entry.js +7 -5
  216. package/dist/cjs/ion-text.cjs.entry.js +4 -3
  217. package/dist/cjs/ion-textarea.cjs.entry.js +7 -6
  218. package/dist/cjs/ion-toast.cjs.entry.js +9 -8
  219. package/dist/cjs/ion-toggle.cjs.entry.js +8 -7
  220. package/dist/cjs/{ionic-global-48ceLiJ6.js → ionic-global-Bt1gOF3y.js} +1 -1
  221. package/dist/cjs/ionic.cjs.js +5 -5
  222. package/dist/cjs/{ios.transition-CN092Fh6.js → ios.transition-CExZyoOI.js} +4 -4
  223. package/dist/cjs/{item-multiple-inputs-C-hz7xrh.js → item-multiple-inputs-DCadv5DD.js} +1 -1
  224. package/dist/cjs/{keyboard-4OBzkjOG.js → keyboard-DcLeJI_8.js} +4 -4
  225. package/dist/cjs/{keyboard-BMpscicm.js → keyboard-OOIuCa13.js} +1 -1
  226. package/dist/cjs/{keyboard-controller-DZE97OtR.js → keyboard-controller-BMyz0P1a.js} +2 -2
  227. package/dist/cjs/loader.cjs.js +4 -4
  228. package/dist/cjs/{md.transition-B6961Ny9.js → md.transition-DaAVTRvs.js} +4 -4
  229. package/dist/cjs/{overlays-BbVQG3UT.js → overlays-D4y6dLkd.js} +4 -4
  230. package/dist/cjs/{select-option-render-CzyhrkOu.js → select-option-render-XNNDfPjV.js} +2 -2
  231. package/dist/cjs/{slot-mutation-controller-CRa_cKOh.js → slot-mutation-controller-DPIgf5CF.js} +1 -1
  232. package/dist/cjs/{status-tap-hRIvObiJ.js → status-tap-DsMxsZJD.js} +3 -3
  233. package/dist/cjs/{swipe-back-C-aigThB.js → swipe-back-DTBGxsBq.js} +2 -2
  234. package/dist/collection/collection-manifest.json +1 -1
  235. package/dist/collection/components/back-button/back-button.js +12 -3
  236. package/dist/collection/components/breadcrumb/breadcrumb.js +28 -5
  237. package/dist/collection/components/button/button.js +10 -4
  238. package/dist/collection/components/card/card.js +24 -3
  239. package/dist/collection/components/fab-button/fab-button.js +10 -3
  240. package/dist/collection/components/item/item.js +19 -3
  241. package/dist/collection/components/item-option/item-option.js +14 -3
  242. package/dist/collection/components/menu-button/menu-button.js +12 -3
  243. package/dist/collection/components/router-link/router-link.js +15 -3
  244. package/dist/collection/components/segment-button/segment-button.js +7 -2
  245. package/dist/collection/components/select/select.js +8 -3
  246. package/dist/collection/components/tab-button/tab-button.js +12 -3
  247. package/dist/collection/utils/attribute-controller.js +107 -20
  248. package/dist/docs.json +2 -2
  249. package/dist/esm/{animation-C_V9lXzL.js → animation-DC5AcIYI.js} +2 -2
  250. package/dist/esm/{app-globals-CNfpAPW6.js → app-globals-BFed4dT0.js} +1 -1
  251. package/dist/esm/attribute-controller-ClTQeZiJ.js +215 -0
  252. package/dist/esm/{button-active-rB-Ct9KZ.js → button-active-C2jz6R8a.js} +2 -2
  253. package/dist/esm/{capacitor-BY7l8HgR.js → capacitor-Bt0eJ0hM.js} +1 -1
  254. package/dist/esm/{format-Ck1cw5z7.js → format-C833IXB1.js} +1 -1
  255. package/dist/esm/{framework-delegate-CW5_kWfc.js → framework-delegate-DnTzYR1W.js} +1 -1
  256. package/dist/esm/{haptic-ES_sSPLn.js → haptic-ChR8my2M.js} +1 -1
  257. package/dist/esm/{helpers-p94IkmEA.js → helpers-BvbUHGGm.js} +1 -1
  258. package/dist/esm/{index-BpRUsN_W.js → index-BGtO2Fhf.js} +71 -35
  259. package/dist/esm/{index-CBkVO5D0.js → index-BObCPR8a.js} +2 -2
  260. package/dist/esm/{index-txcXIB3P.js → index-BXaoLxIE.js} +5 -5
  261. package/dist/esm/{index-DLDbwWW7.js → index-DFG3GaUN.js} +2 -2
  262. package/dist/esm/{index-CK8uF0iB.js → index-I3r9qsv0.js} +1 -1
  263. package/dist/esm/{index-vgPixHgF.js → index-MGm9Sl6h.js} +4 -4
  264. package/dist/esm/index.js +11 -11
  265. package/dist/esm/{input-shims-KNXj3DAv.js → input-shims-DmHorap3.js} +5 -5
  266. package/dist/esm/{input.utils-DZY_K8Po.js → input.utils-CBbgDLtb.js} +1 -1
  267. package/dist/esm/ion-accordion_2.entry.js +7 -5
  268. package/dist/esm/ion-action-sheet.entry.js +13 -12
  269. package/dist/esm/ion-alert.entry.js +13 -12
  270. package/dist/esm/ion-app_8.entry.js +32 -24
  271. package/dist/esm/ion-avatar_3.entry.js +8 -5
  272. package/dist/esm/ion-back-button.entry.js +16 -6
  273. package/dist/esm/ion-backdrop.entry.js +4 -3
  274. package/dist/esm/ion-breadcrumb_2.entry.js +33 -9
  275. package/dist/esm/ion-button_2.entry.js +17 -9
  276. package/dist/esm/ion-card_5.entry.js +36 -11
  277. package/dist/esm/ion-checkbox.entry.js +6 -5
  278. package/dist/esm/ion-chip.entry.js +4 -3
  279. package/dist/esm/ion-col_3.entry.js +8 -5
  280. package/dist/esm/ion-datetime-button.entry.js +6 -5
  281. package/dist/esm/ion-datetime.entry.js +8 -7
  282. package/dist/esm/ion-fab_3.entry.js +18 -8
  283. package/dist/esm/ion-img.entry.js +5 -4
  284. package/dist/esm/ion-infinite-scroll_2.entry.js +9 -7
  285. package/dist/esm/ion-input-otp.entry.js +5 -4
  286. package/dist/esm/ion-input-password-toggle.entry.js +4 -3
  287. package/dist/esm/ion-input.entry.js +7 -6
  288. package/dist/esm/ion-item-option_3.entry.js +23 -9
  289. package/dist/esm/ion-item_8.entry.js +38 -14
  290. package/dist/esm/ion-loading.entry.js +9 -8
  291. package/dist/esm/ion-menu_3.entry.js +24 -12
  292. package/dist/esm/ion-modal.entry.js +13 -12
  293. package/dist/esm/ion-nav_2.entry.js +10 -8
  294. package/dist/esm/ion-picker-column-option.entry.js +5 -4
  295. package/dist/esm/ion-picker-column.entry.js +7 -6
  296. package/dist/esm/ion-picker.entry.js +4 -3
  297. package/dist/esm/ion-popover.entry.js +9 -8
  298. package/dist/esm/ion-progress-bar.entry.js +5 -4
  299. package/dist/esm/ion-radio_2.entry.js +8 -6
  300. package/dist/esm/ion-range.entry.js +6 -5
  301. package/dist/esm/ion-refresher_2.entry.js +12 -10
  302. package/dist/esm/ion-reorder_2.entry.js +10 -8
  303. package/dist/esm/ion-ripple-effect.entry.js +4 -3
  304. package/dist/esm/ion-route_4.entry.js +26 -10
  305. package/dist/esm/ion-searchbar.entry.js +5 -4
  306. package/dist/esm/ion-segment-content.entry.js +3 -2
  307. package/dist/esm/ion-segment-view.entry.js +3 -2
  308. package/dist/esm/ion-segment_2.entry.js +14 -7
  309. package/dist/esm/ion-select-modal.entry.js +9 -8
  310. package/dist/esm/ion-select_3.entry.js +22 -14
  311. package/dist/esm/ion-spinner.entry.js +4 -3
  312. package/dist/esm/ion-split-pane.entry.js +4 -3
  313. package/dist/esm/ion-tab-bar_2.entry.js +21 -10
  314. package/dist/esm/ion-tab_2.entry.js +7 -5
  315. package/dist/esm/ion-text.entry.js +4 -3
  316. package/dist/esm/ion-textarea.entry.js +7 -6
  317. package/dist/esm/ion-toast.entry.js +9 -8
  318. package/dist/esm/ion-toggle.entry.js +8 -7
  319. package/dist/esm/{ionic-global-Cep6oYzK.js → ionic-global-BDyJ_8I-.js} +1 -1
  320. package/dist/esm/ionic.js +6 -6
  321. package/dist/esm/{ios.transition-CW92wRDL.js → ios.transition-BRRzMHfK.js} +4 -4
  322. package/dist/esm/{item-multiple-inputs-Bd2LO7qK.js → item-multiple-inputs-IPlsPhUJ.js} +1 -1
  323. package/dist/esm/{keyboard-CutS8BPd.js → keyboard-BFjnkNMv.js} +1 -1
  324. package/dist/esm/{keyboard-BumguZrM.js → keyboard-DUoJXTRE.js} +4 -4
  325. package/dist/esm/{keyboard-controller-DqohyEsZ.js → keyboard-controller-BA84p4ML.js} +2 -2
  326. package/dist/esm/loader.js +5 -5
  327. package/dist/esm/{md.transition-yhfkYX1P.js → md.transition-BlNVIP5o.js} +4 -4
  328. package/dist/esm/{overlays-BBgMM61s.js → overlays-DR4E-YYD.js} +4 -4
  329. package/dist/esm/{select-option-render-BSDT9oSA.js → select-option-render-BUBAvw2_.js} +2 -2
  330. package/dist/esm/{slot-mutation-controller-uKdPbY9K.js → slot-mutation-controller-DBmgz_0k.js} +1 -1
  331. package/dist/esm/{status-tap-BskkGI4e.js → status-tap-z4LuyVUt.js} +3 -3
  332. package/dist/esm/{swipe-back-BZdyM2Q-.js → swipe-back-C1eBKfiK.js} +2 -2
  333. package/dist/ionic/index.esm.js +1 -1
  334. package/dist/ionic/ionic.esm.js +1 -1
  335. package/dist/ionic/p-03bb02b6.entry.js +4 -0
  336. package/dist/ionic/p-05a057fb.entry.js +4 -0
  337. package/dist/ionic/p-1238548e.entry.js +4 -0
  338. package/dist/ionic/p-1274e8e0.entry.js +4 -0
  339. package/dist/ionic/p-1419107d.entry.js +4 -0
  340. package/dist/ionic/p-1616c2e3.entry.js +4 -0
  341. package/dist/ionic/p-1a4d6cf3.entry.js +4 -0
  342. package/dist/ionic/p-1ae4b282.entry.js +4 -0
  343. package/dist/ionic/p-1b7a15d4.entry.js +4 -0
  344. package/dist/ionic/{p-BWKtcudz.js → p-1feuPAQy.js} +1 -1
  345. package/dist/ionic/p-2090c9dd.entry.js +4 -0
  346. package/dist/ionic/p-26aa0bea.entry.js +4 -0
  347. package/dist/ionic/p-2f68b3c0.entry.js +4 -0
  348. package/dist/ionic/p-2fab8bf5.entry.js +4 -0
  349. package/dist/ionic/p-333b8225.entry.js +4 -0
  350. package/dist/ionic/p-33c41604.entry.js +4 -0
  351. package/dist/ionic/p-46f2c59f.entry.js +4 -0
  352. package/dist/ionic/p-4ecf0d94.entry.js +4 -0
  353. package/dist/ionic/p-4f02f020.entry.js +4 -0
  354. package/dist/ionic/p-52186d6b.entry.js +4 -0
  355. package/dist/ionic/p-53b6ab69.entry.js +4 -0
  356. package/dist/ionic/p-605d5a7e.entry.js +4 -0
  357. package/dist/ionic/p-66adc5a1.entry.js +4 -0
  358. package/dist/ionic/p-6a746af4.entry.js +4 -0
  359. package/dist/ionic/p-6e7d46fa.entry.js +4 -0
  360. package/dist/ionic/p-736344e9.entry.js +4 -0
  361. package/dist/ionic/p-74dda4e5.entry.js +4 -0
  362. package/dist/ionic/p-79e645bd.entry.js +4 -0
  363. package/dist/ionic/p-7hQRImkK.js +4 -0
  364. package/dist/ionic/p-88cf20d2.entry.js +4 -0
  365. package/dist/ionic/p-98d3a2be.entry.js +4 -0
  366. package/dist/ionic/p-9e3b3263.entry.js +4 -0
  367. package/dist/ionic/{p-8B39TMv-.js → p-B9cO-kYV.js} +1 -1
  368. package/dist/ionic/p-BGtO2Fhf.js +6 -0
  369. package/dist/ionic/{p-C4SpVvhx.js → p-BNupGwtk.js} +1 -1
  370. package/dist/ionic/{p-DArnNWiu.js → p-BkcYeWXi.js} +1 -1
  371. package/dist/ionic/p-Bl_jKJLv.js +4 -0
  372. package/dist/ionic/p-BmeHOspf.js +4 -0
  373. package/dist/ionic/{p-5a3UxQAh.js → p-C7A9OQcL.js} +1 -1
  374. package/{components/p-R4UxBukQ.js → dist/ionic/p-CBq1CZwb.js} +1 -1
  375. package/dist/ionic/{p-DxftXYZp.js → p-CNyAVKal.js} +1 -1
  376. package/dist/ionic/p-CRgN46qV.js +4 -0
  377. package/dist/ionic/p-CYKfkI6i.js +4 -0
  378. package/dist/ionic/{p-BBZQUbCq.js → p-C_0lvVN_.js} +1 -1
  379. package/{components/p-CdrNHfZl.js → dist/ionic/p-Ci4965j8.js} +1 -1
  380. package/dist/ionic/{p-SEecsUh7.js → p-CjUT_VTP.js} +1 -1
  381. package/{components/p-LkEGRiq0.js → dist/ionic/p-Cw2UdaY3.js} +1 -1
  382. package/dist/ionic/{p-DFPZa_No.js → p-D0_5-Ckh.js} +1 -1
  383. package/dist/ionic/p-D5TRCRie.js +4 -0
  384. package/dist/ionic/p-DCzujr0Q.js +4 -0
  385. package/dist/ionic/{p-B2JD8_LP.js → p-DJqMQDf-.js} +1 -1
  386. package/dist/ionic/{p-CfccUand.js → p-DRGrDfWv.js} +1 -1
  387. package/dist/ionic/p-Dqz9qh-H.js +4 -0
  388. package/dist/ionic/{p-Cf6KtUnA.js → p-RJtRqfIz.js} +1 -1
  389. package/dist/ionic/p-SfKXFiOB.js +4 -0
  390. package/dist/ionic/{p-CNdt1FPc.js → p-UUJgswAN.js} +1 -1
  391. package/dist/ionic/p-a4df0e91.entry.js +4 -0
  392. package/dist/ionic/p-a992a35b.entry.js +4 -0
  393. package/dist/ionic/p-b5e6edf6.entry.js +4 -0
  394. package/dist/ionic/p-b872f43e.entry.js +4 -0
  395. package/dist/ionic/p-b922806b.entry.js +4 -0
  396. package/dist/ionic/p-bf720fd6.entry.js +4 -0
  397. package/dist/ionic/p-c1209b84.entry.js +4 -0
  398. package/dist/ionic/p-c394744f.entry.js +4 -0
  399. package/dist/ionic/p-c7315410.entry.js +4 -0
  400. package/dist/ionic/p-ca4a06e6.entry.js +4 -0
  401. package/dist/ionic/p-ca608663.entry.js +4 -0
  402. package/dist/ionic/p-d0d4482d.entry.js +4 -0
  403. package/dist/ionic/p-d4afa00a.entry.js +4 -0
  404. package/dist/ionic/p-d7749f70.entry.js +4 -0
  405. package/dist/ionic/p-db93830d.entry.js +4 -0
  406. package/dist/ionic/p-dd3d4a4f.entry.js +4 -0
  407. package/dist/ionic/{p-B2y1T0dN.js → p-de2BC0yO.js} +1 -1
  408. package/dist/ionic/p-df8a4ddd.entry.js +4 -0
  409. package/dist/ionic/p-df9ebba7.entry.js +4 -0
  410. package/dist/ionic/p-eb93c676.entry.js +4 -0
  411. package/dist/ionic/p-ec4dbb45.entry.js +4 -0
  412. package/dist/ionic/p-f0206bd7.entry.js +4 -0
  413. package/dist/ionic/{p-96d040b0.entry.js → p-fcc5b886.entry.js} +1 -1
  414. package/dist/ionic/p-rXvVaOP9.js +4 -0
  415. package/dist/ionic/{p-DCmOKz8e.js → p-ynrl9u5l.js} +1 -1
  416. package/dist/types/components/back-button/back-button.d.ts +3 -0
  417. package/dist/types/components/breadcrumb/breadcrumb.d.ts +8 -0
  418. package/dist/types/components/button/button.d.ts +1 -0
  419. package/dist/types/components/card/card.d.ts +6 -0
  420. package/dist/types/components/fab-button/fab-button.d.ts +2 -0
  421. package/dist/types/components/item/item.d.ts +6 -0
  422. package/dist/types/components/item-option/item-option.d.ts +4 -0
  423. package/dist/types/components/menu-button/menu-button.d.ts +3 -0
  424. package/dist/types/components/router-link/router-link.d.ts +5 -0
  425. package/dist/types/components/segment-button/segment-button.d.ts +1 -0
  426. package/dist/types/components/select/select.d.ts +1 -0
  427. package/dist/types/components/tab-button/tab-button.d.ts +3 -0
  428. package/dist/types/stencil-public-runtime.d.ts +1 -1
  429. package/dist/types/utils/attribute-controller.d.ts +28 -6
  430. package/hydrate/index.js +574 -262
  431. package/hydrate/index.mjs +574 -262
  432. package/package.json +2 -2
  433. package/components/p-C0TdbIVo.js +0 -4
  434. package/components/p-C6Y0cCH_.js +0 -4
  435. package/components/p-CCFj0kgH.js +0 -4
  436. package/components/p-CRb2xRCz.js +0 -4
  437. package/components/p-CohRJRIu.js +0 -4
  438. package/components/p-Ct2aBEue.js +0 -4
  439. package/components/p-CwEis84J.js +0 -4
  440. package/components/p-DLEJ61lJ.js +0 -4
  441. package/components/p-Dah8BCNg.js +0 -4
  442. package/components/p-DaojW_d_.js +0 -4
  443. package/components/p-Ds5vN3iu.js +0 -4
  444. package/components/p-kKGBuIkf.js +0 -4
  445. package/dist/cjs/attribute-controller-0-lwbVEj.js +0 -131
  446. package/dist/esm/attribute-controller-ItNOXNp9.js +0 -128
  447. package/dist/ionic/p-00cd107d.entry.js +0 -4
  448. package/dist/ionic/p-013b9aba.entry.js +0 -4
  449. package/dist/ionic/p-014c3633.entry.js +0 -4
  450. package/dist/ionic/p-0562139b.entry.js +0 -4
  451. package/dist/ionic/p-0a789930.entry.js +0 -4
  452. package/dist/ionic/p-0f1613f2.entry.js +0 -4
  453. package/dist/ionic/p-1252621e.entry.js +0 -4
  454. package/dist/ionic/p-129f7b95.entry.js +0 -4
  455. package/dist/ionic/p-16de8fd9.entry.js +0 -4
  456. package/dist/ionic/p-1bb1be7e.entry.js +0 -4
  457. package/dist/ionic/p-1f342c2d.entry.js +0 -4
  458. package/dist/ionic/p-1ffa5577.entry.js +0 -4
  459. package/dist/ionic/p-210f906e.entry.js +0 -4
  460. package/dist/ionic/p-27960f65.entry.js +0 -4
  461. package/dist/ionic/p-3c6fc2e8.entry.js +0 -4
  462. package/dist/ionic/p-436d4ac8.entry.js +0 -4
  463. package/dist/ionic/p-43729675.entry.js +0 -4
  464. package/dist/ionic/p-4468e439.entry.js +0 -4
  465. package/dist/ionic/p-4e4e5919.entry.js +0 -4
  466. package/dist/ionic/p-51af4728.entry.js +0 -4
  467. package/dist/ionic/p-59e4b521.entry.js +0 -4
  468. package/dist/ionic/p-5b47b8d5.entry.js +0 -4
  469. package/dist/ionic/p-5dcddfd5.entry.js +0 -4
  470. package/dist/ionic/p-694f3e78.entry.js +0 -4
  471. package/dist/ionic/p-76c189e7.entry.js +0 -4
  472. package/dist/ionic/p-77252596.entry.js +0 -4
  473. package/dist/ionic/p-77540bcb.entry.js +0 -4
  474. package/dist/ionic/p-77e7b612.entry.js +0 -4
  475. package/dist/ionic/p-7868eb92.entry.js +0 -4
  476. package/dist/ionic/p-800ce1e0.entry.js +0 -4
  477. package/dist/ionic/p-84470714.entry.js +0 -4
  478. package/dist/ionic/p-87fb6d59.entry.js +0 -4
  479. package/dist/ionic/p-8af85fa8.entry.js +0 -4
  480. package/dist/ionic/p-8c85e250.entry.js +0 -4
  481. package/dist/ionic/p-8dQB1sG_.js +0 -4
  482. package/dist/ionic/p-9515f840.entry.js +0 -4
  483. package/dist/ionic/p-9d7e5a0b.entry.js +0 -4
  484. package/dist/ionic/p-B0afqOUt.js +0 -4
  485. package/dist/ionic/p-BHBb21Hp.js +0 -4
  486. package/dist/ionic/p-BexAj0yw.js +0 -4
  487. package/dist/ionic/p-BgkRGRO3.js +0 -4
  488. package/dist/ionic/p-BpRUsN_W.js +0 -6
  489. package/dist/ionic/p-DBFcFCH5.js +0 -4
  490. package/dist/ionic/p-DYKDWM2f.js +0 -4
  491. package/dist/ionic/p-DfvWlTdB.js +0 -4
  492. package/dist/ionic/p-DriE1ZAo.js +0 -4
  493. package/dist/ionic/p-DzQk7Lu8.js +0 -4
  494. package/dist/ionic/p-a45caa30.entry.js +0 -4
  495. package/dist/ionic/p-af15fc5d.entry.js +0 -4
  496. package/dist/ionic/p-af4b4719.entry.js +0 -4
  497. package/dist/ionic/p-b0faaae2.entry.js +0 -4
  498. package/dist/ionic/p-b3aadfe8.entry.js +0 -4
  499. package/dist/ionic/p-b5bcbbc1.entry.js +0 -4
  500. package/dist/ionic/p-c293f854.entry.js +0 -4
  501. package/dist/ionic/p-c56c23b6.entry.js +0 -4
  502. package/dist/ionic/p-c7ea2647.entry.js +0 -4
  503. package/dist/ionic/p-c8c77f7b.entry.js +0 -4
  504. package/dist/ionic/p-cbc73380.entry.js +0 -4
  505. package/dist/ionic/p-d58e9da3.entry.js +0 -4
  506. package/dist/ionic/p-ec08a7e6.entry.js +0 -4
  507. package/dist/ionic/p-f37e6ed2.entry.js +0 -4
  508. package/dist/ionic/p-f6a1ab48.entry.js +0 -4
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { Host, h } from "@stencil/core";
4
+ import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { inheritAriaAttributes } from "../../utils/helpers";
6
7
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
7
8
  import { arrowBackSharp, chevronBack } from "ionicons/icons";
@@ -36,10 +37,17 @@ export class BackButton {
36
37
  }
37
38
  componentWillLoad() {
38
39
  this.inheritedAttributes = inheritAriaAttributes(this.el);
40
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
39
41
  if (this.defaultHref === undefined) {
40
42
  this.defaultHref = config.get('backButtonDefaultHref');
41
43
  }
42
44
  }
45
+ connectedCallback() {
46
+ this.tabindexController?.init();
47
+ }
48
+ disconnectedCallback() {
49
+ this.tabindexController?.destroy();
50
+ }
43
51
  get backButtonIcon() {
44
52
  const icon = this.icon;
45
53
  if (icon != null) {
@@ -73,7 +81,8 @@ export class BackButton {
73
81
  const showBackButton = defaultHref !== undefined;
74
82
  const mode = getIonMode(this);
75
83
  const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
76
- return (h(Host, { key: '5466624a10f1ab56f5469e6dc07080303880f2fe', onClick: this.onClick, class: createColorClasses(color, {
84
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
85
+ return (h(Host, { key: '0b7d30b4421e69c01041819a242bb4d57ee08cdd', onClick: this.onClick, class: createColorClasses(color, {
77
86
  [mode]: true,
78
87
  button: true, // ion-buttons target .button
79
88
  'back-button-disabled': disabled,
@@ -83,7 +92,7 @@ export class BackButton {
83
92
  'ion-activatable': true,
84
93
  'ion-focusable': true,
85
94
  'show-back-button': showBackButton,
86
- }) }, h("button", { key: '63bc75ef0ad7cc9fb79e58217a3314b20acd73e3', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '5d3eacbd11af2245c6e1151cab446a0d96559ad8', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: '6439af0ae463764174e7d3207f02267811df666d', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '8ee89fb18dfdb5b75948a8b197ff4cdbc008742f', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), mode === 'md' && h("ion-ripple-effect", { key: '63803a884998bc73bea5afe0b2a0a14e3fa4d6bf', type: this.rippleType }))));
95
+ }) }, h("button", { key: '20bf90c1b19af213eb7db6fb105423b1d5552cc7', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel, ...tabindexAttributes }, h("span", { key: '1472b6bac0ae85a040f8de0a505cc6479e96b672', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: '223376e1501ca203b9f6d004707dd1d18b5fc076', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '0e94d0b6c930193ed3762946731cf9f4ae626b72', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), mode === 'md' && h("ion-ripple-effect", { key: '7ef5b94fbbca517f333d1ae55198b373d843fec4', type: this.rippleType }))));
87
96
  }
88
97
  static get is() { return "ion-back-button"; }
89
98
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { Host, h } from "@stencil/core";
4
+ import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { inheritAriaAttributes } from "../../utils/helpers";
6
7
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
7
8
  import { chevronForwardOutline, ellipsisHorizontal } from "ionicons/icons";
@@ -45,6 +46,21 @@ export class Breadcrumb {
45
46
  }
46
47
  componentWillLoad() {
47
48
  this.inheritedAttributes = inheritAriaAttributes(this.el);
49
+ // A breadcrumb without an `href` has no native link, so `tabindex` stays on the host.
50
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
51
+ }
52
+ /**
53
+ * Adding or removing `href` adds or removes the native link, so `tabindex` has to move
54
+ * with it.
55
+ */
56
+ hrefChanged() {
57
+ this.tabindexController?.refresh();
58
+ }
59
+ connectedCallback() {
60
+ this.tabindexController?.init();
61
+ }
62
+ disconnectedCallback() {
63
+ this.tabindexController?.destroy();
48
64
  }
49
65
  isClickable() {
50
66
  return this.href !== undefined;
@@ -52,6 +68,7 @@ export class Breadcrumb {
52
68
  render() {
53
69
  const { color, active, collapsed, disabled, download, el, inheritedAttributes, last, routerAnimation, routerDirection, separator, showCollapsedIndicator, target, } = this;
54
70
  const clickable = this.isClickable();
71
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
55
72
  const TagType = this.href === undefined ? 'span' : 'a';
56
73
  // Links can still be tabbed to when set to disabled if they have an href
57
74
  // in order to truly disable them we can keep it as an anchor but remove the href
@@ -68,7 +85,7 @@ export class Breadcrumb {
68
85
  // to show the separator as long as it isn't also the last breadcrumb
69
86
  // otherwise if not collapsed use the value in separator
70
87
  const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;
71
- return (h(Host, { key: '32ca61c83721dff52b5e97171ed449dce3584a55', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
88
+ return (h(Host, { key: '6f50e8b42045b81771ffd123a3cb708c603c1541', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
72
89
  [mode]: true,
73
90
  'breadcrumb-active': active,
74
91
  'breadcrumb-collapsed': collapsed,
@@ -78,15 +95,15 @@ export class Breadcrumb {
78
95
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
79
96
  'ion-activatable': clickable,
80
97
  'ion-focusable': clickable,
81
- }) }, h(TagType, { key: '479feb845f4a6d8009d5422b33eb423730b9722b', ...attrs, class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("slot", { key: '3c5dcaeb0d258235d1b7707868026ff1d1404099', name: "start" }), h("slot", { key: 'f1cfb934443cd97dc220882c5e3596ea879d66cf' }), h("slot", { key: '539710121b5b1f3ee8d4c24a9651b67c2ae08add', name: "end" })), showCollapsedIndicator && (h("button", { key: 'ed53a95ccd89022c8b7bee0658a221ec62a5c73b', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
98
+ }) }, h(TagType, { key: '4ac14d323e1d35e987862aa9b875d30be2310a71', ...attrs, class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes, ...tabindexAttributes }, h("slot", { key: 'a3598ed5bc506acc4f5bef525cd2404b00228620', name: "start" }), h("slot", { key: '0696a0ffd1513c1d93deb269fdf600e9ef434f17' }), h("slot", { key: 'bf315bd49788604c27b8ba354796250b56f2fcb0', name: "end" })), showCollapsedIndicator && (h("button", { key: 'b130482d7ed16e3c452fa779b0696d1f8687e379', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
82
99
  'breadcrumbs-collapsed-indicator': true,
83
- } }, h("ion-icon", { key: 'a849e1142a86f06f207cf11662fa2a560ab7fc6a', "aria-hidden": "true", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (
100
+ } }, h("ion-icon", { key: 'd5094d69a6477b390afaa230f76011bef97f386f', "aria-hidden": "true", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (
84
101
  /**
85
102
  * Separators should not be announced by narrators.
86
103
  * We add aria-hidden on the span so that this applies
87
104
  * to any custom separators too.
88
105
  */
89
- h("span", { key: 'fc3c741cb01fafef8b26046c7ee5b190efc69a7c', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: '4871932ae1dae520767e0713e7cee2d11b0bba6d', name: "separator" }, mode === 'ios' ? (h("ion-icon", { icon: chevronForwardOutline, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
106
+ h("span", { key: '98421acb32aa73507ea1ab078555c20f4bdef6cd', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, h("slot", { key: '8b37779f2003554631a923a8d7ce2436238d1b05', name: "separator" }, mode === 'ios' ? (h("ion-icon", { icon: chevronForwardOutline, lazy: false, "flip-rtl": true })) : (h("span", null, "/")))))));
90
107
  }
91
108
  static get is() { return "ion-breadcrumb"; }
92
109
  static get encapsulation() { return "shadow"; }
@@ -444,4 +461,10 @@ export class Breadcrumb {
444
461
  }];
445
462
  }
446
463
  static get elementRef() { return "el"; }
464
+ static get watchers() {
465
+ return [{
466
+ "propName": "href",
467
+ "methodName": "hrefChanged"
468
+ }];
469
+ }
447
470
  }
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Host, forceUpdate, h } from "@stencil/core";
5
- import { createAriaAttributeController } from "../../utils/attribute-controller";
5
+ import { createAriaAttributeController, createTabindexController } from "../../utils/attribute-controller";
6
6
  import { hasShadowDom } from "../../utils/helpers";
7
7
  import { printIonWarning } from "../../utils/logging/index";
8
8
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
@@ -128,12 +128,15 @@ export class Button {
128
128
  * two elements in the accessibility tree.
129
129
  */
130
130
  this.ariaController = createAriaAttributeController(this.el, () => forceUpdate(this), ['aria-disabled', 'role']);
131
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
131
132
  }
132
133
  connectedCallback() {
133
134
  this.ariaController?.init();
135
+ this.tabindexController?.init();
134
136
  }
135
137
  disconnectedCallback() {
136
138
  this.ariaController?.destroy();
139
+ this.tabindexController?.destroy();
137
140
  }
138
141
  get hasIconOnly() {
139
142
  return !!this.el.querySelector('[slot="icon-only"]');
@@ -209,7 +212,10 @@ export class Button {
209
212
  render() {
210
213
  const mode = getIonMode(this);
211
214
  const { buttonType, type, disabled, rel, target, size, href, color, expand, hasIconOnly, shape, strong } = this;
212
- const inheritedAttributes = this.ariaController?.attributes ?? {};
215
+ const inheritedAttributes = {
216
+ ...this.ariaController?.attributes,
217
+ ...this.tabindexController?.attributes,
218
+ };
213
219
  const finalSize = size === undefined && this.inItem ? 'small' : size;
214
220
  const TagType = href === undefined ? 'button' : 'a';
215
221
  const attrs = TagType === 'button'
@@ -234,7 +240,7 @@ export class Button {
234
240
  {
235
241
  type !== 'button' && this.renderHiddenButton();
236
242
  }
237
- return (h(Host, { key: 'fd42d1a5836c148cddd6c474c130ce4bb36286ea', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
243
+ return (h(Host, { key: '9676cd8eb88ff0ff0582eeaa8b87ed4525a4dbee', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
238
244
  [mode]: true,
239
245
  [buttonType]: true,
240
246
  [`${buttonType}-${expand}`]: expand !== undefined,
@@ -249,7 +255,7 @@ export class Button {
249
255
  'button-disabled': disabled,
250
256
  'ion-activatable': true,
251
257
  'ion-focusable': true,
252
- }) }, h(TagType, { key: '97dbf689ea912aed38182dbe0097a2bf5b768816', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("span", { key: '0f1ff4c667e95a8e3dc787fee43fe529b95477b7', class: "button-inner" }, h("slot", { key: 'fc1e8b8080d02828c392e9edd6a70e0255435f82', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: 'c1ece4c0d935f4d023d38fee4cf529dd4123d487', name: "start" }), h("slot", { key: '970db0ee1e3633bc9cbff52eca446e4891ff6851' }), h("slot", { key: 'ef8d7d894f01dbe881f381b985620c2a482e55fe', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: 'fea5e49a54b0efd07b1bd35d9fd5d2d862a2bac1', type: this.rippleType }))));
258
+ }) }, h(TagType, { key: '42609eab7e854c1e1ddf678c7dc83c7ec81e560e', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, ...inheritedAttributes }, h("span", { key: 'a212acc720c9312b3ac35345333df7a7175ace92', class: "button-inner" }, h("slot", { key: '05986b525272c768a37c274748f15aeb2fce313e', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: '4b6951f7b201c19714e97e2075f517f88642a169', name: "start" }), h("slot", { key: 'fa2d5ca4551a14ebfafe5399683e239566571398' }), h("slot", { key: 'ca8edc225165824f535177b99bb39adc1fea5fd2', name: "end" })), mode === 'md' && h("ion-ripple-effect", { key: '01c38cc6c230bb35861bbcc1472f4a2f18522e93', type: this.rippleType }))));
253
259
  }
254
260
  static get is() { return "ion-button"; }
255
261
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Host, h, forceUpdate } from "@stencil/core";
5
- import { createAttributeController } from "../../utils/attribute-controller";
5
+ import { createAttributeController, createTabindexController } from "../../utils/attribute-controller";
6
6
  import { createColorClasses, openURL } from "../../utils/theme";
7
7
  import { getIonMode } from "../../global/ionic-global";
8
8
  /**
@@ -37,12 +37,23 @@ export class Card {
37
37
  * the card host renders no role of its own, so nothing reads the leftover copy.
38
38
  */
39
39
  this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
40
+ // A card that isn't clickable has no native button or link, so `tabindex` stays on the host.
41
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
42
+ }
43
+ /**
44
+ * Changing `href` or `button` adds or removes the native element, so `tabindex` has to
45
+ * move with it.
46
+ */
47
+ clickableChanged() {
48
+ this.tabindexController?.refresh();
40
49
  }
41
50
  connectedCallback() {
42
51
  this.ariaController?.init();
52
+ this.tabindexController?.init();
43
53
  }
44
54
  disconnectedCallback() {
45
55
  this.ariaController?.destroy();
56
+ this.tabindexController?.destroy();
46
57
  }
47
58
  isClickable() {
48
59
  return this.href !== undefined || this.button;
@@ -54,6 +65,7 @@ export class Card {
54
65
  }
55
66
  const { href, routerAnimation, routerDirection } = this;
56
67
  const inheritedAriaAttributes = this.ariaController?.attributes ?? {};
68
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
57
69
  const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
58
70
  const attrs = TagType === 'button'
59
71
  ? { type: this.type }
@@ -63,11 +75,11 @@ export class Card {
63
75
  rel: this.rel,
64
76
  target: this.target,
65
77
  };
66
- return (h(TagType, { ...attrs, ...inheritedAriaAttributes, class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }, h("slot", null), clickable && mode === 'md' && h("ion-ripple-effect", null)));
78
+ return (h(TagType, { ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }, h("slot", null), clickable && mode === 'md' && h("ion-ripple-effect", null)));
67
79
  }
68
80
  render() {
69
81
  const mode = getIonMode(this);
70
- return (h(Host, { key: '104412c26f53cce36432c3bb4d9e38bbe00c5816', class: createColorClasses(this.color, {
82
+ return (h(Host, { key: 'a50cd4e11f563acefeadc4c8f67536276593384a', class: createColorClasses(this.color, {
71
83
  [mode]: true,
72
84
  'card-disabled': this.disabled,
73
85
  'ion-activatable': this.isClickable(),
@@ -305,4 +317,13 @@ export class Card {
305
317
  };
306
318
  }
307
319
  static get elementRef() { return "el"; }
320
+ static get watchers() {
321
+ return [{
322
+ "propName": "href",
323
+ "methodName": "clickableChanged"
324
+ }, {
325
+ "propName": "button",
326
+ "methodName": "clickableChanged"
327
+ }];
328
+ }
308
329
  }
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { Host, h } from "@stencil/core";
4
+ import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { inheritAriaAttributes, hasShadowDom } from "../../utils/helpers";
6
7
  import { printIonWarning } from "../../utils/logging/index";
7
8
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
@@ -76,6 +77,10 @@ export class FabButton {
76
77
  }
77
78
  connectedCallback() {
78
79
  this.fab = this.el.closest('ion-fab');
80
+ this.tabindexController?.init();
81
+ }
82
+ disconnectedCallback() {
83
+ this.tabindexController?.destroy();
79
84
  }
80
85
  /**
81
86
  * The native button rendered inside `ion-fab-button` is in the Shadow DOM and
@@ -135,11 +140,13 @@ export class FabButton {
135
140
  }
136
141
  componentWillLoad() {
137
142
  this.inheritedAttributes = inheritAriaAttributes(this.el);
143
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
138
144
  }
139
145
  render() {
140
146
  const { el, disabled, color, href, activated, show, translucent, size, inheritedAttributes, type } = this;
141
147
  const inList = hostContext('ion-fab-list', el);
142
148
  const mode = getIonMode(this);
149
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
143
150
  const TagType = href === undefined ? 'button' : 'a';
144
151
  const attrs = TagType === 'button'
145
152
  ? { type }
@@ -156,7 +163,7 @@ export class FabButton {
156
163
  if (type !== 'button') {
157
164
  this.renderHiddenButton();
158
165
  }
159
- return (h(Host, { key: '89e8f2564f12f8c1cd8509a40359202347948846', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
166
+ return (h(Host, { key: '95594de6a6509d29799ba4f5b54a14632bca1c83', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
160
167
  [mode]: true,
161
168
  'fab-button-in-list': inList,
162
169
  'fab-button-translucent-in-list': inList && translucent,
@@ -167,7 +174,7 @@ export class FabButton {
167
174
  'ion-activatable': true,
168
175
  'ion-focusable': true,
169
176
  [`fab-button-${size}`]: size !== undefined,
170
- }) }, h(TagType, { key: '9e2fd462316e1aec50f53fa1b7ad7f02fd399592', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => type === 'button' && openURL(href, ev, this.routerDirection, this.routerAnimation), ...inheritedAttributes }, h("ion-icon", { key: 'c3bdb8614eb249297afc963810066658dc85efd6', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'a6a505b24d21cc716d2e3351ad4c380b95c768d7', class: "button-inner" }, h("slot", { key: 'f44fc1e95533438ee3adc8cc5bdd9e1e85849fd6' })), mode === 'md' && h("ion-ripple-effect", { key: 'b7c7dc7fceb0bb5613239608225f040010b7b2bd' }))));
177
+ }) }, h(TagType, { key: '0f9dd1984d646dc3784a1c701db068e48c9155e3', ...attrs, class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => type === 'button' && openURL(href, ev, this.routerDirection, this.routerAnimation), ...inheritedAttributes, ...tabindexAttributes }, h("ion-icon", { key: '6ba981ded86087506dfc115124d4f69bb4c8d03c', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '54efdabe98164f3575641c104f8a9e82ec2a42c7', class: "button-inner" }, h("slot", { key: '23c0809c2371454c27cb8dd55d0c81bbf062a238' })), mode === 'md' && h("ion-ripple-effect", { key: '7aacc6325bbc990e496378eef0d5af2697b2edce' }))));
171
178
  }
172
179
  static get is() { return "ion-fab-button"; }
173
180
  static get encapsulation() { return "shadow"; }
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Build, Host, forceUpdate, h } from "@stencil/core";
5
- import { createAttributeController } from "../../utils/attribute-controller";
5
+ import { createAttributeController, createTabindexController } from "../../utils/attribute-controller";
6
6
  import { raf } from "../../utils/helpers";
7
7
  import { isRTL } from "../../utils/rtl/index";
8
8
  import { createColorClasses, hostContext, openURL } from "../../utils/theme";
@@ -61,6 +61,14 @@ export class Item {
61
61
  buttonChanged() {
62
62
  // Update the focusable option when the button option is changed
63
63
  this.focusable = this.isFocusable();
64
+ this.tabindexController?.refresh();
65
+ }
66
+ /**
67
+ * Adding or removing `href` adds or removes the native element, so `tabindex` has to move
68
+ * with it. The same goes for `button` in `buttonChanged`.
69
+ */
70
+ hrefChanged() {
71
+ this.tabindexController?.refresh();
64
72
  }
65
73
  labelColorChanged(ev) {
66
74
  const { color } = this;
@@ -106,6 +114,7 @@ export class Item {
106
114
  this.updateInteractivityOnSlotChange();
107
115
  }
108
116
  this.ariaController?.init();
117
+ this.tabindexController?.init();
109
118
  }
110
119
  componentWillLoad() {
111
120
  /**
@@ -115,6 +124,8 @@ export class Item {
115
124
  * reads it twice.
116
125
  */
117
126
  this.ariaController = createAttributeController(this.el, ['aria-label'], () => forceUpdate(this));
127
+ // An item that isn't clickable has no native button or link, so `tabindex` stays on the host.
128
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this), () => this.isClickable());
118
129
  }
119
130
  componentDidLoad() {
120
131
  raf(() => {
@@ -132,6 +143,7 @@ export class Item {
132
143
  this.indicatorControlObserver = undefined;
133
144
  }
134
145
  this.ariaController?.destroy();
146
+ this.tabindexController?.destroy();
135
147
  }
136
148
  totalNestedInputs() {
137
149
  // The following elements have a clickable cover that is relative to the entire item
@@ -246,6 +258,7 @@ export class Item {
246
258
  const clickable = this.isClickable();
247
259
  const canActivate = this.canActivate();
248
260
  const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
261
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
249
262
  const attrs = TagType === 'button'
250
263
  ? { type: this.type }
251
264
  : {
@@ -316,7 +329,7 @@ export class Item {
316
329
  * multi-input item, and in a clickable item, which is a second tab stop.
317
330
  */
318
331
  const slottedIndicatorNeedsRoom = this.hasSlottedIndicatorControl && (multipleInputs || this.isClickable());
319
- return (h(Host, { key: 'dedd4fbc4f9e4db557c6f8bd91299778af9aba1c', "aria-disabled": ariaDisabled, class: {
332
+ return (h(Host, { key: 'b9de79c9d6fbe11a19c8e507d1c34af9f9068cfa', "aria-disabled": ariaDisabled, class: {
320
333
  ...childStyles,
321
334
  ...labelColorStyles,
322
335
  ...createColorClasses(this.color, {
@@ -333,7 +346,7 @@ export class Item {
333
346
  'ion-focusable': this.focusable,
334
347
  'item-rtl': isRTL(el),
335
348
  }),
336
- }, role: inList ? 'listitem' : null }, h(TagType, { key: '949000f555bbc8b76a227d84a2442defc3577a4e', ...attrs, ...inheritedAriaAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, h("slot", { key: '9fde070c0f830cfed9c7e25ea4d1f1d7ab710d07', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), h("div", { key: 'd7ab19b4d7e5d4a7fec2d66e1cb865ff30c609f0', class: "item-inner", part: "inner" }, h("div", { key: 'fdf3f306b98ab6af536e320341985fb34d50ef35', class: "input-wrapper", part: "container" }, h("slot", { key: '06ecb3817c2bdf171f806e2b3e8701d3eb52897e', onSlotchange: this.updateInteractivityOnSlotChange })), h("slot", { key: '7e401db776cd19b0399004e77920b23e526c551a', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (h("ion-icon", { key: '1dac0a6d5a1ce811731fd5b81b92440de8725989', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && h("ion-ripple-effect", { key: '7a782fa9c7e74e600191c41c7dd90a4a499de64e' }))));
349
+ }, role: inList ? 'listitem' : null }, h(TagType, { key: 'c52faccd0d44784e300e55c90b4456c491513c3c', ...attrs, ...inheritedAriaAttributes, ...tabindexAttributes, class: "item-native", part: "native", disabled: disabled, ...clickFn }, h("slot", { key: '11cc95e796b494cf87db7b810846cb2c18186577', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), h("div", { key: '6c94a9dd570f4e6e65924fdde6bcbb840c9b424d', class: "item-inner", part: "inner" }, h("div", { key: '06c490d6f3e15fa811c72d5cd2b7936f99dd8430', class: "input-wrapper", part: "container" }, h("slot", { key: '4487a6cf30f3b26455c96726733f57b1dbcab694', onSlotchange: this.updateInteractivityOnSlotChange })), h("slot", { key: '16d6e70fa22f43b11bc63304dae9900f4a41b703', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (h("ion-icon", { key: 'b24443f5753b67f9021b8127cebf47d329e0b03d', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && h("ion-ripple-effect", { key: 'a9b081a6ebe870d057b775cfae2e7a4de6679155' }))));
337
350
  }
338
351
  static get is() { return "ion-item"; }
339
352
  static get encapsulation() { return "shadow"; }
@@ -637,6 +650,9 @@ export class Item {
637
650
  return [{
638
651
  "propName": "button",
639
652
  "methodName": "buttonChanged"
653
+ }, {
654
+ "propName": "href",
655
+ "methodName": "hrefChanged"
640
656
  }];
641
657
  }
642
658
  static get listeners() {
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { Host, h } from "@stencil/core";
4
+ import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { createColorClasses } from "../../utils/theme";
6
7
  import { getIonMode } from "../../global/ionic-global";
7
8
  /**
@@ -39,8 +40,18 @@ export class ItemOption {
39
40
  }
40
41
  };
41
42
  }
43
+ componentWillLoad() {
44
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
45
+ }
46
+ connectedCallback() {
47
+ this.tabindexController?.init();
48
+ }
49
+ disconnectedCallback() {
50
+ this.tabindexController?.destroy();
51
+ }
42
52
  render() {
43
53
  const { disabled, expandable, href } = this;
54
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
44
55
  const TagType = href === undefined ? 'button' : 'a';
45
56
  const mode = getIonMode(this);
46
57
  const attrs = TagType === 'button'
@@ -50,12 +61,12 @@ export class ItemOption {
50
61
  href: this.href,
51
62
  target: this.target,
52
63
  };
53
- return (h(Host, { key: 'a10d36e60d61865141c57c03a114e4845b400a55', onClick: this.onClick, class: createColorClasses(this.color, {
64
+ return (h(Host, { key: 'b9d323be73e0ac6408aa56a05eeb67076e35daf8', onClick: this.onClick, class: createColorClasses(this.color, {
54
65
  [mode]: true,
55
66
  'item-option-disabled': disabled,
56
67
  'item-option-expandable': expandable,
57
68
  'ion-activatable': true,
58
- }) }, h(TagType, { key: '5cc49ef73318213f6202d1d0f460f629ea65f17f', ...attrs, class: "button-native", part: "native", disabled: disabled }, h("span", { key: '0643b16660b4ca00b0f3b4dbe2739e9ce076abea', class: "button-inner", part: "inner" }, h("slot", { key: '8778d6d09aa9e0db278ce00c5456a1acfe82c15f', name: "top" }), h("div", { key: '4fc849494c8cb2380015161e096b5c61cf517d90', class: "horizontal-wrapper", part: "container" }, h("slot", { key: '9d0c0a5a63d8ec636df9c85d48bbdb39fb63af5e', name: "start" }), h("slot", { key: 'a40561497c7e7d73173edd24ed335230e6eebb2b', name: "icon-only" }), h("slot", { key: 'b94f2a4aa5bf4a1104497ced1920d6ee43d33659' }), h("slot", { key: '91713dbb3e6a617c00f950857f2ed5e5ffceaa9a', name: "end" })), h("slot", { key: 'f5af33c3bfb50fc629a06e1120bba55da07b2afb', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: 'fc56e1644ef9c5b2e1e66683465a7fd09c05215c' }))));
69
+ }) }, h(TagType, { key: '6a59ebaa090613f42fca1fe51eff7863a69526ac', ...attrs, ...tabindexAttributes, class: "button-native", part: "native", disabled: disabled }, h("span", { key: '9a5709f3b6d6bccdf0d60345f6171ca5439d54f4', class: "button-inner", part: "inner" }, h("slot", { key: '9d76f6239d4c50cb785142a89bba26702a79c1f8', name: "top" }), h("div", { key: 'b2aecda5dbfa5e3279d49b6dab6cb14c0b5df697', class: "horizontal-wrapper", part: "container" }, h("slot", { key: '40d56d38d7a73a55f5ea4f6cdd6bc62dcfaa8dae', name: "start" }), h("slot", { key: 'e531ca665546752bde34525cc6630a5ea2ac2575', name: "icon-only" }), h("slot", { key: '2b7a78f6a4776eeb0720f79a81d075f75c63f4ff' }), h("slot", { key: 'b296120a461d3b330ec05a97524b8ce5d3250a07', name: "end" })), h("slot", { key: '5ebdf7af5acb29cc1b728f812d7f0c4d952512cc', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: '538f3e7d90a17ddbcc72ad227a0711573d3f7aac' }))));
59
70
  }
60
71
  static get is() { return "ion-item-option"; }
61
72
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { Host, h } from "@stencil/core";
4
+ import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { inheritAriaAttributes } from "../../utils/helpers";
6
7
  import { menuController } from "../../utils/menu-controller/index";
7
8
  import { createColorClasses, hostContext } from "../../utils/theme";
@@ -37,6 +38,13 @@ export class MenuButton {
37
38
  }
38
39
  componentWillLoad() {
39
40
  this.inheritedAttributes = inheritAriaAttributes(this.el);
41
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
42
+ }
43
+ connectedCallback() {
44
+ this.tabindexController?.init();
45
+ }
46
+ disconnectedCallback() {
47
+ this.tabindexController?.destroy();
40
48
  }
41
49
  componentDidLoad() {
42
50
  this.visibilityChanged();
@@ -46,6 +54,7 @@ export class MenuButton {
46
54
  }
47
55
  render() {
48
56
  const { color, disabled, inheritedAttributes } = this;
57
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
49
58
  const mode = getIonMode(this);
50
59
  const menuIcon = config.get('menuIcon', mode === 'ios' ? menuOutline : menuSharp);
51
60
  const hidden = this.autoHide && !this.visible;
@@ -53,7 +62,7 @@ export class MenuButton {
53
62
  type: this.type,
54
63
  };
55
64
  const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
56
- return (h(Host, { key: 'b8869377822b082c6c4d3f16135b50b733eabf65', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
65
+ return (h(Host, { key: 'bccc30d2a1e67e484f493211f950391c82f28b00', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
57
66
  [mode]: true,
58
67
  button: true, // ion-buttons target .button
59
68
  'menu-button-hidden': hidden,
@@ -62,7 +71,7 @@ export class MenuButton {
62
71
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
63
72
  'ion-activatable': true,
64
73
  'ion-focusable': true,
65
- }) }, h("button", { key: '48fc0a7011414b60dd7d5136f247e937ae4bb8c8', ...attrs, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '8c712f28c5afd345e403a9afc525931112852708', class: "button-inner" }, h("slot", { key: 'dd872325e42baf435188478c8d1cfc416075089d' }, h("ion-icon", { key: 'a4f02bdb715b07792c17e12c7837873d70171f88', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: '564e2a8a804e14d1135502f7b17d8b7b9862e81b', type: "unbounded" }))));
74
+ }) }, h("button", { key: 'c2479290c5fee434c12c75fe47b2a10c58908bcb', ...attrs, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel, ...tabindexAttributes }, h("span", { key: 'ab2a5aa0aced1e551f5571dbfd3dabe8b3558370', class: "button-inner" }, h("slot", { key: '7e7f827910287e11ffe716639c069e977df64d6a' }, h("ion-icon", { key: 'ec4677e9b71d4b2167c64aebef269a58994262d1', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: '5b88e62b6cb4530f7b63dde0352cb0b7ef73cbff', type: "unbounded" }))));
66
75
  }
67
76
  static get is() { return "ion-menu-button"; }
68
77
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { Host, h } from "@stencil/core";
4
+ import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { createColorClasses, openURL } from "../../utils/theme";
6
7
  import { getIonMode } from "../../global/ionic-global";
7
8
  export class RouterLink {
@@ -15,17 +16,27 @@ export class RouterLink {
15
16
  openURL(this.href, ev, this.routerDirection, this.routerAnimation);
16
17
  };
17
18
  }
19
+ componentWillLoad() {
20
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
21
+ }
22
+ connectedCallback() {
23
+ this.tabindexController?.init();
24
+ }
25
+ disconnectedCallback() {
26
+ this.tabindexController?.destroy();
27
+ }
18
28
  render() {
19
29
  const mode = getIonMode(this);
30
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
20
31
  const attrs = {
21
32
  href: this.href,
22
33
  rel: this.rel,
23
34
  target: this.target,
24
35
  };
25
- return (h(Host, { key: '8aaf732d8f5cc4ced351e2b3164605c10bd90cad', onClick: this.onClick, class: createColorClasses(this.color, {
36
+ return (h(Host, { key: '51d8c563858a89c274f4b3778b937e545f4626df', onClick: this.onClick, class: createColorClasses(this.color, {
26
37
  [mode]: true,
27
38
  'ion-activatable': true,
28
- }) }, h("a", { key: '8f291ffbbce5b08dd10720d855eb020880bf1be1', ...attrs }, h("slot", { key: '24dc388a49204011e1c1f0a1131c9a1b0a4ae4da' }))));
39
+ }) }, h("a", { key: '2f806b3036d648cf01ff69739c7f422c9a554c7d', ...attrs, ...tabindexAttributes }, h("slot", { key: '43a2ee8b80574b120d80a8d65e8615921eb36afb' }))));
29
40
  }
30
41
  static get is() { return "ion-router-link"; }
31
42
  static get encapsulation() { return "shadow"; }
@@ -177,4 +188,5 @@ export class RouterLink {
177
188
  }
178
189
  };
179
190
  }
191
+ static get elementRef() { return "el"; }
180
192
  }
@@ -2,6 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { Host, forceUpdate, h } from "@stencil/core";
5
+ import { createTabindexController } from "../../utils/attribute-controller";
5
6
  import { addEventListener, removeEventListener, inheritAttributes } from "../../utils/helpers";
6
7
  import { printIonError, printIonWarning } from "../../utils/logging/index";
7
8
  import { hostContext } from "../../utils/theme";
@@ -52,6 +53,7 @@ export class SegmentButton {
52
53
  this.updateState();
53
54
  }
54
55
  connectedCallback() {
56
+ this.tabindexController?.init();
55
57
  const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
56
58
  if (segmentEl) {
57
59
  this.updateState();
@@ -60,6 +62,7 @@ export class SegmentButton {
60
62
  }
61
63
  }
62
64
  disconnectedCallback() {
65
+ this.tabindexController?.destroy();
63
66
  const segmentEl = this.segmentEl;
64
67
  if (segmentEl) {
65
68
  removeEventListener(segmentEl, 'ionSelect', this.updateState);
@@ -71,6 +74,7 @@ export class SegmentButton {
71
74
  this.inheritedAttributes = {
72
75
  ...inheritAttributes(this.el, ['aria-label']),
73
76
  };
77
+ this.tabindexController = createTabindexController(this.el, () => forceUpdate(this));
74
78
  // Return if there is no contentId defined
75
79
  if (!this.contentId)
76
80
  return;
@@ -116,8 +120,9 @@ export class SegmentButton {
116
120
  render() {
117
121
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
118
122
  const mode = getIonMode(this);
123
+ const tabindexAttributes = this.tabindexController?.attributes ?? {};
119
124
  const hasSegmentColor = () => segmentEl?.color !== undefined;
120
- return (h(Host, { key: 'd8acc71d87e26b32f20b2d0f9a6acc9f0dab0dee', class: {
125
+ return (h(Host, { key: 'd0d37d00f921193edd3a3670363583d9ee1cfb39', class: {
121
126
  [mode]: true,
122
127
  'in-toolbar': hostContext('ion-toolbar', this.el),
123
128
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -133,7 +138,7 @@ export class SegmentButton {
133
138
  'ion-activatable': true,
134
139
  'ion-activatable-instant': true,
135
140
  'ion-focusable': true,
136
- } }, h("button", { key: 'ce65da07b1a012bce353b3c6c24eecfbd4071d54', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled, ...this.inheritedAttributes }, h("span", { key: '6c4b4dcd20e407e5dc31674bea23633d8a09187a', class: "button-inner" }, h("slot", { key: '817145ae77a3c5ada88ab95723d881f1bde96b2a' })), mode === 'md' && h("ion-ripple-effect", { key: '054d7e5e2a13013914fac6bbde8efdb28d9b459e' })), h("div", { key: 'c48074881a302510ad4752eeb9383222cd3a54cb', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '7672a6b10ee18ad026b798fbd8207dc3cd5683f9', part: "indicator-background", class: "segment-button-indicator-background" }))));
141
+ } }, h("button", { key: '0927611d352e2ed4df5d2a72768d504f5d4c4baf', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled, ...this.inheritedAttributes, ...tabindexAttributes }, h("span", { key: '0fdf337f0ba7fa08143124091a580418f7b94a7c', class: "button-inner" }, h("slot", { key: 'bce39283cdbe68cffbece870296fecff6f214345' })), mode === 'md' && h("ion-ripple-effect", { key: '2653c7c6d50bc00540d249ed98c6c6a5d93672d6' })), h("div", { key: 'de0dbdd9f531158cc77ba04e78f4e96e32b6fb02', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '2006cb914692ae1d5659828e36c502f9747adede', part: "indicator-background", class: "segment-button-indicator-background" }))));
137
142
  }
138
143
  static get is() { return "ion-segment-button"; }
139
144
  static get encapsulation() { return "shadow"; }