voyager-ionic-core 8.0.0-beta.1 → 8.0.0-beta.2

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 (635) hide show
  1. package/components/action-sheet.js +3 -3
  2. package/components/alert.js +2 -2
  3. package/components/backdrop.js +1 -1
  4. package/components/button.js +2 -2
  5. package/components/buttons.js +3 -3
  6. package/components/checkbox.js +3 -3
  7. package/components/data.js +23 -38
  8. package/components/hardware-back-button.js +3 -3
  9. package/components/helpers.js +1 -8
  10. package/components/input.utils.js +12 -0
  11. package/components/ion-app.js +4 -4
  12. package/components/ion-avatar.js +1 -1
  13. package/components/ion-back-button.js +2 -2
  14. package/components/ion-badge.js +2 -2
  15. package/components/ion-breadcrumb.js +2 -2
  16. package/components/ion-breadcrumbs.js +2 -2
  17. package/components/ion-card-content.js +1 -1
  18. package/components/ion-card-header.js +2 -2
  19. package/components/ion-card-subtitle.js +2 -2
  20. package/components/ion-card-title.js +2 -2
  21. package/components/ion-card.js +1 -1
  22. package/components/ion-chip.js +2 -2
  23. package/components/ion-col.js +2 -2
  24. package/components/ion-content.js +3 -3
  25. package/components/ion-datetime-button.js +11 -10
  26. package/components/ion-datetime.js +69 -7
  27. package/components/ion-fab-button.js +2 -2
  28. package/components/ion-fab-list.js +2 -2
  29. package/components/ion-fab.js +2 -2
  30. package/components/ion-footer.js +2 -2
  31. package/components/ion-grid.js +2 -2
  32. package/components/ion-header.js +2 -2
  33. package/components/ion-img.js +1 -1
  34. package/components/ion-infinite-scroll-content.js +2 -2
  35. package/components/ion-infinite-scroll.js +1 -1
  36. package/components/ion-input.js +6 -6
  37. package/components/ion-item-divider.js +2 -2
  38. package/components/ion-item-group.js +1 -1
  39. package/components/ion-item-option.js +2 -2
  40. package/components/ion-item-options.js +1 -1
  41. package/components/ion-item-sliding.js +1 -1
  42. package/components/ion-loading.js +2 -2
  43. package/components/ion-menu-button.js +2 -2
  44. package/components/ion-menu-toggle.js +2 -2
  45. package/components/ion-menu.js +3 -3
  46. package/components/ion-modal.js +3 -3
  47. package/components/ion-nav-link.js +1 -1
  48. package/components/ion-nav.js +1 -1
  49. package/components/ion-note.js +43 -1
  50. package/components/ion-picker-legacy.js +2 -2
  51. package/components/ion-progress-bar.js +1 -1
  52. package/components/ion-range.js +129 -24
  53. package/components/ion-refresher-content.js +1 -1
  54. package/components/ion-refresher.js +1 -1
  55. package/components/ion-reorder-group.js +1 -1
  56. package/components/ion-reorder.js +1 -1
  57. package/components/ion-router-link.js +2 -2
  58. package/components/ion-router-outlet.js +1 -1
  59. package/components/ion-row.js +1 -1
  60. package/components/ion-searchbar.js +34 -5
  61. package/components/ion-segment-button.js +3 -3
  62. package/components/ion-segment.js +2 -2
  63. package/components/ion-select-option.js +1 -1
  64. package/components/ion-select.js +23 -29
  65. package/components/ion-skeleton-text.js +2 -2
  66. package/components/ion-split-pane.js +2 -2
  67. package/components/ion-tab-bar.js +2 -2
  68. package/components/ion-tab-button.js +2 -2
  69. package/components/ion-tab.js +2 -2
  70. package/components/ion-tabs.js +1 -1
  71. package/components/ion-text.js +2 -2
  72. package/components/ion-textarea.js +5 -5
  73. package/components/ion-thumbnail.js +1 -1
  74. package/components/ion-title.js +2 -2
  75. package/components/ion-toast.js +2 -2
  76. package/components/ion-toggle.js +3 -3
  77. package/components/ion-toolbar.js +2 -2
  78. package/components/item.js +11 -92
  79. package/components/label.js +5 -5
  80. package/components/list-header.js +2 -2
  81. package/components/list.js +1 -1
  82. package/components/overlays.js +61 -19
  83. package/components/picker-column-option.js +2 -2
  84. package/components/picker-column.js +3 -3
  85. package/components/picker-column2.js +2 -2
  86. package/components/picker.js +2 -2
  87. package/components/popover.js +2 -2
  88. package/components/radio-group.js +1 -1
  89. package/components/radio.js +3 -3
  90. package/components/ripple-effect.js +1 -1
  91. package/components/select-popover.js +13 -19
  92. package/components/spinner.js +1 -1
  93. package/dist/cjs/{animation-4ad55058.js → animation-3e7bb91e.js} +1 -1
  94. package/dist/cjs/{app-globals-4d26cb5a.js → app-globals-e132c781.js} +1 -1
  95. package/dist/cjs/{button-active-e447f58b.js → button-active-60ecf64d.js} +1 -1
  96. package/dist/cjs/{data-e2bf21de.js → data-21dc0f81.js} +22 -39
  97. package/dist/cjs/{framework-delegate-53817ef1.js → framework-delegate-0499d444.js} +1 -1
  98. package/dist/cjs/{hardware-back-button-4cb049f1.js → hardware-back-button-1c67a5a2.js} +5 -5
  99. package/dist/cjs/{helpers-b71ca811.js → helpers-668b3d95.js} +1 -8
  100. package/dist/cjs/{index-7574e3d2.js → index-275cc12e.js} +1 -1
  101. package/dist/cjs/{index-ea266398.js → index-2d21d526.js} +441 -12
  102. package/dist/cjs/{index-bbc5b1f7.js → index-ba7ba0af.js} +4 -4
  103. package/dist/cjs/{index-347883f6.js → index-c49cb371.js} +1 -1
  104. package/dist/cjs/{index-92bb95d6.js → index-e4b6c97e.js} +4 -4
  105. package/dist/cjs/index.cjs.js +11 -11
  106. package/dist/cjs/{input-shims-679d87bc.js → input-shims-b419f083.js} +2 -2
  107. package/dist/cjs/{input.utils-5175aea1.js → input.utils-32c0a14a.js} +13 -1
  108. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  109. package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -11
  110. package/dist/cjs/ion-alert.cjs.entry.js +10 -10
  111. package/dist/cjs/ion-app_8.cjs.entry.js +29 -29
  112. package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
  113. package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
  114. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  115. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +7 -7
  116. package/dist/cjs/ion-button_2.cjs.entry.js +5 -5
  117. package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
  118. package/dist/cjs/ion-checkbox.cjs.entry.js +6 -6
  119. package/dist/cjs/ion-chip.cjs.entry.js +4 -4
  120. package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
  121. package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -13
  122. package/dist/cjs/ion-datetime_3.cjs.entry.js +77 -18
  123. package/dist/cjs/ion-fab_3.cjs.entry.js +9 -9
  124. package/dist/cjs/ion-img.cjs.entry.js +4 -4
  125. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
  126. package/dist/cjs/ion-input.cjs.entry.js +10 -10
  127. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  128. package/dist/cjs/ion-item_8.cjs.entry.js +23 -92
  129. package/dist/cjs/ion-loading.cjs.entry.js +9 -9
  130. package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
  131. package/dist/cjs/ion-modal.cjs.entry.js +12 -12
  132. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  133. package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
  134. package/dist/cjs/ion-picker-column.cjs.entry.js +6 -6
  135. package/dist/cjs/ion-picker.cjs.entry.js +4 -4
  136. package/dist/cjs/ion-popover.cjs.entry.js +10 -10
  137. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
  138. package/dist/cjs/ion-radio_2.cjs.entry.js +7 -7
  139. package/dist/cjs/ion-range.cjs.entry.js +133 -28
  140. package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
  141. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  142. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
  143. package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
  144. package/dist/cjs/ion-searchbar.cjs.entry.js +31 -7
  145. package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
  146. package/dist/cjs/ion-select_3.cjs.entry.js +13 -13
  147. package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
  148. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
  149. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
  150. package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
  151. package/dist/cjs/ion-text.cjs.entry.js +4 -4
  152. package/dist/cjs/ion-textarea.cjs.entry.js +9 -9
  153. package/dist/cjs/ion-toast.cjs.entry.js +9 -9
  154. package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
  155. package/dist/cjs/{ionic-global-59aa7eb7.js → ionic-global-5762eca9.js} +1 -1
  156. package/dist/cjs/ionic.cjs.js +28 -5
  157. package/dist/cjs/{ios.transition-997fe325.js → ios.transition-3e119901.js} +4 -4
  158. package/dist/cjs/loader.cjs.js +4 -4
  159. package/dist/cjs/{md.transition-2b76c2c6.js → md.transition-c1392f92.js} +4 -4
  160. package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-08a24f39.js} +1 -1
  161. package/dist/cjs/{overlays-3d02b54f.js → overlays-44b8d0e0.js} +64 -22
  162. package/dist/cjs/{status-tap-3761c2d4.js → status-tap-32430b3e.js} +3 -3
  163. package/dist/cjs/{swipe-back-5b71fc62.js → swipe-back-b8484483.js} +1 -1
  164. package/dist/collection/collection-manifest.json +1 -1
  165. package/dist/collection/components/action-sheet/action-sheet.js +3 -3
  166. package/dist/collection/components/alert/alert.js +2 -2
  167. package/dist/collection/components/app/app.js +4 -4
  168. package/dist/collection/components/avatar/avatar.js +1 -1
  169. package/dist/collection/components/back-button/back-button.js +2 -2
  170. package/dist/collection/components/backdrop/backdrop.js +1 -1
  171. package/dist/collection/components/badge/badge.js +2 -2
  172. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  173. package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
  174. package/dist/collection/components/button/button.js +2 -2
  175. package/dist/collection/components/buttons/buttons.js +2 -2
  176. package/dist/collection/components/card/card.js +1 -1
  177. package/dist/collection/components/card-content/card-content.js +1 -1
  178. package/dist/collection/components/card-header/card-header.js +2 -2
  179. package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
  180. package/dist/collection/components/card-title/card-title.js +2 -2
  181. package/dist/collection/components/checkbox/checkbox.js +3 -3
  182. package/dist/collection/components/checkbox/test/checkbox.spec.js +12 -0
  183. package/dist/collection/components/chip/chip.js +2 -2
  184. package/dist/collection/components/col/col.js +2 -2
  185. package/dist/collection/components/content/content.js +3 -3
  186. package/dist/collection/components/datetime/datetime.js +50 -7
  187. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +77 -0
  188. package/dist/collection/components/datetime/test/format.spec.js +65 -15
  189. package/dist/collection/components/datetime/utils/format.js +24 -37
  190. package/dist/collection/components/datetime/utils/validate.js +45 -0
  191. package/dist/collection/components/datetime-button/datetime-button.js +11 -10
  192. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +65 -0
  193. package/dist/collection/components/fab/fab.js +2 -2
  194. package/dist/collection/components/fab-button/fab-button.js +2 -2
  195. package/dist/collection/components/fab-list/fab-list.js +2 -2
  196. package/dist/collection/components/footer/footer.js +2 -2
  197. package/dist/collection/components/grid/grid.js +2 -2
  198. package/dist/collection/components/header/header.js +2 -2
  199. package/dist/collection/components/img/img.js +1 -1
  200. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  201. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  202. package/dist/collection/components/input/input.ios.css +2 -0
  203. package/dist/collection/components/input/input.js +3 -3
  204. package/dist/collection/components/input/input.md.css +4 -2
  205. package/dist/collection/components/input/test/highlight/input.e2e.js +144 -0
  206. package/dist/collection/components/item/item.ios.css +5 -197
  207. package/dist/collection/components/item/item.js +4 -166
  208. package/dist/collection/components/item/item.md.css +7 -360
  209. package/dist/collection/components/item/test/basic/item.e2e.js +0 -5
  210. package/dist/collection/components/item/test/item.spec.js +1 -1
  211. package/dist/collection/components/item-divider/item-divider.js +2 -2
  212. package/dist/collection/components/item-group/item-group.js +1 -1
  213. package/dist/collection/components/item-option/item-option.js +2 -2
  214. package/dist/collection/components/item-options/item-options.js +1 -1
  215. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  216. package/dist/collection/components/label/label.ios.css +0 -5
  217. package/dist/collection/components/label/label.js +2 -2
  218. package/dist/collection/components/label/label.md.css +0 -75
  219. package/dist/collection/components/list/list.js +1 -1
  220. package/dist/collection/components/list-header/list-header.js +2 -2
  221. package/dist/collection/components/loading/loading.js +2 -2
  222. package/dist/collection/components/menu/menu.js +12 -6
  223. package/dist/collection/components/menu-button/menu-button.js +2 -2
  224. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  225. package/dist/collection/components/modal/modal.js +3 -3
  226. package/dist/collection/components/nav/nav.js +1 -1
  227. package/dist/collection/components/nav-link/nav-link.js +1 -1
  228. package/dist/collection/components/note/note.js +2 -2
  229. package/dist/collection/components/picker/picker.js +2 -2
  230. package/dist/collection/components/picker-column/picker-column.js +3 -3
  231. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  232. package/dist/collection/components/picker-legacy/picker.js +2 -2
  233. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  234. package/dist/collection/components/popover/popover.js +2 -2
  235. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  236. package/dist/collection/components/radio/radio.js +3 -3
  237. package/dist/collection/components/radio-group/radio-group.js +1 -1
  238. package/dist/collection/components/range/range.js +129 -24
  239. package/dist/collection/components/range/test/range-events.e2e.js +27 -0
  240. package/dist/collection/components/refresher/refresher.js +1 -1
  241. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  242. package/dist/collection/components/reorder/reorder.js +1 -1
  243. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  244. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  245. package/dist/collection/components/router-link/router-link.js +2 -2
  246. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  247. package/dist/collection/components/row/row.js +1 -1
  248. package/dist/collection/components/searchbar/searchbar.js +84 -5
  249. package/dist/collection/components/searchbar/test/searchbar.spec.js +20 -2
  250. package/dist/collection/components/segment/segment.js +2 -2
  251. package/dist/collection/components/segment-button/segment-button.js +3 -3
  252. package/dist/collection/components/select/select.ios.css +5 -0
  253. package/dist/collection/components/select/select.js +2 -2
  254. package/dist/collection/components/select/select.md.css +4 -27
  255. package/dist/collection/components/select/test/highlight/select.e2e.js +88 -4
  256. package/dist/collection/components/select-option/select-option.js +1 -1
  257. package/dist/collection/components/select-popover/select-popover.js +1 -1
  258. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  259. package/dist/collection/components/spinner/spinner.js +1 -1
  260. package/dist/collection/components/split-pane/split-pane.js +2 -2
  261. package/dist/collection/components/tab/tab.js +2 -2
  262. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  263. package/dist/collection/components/tab-button/tab-button.js +2 -2
  264. package/dist/collection/components/tabs/tabs.js +1 -1
  265. package/dist/collection/components/text/text.js +2 -2
  266. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +144 -0
  267. package/dist/collection/components/textarea/textarea.ios.css +2 -20
  268. package/dist/collection/components/textarea/textarea.js +2 -2
  269. package/dist/collection/components/textarea/textarea.md.css +4 -15
  270. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  271. package/dist/collection/components/title/title.js +2 -2
  272. package/dist/collection/components/toast/toast.js +2 -2
  273. package/dist/collection/components/toggle/toggle.js +3 -3
  274. package/dist/collection/components/toolbar/toolbar.js +2 -2
  275. package/dist/collection/utils/forms/index.js +0 -1
  276. package/dist/collection/utils/hardware-back-button.js +2 -2
  277. package/dist/collection/utils/helpers.js +1 -8
  278. package/dist/collection/utils/overlays.js +61 -19
  279. package/dist/collection/utils/slot-mutation-controller.js +12 -0
  280. package/dist/collection/utils/test/overlays/overlays.spec.js +53 -0
  281. package/dist/docs.json +158 -189
  282. package/dist/esm/{animation-a4acf150.js → animation-9a23ed8d.js} +1 -1
  283. package/dist/esm/{app-globals-cfb6787b.js → app-globals-80842d68.js} +1 -1
  284. package/dist/esm/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
  285. package/dist/esm/{data-691286f1.js → data-ae11fd43.js} +23 -38
  286. package/dist/esm/{framework-delegate-1eb3236c.js → framework-delegate-3fd96df8.js} +1 -1
  287. package/dist/esm/{hardware-back-button-3a14f99e.js → hardware-back-button-fb295e3a.js} +5 -5
  288. package/dist/esm/{helpers-ae74b3c9.js → helpers-f51cf76f.js} +1 -8
  289. package/dist/esm/{index-1f563746.js → index-1262064c.js} +1 -1
  290. package/dist/esm/{index-9b6d6df3.js → index-5d6a0317.js} +441 -13
  291. package/dist/esm/{index-5847f4a9.js → index-6da05eef.js} +4 -4
  292. package/dist/esm/{index-66871a1d.js → index-86688780.js} +1 -1
  293. package/dist/esm/{index-03086279.js → index-9d7e5d3e.js} +4 -4
  294. package/dist/esm/index.js +11 -11
  295. package/dist/esm/{input-shims-56c1f603.js → input-shims-2a4ad5a1.js} +2 -2
  296. package/dist/esm/{input.utils-482fc893.js → input.utils-d2dee48e.js} +13 -1
  297. package/dist/esm/ion-accordion_2.entry.js +3 -3
  298. package/dist/esm/ion-action-sheet.entry.js +11 -11
  299. package/dist/esm/ion-alert.entry.js +10 -10
  300. package/dist/esm/ion-app_8.entry.js +29 -29
  301. package/dist/esm/ion-avatar_3.entry.js +6 -6
  302. package/dist/esm/ion-back-button.entry.js +5 -5
  303. package/dist/esm/ion-backdrop.entry.js +3 -3
  304. package/dist/esm/ion-breadcrumb_2.entry.js +7 -7
  305. package/dist/esm/ion-button_2.entry.js +5 -5
  306. package/dist/esm/ion-card_5.entry.js +11 -11
  307. package/dist/esm/ion-checkbox.entry.js +6 -6
  308. package/dist/esm/ion-chip.entry.js +4 -4
  309. package/dist/esm/ion-col_3.entry.js +7 -7
  310. package/dist/esm/ion-datetime-button.entry.js +14 -13
  311. package/dist/esm/ion-datetime_3.entry.js +77 -18
  312. package/dist/esm/ion-fab_3.entry.js +9 -9
  313. package/dist/esm/ion-img.entry.js +4 -4
  314. package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
  315. package/dist/esm/ion-input.entry.js +10 -10
  316. package/dist/esm/ion-item-option_3.entry.js +8 -8
  317. package/dist/esm/ion-item_8.entry.js +23 -92
  318. package/dist/esm/ion-loading.entry.js +9 -9
  319. package/dist/esm/ion-menu_3.entry.js +14 -14
  320. package/dist/esm/ion-modal.entry.js +12 -12
  321. package/dist/esm/ion-nav_2.entry.js +8 -8
  322. package/dist/esm/ion-picker-column-option.entry.js +5 -5
  323. package/dist/esm/ion-picker-column.entry.js +6 -6
  324. package/dist/esm/ion-picker.entry.js +4 -4
  325. package/dist/esm/ion-popover.entry.js +10 -10
  326. package/dist/esm/ion-progress-bar.entry.js +4 -4
  327. package/dist/esm/ion-radio_2.entry.js +7 -7
  328. package/dist/esm/ion-range.entry.js +133 -28
  329. package/dist/esm/ion-refresher_2.entry.js +7 -7
  330. package/dist/esm/ion-reorder_2.entry.js +6 -6
  331. package/dist/esm/ion-ripple-effect.entry.js +3 -3
  332. package/dist/esm/ion-route_4.entry.js +5 -5
  333. package/dist/esm/ion-searchbar.entry.js +31 -7
  334. package/dist/esm/ion-segment_2.entry.js +8 -8
  335. package/dist/esm/ion-select_3.entry.js +13 -13
  336. package/dist/esm/ion-spinner.entry.js +3 -3
  337. package/dist/esm/ion-split-pane.entry.js +4 -4
  338. package/dist/esm/ion-tab-bar_2.entry.js +7 -7
  339. package/dist/esm/ion-tab_2.entry.js +6 -6
  340. package/dist/esm/ion-text.entry.js +4 -4
  341. package/dist/esm/ion-textarea.entry.js +9 -9
  342. package/dist/esm/ion-toast.entry.js +9 -9
  343. package/dist/esm/ion-toggle.entry.js +6 -6
  344. package/dist/esm/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
  345. package/dist/esm/ionic.js +29 -6
  346. package/dist/esm/{ios.transition-a097dbf5.js → ios.transition-fbde96b0.js} +4 -4
  347. package/dist/esm/loader.js +5 -5
  348. package/dist/esm/{md.transition-b4170ef7.js → md.transition-76e0020b.js} +4 -4
  349. package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-00572cf8.js} +1 -1
  350. package/dist/esm/{overlays-4ba3b255.js → overlays-b1ac1c63.js} +64 -22
  351. package/dist/esm/{status-tap-7a12f017.js → status-tap-84b41f36.js} +3 -3
  352. package/dist/esm/{swipe-back-ae14449a.js → swipe-back-4f2e5d47.js} +1 -1
  353. package/dist/esm-es5/{animation-a4acf150.js → animation-9a23ed8d.js} +1 -1
  354. package/dist/esm-es5/app-globals-80842d68.js +4 -0
  355. package/dist/esm-es5/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
  356. package/dist/esm-es5/data-ae11fd43.js +4 -0
  357. package/dist/esm-es5/{framework-delegate-1eb3236c.js → framework-delegate-3fd96df8.js} +1 -1
  358. package/dist/esm-es5/hardware-back-button-fb295e3a.js +4 -0
  359. package/dist/esm-es5/helpers-f51cf76f.js +4 -0
  360. package/dist/esm-es5/index-1262064c.js +4 -0
  361. package/dist/esm-es5/index-5d6a0317.js +5 -0
  362. package/dist/esm-es5/{index-5847f4a9.js → index-6da05eef.js} +1 -1
  363. package/dist/esm-es5/{index-66871a1d.js → index-86688780.js} +1 -1
  364. package/dist/esm-es5/{index-03086279.js → index-9d7e5d3e.js} +1 -1
  365. package/dist/esm-es5/index.js +1 -1
  366. package/dist/esm-es5/{input-shims-56c1f603.js → input-shims-2a4ad5a1.js} +1 -1
  367. package/dist/esm-es5/input.utils-d2dee48e.js +4 -0
  368. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  369. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  370. package/dist/esm-es5/ion-alert.entry.js +1 -1
  371. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  372. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  373. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  374. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  375. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  376. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  377. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  378. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  379. package/dist/esm-es5/ion-chip.entry.js +1 -1
  380. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  381. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  382. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  383. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  384. package/dist/esm-es5/ion-img.entry.js +1 -1
  385. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  386. package/dist/esm-es5/ion-input.entry.js +1 -1
  387. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  388. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  389. package/dist/esm-es5/ion-loading.entry.js +1 -1
  390. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  391. package/dist/esm-es5/ion-modal.entry.js +1 -1
  392. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  393. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  394. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  395. package/dist/esm-es5/ion-picker.entry.js +1 -1
  396. package/dist/esm-es5/ion-popover.entry.js +1 -1
  397. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  398. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  399. package/dist/esm-es5/ion-range.entry.js +1 -1
  400. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  401. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  402. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  403. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  404. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  405. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  406. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  407. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  408. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  409. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  410. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  411. package/dist/esm-es5/ion-text.entry.js +1 -1
  412. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  413. package/dist/esm-es5/ion-toast.entry.js +1 -1
  414. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  415. package/dist/esm-es5/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
  416. package/dist/esm-es5/ionic.js +1 -1
  417. package/dist/esm-es5/{ios.transition-a097dbf5.js → ios.transition-fbde96b0.js} +1 -1
  418. package/dist/esm-es5/loader.js +1 -1
  419. package/dist/esm-es5/md.transition-76e0020b.js +4 -0
  420. package/dist/esm-es5/{notch-controller-18bf9f76.js → notch-controller-00572cf8.js} +1 -1
  421. package/dist/esm-es5/overlays-b1ac1c63.js +4 -0
  422. package/dist/esm-es5/{status-tap-7a12f017.js → status-tap-84b41f36.js} +1 -1
  423. package/dist/esm-es5/{swipe-back-ae14449a.js → swipe-back-4f2e5d47.js} +1 -1
  424. package/dist/html.html-data.json +24 -26
  425. package/dist/ionic/index.esm.js +1 -1
  426. package/dist/ionic/ionic.esm.js +1 -1
  427. package/dist/ionic/ionic.js +1 -1
  428. package/dist/ionic/{p-a8cc0027.system.js → p-01171ead.system.js} +1 -1
  429. package/dist/ionic/{p-5aa60929.js → p-031c5621.js} +1 -1
  430. package/dist/ionic/{p-d504bc71.entry.js → p-03f3ebd2.entry.js} +1 -1
  431. package/dist/ionic/{p-a06af32c.system.js → p-04f9ce05.system.js} +1 -1
  432. package/dist/ionic/{p-7665bbbc.system.entry.js → p-063c093d.system.entry.js} +1 -1
  433. package/dist/ionic/p-06e951a9.entry.js +4 -0
  434. package/dist/ionic/{p-77982637.entry.js → p-070cf7c3.entry.js} +1 -1
  435. package/dist/ionic/{p-7b795aee.system.entry.js → p-07a0190a.system.entry.js} +1 -1
  436. package/dist/ionic/{p-1bca443b.system.entry.js → p-0afaf65b.system.entry.js} +1 -1
  437. package/dist/ionic/p-0b175848.entry.js +4 -0
  438. package/dist/ionic/p-0da58e53.entry.js +4 -0
  439. package/dist/ionic/p-0eb381c3.system.js +4 -0
  440. package/dist/ionic/p-144ae947.js +4 -0
  441. package/dist/ionic/{p-c5b77291.system.entry.js → p-15e2ff5f.system.entry.js} +1 -1
  442. package/dist/ionic/{p-85cb4733.entry.js → p-19243ae6.entry.js} +1 -1
  443. package/dist/ionic/p-1acaf641.entry.js +4 -0
  444. package/dist/ionic/{p-8e83b7f1.system.entry.js → p-1d1394da.system.entry.js} +1 -1
  445. package/dist/ionic/{p-842777af.js → p-1e5c0c49.js} +1 -1
  446. package/dist/ionic/{p-1ed99eba.system.entry.js → p-2028668d.system.entry.js} +1 -1
  447. package/dist/ionic/{p-1a68de09.entry.js → p-2070f8d8.entry.js} +1 -1
  448. package/dist/ionic/{p-1c436e95.system.entry.js → p-219c17cf.system.entry.js} +1 -1
  449. package/dist/ionic/p-21e88629.entry.js +4 -0
  450. package/dist/ionic/{p-41970e75.entry.js → p-234dc736.entry.js} +1 -1
  451. package/dist/ionic/{p-1600d68c.system.entry.js → p-237b1791.system.entry.js} +1 -1
  452. package/dist/ionic/{p-27594fc2.js → p-239906f1.js} +1 -1
  453. package/dist/ionic/{p-85464e28.system.entry.js → p-25648922.system.entry.js} +2 -2
  454. package/dist/ionic/{p-e38b3c29.entry.js → p-29ecf879.entry.js} +1 -1
  455. package/dist/ionic/{p-454b36f7.system.entry.js → p-2c560619.system.entry.js} +1 -1
  456. package/dist/ionic/{p-62f15daf.system.entry.js → p-2e2635b4.system.entry.js} +2 -2
  457. package/dist/ionic/p-2f53f47a.entry.js +4 -0
  458. package/dist/ionic/{p-6d95943d.system.js → p-30dfa360.system.js} +1 -1
  459. package/dist/ionic/p-314ae72a.js +4 -0
  460. package/dist/ionic/{p-816476b0.system.js → p-33e39575.system.js} +1 -1
  461. package/dist/ionic/p-355736ea.js +4 -0
  462. package/dist/ionic/p-373e757d.entry.js +4 -0
  463. package/dist/ionic/{p-8a50f8d6.system.js → p-3944820a.system.js} +1 -1
  464. package/dist/ionic/p-39483fc9.js +4 -0
  465. package/dist/ionic/{p-5afb6e48.entry.js → p-39860681.entry.js} +1 -1
  466. package/dist/ionic/{p-6fd26009.js → p-3a572692.js} +1 -1
  467. package/dist/ionic/{p-a5b7a286.entry.js → p-42d9f81e.entry.js} +1 -1
  468. package/dist/ionic/{p-b4bb9cd0.system.entry.js → p-45a2b1ee.system.entry.js} +1 -1
  469. package/dist/ionic/{p-15708968.js → p-46a4e4e8.js} +1 -1
  470. package/dist/ionic/{p-f16bfd53.entry.js → p-48fef2f1.entry.js} +1 -1
  471. package/dist/ionic/p-493bce1f.entry.js +4 -0
  472. package/dist/ionic/{p-c38c5dfc.system.js → p-4997d7dc.system.js} +1 -1
  473. package/dist/ionic/{p-cb944b1a.system.js → p-49a205d0.system.js} +1 -1
  474. package/dist/ionic/{p-c880c809.js → p-4ba6d7d1.js} +1 -1
  475. package/dist/ionic/p-4d6ec139.entry.js +4 -0
  476. package/dist/ionic/p-4d7230bd.system.entry.js +4 -0
  477. package/dist/ionic/{p-8d4d902b.js → p-4da2ae44.js} +1 -1
  478. package/dist/ionic/{p-466bdeae.entry.js → p-5054b3db.entry.js} +1 -1
  479. package/dist/ionic/{p-f7ed6a44.system.entry.js → p-50d19fc7.system.entry.js} +1 -1
  480. package/dist/ionic/p-513abaf6.system.entry.js +4 -0
  481. package/dist/ionic/p-517b76cb.entry.js +4 -0
  482. package/dist/ionic/{p-a6cc38d4.js → p-51b1a6be.js} +1 -1
  483. package/dist/ionic/p-53c592ec.system.js +4 -0
  484. package/dist/ionic/{p-ebe0be94.system.entry.js → p-566818dd.system.entry.js} +1 -1
  485. package/dist/ionic/{p-6e1fa025.js → p-59e86adb.js} +1 -1
  486. package/dist/ionic/{p-91a72ad6.system.entry.js → p-5f9abba8.system.entry.js} +2 -2
  487. package/dist/ionic/{p-baa409f1.system.entry.js → p-6042920d.system.entry.js} +2 -2
  488. package/dist/ionic/{p-7b44b443.entry.js → p-65374504.entry.js} +1 -1
  489. package/dist/ionic/{p-f3d6085c.entry.js → p-66596659.entry.js} +1 -1
  490. package/dist/ionic/p-667290b0.system.js +4 -0
  491. package/dist/ionic/{p-c3a2e5cc.entry.js → p-66e50777.entry.js} +1 -1
  492. package/dist/ionic/{p-4a8f173c.system.js → p-67dbcd3b.system.js} +1 -1
  493. package/dist/ionic/{p-95e14c7b.system.js → p-696db6f4.system.js} +1 -1
  494. package/dist/ionic/p-69df28fd.entry.js +4 -0
  495. package/dist/ionic/p-6d0e7669.system.entry.js +4 -0
  496. package/dist/ionic/p-6d1f5de9.system.entry.js +4 -0
  497. package/dist/ionic/{p-dcfc297d.system.entry.js → p-6d75fbe8.system.entry.js} +1 -1
  498. package/dist/ionic/{p-d4d0538c.system.entry.js → p-7162350a.system.entry.js} +1 -1
  499. package/dist/ionic/p-7200f2da.entry.js +4 -0
  500. package/dist/ionic/{p-81869a97.system.entry.js → p-739f8b95.system.entry.js} +1 -1
  501. package/dist/ionic/{p-7a3fa32c.entry.js → p-75addf49.entry.js} +1 -1
  502. package/dist/ionic/{p-1fa738c4.js → p-78b3da77.js} +1 -1
  503. package/dist/ionic/{p-03f63663.system.js → p-7c7e495d.system.js} +1 -1
  504. package/dist/ionic/{p-8ab308e9.js → p-7d4f6f18.js} +1 -1
  505. package/dist/ionic/{p-5c3991e3.system.entry.js → p-824d44c5.system.entry.js} +2 -2
  506. package/dist/ionic/{p-ded27993.entry.js → p-8c0b08db.entry.js} +1 -1
  507. package/dist/ionic/p-8dfe436d.system.js +4 -0
  508. package/dist/ionic/{p-da83d833.system.entry.js → p-91567c90.system.entry.js} +1 -1
  509. package/dist/ionic/{p-5a055df4.entry.js → p-95648db9.entry.js} +1 -1
  510. package/dist/ionic/{p-f71082f7.entry.js → p-9c970454.entry.js} +1 -1
  511. package/dist/ionic/{p-30892e0c.system.js → p-9e3177a5.system.js} +1 -1
  512. package/dist/ionic/p-a03c993e.entry.js +4 -0
  513. package/dist/ionic/{p-8aeed464.system.entry.js → p-a37d4fe9.system.entry.js} +1 -1
  514. package/dist/ionic/{p-3bac30bf.system.entry.js → p-a43fbe0a.system.entry.js} +1 -1
  515. package/dist/ionic/{p-1a5ed3fe.system.entry.js → p-a5c33d6b.system.entry.js} +1 -1
  516. package/dist/ionic/p-a7f788ec.entry.js +4 -0
  517. package/dist/ionic/{p-1e0a18a1.system.entry.js → p-acd64713.system.entry.js} +1 -1
  518. package/dist/ionic/{p-eec92f77.system.js → p-af9256a0.system.js} +1 -1
  519. package/dist/ionic/{p-7541ca9f.system.entry.js → p-b0850af6.system.entry.js} +1 -1
  520. package/dist/ionic/p-b0d35de4.system.js +4 -0
  521. package/dist/ionic/p-b996756b.entry.js +4 -0
  522. package/dist/ionic/p-ba9120fe.system.entry.js +4 -0
  523. package/dist/ionic/p-bb78b64e.entry.js +4 -0
  524. package/dist/ionic/{p-97135baa.entry.js → p-bbc4f653.entry.js} +1 -1
  525. package/dist/ionic/p-c34d1515.js +4 -0
  526. package/dist/ionic/{p-82f5375e.system.entry.js → p-c4390f10.system.entry.js} +1 -1
  527. package/dist/ionic/p-c629d22b.system.js +5 -0
  528. package/dist/ionic/p-c834c535.system.entry.js +4 -0
  529. package/dist/ionic/{p-ad2b216a.system.entry.js → p-c8675b7b.system.entry.js} +1 -1
  530. package/dist/ionic/{p-6ef5f4da.entry.js → p-c8f7f923.entry.js} +1 -1
  531. package/dist/ionic/p-c962e9ea.entry.js +4 -0
  532. package/dist/ionic/{p-e64277c4.entry.js → p-cada6331.entry.js} +1 -1
  533. package/dist/ionic/p-cc19ecba.system.entry.js +4 -0
  534. package/dist/ionic/{p-1ea88de9.system.js → p-ce36d285.system.js} +1 -1
  535. package/dist/ionic/{p-fd94dd20.system.entry.js → p-d09c9468.system.entry.js} +1 -1
  536. package/dist/ionic/{p-4523be60.entry.js → p-d10bbab7.entry.js} +1 -1
  537. package/dist/ionic/p-d268f7e2.system.entry.js +4 -0
  538. package/dist/ionic/{p-4c2cac66.entry.js → p-d3c1c23f.entry.js} +1 -1
  539. package/dist/ionic/{p-780ff3b5.system.entry.js → p-d4be0d81.system.entry.js} +1 -1
  540. package/dist/ionic/p-d5ef3a0a.entry.js +4 -0
  541. package/dist/ionic/p-d60342e3.js +4 -0
  542. package/dist/ionic/{p-1ce172db.entry.js → p-d85eebc3.entry.js} +1 -1
  543. package/dist/ionic/{p-09872ec8.system.entry.js → p-d9dfdbb5.system.entry.js} +1 -1
  544. package/dist/ionic/{p-25850474.entry.js → p-da5bbd4f.entry.js} +1 -1
  545. package/dist/ionic/{p-7cc01684.js → p-dad515dc.js} +1 -1
  546. package/dist/ionic/{p-afcd4f49.entry.js → p-de39f314.entry.js} +1 -1
  547. package/dist/ionic/{p-ddc4e717.entry.js → p-de4c700f.entry.js} +1 -1
  548. package/dist/ionic/{p-19f6ac6c.system.js → p-e01ebeba.system.js} +1 -1
  549. package/dist/ionic/{p-602494c6.entry.js → p-e222fdd1.entry.js} +1 -1
  550. package/dist/ionic/{p-add93c7a.entry.js → p-e5e492d8.entry.js} +1 -1
  551. package/dist/ionic/{p-874510e9.system.entry.js → p-e9412fe7.system.entry.js} +1 -1
  552. package/dist/ionic/{p-3410a9cb.system.js → p-ea5173f9.system.js} +1 -1
  553. package/dist/ionic/{p-4825e380.entry.js → p-eb546888.entry.js} +1 -1
  554. package/dist/ionic/{p-65d3f0e9.js → p-eee87ebb.js} +1 -1
  555. package/dist/ionic/p-f012e8f2.system.entry.js +4 -0
  556. package/dist/ionic/{p-aaca8dd4.system.entry.js → p-f15b0bbc.system.entry.js} +1 -1
  557. package/dist/ionic/{p-2b3e0d99.system.entry.js → p-f15f8140.system.entry.js} +1 -1
  558. package/dist/ionic/{p-a71dc777.system.js → p-f3e8c505.system.js} +1 -1
  559. package/dist/ionic/{p-760dbd5e.js → p-f5cb9689.js} +1 -1
  560. package/dist/ionic/p-f687573e.system.js +4 -0
  561. package/dist/ionic/{p-f6a6b7ef.system.entry.js → p-f6db2e96.system.entry.js} +2 -2
  562. package/dist/ionic/p-f8502e85.js +5 -0
  563. package/dist/ionic/{p-cd366840.system.entry.js → p-f8dfae89.system.entry.js} +1 -1
  564. package/dist/ionic/p-fcec3b7a.system.entry.js +4 -0
  565. package/dist/ionic/{p-cb0e4100.system.entry.js → p-ff740d68.system.entry.js} +1 -1
  566. package/dist/types/components/datetime/datetime-interface.d.ts +10 -0
  567. package/dist/types/components/datetime/datetime.d.ts +9 -1
  568. package/dist/types/components/datetime/utils/format.d.ts +7 -13
  569. package/dist/types/components/datetime/utils/validate.d.ts +8 -0
  570. package/dist/types/components/item/item.d.ts +0 -32
  571. package/dist/types/components/menu/menu-interface.d.ts +1 -0
  572. package/dist/types/components/menu/menu.d.ts +2 -2
  573. package/dist/types/components/range/range.d.ts +29 -0
  574. package/dist/types/components/searchbar/searchbar.d.ts +38 -0
  575. package/dist/types/components.d.ts +38 -46
  576. package/dist/types/utils/forms/index.d.ts +0 -1
  577. package/dist/types/utils/hardware-back-button.d.ts +1 -1
  578. package/dist/types/utils/helpers.d.ts +0 -1
  579. package/hydrate/index.js +499 -349
  580. package/package.json +1 -1
  581. package/components/note.js +0 -48
  582. package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +0 -14
  583. package/dist/collection/utils/forms/form-controller.js +0 -61
  584. package/dist/esm-es5/app-globals-cfb6787b.js +0 -4
  585. package/dist/esm-es5/data-691286f1.js +0 -4
  586. package/dist/esm-es5/hardware-back-button-3a14f99e.js +0 -4
  587. package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
  588. package/dist/esm-es5/index-1f563746.js +0 -4
  589. package/dist/esm-es5/index-9b6d6df3.js +0 -5
  590. package/dist/esm-es5/input.utils-482fc893.js +0 -4
  591. package/dist/esm-es5/md.transition-b4170ef7.js +0 -4
  592. package/dist/esm-es5/overlays-4ba3b255.js +0 -4
  593. package/dist/ionic/p-060fdc03.entry.js +0 -4
  594. package/dist/ionic/p-069388dd.system.js +0 -4
  595. package/dist/ionic/p-06fccad7.entry.js +0 -4
  596. package/dist/ionic/p-0ca35c1d.system.entry.js +0 -4
  597. package/dist/ionic/p-134d4936.system.js +0 -4
  598. package/dist/ionic/p-19e79fe8.entry.js +0 -4
  599. package/dist/ionic/p-22d2a891.js +0 -4
  600. package/dist/ionic/p-239262e4.system.entry.js +0 -4
  601. package/dist/ionic/p-300b2cf1.entry.js +0 -4
  602. package/dist/ionic/p-32bd7ed7.entry.js +0 -4
  603. package/dist/ionic/p-43322b14.js +0 -4
  604. package/dist/ionic/p-4ad02639.entry.js +0 -4
  605. package/dist/ionic/p-5289aade.js +0 -4
  606. package/dist/ionic/p-60efe117.js +0 -5
  607. package/dist/ionic/p-6657681b.system.entry.js +0 -4
  608. package/dist/ionic/p-66e6860f.system.js +0 -4
  609. package/dist/ionic/p-6e5eeb35.entry.js +0 -4
  610. package/dist/ionic/p-6f6d56f1.entry.js +0 -4
  611. package/dist/ionic/p-70218e28.system.entry.js +0 -4
  612. package/dist/ionic/p-72bc2484.system.entry.js +0 -4
  613. package/dist/ionic/p-82d459c1.js +0 -4
  614. package/dist/ionic/p-8ba5912c.entry.js +0 -4
  615. package/dist/ionic/p-8d50220b.system.js +0 -4
  616. package/dist/ionic/p-8d602214.system.js +0 -5
  617. package/dist/ionic/p-8e3ee444.system.entry.js +0 -4
  618. package/dist/ionic/p-9382ebab.entry.js +0 -4
  619. package/dist/ionic/p-942c19cb.entry.js +0 -4
  620. package/dist/ionic/p-96391c0e.entry.js +0 -4
  621. package/dist/ionic/p-9d6f351e.js +0 -4
  622. package/dist/ionic/p-9e3b3f15.system.js +0 -4
  623. package/dist/ionic/p-a375c9f6.system.entry.js +0 -4
  624. package/dist/ionic/p-a58ec401.js +0 -4
  625. package/dist/ionic/p-b1a9e85a.system.entry.js +0 -4
  626. package/dist/ionic/p-bcb58446.entry.js +0 -4
  627. package/dist/ionic/p-c2336a9e.system.entry.js +0 -4
  628. package/dist/ionic/p-cbc3840e.entry.js +0 -4
  629. package/dist/ionic/p-cf852615.system.entry.js +0 -4
  630. package/dist/ionic/p-e15eda82.system.js +0 -4
  631. package/dist/ionic/p-e470466e.entry.js +0 -4
  632. package/dist/ionic/p-ef99a759.entry.js +0 -4
  633. package/dist/ionic/p-fc5ddbf6.entry.js +0 -4
  634. package/dist/ionic/p-feb66f6f.entry.js +0 -4
  635. package/dist/types/utils/forms/form-controller.d.ts +0 -15
