@ionic/core 7.6.7-dev.11706565090.179aa5a7 → 7.6.7-dev.11706567011.11e782a9

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 (481) hide show
  1. package/components/action-sheet.js +2 -4
  2. package/components/alert.js +2 -4
  3. package/components/backdrop.js +2 -4
  4. package/components/button.js +2 -4
  5. package/components/buttons.js +2 -4
  6. package/components/checkbox.js +2 -4
  7. package/components/data.js +1 -1
  8. package/components/icon.js +1 -2
  9. package/components/ion-accordion-group.js +2 -4
  10. package/components/ion-accordion.js +5 -5
  11. package/components/ion-app.js +1 -2
  12. package/components/ion-avatar.js +2 -4
  13. package/components/ion-back-button.js +2 -4
  14. package/components/ion-badge.js +2 -4
  15. package/components/ion-breadcrumb.js +2 -4
  16. package/components/ion-breadcrumbs.js +2 -4
  17. package/components/ion-card-content.js +2 -4
  18. package/components/ion-card-header.js +2 -4
  19. package/components/ion-card-subtitle.js +2 -4
  20. package/components/ion-card-title.js +2 -4
  21. package/components/ion-card.js +2 -4
  22. package/components/ion-chip.js +2 -4
  23. package/components/ion-col.js +1 -2
  24. package/components/ion-content.js +1 -2
  25. package/components/ion-datetime-button.js +3 -5
  26. package/components/ion-datetime.js +3 -5
  27. package/components/ion-fab-button.js +2 -4
  28. package/components/ion-fab-list.js +1 -2
  29. package/components/ion-fab.js +1 -2
  30. package/components/ion-footer.js +2 -4
  31. package/components/ion-grid.js +1 -2
  32. package/components/ion-header.js +2 -4
  33. package/components/ion-img.js +1 -2
  34. package/components/ion-infinite-scroll-content.js +2 -4
  35. package/components/ion-infinite-scroll.js +1 -2
  36. package/components/ion-input.js +2 -4
  37. package/components/ion-item-divider.js +2 -4
  38. package/components/ion-item-group.js +2 -4
  39. package/components/ion-item-option.js +2 -4
  40. package/components/ion-item-options.js +2 -4
  41. package/components/ion-item-sliding.js +1 -2
  42. package/components/ion-loading.js +2 -4
  43. package/components/ion-menu-button.js +2 -4
  44. package/components/ion-menu-toggle.js +1 -2
  45. package/components/ion-menu.js +2 -4
  46. package/components/ion-modal.js +2 -4
  47. package/components/ion-nav.js +1 -2
  48. package/components/ion-picker.js +2 -4
  49. package/components/ion-progress-bar.js +2 -4
  50. package/components/ion-range.js +2 -4
  51. package/components/ion-refresher.js +2 -4
  52. package/components/ion-reorder-group.js +1 -2
  53. package/components/ion-reorder.js +2 -4
  54. package/components/ion-router-link.js +1 -2
  55. package/components/ion-router-outlet.js +1 -2
  56. package/components/ion-row.js +1 -2
  57. package/components/ion-searchbar.js +2 -4
  58. package/components/ion-segment-button.js +2 -4
  59. package/components/ion-segment.js +2 -4
  60. package/components/ion-select-option.js +1 -2
  61. package/components/ion-select.js +2 -4
  62. package/components/ion-skeleton-text.js +1 -2
  63. package/components/ion-split-pane.js +2 -4
  64. package/components/ion-tab-bar.js +2 -4
  65. package/components/ion-tab-button.js +2 -4
  66. package/components/ion-tab.js +1 -2
  67. package/components/ion-tabs.js +1 -2
  68. package/components/ion-text.js +1 -2
  69. package/components/ion-textarea.js +2 -4
  70. package/components/ion-thumbnail.js +1 -2
  71. package/components/ion-title.js +2 -4
  72. package/components/ion-toast.js +2 -4
  73. package/components/ion-toggle.js +2 -4
  74. package/components/ion-toolbar.js +2 -4
  75. package/components/item.js +10 -6
  76. package/components/label.js +2 -4
  77. package/components/list-header.js +2 -4
  78. package/components/list.js +2 -4
  79. package/components/note.js +2 -4
  80. package/components/picker-column-internal.js +2 -4
  81. package/components/picker-column.js +2 -4
  82. package/components/picker-internal.js +2 -4
  83. package/components/popover.js +2 -4
  84. package/components/radio.js +2 -4
  85. package/components/ripple-effect.js +1 -2
  86. package/components/select-popover.js +2 -4
  87. package/components/spinner.js +1 -2
  88. package/dist/cjs/{app-globals-b23ca531.js → app-globals-07127773.js} +1 -1
  89. package/dist/cjs/{button-active-856446eb.js → button-active-85665616.js} +1 -1
  90. package/dist/cjs/{index-e4ab4fe7.js → index-6bb6b651.js} +3 -3
  91. package/dist/cjs/{index-120d18ce.js → index-71f41461.js} +1 -20
  92. package/dist/cjs/{index-6fc13528.js → index-96a721a7.js} +1 -1
  93. package/dist/cjs/index.cjs.js +7 -7
  94. package/dist/cjs/ion-accordion_2.cjs.entry.js +9 -11
  95. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -8
  96. package/dist/cjs/ion-alert.cjs.entry.js +6 -8
  97. package/dist/cjs/ion-app_8.cjs.entry.js +17 -30
  98. package/dist/cjs/ion-avatar_3.cjs.entry.js +7 -12
  99. package/dist/cjs/ion-back-button.cjs.entry.js +4 -6
  100. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -6
  101. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +6 -10
  102. package/dist/cjs/ion-button_2.cjs.entry.js +5 -8
  103. package/dist/cjs/ion-card_5.cjs.entry.js +12 -22
  104. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -6
  105. package/dist/cjs/ion-chip.cjs.entry.js +4 -6
  106. package/dist/cjs/ion-col_3.cjs.entry.js +5 -8
  107. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -6
  108. package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -15
  109. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -10
  110. package/dist/cjs/ion-img.cjs.entry.js +3 -4
  111. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -8
  112. package/dist/cjs/ion-input.cjs.entry.js +4 -6
  113. package/dist/cjs/ion-item-option_3.cjs.entry.js +7 -12
  114. package/dist/cjs/ion-item_8.cjs.entry.js +24 -34
  115. package/dist/cjs/ion-loading.cjs.entry.js +5 -7
  116. package/dist/cjs/ion-menu_3.cjs.entry.js +9 -14
  117. package/dist/cjs/ion-modal.cjs.entry.js +6 -8
  118. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -5
  119. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +4 -6
  120. package/dist/cjs/ion-picker-internal.cjs.entry.js +3 -5
  121. package/dist/cjs/ion-popover.cjs.entry.js +6 -8
  122. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -6
  123. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -6
  124. package/dist/cjs/ion-range.cjs.entry.js +4 -6
  125. package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -6
  126. package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -8
  127. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -4
  128. package/dist/cjs/ion-route_4.cjs.entry.js +3 -4
  129. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -6
  130. package/dist/cjs/ion-segment_2.cjs.entry.js +6 -10
  131. package/dist/cjs/ion-select_3.cjs.entry.js +8 -13
  132. package/dist/cjs/ion-spinner.cjs.entry.js +3 -4
  133. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -6
  134. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -10
  135. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -5
  136. package/dist/cjs/ion-text.cjs.entry.js +3 -4
  137. package/dist/cjs/ion-textarea.cjs.entry.js +4 -6
  138. package/dist/cjs/ion-toast.cjs.entry.js +5 -7
  139. package/dist/cjs/ion-toggle.cjs.entry.js +4 -6
  140. package/dist/cjs/{ionic-global-e309fc8f.js → ionic-global-c70c3fb5.js} +1 -1
  141. package/dist/cjs/ionic.cjs.js +5 -5
  142. package/dist/cjs/{ios.transition-bcf03726.js → ios.transition-9624a175.js} +2 -2
  143. package/dist/cjs/loader.cjs.js +4 -4
  144. package/dist/cjs/{md.transition-2ea7c4e2.js → md.transition-786baf9a.js} +2 -2
  145. package/dist/cjs/{overlays-64ba8dd4.js → overlays-8285b485.js} +1 -1
  146. package/dist/cjs/{status-tap-bf82416b.js → status-tap-66296dcb.js} +1 -1
  147. package/dist/collection/collection-manifest.json +1 -1
  148. package/dist/collection/components/accordion/accordion.js +3 -1
  149. package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +94 -0
  150. package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +94 -0
  151. package/dist/collection/components/button/test/basic/button.e2e.js +1 -1
  152. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +3 -3
  153. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +12 -12
  154. package/dist/collection/components/datetime/test/datetime.e2e.js +1 -1
  155. package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +1 -1
  156. package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +4 -4
  157. package/dist/collection/components/datetime/test/display/datetime.e2e.js +9 -9
  158. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +3 -3
  159. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +11 -11
  160. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
  161. package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +2 -2
  162. package/dist/collection/components/datetime/test/position/datetime.e2e.js +1 -1
  163. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +32 -32
  164. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +3 -3
  165. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +4 -4
  166. package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +4 -4
  167. package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +2 -2
  168. package/dist/collection/components/datetime/test/values/datetime.e2e.js +4 -4
  169. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +14 -14
  170. package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +2 -2
  171. package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +6 -6
  172. package/dist/collection/components/header/test/condense/header.e2e.js +2 -2
  173. package/dist/collection/components/item/item.ios.css +2 -39
  174. package/dist/collection/components/item/item.js +7 -0
  175. package/dist/collection/components/item/item.md.css +2 -39
  176. package/dist/collection/components/item/test/item.spec.js +20 -0
  177. package/dist/collection/components/modal/test/standalone/modal.e2e.js +1 -1
  178. package/dist/collection/components/note/test/a11y/note.e2e.js +6 -6
  179. package/dist/collection/components/refresher/test/test.utils.js +1 -1
  180. package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +2 -2
  181. package/dist/docs.json +2 -2
  182. package/dist/esm/{app-globals-547b455b.js → app-globals-52c78291.js} +1 -1
  183. package/dist/esm/{button-active-0627c019.js → button-active-b62776db.js} +1 -1
  184. package/dist/esm/{data-0f3ab200.js → data-775093f5.js} +1 -1
  185. package/dist/esm/{index-cee7c658.js → index-01cb9192.js} +1 -1
  186. package/dist/esm/{index-6c30dbf0.js → index-27668d5b.js} +1 -20
  187. package/dist/esm/{index-1e84fb76.js → index-a97c95a7.js} +3 -3
  188. package/dist/esm/index.js +7 -7
  189. package/dist/esm/ion-accordion_2.entry.js +9 -11
  190. package/dist/esm/ion-action-sheet.entry.js +6 -8
  191. package/dist/esm/ion-alert.entry.js +6 -8
  192. package/dist/esm/ion-app_8.entry.js +17 -30
  193. package/dist/esm/ion-avatar_3.entry.js +7 -12
  194. package/dist/esm/ion-back-button.entry.js +4 -6
  195. package/dist/esm/ion-backdrop.entry.js +4 -6
  196. package/dist/esm/ion-breadcrumb_2.entry.js +6 -10
  197. package/dist/esm/ion-button_2.entry.js +5 -8
  198. package/dist/esm/ion-card_5.entry.js +12 -22
  199. package/dist/esm/ion-checkbox.entry.js +4 -6
  200. package/dist/esm/ion-chip.entry.js +4 -6
  201. package/dist/esm/ion-col_3.entry.js +5 -8
  202. package/dist/esm/ion-datetime-button.entry.js +5 -7
  203. package/dist/esm/ion-datetime_3.entry.js +10 -16
  204. package/dist/esm/ion-fab_3.entry.js +6 -10
  205. package/dist/esm/ion-img.entry.js +3 -4
  206. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -8
  207. package/dist/esm/ion-input.entry.js +4 -6
  208. package/dist/esm/ion-item-option_3.entry.js +7 -12
  209. package/dist/esm/ion-item_8.entry.js +24 -34
  210. package/dist/esm/ion-loading.entry.js +5 -7
  211. package/dist/esm/ion-menu_3.entry.js +9 -14
  212. package/dist/esm/ion-modal.entry.js +6 -8
  213. package/dist/esm/ion-nav_2.entry.js +4 -5
  214. package/dist/esm/ion-picker-column-internal.entry.js +4 -6
  215. package/dist/esm/ion-picker-internal.entry.js +3 -5
  216. package/dist/esm/ion-popover.entry.js +6 -8
  217. package/dist/esm/ion-progress-bar.entry.js +4 -6
  218. package/dist/esm/ion-radio_2.entry.js +4 -6
  219. package/dist/esm/ion-range.entry.js +4 -6
  220. package/dist/esm/ion-refresher_2.entry.js +4 -6
  221. package/dist/esm/ion-reorder_2.entry.js +5 -8
  222. package/dist/esm/ion-ripple-effect.entry.js +3 -4
  223. package/dist/esm/ion-route_4.entry.js +3 -4
  224. package/dist/esm/ion-searchbar.entry.js +4 -6
  225. package/dist/esm/ion-segment_2.entry.js +6 -10
  226. package/dist/esm/ion-select_3.entry.js +8 -13
  227. package/dist/esm/ion-spinner.entry.js +3 -4
  228. package/dist/esm/ion-split-pane.entry.js +4 -6
  229. package/dist/esm/ion-tab-bar_2.entry.js +6 -10
  230. package/dist/esm/ion-tab_2.entry.js +3 -5
  231. package/dist/esm/ion-text.entry.js +3 -4
  232. package/dist/esm/ion-textarea.entry.js +4 -6
  233. package/dist/esm/ion-toast.entry.js +5 -7
  234. package/dist/esm/ion-toggle.entry.js +4 -6
  235. package/dist/esm/{ionic-global-4d15b810.js → ionic-global-8fa0f940.js} +1 -1
  236. package/dist/esm/ionic.js +6 -6
  237. package/dist/esm/{ios.transition-15b1aac0.js → ios.transition-62fd50ab.js} +2 -2
  238. package/dist/esm/loader.js +5 -5
  239. package/dist/esm/{md.transition-3387e6c4.js → md.transition-7e56966a.js} +2 -2
  240. package/dist/esm/{overlays-b4da1327.js → overlays-bb824d56.js} +1 -1
  241. package/dist/esm/{status-tap-e1ec6b14.js → status-tap-129c01cf.js} +1 -1
  242. package/dist/esm-es5/app-globals-52c78291.js +4 -0
  243. package/dist/esm-es5/{button-active-0627c019.js → button-active-b62776db.js} +1 -1
  244. package/dist/esm-es5/{data-0f3ab200.js → data-775093f5.js} +1 -1
  245. package/dist/esm-es5/{index-cee7c658.js → index-01cb9192.js} +1 -1
  246. package/dist/esm-es5/{index-6c30dbf0.js → index-27668d5b.js} +2 -2
  247. package/dist/esm-es5/{index-1e84fb76.js → index-a97c95a7.js} +1 -1
  248. package/dist/esm-es5/index.js +1 -1
  249. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  250. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  251. package/dist/esm-es5/ion-alert.entry.js +1 -1
  252. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  253. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  254. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  255. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  256. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  257. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  258. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  259. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  260. package/dist/esm-es5/ion-chip.entry.js +1 -1
  261. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  262. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  263. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  264. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  265. package/dist/esm-es5/ion-img.entry.js +1 -1
  266. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  267. package/dist/esm-es5/ion-input.entry.js +1 -1
  268. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  269. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  270. package/dist/esm-es5/ion-loading.entry.js +1 -1
  271. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  272. package/dist/esm-es5/ion-modal.entry.js +1 -1
  273. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  274. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  275. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  276. package/dist/esm-es5/ion-popover.entry.js +1 -1
  277. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  278. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  279. package/dist/esm-es5/ion-range.entry.js +1 -1
  280. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  281. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  282. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  283. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  284. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  285. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  286. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  287. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  288. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  289. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  290. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  291. package/dist/esm-es5/ion-text.entry.js +1 -1
  292. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  293. package/dist/esm-es5/ion-toast.entry.js +1 -1
  294. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  295. package/dist/esm-es5/{ionic-global-4d15b810.js → ionic-global-8fa0f940.js} +1 -1
  296. package/dist/esm-es5/ionic.js +1 -1
  297. package/dist/esm-es5/{ios.transition-15b1aac0.js → ios.transition-62fd50ab.js} +1 -1
  298. package/dist/esm-es5/loader.js +1 -1
  299. package/dist/esm-es5/{md.transition-3387e6c4.js → md.transition-7e56966a.js} +1 -1
  300. package/dist/esm-es5/{overlays-b4da1327.js → overlays-bb824d56.js} +1 -1
  301. package/dist/esm-es5/{status-tap-e1ec6b14.js → status-tap-129c01cf.js} +1 -1
  302. package/dist/ionic/index.esm.js +1 -1
  303. package/dist/ionic/ionic.esm.js +1 -1
  304. package/dist/ionic/ionic.js +1 -1
  305. package/dist/ionic/p-005e0ad0.js +4 -0
  306. package/dist/ionic/{p-4f3237e7.entry.js → p-01438d78.entry.js} +1 -1
  307. package/dist/ionic/p-024e2739.entry.js +4 -0
  308. package/dist/ionic/{p-5f23b1f3.system.js → p-02e530f5.system.js} +1 -1
  309. package/dist/ionic/{p-9489c13e.js → p-03e00f90.js} +1 -1
  310. package/dist/ionic/{p-fab9fc33.entry.js → p-06128c8c.entry.js} +1 -1
  311. package/dist/ionic/{p-202189cf.system.entry.js → p-06f72943.system.entry.js} +1 -1
  312. package/dist/ionic/{p-abe101da.system.js → p-0bd51c34.system.js} +1 -1
  313. package/dist/ionic/{p-c4120c66.entry.js → p-0d2b6901.entry.js} +1 -1
  314. package/dist/ionic/{p-3b4fd605.entry.js → p-1052ef2b.entry.js} +1 -1
  315. package/dist/ionic/p-10c34f0a.system.entry.js +4 -0
  316. package/dist/ionic/{p-59d8465c.entry.js → p-127ff448.entry.js} +1 -1
  317. package/dist/ionic/{p-b741cc8b.entry.js → p-13387c28.entry.js} +1 -1
  318. package/dist/ionic/{p-f7dce541.js → p-18cae04f.js} +1 -1
  319. package/dist/ionic/p-1a0bf247.system.entry.js +4 -0
  320. package/dist/ionic/{p-fe212d55.system.js → p-1a5f0313.system.js} +1 -1
  321. package/dist/ionic/p-1cca10d6.system.js +4 -0
  322. package/dist/ionic/{p-6a7591d5.entry.js → p-1f7fc88d.entry.js} +1 -1
  323. package/dist/ionic/{p-4cab0235.js → p-23ce95e8.js} +1 -1
  324. package/dist/ionic/{p-df5f5d91.entry.js → p-249633a4.entry.js} +1 -1
  325. package/dist/ionic/{p-1bd17597.js → p-25221a73.js} +1 -1
  326. package/dist/ionic/{p-92eccc3f.system.entry.js → p-2c3842e8.system.entry.js} +1 -1
  327. package/dist/ionic/{p-976b4e01.system.js → p-32b8e50d.system.js} +1 -1
  328. package/dist/ionic/p-35e1a80f.system.entry.js +4 -0
  329. package/dist/ionic/p-3b83e483.system.entry.js +4 -0
  330. package/dist/ionic/{p-6d5fe9cb.system.js → p-3c33dc30.system.js} +1 -1
  331. package/dist/ionic/p-3dbaaa5b.system.entry.js +4 -0
  332. package/dist/ionic/p-3de38800.system.entry.js +4 -0
  333. package/dist/ionic/p-41040a92.system.entry.js +4 -0
  334. package/dist/ionic/{p-04518b48.entry.js → p-41aa2662.entry.js} +1 -1
  335. package/dist/ionic/{p-326f025b.entry.js → p-436bd99a.entry.js} +1 -1
  336. package/dist/ionic/{p-d9b83045.system.entry.js → p-49c52149.system.entry.js} +1 -1
  337. package/dist/ionic/{p-9629eea0.system.js → p-4a4bbcc5.system.js} +2 -2
  338. package/dist/ionic/{p-6e806eb6.entry.js → p-4dc3bc8b.entry.js} +1 -1
  339. package/dist/ionic/p-525b6ac4.system.entry.js +4 -0
  340. package/dist/ionic/{p-1dfc11b3.system.js → p-53ec4f1c.system.js} +1 -1
  341. package/dist/ionic/{p-92576069.entry.js → p-54c92c77.entry.js} +1 -1
  342. package/dist/ionic/{p-dd4721d8.entry.js → p-5628d04e.entry.js} +1 -1
  343. package/dist/ionic/{p-1e7e821a.entry.js → p-5a85d71d.entry.js} +1 -1
  344. package/dist/ionic/p-5aecd304.system.entry.js +4 -0
  345. package/dist/ionic/p-5c2da581.system.entry.js +4 -0
  346. package/dist/ionic/{p-0236b334.entry.js → p-5f698182.entry.js} +1 -1
  347. package/dist/ionic/p-61bf9f6f.system.entry.js +4 -0
  348. package/dist/ionic/p-677cb2f7.js +4 -0
  349. package/dist/ionic/p-67c3a2a8.system.js +5 -0
  350. package/dist/ionic/{p-867288b7.entry.js → p-688a36c7.entry.js} +1 -1
  351. package/dist/ionic/{p-0f7cd043.entry.js → p-6899d5af.entry.js} +1 -1
  352. package/dist/ionic/p-6b9eee40.system.entry.js +4 -0
  353. package/dist/ionic/p-6ba863b1.system.entry.js +4 -0
  354. package/dist/ionic/p-6e165986.system.entry.js +4 -0
  355. package/dist/ionic/p-719ad110.system.entry.js +4 -0
  356. package/dist/ionic/{p-bd003be4.entry.js → p-73547cf9.entry.js} +1 -1
  357. package/dist/ionic/{p-fc0dd9b6.entry.js → p-7510e462.entry.js} +1 -1
  358. package/dist/ionic/{p-21714ff4.system.js → p-770f5b43.system.js} +1 -1
  359. package/dist/ionic/p-7751def0.system.entry.js +4 -0
  360. package/dist/ionic/p-7a02dd61.system.entry.js +4 -0
  361. package/dist/ionic/{p-dfba8693.entry.js → p-7bae84aa.entry.js} +1 -1
  362. package/dist/ionic/{p-88f5e520.system.js → p-7ffe791a.system.js} +1 -1
  363. package/dist/ionic/{p-662cd95c.entry.js → p-8084e9cb.entry.js} +1 -1
  364. package/dist/ionic/{p-defe1fb9.entry.js → p-80ddd0c1.entry.js} +1 -1
  365. package/dist/ionic/{p-8890227b.entry.js → p-85e04029.entry.js} +1 -1
  366. package/dist/ionic/{p-7330c044.system.js → p-87bb3735.system.js} +1 -1
  367. package/dist/ionic/p-87e10168.system.entry.js +4 -0
  368. package/dist/ionic/p-88d99112.system.entry.js +4 -0
  369. package/dist/ionic/p-89c28901.system.entry.js +4 -0
  370. package/dist/ionic/p-8bad1486.system.entry.js +4 -0
  371. package/dist/ionic/{p-5a18700d.system.js → p-8f1ebb7d.system.js} +1 -1
  372. package/dist/ionic/{p-5bc25ef0.js → p-90000ff6.js} +1 -1
  373. package/dist/ionic/p-928e945d.system.entry.js +4 -0
  374. package/dist/ionic/p-9cf0846d.system.entry.js +4 -0
  375. package/dist/ionic/{p-8ebb1da7.entry.js → p-a0953474.entry.js} +1 -1
  376. package/dist/ionic/{p-4e45ff2e.entry.js → p-a2d75455.entry.js} +1 -1
  377. package/dist/ionic/p-a706cf11.system.entry.js +4 -0
  378. package/dist/ionic/{p-91ac3fd2.entry.js → p-aca77953.entry.js} +1 -1
  379. package/dist/ionic/{p-a87bf12b.system.js → p-ae638cb5.system.js} +1 -1
  380. package/dist/ionic/{p-7209e0fd.entry.js → p-afafbba0.entry.js} +1 -1
  381. package/dist/ionic/{p-6f738da0.entry.js → p-b09c8228.entry.js} +1 -1
  382. package/dist/ionic/{p-826de7b3.entry.js → p-b43cf55f.entry.js} +1 -1
  383. package/dist/ionic/{p-0db338e2.entry.js → p-b6f6f00e.entry.js} +1 -1
  384. package/dist/ionic/p-ba4890eb.system.entry.js +4 -0
  385. package/dist/ionic/{p-c6d76aa1.system.entry.js → p-bb41c476.system.entry.js} +1 -1
  386. package/dist/ionic/p-bc59962f.system.entry.js +4 -0
  387. package/dist/ionic/{p-12de3013.entry.js → p-bc6d16ca.entry.js} +1 -1
  388. package/dist/ionic/p-beeceaf5.system.entry.js +4 -0
  389. package/dist/ionic/{p-6808c4e5.system.entry.js → p-bf595ef8.system.entry.js} +1 -1
  390. package/dist/ionic/p-c10cc51e.system.entry.js +4 -0
  391. package/dist/ionic/p-c16d9f2c.system.entry.js +4 -0
  392. package/dist/ionic/{p-55d9a577.system.entry.js → p-c1c57873.system.entry.js} +1 -1
  393. package/dist/ionic/{p-7722bf7f.entry.js → p-c3bfe92d.entry.js} +1 -1
  394. package/dist/ionic/{p-430c5c03.entry.js → p-c4177035.entry.js} +1 -1
  395. package/dist/ionic/p-c48a9ef3.system.entry.js +4 -0
  396. package/dist/ionic/{p-d86b272c.entry.js → p-c9219299.entry.js} +1 -1
  397. package/dist/ionic/p-cb301b9a.entry.js +4 -0
  398. package/dist/ionic/p-cd6bb7f5.system.entry.js +4 -0
  399. package/dist/ionic/p-cdce5ba3.system.entry.js +4 -0
  400. package/dist/ionic/{p-137c5c9a.system.js → p-d2707f9d.system.js} +1 -1
  401. package/dist/ionic/{p-725b4e67.system.js → p-d51674c5.system.js} +1 -1
  402. package/dist/ionic/{p-68a9652f.js → p-d6129c6e.js} +1 -1
  403. package/dist/ionic/p-d6beb1c9.system.entry.js +4 -0
  404. package/dist/ionic/p-db798370.system.entry.js +4 -0
  405. package/dist/ionic/p-dc1d883c.system.entry.js +4 -0
  406. package/dist/ionic/p-ddbb2d5b.system.js +4 -0
  407. package/dist/ionic/{p-e482cef1.entry.js → p-df62accd.entry.js} +1 -1
  408. package/dist/ionic/p-df812ebe.system.entry.js +4 -0
  409. package/dist/ionic/{p-cb595f3e.entry.js → p-e150f8fc.entry.js} +1 -1
  410. package/dist/ionic/{p-6d69767b.entry.js → p-e814f9c0.entry.js} +1 -1
  411. package/dist/ionic/p-e87564bc.entry.js +4 -0
  412. package/dist/ionic/p-eb210b21.system.entry.js +4 -0
  413. package/dist/ionic/{p-4a5f68a8.entry.js → p-eb80ca40.entry.js} +1 -1
  414. package/dist/ionic/p-eba17ff5.system.entry.js +4 -0
  415. package/dist/ionic/{p-461f925c.system.js → p-ef3a6b51.system.js} +1 -1
  416. package/dist/ionic/{p-81a1aff5.entry.js → p-efcc4b66.entry.js} +1 -1
  417. package/dist/ionic/p-f06858a6.entry.js +4 -0
  418. package/dist/ionic/p-f08d8865.js +4 -0
  419. package/dist/ionic/p-f3478ed6.system.entry.js +4 -0
  420. package/dist/ionic/p-f48a49ae.system.entry.js +4 -0
  421. package/dist/ionic/{p-9f60867f.entry.js → p-f4bf2448.entry.js} +1 -1
  422. package/dist/ionic/{p-029ef86c.entry.js → p-f4e37ba7.entry.js} +1 -1
  423. package/dist/ionic/{p-06016862.entry.js → p-f865bc9a.entry.js} +1 -1
  424. package/dist/ionic/p-fd1a0431.js +4 -0
  425. package/dist/ionic/{p-cbffad8e.js → p-fd41bd8a.js} +1 -1
  426. package/dist/types/components/item/item.d.ts +1 -0
  427. package/hydrate/index.js +174 -316
  428. package/package.json +3 -3
  429. package/dist/collection/components/accordion/test/accordion.e2e.js +0 -39
  430. package/dist/esm-es5/app-globals-547b455b.js +0 -4
  431. package/dist/ionic/p-05df95aa.system.entry.js +0 -4
  432. package/dist/ionic/p-05ead3ca.system.entry.js +0 -4
  433. package/dist/ionic/p-075c7419.system.entry.js +0 -4
  434. package/dist/ionic/p-0c1112b2.js +0 -4
  435. package/dist/ionic/p-0c992d55.system.entry.js +0 -4
  436. package/dist/ionic/p-19d4464a.system.entry.js +0 -4
  437. package/dist/ionic/p-23900475.system.entry.js +0 -4
  438. package/dist/ionic/p-2c68dba7.system.entry.js +0 -4
  439. package/dist/ionic/p-32c41ed0.entry.js +0 -4
  440. package/dist/ionic/p-35cd3533.system.entry.js +0 -4
  441. package/dist/ionic/p-42099bcf.system.entry.js +0 -4
  442. package/dist/ionic/p-44bb5883.entry.js +0 -4
  443. package/dist/ionic/p-45fd74c5.system.entry.js +0 -4
  444. package/dist/ionic/p-4626380e.js +0 -4
  445. package/dist/ionic/p-487e1c56.system.entry.js +0 -4
  446. package/dist/ionic/p-51fba806.system.entry.js +0 -4
  447. package/dist/ionic/p-531bc946.system.entry.js +0 -4
  448. package/dist/ionic/p-54a8b0f1.system.entry.js +0 -4
  449. package/dist/ionic/p-55f1ccb5.system.entry.js +0 -4
  450. package/dist/ionic/p-59f2fc8f.system.entry.js +0 -4
  451. package/dist/ionic/p-5a814c30.js +0 -4
  452. package/dist/ionic/p-5b48ec17.system.entry.js +0 -4
  453. package/dist/ionic/p-5d890dd9.system.entry.js +0 -4
  454. package/dist/ionic/p-692bab4f.system.entry.js +0 -4
  455. package/dist/ionic/p-69331d05.system.entry.js +0 -4
  456. package/dist/ionic/p-6afcb018.system.entry.js +0 -4
  457. package/dist/ionic/p-73765f29.js +0 -4
  458. package/dist/ionic/p-8d0a9949.system.entry.js +0 -4
  459. package/dist/ionic/p-91bf60cf.system.entry.js +0 -4
  460. package/dist/ionic/p-954c5835.system.entry.js +0 -4
  461. package/dist/ionic/p-98a61e5c.system.entry.js +0 -4
  462. package/dist/ionic/p-a19270b1.system.entry.js +0 -4
  463. package/dist/ionic/p-a4e226c6.system.entry.js +0 -4
  464. package/dist/ionic/p-a6c16c4d.system.entry.js +0 -4
  465. package/dist/ionic/p-a7ac0274.system.entry.js +0 -4
  466. package/dist/ionic/p-a897afb0.system.entry.js +0 -4
  467. package/dist/ionic/p-b06ac4a5.system.js +0 -4
  468. package/dist/ionic/p-b2da6333.system.entry.js +0 -4
  469. package/dist/ionic/p-b469b68f.system.entry.js +0 -4
  470. package/dist/ionic/p-b4a11180.system.entry.js +0 -4
  471. package/dist/ionic/p-b5d01f8a.system.js +0 -5
  472. package/dist/ionic/p-bcca5b29.system.entry.js +0 -4
  473. package/dist/ionic/p-c918ba65.system.entry.js +0 -4
  474. package/dist/ionic/p-c995da88.system.js +0 -4
  475. package/dist/ionic/p-c99cd2f9.entry.js +0 -4
  476. package/dist/ionic/p-cb9ca32e.system.entry.js +0 -4
  477. package/dist/ionic/p-d64aa364.system.entry.js +0 -4
  478. package/dist/ionic/p-d663ad5a.system.entry.js +0 -4
  479. package/dist/ionic/p-e077e369.entry.js +0 -4
  480. package/dist/ionic/p-e36a267c.system.entry.js +0 -4
  481. package/dist/ionic/p-f695e427.system.entry.js +0 -4
