@ionic/core 8.0.0-dev.11711408410.14d71406 → 8.0.0-dev.11711498366.18f063ac

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 (622) hide show
  1. package/components/button.js +21 -7
  2. package/components/index6.js +3 -1
  3. package/components/ion-input-password-toggle.d.ts +11 -0
  4. package/components/ion-input-password-toggle.js +131 -0
  5. package/components/ion-input.js +28 -8
  6. package/components/ion-item-divider.js +2 -2
  7. package/components/ion-item-group.js +1 -1
  8. package/components/ion-item-option.js +2 -2
  9. package/components/ion-item-options.js +1 -1
  10. package/components/ion-item-sliding.js +1 -1
  11. package/components/ion-loading.js +2 -2
  12. package/components/ion-menu-button.js +3 -3
  13. package/components/ion-menu-toggle.js +2 -2
  14. package/components/ion-menu.js +2 -2
  15. package/components/ion-modal.js +3 -3
  16. package/components/ion-nav-link.js +1 -1
  17. package/components/ion-nav.js +1 -1
  18. package/components/ion-note.js +2 -2
  19. package/components/ion-picker-legacy.js +2 -2
  20. package/components/ion-progress-bar.js +1 -1
  21. package/components/ion-range.js +3 -3
  22. package/components/ion-refresher-content.js +3 -3
  23. package/components/ion-refresher.js +1 -1
  24. package/components/ion-reorder-group.js +1 -1
  25. package/components/ion-reorder.js +3 -3
  26. package/components/ion-router-link.js +2 -2
  27. package/components/ion-router-outlet.js +1 -1
  28. package/components/ion-row.js +2 -2
  29. package/components/ion-searchbar.js +6 -6
  30. package/components/ion-segment-button.js +3 -3
  31. package/components/ion-segment.js +2 -2
  32. package/components/ion-select-option.js +1 -1
  33. package/components/ion-select.js +3 -3
  34. package/components/ion-skeleton-text.js +2 -2
  35. package/components/ion-split-pane.js +2 -2
  36. package/components/ion-tab-bar.js +2 -2
  37. package/components/ion-tab-button.js +2 -2
  38. package/components/ion-tab.js +2 -2
  39. package/components/ion-tabs.js +1 -1
  40. package/components/ion-text.js +2 -2
  41. package/components/ion-textarea.js +2 -2
  42. package/components/ion-thumbnail.js +2 -2
  43. package/components/ion-title.js +2 -2
  44. package/components/ion-toast.js +2 -2
  45. package/components/ion-toggle.js +4 -4
  46. package/components/ion-toolbar.js +2 -2
  47. package/components/ionic-global.js +2 -2
  48. package/components/label.js +2 -2
  49. package/components/list-header.js +2 -2
  50. package/components/list.js +1 -1
  51. package/components/picker-column-option.js +2 -2
  52. package/components/picker-column2.js +2 -2
  53. package/components/popover.js +2 -2
  54. package/components/radio-group.js +1 -1
  55. package/components/radio.js +3 -3
  56. package/components/ripple-effect.js +1 -1
  57. package/components/select-popover.js +2 -2
  58. package/components/spinner.js +1 -1
  59. package/css/core.css +18 -0
  60. package/css/core.css.map +1 -1
  61. package/css/display.css +6 -0
  62. package/css/display.css.map +1 -1
  63. package/css/float-elements.css +6 -0
  64. package/css/float-elements.css.map +1 -1
  65. package/css/global.bundle.css +12 -0
  66. package/css/global.bundle.css.map +1 -1
  67. package/css/ionic-swiper.css +6 -0
  68. package/css/ionic-swiper.css.map +1 -1
  69. package/css/ionic.bundle.css.map +1 -1
  70. package/css/padding.css +6 -0
  71. package/css/padding.css.map +1 -1
  72. package/css/structure.css +6 -0
  73. package/css/structure.css.map +1 -1
  74. package/css/text-alignment.css +6 -0
  75. package/css/text-alignment.css.map +1 -1
  76. package/css/text-transformation.css +6 -0
  77. package/css/text-transformation.css.map +1 -1
  78. package/css/typography.css +6 -0
  79. package/css/typography.css.map +1 -1
  80. package/css/utils.bundle.css +30 -0
  81. package/css/utils.bundle.css.map +1 -1
  82. package/dist/cjs/{app-globals-98e49326.js → app-globals-c355ec99.js} +1 -1
  83. package/dist/cjs/{data-f2ccf911.js → data-7c73c8b9.js} +1 -1
  84. package/dist/cjs/{hardware-back-button-f66bce00.js → hardware-back-button-e79bd12c.js} +1 -1
  85. package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
  86. package/dist/cjs/{index-91435ed0.js → index-193def18.js} +1 -1
  87. package/dist/cjs/{index-f5fcf972.js → index-f06d55a9.js} +2 -2
  88. package/dist/cjs/index.cjs.js +4 -4
  89. package/dist/cjs/{input-shims-837af288.js → input-shims-0c59e88a.js} +2 -2
  90. package/dist/cjs/{input.utils-01c2fa15.js → input.utils-ee49fd29.js} +1 -1
  91. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  92. package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
  93. package/dist/cjs/ion-alert.cjs.entry.js +3 -3
  94. package/dist/cjs/ion-app_8.cjs.entry.js +11 -11
  95. package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
  96. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  98. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  99. package/dist/cjs/ion-button_2.cjs.entry.js +21 -7
  100. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  101. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  102. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  103. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  104. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  105. package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
  106. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  107. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  108. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  109. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +92 -0
  110. package/dist/cjs/ion-input.cjs.entry.js +28 -9
  111. package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
  112. package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
  113. package/dist/cjs/ion-loading.cjs.entry.js +5 -5
  114. package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
  115. package/dist/cjs/ion-modal.cjs.entry.js +7 -7
  116. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  117. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  118. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  119. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  120. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  121. package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
  122. package/dist/cjs/ion-range.cjs.entry.js +5 -5
  123. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  124. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  125. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  126. package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
  127. package/dist/cjs/ion-searchbar.cjs.entry.js +7 -7
  128. package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
  129. package/dist/cjs/ion-select_3.cjs.entry.js +9 -9
  130. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  131. package/dist/cjs/ion-split-pane.cjs.entry.js +3 -3
  132. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -5
  133. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  134. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  135. package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
  136. package/dist/cjs/ion-toast.cjs.entry.js +5 -5
  137. package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
  138. package/dist/cjs/{ionic-global-94d8021d.js → ionic-global-ceb32795.js} +2 -2
  139. package/dist/cjs/ionic.cjs.js +3 -3
  140. package/dist/cjs/loader.cjs.js +3 -3
  141. package/dist/cjs/{overlays-de847251.js → overlays-f770745f.js} +2 -2
  142. package/dist/cjs/{status-tap-3ef7ca2b.js → status-tap-8d40351a.js} +2 -2
  143. package/dist/collection/collection-manifest.json +1 -0
  144. package/dist/collection/components/accordion/accordion.ios.css +12 -0
  145. package/dist/collection/components/accordion/accordion.md.css +6 -0
  146. package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
  147. package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
  148. package/dist/collection/components/action-sheet/action-sheet.ios.css +12 -0
  149. package/dist/collection/components/action-sheet/action-sheet.md.css +12 -0
  150. package/dist/collection/components/alert/alert.ios.css +18 -0
  151. package/dist/collection/components/alert/alert.md.css +18 -0
  152. package/dist/collection/components/avatar/avatar.ios.css +12 -0
  153. package/dist/collection/components/avatar/avatar.md.css +12 -0
  154. package/dist/collection/components/back-button/back-button.ios.css +12 -0
  155. package/dist/collection/components/back-button/back-button.md.css +12 -0
  156. package/dist/collection/components/backdrop/backdrop.ios.css +12 -0
  157. package/dist/collection/components/backdrop/backdrop.md.css +12 -0
  158. package/dist/collection/components/badge/badge.ios.css +12 -0
  159. package/dist/collection/components/badge/badge.md.css +12 -0
  160. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +12 -0
  161. package/dist/collection/components/breadcrumb/breadcrumb.md.css +12 -0
  162. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
  163. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
  164. package/dist/collection/components/button/button.ionic.css +565 -0
  165. package/dist/collection/components/button/button.ios.css +18 -0
  166. package/dist/collection/components/button/button.js +24 -10
  167. package/dist/collection/components/button/button.md.css +12 -0
  168. package/dist/collection/components/button/test/clear/button.e2e.js +6 -3
  169. package/dist/collection/components/button/test/shape/button.e2e.js +88 -0
  170. package/dist/collection/components/button/test/size/button.e2e.js +19 -1
  171. package/dist/collection/components/buttons/buttons.ios.css +18 -0
  172. package/dist/collection/components/buttons/buttons.md.css +18 -0
  173. package/dist/collection/components/card/card.ios.css +12 -0
  174. package/dist/collection/components/card/card.md.css +12 -0
  175. package/dist/collection/components/card-content/card-content.ios.css +12 -0
  176. package/dist/collection/components/card-content/card-content.md.css +12 -0
  177. package/dist/collection/components/card-header/card-header.ios.css +12 -0
  178. package/dist/collection/components/card-header/card-header.md.css +12 -0
  179. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
  180. package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
  181. package/dist/collection/components/card-title/card-title.ios.css +12 -0
  182. package/dist/collection/components/card-title/card-title.md.css +12 -0
  183. package/dist/collection/components/checkbox/checkbox.ios.css +18 -0
  184. package/dist/collection/components/checkbox/checkbox.md.css +18 -0
  185. package/dist/collection/components/chip/chip.ios.css +6 -0
  186. package/dist/collection/components/chip/chip.md.css +6 -0
  187. package/dist/collection/components/col/col.css +12 -0
  188. package/dist/collection/components/content/content.css +6 -0
  189. package/dist/collection/components/datetime/datetime.ios.css +12 -0
  190. package/dist/collection/components/datetime/datetime.md.css +12 -0
  191. package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
  192. package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
  193. package/dist/collection/components/fab/fab.css +24 -0
  194. package/dist/collection/components/fab-button/fab-button.ios.css +12 -0
  195. package/dist/collection/components/fab-button/fab-button.md.css +12 -0
  196. package/dist/collection/components/fab-list/fab-list.css +12 -0
  197. package/dist/collection/components/footer/footer.ios.css +12 -0
  198. package/dist/collection/components/footer/footer.md.css +12 -0
  199. package/dist/collection/components/grid/grid.css +12 -0
  200. package/dist/collection/components/header/header.ios.css +12 -0
  201. package/dist/collection/components/header/header.md.css +12 -0
  202. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
  203. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
  204. package/dist/collection/components/input/input.ios.css +27 -0
  205. package/dist/collection/components/input/input.js +26 -5
  206. package/dist/collection/components/input/input.md.css +45 -0
  207. package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
  208. package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
  209. package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
  210. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
  211. package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
  212. package/dist/collection/components/item/item.ios.css +12 -0
  213. package/dist/collection/components/item/item.md.css +24 -0
  214. package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
  215. package/dist/collection/components/item-divider/item-divider.js +2 -2
  216. package/dist/collection/components/item-divider/item-divider.md.css +18 -0
  217. package/dist/collection/components/item-group/item-group.ios.css +12 -0
  218. package/dist/collection/components/item-group/item-group.js +1 -1
  219. package/dist/collection/components/item-group/item-group.md.css +12 -0
  220. package/dist/collection/components/item-option/item-option.ios.css +12 -0
  221. package/dist/collection/components/item-option/item-option.js +2 -2
  222. package/dist/collection/components/item-option/item-option.md.css +12 -0
  223. package/dist/collection/components/item-options/item-options.ios.css +18 -0
  224. package/dist/collection/components/item-options/item-options.js +1 -1
  225. package/dist/collection/components/item-options/item-options.md.css +18 -0
  226. package/dist/collection/components/item-sliding/item-sliding.css +6 -0
  227. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  228. package/dist/collection/components/label/label.ios.css +18 -0
  229. package/dist/collection/components/label/label.js +2 -2
  230. package/dist/collection/components/label/label.md.css +18 -0
  231. package/dist/collection/components/list/list.ios.css +18 -0
  232. package/dist/collection/components/list/list.js +1 -1
  233. package/dist/collection/components/list/list.md.css +18 -0
  234. package/dist/collection/components/list-header/list-header.ios.css +18 -0
  235. package/dist/collection/components/list-header/list-header.js +2 -2
  236. package/dist/collection/components/list-header/list-header.md.css +18 -0
  237. package/dist/collection/components/loading/loading.ios.css +12 -0
  238. package/dist/collection/components/loading/loading.js +2 -2
  239. package/dist/collection/components/loading/loading.md.css +12 -0
  240. package/dist/collection/components/menu/menu.ios.css +12 -0
  241. package/dist/collection/components/menu/menu.js +2 -2
  242. package/dist/collection/components/menu/menu.md.css +12 -0
  243. package/dist/collection/components/menu-button/menu-button.ios.css +12 -0
  244. package/dist/collection/components/menu-button/menu-button.js +2 -2
  245. package/dist/collection/components/menu-button/menu-button.md.css +12 -0
  246. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  247. package/dist/collection/components/modal/modal.ios.css +12 -0
  248. package/dist/collection/components/modal/modal.js +3 -3
  249. package/dist/collection/components/modal/modal.md.css +12 -0
  250. package/dist/collection/components/nav/nav.css +6 -0
  251. package/dist/collection/components/nav/nav.js +1 -1
  252. package/dist/collection/components/nav-link/nav-link.js +1 -1
  253. package/dist/collection/components/note/note.ios.css +12 -0
  254. package/dist/collection/components/note/note.js +2 -2
  255. package/dist/collection/components/note/note.md.css +12 -0
  256. package/dist/collection/components/picker/picker.ios.css +12 -0
  257. package/dist/collection/components/picker/picker.md.css +12 -0
  258. package/dist/collection/components/picker-column/picker-column.css +6 -0
  259. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
  260. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  261. package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
  262. package/dist/collection/components/picker-legacy/picker.ios.css +12 -0
  263. package/dist/collection/components/picker-legacy/picker.js +2 -2
  264. package/dist/collection/components/picker-legacy/picker.md.css +12 -0
  265. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
  266. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  267. package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
  268. package/dist/collection/components/popover/popover.ios.css +12 -0
  269. package/dist/collection/components/popover/popover.js +2 -2
  270. package/dist/collection/components/popover/popover.md.css +12 -0
  271. package/dist/collection/components/progress-bar/progress-bar.ios.css +6 -0
  272. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  273. package/dist/collection/components/progress-bar/progress-bar.md.css +6 -0
  274. package/dist/collection/components/radio/radio.ios.css +18 -0
  275. package/dist/collection/components/radio/radio.js +3 -3
  276. package/dist/collection/components/radio/radio.md.css +18 -0
  277. package/dist/collection/components/radio-group/radio-group.js +1 -1
  278. package/dist/collection/components/range/range.ios.css +12 -0
  279. package/dist/collection/components/range/range.js +3 -3
  280. package/dist/collection/components/range/range.md.css +12 -0
  281. package/dist/collection/components/refresher/refresher.ios.css +12 -0
  282. package/dist/collection/components/refresher/refresher.js +1 -1
  283. package/dist/collection/components/refresher/refresher.md.css +12 -0
  284. package/dist/collection/components/refresher-content/refresher-content.js +2 -2
  285. package/dist/collection/components/reorder/reorder.ios.css +6 -0
  286. package/dist/collection/components/reorder/reorder.js +2 -2
  287. package/dist/collection/components/reorder/reorder.md.css +6 -0
  288. package/dist/collection/components/reorder-group/reorder-group.css +6 -0
  289. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  290. package/dist/collection/components/ripple-effect/ripple-effect.css +6 -0
  291. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  292. package/dist/collection/components/router-link/router-link.css +6 -0
  293. package/dist/collection/components/router-link/router-link.js +2 -2
  294. package/dist/collection/components/router-outlet/router-outlet.css +6 -0
  295. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  296. package/dist/collection/components/row/row.css +12 -0
  297. package/dist/collection/components/row/row.js +2 -2
  298. package/dist/collection/components/searchbar/searchbar.ios.css +12 -0
  299. package/dist/collection/components/searchbar/searchbar.js +8 -7
  300. package/dist/collection/components/searchbar/searchbar.md.css +12 -0
  301. package/dist/collection/components/segment/segment.ios.css +18 -0
  302. package/dist/collection/components/segment/segment.js +2 -2
  303. package/dist/collection/components/segment/segment.md.css +18 -0
  304. package/dist/collection/components/segment-button/segment-button.ios.css +12 -0
  305. package/dist/collection/components/segment-button/segment-button.js +3 -3
  306. package/dist/collection/components/segment-button/segment-button.md.css +12 -0
  307. package/dist/collection/components/select/select.ios.css +18 -0
  308. package/dist/collection/components/select/select.js +2 -2
  309. package/dist/collection/components/select/select.md.css +30 -0
  310. package/dist/collection/components/select-option/select-option.js +1 -1
  311. package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
  312. package/dist/collection/components/select-popover/select-popover.js +2 -2
  313. package/dist/collection/components/select-popover/select-popover.md.css +18 -0
  314. package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
  315. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  316. package/dist/collection/components/spinner/spinner.css +6 -0
  317. package/dist/collection/components/spinner/spinner.js +1 -1
  318. package/dist/collection/components/split-pane/split-pane.ios.css +18 -0
  319. package/dist/collection/components/split-pane/split-pane.js +2 -2
  320. package/dist/collection/components/split-pane/split-pane.md.css +18 -0
  321. package/dist/collection/components/tab/tab.js +2 -2
  322. package/dist/collection/components/tab-bar/tab-bar.ios.css +18 -0
  323. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  324. package/dist/collection/components/tab-bar/tab-bar.md.css +18 -0
  325. package/dist/collection/components/tab-button/tab-button.ios.css +12 -0
  326. package/dist/collection/components/tab-button/tab-button.js +2 -2
  327. package/dist/collection/components/tab-button/tab-button.md.css +12 -0
  328. package/dist/collection/components/tabs/tabs.css +6 -0
  329. package/dist/collection/components/tabs/tabs.js +1 -1
  330. package/dist/collection/components/text/text.css +6 -0
  331. package/dist/collection/components/text/text.js +2 -2
  332. package/dist/collection/components/textarea/textarea.ios.css +24 -0
  333. package/dist/collection/components/textarea/textarea.js +2 -2
  334. package/dist/collection/components/textarea/textarea.md.css +36 -0
  335. package/dist/collection/components/thumbnail/thumbnail.css +6 -0
  336. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  337. package/dist/collection/components/title/title.ios.css +6 -0
  338. package/dist/collection/components/title/title.js +2 -2
  339. package/dist/collection/components/title/title.md.css +6 -0
  340. package/dist/collection/components/toast/toast.ios.css +12 -0
  341. package/dist/collection/components/toast/toast.js +2 -2
  342. package/dist/collection/components/toast/toast.md.css +12 -0
  343. package/dist/collection/components/toggle/toggle.ios.css +18 -0
  344. package/dist/collection/components/toggle/toggle.js +3 -3
  345. package/dist/collection/components/toggle/toggle.md.css +18 -0
  346. package/dist/collection/components/toolbar/toolbar.ios.css +12 -0
  347. package/dist/collection/components/toolbar/toolbar.js +2 -2
  348. package/dist/collection/components/toolbar/toolbar.md.css +12 -0
  349. package/dist/collection/global/ionic-global.js +2 -2
  350. package/dist/docs.json +198 -11
  351. package/dist/esm/{app-globals-4194f7b0.js → app-globals-378c927e.js} +1 -1
  352. package/dist/esm/{data-735635b1.js → data-502c79ce.js} +1 -1
  353. package/dist/esm/{hardware-back-button-ff84501f.js → hardware-back-button-6d25372a.js} +1 -1
  354. package/dist/esm/{index-62041d9c.js → index-47afdf4f.js} +2 -2
  355. package/dist/esm/{index-4bbc4ca3.js → index-84145911.js} +1 -1
  356. package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
  357. package/dist/esm/index.js +4 -4
  358. package/dist/esm/{input-shims-131a3f9f.js → input-shims-d80cf854.js} +2 -2
  359. package/dist/esm/{input.utils-41b26b54.js → input.utils-526678b9.js} +1 -1
  360. package/dist/esm/ion-accordion_2.entry.js +2 -2
  361. package/dist/esm/ion-action-sheet.entry.js +3 -3
  362. package/dist/esm/ion-alert.entry.js +3 -3
  363. package/dist/esm/ion-app_8.entry.js +11 -11
  364. package/dist/esm/ion-avatar_3.entry.js +3 -3
  365. package/dist/esm/ion-back-button.entry.js +2 -2
  366. package/dist/esm/ion-backdrop.entry.js +1 -1
  367. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  368. package/dist/esm/ion-button_2.entry.js +21 -7
  369. package/dist/esm/ion-card_5.entry.js +1 -1
  370. package/dist/esm/ion-checkbox.entry.js +1 -1
  371. package/dist/esm/ion-chip.entry.js +1 -1
  372. package/dist/esm/ion-col_3.entry.js +3 -3
  373. package/dist/esm/ion-datetime-button.entry.js +2 -2
  374. package/dist/esm/ion-datetime_3.entry.js +9 -9
  375. package/dist/esm/ion-fab_3.entry.js +2 -2
  376. package/dist/esm/ion-img.entry.js +1 -1
  377. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  378. package/dist/esm/ion-input-password-toggle.entry.js +88 -0
  379. package/dist/esm/ion-input.entry.js +28 -9
  380. package/dist/esm/ion-item-option_3.entry.js +6 -6
  381. package/dist/esm/ion-item_8.entry.js +14 -14
  382. package/dist/esm/ion-loading.entry.js +5 -5
  383. package/dist/esm/ion-menu_3.entry.js +11 -11
  384. package/dist/esm/ion-modal.entry.js +7 -7
  385. package/dist/esm/ion-nav_2.entry.js +3 -3
  386. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  387. package/dist/esm/ion-picker-column.entry.js +1 -1
  388. package/dist/esm/ion-popover.entry.js +5 -5
  389. package/dist/esm/ion-progress-bar.entry.js +2 -2
  390. package/dist/esm/ion-radio_2.entry.js +5 -5
  391. package/dist/esm/ion-range.entry.js +5 -5
  392. package/dist/esm/ion-refresher_2.entry.js +6 -6
  393. package/dist/esm/ion-reorder_2.entry.js +6 -6
  394. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  395. package/dist/esm/ion-route_4.entry.js +3 -3
  396. package/dist/esm/ion-searchbar.entry.js +7 -7
  397. package/dist/esm/ion-segment_2.entry.js +6 -6
  398. package/dist/esm/ion-select_3.entry.js +9 -9
  399. package/dist/esm/ion-spinner.entry.js +2 -2
  400. package/dist/esm/ion-split-pane.entry.js +3 -3
  401. package/dist/esm/ion-tab-bar_2.entry.js +5 -5
  402. package/dist/esm/ion-tab_2.entry.js +3 -3
  403. package/dist/esm/ion-text.entry.js +3 -3
  404. package/dist/esm/ion-textarea.entry.js +4 -4
  405. package/dist/esm/ion-toast.entry.js +5 -5
  406. package/dist/esm/ion-toggle.entry.js +5 -5
  407. package/dist/esm/{ionic-global-d47e129d.js → ionic-global-a03b1588.js} +2 -2
  408. package/dist/esm/ionic.js +3 -3
  409. package/dist/esm/loader.js +3 -3
  410. package/dist/esm/{overlays-213b5a21.js → overlays-84f5c587.js} +2 -2
  411. package/dist/esm/{status-tap-8838c434.js → status-tap-a65b162a.js} +2 -2
  412. package/dist/esm-es5/app-globals-378c927e.js +4 -0
  413. package/dist/esm-es5/{data-735635b1.js → data-502c79ce.js} +1 -1
  414. package/dist/esm-es5/{hardware-back-button-ff84501f.js → hardware-back-button-6d25372a.js} +1 -1
  415. package/dist/esm-es5/{index-62041d9c.js → index-47afdf4f.js} +1 -1
  416. package/dist/esm-es5/{index-4bbc4ca3.js → index-84145911.js} +1 -1
  417. package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
  418. package/dist/esm-es5/index.js +1 -1
  419. package/dist/esm-es5/{input-shims-131a3f9f.js → input-shims-d80cf854.js} +1 -1
  420. package/dist/esm-es5/{input.utils-41b26b54.js → input.utils-526678b9.js} +1 -1
  421. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  422. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  423. package/dist/esm-es5/ion-alert.entry.js +1 -1
  424. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  425. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  426. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  427. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  428. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  429. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  430. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  431. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  432. package/dist/esm-es5/ion-chip.entry.js +1 -1
  433. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  434. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  435. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  436. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  437. package/dist/esm-es5/ion-img.entry.js +1 -1
  438. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  439. package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
  440. package/dist/esm-es5/ion-input.entry.js +1 -1
  441. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  442. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  443. package/dist/esm-es5/ion-loading.entry.js +1 -1
  444. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  445. package/dist/esm-es5/ion-modal.entry.js +1 -1
  446. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  447. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  448. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  449. package/dist/esm-es5/ion-popover.entry.js +1 -1
  450. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  451. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  452. package/dist/esm-es5/ion-range.entry.js +1 -1
  453. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  454. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  455. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  456. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  457. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  458. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  459. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  460. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  461. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  462. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  463. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  464. package/dist/esm-es5/ion-text.entry.js +1 -1
  465. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  466. package/dist/esm-es5/ion-toast.entry.js +1 -1
  467. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  468. package/dist/esm-es5/{ionic-global-d47e129d.js → ionic-global-a03b1588.js} +1 -1
  469. package/dist/esm-es5/ionic.js +1 -1
  470. package/dist/esm-es5/loader.js +1 -1
  471. package/dist/esm-es5/{overlays-213b5a21.js → overlays-84f5c587.js} +1 -1
  472. package/dist/esm-es5/{status-tap-8838c434.js → status-tap-a65b162a.js} +1 -1
  473. package/dist/html.html-data.json +77 -0
  474. package/dist/ionic/index.esm.js +1 -1
  475. package/dist/ionic/ionic.esm.js +1 -1
  476. package/dist/ionic/ionic.js +1 -1
  477. package/dist/ionic/p-00017a0e.entry.js +4 -0
  478. package/dist/ionic/{p-3e9e667a.entry.js → p-0483cb18.entry.js} +1 -1
  479. package/dist/ionic/{p-3e47e61e.entry.js → p-0afb8cd7.entry.js} +1 -1
  480. package/dist/ionic/{p-09b71030.entry.js → p-0fc68641.entry.js} +1 -1
  481. package/dist/ionic/{p-f7a041dc.js → p-11f322f2.js} +1 -1
  482. package/dist/ionic/{p-23e053d0.system.entry.js → p-158f84ef.system.entry.js} +1 -1
  483. package/dist/ionic/{p-30aed000.system.entry.js → p-1a721859.system.entry.js} +1 -1
  484. package/dist/ionic/p-1a8de6fa.entry.js +4 -0
  485. package/dist/ionic/p-1e955a45.system.js +4 -0
  486. package/dist/ionic/{p-617a8c10.system.entry.js → p-1ed7baef.system.entry.js} +1 -1
  487. package/dist/ionic/{p-bb4431d3.entry.js → p-22c5142f.entry.js} +1 -1
  488. package/dist/ionic/p-2a31b1f5.system.js +4 -0
  489. package/dist/ionic/{p-df92bab7.system.js → p-2a6e67b4.system.js} +1 -1
  490. package/dist/ionic/{p-e399a113.entry.js → p-2ab228af.entry.js} +1 -1
  491. package/dist/ionic/{p-4c55c5ce.entry.js → p-31b66414.entry.js} +1 -1
  492. package/dist/ionic/p-31bf1d38.entry.js +4 -0
  493. package/dist/ionic/{p-c957dcbd.system.entry.js → p-3302a619.system.entry.js} +1 -1
  494. package/dist/ionic/{p-6d1854de.system.entry.js → p-33c1c033.system.entry.js} +1 -1
  495. package/dist/ionic/{p-197fca36.system.entry.js → p-348beae7.system.entry.js} +1 -1
  496. package/dist/ionic/{p-3ecd1809.entry.js → p-355f3434.entry.js} +1 -1
  497. package/dist/ionic/{p-605c456e.system.entry.js → p-35dc747b.system.entry.js} +1 -1
  498. package/dist/ionic/p-35e5e98a.system.entry.js +4 -0
  499. package/dist/ionic/{p-e7522003.js → p-368b5f57.js} +1 -1
  500. package/dist/ionic/{p-2fad37de.system.entry.js → p-379c62e1.system.entry.js} +1 -1
  501. package/dist/ionic/{p-16b3b748.system.js → p-37c9bc91.system.js} +1 -1
  502. package/dist/ionic/{p-98ced5a7.system.entry.js → p-3b14e7b9.system.entry.js} +1 -1
  503. package/dist/ionic/{p-e557901b.entry.js → p-3d14260a.entry.js} +1 -1
  504. package/dist/ionic/{p-b8df09fa.entry.js → p-3df045bd.entry.js} +1 -1
  505. package/dist/ionic/{p-dff73ffc.system.js → p-47883cab.system.js} +1 -1
  506. package/dist/ionic/{p-c7e3ef1f.js → p-487bee8d.js} +1 -1
  507. package/dist/ionic/{p-35b46c05.entry.js → p-49d23e05.entry.js} +1 -1
  508. package/dist/ionic/{p-bb01995b.entry.js → p-4e27762d.entry.js} +1 -1
  509. package/dist/ionic/{p-e62f29e0.system.entry.js → p-4f785e62.system.entry.js} +1 -1
  510. package/dist/ionic/{p-2c8cb8c0.system.entry.js → p-4faa6455.system.entry.js} +1 -1
  511. package/dist/ionic/{p-7d6993fa.entry.js → p-4fbe6e81.entry.js} +1 -1
  512. package/dist/ionic/{p-11f25a12.system.js → p-50cf70e8.system.js} +1 -1
  513. package/dist/ionic/p-525a9d5f.system.entry.js +4 -0
  514. package/dist/ionic/{p-62ad354a.system.entry.js → p-54cbb70e.system.entry.js} +1 -1
  515. package/dist/ionic/{p-4f30e4c3.system.entry.js → p-5589bb5b.system.entry.js} +1 -1
  516. package/dist/ionic/p-57963dea.entry.js +4 -0
  517. package/dist/ionic/{p-69e691df.system.entry.js → p-58d1ab91.system.entry.js} +1 -1
  518. package/dist/ionic/{p-de5f6929.system.entry.js → p-58df6e9f.system.entry.js} +1 -1
  519. package/dist/ionic/{p-5fed4c24.system.entry.js → p-5e0d356b.system.entry.js} +1 -1
  520. package/dist/ionic/p-602146d8.js +4 -0
  521. package/dist/ionic/{p-365d2cfe.system.entry.js → p-6117f6c5.system.entry.js} +1 -1
  522. package/dist/ionic/{p-6718dfd8.system.entry.js → p-61a87440.system.entry.js} +1 -1
  523. package/dist/ionic/{p-644df0cc.system.entry.js → p-64eb01cb.system.entry.js} +1 -1
  524. package/dist/ionic/{p-385c76dc.system.entry.js → p-66d0a048.system.entry.js} +1 -1
  525. package/dist/ionic/{p-af732189.system.js → p-66d55ac3.system.js} +2 -2
  526. package/dist/ionic/{p-0daf382b.system.entry.js → p-680448fe.system.entry.js} +1 -1
  527. package/dist/ionic/{p-c78731fc.system.js → p-6df8b089.system.js} +1 -1
  528. package/dist/ionic/{p-3ed32307.system.entry.js → p-707a9d71.system.entry.js} +1 -1
  529. package/dist/ionic/{p-322eb715.system.js → p-726f80e7.system.js} +1 -1
  530. package/dist/ionic/{p-ae3fdd38.entry.js → p-738714f4.entry.js} +1 -1
  531. package/dist/ionic/{p-52698131.entry.js → p-789f197c.entry.js} +1 -1
  532. package/dist/ionic/{p-7fefe43e.system.js → p-822696e5.system.js} +1 -1
  533. package/dist/ionic/{p-ae2c6708.system.entry.js → p-8244824f.system.entry.js} +2 -2
  534. package/dist/ionic/{p-29ceda88.js → p-832dae23.js} +1 -1
  535. package/dist/ionic/{p-cd94b05a.system.entry.js → p-83d220ee.system.entry.js} +1 -1
  536. package/dist/ionic/{p-57082094.entry.js → p-84549d94.entry.js} +1 -1
  537. package/dist/ionic/{p-23a3320b.js → p-86379b84.js} +1 -1
  538. package/dist/ionic/{p-57b76977.system.entry.js → p-89d25317.system.entry.js} +1 -1
  539. package/dist/ionic/{p-b0da0e7e.entry.js → p-8e8522e3.entry.js} +1 -1
  540. package/dist/ionic/{p-a68b1b19.entry.js → p-8ef1d644.entry.js} +1 -1
  541. package/dist/ionic/{p-7c6ba817.system.entry.js → p-91b79359.system.entry.js} +1 -1
  542. package/dist/ionic/{p-71784639.entry.js → p-929058ef.entry.js} +1 -1
  543. package/dist/ionic/{p-2a4641fb.system.entry.js → p-93c12309.system.entry.js} +1 -1
  544. package/dist/ionic/{p-d6788bde.system.entry.js → p-94a31caf.system.entry.js} +1 -1
  545. package/dist/ionic/{p-9a76dbbb.entry.js → p-96472d74.entry.js} +1 -1
  546. package/dist/ionic/{p-a5456295.entry.js → p-99bf116a.entry.js} +1 -1
  547. package/dist/ionic/{p-c1d0861e.entry.js → p-9c52644e.entry.js} +1 -1
  548. package/dist/ionic/p-9d6f10bd.entry.js +4 -0
  549. package/dist/ionic/p-9dccdc99.entry.js +4 -0
  550. package/dist/ionic/{p-84dd4f6c.system.entry.js → p-9f1b4c72.system.entry.js} +1 -1
  551. package/dist/ionic/{p-77cdf8f0.system.entry.js → p-a300b844.system.entry.js} +1 -1
  552. package/dist/ionic/{p-eab67c46.system.entry.js → p-a3d98f76.system.entry.js} +1 -1
  553. package/dist/ionic/p-a9e86436.system.entry.js +4 -0
  554. package/dist/ionic/{p-6770c46d.system.entry.js → p-ab45eca5.system.entry.js} +1 -1
  555. package/dist/ionic/{p-8cd83c08.system.entry.js → p-ae6a5ee1.system.entry.js} +1 -1
  556. package/dist/ionic/{p-8fbf7c49.entry.js → p-af5123f7.entry.js} +1 -1
  557. package/dist/ionic/p-b29b0043.system.entry.js +4 -0
  558. package/dist/ionic/{p-24cc69ab.entry.js → p-b4f2d31e.entry.js} +1 -1
  559. package/dist/ionic/{p-46e489c1.entry.js → p-b5c85b3c.entry.js} +1 -1
  560. package/dist/ionic/{p-4c6278ca.system.entry.js → p-b6ad1585.system.entry.js} +1 -1
  561. package/dist/ionic/{p-56dfd814.entry.js → p-b8df12bb.entry.js} +1 -1
  562. package/dist/ionic/{p-f9398178.entry.js → p-ba85f57a.entry.js} +1 -1
  563. package/dist/ionic/{p-b0bd2f28.system.entry.js → p-bc4f3bb5.system.entry.js} +1 -1
  564. package/dist/ionic/{p-3e8cfe35.system.entry.js → p-bd1a5533.system.entry.js} +1 -1
  565. package/dist/ionic/p-bfd648f6.entry.js +4 -0
  566. package/dist/ionic/{p-716cc857.entry.js → p-c0d40adb.entry.js} +1 -1
  567. package/dist/ionic/{p-d83f3852.system.entry.js → p-c11dbd56.system.entry.js} +1 -1
  568. package/dist/ionic/p-c33fe06e.entry.js +4 -0
  569. package/dist/ionic/{p-e86fef55.system.js → p-c47d0e2a.system.js} +1 -1
  570. package/dist/ionic/p-c5c7d271.entry.js +4 -0
  571. package/dist/ionic/{p-fe1345b7.js → p-ca958797.js} +1 -1
  572. package/dist/ionic/p-cbb46ee9.entry.js +4 -0
  573. package/dist/ionic/{p-cc1dabd2.system.entry.js → p-cf5829f5.system.entry.js} +1 -1
  574. package/dist/ionic/{p-afeebbc2.entry.js → p-d08ac146.entry.js} +1 -1
  575. package/dist/ionic/{p-57a4c6c3.js → p-d3498aab.js} +1 -1
  576. package/dist/ionic/{p-0507489e.system.entry.js → p-d74b5b06.system.entry.js} +1 -1
  577. package/dist/ionic/p-da2b833b.js +4 -0
  578. package/dist/ionic/{p-139e8ff1.js → p-db490c56.js} +1 -1
  579. package/dist/ionic/{p-2bc784c2.system.entry.js → p-db643807.system.entry.js} +1 -1
  580. package/dist/ionic/{p-45684f75.system.entry.js → p-dfbfcb53.system.entry.js} +1 -1
  581. package/dist/ionic/{p-820be1bf.entry.js → p-e03b9251.entry.js} +1 -1
  582. package/dist/ionic/{p-fea6e789.system.entry.js → p-e1403ca6.system.entry.js} +1 -1
  583. package/dist/ionic/{p-1126b6fb.entry.js → p-e30d6c34.entry.js} +1 -1
  584. package/dist/ionic/{p-ed454419.entry.js → p-e39ec17c.entry.js} +1 -1
  585. package/dist/ionic/{p-f85988bd.entry.js → p-e3b6bda8.entry.js} +1 -1
  586. package/dist/ionic/{p-ff93a0f3.entry.js → p-e6f26311.entry.js} +1 -1
  587. package/dist/ionic/{p-18d1e318.system.js → p-e78ab7a6.system.js} +1 -1
  588. package/dist/ionic/{p-1f04779e.entry.js → p-e85a8a81.entry.js} +1 -1
  589. package/dist/ionic/{p-226bdf0f.entry.js → p-ec637936.entry.js} +1 -1
  590. package/dist/ionic/{p-30b7a6a6.system.entry.js → p-ef61637a.system.entry.js} +2 -2
  591. package/dist/ionic/{p-6981ada8.entry.js → p-f02998b5.entry.js} +1 -1
  592. package/dist/ionic/{p-d2a65df9.js → p-f35f7d6c.js} +1 -1
  593. package/dist/ionic/{p-4e7a18b3.entry.js → p-fc174bf1.entry.js} +1 -1
  594. package/dist/ionic/p-fc9c5b84.system.js +4 -0
  595. package/dist/types/components/button/button.d.ts +6 -2
  596. package/dist/types/components/input/input.d.ts +6 -0
  597. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
  598. package/dist/types/components/searchbar/searchbar.d.ts +0 -14
  599. package/dist/types/components.d.ts +51 -5
  600. package/hydrate/index.js +245 -114
  601. package/package.json +1 -1
  602. package/css/core.ionic.css +0 -13
  603. package/css/core.ionic.css.map +0 -1
  604. package/dist/collection/components/button/test/round/button.e2e.js +0 -52
  605. package/dist/esm-es5/app-globals-4194f7b0.js +0 -4
  606. package/dist/ionic/p-116239e0.system.entry.js +0 -4
  607. package/dist/ionic/p-13aa1338.entry.js +0 -4
  608. package/dist/ionic/p-24e9aa21.entry.js +0 -4
  609. package/dist/ionic/p-41908d5c.entry.js +0 -4
  610. package/dist/ionic/p-44d8d5c3.entry.js +0 -4
  611. package/dist/ionic/p-5919403e.js +0 -4
  612. package/dist/ionic/p-6087c7ac.system.entry.js +0 -4
  613. package/dist/ionic/p-70a396e0.entry.js +0 -4
  614. package/dist/ionic/p-831269de.js +0 -4
  615. package/dist/ionic/p-8fd110c6.entry.js +0 -4
  616. package/dist/ionic/p-ac1eb107.system.js +0 -4
  617. package/dist/ionic/p-b69db5bf.entry.js +0 -4
  618. package/dist/ionic/p-c8985963.system.js +0 -4
  619. package/dist/ionic/p-dfb6de03.system.js +0 -4
  620. package/dist/ionic/p-e4cd4316.system.entry.js +0 -4
  621. package/dist/ionic/p-f977c8c5.entry.js +0 -4
  622. package/dist/ionic/p-ff584ff5.entry.js +0 -4