@@ -64,6 +64,7 @@
64
64
  * @prop --placeholder-color: Color of the select placeholder text
65
65
  * @prop --placeholder-opacity: Opacity of the select placeholder text
66
66
  *
67
+ * @prop --highlight-height: The height of the highlight on the select. Only applies to md mode.
67
68
  * @prop --highlight-color-focused: The color of the highlight on the select when focused
68
69
  * @prop --highlight-color-invalid: The color of the highlight on the select when invalid
69
70
  * @prop --highlight-color-valid: The color of the highlight on the select when valid
@@ -902,7 +903,7 @@ button {
902
903
  */
903
904
  :host(.select-fill-outline.select-expanded),
904
905
  :host(.select-fill-outline.ion-focused) {
905
- --border-width: 2px;
906
+ --border-width: var(--highlight-height);
906
907
  --border-color: var(--highlight-color);
907
908
  }
908
909
 
@@ -1106,6 +1107,7 @@ button {
1106
1107
  :host {
1107
1108
  --border-width: 1px;
1108
1109
  --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));
1110
+ --highlight-height: 2px;
1109
1111
  }
1110
1112
 
1111
1113
  .select-icon {
@@ -1137,7 +1139,7 @@ button {
1137
1139
  bottom: -1px;
1138
1140
  position: absolute;
1139
1141
  width: 100%;
1140
- height: 2px;
1142
+ height: var(--highlight-height);
1141
1143
  transform: scale(0);
1142
1144
  transition: transform 200ms;
1143
1145
  background: var(--highlight-color);
@@ -1185,31 +1187,6 @@ button {
1185
1187
  color: var(--highlight-color);
1186
1188
  }
1187
1189
 
1188
- /**
1189
- * Adjust the arrow so that it appears in the middle
1190
- * of the item. If the item has fill="outline" then
1191
- * we should adjust the entire ion-select rather than
1192
- * just the outline so the selected value appears centered too.
1193
- */
1194
- :host-context(.item-label-stacked) .select-icon,
1195
- :host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,
1196
- :host-context(.item-label-floating.item-fill-outline) {
1197
- transform: translate3d(0, -9px, 0);
1198
- }
1199
-
1200
- :host-context(.item-has-focus):host(:not(.has-expanded-icon)) .select-icon {
1201
- transform: rotate(180deg);
1202
- }
1203
-
1204
- /**
1205
- * Ensure that the translation we did
1206
- * above is preserved when we rotate the select icon.
1207
- */
1208
- :host-context(.item-has-focus.item-label-stacked):host(:not(.has-expanded-icon)) .select-icon,
1209
- :host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)):host(:not(.has-expanded-icon)) .select-icon {
1210
- transform: translate3d(0, -9px, 0) rotate(180deg);
1211
- }
1212
-
1213
1190
  :host(.select-shape-round) {
1214
1191
  --border-radius: 16px;
1215
1192
  }