@@ -19,7 +19,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
19
19
  datetime.value = ['2022-06-01', '2022-06-02', '2022-06-03'];
20
20
  </script>
21
21
  `, config);
22
- await page.waitForSelector('.datetime-ready');
22
+ await page.locator('.datetime-ready').waitFor();
23
23
  await expect(page.locator('#date-button')).toContainText('3 days');
24
24
  });
25
25
  test('should render number of dates when 0 dates are selected', async ({ page }) => {
@@ -27,7 +27,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
27
27
  <ion-datetime-button datetime="datetime"></ion-datetime-button>
28
28
  <ion-datetime locale="en-US" id="datetime" presentation="date" multiple="true"></ion-datetime>
29
29
  `, config);
30
- await page.waitForSelector('.datetime-ready');
30
+ await page.locator('.datetime-ready').waitFor();
31
31
  await expect(page.locator('#date-button')).toHaveText('0 days');
32
32
  });
33
33
  test('should render date when only 1 day is selected', async ({ page }) => {
@@ -40,7 +40,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
40
40
  datetime.value = ['2022-06-01'];
41
41
  </script>
42
42
  `, config);
43
- await page.waitForSelector('.datetime-ready');
43
+ await page.locator('.datetime-ready').waitFor();
44
44
  await expect(page.locator('#date-button')).toHaveText('Jun 1, 2022');
45
45
  });
46
46
  test('should use customFormatter', async ({ page }) => {
@@ -56,7 +56,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
56
56
  datetime.value = ['2022-06-01', '2022-06-02', '2022-06-03'];
57
57
  </script>
58
58
  `, config);
59
- await page.waitForSelector('.datetime-ready');
59
+ await page.locator('.datetime-ready').waitFor();
60
60
  await expect(page.locator('#date-button')).toHaveText('Selected: 3');
61
61
  });