@@ -122,6 +122,20 @@ export class Button {
122
122
  }
123
123
  return 'bounded';
124
124
  }
125
+ /**
126
+ * Disable the "xsmall" and "xlarge" sizes if the theme is "ios" or "md"
127
+ */
128
+ getSize() {
129
+ const theme = getIonTheme(this);
130
+ const { size } = this;
131
+ if (size === undefined && this.inItem) {
132
+ return 'small';
133
+ }
134
+ if ((theme === 'ios' || theme === 'md') && (size === 'xsmall' || size === 'xlarge')) {
135
+ return undefined;
136
+ }
137
+ return size;
138
+ }
125
139
  /**
126
140
  * Finds the form element based on the provided `form` selector
127
141
  * or element reference provided.
@@ -182,9 +196,9 @@ export class Button {
182
196
  }
183
197
  }
184
198
  render() {
185
- const { buttonType, type, disabled, rel, target, size, href, color, expand, hasIconOnly, shape, strong, inheritedAttributes, } = this;
199
+ const { buttonType, type, disabled, rel, target, href, color, expand, hasIconOnly, shape, strong, inheritedAttributes, } = this;
186
200
  const theme = getIonTheme(this);
187
- const finalSize = size === undefined && this.inItem ? 'small' : size;
201
+ const finalSize = this.getSize();
188
202
  const TagType = href === undefined ? 'button' : 'a';
189
203
  const attrs = TagType === 'button'
190
204
  ? { type }
@@ -212,7 +226,7 @@ export class Button {
212
226
  {
213
227
  type !== 'button' && this.renderHiddenButton();
214
228
  }
215
- return (h(Host, { key: '8747e78e8ed107ee28ce351c5937613705dc4d7e', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
229
+ return (h(Host, { key: 'ad194a242d68360d9bbbd025a409af09d87b4d34', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
216
230
  [theme]: true,
217
231
  [buttonType]: true,
218
232
  [`${buttonType}-${expand}`]: expand !== undefined,
@@ -227,7 +241,7 @@ export class Button {
227
241
  'button-disabled': disabled,
228
242
  'ion-activatable': true,
229
243
  'ion-focusable': true,
230
- }) }, h(TagType, Object.assign({ key: '4db8bfcb127a3a8eb70ee0dc075a181f6af59635' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { key: 'cdb4ff90e0163f9fc557957bef1a2e95d1aa4acf', class: "button-inner" }, h("slot", { key: '3c57a70645a1818dc2cd8887dbf98448c757b399', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: 'c5edf0cf141395cb9587f3dd8cd39240e38d8100', name: "start" }), h("slot", { key: 'be7ad33a9d0a50db11a33fdb33dbd03fb71b50ce' }), h("slot", { key: 'e7fb30ccdeb8a3231ef8432c65921209b3325ce4', name: "end" })), theme === 'md' && h("ion-ripple-effect", { type: this.rippleType }))));
244
+ }) }, h(TagType, Object.assign({ key: '6ca717c26b637859f780c22f8b4a7e921b723e12' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { key: '60ff7c727df3fee342bed8839a493057149e2600', class: "button-inner" }, h("slot", { key: 'e048881659c50129e29668694ef11420400c9059', name: "icon-only", onSlotchange: this.slotChanged }), h("slot", { key: '3783397b79a5f4756fce1ba546c9b3e00e8afb69', name: "start" }), h("slot", { key: '1e3c2fd3969bf4c83e432e2a1a2058d699d9685a' }), h("slot", { key: 'badb9b5954d8d8a19a53ff4be3ff5d0e0b3354ae', name: "end" })), theme === 'md' && h("ion-ripple-effect", { type: this.rippleType }))));
231
245
  }
232
246
  static get is() { return "ion-button"; }
233
247
  static get encapsulation() { return "shadow"; }
@@ -235,14 +249,14 @@ export class Button {
235
249
  return {
236
250
  "ios": ["button.ios.scss"],
237
251
  "md": ["button.md.scss"],
238
- "ionic": ["button.md.scss"]
252
+ "ionic": ["button.ionic.scss"]
239
253
  };
240
254
  }
241
255
  static get styleUrls() {
242
256
  return {
243
257
  "ios": ["button.ios.css"],
244
258
  "md": ["button.md.css"],
245
- "ionic": ["button.md.css"]
259
+ "ionic": ["button.ionic.css"]
246
260
  };
247
261
  }
248
262
  static get properties() {
@@ -440,8 +454,8 @@ export class Button {
440
454
  "type": "string",
441
455
  "mutable": false,
442
456
  "complexType": {
443
- "original": "'round'",
444
- "resolved": "\"round\" | undefined",
457
+ "original": "'round' | 'rectangular'",
458
+ "resolved": "\"rectangular\" | \"round\" | undefined",
445
459
  "references": {}
446
460
  },
447
461
  "required": false,
@@ -457,8 +471,8 @@ export class Button {
457
471
  "type": "string",
458
472
  "mutable": false,
459
473
  "complexType": {
460
- "original": "'small' | 'default' | 'large'",
461
- "resolved": "\"default\" | \"large\" | \"small\" | undefined",
474
+ "original": "'xsmall' | 'small' | 'default' | 'large' | 'xlarge'",
475
+ "resolved": "\"default\" | \"large\" | \"small\" | \"xlarge\" | \"xsmall\" | undefined",
462
476
  "references": {}
463
477
  },
464
478
  "required": false,
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -331,6 +337,12 @@ ion-ripple-effect {
331
337
  color: var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff));
332
338
  }
333
339
 
340
+ /**
341
+ * Convert a pixels given value into rem
342
+ *
343
+ * @param pixels - Value in pixels to be converted (i.e. px)
344
+ * @param context (optional) - Baseline value
345
+ */
334
346
  /**
335
347
  * Convert a font size to a dynamic font size.
336
348
  * Fonts that participate in Dynamic Type should use
@@ -3,12 +3,15 @@
3
3
  */