@@ -4,8 +4,8 @@
4
4
  import { expect } from "@playwright/test";
5
5
  import { configs, test } from "../../../../utils/test/playwright/index";
6
6
  configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
7
- test.describe(title('input: highlights'), () => {
8
- test.describe('input: no fill', () => {
7
+ test.describe(title('select: highlights'), () => {
8
+ test.describe('select: no fill', () => {
9
9
  test('should render valid state correctly', async ({ page }) => {
10
10
  await page.setContent(`
11
11
  <ion-select value="apple" class="ion-valid ion-focused" label="Favorite Fruit">
@@ -33,8 +33,36 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
33
33
  const select = page.locator('ion-select');
34
34
  await expect(select).toHaveScreenshot(screenshot(`select-no-fill-focus`));
35
35
  });
36
+ test('should render custom highlight correctly', async ({ page }) => {
37
+ await page.setContent(`
38
+ <style>
39
+ ion-select.custom {
40
+ --highlight-color-focused: red;
41
+ --highlight-color-invalid: blue;
42
+ --highlight-color-valid: purple;
43
+ --highlight-height: 6px;
44
+ }
45
+ </style>
46
+
47
+ <div class="container">
48
+ <ion-select value="apple" class="custom ion-valid ion-focused" label="Favorite Fruit">
49
+ <ion-select-option value="apple">Apple</ion-select-option>
50
+ </ion-select>
51
+
52
+ <ion-select value="apple" class="custom ion-touched ion-invalid ion-focused" label="Favorite Fruit">
53
+ <ion-select-option value="apple">Apple</ion-select-option>
54
+ </ion-select>
55
+
56
+ <ion-select value="apple" class="custom ion-focused" label="Favorite Fruit">
57
+ <ion-select-option value="apple">Apple</ion-select-option>
58
+ </ion-select>
59
+ </div>
60
+ `, config);
61
+ const container = page.locator('.container');
62
+ await expect(container).toHaveScreenshot(screenshot(`select-no-fill-custom-highlight`));
63
+ });
36
64
  });
37
- test.describe('input: solid', () => {
65
+ test.describe('select: solid', () => {
38
66
  test('should render valid state correctly', async ({ page }) => {
39
67
  await page.setContent(`
40
68
  <ion-select fill="solid" value="apple" class="ion-valid ion-focused" label="Favorite Fruit">
@@ -62,8 +90,36 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
62
90
  const select = page.locator('ion-select');
63
91
  await expect(select).toHaveScreenshot(screenshot(`select-solid-focus`));
64
92
  });
93
+ test('should render custom highlight correctly', async ({ page }) => {
94
+ await page.setContent(`
95
+ <style>
96
+ ion-select.custom {
97
+ --highlight-color-focused: red;
98
+ --highlight-color-invalid: blue;
99
+ --highlight-color-valid: purple;
100
+ --highlight-height: 6px;
101
+ }
102
+ </style>
103
+
104
+ <div class="container">
105
+ <ion-select fill="solid" value="apple" class="custom ion-valid ion-focused" label="Favorite Fruit">
106
+ <ion-select-option value="apple">Apple</ion-select-option>
107
+ </ion-select>
108
+
109
+ <ion-select fill="solid" value="apple" class="custom ion-touched ion-invalid ion-focused" label="Favorite Fruit">
110
+ <ion-select-option value="apple">Apple</ion-select-option>
111
+ </ion-select>
112
+
113
+ <ion-select fill="solid" value="apple" class="custom ion-focused" label="Favorite Fruit">
114
+ <ion-select-option value="apple">Apple</ion-select-option>
115
+ </ion-select>
116
+ </div>
117
+ `, config);
118
+ const container = page.locator('.container');
119
+ await expect(container).toHaveScreenshot(screenshot(`select-solid-custom-highlight`));
120
+ });
65
121
  });
66
- test.describe('input: outline', () => {
122
+ test.describe('select: outline', () => {
67
123
  test('should render valid state correctly', async ({ page }) => {
68
124
  await page.setContent(`
69
125
  <ion-select fill="outline" value="apple" class="ion-valid ion-focused" label="Favorite Fruit">
@@ -91,6 +147,34 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
91
147
  const select = page.locator('ion-select');
92
148
  await expect(select).toHaveScreenshot(screenshot(`select-outline-focus`));
93
149
  });
150
+ test('should render custom highlight correctly', async ({ page }) => {
151
+ await page.setContent(`
152
+ <style>
153
+ ion-select.custom {
154
+ --highlight-color-focused: red;
155
+ --highlight-color-invalid: blue;
156
+ --highlight-color-valid: purple;
157
+ --highlight-height: 6px;
158
+ }
159
+ </style>
160
+
161
+ <div class="container">
162
+ <ion-select fill="outline" value="apple" class="custom ion-valid ion-focused" label="Favorite Fruit">
163
+ <ion-select-option value="apple">Apple</ion-select-option>
164
+ </ion-select>
165
+
166
+ <ion-select fill="outline" value="apple" class="custom ion-touched ion-invalid ion-focused" label="Favorite Fruit">
167
+ <ion-select-option value="apple">Apple</ion-select-option>
168
+ </ion-select>
169
+
170
+ <ion-select fill="outline" value="apple" class="custom ion-focused" label="Favorite Fruit">
171
+ <ion-select-option value="apple">Apple</ion-select-option>
172
+ </ion-select>
173
+ </div>
174
+ `, config);
175
+ const container = page.locator('.container');
176
+ await expect(container).toHaveScreenshot(screenshot(`select-outline-custom-highlight`));
177
+ });
94
178
  });
95
179
  });
96
180
  test.describe(title('select: expanded highlight'), () => {
@@ -10,7 +10,7 @@ export class SelectOption {
10
10
  this.value = undefined;
11
11
  }
12
12
  render() {
13
- return h(Host, { key: 'e46b062b71c143792bb74527ba4980e02edc14b3', role: "option", id: this.inputId, class: getIonMode(this) });
13
+ return h(Host, { key: 'd26050569d40011a686a66ab7bc59ffa7163d264', role: "option", id: this.inputId, class: getIonMode(this) });
14
14
  }
15
15
  static get is() { return "ion-select-option"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -102,7 +102,7 @@ export class SelectPopover {
102
102
  render() {
103
103
  const { header, message, options, subHeader } = this;
104
104
  const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
105
- return (h(Host, { key: '07c094ea0b8ba353f6147a912eedc3c75719fd4e', class: getIonMode(this) }, h("ion-list", { key: '4d110e3e036bbfecc418d0e37fc9bc4ec0c18674' }, header !== undefined && h("ion-list-header", null, header), hasSubHeaderOrMessage && (h("ion-item", null, h("ion-label", { class: "ion-text-wrap" }, subHeader !== undefined && h("h3", null, subHeader), message !== undefined && h("p", null, message)))), this.renderOptions(options))));
105
+ return (h(Host, { key: '7b93c55895f66fc6431862b7b47eeb60eaa8c292', class: getIonMode(this) }, h("ion-list", { key: '3a74ec35ec9b627a192d8ad3a206f81df838342b' }, header !== undefined && h("ion-list-header", null, header), hasSubHeaderOrMessage && (h("ion-item", null, h("ion-label", { class: "ion-text-wrap" }, subHeader !== undefined && h("h3", null, subHeader), message !== undefined && h("p", null, message)))), this.renderOptions(options))));
106
106
  }
107
107
  static get is() { return "ion-select-popover"; }
108
108
  static get encapsulation() { return "scoped"; }
@@ -25,11 +25,11 @@ export class SkeletonText {
25
25
  const animated = this.animated && config.getBoolean('animated', true);
26
26
  const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
27
27
  const mode = getIonMode(this);
28
- return (h(Host, { key: 'e0a84e5017cde072087d5580dd370bbd36106f99', class: {
28
+ return (h(Host, { key: 'f6b1a1888a3cac52acbeb4957ca32befd6bc52f8', class: {
29
29
  [mode]: true,
30
30
  'skeleton-text-animated': animated,
31
31
  'in-media': inMedia,
32
- } }, h("span", { key: '3274a42e3fd4f1b9fb285f4b982416e1f68ac766' }, "\u00A0")));
32
+ } }, h("span", { key: '1e61b9d249f8e3bcb55c06de8311c224866b9632' }, "\u00A0")));
33
33
  }
34
34
  static get is() { return "ion-skeleton-text"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class Spinner {
39
39
  svgs.push(buildLine(spinner, duration, i, spinner.lines));
40
40
  }
41
41
  }
42
- return (h(Host, { key: 'bfb8b93a58da60686f6a1e6b8a5e0d1b7dea1f5d', class: createColorClasses(self.color, {
42
+ return (h(Host, { key: 'd33d08486ee9d9069abbe37b17e58fc2c321a414', class: createColorClasses(self.color, {
43
43
  [mode]: true,
44
44
  [`spinner-${spinnerName}`]: true,
45
45
  'spinner-paused': self.paused || config.getBoolean('_testing'),
@@ -118,12 +118,12 @@ export class SplitPane {
118
118
  }
119
119
  render() {
120
120
  const mode = getIonMode(this);
121
- return (h(Host, { key: 'ea58eb10f1e0040f8b193684085dcf0b6fb70736', class: {
121
+ return (h(Host, { key: '0f83e45ded140540bf43da4c5ff2c3540cc3b74b', class: {
122
122
  [mode]: true,
123
123
  // Used internally for styling
124
124
  [`split-pane-${mode}`]: true,
125
125
  'split-pane-visible': this.visible,
126
- } }, h("slot", { key: '568992064ae695fb4de01aef59d6f6e3359e1e0f' })));
126
+ } }, h("slot", { key: '77ff2487fa265f9f5e96fdffad80dc9c417f896a' })));
127
127
  }
128
128
  static get is() { return "ion-split-pane"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -48,10 +48,10 @@ export class Tab {
48
48
  }
49
49
  render() {
50
50
  const { tab, active, component } = this;
51
- return (h(Host, { key: 'e67484767fa4aab6bc90db390a90eb5e24e51f14', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
51
+ return (h(Host, { key: '4892bdb4aab5f2e2bb08e78fd7f67b3902ada693', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
52
52
  'ion-page': component === undefined,
53
53
  'tab-hidden': !active,
54
- } }, h("slot", { key: 'ad6523d5a128d457d09e88739f8218cdf16152de' })));
54
+ } }, h("slot", { key: 'd919df91de8fd547581329e566bddacac64509a0' })));
55
55
  }
56
56
  static get is() { return "ion-tab"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -51,11 +51,11 @@ export class TabBar {
51
51
  const { color, translucent, keyboardVisible } = this;
52
52
  const mode = getIonMode(this);
53
53
  const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
54
- return (h(Host, { key: '2d30e75e19d86a1eb65cff8ddab0cb059f59b224', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
54
+ return (h(Host, { key: 'cbebdd59017a50a71e4e9e6ae831f4ca6eb64884', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
55
55
  [mode]: true,
56
56
  'tab-bar-translucent': translucent,
57
57
  'tab-bar-hidden': shouldHide,
58
- }) }, h("slot", { key: '5b739f1bbe21c887b7810383edd2f67143ac086e' })));
58
+ }) }, h("slot", { key: 'b58c66562e91f3584a270c4c755c6bd8c165e634' })));
59
59
  }
60
60
  static get is() { return "ion-tab-bar"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class TabButton {
70
70
  rel,
71
71
  target,
72
72
  };
73
- return (h(Host, { key: 'b37743b20b93c27ffb0094b35545292533f9d30f', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
73
+ return (h(Host, { key: '6cbc09067f12f3b643f2bfc3bdc1eddf81b00daa', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
74
74
  [mode]: true,
75
75
  'tab-selected': selected,
76
76
  'tab-disabled': disabled,
@@ -82,7 +82,7 @@ export class TabButton {
82
82
  'ion-activatable': true,
83
83
  'ion-selectable': true,
84
84
  'ion-focusable': true,
85
- } }, h("a", Object.assign({ key: '7dd2b3aaa96f64a8b7411730ed8b201466a97162' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'cb328541793b6aa469d5d3bff662d2efa56dc977', class: "button-inner" }, h("slot", { key: '904a1b063f481ac86d5bea967a375addc9c96471' })), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
85
+ } }, h("a", Object.assign({ key: '5626f8bf8ddb30fb03773d816ec5fd6417d59391' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'ad789c6d82860eed68fc6c56d15143f989756ba3', class: "button-inner" }, h("slot", { key: '1cf17817e025e371664bedcfd8268b452674159d' })), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
86
86
  }
87
87
  static get is() { return "ion-tab-button"; }
88
88
  static get encapsulation() { return "shadow"; }
@@ -135,7 +135,7 @@ export class Tabs {
135
135
  return Array.from(this.el.querySelectorAll('ion-tab'));
136
136
  }
137
137
  render() {
138
- return (h(Host, { key: 'e2cac6a2e54514f31cfe65692e34e88d530b204f', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '53bc64f37aebb9a68c6e2db2c89ec6d39cd64bbd', name: "top" }), h("div", { key: '72f4f0ae53518631d6c1b6276da3f63147c28cfc', class: "tabs-inner" }, h("slot", { key: '79f1eece652cf00a3dd8359b68e68059816ff704' })), h("slot", { key: '3fbaf52447720ee14c7db06f2bf71a92093847f4', name: "bottom" })));
138
+ return (h(Host, { key: 'ec86c6800e70022ebd33b9c7fa39bf14cee242ba', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '51f603c67624eccc49c916acac0cf67e6386c665', name: "top" }), h("div", { key: '69c8654e9b5be1cc36603c3c314d4acf14dfeef9', class: "tabs-inner" }, h("slot", { key: 'ff8c8349f2bfd218e85be3abac695d1bc9ffadba' })), h("slot", { key: 'ab95302bfe9a2d704f6e95545b1eee6ce73c34d8', name: "bottom" })));
139
139
  }
140
140
  static get is() { return "ion-tabs"; }
141
141
  static get encapsulation() { return "shadow"; }
@@ -13,9 +13,9 @@ export class Text {
13
13
  }
14
14
  render() {
15
15
  const mode = getIonMode(this);
16
- return (h(Host, { key: '9b5decc6dfca4fbaf0fe42696a9833ffee269a7d', class: createColorClasses(this.color, {
16
+ return (h(Host, { key: 'b52025909e5353fd8f0626b168f89ef211d3cbaf', class: createColorClasses(this.color, {
17
17
  [mode]: true,
18
- }) }, h("slot", { key: '5b822dcc0f6255819cec7626d0c0f7f9873aaab9' })));
18
+ }) }, h("slot", { key: '7fbaf1cfb6da0244e98c54bb79f18b6641b8ca0c' })));
19
19
  }
20
20
  static get is() { return "ion-text"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -54,6 +54,52 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
54
54
  const textarea = page.locator('ion-textarea');
55
55
  await expect(textarea).toHaveScreenshot(screenshot(`textarea-no-fill-focus`));
56
56
  });
57
+ test('should render custom highlight correctly', async ({ page }) => {
58
+ await page.setContent(`
59
+ <style>
60
+ ion-textarea.custom {
61
+ --highlight-color-focused: red;
62
+ --highlight-color-invalid: blue;
63
+ --highlight-color-valid: purple;
64
+ --highlight-height: 6px;
65
+ }
66
+ </style>
67
+
68
+ <div class="container">
69
+ <ion-textarea
70
+ value="hi@ionic.io"
71
+ class="custom has-focus"
72
+ label="Email"
73
+ error-text="Please enter a valid email"
74
+ helper-text="Enter an email"
75
+ counter="true"
76
+ maxlength="20"
77
+ ></ion-textarea>
78
+
79
+ <ion-textarea
80
+ value="hi@ionic.io"
81
+ class="custom has-focus ion-valid"
82
+ label="Email"
83
+ error-text="Please enter a valid email"
84
+ helper-text="Enter an email"
85
+ counter="true"
86
+ maxlength="20"
87
+ ></ion-textarea>
88
+
89
+ <ion-textarea
90
+ value="hi@ionic.io"
91
+ class="custom has-focus ion-invalid ion-touched"
92
+ label="Email"
93
+ error-text="Please enter a valid email"
94
+ helper-text="Enter an email"
95
+ counter="true"
96
+ maxlength="20"
97
+ ></ion-textarea>
98
+ </div>
99
+ `, config);
100
+ const container = page.locator('.container');
101
+ await expect(container).toHaveScreenshot(screenshot(`textarea-no-fill-custom-highlight`));
102
+ });
57
103
  });
58
104
  test.describe('textarea: solid', () => {
59
105
  test('should render valid state correctly', async ({ page }) => {
@@ -104,6 +150,55 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
104
150
  const textarea = page.locator('ion-textarea');
105
151
  await expect(textarea).toHaveScreenshot(screenshot(`textarea-solid-focus`));
106
152
  });
153
+ test('should render custom highlight correctly', async ({ page }) => {
154
+ await page.setContent(`
155
+ <style>
156
+ ion-textarea.custom {
157
+ --highlight-color-focused: red;
158
+ --highlight-color-invalid: blue;
159
+ --highlight-color-valid: purple;
160
+ --highlight-height: 6px;
161
+ }
162
+ </style>
163
+
164
+ <div class="container">
165
+ <ion-textarea
166
+ fill="solid"
167
+ value="hi@ionic.io"
168
+ class="custom has-focus"
169
+ label="Email"
170
+ error-text="Please enter a valid email"
171
+ helper-text="Enter an email"
172
+ counter="true"
173
+ maxlength="20"
174
+ ></ion-textarea>
175
+
176
+ <ion-textarea
177
+ fill="solid"
178
+ value="hi@ionic.io"
179
+ class="custom has-focus ion-valid"
180
+ label="Email"
181
+ error-text="Please enter a valid email"
182
+ helper-text="Enter an email"
183
+ counter="true"
184
+ maxlength="20"
185
+ ></ion-textarea>
186
+
187
+ <ion-textarea
188
+ fill="solid"
189
+ value="hi@ionic.io"
190
+ class="custom has-focus ion-invalid ion-touched"
191
+ label="Email"
192
+ error-text="Please enter a valid email"
193
+ helper-text="Enter an email"
194
+ counter="true"
195
+ maxlength="20"
196
+ ></ion-textarea>
197
+ </div>
198
+ `, config);
199
+ const container = page.locator('.container');
200
+ await expect(container).toHaveScreenshot(screenshot(`textarea-solid-custom-highlight`));
201
+ });
107
202
  });
108
203
  test.describe('textarea: outline', () => {
109
204
  test('should render valid state correctly', async ({ page }) => {
@@ -154,6 +249,55 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
154
249
  const textarea = page.locator('ion-textarea');
155
250
  await expect(textarea).toHaveScreenshot(screenshot(`textarea-outline-focus`));
156
251
  });
252
+ test('should render custom highlight correctly', async ({ page }) => {
253
+ await page.setContent(`
254
+ <style>
255
+ ion-textarea.custom {
256
+ --highlight-color-focused: red;
257
+ --highlight-color-invalid: blue;
258
+ --highlight-color-valid: purple;
259
+ --highlight-height: 6px;
260
+ }
261
+ </style>
262
+
263
+ <div class="container">
264
+ <ion-textarea
265
+ fill="outline"
266
+ value="hi@ionic.io"
267
+ class="custom has-focus"
268
+ label="Email"
269
+ error-text="Please enter a valid email"
270
+ helper-text="Enter an email"
271
+ counter="true"
272
+ maxlength="20"
273
+ ></ion-textarea>
274
+
275
+ <ion-textarea
276
+ fill="outline"
277
+ value="hi@ionic.io"
278
+ class="custom has-focus ion-valid"
279
+ label="Email"
280
+ error-text="Please enter a valid email"
281
+ helper-text="Enter an email"
282
+ counter="true"
283
+ maxlength="20"
284
+ ></ion-textarea>
285
+
286
+ <ion-textarea
287
+ fill="outline"
288
+ value="hi@ionic.io"
289
+ class="custom has-focus ion-invalid ion-touched"
290
+ label="Email"
291
+ error-text="Please enter a valid email"
292
+ helper-text="Enter an email"
293
+ counter="true"
294
+ maxlength="20"
295
+ ></ion-textarea>
296
+ </div>
297
+ `, config);
298
+ const container = page.locator('.container');
299
+ await expect(container).toHaveScreenshot(screenshot(`textarea-outline-custom-highlight`));
300
+ });
157
301
  });
158
302
  });
159
303
  });
@@ -70,6 +70,7 @@
70
70
  * @prop --placeholder-font-weight: Weight of the placeholder text
71
71
  * @prop --placeholder-opacity: Opacity of the placeholder text
72
72
  *
73
+ * @prop --highlight-height: The height of the highlight on the textarea. Only applies to md mode.
73
74
  * @prop --highlight-color-focused: The color of the highlight on the textarea when focused
74
75
  * @prop --highlight-color-valid: The color of the highlight on the textarea when valid
75
76
  * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid
@@ -150,10 +151,6 @@
150
151
  align-self: baseline;
151
152
  }
152
153
 
153
- :host-context(ion-item:not(.item-label)) {
154
- --padding-start: 0;
155
- }
156
-
157
154
  :host-context(ion-item)[slot=start],
158
155
  :host-context(ion-item)[slot=end] {
159
156
  width: auto;
@@ -247,15 +244,6 @@
247
244
  overflow: hidden;
248
245
  }
249
246
 
250
- :host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {
251
- opacity: 0;
252
- }
253
-
254
- :host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {
255
- transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
256
- opacity: 1;
257
- }
258
-
259
247
  .textarea-wrapper {
260
248
  -webkit-padding-start: var(--padding-start);
261
249
  padding-inline-start: var(--padding-start);
@@ -864,16 +852,10 @@
864
852
  --padding-end: 0px;
865
853
  --padding-bottom: 8px;
866
854
  --padding-start: 0px;
855
+ --highlight-height: 0px;
867
856
  font-size: inherit;
868
857
  }
869
858
 
870
- :host-context(.item-label-stacked),
871
- :host-context(.item-label-floating) {
872
- --padding-top: 8px;
873
- --padding-bottom: 8px;
874
- --padding-start: 0px;
875
- }
876
-
877
859
  :host(.textarea-disabled) {
878
860
  opacity: 0.3;
879
861
  }
@@ -359,7 +359,7 @@ export class Textarea {
359
359
  * TODO(FW-5592): Remove hasStartEndSlots condition
360
360
  */
361
361
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
362
- return (h(Host, { key: '3adbec7986ecb5a274ecf341b938432c3d04705a', class: createColorClasses(this.color, {
362
+ return (h(Host, { key: 'e2ac4428f0e3268ac0507b331b0badd8dbfa5010', class: createColorClasses(this.color, {
363
363
  [mode]: true,
364
364
  'has-value': hasValue,
365
365
  'has-focus': hasFocus,
@@ -368,7 +368,7 @@ export class Textarea {
368
368
  [`textarea-shape-${shape}`]: shape !== undefined,
369
369
  [`textarea-label-placement-${labelPlacement}`]: true,
370
370
  'textarea-disabled': disabled,
371
- }) }, h("label", { key: '9df12985193c4fa6a277b71bcac668d7e61f02ac', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'b39ac1d580d3bcaad8cc028e703960cd2277fa10', class: "textarea-wrapper-inner" }, h("div", { key: 'b2d6971c51683fe67121c4d0e4ac8e17723fa59d', class: "start-slot-wrapper" }, h("slot", { key: 'b229d482a4ff208858dffc6ff3a5ad661a2a7288', name: "start" })), h("div", { key: 'b2d2770afa7012f055463df6a302bed685b46107', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: 'a18150f8d381e0569f6d71867451ce8176157521', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: 'f20f6e5c9b339cff4bdd7bffe59afd27b05ce8b9', class: "end-slot-wrapper" }, h("slot", { key: '64a10ebdb4a89ec1c3d34c29e8c9403d3d788f3b', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
371
+ }) }, h("label", { key: 'a5a566c5d91e8d74449f172fb64093777e1bf9c3', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'fc2bbf87535d133f52e27be986e5fcfac987f986', class: "textarea-wrapper-inner" }, h("div", { key: '8834f1e7bf4853087a8e7fd0dfe23106cdba5ef3', class: "start-slot-wrapper" }, h("slot", { key: 'd4014b4b58f3c1ee1bc25ff712a45d4720b38c4d', name: "start" })), h("div", { key: 'f9f34505f0e2dfb647ae1b727e406b522d0891a2', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '4bcb6eb6becdc47ce2056162cb8bb0d727879260', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h("div", { key: '0605291843bd7c4cf59b44a970cb43830e825362', class: "end-slot-wrapper" }, h("slot", { key: '61a90e1625860e662e4526d4b88653edb6ecb5b4', name: "end" }))), shouldRenderHighlight && h("div", { class: "textarea-highlight" })), this.renderBottomContent()));
372
372
  }
373
373
  static get is() { return "ion-textarea"; }
374
374
  static get encapsulation() { return "scoped"; }
@@ -70,6 +70,7 @@
70
70
  * @prop --placeholder-font-weight: Weight of the placeholder text
71
71
  * @prop --placeholder-opacity: Opacity of the placeholder text
72
72
  *
73
+ * @prop --highlight-height: The height of the highlight on the textarea. Only applies to md mode.
73
74
  * @prop --highlight-color-focused: The color of the highlight on the textarea when focused
74
75
  * @prop --highlight-color-valid: The color of the highlight on the textarea when valid
75
76
  * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid
@@ -150,10 +151,6 @@
150
151
  align-self: baseline;
151
152
  }
152
153
 
153
- :host-context(ion-item:not(.item-label)) {
154
- --padding-start: 0;
155
- }
156
-
157
154
  :host-context(ion-item)[slot=start],
158
155
  :host-context(ion-item)[slot=end] {
159
156
  width: auto;
@@ -247,15 +244,6 @@
247
244
  overflow: hidden;
248
245
  }
249
246
 
250
- :host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {
251
- opacity: 0;
252
- }
253
-
254
- :host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {
255
- transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
256
- opacity: 1;
257
- }
258
-
259
247
  .textarea-wrapper {
260
248
  -webkit-padding-start: var(--padding-start);
261
249
  padding-inline-start: var(--padding-start);
@@ -1075,7 +1063,7 @@
1075
1063
  * the textarea is focused.
1076
1064
  */
1077
1065
  :host(.textarea-fill-outline.has-focus) {
1078
- --border-width: 2px;
1066
+ --border-width: var(--highlight-height);
1079
1067
  --border-color: var(--highlight-color);
1080
1068
  }
1081
1069
 
@@ -1283,6 +1271,7 @@
1283
1271
  --padding-end: 0px;
1284
1272
  --padding-bottom: 8px;
1285
1273
  --padding-start: 0px;
1274
+ --highlight-height: 2px;
1286
1275
  font-size: inherit;
1287
1276
  }
1288
1277
 
@@ -1315,7 +1304,7 @@
1315
1304
  bottom: -1px;
1316
1305
  position: absolute;
1317
1306
  width: 100%;
1318
- height: 2px;
1307
+ height: var(--highlight-height);
1319
1308
  transform: scale(0);
1320
1309
  transition: transform 200ms;
1321
1310
  background: var(--highlight-color);
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  import { getIonMode } from "../../global/ionic-global";
6
6
  export class Thumbnail {
7
7
  render() {
8
- return (h(Host, { key: '68bac4e80f5d27131690fd20dfabff2618743206', class: getIonMode(this) }, h("slot", { key: '89f46a686288428391cdfaef3384824751ae3d05' })));
8
+ return (h(Host, { key: '85a0eb73f012ab18ad8b03e63aca9488dd11a4d7', class: getIonMode(this) }, h("slot", { key: 'a335c711d1987615cfcc953958edc0d63fbccca2' })));
9
9
  }
10
10
  static get is() { return "ion-thumbnail"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -27,11 +27,11 @@ export class ToolbarTitle {
27
27
  render() {
28
28
  const mode = getIonMode(this);
29
29
  const size = this.getSize();
30
- return (h(Host, { key: 'af95e7123b3d39110425c16cb4f7f8efb1ee1536', class: createColorClasses(this.color, {
30
+ return (h(Host, { key: '13fcf9c4fea765a4580a2c99aa03a25304d310de', class: createColorClasses(this.color, {
31
31
  [mode]: true,
32
32
  [`title-${size}`]: true,
33
33
  'title-rtl': document.dir === 'rtl',
34
- }) }, h("div", { key: '54efce3d5769fb3de297a6d534dc87d57f365004', class: "toolbar-title" }, h("slot", { key: 'f7ed25c6b178cad1840e35e81e3eeeca3aacea3f' }))));
34
+ }) }, h("div", { key: 'a0ad40298bdea5687c6ee4c873bd2926603df0f7', class: "toolbar-title" }, h("slot", { key: 'b08edc05432144aec791c10eec1ad23030fcfa1f' }))));
35
35
  }
36
36
  static get is() { return "ion-title"; }
37
37
  static get encapsulation() { return "shadow"; }