62
62
  test('should re-render when value is programmatically changed', async ({ page }) => {
@@ -69,7 +69,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
69
69
  datetime.value = ['2022-06-01', '2022-06-02'];
70
70
  </script>
71
71
  `, config);
72
- await page.waitForSelector('.datetime-ready');
72
+ await page.locator('.datetime-ready').waitFor();
73
73
  const datetime = page.locator('ion-datetime');
74
74
  const ionValueChange = await page.spyOnEvent('ionValueChange');
75
75
  const dateButton = page.locator('#date-button');
@@ -88,7 +88,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
88
88
  datetime.value = ['2022-06-01T16:30', '2022-06-02'];
89
89
  </script>
90
90
  `, config);
91
- await page.waitForSelector('.datetime-ready');
91
+ await page.locator('.datetime-ready').waitFor();
92
92
  await expect(page.locator('#date-button')).toHaveText('Jun 1, 2022');
93
93
  await expect(page.locator('#time-button')).toHaveText('4:30 PM');
94
94
  });
@@ -15,7 +15,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
15
15
  await content.evaluate(async (el) => {
16
16
  await el.scrollToBottom();
17
17
  });
18
- await page.waitForSelector('#largeTitleHeader.header-collapse-condense-inactive');
18
+ await page.locator('#largeTitleHeader.header-collapse-condense-inactive').waitFor();
19
19
  await expect(smallTitleHeader).toHaveScreenshot(screenshot(`header-condense-large-title-collapsed-diff`));
