@ionic/core 8.0.0-dev.11711734184.18e3ccbf → 8.0.0-dev.11712850753.10c4a960

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 (459) hide show
  1. package/components/button.js +2 -2
  2. package/components/ion-content.js +6 -4
  3. package/components/ion-datetime-button.js +1 -1
  4. package/components/ion-datetime.js +8 -6
  5. package/components/ion-fab-button.js +2 -2
  6. package/components/ion-fab-list.js +2 -2
  7. package/components/ion-fab.js +2 -2
  8. package/components/ion-footer.js +2 -2
  9. package/components/ion-grid.js +2 -2
  10. package/components/ion-header.js +2 -2
  11. package/components/ion-img.js +1 -1
  12. package/components/ion-infinite-scroll-content.js +2 -2
  13. package/components/ion-infinite-scroll.js +1 -1
  14. package/components/ion-input-password-toggle.js +3 -3
  15. package/components/ion-input.js +8 -4
  16. package/components/ion-item-divider.js +2 -2
  17. package/components/ion-item-group.js +1 -1
  18. package/components/ion-item-option.js +2 -2
  19. package/components/ion-item-options.js +1 -1
  20. package/components/ion-item-sliding.js +1 -1
  21. package/components/ion-loading.js +2 -2
  22. package/components/ion-menu-button.js +2 -2
  23. package/components/ion-menu-toggle.js +2 -2
  24. package/components/ion-menu.js +2 -2
  25. package/components/ion-modal.js +9 -7
  26. package/components/ion-nav-link.js +1 -1
  27. package/components/ion-nav.js +1 -1
  28. package/components/ion-note.js +2 -2
  29. package/components/ion-picker-legacy.js +2 -2
  30. package/components/ion-progress-bar.js +1 -1
  31. package/components/ion-range.js +3 -3
  32. package/components/ion-refresher-content.js +1 -1
  33. package/components/ion-refresher.js +1 -1
  34. package/components/ion-reorder-group.js +1 -1
  35. package/components/ion-reorder.js +1 -1
  36. package/components/ion-router-link.js +2 -2
  37. package/components/ion-router-outlet.js +1 -1
  38. package/components/ion-row.js +1 -1
  39. package/components/ion-searchbar.js +4 -4
  40. package/components/ion-segment-button.js +3 -3
  41. package/components/ion-segment.js +2 -2
  42. package/components/ion-select-option.js +1 -1
  43. package/components/ion-select.js +2 -2
  44. package/components/ion-skeleton-text.js +2 -2
  45. package/components/ion-split-pane.js +2 -2
  46. package/components/ion-tab-bar.js +2 -2
  47. package/components/ion-tab-button.js +2 -2
  48. package/components/ion-tab.js +2 -2
  49. package/components/ion-tabs.js +1 -1
  50. package/components/ion-text.js +2 -2
  51. package/components/ion-textarea.js +2 -2
  52. package/components/ion-thumbnail.js +1 -1
  53. package/components/ion-title.js +2 -2
  54. package/components/ion-toast.js +2 -2
  55. package/components/ion-toggle.js +3 -3
  56. package/components/ion-toolbar.js +2 -2
  57. package/components/label.js +2 -2
  58. package/components/list-header.js +2 -2
  59. package/components/list.js +1 -1
  60. package/components/overlays.js +3 -2
  61. package/components/picker-column-option.js +2 -2
  62. package/components/picker-column.js +3 -3
  63. package/components/picker-column2.js +2 -2
  64. package/components/picker.js +2 -2
  65. package/components/popover.js +8 -6
  66. package/components/radio-group.js +1 -1
  67. package/components/radio.js +3 -3
  68. package/components/ripple-effect.js +1 -1
  69. package/components/select-popover.js +1 -1
  70. package/components/spinner.js +1 -1
  71. package/css/core.css +1 -624
  72. package/css/core.css.map +1 -1
  73. package/css/display.css +1 -131
  74. package/css/display.css.map +1 -1
  75. package/css/flex-utils.css +1 -81
  76. package/css/flex-utils.css.map +1 -1
  77. package/css/float-elements.css +1 -293
  78. package/css/float-elements.css.map +1 -1
  79. package/css/global.bundle.css +1 -457
  80. package/css/global.bundle.css.map +1 -1
  81. package/css/ionic-swiper.css +1 -127
  82. package/css/ionic-swiper.css.map +1 -1
  83. package/css/ionic.bundle.css +1 -1
  84. package/css/ionic.bundle.css.map +1 -1
  85. package/css/normalize.css +1 -150
  86. package/css/normalize.css.map +1 -1
  87. package/css/padding.css +1 -202
  88. package/css/padding.css.map +1 -1
  89. package/css/palettes/dark.always.css +1 -211
  90. package/css/palettes/dark.always.css.map +1 -1
  91. package/css/palettes/dark.class.css +1 -211
  92. package/css/palettes/dark.class.css.map +1 -1
  93. package/css/palettes/dark.css +0 -2
  94. package/css/palettes/dark.system.css +1 -213
  95. package/css/palettes/dark.system.css.map +1 -1
  96. package/css/palettes/high-contrast-dark.always.css +1 -180
  97. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  98. package/css/palettes/high-contrast-dark.class.css +1 -180
  99. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  100. package/css/palettes/high-contrast-dark.css +0 -2
  101. package/css/palettes/high-contrast-dark.system.css +1 -182
  102. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  103. package/css/palettes/high-contrast.always.css +1 -101
  104. package/css/palettes/high-contrast.always.css.map +1 -1
  105. package/css/palettes/high-contrast.class.css +1 -101
  106. package/css/palettes/high-contrast.class.css.map +1 -1
  107. package/css/palettes/high-contrast.css +0 -2
  108. package/css/palettes/high-contrast.system.css +1 -103
  109. package/css/palettes/high-contrast.system.css.map +1 -1
  110. package/css/structure.css +1 -152
  111. package/css/structure.css.map +1 -1
  112. package/css/text-alignment.css +1 -243
  113. package/css/text-alignment.css.map +1 -1
  114. package/css/text-transformation.css +1 -158
  115. package/css/text-transformation.css.map +1 -1
  116. package/css/typography.css +1 -157
  117. package/css/typography.css.map +1 -1
  118. package/css/utils.bundle.css +1 -1100
  119. package/css/utils.bundle.css.map +1 -1
  120. package/dist/cjs/index.cjs.js +1 -1
  121. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  122. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  123. package/dist/cjs/ion-app_8.cjs.entry.js +14 -13
  124. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  125. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  126. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  127. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  128. package/dist/cjs/ion-datetime_3.cjs.entry.js +13 -11
  129. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
  130. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  131. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  132. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  133. package/dist/cjs/ion-input.cjs.entry.js +7 -4
  134. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  135. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  136. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  137. package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
  138. package/dist/cjs/ion-modal.cjs.entry.js +8 -7
  139. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  140. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  141. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  142. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  143. package/dist/cjs/ion-popover.cjs.entry.js +7 -6
  144. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  145. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  146. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  147. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  148. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  149. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  150. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  151. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  152. package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
  153. package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
  154. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  155. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  156. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  157. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  158. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  159. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  160. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  161. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  162. package/dist/cjs/ionic.cjs.js +2 -2
  163. package/dist/cjs/loader.cjs.js +1 -1
  164. package/dist/cjs/{overlays-6487955a.js → overlays-66fcac49.js} +3 -1
  165. package/dist/collection/collection-manifest.json +2 -2
  166. package/dist/collection/components/button/button.ios.css +47 -8
  167. package/dist/collection/components/button/button.md.css +49 -8
  168. package/dist/collection/components/content/content.js +23 -4
  169. package/dist/collection/components/content/test/content.spec.js +27 -0
  170. package/dist/collection/components/datetime/datetime.js +8 -6
  171. package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
  172. package/dist/collection/components/datetime-button/datetime-button.js +1 -1
  173. package/dist/collection/components/fab/fab.js +2 -2
  174. package/dist/collection/components/fab-button/fab-button.js +2 -2
  175. package/dist/collection/components/fab-list/fab-list.js +2 -2
  176. package/dist/collection/components/footer/footer.js +2 -2
  177. package/dist/collection/components/grid/grid.js +2 -2
  178. package/dist/collection/components/header/header.js +2 -2
  179. package/dist/collection/components/img/img.js +1 -1
  180. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  181. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  182. package/dist/collection/components/input/input.js +25 -5
  183. package/dist/collection/components/input/test/input.spec.js +13 -0
  184. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  185. package/dist/collection/components/item-divider/item-divider.js +2 -2
  186. package/dist/collection/components/item-group/item-group.js +1 -1
  187. package/dist/collection/components/item-option/item-option.js +2 -2
  188. package/dist/collection/components/item-options/item-options.js +1 -1
  189. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  190. package/dist/collection/components/label/label.js +2 -2
  191. package/dist/collection/components/list/list.js +1 -1
  192. package/dist/collection/components/list-header/list-header.js +2 -2
  193. package/dist/collection/components/loading/loading.js +2 -2
  194. package/dist/collection/components/menu/menu.js +2 -2
  195. package/dist/collection/components/menu-button/menu-button.js +2 -2
  196. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  197. package/dist/collection/components/modal/gestures/sheet.js +3 -2
  198. package/dist/collection/components/modal/modal.js +24 -5
  199. package/dist/collection/components/modal/test/basic/modal.spec.js +19 -0
  200. package/dist/collection/components/nav/nav.js +1 -1
  201. package/dist/collection/components/nav-link/nav-link.js +1 -1
  202. package/dist/collection/components/note/note.js +2 -2
  203. package/dist/collection/components/picker/picker.js +2 -2
  204. package/dist/collection/components/picker-column/picker-column.js +3 -3
  205. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  206. package/dist/collection/components/picker-legacy/picker.js +2 -2
  207. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  208. package/dist/collection/components/popover/popover.ios.css +0 -1
  209. package/dist/collection/components/popover/popover.js +23 -4
  210. package/dist/collection/components/popover/popover.md.css +0 -1
  211. package/dist/collection/components/popover/test/basic/popover.e2e.js +76 -0
  212. package/dist/collection/components/popover/test/basic/popover.spec.js +19 -0
  213. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  214. package/dist/collection/components/radio/radio.js +3 -3
  215. package/dist/collection/components/radio-group/radio-group.js +1 -1
  216. package/dist/collection/components/range/range.js +3 -3
  217. package/dist/collection/components/refresher/refresher.js +1 -1
  218. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  219. package/dist/collection/components/reorder/reorder.js +1 -1
  220. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  221. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  222. package/dist/collection/components/router-link/router-link.js +2 -2
  223. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  224. package/dist/collection/components/row/row.js +1 -1
  225. package/dist/collection/components/searchbar/searchbar.js +5 -5
  226. package/dist/collection/components/segment/segment.js +2 -2
  227. package/dist/collection/components/segment-button/segment-button.js +3 -3
  228. package/dist/collection/components/select/select.js +2 -2
  229. package/dist/collection/components/select-option/select-option.js +1 -1
  230. package/dist/collection/components/select-popover/select-popover.js +1 -1
  231. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  232. package/dist/collection/components/spinner/spinner.js +1 -1
  233. package/dist/collection/components/split-pane/split-pane.js +2 -2
  234. package/dist/collection/components/tab/tab.js +2 -2
  235. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  236. package/dist/collection/components/tab-button/tab-button.js +2 -2
  237. package/dist/collection/components/tabs/tabs.js +1 -1
  238. package/dist/collection/components/text/text.js +2 -2
  239. package/dist/collection/components/textarea/textarea.js +2 -2
  240. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  241. package/dist/collection/components/title/title.js +2 -2
  242. package/dist/collection/components/toast/toast.js +2 -2
  243. package/dist/collection/components/toggle/toggle.js +3 -3
  244. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +133 -5
  245. package/dist/collection/components/toolbar/toolbar.js +2 -2
  246. package/dist/collection/themes/test/colors/theme.e2e.js +1 -3
  247. package/dist/collection/utils/overlays.js +2 -1
  248. package/dist/docs.json +126 -31
  249. package/dist/esm/index.js +1 -1
  250. package/dist/esm/ion-action-sheet.entry.js +1 -1
  251. package/dist/esm/ion-alert.entry.js +1 -1
  252. package/dist/esm/ion-app_8.entry.js +14 -13
  253. package/dist/esm/ion-avatar_3.entry.js +1 -1
  254. package/dist/esm/ion-button_2.entry.js +2 -2
  255. package/dist/esm/ion-col_3.entry.js +3 -3
  256. package/dist/esm/ion-datetime-button.entry.js +1 -1
  257. package/dist/esm/ion-datetime_3.entry.js +13 -11
  258. package/dist/esm/ion-fab_3.entry.js +6 -6
  259. package/dist/esm/ion-img.entry.js +1 -1
  260. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  261. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  262. package/dist/esm/ion-input.entry.js +7 -4
  263. package/dist/esm/ion-item-option_3.entry.js +4 -4
  264. package/dist/esm/ion-item_8.entry.js +12 -12
  265. package/dist/esm/ion-loading.entry.js +3 -3
  266. package/dist/esm/ion-menu_3.entry.js +7 -7
  267. package/dist/esm/ion-modal.entry.js +8 -7
  268. package/dist/esm/ion-nav_2.entry.js +2 -2
  269. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  270. package/dist/esm/ion-picker-column.entry.js +3 -3
  271. package/dist/esm/ion-picker.entry.js +2 -2
  272. package/dist/esm/ion-popover.entry.js +7 -6
  273. package/dist/esm/ion-progress-bar.entry.js +1 -1
  274. package/dist/esm/ion-radio_2.entry.js +4 -4
  275. package/dist/esm/ion-range.entry.js +3 -3
  276. package/dist/esm/ion-refresher_2.entry.js +2 -2
  277. package/dist/esm/ion-reorder_2.entry.js +2 -2
  278. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  279. package/dist/esm/ion-route_4.entry.js +2 -2
  280. package/dist/esm/ion-searchbar.entry.js +4 -4
  281. package/dist/esm/ion-segment_2.entry.js +5 -5
  282. package/dist/esm/ion-select_3.entry.js +5 -5
  283. package/dist/esm/ion-spinner.entry.js +1 -1
  284. package/dist/esm/ion-split-pane.entry.js +2 -2
  285. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  286. package/dist/esm/ion-tab_2.entry.js +3 -3
  287. package/dist/esm/ion-text.entry.js +2 -2
  288. package/dist/esm/ion-textarea.entry.js +2 -2
  289. package/dist/esm/ion-toast.entry.js +3 -3
  290. package/dist/esm/ion-toggle.entry.js +3 -3
  291. package/dist/esm/ionic.js +2 -2
  292. package/dist/esm/loader.js +1 -1
  293. package/dist/esm/{overlays-9472c98b.js → overlays-634df4be.js} +3 -2
  294. package/dist/esm-es5/index.js +1 -1
  295. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  296. package/dist/esm-es5/ion-alert.entry.js +1 -1
  297. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  298. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  299. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  300. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  301. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  302. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  303. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  304. package/dist/esm-es5/ion-img.entry.js +1 -1
  305. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  306. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  307. package/dist/esm-es5/ion-input.entry.js +1 -1
  308. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  309. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  310. package/dist/esm-es5/ion-loading.entry.js +1 -1
  311. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  312. package/dist/esm-es5/ion-modal.entry.js +1 -1
  313. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  314. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  315. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  316. package/dist/esm-es5/ion-picker.entry.js +1 -1
  317. package/dist/esm-es5/ion-popover.entry.js +1 -1
  318. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  319. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  320. package/dist/esm-es5/ion-range.entry.js +1 -1
  321. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  322. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  323. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  324. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  325. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  326. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  327. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  328. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  329. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  330. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  331. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  332. package/dist/esm-es5/ion-text.entry.js +1 -1
  333. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  334. package/dist/esm-es5/ion-toast.entry.js +1 -1
  335. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  336. package/dist/esm-es5/ionic.js +1 -1
  337. package/dist/esm-es5/loader.js +1 -1
  338. package/dist/esm-es5/{overlays-9472c98b.js → overlays-634df4be.js} +1 -1
  339. package/dist/html.html-data.json +42 -18
  340. package/dist/ionic/index.esm.js +1 -1
  341. package/dist/ionic/ionic.esm.js +1 -1
  342. package/dist/ionic/ionic.js +1 -1
  343. package/dist/ionic/p-012cc611.system.entry.js +4 -0
  344. package/dist/ionic/p-07c88a2e.entry.js +4 -0
  345. package/dist/ionic/p-0d189eaf.entry.js +4 -0
  346. package/dist/ionic/{p-43505ff8.system.entry.js → p-0fad7a2d.system.entry.js} +1 -1
  347. package/dist/ionic/{p-3d6e882f.system.entry.js → p-1361399b.system.entry.js} +1 -1
  348. package/dist/ionic/{p-a1f9f629.system.entry.js → p-14700c11.system.entry.js} +1 -1
  349. package/dist/ionic/p-159a5b6a.system.entry.js +4 -0
  350. package/dist/ionic/{p-d8067ea4.system.entry.js → p-17050343.system.entry.js} +1 -1
  351. package/dist/ionic/p-18057853.entry.js +4 -0
  352. package/dist/ionic/{p-c9c39c98.system.entry.js → p-18609ea3.system.entry.js} +1 -1
  353. package/dist/ionic/{p-83321ee8.entry.js → p-1bd294a2.entry.js} +1 -1
  354. package/dist/ionic/{p-0bbb6edf.system.entry.js → p-23a94a8e.system.entry.js} +1 -1
  355. package/dist/ionic/{p-d8f66669.entry.js → p-23e0649d.entry.js} +1 -1
  356. package/dist/ionic/{p-99daf8b7.entry.js → p-240cac05.entry.js} +1 -1
  357. package/dist/ionic/p-2b106d43.system.entry.js +4 -0
  358. package/dist/ionic/{p-c04d5a75.entry.js → p-2d5e919f.entry.js} +1 -1
  359. package/dist/ionic/{p-c41af68a.entry.js → p-3001b2f5.entry.js} +1 -1
  360. package/dist/ionic/{p-8bd567ba.system.entry.js → p-32950317.system.entry.js} +1 -1
  361. package/dist/ionic/{p-1f9cdee2.entry.js → p-33444157.entry.js} +1 -1
  362. package/dist/ionic/{p-49b6fee0.system.entry.js → p-33723893.system.entry.js} +1 -1
  363. package/dist/ionic/{p-6f4db5ce.system.entry.js → p-34272b1f.system.entry.js} +1 -1
  364. package/dist/ionic/{p-ea2c16b5.system.entry.js → p-37ed0807.system.entry.js} +2 -2
  365. package/dist/ionic/{p-7fc505bf.entry.js → p-3d72cae3.entry.js} +1 -1
  366. package/dist/ionic/{p-4429fc97.system.entry.js → p-414d73bc.system.entry.js} +1 -1
  367. package/dist/ionic/{p-3e3b34f7.system.entry.js → p-4264f999.system.entry.js} +1 -1
  368. package/dist/ionic/{p-f0392d49.entry.js → p-4861159f.entry.js} +1 -1
  369. package/dist/ionic/p-4e6ddce7.entry.js +4 -0
  370. package/dist/ionic/{p-896111fa.entry.js → p-512cdc37.entry.js} +1 -1
  371. package/dist/ionic/{p-ff2323ba.system.entry.js → p-5278521a.system.entry.js} +2 -2
  372. package/dist/ionic/{p-c198e1e1.system.entry.js → p-54f52179.system.entry.js} +1 -1
  373. package/dist/ionic/{p-aa110ca0.system.entry.js → p-587643a6.system.entry.js} +1 -1
  374. package/dist/ionic/{p-07ae133d.system.entry.js → p-5cf61334.system.entry.js} +1 -1
  375. package/dist/ionic/{p-0f2d99a6.entry.js → p-5eafecd8.entry.js} +1 -1
  376. package/dist/ionic/{p-17978fce.entry.js → p-61aa1ba6.entry.js} +1 -1
  377. package/dist/ionic/{p-04070329.system.entry.js → p-64714af0.system.entry.js} +1 -1
  378. package/dist/ionic/{p-1672c4fd.system.entry.js → p-65e0d04e.system.entry.js} +2 -2
  379. package/dist/ionic/{p-5b1273f4.system.entry.js → p-69c8ec2a.system.entry.js} +1 -1
  380. package/dist/ionic/{p-35b9e842.entry.js → p-6c3c02d4.entry.js} +1 -1
  381. package/dist/ionic/{p-352f7037.system.entry.js → p-715d10d2.system.entry.js} +1 -1
  382. package/dist/ionic/{p-ab85debb.entry.js → p-727255c2.entry.js} +1 -1
  383. package/dist/ionic/p-73281e75.system.entry.js +4 -0
  384. package/dist/ionic/{p-fab4ecad.system.entry.js → p-745eb00b.system.entry.js} +1 -1
  385. package/dist/ionic/{p-0ebb1fe7.system.entry.js → p-7820f3ab.system.entry.js} +1 -1
  386. package/dist/ionic/{p-fda4872f.entry.js → p-784d54d4.entry.js} +1 -1
  387. package/dist/ionic/{p-716ab5f8.system.entry.js → p-8337ce33.system.entry.js} +1 -1
  388. package/dist/ionic/p-8370ef82.entry.js +4 -0
  389. package/dist/ionic/p-88250ff0.entry.js +4 -0
  390. package/dist/ionic/{p-51b68ec9.system.entry.js → p-8a6e15fc.system.entry.js} +1 -1
  391. package/dist/ionic/p-8b19c120.entry.js +4 -0
  392. package/dist/ionic/{p-e955bf61.entry.js → p-8bbc7271.entry.js} +1 -1
  393. package/dist/ionic/{p-fbd30ec7.entry.js → p-92210d07.entry.js} +1 -1
  394. package/dist/ionic/p-9399625f.entry.js +4 -0
  395. package/dist/ionic/p-95bc0add.system.entry.js +4 -0
  396. package/dist/ionic/p-9a45140d.system.entry.js +4 -0
  397. package/dist/ionic/{p-0aa4682e.entry.js → p-9ce13bcc.entry.js} +1 -1
  398. package/dist/ionic/{p-58ea73f7.system.entry.js → p-9d9f20ce.system.entry.js} +1 -1
  399. package/dist/ionic/{p-a1b4e619.system.entry.js → p-9e8cf5a2.system.entry.js} +1 -1
  400. package/dist/ionic/{p-2e12bda2.entry.js → p-a70c90d8.entry.js} +1 -1
  401. package/dist/ionic/p-ab5db814.js +4 -0
  402. package/dist/ionic/{p-fb97326f.system.entry.js → p-ac6dd92b.system.entry.js} +1 -1
  403. package/dist/ionic/{p-51ff648c.entry.js → p-ae21e7ab.entry.js} +1 -1
  404. package/dist/ionic/{p-dc1372e0.entry.js → p-bcbce3d9.entry.js} +1 -1
  405. package/dist/ionic/{p-c8f2b769.entry.js → p-bd516c16.entry.js} +1 -1
  406. package/dist/ionic/{p-a88fdfac.entry.js → p-be9f56eb.entry.js} +1 -1
  407. package/dist/ionic/{p-4196b2d1.system.entry.js → p-bf4609f9.system.entry.js} +1 -1
  408. package/dist/ionic/{p-fb02eeec.system.entry.js → p-c373bd37.system.entry.js} +1 -1
  409. package/dist/ionic/p-c478747f.system.js +4 -0
  410. package/dist/ionic/{p-d98c0112.entry.js → p-c872fcd2.entry.js} +1 -1
  411. package/dist/ionic/{p-5da04d11.entry.js → p-c8db6adb.entry.js} +1 -1
  412. package/dist/ionic/p-cec3bebe.entry.js +4 -0
  413. package/dist/ionic/p-cfdb1223.entry.js +4 -0
  414. package/dist/ionic/{p-76907c2f.system.entry.js → p-d104ba38.system.entry.js} +1 -1
  415. package/dist/ionic/{p-3391d9a3.entry.js → p-d2b175d3.entry.js} +1 -1
  416. package/dist/ionic/p-d335115d.system.js +4 -0
  417. package/dist/ionic/{p-100bedc4.system.entry.js → p-d8ebc853.system.entry.js} +1 -1
  418. package/dist/ionic/{p-8e9ac22d.entry.js → p-db1d7caa.entry.js} +1 -1
  419. package/dist/ionic/{p-df6fa126.entry.js → p-de3c33f3.entry.js} +1 -1
  420. package/dist/ionic/p-e350ab4a.entry.js +4 -0
  421. package/dist/ionic/{p-a8f02173.system.js → p-f24e9676.system.js} +1 -1
  422. package/dist/ionic/p-f31ef319.system.entry.js +4 -0
  423. package/dist/ionic/{p-c99ccdc9.entry.js → p-f4f3b780.entry.js} +1 -1
  424. package/dist/ionic/{p-1cff9cad.entry.js → p-f6f4f694.entry.js} +1 -1
  425. package/dist/ionic/{p-e8a0e731.entry.js → p-f96f7d38.entry.js} +1 -1
  426. package/dist/ionic/{p-68a1e274.system.entry.js → p-fb16b850.system.entry.js} +1 -1
  427. package/dist/ionic/{p-c1d1d004.system.entry.js → p-fb1ee785.system.entry.js} +1 -1
  428. package/dist/ionic/{p-510578f3.system.entry.js → p-fe246e19.system.entry.js} +1 -1
  429. package/dist/types/components/content/content.d.ts +8 -0
  430. package/dist/types/components/input/input.d.ts +4 -0
  431. package/dist/types/components/modal/modal-interface.d.ts +1 -0
  432. package/dist/types/components/modal/modal.d.ts +18 -0
  433. package/dist/types/components/popover/popover-interface.d.ts +1 -0
  434. package/dist/types/components/popover/popover.d.ts +18 -0
  435. package/dist/types/components.d.ts +32 -0
  436. package/dist/types/utils/overlays.d.ts +1 -0
  437. package/hydrate/index.js +168 -140
  438. package/package.json +2 -2
  439. package/dist/ionic/p-049fa018.system.entry.js +0 -4
  440. package/dist/ionic/p-0de546bb.entry.js +0 -4
  441. package/dist/ionic/p-23b89985.entry.js +0 -4
  442. package/dist/ionic/p-25575222.system.js +0 -4
  443. package/dist/ionic/p-35722bba.system.entry.js +0 -4
  444. package/dist/ionic/p-596e0cf8.system.entry.js +0 -4
  445. package/dist/ionic/p-5ae49f12.entry.js +0 -4
  446. package/dist/ionic/p-5d3f6707.entry.js +0 -4
  447. package/dist/ionic/p-5fa8587e.system.entry.js +0 -4
  448. package/dist/ionic/p-69bc14fd.entry.js +0 -4
  449. package/dist/ionic/p-75280815.entry.js +0 -4
  450. package/dist/ionic/p-7df2c495.entry.js +0 -4
  451. package/dist/ionic/p-89b59bd7.entry.js +0 -4
  452. package/dist/ionic/p-9540561f.entry.js +0 -4
  453. package/dist/ionic/p-ac9f44a8.system.entry.js +0 -4
  454. package/dist/ionic/p-bb835b4d.system.entry.js +0 -4
  455. package/dist/ionic/p-df48edd6.entry.js +0 -4
  456. package/dist/ionic/p-ea4be6ac.system.js +0 -4
  457. package/dist/ionic/p-eb3da535.system.entry.js +0 -4
  458. package/dist/ionic/p-f4cb521c.js +0 -4
  459. package/dist/ionic/p-f818b01a.entry.js +0 -4
