@ionic/core 7.5.6-dev.11700086473.1eebae2a → 7.5.6-dev.11700168085.18cb70d3

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 (392) hide show
  1. package/components/action-sheet.js +2 -2
  2. package/components/alert.js +2 -2
  3. package/components/backdrop.js +12 -0
  4. package/components/gesture-controller.js +1 -1
  5. package/components/ion-card-subtitle.js +2 -2
  6. package/components/ion-card-title.js +1 -1
  7. package/components/ion-card.js +2 -2
  8. package/components/ion-content.js +1 -1
  9. package/components/ion-datetime.js +17 -4
  10. package/components/ion-infinite-scroll-content.js +2 -2
  11. package/components/ion-input.js +2 -2
  12. package/components/ion-item-divider.js +2 -2
  13. package/components/ion-loading.js +2 -2
  14. package/components/ion-range.js +1 -1
  15. package/components/ion-searchbar.js +2 -2
  16. package/components/ion-select.js +2 -2
  17. package/components/ion-tab-bar.js +2 -2
  18. package/components/ion-textarea.js +2 -2
  19. package/components/ion-toast.js +2 -2
  20. package/components/item.js +2 -2
  21. package/components/label.js +1 -1
  22. package/components/list-header.js +1 -1
  23. package/components/note.js +2 -2
  24. package/components/overlays.js +1 -5
  25. package/components/popover.js +1 -1
  26. package/css/core.css +66 -0
  27. package/css/core.css.map +1 -1
  28. package/css/display.css +44 -0
  29. package/css/display.css.map +1 -1
  30. package/css/float-elements.css +44 -0
  31. package/css/float-elements.css.map +1 -1
  32. package/css/global.bundle.css +88 -0
  33. package/css/global.bundle.css.map +1 -1
  34. package/css/ionic-swiper.css +22 -0
  35. package/css/ionic-swiper.css.map +1 -1
  36. package/css/ionic.bundle.css.map +1 -1
  37. package/css/padding.css +44 -0
  38. package/css/padding.css.map +1 -1
  39. package/css/structure.css +44 -0
  40. package/css/structure.css.map +1 -1
  41. package/css/text-alignment.css +44 -0
  42. package/css/text-alignment.css.map +1 -1
  43. package/css/text-transformation.css +44 -0
  44. package/css/text-transformation.css.map +1 -1
  45. package/css/typography.css +44 -0
  46. package/css/typography.css.map +1 -1
  47. package/css/utils.bundle.css +220 -0
  48. package/css/utils.bundle.css.map +1 -1
  49. package/dist/cjs/{button-active-cd07b55b.js → button-active-af897e0e.js} +1 -1
  50. package/dist/cjs/{gesture-controller-d6a3f907.js → gesture-controller-b46721be.js} +0 -1
  51. package/dist/cjs/{index-0f8b33f8.js → index-0ee995e4.js} +1 -1
  52. package/dist/cjs/index.cjs.js +3 -3
  53. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
  54. package/dist/cjs/ion-alert.cjs.entry.js +6 -6
  55. package/dist/cjs/ion-app_8.cjs.entry.js +2 -2
  56. package/dist/cjs/ion-backdrop.cjs.entry.js +12 -0
  57. package/dist/cjs/ion-card_5.cjs.entry.js +5 -5
  58. package/dist/cjs/ion-datetime_3.cjs.entry.js +19 -7
  59. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  60. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  61. package/dist/cjs/ion-item-option_3.cjs.entry.js +1 -1
  62. package/dist/cjs/ion-item_8.cjs.entry.js +8 -8
  63. package/dist/cjs/ion-loading.cjs.entry.js +3 -4
  64. package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
  65. package/dist/cjs/ion-modal.cjs.entry.js +3 -3
  66. package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
  67. package/dist/cjs/ion-popover.cjs.entry.js +2 -3
  68. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
  70. package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -1
  71. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  72. package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
  73. package/dist/cjs/ion-select_3.cjs.entry.js +3 -4
  74. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  75. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  76. package/dist/cjs/ion-toast.cjs.entry.js +3 -4
  77. package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
  78. package/dist/cjs/{overlays-bd057fe9.js → overlays-2ffc5f27.js} +1 -5
  79. package/dist/cjs/{swipe-back-a6dc6e5d.js → swipe-back-d0412fb6.js} +2 -2
  80. package/dist/collection/components/accordion/accordion.ios.css +44 -0
  81. package/dist/collection/components/accordion/accordion.md.css +22 -0
  82. package/dist/collection/components/accordion-group/accordion-group.ios.css +44 -0
  83. package/dist/collection/components/accordion-group/accordion-group.md.css +66 -0
  84. package/dist/collection/components/action-sheet/action-sheet.ios.css +46 -2
  85. package/dist/collection/components/action-sheet/action-sheet.md.css +45 -1
  86. package/dist/collection/components/alert/alert.ios.css +79 -5
  87. package/dist/collection/components/alert/alert.md.css +126 -14
  88. package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +40 -0
  89. package/dist/collection/components/avatar/avatar.ios.css +44 -0
  90. package/dist/collection/components/avatar/avatar.md.css +44 -0
  91. package/dist/collection/components/back-button/back-button.ios.css +44 -0
  92. package/dist/collection/components/back-button/back-button.md.css +44 -0
  93. package/dist/collection/components/backdrop/backdrop.ios.css +44 -0
  94. package/dist/collection/components/backdrop/backdrop.js +12 -0
  95. package/dist/collection/components/backdrop/backdrop.md.css +44 -0
  96. package/dist/collection/components/badge/badge.ios.css +44 -0
  97. package/dist/collection/components/badge/badge.md.css +44 -0
  98. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +44 -0
  99. package/dist/collection/components/breadcrumb/breadcrumb.md.css +44 -0
  100. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +22 -0
  101. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +22 -0
  102. package/dist/collection/components/button/button.ios.css +66 -0
  103. package/dist/collection/components/button/button.md.css +44 -0
  104. package/dist/collection/components/buttons/buttons.ios.css +66 -0
  105. package/dist/collection/components/buttons/buttons.md.css +66 -0
  106. package/dist/collection/components/card/card.ios.css +45 -1
  107. package/dist/collection/components/card/card.md.css +45 -1
  108. package/dist/collection/components/card-content/card-content.ios.css +44 -0
  109. package/dist/collection/components/card-content/card-content.md.css +44 -0
  110. package/dist/collection/components/card-header/card-header.ios.css +44 -0
  111. package/dist/collection/components/card-header/card-header.md.css +44 -0
  112. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +45 -1
  113. package/dist/collection/components/card-subtitle/card-subtitle.md.css +45 -1
  114. package/dist/collection/components/card-title/card-title.ios.css +44 -0
  115. package/dist/collection/components/card-title/card-title.md.css +45 -1
  116. package/dist/collection/components/checkbox/checkbox.ios.css +66 -0
  117. package/dist/collection/components/checkbox/checkbox.md.css +66 -0
  118. package/dist/collection/components/chip/chip.ios.css +22 -0
  119. package/dist/collection/components/chip/chip.md.css +22 -0
  120. package/dist/collection/components/col/col.css +66 -0
  121. package/dist/collection/components/content/content.css +26 -0
  122. package/dist/collection/components/datetime/datetime.ios.css +48 -4
  123. package/dist/collection/components/datetime/datetime.js +15 -2
  124. package/dist/collection/components/datetime/datetime.md.css +47 -3
  125. package/dist/collection/components/datetime-button/datetime-button.css +22 -0
  126. package/dist/collection/components/fab/fab.css +88 -0
  127. package/dist/collection/components/fab-button/fab-button.ios.css +44 -0
  128. package/dist/collection/components/fab-button/fab-button.md.css +44 -0
  129. package/dist/collection/components/fab-list/fab-list.css +44 -0
  130. package/dist/collection/components/footer/footer.ios.css +44 -0
  131. package/dist/collection/components/footer/footer.md.css +44 -0
  132. package/dist/collection/components/grid/grid.css +66 -0
  133. package/dist/collection/components/header/header.ios.css +44 -0
  134. package/dist/collection/components/header/header.md.css +44 -0
  135. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +47 -3
  136. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +47 -3
  137. package/dist/collection/components/input/input.ios.css +69 -3
  138. package/dist/collection/components/input/input.md.css +143 -11
  139. package/dist/collection/components/item/item.ios.css +45 -1
  140. package/dist/collection/components/item/item.md.css +96 -8
  141. package/dist/collection/components/item-divider/item-divider.ios.css +68 -2
  142. package/dist/collection/components/item-divider/item-divider.md.css +68 -2
  143. package/dist/collection/components/item-group/item-group.ios.css +44 -0
  144. package/dist/collection/components/item-group/item-group.md.css +44 -0
  145. package/dist/collection/components/item-option/item-option.ios.css +44 -0
  146. package/dist/collection/components/item-option/item-option.md.css +44 -0
  147. package/dist/collection/components/item-options/item-options.ios.css +66 -0
  148. package/dist/collection/components/item-options/item-options.md.css +66 -0
  149. package/dist/collection/components/item-sliding/item-sliding.css +22 -0
  150. package/dist/collection/components/label/label.ios.css +66 -0
  151. package/dist/collection/components/label/label.md.css +67 -1
  152. package/dist/collection/components/list/list.ios.css +66 -0
  153. package/dist/collection/components/list/list.md.css +66 -0
  154. package/dist/collection/components/list-header/list-header.ios.css +67 -1
  155. package/dist/collection/components/list-header/list-header.md.css +66 -0
  156. package/dist/collection/components/loading/loading.ios.css +45 -1
  157. package/dist/collection/components/loading/loading.md.css +46 -2
  158. package/dist/collection/components/menu/menu.ios.css +44 -0
  159. package/dist/collection/components/menu/menu.md.css +44 -0
  160. package/dist/collection/components/menu-button/menu-button.ios.css +44 -0
  161. package/dist/collection/components/menu-button/menu-button.md.css +44 -0
  162. package/dist/collection/components/modal/modal.ios.css +44 -0
  163. package/dist/collection/components/modal/modal.md.css +44 -0
  164. package/dist/collection/components/nav/nav.css +22 -0
  165. package/dist/collection/components/note/note.ios.css +45 -1
  166. package/dist/collection/components/note/note.md.css +45 -1
  167. package/dist/collection/components/picker/picker.ios.css +44 -0
  168. package/dist/collection/components/picker/picker.md.css +44 -0
  169. package/dist/collection/components/picker-column/picker-column.ios.css +44 -0
  170. package/dist/collection/components/picker-column/picker-column.md.css +44 -0
  171. package/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +22 -0
  172. package/dist/collection/components/picker-column-internal/picker-column-internal.md.css +44 -0
  173. package/dist/collection/components/picker-internal/picker-internal.ios.css +44 -0
  174. package/dist/collection/components/picker-internal/picker-internal.md.css +44 -0
  175. package/dist/collection/components/popover/popover.ios.css +45 -1
  176. package/dist/collection/components/popover/popover.md.css +44 -0
  177. package/dist/collection/components/progress-bar/progress-bar.ios.css +22 -0
  178. package/dist/collection/components/progress-bar/progress-bar.md.css +22 -0
  179. package/dist/collection/components/radio/radio.ios.css +66 -0
  180. package/dist/collection/components/radio/radio.md.css +66 -0
  181. package/dist/collection/components/range/range.ios.css +44 -0
  182. package/dist/collection/components/range/range.md.css +46 -2
  183. package/dist/collection/components/refresher/refresher.ios.css +44 -0
  184. package/dist/collection/components/refresher/refresher.md.css +44 -0
  185. package/dist/collection/components/reorder/reorder.ios.css +22 -0
  186. package/dist/collection/components/reorder/reorder.md.css +22 -0
  187. package/dist/collection/components/reorder-group/reorder-group.css +22 -0
  188. package/dist/collection/components/ripple-effect/ripple-effect.css +22 -0
  189. package/dist/collection/components/router-link/router-link.css +22 -0
  190. package/dist/collection/components/router-outlet/router-outlet.css +22 -0
  191. package/dist/collection/components/row/row.css +66 -0
  192. package/dist/collection/components/searchbar/searchbar.ios.css +46 -2
  193. package/dist/collection/components/searchbar/searchbar.md.css +47 -3
  194. package/dist/collection/components/segment/segment.ios.css +66 -0
  195. package/dist/collection/components/segment/segment.md.css +66 -0
  196. package/dist/collection/components/segment-button/segment-button.ios.css +44 -0
  197. package/dist/collection/components/segment-button/segment-button.md.css +44 -0
  198. package/dist/collection/components/select/select.ios.css +67 -1
  199. package/dist/collection/components/select/select.md.css +119 -9
  200. package/dist/collection/components/select-popover/select-popover.ios.css +66 -0
  201. package/dist/collection/components/select-popover/select-popover.md.css +66 -0
  202. package/dist/collection/components/skeleton-text/skeleton-text.css +22 -0
  203. package/dist/collection/components/spinner/spinner.css +22 -0
  204. package/dist/collection/components/split-pane/split-pane.ios.css +66 -0
  205. package/dist/collection/components/split-pane/split-pane.md.css +66 -0
  206. package/dist/collection/components/tab-bar/tab-bar.ios.css +67 -1
  207. package/dist/collection/components/tab-bar/tab-bar.md.css +67 -1
  208. package/dist/collection/components/tab-button/tab-button.ios.css +44 -0
  209. package/dist/collection/components/tab-button/tab-button.md.css +44 -0
  210. package/dist/collection/components/tabs/tabs.css +22 -0
  211. package/dist/collection/components/text/text.css +22 -0
  212. package/dist/collection/components/textarea/textarea.ios.css +90 -2
  213. package/dist/collection/components/textarea/textarea.md.css +142 -10
  214. package/dist/collection/components/thumbnail/thumbnail.css +22 -0
  215. package/dist/collection/components/title/title.ios.css +22 -0
  216. package/dist/collection/components/title/title.md.css +22 -0
  217. package/dist/collection/components/toast/toast.ios.css +46 -2
  218. package/dist/collection/components/toast/toast.md.css +47 -3
  219. package/dist/collection/components/toggle/toggle.ios.css +66 -0
  220. package/dist/collection/components/toggle/toggle.md.css +66 -0
  221. package/dist/collection/components/toolbar/toolbar.ios.css +44 -0
  222. package/dist/collection/components/toolbar/toolbar.md.css +44 -0
  223. package/dist/collection/utils/gesture/gesture-controller.js +1 -1
  224. package/dist/collection/utils/overlays.js +1 -5
  225. package/dist/docs.json +1 -1
  226. package/dist/esm/{button-active-5b0516e7.js → button-active-ce5cba4c.js} +1 -1
  227. package/dist/esm/{gesture-controller-3723db7c.js → gesture-controller-0fa396c4.js} +1 -1
  228. package/dist/esm/{index-32cbee52.js → index-ff313b19.js} +2 -2
  229. package/dist/esm/index.js +3 -3
  230. package/dist/esm/ion-action-sheet.entry.js +6 -6
  231. package/dist/esm/ion-alert.entry.js +6 -6
  232. package/dist/esm/ion-app_8.entry.js +2 -2
  233. package/dist/esm/ion-backdrop.entry.js +12 -0
  234. package/dist/esm/ion-card_5.entry.js +5 -5
  235. package/dist/esm/ion-datetime_3.entry.js +19 -7
  236. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  237. package/dist/esm/ion-input.entry.js +2 -2
  238. package/dist/esm/ion-item-option_3.entry.js +1 -1
  239. package/dist/esm/ion-item_8.entry.js +8 -8
  240. package/dist/esm/ion-loading.entry.js +3 -4
  241. package/dist/esm/ion-menu_3.entry.js +3 -3
  242. package/dist/esm/ion-modal.entry.js +3 -3
  243. package/dist/esm/ion-nav_2.entry.js +1 -1
  244. package/dist/esm/ion-popover.entry.js +2 -3
  245. package/dist/esm/ion-range.entry.js +2 -2
  246. package/dist/esm/ion-refresher_2.entry.js +3 -3
  247. package/dist/esm/ion-reorder_2.entry.js +1 -1
  248. package/dist/esm/ion-searchbar.entry.js +2 -2
  249. package/dist/esm/ion-segment_2.entry.js +1 -1
  250. package/dist/esm/ion-select_3.entry.js +3 -4
  251. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  252. package/dist/esm/ion-textarea.entry.js +2 -2
  253. package/dist/esm/ion-toast.entry.js +3 -4
  254. package/dist/esm/ion-toggle.entry.js +1 -1
  255. package/dist/esm/{overlays-ff6032c5.js → overlays-6c9feb7e.js} +1 -5
  256. package/dist/esm/{swipe-back-cc4c2bcb.js → swipe-back-0f3bfc8e.js} +2 -2
  257. package/dist/esm-es5/{button-active-5b0516e7.js → button-active-ce5cba4c.js} +1 -1
  258. package/dist/esm-es5/{gesture-controller-3723db7c.js → gesture-controller-0fa396c4.js} +1 -1
  259. package/dist/esm-es5/{index-32cbee52.js → index-ff313b19.js} +1 -1
  260. package/dist/esm-es5/index.js +1 -1
  261. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  262. package/dist/esm-es5/ion-alert.entry.js +1 -1
  263. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  264. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  265. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  266. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  267. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  268. package/dist/esm-es5/ion-input.entry.js +1 -1
  269. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  270. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  271. package/dist/esm-es5/ion-loading.entry.js +1 -1
  272. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  273. package/dist/esm-es5/ion-modal.entry.js +1 -1
  274. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  275. package/dist/esm-es5/ion-popover.entry.js +1 -1
  276. package/dist/esm-es5/ion-range.entry.js +1 -1
  277. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  278. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  279. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  280. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  281. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  282. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  283. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  284. package/dist/esm-es5/ion-toast.entry.js +1 -1
  285. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  286. package/dist/esm-es5/overlays-6c9feb7e.js +4 -0
  287. package/dist/esm-es5/swipe-back-0f3bfc8e.js +4 -0
  288. package/dist/ionic/index.esm.js +1 -1
  289. package/dist/ionic/ionic.esm.js +1 -1
  290. package/dist/ionic/{p-5e8196d7.system.js → p-09d142b3.system.js} +1 -1
  291. package/dist/ionic/p-0d8e9393.entry.js +4 -0
  292. package/dist/ionic/{p-477a182e.entry.js → p-0dc0d9b5.entry.js} +1 -1
  293. package/dist/ionic/p-0e23256e.system.entry.js +4 -0
  294. package/dist/ionic/p-14aca3fb.entry.js +4 -0
  295. package/dist/ionic/p-18e01b30.system.entry.js +4 -0
  296. package/dist/ionic/p-1cb5f2f8.system.entry.js +4 -0
  297. package/dist/ionic/p-1e5165db.system.entry.js +4 -0
  298. package/dist/ionic/{p-22813b28.system.entry.js → p-34d2de14.system.entry.js} +1 -1
  299. package/dist/ionic/{p-c0c39ac0.system.entry.js → p-377c636c.system.entry.js} +1 -1
  300. package/dist/ionic/{p-878c7aa5.system.entry.js → p-39044fe6.system.entry.js} +1 -1
  301. package/dist/ionic/{p-ee800093.entry.js → p-3ce8c3e3.entry.js} +1 -1
  302. package/dist/ionic/{p-56224549.entry.js → p-3de79805.entry.js} +1 -1
  303. package/dist/ionic/p-40903d34.system.js +1 -1
  304. package/dist/ionic/p-4cd588b3.system.entry.js +4 -0
  305. package/dist/ionic/{p-1c768684.entry.js → p-4fa201a7.entry.js} +1 -1
  306. package/dist/ionic/p-64296b15.entry.js +4 -0
  307. package/dist/ionic/p-64ed03a3.entry.js +4 -0
  308. package/dist/ionic/{p-87b9271f.system.entry.js → p-67ed452a.system.entry.js} +1 -1
  309. package/dist/ionic/{p-aa4d7f18.system.entry.js → p-6d812360.system.entry.js} +1 -1
  310. package/dist/ionic/{p-a4cda7a8.system.entry.js → p-6e23777e.system.entry.js} +1 -1
  311. package/dist/ionic/p-6f4fbf04.entry.js +4 -0
  312. package/dist/ionic/{p-02b0db62.entry.js → p-7176cea3.entry.js} +1 -1
  313. package/dist/ionic/{p-b99c615f.entry.js → p-73411c1b.entry.js} +1 -1
  314. package/dist/ionic/p-77e7a9c8.entry.js +4 -0
  315. package/dist/ionic/p-800ef057.js +4 -0
  316. package/dist/ionic/{p-a7e2ac5c.js → p-8b1be026.js} +1 -1
  317. package/dist/ionic/p-8dbdb163.system.js +4 -0
  318. package/dist/ionic/p-8e1bded3.entry.js +4 -0
  319. package/dist/ionic/{p-5ce11143.entry.js → p-965677f1.entry.js} +1 -1
  320. package/dist/ionic/p-97e31c0a.system.js +4 -0
  321. package/dist/ionic/{p-6500b298.system.js → p-9e852ff1.system.js} +1 -1
  322. package/dist/ionic/p-a21b8d05.entry.js +4 -0
  323. package/dist/ionic/p-a5c1e6ce.entry.js +4 -0
  324. package/dist/ionic/{p-c7fd81ba.system.js → p-a936d224.system.js} +1 -1
  325. package/dist/ionic/p-a9c3699b.system.entry.js +4 -0
  326. package/dist/ionic/{p-a3939ffe.entry.js → p-af016cd3.entry.js} +1 -1
  327. package/dist/ionic/p-b203659a.system.entry.js +4 -0
  328. package/dist/ionic/{p-835e0346.entry.js → p-b2a74a72.entry.js} +1 -1
  329. package/dist/ionic/p-b6f8ee31.entry.js +4 -0
  330. package/dist/ionic/p-b76c6241.system.entry.js +4 -0
  331. package/dist/ionic/p-b781d6b2.entry.js +4 -0
  332. package/dist/ionic/p-b91fe549.entry.js +4 -0
  333. package/dist/ionic/{p-b3e79338.system.entry.js → p-bed722c4.system.entry.js} +1 -1
  334. package/dist/ionic/p-c7b8c2ef.system.entry.js +4 -0
  335. package/dist/ionic/p-c919498d.entry.js +4 -0
  336. package/dist/ionic/p-cf425ec5.system.entry.js +4 -0
  337. package/dist/ionic/p-d21bfe66.system.entry.js +4 -0
  338. package/dist/ionic/p-d3952bd5.system.entry.js +4 -0
  339. package/dist/ionic/{p-c31fc05f.system.entry.js → p-db5043df.system.entry.js} +1 -1
  340. package/dist/ionic/p-ddfc4ef4.system.entry.js +4 -0
  341. package/dist/ionic/{p-100ef961.js → p-e0b06b65.js} +1 -1
  342. package/dist/ionic/{p-302091ab.js → p-e627ed84.js} +1 -1
  343. package/dist/ionic/p-e6b240a0.js +4 -0
  344. package/dist/ionic/p-e76a4bc8.entry.js +4 -0
  345. package/dist/ionic/{p-bfca5751.system.entry.js → p-e8400078.system.entry.js} +1 -1
  346. package/dist/ionic/p-eae972be.system.entry.js +4 -0
  347. package/dist/ionic/{p-939d903b.entry.js → p-f37b4b79.entry.js} +1 -1
  348. package/dist/ionic/{p-06e6d235.system.entry.js → p-f3c82f74.system.entry.js} +2 -2
  349. package/dist/ionic/p-f54ddd19.entry.js +4 -0
  350. package/dist/ionic/p-f5a750e4.system.entry.js +4 -0
  351. package/dist/ionic/{p-2e1794df.system.js → p-fa8d4788.system.js} +1 -1
  352. package/dist/types/components/backdrop/backdrop.d.ts +3 -0
  353. package/dist/types/components/menu/menu.d.ts +1 -1
  354. package/dist/types/utils/gesture/gesture-controller.d.ts +0 -1
  355. package/hydrate/index.js +65 -44
  356. package/package.json +1 -1
  357. package/dist/esm-es5/overlays-ff6032c5.js +0 -4
  358. package/dist/esm-es5/swipe-back-cc4c2bcb.js +0 -4
  359. package/dist/ionic/p-0c244faf.entry.js +0 -4
  360. package/dist/ionic/p-194d7f26.entry.js +0 -4
  361. package/dist/ionic/p-1bc82e9c.system.entry.js +0 -4
  362. package/dist/ionic/p-20a6f743.entry.js +0 -4
  363. package/dist/ionic/p-2ad38423.system.entry.js +0 -4
  364. package/dist/ionic/p-3101eb90.system.entry.js +0 -4
  365. package/dist/ionic/p-334b9abc.entry.js +0 -4
  366. package/dist/ionic/p-39d2dfb7.system.js +0 -4
  367. package/dist/ionic/p-3edab395.entry.js +0 -4
  368. package/dist/ionic/p-574256bf.system.entry.js +0 -4
  369. package/dist/ionic/p-6408dd16.system.entry.js +0 -4
  370. package/dist/ionic/p-64724bc3.entry.js +0 -4
  371. package/dist/ionic/p-65072346.system.entry.js +0 -4
  372. package/dist/ionic/p-6b38cf09.entry.js +0 -4
  373. package/dist/ionic/p-7ae44a76.system.entry.js +0 -4
  374. package/dist/ionic/p-7ff6744b.entry.js +0 -4
  375. package/dist/ionic/p-8960dcbc.system.entry.js +0 -4
  376. package/dist/ionic/p-8dd80686.system.entry.js +0 -4
  377. package/dist/ionic/p-8e6d58ad.entry.js +0 -4
  378. package/dist/ionic/p-91e3b818.system.entry.js +0 -4
  379. package/dist/ionic/p-992d3bad.entry.js +0 -4
  380. package/dist/ionic/p-9c967a65.system.entry.js +0 -4
  381. package/dist/ionic/p-a0c31088.system.entry.js +0 -4
  382. package/dist/ionic/p-a110f658.system.entry.js +0 -4
  383. package/dist/ionic/p-b13026e9.entry.js +0 -4
  384. package/dist/ionic/p-bde283b8.js +0 -4
  385. package/dist/ionic/p-c08b222d.system.entry.js +0 -4
  386. package/dist/ionic/p-c953779e.system.entry.js +0 -4
  387. package/dist/ionic/p-cd38ff4c.entry.js +0 -4
  388. package/dist/ionic/p-d860ef84.entry.js +0 -4
  389. package/dist/ionic/p-dc565ca3.js +0 -4
  390. package/dist/ionic/p-e88ed07f.system.js +0 -4
  391. package/dist/ionic/p-eb4dd1b0.entry.js +0 -4
  392. package/dist/ionic/p-f3b9514c.entry.js +0 -4
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --background: Background of the action sheet group
@@ -251,6 +273,28 @@
251
273
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
252
274
  * convert to a unit other than $baselineUnit.