20
20
  /**
21
21
  * Playwright can't do .not.toHaveAttribute() because a value is expected,
@@ -26,7 +26,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
26
26
  await content.evaluate(async (el) => {
27
27
  await el.scrollToTop();
28
28
  });
29
- await page.waitForSelector('#smallTitleHeader.header-collapse-condense-inactive');
29
+ await page.locator('#smallTitleHeader.header-collapse-condense-inactive').waitFor();
30
30
  await expect(smallTitleHeader).toHaveAttribute('aria-hidden', 'true');
31
31
  });
32
32
  });
@@ -100,14 +100,6 @@
100
100
  * @prop --highlight-color-valid: The color of the highlight on the item when valid. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
101
101
  * @prop --highlight-color-invalid: The color of the highlight on the item when invalid. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
102
102
  */
103
- /**
104
- * We change the minimum width as the
105
- * font size changes. Using a fixed minimum
106
- * width means that fewer and fewer characters
107
- * can be displayed in the same space as the
108
- * text grows.
109
- */
110
- --inner-min-width: 4rem;
111
103
  --border-radius: 0px;
112
104
  --border-width: 0px;
113
105
  --border-style: solid;
@@ -238,7 +230,6 @@
238
230
  /* stylelint-enable */
239
231
  display: flex;