@@ -118,12 +118,12 @@ export class SplitPane {
118
118
  }
119
119
  render() {
120
120
  const mode = getIonMode(this);
121
- return (h(Host, { key: 'a8dd60d8f80847cd406bf1776c89209192a424b9', class: {
121
+ return (h(Host, { key: 'ea58eb10f1e0040f8b193684085dcf0b6fb70736', class: {
122
122
  [mode]: true,
123
123
  // Used internally for styling
124
124
  [`split-pane-${mode}`]: true,
125
125
  'split-pane-visible': this.visible,
126
- } }, h("slot", { key: '85c037c53bf8447724aac28260a0d8dab3102525' })));
126
+ } }, h("slot", { key: '568992064ae695fb4de01aef59d6f6e3359e1e0f' })));
127
127
  }
128
128
  static get is() { return "ion-split-pane"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -48,10 +48,10 @@ export class Tab {
48
48
  }
49
49
  render() {
50
50
  const { tab, active, component } = this;
51
- return (h(Host, { key: '1a58c58f3d721e840fc2bb09a4f93c47ff0ce1dc', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
51
+ return (h(Host, { key: 'e67484767fa4aab6bc90db390a90eb5e24e51f14', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
52
52
  'ion-page': component === undefined,
53
53
  'tab-hidden': !active,
54
- } }, h("slot", { key: '0189bc368d456b93c376c363216d6535f45a8822' })));
54
+ } }, h("slot", { key: 'ad6523d5a128d457d09e88739f8218cdf16152de' })));
55
55
  }