253
275
  */
276
+ /**
277
+ * A heuristic that applies CSS to tablet
278
+ * viewports.
279
+ *
280
+ * Usage:
281
+ * @include tablet-viewport() {
282
+ * :host {
283
+ * background-color: green;
284
+ * }
285
+ * }
286
+ */
287
+ /**
288
+ * A heuristic that applies CSS to mobile
289
+ * viewports (i.e. phones, not tablets).
290
+ *
291
+ * Usage:
292
+ * @include mobile-viewport() {
293
+ * :host {
294
+ * background-color: blue;
295
+ * }
296
+ * }
297
+ */
254
298
  :host {
255
299
  --background: var(--ion-overlay-background-color, var(--ion-background-color, #fff));
256
300
  --backdrop-opacity: var(--ion-backdrop-opacity, 0.32);
@@ -263,7 +307,7 @@
263
307
  --button-background-hover-opacity: .04;
264
308
  --button-background-focused: currentColor;
265
309
  --button-background-focused-opacity: .12;
266
- --button-color: var(--ion-text-color-step-150, #262626);
310
+ --button-color: var(--ion-color-step-850, #262626);
267
311
  --color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);
268
312
  }
269
313
 
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --background: Background of the alert
@@ -115,7 +137,15 @@
115
137
  font-weight: normal;
116
138
  }
117
139
 
118
- .alert-message {
140
+ /**
141
+ * Alert has a maximum height in scenarios
142
+ * such as the MD alert on tablet devices.
143
+ * As a result, we need to make sure the inner
144
+ * containers can scroll otherwise content
145
+ * may be cut off.
146
+ */
147
+ .alert-message,
148
+ .alert-input-group {
119
149
  box-sizing: border-box;
120
150
  -webkit-overflow-scrolling: touch;
121
151
  overflow-y: auto;
@@ -198,7 +228,7 @@
198
228
 
199
229
  .alert-button.ion-focused,
200
230
  .alert-tappable.ion-focused {
201
- background: var(--ion-background-color-step-100, #e6e6e6);
231
+ background: var(--ion-color-step-100, #e6e6e6);
202
232
  }
203
233
 
204
234
  .alert-button-inner {
@@ -291,6 +321,28 @@ textarea.alert-input {
291
321
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
292
322
  * convert to a unit other than $baselineUnit.
293
323
  */
324
+ /**
325
+ * A heuristic that applies CSS to tablet
326
+ * viewports.
327
+ *
328
+ * Usage:
329
+ * @include tablet-viewport() {
330
+ * :host {
331
+ * background-color: green;
332
+ * }
333
+ * }
334
+ */
335
+ /**
336
+ * A heuristic that applies CSS to mobile
337
+ * viewports (i.e. phones, not tablets).
338
+ *
339
+ * Usage:
340
+ * @include mobile-viewport() {
341
+ * :host {
342
+ * background-color: blue;
343
+ * }
344
+ * }
345
+ */
294
346
  /**
295
347
  * Convert a font size to a dynamic font size.
296
348
  * Fonts that participate in Dynamic Type should use
@@ -324,6 +376,28 @@ textarea.alert-input {
324
376
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
325
377
  * convert to a unit other than $baselineUnit.
326
378
  */
379
+ /**
380
+ * A heuristic that applies CSS to tablet
381
+ * viewports.
382
+ *
383
+ * Usage:
384
+ * @include tablet-viewport() {
385
+ * :host {
386
+ * background-color: green;
387
+ * }
388
+ * }
389
+ */
390
+ /**
391
+ * A heuristic that applies CSS to mobile
392
+ * viewports (i.e. phones, not tablets).
393
+ *
394
+ * Usage:
395
+ * @include mobile-viewport() {
396
+ * :host {
397
+ * background-color: blue;
398
+ * }
399
+ * }
400
+ */
327
401
  /**
328
402
  * We want the height of the button to
329
403
  * scale with the text so the next never runs
@@ -374,7 +448,7 @@ textarea.alert-input {
374
448
  }
375
449
 
376
450
  .alert-sub-title {
377
- color: var(--ion-text-color-step-400, #666666);
451
+ color: var(--ion-color-step-600, #666666);
378
452
  font-size: max(14px, 0.875rem);
379
453
  }
380
454
 
@@ -411,12 +485,12 @@ textarea.alert-input {
411
485
  padding-inline-end: 6px;
412
486
  padding-top: 6px;
413
487
  padding-bottom: 6px;
414
- border: 0.55px solid var(--ion-background-color-step-250, #bfbfbf);
488
+ border: 0.55px solid var(--ion-color-step-250, #bfbfbf);
415
489
  background-color: var(--ion-background-color, #fff);
416
490
  appearance: none;
417
491
  }
418
492
  .alert-input::placeholder {
419
- color: var(--ion-placeholder-color, var(--ion-text-color-step-600, #999999));
493
+ color: var(--ion-placeholder-color, var(--ion-color-step-400, #999999));
420
494
  font-family: inherit;
421
495
  font-weight: inherit;
422
496
  }
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --background: Background of the alert
@@ -115,7 +137,15 @@
115
137
  font-weight: normal;
116
138
  }
117
139
 
118
- .alert-message {
140
+ /**
141
+ * Alert has a maximum height in scenarios
142
+ * such as the MD alert on tablet devices.
143
+ * As a result, we need to make sure the inner
144
+ * containers can scroll otherwise content
145
+ * may be cut off.
146
+ */
147
+ .alert-message,
148
+ .alert-input-group {
119
149
  box-sizing: border-box;
120
150
  -webkit-overflow-scrolling: touch;
121
151
  overflow-y: auto;
@@ -198,7 +228,7 @@
198
228
 
199
229
  .alert-button.ion-focused,
200
230
  .alert-tappable.ion-focused {
201
- background: var(--ion-background-color-step-100, #e6e6e6);
231
+ background: var(--ion-color-step-100, #e6e6e6);
202
232
  }
203
233
 
204
234
  .alert-button-inner {
@@ -291,6 +321,28 @@ textarea.alert-input {
291
321
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
292
322
  * convert to a unit other than $baselineUnit.
293
323
  */
324
+ /**
325
+ * A heuristic that applies CSS to tablet
326
+ * viewports.
327
+ *
328
+ * Usage:
329
+ * @include tablet-viewport() {
330
+ * :host {
331
+ * background-color: green;
332
+ * }
333
+ * }
334
+ */
335
+ /**
336
+ * A heuristic that applies CSS to mobile
337
+ * viewports (i.e. phones, not tablets).
338
+ *
339
+ * Usage:
340
+ * @include mobile-viewport() {
341
+ * :host {
342
+ * background-color: blue;
343
+ * }
344
+ * }
345
+ */
294
346
  /**
295
347
  * Convert a font size to a dynamic font size.
296
348
  * Fonts that participate in Dynamic Type should use
@@ -324,6 +376,36 @@ textarea.alert-input {
324
376
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
325
377
  * convert to a unit other than $baselineUnit.
326
378
  */
379
+ /**
380
+ * A heuristic that applies CSS to tablet
381
+ * viewports.
382
+ *
383
+ * Usage:
384
+ * @include tablet-viewport() {
385
+ * :host {
386
+ * background-color: green;
387
+ * }
388
+ * }
389
+ */
390
+ /**
391
+ * A heuristic that applies CSS to mobile
392
+ * viewports (i.e. phones, not tablets).
393
+ *
394
+ * Usage:
395
+ * @include mobile-viewport() {
396
+ * :host {
397
+ * background-color: blue;
398
+ * }
399
+ * }
400
+ */
401
+ /**
402
+ * Large display requirements for MD Alert:
403
+ * 1. Maintain a minimum of 48px distance from the leading and
404
+ * trailing edges of the screen. (48px * 2 = 96px)
405
+ * 2. The width can increase up to 560px.
406
+ * 3. The height can increase up to 560px.
407
+ * Source: https://m2.material.io/components/dialogs#behavior
408
+ */
327
409
  :host {
328
410
  --background: var(--ion-overlay-background-color, var(--ion-background-color, #fff));
329
411
  --max-width: 280px;
@@ -365,14 +447,23 @@ textarea.alert-input {
365
447
  padding-inline-end: 24px;
366
448
  padding-top: 20px;
367
449
  padding-bottom: 20px;
368
- color: var(--ion-text-color-step-450, #737373);
450
+ color: var(--ion-color-step-550, #737373);
369
451
  }
370
452
 
371
453
  .alert-message {
372
- max-height: 266px;
373
454
  font-size: 1rem;
374
455
  }
375
456
 
457
+ /**
458
+ * MD Alerts on tablets can expand vertically up to
459
+ * a total maximum height. We only want to set a max-height
460
+ * on mobile phones.
461
+ */
462
+ @media screen and (max-width: 767px) {
463
+ .alert-message {
464
+ max-height: 266px;
465
+ }
466
+ }
376
467
  .alert-message:empty {
377
468
  padding-left: 0;
378
469
  padding-right: 0;
@@ -389,11 +480,11 @@ textarea.alert-input {
389
480
  margin-right: 0;
390
481
  margin-top: 5px;
391
482
  margin-bottom: 5px;
392
- border-bottom: 1px solid var(--ion-background-color-step-150, #d9d9d9);
483
+ border-bottom: 1px solid var(--ion-color-step-150, #d9d9d9);
393
484
  color: var(--ion-text-color, #000);
394
485
  }
395
486
  .alert-input::placeholder {
396
- color: var(--ion-placeholder-color, var(--ion-text-color-step-600, #999999));
487
+ color: var(--ion-placeholder-color, var(--ion-color-step-400, #999999));
397
488
  font-family: inherit;
398
489
  font-weight: inherit;
399
490
  }
@@ -409,12 +500,22 @@ textarea.alert-input {
409
500
  .alert-radio-group,
410
501
  .alert-checkbox-group {
411
502
  position: relative;
412
- max-height: 266px;
413
- border-top: 1px solid var(--ion-background-color-step-150, #d9d9d9);
414
- border-bottom: 1px solid var(--ion-background-color-step-150, #d9d9d9);
503
+ border-top: 1px solid var(--ion-color-step-150, #d9d9d9);
504
+ border-bottom: 1px solid var(--ion-color-step-150, #d9d9d9);
415
505
  overflow: auto;
416
506
  }
417
507
 
508
+ /**
509
+ * MD Alerts on tablets can expand vertically up to
510
+ * a total maximum height. We only want to set a max-height
511
+ * on mobile phones.
512
+ */
513
+ @media screen and (max-width: 767px) {
514
+ .alert-radio-group,
515
+ .alert-checkbox-group {
516
+ max-height: 266px;
517
+ }
518
+ }
418
519
  .alert-tappable {
419
520
  position: relative;
420
521
  min-height: 48px;
@@ -428,7 +529,7 @@ textarea.alert-input {
428
529
  padding-top: 13px;
429
530
  padding-bottom: 13px;
430
531
  flex: 1;
431
- color: var(--ion-text-color-step-150, #262626);
532
+ color: var(--ion-color-step-850, #262626);
432
533
  font-size: 1rem;
433
534
  }
434
535
 
@@ -441,7 +542,7 @@ textarea.alert-input {
441
542
  height: 20px;
442
543
  border-width: 2px;
443
544
  border-style: solid;
444
- border-color: var(--ion-text-color-step-450, #737373);
545
+ border-color: var(--ion-color-step-550, #737373);
445
546
  }
446
547
  @supports (inset-inline-start: 0) {
447
548
  .alert-radio-icon {
@@ -510,7 +611,7 @@ textarea.alert-input {
510
611
  }
511
612
 
512
613
  [aria-checked=true] .alert-radio-label {
513
- color: var(--ion-text-color-step-150, #262626);
614
+ color: var(--ion-color-step-850, #262626);
514
615
  }
515
616
 
516
617
  [aria-checked=true] .alert-radio-icon {
@@ -530,7 +631,7 @@ textarea.alert-input {
530
631
  padding-bottom: 13px;
531
632
  flex: 1;
532
633
  width: calc(100% - 53px);
533
- color: var(--ion-text-color-step-150, #262626);
634
+ color: var(--ion-color-step-850, #262626);
534
635
  font-size: 1rem;
535
636
  }
536
637
 
@@ -542,7 +643,7 @@ textarea.alert-input {
542
643
  height: 16px;
543
644
  border-width: 2px;
544
645
  border-style: solid;
545
- border-color: var(--ion-text-color-step-450, #737373);
646
+ border-color: var(--ion-color-step-550, #737373);
546
647
  contain: strict;
547
648
  }
548
649
  @supports (inset-inline-start: 0) {
@@ -655,4 +756,15 @@ textarea.alert-input {
655
756
 
656
757
  .alert-button-inner {
657
758
  justify-content: flex-end;
759
+ }
760
+
761
+ /**
762
+ * MD alerts should scale up to 560px x 560px
763
+ * on tablet dimensions.
764
+ */
765
+ @media screen and (min-width: 768px) {
766
+ :host {
767
+ --max-width: min(100vw - 96px, 560px);
768
+ --max-height: min(100vh - 96px, 560px);
769
+ }
658
770
  }
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { expect } from "@playwright/test";
5
+ import { configs, test, Viewports } from "../../../../utils/test/playwright/index";
6
+ /**
7
+ * This behavior does not vary across directions.
8
+ */
9
+ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
10
+ test.describe(title('alert: rendering - tablet'), () => {
11
+ test.beforeEach(async ({ page }) => {
12
+ await page.setViewportSize(Viewports.tablet.portrait);
13
+ await page.goto('/src/components/alert/test/basic', config);
14
+ });
15
+ test('should expand width and height on larger displays with text', async ({ page }) => {
16
+ const ionAlertDidPresent = await page.spyOnEvent('ionAlertDidPresent');
17
+ const button = page.locator('#longMessage');
18
+ const alert = page.locator('ion-alert');
19
+ await button.click();
20
+ await ionAlertDidPresent.next();
21
+ await expect(alert).toHaveScreenshot(screenshot('alert-tablet-text'));
22
+ });
23
+ test('should expand width and height on larger displays with checkboxes', async ({ page }) => {
24
+ const ionAlertDidPresent = await page.spyOnEvent('ionAlertDidPresent');
25
+ const button = page.locator('#checkbox');
26
+ const alert = page.locator('ion-alert');
27
+ await button.click();
28
+ await ionAlertDidPresent.next();
29
+ await expect(alert).toHaveScreenshot(screenshot('alert-tablet-checkboxes'));
30
+ });
31
+ test('should expand width and height on larger displays with radios', async ({ page }) => {
32
+ const ionAlertDidPresent = await page.spyOnEvent('ionAlertDidPresent');
33
+ const button = page.locator('#radio');
34
+ const alert = page.locator('ion-alert');
35
+ await button.click();
36
+ await ionAlertDidPresent.next();
37
+ await expect(alert).toHaveScreenshot(screenshot('alert-tablet-radios'));
38
+ });
39
+ });
40
+ });
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --border-radius: Border radius of the avatar and inner image
@@ -81,6 +103,28 @@
81
103
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
82
104
  * convert to a unit other than $baselineUnit.
83
105
  */
106
+ /**
107
+ * A heuristic that applies CSS to tablet
108
+ * viewports.
109
+ *
110
+ * Usage:
111
+ * @include tablet-viewport() {
112
+ * :host {
113
+ * background-color: green;
114
+ * }
115
+ * }
116
+ */
117
+ /**
118
+ * A heuristic that applies CSS to mobile
119
+ * viewports (i.e. phones, not tablets).
120
+ *
121
+ * Usage:
122
+ * @include mobile-viewport() {
123
+ * :host {
124
+ * background-color: blue;
125
+ * }
126
+ * }
127
+ */
84
128
  :host {
85
129
  --border-radius: 50%;
86
130
  width: 48px;
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --border-radius: Border radius of the avatar and inner image
@@ -81,6 +103,28 @@
81
103
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
82
104
  * convert to a unit other than $baselineUnit.
83
105
  */
106
+ /**
107
+ * A heuristic that applies CSS to tablet
108
+ * viewports.
109
+ *
110
+ * Usage:
111
+ * @include tablet-viewport() {
112
+ * :host {
113
+ * background-color: green;
114
+ * }
115
+ * }
116
+ */
117
+ /**
118
+ * A heuristic that applies CSS to mobile
119
+ * viewports (i.e. phones, not tablets).
120
+ *
121
+ * Usage:
122
+ * @include mobile-viewport() {
123
+ * :host {
124
+ * background-color: blue;
125
+ * }
126
+ * }
127
+ */
84
128
  :host {
85
129
  --border-radius: 50%;
86
130
  width: 64px;
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --background: Background of the button
@@ -281,6 +303,28 @@ ion-icon {
281
303
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
282
304
  * convert to a unit other than $baselineUnit.
283
305
  */
306
+ /**
307
+ * A heuristic that applies CSS to tablet
308
+ * viewports.
309
+ *
310
+ * Usage:
311
+ * @include tablet-viewport() {
312
+ * :host {
313
+ * background-color: green;
314
+ * }
315
+ * }
316
+ */
317
+ /**
318
+ * A heuristic that applies CSS to mobile
319
+ * viewports (i.e. phones, not tablets).
320
+ *
321
+ * Usage:
322
+ * @include mobile-viewport() {
323
+ * :host {
324
+ * background-color: blue;
325
+ * }
326
+ * }
327
+ */
284
328
  :host {
285
329
  --background-hover: transparent;
286
330
  --background-hover-opacity: 1;
@@ -31,6 +31,28 @@
31
31
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
32
  * convert to a unit other than $baselineUnit.
33
33
  */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
34
56
  :host {
35
57
  /**
36
58
  * @prop --background: Background of the button
@@ -281,6 +303,28 @@ ion-icon {
281
303
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
282
304
  * convert to a unit other than $baselineUnit.
283
305
  */
306
+ /**
307
+ * A heuristic that applies CSS to tablet
308
+ * viewports.
309
+ *
310
+ * Usage:
311
+ * @include tablet-viewport() {
312
+ * :host {
313
+ * background-color: green;
314
+ * }
315
+ * }
316
+ */
317
+ /**
318
+ * A heuristic that applies CSS to mobile
319
+ * viewports (i.e. phones, not tablets).
320
+ *
321
+ * Usage:
322
+ * @include mobile-viewport() {
323
+ * :host {
324
+ * background-color: blue;
325
+ * }
326
+ * }
327
+ */
284
328
  :host {
285
329
  --border-radius: 4px;
286
330
  --background-focused: currentColor;