240
232
  position: relative;
241
- flex-wrap: wrap;
242
233
  align-items: inherit;
243
234
  justify-content: inherit;
244
235
  width: 100%;
@@ -270,10 +261,6 @@
270
261
  }
271
262
  }
272
263
 
273
- :host(.item-legacy) .item-native {
274
- flex-wrap: unset;
275
- }
276
-
277
264
  .item-native::-moz-focus-inner {
278
265
  border: 0;
279
266
  }
@@ -309,20 +296,10 @@ button, a {
309
296
  /* stylelint-enable */
310
297
  display: flex;
311
298
  position: relative;
312
- flex: 1 0 0;
299
+ flex: 1;
313
300
  flex-direction: inherit;
314
- flex-wrap: wrap;
315
301
  align-items: inherit;
316
302
  align-self: stretch;
317
- /**
318
- * The min-width defines when the
319
- * content in the default slot should
320
- * stop wrapping/truncating within its own
321
- * container. At this point the entire
322
- * container will wrap to the next line.
323
- */
324
- min-width: var(--inner-min-width);
325
- max-width: 100%;
326
303
  min-height: inherit;
327
304
  border-width: var(--inner-border-width);
328
305
  border-style: var(--border-style);
@@ -348,12 +325,6 @@ button, a {
348
325
  }
349
326
  }