4
4
  import { expect } from "@playwright/test";
5
5
  import { configs, test } from "../../../../utils/test/playwright/index";
6
- configs().forEach(({ title, config, screenshot }) => {
7
- test.describe(title('button: clear'), () => {
6
+ /**
7
+ * Fill="clear" does not render differently based on the direction.
8
+ */
9
+ configs({ directions: ['ltr'], themes: ['ios', 'md', 'ionic'] }).forEach(({ title, config, screenshot }) => {
10
+ test.describe(title('button: fill: clear'), () => {
8
11
  test('should not have visual regressions', async ({ page }) => {
9
12
  await page.goto(`/src/components/button/test/clear`, config);
10
13
  await page.setIonViewport();
11
- await expect(page).toHaveScreenshot(screenshot(`button-clear`));
14
+ await expect(page).toHaveScreenshot(screenshot(`button-fill-clear`));
12
15
  });
13
16
  });
14
17
  });
@@ -0,0 +1,88 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { expect } from "@playwright/test";
5
+ import { configs, test } from "../../../../utils/test/playwright/index";
6
+ /**
7
+ * All content takes up the full width, so RTL has no effect.
8
+ */
9
+ // TODO: FW-6077 - Add ionic theme on MD mode to this test.
10
+ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
11
+ test.describe(title('button: shape'), () => {
12
+ test.describe('round', () => {
13
+ test.describe('default', () => {
14
+ test('should not have visual regressions', async ({ page }) => {
15
+ await page.goto(`/src/components/button/test/shape`, config);
16
+ await page.setIonViewport();
17
+ const container = page.locator('#default');
18
+ await expect(container).toHaveScreenshot(screenshot(`button-round`));
19
+ });
20
+ });
21
+ test.describe('outline', () => {
22
+ test('should not have visual regressions', async ({ page }) => {
23
+ await page.goto(`/src/components/button/test/shape`, config);
24
+ await page.setIonViewport();
25
+ const container = page.locator('#outline');
26
+ await expect(container).toHaveScreenshot(screenshot(`button-outline-round`));
27
+ });
28
+ });
29
+ test.describe('clear', () => {
30
+ test('should not have visual regressions', async ({ page }) => {
31
+ await page.goto(`/src/components/button/test/shape`, config);
32
+ await page.setIonViewport();
33
+ const container = page.locator('#clear');
34
+ await expect(container).toHaveScreenshot(screenshot(`button-clear-round`));
35
+ });
36
+ });
37
+ test.describe('color', () => {
38
+ test('should not have visual regressions', async ({ page }) => {
39
+ await page.goto(`/src/components/button/test/shape`, config);
40
+ await page.setIonViewport();
41
+ const container = page.locator('#color');
42
+ await expect(container).toHaveScreenshot(screenshot(`button-color-round`));
43
+ });
44
+ });
45
+ test.describe('expand', () => {
46
+ test('should not have visual regressions', async ({ page }) => {
47
+ await page.goto(`/src/components/button/test/shape`, config);
48
+ await page.setIonViewport();
49
+ const container = page.locator('#expand');
50
+ await expect(container).toHaveScreenshot(screenshot(`button-expand-round`));
51
+ });
52
+ });
53
+ });
54
+ });
55
+ });
56
+ /**
57
+ * Shape="rectangular" is only available in the Ionic theme.
58
+ */
59
+ configs({ directions: ['ltr'], themes: ['ionic'] }).forEach(({ title, screenshot, config }) => {
60
+ test.describe(title('button: shape'), () => {
61
+ test.describe('rectangular', () => {
62
+ test('should not have visual regressions', async ({ page }) => {
63
+ await page.setContent(`
64
+ <style>
65
+ ion-button {
66
+ margin: 8px;
67
+ }
68
+ </style>
69
+ <div id="container">
70
+ <ion-button shape="rectangular" fill="solid">Rectangular Button, Solid</ion-button>
71
+ <ion-button class="ion-focused" shape="rectangular" fill="solid">Rectangular Button, Solid, Focused</ion-button>
72
+ <ion-button class="ion-activated" shape="rectangular" fill="solid">Rectangular Button, Solid, Activated</ion-button>
73
+
74
+ <ion-button shape="rectangular" fill="outline">Rectangular Button, Outline</ion-button>
75
+ <ion-button class="ion-focused" shape="rectangular" fill="outline">Rectangular Button, Outline, Focused</ion-button>
76
+ <ion-button class="ion-activated" shape="rectangular" fill="outline">Rectangular Button, Outline, Activated</ion-button>
77
+
78
+ <ion-button shape="rectangular" fill="clear">Rectangular Button</ion-button>
79
+ <ion-button class="ion-focused" shape="rectangular" fill="clear">Rectangular Button, Focused</ion-button>
80
+ <ion-button class="ion-activated" shape="rectangular" fill="clear">Rectangular Button, Activated</ion-button>
81
+ </div>
82
+ `, config);
83
+ const container = page.locator('#container');
84
+ await expect(container).toHaveScreenshot(screenshot(`button-shape-rectangular`));
85
+ });
86
+ });
87
+ });
88
+ });
@@ -3,7 +3,8 @@
3
3
  */
4
4
  import { expect } from "@playwright/test";
5
5
  import { configs, test } from "../../../../utils/test/playwright/index";
6
- configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
6
+ // TODO: FW-6077 - Limit this test to just the Ionic theme on MD mode.
7
+ configs({ directions: ['ltr'], themes: ['ionic', 'md', 'ios'] }).forEach(({ title, screenshot, config }) => {
7
8
  test.describe(title('button: size'), () => {
8
9
  test('should render small buttons', async ({ page }) => {
9
10
  await page.setContent(`
@@ -41,3 +42,20 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
41
42
  });
42
43
  });
43
44
  });
45
+ /**
46
+ * The following tests are specific to the Ionic theme and do not depend on the text direction.
47
+ */
48
+ configs({ directions: ['ltr'], themes: ['ionic'] }).forEach(({ title, screenshot, config }) => {
49
+ test.describe(title('button: size'), () => {
50
+ test('should render xsmall buttons', async ({ page }) => {
51
+ await page.setContent(`<ion-button size="xsmall" fill="solid">X-Small Button</ion-button>`, config);
52
+ const wrapper = page.locator('ion-button');
53
+ await expect(wrapper).toHaveScreenshot(screenshot(`button-size-x-small`));
54
+ });
55
+ test('should render xlarge buttons', async ({ page }) => {
56
+ await page.setContent(`<ion-button size="xlarge" fill="solid">X-Large Button</ion-button>`, config);
57
+ const wrapper = page.locator('ion-button');
58
+ await expect(wrapper).toHaveScreenshot(screenshot(`button-size-x-large`));
59
+ });
60
+ });
61
+ });
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -53,6 +59,12 @@
53
59
  * }
54
60
  * }
55
61
  */
62
+ /**
63
+ * Convert a pixels given value into rem
64
+ *
65
+ * @param pixels - Value in pixels to be converted (i.e. px)
66
+ * @param context (optional) - Baseline value
67
+ */
56
68
  /**
57
69
  * Convert a font size to a dynamic font size.
58
70
  * Fonts that participate in Dynamic Type should use
@@ -108,6 +120,12 @@
108
120
  * }
109
121
  * }
110
122
  */
123
+ /**
124
+ * Convert a pixels given value into rem
125
+ *
126
+ * @param pixels - Value in pixels to be converted (i.e. px)
127
+ * @param context (optional) - Baseline value
128
+ */
111
129
  /**
112
130
  * Convert a font size to a dynamic font size.
113
131
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -53,6 +59,12 @@
53
59
  * }
54
60
  * }
55
61
  */
62
+ /**
63
+ * Convert a pixels given value into rem
64
+ *
65
+ * @param pixels - Value in pixels to be converted (i.e. px)
66
+ * @param context (optional) - Baseline value
67
+ */
56
68
  /**
57
69
  * Convert a font size to a dynamic font size.
58
70
  * Fonts that participate in Dynamic Type should use
@@ -108,6 +120,12 @@
108
120
  * }
109
121
  * }
110
122
  */
123
+ /**
124
+ * Convert a pixels given value into rem
125
+ *
126
+ * @param pixels - Value in pixels to be converted (i.e. px)
127
+ * @param context (optional) - Baseline value
128
+ */
111
129
  /**
112
130
  * Convert a font size to a dynamic font size.
113
131
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -128,6 +134,12 @@ ion-ripple-effect {
128
134
  color: var(--ripple-color);
129
135
  }
130
136
 
137
+ /**
138
+ * Convert a pixels given value into rem
139
+ *
140
+ * @param pixels - Value in pixels to be converted (i.e. px)
141
+ * @param context (optional) - Baseline value
142
+ */
131
143
  /**
132
144
  * Convert a font size to a dynamic font size.
133
145
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -128,6 +134,12 @@ ion-ripple-effect {
128
134
  color: var(--ripple-color);
129
135
  }
130
136
 
137
+ /**
138
+ * Convert a pixels given value into rem
139
+ *
140
+ * @param pixels - Value in pixels to be converted (i.e. px)
141
+ * @param context (optional) - Baseline value
142
+ */
131
143
  /**
132
144
  * Convert a font size to a dynamic font size.
133
145
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -58,6 +64,12 @@ ion-card-content {
58
64
  position: relative;
59
65
  }
60
66
 
67
+ /**
68
+ * Convert a pixels given value into rem
69
+ *
70
+ * @param pixels - Value in pixels to be converted (i.e. px)
71
+ * @param context (optional) - Baseline value
72
+ */
61
73
  /**
62
74
  * Convert a font size to a dynamic font size.
63
75
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -58,6 +64,12 @@ ion-card-content {
58
64
  position: relative;
59
65
  }
60
66
 
67
+ /**
68
+ * Convert a pixels given value into rem
69
+ *
70
+ * @param pixels - Value in pixels to be converted (i.e. px)
71
+ * @param context (optional) - Baseline value
72
+ */
61
73
  /**
62
74
  * Convert a font size to a dynamic font size.
63
75
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -68,6 +74,12 @@
68
74
  color: var(--ion-color-contrast);
69
75
  }
70
76
 
77
+ /**
78
+ * Convert a pixels given value into rem
79
+ *
80
+ * @param pixels - Value in pixels to be converted (i.e. px)
81
+ * @param context (optional) - Baseline value
82
+ */
71
83
  /**
72
84
  * Convert a font size to a dynamic font size.
73
85
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -68,6 +74,12 @@
68
74
  color: var(--ion-color-contrast);
69
75
  }
70
76
 
77
+ /**
78
+ * Convert a pixels given value into rem
79
+ *
80
+ * @param pixels - Value in pixels to be converted (i.e. px)
81
+ * @param context (optional) - Baseline value
82
+ */
71
83
  /**
72
84
  * Convert a font size to a dynamic font size.
73
85
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -66,6 +72,12 @@
66
72
  color: var(--ion-color-base);
67
73
  }
68
74
 
75
+ /**
76
+ * Convert a pixels given value into rem
77
+ *
78
+ * @param pixels - Value in pixels to be converted (i.e. px)
79
+ * @param context (optional) - Baseline value
80
+ */
69
81
  /**
70
82
  * Convert a font size to a dynamic font size.
71
83
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -66,6 +72,12 @@
66
72
  color: var(--ion-color-base);
67
73
  }
68
74
 
75
+ /**
76
+ * Convert a pixels given value into rem
77
+ *
78
+ * @param pixels - Value in pixels to be converted (i.e. px)
79
+ * @param context (optional) - Baseline value
80
+ */
69
81
  /**
70
82
  * Convert a font size to a dynamic font size.
71
83
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -66,6 +72,12 @@
66
72
  color: var(--ion-color-base);
67
73
  }
68
74
 
75
+ /**
76
+ * Convert a pixels given value into rem
77
+ *
78
+ * @param pixels - Value in pixels to be converted (i.e. px)
79
+ * @param context (optional) - Baseline value
80
+ */
69
81
  /**
70
82
  * Convert a font size to a dynamic font size.
71
83
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -66,6 +72,12 @@
66
72
  color: var(--ion-color-base);
67
73
  }
68
74
 
75
+ /**
76
+ * Convert a pixels given value into rem
77
+ *
78
+ * @param pixels - Value in pixels to be converted (i.e. px)
79
+ * @param context (optional) - Baseline value
80
+ */
69
81
  /**
70
82
  * Convert a font size to a dynamic font size.
71
83
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -333,6 +339,12 @@ input {
333
339
  pointer-events: none;
334
340
  }
335
341
 
342
+ /**
343
+ * Convert a pixels given value into rem
344
+ *
345
+ * @param pixels - Value in pixels to be converted (i.e. px)
346
+ * @param context (optional) - Baseline value
347
+ */
336
348
  /**
337
349
  * Convert a font size to a dynamic font size.
338
350
  * Fonts that participate in Dynamic Type should use
@@ -388,6 +400,12 @@ input {
388
400
  * }
389
401
  * }
390
402
  */
403
+ /**
404
+ * Convert a pixels given value into rem
405
+ *
406
+ * @param pixels - Value in pixels to be converted (i.e. px)
407
+ * @param context (optional) - Baseline value
408
+ */
391
409
  /**
392
410
  * Convert a font size to a dynamic font size.
393
411
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -333,6 +339,12 @@ input {
333
339
  pointer-events: none;
334
340
  }
335
341
 
342
+ /**
343
+ * Convert a pixels given value into rem
344
+ *
345
+ * @param pixels - Value in pixels to be converted (i.e. px)
346
+ * @param context (optional) - Baseline value
347
+ */
336
348
  /**
337
349
  * Convert a font size to a dynamic font size.
338
350
  * Fonts that participate in Dynamic Type should use
@@ -388,6 +400,12 @@ input {
388
400
  * }
389
401
  * }
390
402
  */
403
+ /**
404
+ * Convert a pixels given value into rem
405
+ *
406
+ * @param pixels - Value in pixels to be converted (i.e. px)
407
+ * @param context (optional) - Baseline value
408
+ */
391
409
  /**
392
410
  * Convert a font size to a dynamic font size.
393
411
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
1
7
  /**
2
8
  * Convert a font size to a dynamic font size.
3
9
  * Fonts that participate in Dynamic Type should use