56
56
  static get is() { return "ion-tab"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -51,11 +51,11 @@ export class TabBar {
51
51
  const { color, translucent, keyboardVisible } = this;
52
52
  const mode = getIonMode(this);
53
53
  const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
54
- return (h(Host, { key: '1a8f53e428102e3433006244351fd45616d469f3', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
54
+ return (h(Host, { key: '2d30e75e19d86a1eb65cff8ddab0cb059f59b224', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
55
55
  [mode]: true,
56
56
  'tab-bar-translucent': translucent,
57
57
  'tab-bar-hidden': shouldHide,
58
- }) }, h("slot", { key: 'f7b344751801feeada1e1fbd3e35442b9cce578e' })));
58
+ }) }, h("slot", { key: '5b739f1bbe21c887b7810383edd2f67143ac086e' })));
59
59
  }
60
60
  static get is() { return "ion-tab-bar"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class TabButton {
70
70
  rel,
71
71
  target,
72
72
  };
73
- return (h(Host, { key: '2311364c7e028b9e6658f78405983e895c5f30ed', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
73
+ return (h(Host, { key: 'b37743b20b93c27ffb0094b35545292533f9d30f', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
74
74
  [mode]: true,
75
75
  'tab-selected': selected,
76
76
  'tab-disabled': disabled,
@@ -82,7 +82,7 @@ export class TabButton {
82
82
  'ion-activatable': true,
83
83
  'ion-selectable': true,
84
84
  'ion-focusable': true,
85
- } }, h("a", Object.assign({ key: 'a5835459b16a4c2db298de8cb75c78a88b349dcc' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'e19e23bbb63f8ceb9e047fc4e3b518f824645398', class: "button-inner" }, h("slot", { key: 'f6cbfa231dde5f46147bccd99c40ab974be549b2' })), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
85
+ } }, h("a", Object.assign({ key: '7dd2b3aaa96f64a8b7411730ed8b201466a97162' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'cb328541793b6aa469d5d3bff662d2efa56dc977', class: "button-inner" }, h("slot", { key: '904a1b063f481ac86d5bea967a375addc9c96471' })), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
86
86
  }
87
87
  static get is() { return "ion-tab-button"; }
88
88
  static get encapsulation() { return "shadow"; }
@@ -135,7 +135,7 @@ export class Tabs {
135
135
  return Array.from(this.el.querySelectorAll('ion-tab'));
136
136
  }
137
137
  render() {
138
- return (h(Host, { key: '05f1607d092d5bef9f1f42dd46d4bec6caa58f15', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '8e175dbf3afeb76c0b3a794b3064a2191b1b5fbc', name: "top" }), h("div", { key: 'd7120d2f0dc58cca23c0854e042a4d4b8fde4db6', class: "tabs-inner" }, h("slot", { key: 'a3651076ad9ab1c6cf56a7b82172ff59930d1963' })), h("slot", { key: 'a719a23f813740dc2c03d21af0c2fe28f1b4f8bb', name: "bottom" })));
138
+ return (h(Host, { key: 'e2cac6a2e54514f31cfe65692e34e88d530b204f', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '53bc64f37aebb9a68c6e2db2c89ec6d39cd64bbd', name: "top" }), h("div", { key: '72f4f0ae53518631d6c1b6276da3f63147c28cfc', class: "tabs-inner" }, h("slot", { key: '79f1eece652cf00a3dd8359b68e68059816ff704' })), h("slot", { key: '3fbaf52447720ee14c7db06f2bf71a92093847f4', name: "bottom" })));
139
139
  }
140
140
  static get is() { return "ion-tabs"; }
141
141
  static get encapsulation() { return "shadow"; }
@@ -13,9 +13,9 @@ export class Text {
13
13
  }
14
14
  render() {
15
15
  const mode = getIonMode(this);
16
- return (h(Host, { key: '7481d3ae97e8623e9cdbf7702b16465f9aaa13bf', class: createColorClasses(this.color, {
16
+ return (h(Host, { key: '9b5decc6dfca4fbaf0fe42696a9833ffee269a7d', class: createColorClasses(this.color, {
17
17
  [mode]: true,
18
- }) }, h("slot", { key: 'ae2ed8d29d2e52914f0d38b804e1cdc8941c9c64' })));
18
+ }) }, h("slot", { key: '5b822dcc0f6255819cec7626d0c0f7f9873aaab9' })));
19
19
  }
20
20
  static get is() { return "ion-text"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -359,7 +359,7 @@ export class Textarea {
359
359
  * TODO(FW-5592): Remove hasStartEndSlots condition
360
360
  */
361
361
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
362
- return (h(Host, { key: 'bb02bfa6a2f0f80d98df5a556941dfe4e6167f1a', class: createColorClasses(this.color, {
362
+ return (h(Host, { key: '25c93a03ddc64c24ce09f329a4dac89c3778dfbc', class: createColorClasses(this.color, {
363
363
  [mode]: true,
364
364
  'has-value': hasValue,
365
365
  'has-focus': hasFocus,
@@ -368,7 +368,7 @@ export class Textarea {
368
368
  [`textarea-shape-${shape}`]: shape !== undefined,
369
369
  [`textarea-label-placement-${labelPlacement}`]: true,
370
370
  'textarea-disabled': disabled,
371
- }) }, h("label", { key: '1b94ad5bc71dd4441fe6d35690ba2d8e19e4f59c', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'cd3143f63bf715782f849a4d29549473d5ee9a80', class: "textarea-wrapper-inner" }, h("div", { key: 'bebcda4eed228f9742fb3446e5b5d27daf2d2dd4', class: "start-slot-wrapper" }, h("slot", { key: '4cc32fbeae35ae04914183abc4e300aa21863ec6', name: "start" })), h("div", { key: '6f43f54dd8e0a548bc8b376025fb8f914d705130', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '11b30015d9b5daf6781651a1d0111d2be893f4c6', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: '7dc55f082b3268b78b1f8230ce81c9b870d945a8', class: "end-slot-wrapper" }, h("slot", { key: '054c0a7e052a301c00f8fe3cb975e61e7a7b4d3c', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
371
+ }) }, h("label", { key: 'e04e24784f1da17eaf7b8777729ad8afe28ec420', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '8298c4d29ae35bc55ff122e634546cfde9ba7230', class: "textarea-wrapper-inner" }, h("div", { key: '37700dcb609fa7c1d90546a0213e21fb40eecc1c', class: "start-slot-wrapper" }, h("slot", { key: '76fef32fa9d0951edcb5c6298937ac1222cc3509', name: "start" })), h("div", { key: '7525a144ae19f64a19e6ff9727ca5db27c2a87e9', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '4dbcc754f428921859d0a0528525c4417a216e4e', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: '65845f7b39b4821786024938550e6597c8fa5de2', class: "end-slot-wrapper" }, h("slot", { key: 'ba63b2e34630c7485d7cc6ba3a2275b2dcbcd4de', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
372
372
  }
373
373
  static get is() { return "ion-textarea"; }
374
374
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  import { getIonMode } from "../../global/ionic-global";
6
6
  export class Thumbnail {
7
7
  render() {
8
- return (h(Host, { key: 'b1fe245cf42f0462336519d07afd6c91eef388cf', class: getIonMode(this) }, h("slot", { key: '5e0f575864fcd9ae03ec8f5f7eb915efcf568337' })));
8
+ return (h(Host, { key: '68bac4e80f5d27131690fd20dfabff2618743206', class: getIonMode(this) }, h("slot", { key: '89f46a686288428391cdfaef3384824751ae3d05' })));
9
9
  }
10
10
  static get is() { return "ion-thumbnail"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -27,11 +27,11 @@ export class ToolbarTitle {
27
27
  render() {
28
28
  const mode = getIonMode(this);
29
29
  const size = this.getSize();
30
- return (h(Host, { key: '4e7a269caceb9cf7a71c3ba5dc15903a72203132', class: createColorClasses(this.color, {
30
+ return (h(Host, { key: 'af95e7123b3d39110425c16cb4f7f8efb1ee1536', class: createColorClasses(this.color, {
31
31
  [mode]: true,
32
32
  [`title-${size}`]: true,
33
33
  'title-rtl': document.dir === 'rtl',
34
- }) }, h("div", { key: 'e42d43e85a57a2ac16579021df43ade524f1d9bf', class: "toolbar-title" }, h("slot", { key: '2319bcfdb2b79eec9c03db84bea2a9f133cc8576' }))));
34
+ }) }, h("div", { key: '54efce3d5769fb3de297a6d534dc87d57f365004', class: "toolbar-title" }, h("slot", { key: 'f7ed25c6b178cad1840e35e81e3eeeca3aacea3f' }))));
35
35
  }
36
36
  static get is() { return "ion-title"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -388,9 +388,9 @@ export class Toast {
388
388
  if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
389
389
  printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
390
390
  }
391
- return (h(Host, Object.assign({ key: 'ebab697ab245b8ffe7163c59ee059d143242845a', tabindex: "-1" }, this.htmlAttributes, { style: {
391
+ return (h(Host, Object.assign({ key: '45b52c210cc3e9ac130f695f29b03d771959f64f', tabindex: "-1" }, this.htmlAttributes, { style: {
392
392
  zIndex: `${60000 + this.overlayIndex}`,
393
- }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '94d1bcbb17cb4ed81ec67d63ccf61822fedbed94', class: wrapperClass }, h("div", { key: 'd10a99dcdf94d70003b70dea7d965c05baefa934', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '6475020a6890eb79bb37638c0ad0267f1cbf89fb', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
393
+ }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '10f25e094028f4855828ba2e04e71445b05198eb', class: wrapperClass }, h("div", { key: 'a1312a8878dd8a02798de0a1f136d03c287a34a8', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '0f19c24f130c04ff41a3098bf6d9b17e2c8a2d12', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
394
394
  }
395
395
  static get is() { return "ion-toast"; }
396
396
  static get encapsulation() { return "shadow"; }
@@ -157,7 +157,7 @@ export class Toggle {
157
157
  const value = this.getValue();
158
158
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
159
159
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
160
- return (h(Host, { key: '9ea705862e0a6c8c3250d19d6487ba5a312557f4', onClick: this.onClick, class: createColorClasses(color, {
160
+ return (h(Host, { key: 'f90c95348f1251c077187f0d30f6f4a5198cde68', onClick: this.onClick, class: createColorClasses(color, {
161
161
  [mode]: true,
162
162
  'in-item': hostContext('ion-item', el),
163
163
  'toggle-activated': activated,
@@ -167,10 +167,10 @@ export class Toggle {
167
167
  [`toggle-alignment-${alignment}`]: true,
168
168
  [`toggle-label-placement-${labelPlacement}`]: true,
169
169
  [`toggle-${rtl}`]: true,
170
- }) }, h("label", { key: '6347141bd48c42c10f358bdf95ee5c3e9719f7e7', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'a81935c322ccdec55723986bc69556833e057b7b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '0ab294895807335c63c9a31685d861a9f75f0129', class: {
170
+ }) }, h("label", { key: '3b86ca8cc4a19b6bc17784cd01fcb7697c58d108', class: "toggle-wrapper" }, h("input", Object.assign({ key: '3773acdfdfe5263517980f19a698bdbb572a68eb', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: 'bb10a95f701d5f9c343c7d46a5bb690ee42eaa1d', class: {
171
171
  'label-text-wrapper': true,
172
172
  'label-text-wrapper-hidden': !this.hasLabel,
173
- }, part: "label" }, h("slot", { key: '918de14911b5c1453ac1b817a92614d80fe81082' })), h("div", { key: 'f7f8b23c1de4eacdf912034286d51d88dde09699', class: "native-wrapper" }, this.renderToggleControl()))));
173
+ }, part: "label" }, h("slot", { key: '7ff69b1184f0abbefdb9642400885baf3b2abd38' })), h("div", { key: '3df2f297d9c0b53e7997841b822845af7ad6a058', class: "native-wrapper" }, this.renderToggleControl()))));
174
174
  }
175
175
  static get is() { return "ion-toggle"; }
176
176
  static get encapsulation() { return "shadow"; }
@@ -3,13 +3,141 @@
3
3
  */
4
4
  import { expect } from "@playwright/test";
5
5
  import { configs, test } from "../../../../utils/test/playwright/index";
6
- configs().forEach(({ title, screenshot, config }) => {
6
+ configs({ palettes: ['light', 'dark'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
7
+ test.describe(title('toolbar: basic (LTR only)'), () => {
8
+ test('should not have visual regressions with text only', async ({ page }) => {
9
+ await page.setContent(`
10
+ <ion-header>
11
+ <ion-toolbar>
12
+ <ion-title>Toolbar</ion-title>
13
+ </ion-toolbar>
14
+ </ion-header>
15
+ `, config);
16
+ const header = page.locator('ion-header');
17
+ await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-text-only`));
18
+ });
19
+ });
20
+ });
21
+ configs({ palettes: ['light', 'dark'] }).forEach(({ title, screenshot, config }) => {
7
22
  test.describe(title('toolbar: basic'), () => {
8
- test('should not have visual regressions', async ({ page }) => {
9
- await page.goto(`/src/components/toolbar/test/basic`, config);
10
- // capture both header toolbars at once, but don't include all the white space in the ion-content
23
+ test('should truncate long title with ellipsis', async ({ page }) => {
24
+ await page.setContent(`
25
+ <ion-header>
26
+ <ion-toolbar>
27
+ <ion-title>This is the title that never ends. It just goes on and on my friend.</ion-title>
28
+ </ion-toolbar>
29
+ </ion-header>
30
+ `, config);
31
+ const header = page.locator('ion-header');
32
+ await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-long-text`));
33
+ });
34
+ test('should not have visual regressions with icon-only buttons', async ({ page }) => {
35
+ await page.setContent(`
36
+ <ion-header>
37
+ <ion-toolbar>
38
+ <ion-buttons slot="secondary">
39
+ <ion-button>
40
+ <ion-icon slot="icon-only" name="person-circle"></ion-icon>
41
+ </ion-button>
42
+ <ion-button>
43
+ <ion-icon slot="icon-only" name="search"></ion-icon>
44
+ </ion-button>
45
+ </ion-buttons>
46
+ <ion-buttons slot="primary">
47
+ <ion-button color="secondary">
48
+ <ion-icon slot="icon-only" ios="ellipsis-horizontal" md="ellipsis-vertical"></ion-icon>
49
+ </ion-button>
50
+ </ion-buttons>
51
+ <ion-title>Toolbar</ion-title>
52
+ </ion-toolbar>
53
+ <ion-toolbar>
54
+ <ion-buttons slot="secondary">
55
+ <ion-button class="ion-activated">
56
+ <ion-icon slot="icon-only" name="person-circle"></ion-icon>
57
+ </ion-button>
58
+ <ion-button class="ion-activated">
59
+ <ion-icon slot="icon-only" name="search"></ion-icon>
60
+ </ion-button>
61
+ </ion-buttons>
62
+ <ion-buttons slot="primary">
63
+ <ion-button color="secondary" class="ion-activated">
64
+ <ion-icon slot="icon-only" ios="ellipsis-horizontal" md="ellipsis-vertical"></ion-icon>
65
+ </ion-button>
66
+ </ion-buttons>
67
+ <ion-title>Activated Buttons</ion-title>
68
+ </ion-toolbar>
69
+ </ion-header>
70
+ `, config);
71
+ const header = page.locator('ion-header');
72
+ await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-icon-buttons`));
73
+ });
74
+ test('should not have visual regressions with buttons with icons and text', async ({ page }) => {
75
+ await page.setContent(`
76
+ <ion-header>
77
+ <ion-toolbar>
78
+ <ion-buttons slot="secondary">
79
+ <ion-button fill="solid">
80
+ <ion-icon slot="start" name="person-circle"></ion-icon>
81
+ Solid
82
+ </ion-button>
83
+ </ion-buttons>
84
+ <ion-title>Solid</ion-title>
85
+ <ion-buttons slot="primary">
86
+ <ion-button fill="solid" color="secondary">
87
+ Help
88
+ <ion-icon slot="end" name="help-circle"></ion-icon>
89
+ </ion-button>
90
+ </ion-buttons>
91
+ </ion-toolbar>
92
+ <ion-toolbar>
93
+ <ion-buttons slot="secondary">
94
+ <ion-button fill="solid" class="ion-activated">
95
+ <ion-icon slot="start" name="person-circle"></ion-icon>
96
+ Solid
97
+ </ion-button>
98
+ </ion-buttons>
99
+ <ion-title>Solid Activated</ion-title>
100
+ <ion-buttons slot="primary">
101
+ <ion-button fill="solid" color="secondary" class="ion-activated">
102
+ Help
103
+ <ion-icon slot="end" name="help-circle"></ion-icon>
104
+ </ion-button>
105
+ </ion-buttons>
106
+ </ion-toolbar>
107
+ <ion-toolbar>
108
+ <ion-buttons slot="secondary">
109
+ <ion-button fill="outline">
110
+ <ion-icon slot="start" name="star"></ion-icon>
111
+ Star
112
+ </ion-button>
113
+ </ion-buttons>
114
+ <ion-title>Outline</ion-title>
115
+ <ion-buttons slot="primary">
116
+ <ion-button color="secondary" fill="outline">
117
+ Info
118
+ <ion-icon slot="end" name="information-circle"></ion-icon>
119
+ </ion-button>
120
+ </ion-buttons>
121
+ </ion-toolbar>
122
+ <ion-toolbar>
123
+ <ion-buttons slot="secondary">
124
+ <ion-button fill="outline" class="ion-activated">
125
+ <ion-icon slot="start" name="star"></ion-icon>
126
+ Star
127
+ </ion-button>
128
+ </ion-buttons>
129
+ <ion-title>Outline Activated</ion-title>
130
+ <ion-buttons slot="primary">
131
+ <ion-button color="secondary" fill="outline" class="ion-activated">
132
+ Info
133
+ <ion-icon slot="end" name="information-circle"></ion-icon>
134
+ </ion-button>
135
+ </ion-buttons>
136
+ </ion-toolbar>
137
+ </ion-header>
138
+ `, config);
11
139
  const header = page.locator('ion-header');
12
- await expect(header).toHaveScreenshot(screenshot(`toolbar-basic`));
140
+ await expect(header).toHaveScreenshot(screenshot(`toolbar-basic-text-icon-buttons`));
13
141
  });
14
142
  });
15
143
  });
@@ -62,10 +62,10 @@ export class Toolbar {
62
62
  this.childrenStyles.forEach((value) => {
63
63
  Object.assign(childStyles, value);
64
64
  });
65
- return (h(Host, { key: 'f11da98ce3398f95930cd6f5b95783a5b658e206', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
65
+ return (h(Host, { key: 'f72d6a7ed20c88ba15d64050acfc20f320569862', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
66
66
  [mode]: true,
67
67
  'in-toolbar': hostContext('ion-toolbar', this.el),
68
- })) }, h("div", { key: '2e473c8bebf448f411ec1a579f0c81eb05310c56', class: "toolbar-background" }), h("div", { key: 'cf2d7c69bc028410338942aaea37527c570ccec5', class: "toolbar-container" }, h("slot", { key: '445cbd5299188eef4761c605b4a8d20a61079590', name: "start" }), h("slot", { key: '77675b5c0c0afffe5251ba271f5db23f87339859', name: "secondary" }), h("div", { key: '7d5967c4ad6c0fca7573aa48da707c8b0dfcd052', class: "toolbar-content" }, h("slot", { key: 'ad5530d63df9ca101760fb9f71e3641c66e95b6c' })), h("slot", { key: '35837ac1b7a4a59f000149d480900bc19015b258', name: "primary" }), h("slot", { key: '504904cf46e2190dd0a3aa5b7855b5fc54f73726', name: "end" }))));
68
+ })) }, h("div", { key: 'ccf18eea9756ca56ca828b05bd3f86cf8a32e24c', class: "toolbar-background" }), h("div", { key: '1fa699d8e17f57b42a52d47a1bdb793f2cbbfe5d', class: "toolbar-container" }, h("slot", { key: 'ef4d877bad0918eefdc67fa7aa258024a58d26ef', name: "start" }), h("slot", { key: '41858db7a8d58c9165952c9336731d621ec3c2b8', name: "secondary" }), h("div", { key: '577770b9346b48a0fa1412cbdbd9393d553d2286', class: "toolbar-content" }, h("slot", { key: 'ae47b29e1f7d2c3dde7a170c9737b48f075139c2' })), h("slot", { key: 'cfbf7879daf1a38fee434335abff936d8f3690e0', name: "primary" }), h("slot", { key: 'ed3a66248f43e0749f6aef9fb78ea4f5034c0774', name: "end" }))));
69
69
  }
70
70
  static get is() { return "ion-toolbar"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -49,10 +49,8 @@ const styleTestHelpers = `
49
49
  * 5) The base color as the text color against the base color at 0.08 opacity as the background color
50
50
  * 6) The base color as the text color against the base color at 0.12 opacity as the background color
51
51
  * 7) The base color as the text color against the base color at 0.16 opacity as the background color
52
- *
53
- * Important: We test both modes because the dark palette colors differ on iOS and MD.
54
52
  */
55
- configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
53
+ configs({ modes: ['md'], directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
56
54
  const colors = ['primary', 'secondary', 'tertiary', 'success', 'warning', 'danger', 'light', 'medium', 'dark'];
57
55
  test.describe(title('theme'), () => {
58
56
  test.beforeEach(({ skip }) => {
@@ -152,7 +152,7 @@ const trapKeyboardFocus = (ev, doc) => {
152
152
  * behind the sheet should be focusable until
153
153
  * the backdrop is enabled.
154
154
  */
155
- if (lastOverlay.classList.contains('ion-disable-focus-trap')) {
155
+ if (lastOverlay.classList.contains(FOCUS_TRAP_DISABLE_CLASS)) {
156
156
  return;
157
157
  }
158
158
  const trapScopedFocus = () => {
@@ -827,3 +827,4 @@ const revealOverlaysToScreenReaders = () => {
827
827
  }
828
828
  }
829
829
  };
830
+ export const FOCUS_TRAP_DISABLE_CLASS = 'ion-disable-focus-trap';