350
327
 
351
- :host(.item-legacy) .item-inner {
352
- flex: 1;
353
- flex-wrap: unset;
354
- max-width: unset;
355
- }
356
-
357
328
  .item-bottom {
358
329
  margin-left: 0;
359
330
  margin-right: 0;
@@ -432,23 +403,15 @@ button, a {
432
403
 
433
404
  .input-wrapper {
434
405
  display: flex;
435
- flex: 1 0 auto;
406
+ flex: 1;
436
407
  flex-direction: inherit;
437
- flex-wrap: wrap;
438
408
  align-items: inherit;
439
409
  align-self: stretch;
440
- max-width: 100%;
441
410
  text-overflow: ellipsis;
442
411
  overflow: inherit;
443
412
  box-sizing: border-box;
444
413
  }
445
414
 
446
- :host(.item-legacy) .input-wrapper {
447
- flex: 1;
448
- flex-wrap: unset;
449
- max-width: unset;
450
- }
451
-
452
415
  :host(.item-label-stacked),
453
416
  :host(.item-label-floating) {
454
417
  align-items: start;
@@ -45,6 +45,10 @@ export class Item {
45
45
  this.counterFormatter = undefined;
46
46
  this.counterString = undefined;
47
47
  }
48
+ buttonChanged() {
49
+ // Update the focusable option when the button option is changed
50
+ this.focusable = this.isFocusable();
51
+ }
48
52
  counterFormatterChanged() {
49
53
  this.updateCounterOutput(this.getFirstInput());
50
54
  }
@@ -629,6 +633,9 @@ export class Item {
629
633
  static get elementRef() { return "el"; }
630
634
  static get watchers() {
631
635
  return [{
636
+ "propName": "button",
637
+ "methodName": "buttonChanged"
638
+ }, {
632
639
  "propName": "counterFormatter",
633
640
  "methodName": "counterFormatterChanged"
634
641
  }];
@@ -100,14 +100,6 @@
100
100
  * @prop --highlight-color-valid: The color of the highlight on the item when valid. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
101
101
  * @prop --highlight-color-invalid: The color of the highlight on the item when invalid. Only applies to inputs and textareas using the legacy form syntax. DEPRECATED: Highlights can be styled on `ion-input` or `ion-textarea` when using the modern form syntax.
102
102
  */
103
- /**
104
- * We change the minimum width as the
105
- * font size changes. Using a fixed minimum
106
- * width means that fewer and fewer characters
107
- * can be displayed in the same space as the
108
- * text grows.
109
- */
110
- --inner-min-width: 4rem;
111
103
  --border-radius: 0px;
112
104
  --border-width: 0px;
113
105
  --border-style: solid;
@@ -238,7 +230,6 @@
238
230
  /* stylelint-enable */
239
231
  display: flex;
240
232
  position: relative;
241
- flex-wrap: wrap;
242
233
  align-items: inherit;
243
234
  justify-content: inherit;
244
235
  width: 100%;
@@ -270,10 +261,6 @@
270
261
  }
271
262
  }
272
263
 
273
- :host(.item-legacy) .item-native {
274
- flex-wrap: unset;
275
- }
276
-
277
264
  .item-native::-moz-focus-inner {
278
265
  border: 0;
279
266
  }
@@ -309,20 +296,10 @@ button, a {
309
296
  /* stylelint-enable */
310
297
  display: flex;
311
298
  position: relative;
312
- flex: 1 0 0;
299
+ flex: 1;
313
300
  flex-direction: inherit;
314
- flex-wrap: wrap;
315
301
  align-items: inherit;
316
302
  align-self: stretch;
317
- /**
318
- * The min-width defines when the
319
- * content in the default slot should
320
- * stop wrapping/truncating within its own
321
- * container. At this point the entire
322
- * container will wrap to the next line.
323
- */
324
- min-width: var(--inner-min-width);
325
- max-width: 100%;
326
303
  min-height: inherit;
327
304
  border-width: var(--inner-border-width);
328
305
  border-style: var(--border-style);
@@ -348,12 +325,6 @@ button, a {
348
325
  }
349
326
  }
350
327
 
351
- :host(.item-legacy) .item-inner {
352
- flex: 1;
353
- flex-wrap: unset;
354
- max-width: unset;
355
- }
356
-
357
328
  .item-bottom {
358
329
  margin-left: 0;
359
330
  margin-right: 0;
@@ -432,23 +403,15 @@ button, a {
432
403
 
433
404
  .input-wrapper {
434
405
  display: flex;
435
- flex: 1 0 auto;
406
+ flex: 1;
436
407
  flex-direction: inherit;
437
- flex-wrap: wrap;
438
408
  align-items: inherit;
439
409
  align-self: stretch;
440
- max-width: 100%;
441
410
  text-overflow: ellipsis;
442
411
  overflow: inherit;
443
412
  box-sizing: border-box;
444
413
  }
445
414
 
446
- :host(.item-legacy) .input-wrapper {
447
- flex: 1;
448
- flex-wrap: unset;
449
- max-width: unset;
450
- }
451
-
452
415
  :host(.item-label-stacked),
453
416
  :host(.item-label-floating) {
454
417
  align-items: start;
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { h } from "@stencil/core";
5
+ import { newSpecPage } from "@stencil/core/testing";
6
+ import { Item } from "../item";
7
+ describe('item', () => {
8
+ it('should change focusable option after switching button option status', async () => {
9
+ const page = await newSpecPage({
10
+ components: [Item],
11
+ template: () => h("ion-item", { button: false }),
12
+ });
13
+ const item = page.body.querySelector('ion-item');
14
+ // Change button attribute to true
15
+ item.setAttribute('button', 'true');
16
+ await page.waitForChanges();
17
+ // Check if it has the expected class that gives the highlight style to .item-highlight element
18
+ expect(item).toHaveClass('ion-focusable');
19
+ });
20
+ });
@@ -13,7 +13,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
13
13
  const modal = page.locator('ion-modal');
14
14
  await modal.evaluate((el) => el.dismiss());
15
15
  await ionModalDidDismiss.next();
16
- await page.waitForSelector('ion-modal', { state: 'detached' });
16
+ await page.locator('ion-modal').waitFor({ state: 'detached' });
17
17
  });
18
18
  });
19
19
  });
@@ -58,33 +58,33 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
58
58
 
59
59
  <ion-list>
60
60
  <ion-item>
61
- <ion-note slot="start">Really really long note</ion-note>
61
+ <ion-note slot="start">123</ion-note>
62
62
  <ion-label>Label</ion-label>
63
63
  </ion-item>
64
64
 
65
65
  <ion-item>
66
66
  <ion-label>Label</ion-label>
67
- <ion-note slot="end">Really really long note</ion-note>
67
+ <ion-note slot="end">123</ion-note>
68
68
  </ion-item>
69
69
 
70
70
  <ion-item>
71
- <ion-note slot="start">Note</ion-note>
71
+ <ion-note slot="start">123</ion-note>
72
72
  <ion-label>Really really long label</ion-label>
73
73
  </ion-item>
74
74
 
75
75
  <ion-item>
76
76
  <ion-label>Really really long label</ion-label>
77
- <ion-note slot="end">Note</ion-note>
77
+ <ion-note slot="end">123</ion-note>
78
78
  </ion-item>
79
79
 
80
80
  <ion-item>
81
- <ion-note slot="start">Really really long note</ion-note>
81
+ <ion-note slot="start">123</ion-note>
82
82
  <ion-label>Really really long label</ion-label>
83
83
  </ion-item>
84
84
 
85
85
  <ion-item>
86
86
  <ion-label>Really really long label</ion-label>
87
- <ion-note slot="end">Really really long note</ion-note>
87
+ <ion-note slot="end">123</ion-note>
88
88
  </ion-item>
89
89
  </ion-list>
90
90
  `, config);
@@ -14,7 +14,7 @@ import { dragElementByYAxis } from "../../../utils/test/playwright/index";
14
14
  */
15
15
  const pullToRefresh = async (page, selector = 'body') => {
16
16
  const target = page.locator(selector);
17
- await page.waitForSelector('ion-refresher.hydrated', { state: 'attached' });
17
+ await page.locator('ion-refresher.hydrated').waitFor({ state: 'attached' });
18
18
  const ev = await page.spyOnEvent('ionRefreshComplete');
19
19
  await dragElementByYAxis(target, page, 320);
20
20
  await ev.next();
@@ -24,7 +24,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
24
24
  await page.mouse.down();
25
25
  }
26
26
  // Waits for the ripple effect to be added
27
- await page.waitForSelector('.ion-activated');
27
+ await page.locator('.ion-activated').waitFor();
28
28
  await expect(el).toHaveClass(/ion-activated/);
29
29
  });
30
30
  test('should add .ion-activated when the button is pressed', async ({ page }) => {
@@ -43,7 +43,7 @@ const verifyRippleEffect = async (page, config, selector) => {
43
43
  await page.mouse.move(boundingBox.x + boundingBox.width / 2, boundingBox.y + boundingBox.height / 2);
44
44
  await page.mouse.down();
45
45
  }
46
- await page.waitForSelector('.ion-activated');
46
+ await page.locator('.ion-activated').waitFor();
47
47
  await expect(el).toHaveClass(/ion-activated/);
48
48
  };
49
49
  /**
package/dist/docs.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2024-01-29T21:53:22",
2
+ "timestamp": "2024-01-29T22:25:24",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.11.0",
5
+ "version": "4.10.0",
6
6
  "typescriptVersion": "5.3.3"
7
7
  },
8
8
  "components": [
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { i as initialize } from './ionic-global-4d15b810.js';
4
+ import { i as initialize } from './ionic-global-8fa0f940.js';
5
5
 
6
6
  const globalScripts = initialize;
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { w as writeTask } from './index-6c30dbf0.js';
4
+ import { w as writeTask } from './index-27668d5b.js';
5
5
  import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-554688a5.js';
6
6
  import { createGesture } from './index-2cf77112.js';
7
7
 
@@ -1622,4 +1622,4 @@ const getTimeColumnsData = (locale, refParts, hourCycle, minParts, maxParts, all
1622
1622
  };
1623
1623
  };
1624
1624
 
1625
- export { getNumDaysInMonth as A, getCombinedDateColumnData as B, getMonthColumnData as C, getDayColumnData as D, getYearColumnData as E, isMonthFirstLocale as F, getTimeColumnsData as G, isLocaleDayPeriodRTL as H, getDaysOfWeek as I, getMonthAndYear as J, getDaysOfMonth as K, getHourCycle as L, getLocalizedTime as M, getMonthAndDay as N, formatValue as O, clampDate as P, parseAmPm as Q, calculateHourFromAMPM as R, getLocalizedDateTime as S, getMonthDayAndYear as T, getDay as a, isAfter as b, isSameDay as c, getPreviousMonth as d, getNextMonth as e, getPartsFromCalendarDay as f, generateDayAriaLabel as g, getNextYear as h, isBefore as i, getPreviousYear as j, getEndOfWeek as k, getStartOfWeek as l, getPreviousDay as m, getNextDay as n, getPreviousWeek as o, getNextWeek as p, parseMinParts as q, parseMaxParts as r, parseDate as s, convertToArrayOfNumbers as t, convertDataToISO as u, validateParts as v, warnIfValueOutOfBounds as w, getToday as x, getClosestValidDate as y, generateMonths as z };
1625
+ export { getDayColumnData as A, getYearColumnData as B, isMonthFirstLocale as C, getTimeColumnsData as D, isLocaleDayPeriodRTL as E, getDaysOfWeek as F, getMonthAndYear as G, getDaysOfMonth as H, generateMonths as I, getHourCycle as J, getLocalizedTime as K, getMonthAndDay as L, formatValue as M, getNextYear as N, getPreviousYear as O, clampDate as P, parseAmPm as Q, calculateHourFromAMPM as R, getLocalizedDateTime as S, getMonthDayAndYear as T, getDay as a, isAfter as b, isSameDay as c, getPreviousMonth as d, getNextMonth as e, getPartsFromCalendarDay as f, generateDayAriaLabel as g, getEndOfWeek as h, isBefore as i, getStartOfWeek as j, getPreviousDay as k, getNextDay as l, getPreviousWeek as m, getNextWeek as n, parseMaxParts as o, parseMinParts as p, parseDate as q, convertToArrayOfNumbers as r, convertDataToISO as s, getToday as t, getClosestValidDate as u, validateParts as v, warnIfValueOutOfBounds as w, getNumDaysInMonth as x, getCombinedDateColumnData as y, getMonthColumnData as z };
@@ -5,7 +5,7 @@ import { d as doc } from './index-a5d50daf.js';
5
5
  import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-b2bc76db.js';
6
6
  import { p as printIonWarning } from './index-9b0d46f4.js';
7
7
  import { c as componentOnReady } from './helpers-ae653409.js';
8
- import { b as getIonMode } from './ionic-global-4d15b810.js';
8
+ import { b as getIonMode } from './ionic-global-8fa0f940.js';
9
9
  import { c as createAnimation } from './animation-dde8cc0d.js';
10
10
 
11
11
  /**
@@ -1780,8 +1780,6 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1780
1780
  // always reset
1781
1781
  relocateNodes.length = 0;
1782
1782
  }
1783
- // Clear the content ref so we don't create a memory leak
1784
- contentRef = undefined;
1785
1783
  };
1786
1784
  const attachToAncestor = (hostRef, ancestorComponent) => {
1787
1785
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
@@ -2635,12 +2633,7 @@ const getHostListenerTarget = (elm, flags) => {
2635
2633
  return elm;
2636
2634
  };
2637
2635
  // prettier-ignore
2638
- const hostListenerOpts = (flags) => supportsListenerOptions
2639
- ? ({
2640
- passive: (flags & 1 /* LISTENER_FLAGS.Passive */) !== 0,
2641
- capture: (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0,
2642
- })
2643
- : (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2636
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2644
2637
  /**
2645
2638
  * Assigns the given value to the nonce property on the runtime platform object.
2646
2639
  * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
@@ -2739,18 +2732,6 @@ const setPlatformHelpers = (helpers) => {
2739
2732
  const supportsShadow =
2740
2733
  // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2741
2734
  true;
2742
- const supportsListenerOptions = /*@__PURE__*/ (() => {
2743
- let supportsListenerOptions = false;
2744
- try {
2745
- doc.addEventListener('e', null, Object.defineProperty({}, 'passive', {
2746
- get() {
2747
- supportsListenerOptions = true;
2748
- },
2749
- }));
2750
- }
2751
- catch (e) { }
2752
- return supportsListenerOptions;
2753
- })();
2754
2735
  const promiseResolve = (v) => Promise.resolve(v);
2755
2736
  const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2756
2737
  try {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { w as writeTask, B as Build } from './index-6c30dbf0.js';
4
+ import { w as writeTask, B as Build } from './index-27668d5b.js';
5
5
  import { r as raf } from './helpers-ae653409.js';
6
6
 
7
7
  const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
@@ -10,8 +10,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
10
10
  const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
11
11
  const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
12
12
 
13
- const iosTransitionAnimation = () => import('./ios.transition-15b1aac0.js');
14
- const mdTransitionAnimation = () => import('./md.transition-3387e6c4.js');
13
+ const iosTransitionAnimation = () => import('./ios.transition-62fd50ab.js');
14
+ const mdTransitionAnimation = () => import('./md.transition-7e56966a.js');
15
15
  // TODO(FW-2832): types
16
16
  const transition = (opts) => {
17
17
  return new Promise((resolve, reject) => {
package/dist/esm/index.js CHANGED
@@ -2,19 +2,19 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  export { c as createAnimation } from './animation-dde8cc0d.js';
5
- export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-1e84fb76.js';
6
- export { iosTransitionAnimation } from './ios.transition-15b1aac0.js';
7
- export { mdTransitionAnimation } from './md.transition-3387e6c4.js';
5
+ export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-a97c95a7.js';
6
+ export { iosTransitionAnimation } from './ios.transition-62fd50ab.js';
7
+ export { mdTransitionAnimation } from './md.transition-7e56966a.js';
8
8
  export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
9
9
  export { createGesture } from './index-2cf77112.js';
10
- export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-4d15b810.js';
10
+ export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-8fa0f940.js';
11
11
  export { c as componentOnReady } from './helpers-ae653409.js';
12
12
  export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
13
13
  export { o as openURL } from './theme-01f3f29c.js';
14
- export { m as menuController } from './index-cee7c658.js';
15
- export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-b4da1327.js';
14
+ export { m as menuController } from './index-01cb9192.js';
15
+ export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-bb824d56.js';
16
16
  import './index-a5d50daf.js';
17
- import './index-6c30dbf0.js';
17
+ import './index-27668d5b.js';
18
18
  import './gesture-controller-1bf57181.js';
19
19
  import './hardware-back-button-b2bc76db.js';
20
20
  import './index-9b0d46f4.js';
@@ -1,17 +1,15 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, h, H as Host, f as getElement, d as createEvent } from './index-6c30dbf0.js';
4
+ import { r as registerInstance, h, H as Host, f as getElement, d as createEvent } from './index-27668d5b.js';
5
5
  import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-ae653409.js';
6
6
  import { l as chevronDown } from './index-f7dc70ba.js';
7
- import { c as config, b as getIonMode } from './ionic-global-4d15b810.js';
7
+ import { c as config, b as getIonMode } from './ionic-global-8fa0f940.js';
8
8
  import { p as printIonWarning } from './index-9b0d46f4.js';
9
9
 
10
10
  const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
11
- const IonAccordionIosStyle0 = accordionIosCss;
12
11
 
13
12
  const accordionMdCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}";
14
- const IonAccordionMdStyle0 = accordionMdCss;
15
13
 
16
14
  const Accordion = class {
17
15
  constructor(hostRef) {
@@ -275,7 +273,9 @@ const Accordion = class {
275
273
  });
276
274
  }
277
275
  toggleExpanded() {
278
- const { accordionGroupEl, value, state } = this;
276
+ const { accordionGroupEl, disabled, readonly, value, state } = this;
277
+ if (disabled || readonly)
278
+ return;
279
279
  if (accordionGroupEl) {
280
280
  /**
281
281
  * Because the accordion group may or may
@@ -317,15 +317,13 @@ const Accordion = class {
317
317
  };
318
318
  let accordionIds = 0;
319
319
  Accordion.style = {
320
- ios: IonAccordionIosStyle0,
321
- md: IonAccordionMdStyle0
320
+ ios: accordionIosCss,
321
+ md: accordionMdCss
322
322
  };
323
323
 
324
324
  const accordionGroupIosCss = ":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";
325
- const IonAccordionGroupIosStyle0 = accordionGroupIosCss;
326
325
 
327
326
  const accordionGroupMdCss = ":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
328
- const IonAccordionGroupMdStyle0 = accordionGroupMdCss;
329
327
 
330
328
  const AccordionGroup = class {
331
329
  constructor(hostRef) {
@@ -535,8 +533,8 @@ const AccordionGroup = class {
535
533
  }; }
536
534
  };
537
535
  AccordionGroup.style = {
538
- ios: IonAccordionGroupIosStyle0,
539
- md: IonAccordionGroupMdStyle0
536
+ ios: accordionGroupIosCss,
537
+ md: accordionGroupMdCss
540
538
  };
541
539
 
542
540
  export { Accordion as ion_accordion, AccordionGroup as ion_accordion_group };