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

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 (715) 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 -54
  10. package/components/index9.js +1 -1
  11. package/components/input.utils.js +12 -0
  12. package/components/ion-app.js +4 -4
  13. package/components/ion-avatar.js +1 -1
  14. package/components/ion-back-button.js +2 -2
  15. package/components/ion-badge.js +2 -2
  16. package/components/ion-breadcrumb.js +2 -2
  17. package/components/ion-breadcrumbs.js +2 -2
  18. package/components/ion-card-content.js +1 -1
  19. package/components/ion-card-header.js +2 -2
  20. package/components/ion-card-subtitle.js +2 -2
  21. package/components/ion-card-title.js +2 -2
  22. package/components/ion-card.js +1 -1
  23. package/components/ion-chip.js +2 -2
  24. package/components/ion-col.js +2 -2
  25. package/components/ion-content.js +3 -3
  26. package/components/ion-datetime-button.js +11 -10
  27. package/components/ion-datetime.js +75 -12
  28. package/components/ion-fab-button.js +2 -2
  29. package/components/ion-fab-list.js +2 -2
  30. package/components/ion-fab.js +2 -2
  31. package/components/ion-footer.js +2 -2
  32. package/components/ion-grid.js +2 -2
  33. package/components/ion-header.js +3 -3
  34. package/components/ion-img.js +1 -1
  35. package/components/ion-infinite-scroll-content.js +2 -2
  36. package/components/ion-infinite-scroll.js +1 -1
  37. package/components/ion-input.js +6 -6
  38. package/components/ion-item-divider.js +2 -2
  39. package/components/ion-item-group.js +1 -1
  40. package/components/ion-item-option.js +2 -2
  41. package/components/ion-item-options.js +1 -1
  42. package/components/ion-item-sliding.js +1 -1
  43. package/components/ion-loading.js +2 -2
  44. package/components/ion-menu-button.js +2 -2
  45. package/components/ion-menu-toggle.js +2 -2
  46. package/components/ion-menu.js +3 -3
  47. package/components/ion-modal.js +3 -3
  48. package/components/ion-nav-link.js +1 -1
  49. package/components/ion-nav.js +1 -1
  50. package/components/ion-note.js +43 -1
  51. package/components/ion-picker-legacy.js +2 -2
  52. package/components/ion-progress-bar.js +1 -1
  53. package/components/ion-range.js +137 -45
  54. package/components/ion-refresher-content.js +1 -1
  55. package/components/ion-refresher.js +1 -1
  56. package/components/ion-reorder-group.js +1 -1
  57. package/components/ion-reorder.js +1 -1
  58. package/components/ion-router-link.js +2 -2
  59. package/components/ion-router-outlet.js +1 -1
  60. package/components/ion-router.js +1 -1
  61. package/components/ion-row.js +1 -1
  62. package/components/ion-searchbar.js +34 -5
  63. package/components/ion-segment-button.js +3 -3
  64. package/components/ion-segment.js +2 -2
  65. package/components/ion-select-option.js +1 -1
  66. package/components/ion-select.js +27 -33
  67. package/components/ion-skeleton-text.js +2 -2
  68. package/components/ion-split-pane.js +2 -2
  69. package/components/ion-tab-bar.js +2 -2
  70. package/components/ion-tab-button.js +2 -2
  71. package/components/ion-tab.js +2 -2
  72. package/components/ion-tabs.js +1 -1
  73. package/components/ion-text.js +2 -2
  74. package/components/ion-textarea.js +5 -5
  75. package/components/ion-thumbnail.js +1 -1
  76. package/components/ion-title.js +2 -2
  77. package/components/ion-toast.js +2 -2
  78. package/components/ion-toggle.js +3 -3
  79. package/components/ion-toolbar.js +2 -2
  80. package/components/item.js +11 -92
  81. package/components/label.js +5 -5
  82. package/components/list-header.js +2 -2
  83. package/components/list.js +1 -1
  84. package/components/overlays.js +61 -19
  85. package/components/picker-column-option.js +2 -2
  86. package/components/picker-column.js +8 -4
  87. package/components/picker-column2.js +2 -2
  88. package/components/picker.js +2 -2
  89. package/components/popover.js +2 -2
  90. package/components/radio-group.js +1 -1
  91. package/components/radio.js +3 -3
  92. package/components/ripple-effect.js +1 -1
  93. package/components/select-popover.js +13 -19
  94. package/components/spinner.js +1 -1
  95. package/css/palettes/dark.always.css.map +1 -0
  96. package/css/{themes → palettes}/dark.class.css +4 -4
  97. package/css/palettes/dark.class.css.map +1 -0
  98. package/css/palettes/dark.system.css.map +1 -0
  99. package/css/palettes/high-contrast-dark.always.css.map +1 -0
  100. package/css/{themes → palettes}/high-contrast-dark.class.css +10 -10
  101. package/css/palettes/high-contrast-dark.class.css.map +1 -0
  102. package/css/palettes/high-contrast-dark.system.css.map +1 -0
  103. package/css/palettes/high-contrast.always.css.map +1 -0
  104. package/css/{themes → palettes}/high-contrast.class.css +31 -31
  105. package/css/palettes/high-contrast.class.css.map +1 -0
  106. package/css/palettes/high-contrast.system.css.map +1 -0
  107. package/dist/cjs/{animation-4ad55058.js → animation-58ecfe20.js} +1 -1
  108. package/dist/cjs/{app-globals-4d26cb5a.js → app-globals-e132c781.js} +1 -1
  109. package/dist/cjs/{button-active-e447f58b.js → button-active-60ecf64d.js} +1 -1
  110. package/dist/cjs/{data-e2bf21de.js → data-21dc0f81.js} +22 -39
  111. package/dist/cjs/{framework-delegate-53817ef1.js → framework-delegate-df3a2b04.js} +1 -1
  112. package/dist/cjs/{hardware-back-button-4cb049f1.js → hardware-back-button-1c67a5a2.js} +5 -5
  113. package/dist/cjs/{helpers-b71ca811.js → helpers-71097d9c.js} +0 -54
  114. package/dist/cjs/{index-92bb95d6.js → index-14ae0c27.js} +4 -4
  115. package/dist/cjs/{index-bbc5b1f7.js → index-289297dc.js} +4 -4
  116. package/dist/cjs/{index-ea266398.js → index-2d21d526.js} +441 -12
  117. package/dist/cjs/{index-347883f6.js → index-7479ea5a.js} +1 -1
  118. package/dist/cjs/{index-7574e3d2.js → index-a91a3e24.js} +1 -1
  119. package/dist/cjs/index.cjs.js +11 -11
  120. package/dist/cjs/{input-shims-679d87bc.js → input-shims-77b14f24.js} +2 -2
  121. package/dist/cjs/{input.utils-5175aea1.js → input.utils-ca74d73a.js} +13 -1
  122. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  123. package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -11
  124. package/dist/cjs/ion-alert.cjs.entry.js +10 -10
  125. package/dist/cjs/ion-app_8.cjs.entry.js +30 -30
  126. package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
  127. package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
  128. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  129. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +7 -7
  130. package/dist/cjs/ion-button_2.cjs.entry.js +5 -5
  131. package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
  132. package/dist/cjs/ion-checkbox.cjs.entry.js +6 -6
  133. package/dist/cjs/ion-chip.cjs.entry.js +4 -4
  134. package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
  135. package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -13
  136. package/dist/cjs/ion-datetime_3.cjs.entry.js +83 -23
  137. package/dist/cjs/ion-fab_3.cjs.entry.js +9 -9
  138. package/dist/cjs/ion-img.cjs.entry.js +4 -4
  139. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
  140. package/dist/cjs/ion-input.cjs.entry.js +10 -10
  141. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  142. package/dist/cjs/ion-item_8.cjs.entry.js +23 -92
  143. package/dist/cjs/ion-loading.cjs.entry.js +9 -9
  144. package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
  145. package/dist/cjs/ion-modal.cjs.entry.js +12 -12
  146. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  147. package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
  148. package/dist/cjs/ion-picker-column.cjs.entry.js +11 -7
  149. package/dist/cjs/ion-picker.cjs.entry.js +4 -4
  150. package/dist/cjs/ion-popover.cjs.entry.js +10 -10
  151. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
  152. package/dist/cjs/ion-radio_2.cjs.entry.js +7 -7
  153. package/dist/cjs/ion-range.cjs.entry.js +140 -48
  154. package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
  155. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  156. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
  157. package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
  158. package/dist/cjs/ion-searchbar.cjs.entry.js +31 -7
  159. package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
  160. package/dist/cjs/ion-select_3.cjs.entry.js +17 -17
  161. package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
  162. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
  163. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
  164. package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
  165. package/dist/cjs/ion-text.cjs.entry.js +4 -4
  166. package/dist/cjs/ion-textarea.cjs.entry.js +9 -9
  167. package/dist/cjs/ion-toast.cjs.entry.js +9 -9
  168. package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
  169. package/dist/cjs/{ionic-global-59aa7eb7.js → ionic-global-5762eca9.js} +1 -1
  170. package/dist/cjs/ionic.cjs.js +28 -5
  171. package/dist/cjs/{ios.transition-997fe325.js → ios.transition-8e0ca8ed.js} +4 -4
  172. package/dist/cjs/loader.cjs.js +4 -4
  173. package/dist/cjs/{md.transition-2b76c2c6.js → md.transition-5d0f134b.js} +4 -4
  174. package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-0042ad49.js} +1 -1
  175. package/dist/cjs/{overlays-3d02b54f.js → overlays-30b83581.js} +64 -22
  176. package/dist/cjs/{status-tap-3761c2d4.js → status-tap-dc3b8fda.js} +3 -3
  177. package/dist/cjs/{swipe-back-5b71fc62.js → swipe-back-49825f1f.js} +1 -1
  178. package/dist/collection/collection-manifest.json +1 -1
  179. package/dist/collection/components/action-sheet/action-sheet.js +3 -3
  180. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +1 -1
  181. package/dist/collection/components/alert/alert.js +2 -2
  182. package/dist/collection/components/alert/test/a11y/alert.e2e.js +5 -1
  183. package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
  184. package/dist/collection/components/app/app.js +4 -4
  185. package/dist/collection/components/avatar/avatar.js +1 -1
  186. package/dist/collection/components/back-button/back-button.js +2 -2
  187. package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +1 -1
  188. package/dist/collection/components/backdrop/backdrop.js +1 -1
  189. package/dist/collection/components/badge/badge.js +2 -2
  190. package/dist/collection/components/badge/test/a11y/badge.e2e.js +1 -1
  191. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  192. package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
  193. package/dist/collection/components/button/button.js +2 -2
  194. package/dist/collection/components/button/test/a11y/button.e2e.js +2 -2
  195. package/dist/collection/components/buttons/buttons.js +2 -2
  196. package/dist/collection/components/card/card.js +1 -1
  197. package/dist/collection/components/card-content/card-content.js +1 -1
  198. package/dist/collection/components/card-header/card-header.js +2 -2
  199. package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
  200. package/dist/collection/components/card-title/card-title.js +2 -2
  201. package/dist/collection/components/checkbox/checkbox.js +3 -3
  202. package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +1 -1
  203. package/dist/collection/components/checkbox/test/checkbox.spec.js +12 -0
  204. package/dist/collection/components/chip/chip.js +2 -2
  205. package/dist/collection/components/col/col.js +2 -2
  206. package/dist/collection/components/content/content.js +3 -3
  207. package/dist/collection/components/datetime/datetime.js +56 -12
  208. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +77 -0
  209. package/dist/collection/components/datetime/test/format.spec.js +65 -15
  210. package/dist/collection/components/datetime/utils/format.js +24 -37
  211. package/dist/collection/components/datetime/utils/validate.js +45 -0
  212. package/dist/collection/components/datetime-button/datetime-button.js +11 -10
  213. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +65 -0
  214. package/dist/collection/components/fab/fab.js +2 -2
  215. package/dist/collection/components/fab-button/fab-button.js +2 -2
  216. package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
  217. package/dist/collection/components/fab-list/fab-list.js +2 -2
  218. package/dist/collection/components/footer/footer.js +2 -2
  219. package/dist/collection/components/grid/grid.js +2 -2
  220. package/dist/collection/components/header/header.ios.css +5 -2
  221. package/dist/collection/components/header/header.js +2 -2
  222. package/dist/collection/components/header/test/basic/header.e2e.js +77 -0
  223. package/dist/collection/components/img/img.js +1 -1
  224. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  225. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  226. package/dist/collection/components/input/input.ios.css +4 -2
  227. package/dist/collection/components/input/input.js +3 -3
  228. package/dist/collection/components/input/input.md.css +6 -4
  229. package/dist/collection/components/input/test/a11y/input.e2e.js +1 -1
  230. package/dist/collection/components/input/test/highlight/input.e2e.js +144 -0
  231. package/dist/collection/components/input/test/slot/input.e2e.js +8 -0
  232. package/dist/collection/components/item/item.ios.css +5 -197
  233. package/dist/collection/components/item/item.js +4 -166
  234. package/dist/collection/components/item/item.md.css +7 -360
  235. package/dist/collection/components/item/test/basic/item.e2e.js +0 -5
  236. package/dist/collection/components/item/test/buttons/item.e2e.js +20 -4
  237. package/dist/collection/components/item/test/item.spec.js +1 -1
  238. package/dist/collection/components/item-divider/item-divider.js +2 -2
  239. package/dist/collection/components/item-group/item-group.js +1 -1
  240. package/dist/collection/components/item-option/item-option.js +2 -2
  241. package/dist/collection/components/item-options/item-options.js +1 -1
  242. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  243. package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +1 -1
  244. package/dist/collection/components/label/label.ios.css +0 -5
  245. package/dist/collection/components/label/label.js +2 -2
  246. package/dist/collection/components/label/label.md.css +0 -75
  247. package/dist/collection/components/label/test/a11y/label.e2e.js +1 -1
  248. package/dist/collection/components/list/list.js +1 -1
  249. package/dist/collection/components/list-header/list-header.js +2 -2
  250. package/dist/collection/components/loading/loading.js +2 -2
  251. package/dist/collection/components/loading/test/a11y/loading.e2e.js +1 -1
  252. package/dist/collection/components/menu/menu.js +12 -6
  253. package/dist/collection/components/menu-button/menu-button.js +2 -2
  254. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +1 -1
  255. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  256. package/dist/collection/components/modal/modal.js +3 -3
  257. package/dist/collection/components/nav/nav.js +1 -1
  258. package/dist/collection/components/nav-link/nav-link.js +1 -1
  259. package/dist/collection/components/note/note.js +2 -2
  260. package/dist/collection/components/picker/picker.js +2 -2
  261. package/dist/collection/components/picker-column/picker-column.js +8 -4
  262. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  263. package/dist/collection/components/picker-legacy/picker.js +2 -2
  264. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  265. package/dist/collection/components/popover/popover.js +2 -2
  266. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  267. package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +1 -1
  268. package/dist/collection/components/radio/radio.js +3 -3
  269. package/dist/collection/components/radio/test/a11y/radio.e2e.js +1 -1
  270. package/dist/collection/components/radio-group/radio-group.js +1 -1
  271. package/dist/collection/components/range/range.js +137 -45
  272. package/dist/collection/components/range/test/a11y/range.e2e.js +1 -1
  273. package/dist/collection/components/range/test/label/range.spec.js +24 -0
  274. package/dist/collection/components/range/test/range-events.e2e.js +27 -0
  275. package/dist/collection/components/refresher/refresher.js +1 -1
  276. package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +1 -1
  277. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  278. package/dist/collection/components/reorder/reorder.js +1 -1
  279. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  280. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  281. package/dist/collection/components/router-link/router-link.js +2 -2
  282. package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +1 -1
  283. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  284. package/dist/collection/components/row/row.js +1 -1
  285. package/dist/collection/components/searchbar/searchbar.js +84 -5
  286. package/dist/collection/components/searchbar/test/searchbar.spec.js +20 -2
  287. package/dist/collection/components/segment/segment.js +2 -2
  288. package/dist/collection/components/segment/test/a11y/segment.e2e.js +1 -1
  289. package/dist/collection/components/segment-button/segment-button.js +3 -3
  290. package/dist/collection/components/select/select.ios.css +7 -2
  291. package/dist/collection/components/select/select.js +7 -7
  292. package/dist/collection/components/select/select.md.css +6 -29
  293. package/dist/collection/components/select/test/a11y/select.e2e.js +1 -1
  294. package/dist/collection/components/select/test/highlight/select.e2e.js +88 -4
  295. package/dist/collection/components/select/test/select.spec.js +22 -0
  296. package/dist/collection/components/select/test/slot/select.e2e.js +8 -0
  297. package/dist/collection/components/select-option/select-option.js +1 -1
  298. package/dist/collection/components/select-popover/select-popover.js +1 -1
  299. package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +1 -1
  300. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  301. package/dist/collection/components/spinner/spinner.js +1 -1
  302. package/dist/collection/components/split-pane/split-pane.js +2 -2
  303. package/dist/collection/components/tab/tab.js +2 -2
  304. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  305. package/dist/collection/components/tab-button/tab-button.js +2 -2
  306. package/dist/collection/components/tabs/tabs.js +1 -1
  307. package/dist/collection/components/text/text.js +2 -2
  308. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +1 -1
  309. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +144 -0
  310. package/dist/collection/components/textarea/test/slot/textarea.e2e.js +8 -0
  311. package/dist/collection/components/textarea/textarea.ios.css +4 -22
  312. package/dist/collection/components/textarea/textarea.js +2 -2
  313. package/dist/collection/components/textarea/textarea.md.css +6 -17
  314. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  315. package/dist/collection/components/title/title.js +2 -2
  316. package/dist/collection/components/toast/test/a11y/toast.e2e.js +2 -2
  317. package/dist/collection/components/toast/toast.js +2 -2
  318. package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +1 -1
  319. package/dist/collection/components/toggle/toggle.js +4 -4
  320. package/dist/collection/components/toolbar/toolbar.js +2 -2
  321. package/dist/collection/css/test/a11y/typography.e2e.js +1 -1
  322. package/dist/collection/themes/test/colors/theme.e2e.js +2 -2
  323. package/dist/collection/utils/forms/index.js +0 -1
  324. package/dist/collection/utils/hardware-back-button.js +2 -2
  325. package/dist/collection/utils/helpers.js +0 -53
  326. package/dist/collection/utils/overlays.js +61 -19
  327. package/dist/collection/utils/slot-mutation-controller.js +12 -0
  328. package/dist/collection/utils/test/overlays/overlays.spec.js +53 -0
  329. package/dist/collection/utils/test/playwright/generator.js +17 -17
  330. package/dist/collection/utils/test/playwright/page/utils/set-content.js +6 -6
  331. package/dist/docs.json +159 -190
  332. package/dist/esm/{animation-a4acf150.js → animation-6a3c0abb.js} +1 -1
  333. package/dist/esm/{app-globals-cfb6787b.js → app-globals-80842d68.js} +1 -1
  334. package/dist/esm/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
  335. package/dist/esm/{data-691286f1.js → data-ae11fd43.js} +23 -38
  336. package/dist/esm/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
  337. package/dist/esm/{hardware-back-button-3a14f99e.js → hardware-back-button-fb295e3a.js} +5 -5
  338. package/dist/esm/{helpers-ae74b3c9.js → helpers-eab4f597.js} +1 -54
  339. package/dist/esm/{index-66871a1d.js → index-044b5a86.js} +1 -1
  340. package/dist/esm/{index-5847f4a9.js → index-136e99c8.js} +4 -4
  341. package/dist/esm/{index-9b6d6df3.js → index-5d6a0317.js} +441 -13
  342. package/dist/esm/{index-03086279.js → index-95a691d4.js} +4 -4
  343. package/dist/esm/{index-1f563746.js → index-fa221975.js} +1 -1
  344. package/dist/esm/index.js +11 -11
  345. package/dist/esm/{input-shims-56c1f603.js → input-shims-196afa11.js} +2 -2
  346. package/dist/esm/{input.utils-482fc893.js → input.utils-426cc674.js} +13 -1
  347. package/dist/esm/ion-accordion_2.entry.js +3 -3
  348. package/dist/esm/ion-action-sheet.entry.js +11 -11
  349. package/dist/esm/ion-alert.entry.js +10 -10
  350. package/dist/esm/ion-app_8.entry.js +30 -30
  351. package/dist/esm/ion-avatar_3.entry.js +6 -6
  352. package/dist/esm/ion-back-button.entry.js +5 -5
  353. package/dist/esm/ion-backdrop.entry.js +3 -3
  354. package/dist/esm/ion-breadcrumb_2.entry.js +7 -7
  355. package/dist/esm/ion-button_2.entry.js +5 -5
  356. package/dist/esm/ion-card_5.entry.js +11 -11
  357. package/dist/esm/ion-checkbox.entry.js +6 -6
  358. package/dist/esm/ion-chip.entry.js +4 -4
  359. package/dist/esm/ion-col_3.entry.js +7 -7
  360. package/dist/esm/ion-datetime-button.entry.js +14 -13
  361. package/dist/esm/ion-datetime_3.entry.js +83 -23
  362. package/dist/esm/ion-fab_3.entry.js +9 -9
  363. package/dist/esm/ion-img.entry.js +4 -4
  364. package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
  365. package/dist/esm/ion-input.entry.js +10 -10
  366. package/dist/esm/ion-item-option_3.entry.js +8 -8
  367. package/dist/esm/ion-item_8.entry.js +23 -92
  368. package/dist/esm/ion-loading.entry.js +9 -9
  369. package/dist/esm/ion-menu_3.entry.js +14 -14
  370. package/dist/esm/ion-modal.entry.js +12 -12
  371. package/dist/esm/ion-nav_2.entry.js +8 -8
  372. package/dist/esm/ion-picker-column-option.entry.js +5 -5
  373. package/dist/esm/ion-picker-column.entry.js +11 -7
  374. package/dist/esm/ion-picker.entry.js +4 -4
  375. package/dist/esm/ion-popover.entry.js +10 -10
  376. package/dist/esm/ion-progress-bar.entry.js +4 -4
  377. package/dist/esm/ion-radio_2.entry.js +7 -7
  378. package/dist/esm/ion-range.entry.js +140 -48
  379. package/dist/esm/ion-refresher_2.entry.js +7 -7
  380. package/dist/esm/ion-reorder_2.entry.js +6 -6
  381. package/dist/esm/ion-ripple-effect.entry.js +3 -3
  382. package/dist/esm/ion-route_4.entry.js +5 -5
  383. package/dist/esm/ion-searchbar.entry.js +31 -7
  384. package/dist/esm/ion-segment_2.entry.js +8 -8
  385. package/dist/esm/ion-select_3.entry.js +17 -17
  386. package/dist/esm/ion-spinner.entry.js +3 -3
  387. package/dist/esm/ion-split-pane.entry.js +4 -4
  388. package/dist/esm/ion-tab-bar_2.entry.js +7 -7
  389. package/dist/esm/ion-tab_2.entry.js +6 -6
  390. package/dist/esm/ion-text.entry.js +4 -4
  391. package/dist/esm/ion-textarea.entry.js +9 -9
  392. package/dist/esm/ion-toast.entry.js +9 -9
  393. package/dist/esm/ion-toggle.entry.js +6 -6
  394. package/dist/esm/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
  395. package/dist/esm/ionic.js +29 -6
  396. package/dist/esm/{ios.transition-a097dbf5.js → ios.transition-d1c8eea2.js} +4 -4
  397. package/dist/esm/loader.js +5 -5
  398. package/dist/esm/{md.transition-b4170ef7.js → md.transition-0d2de76d.js} +4 -4
  399. package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
  400. package/dist/esm/{overlays-4ba3b255.js → overlays-d41f74ac.js} +64 -22
  401. package/dist/esm/{status-tap-7a12f017.js → status-tap-45595148.js} +3 -3
  402. package/dist/esm/{swipe-back-ae14449a.js → swipe-back-5aa5feeb.js} +1 -1
  403. package/dist/esm-es5/{animation-a4acf150.js → animation-6a3c0abb.js} +1 -1
  404. package/dist/esm-es5/app-globals-80842d68.js +4 -0
  405. package/dist/esm-es5/{button-active-454e5c57.js → button-active-c6e18fac.js} +1 -1
  406. package/dist/esm-es5/data-ae11fd43.js +4 -0
  407. package/dist/esm-es5/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
  408. package/dist/esm-es5/hardware-back-button-fb295e3a.js +4 -0
  409. package/dist/esm-es5/helpers-eab4f597.js +4 -0
  410. package/dist/esm-es5/{index-66871a1d.js → index-044b5a86.js} +1 -1
  411. package/dist/esm-es5/{index-5847f4a9.js → index-136e99c8.js} +1 -1
  412. package/dist/esm-es5/index-5d6a0317.js +5 -0
  413. package/dist/esm-es5/{index-03086279.js → index-95a691d4.js} +1 -1
  414. package/dist/esm-es5/{index-1f563746.js → index-fa221975.js} +1 -1
  415. package/dist/esm-es5/index.js +1 -1
  416. package/dist/esm-es5/{input-shims-56c1f603.js → input-shims-196afa11.js} +1 -1
  417. package/dist/esm-es5/input.utils-426cc674.js +4 -0
  418. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  419. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  420. package/dist/esm-es5/ion-alert.entry.js +1 -1
  421. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  422. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  423. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  424. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  425. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  426. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  427. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  428. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  429. package/dist/esm-es5/ion-chip.entry.js +1 -1
  430. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  431. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  432. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  433. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  434. package/dist/esm-es5/ion-img.entry.js +1 -1
  435. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  436. package/dist/esm-es5/ion-input.entry.js +1 -1
  437. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  438. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  439. package/dist/esm-es5/ion-loading.entry.js +1 -1
  440. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  441. package/dist/esm-es5/ion-modal.entry.js +1 -1
  442. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  443. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  444. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  445. package/dist/esm-es5/ion-picker.entry.js +1 -1
  446. package/dist/esm-es5/ion-popover.entry.js +1 -1
  447. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  448. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  449. package/dist/esm-es5/ion-range.entry.js +1 -1
  450. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  451. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  452. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  453. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  454. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  455. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  456. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  457. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  458. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  459. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  460. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  461. package/dist/esm-es5/ion-text.entry.js +1 -1
  462. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  463. package/dist/esm-es5/ion-toast.entry.js +1 -1
  464. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  465. package/dist/esm-es5/{ionic-global-c976d684.js → ionic-global-a589c12c.js} +1 -1
  466. package/dist/esm-es5/ionic.js +1 -1
  467. package/dist/esm-es5/{ios.transition-a097dbf5.js → ios.transition-d1c8eea2.js} +1 -1
  468. package/dist/esm-es5/loader.js +1 -1
  469. package/dist/esm-es5/md.transition-0d2de76d.js +4 -0
  470. package/dist/esm-es5/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
  471. package/dist/esm-es5/overlays-d41f74ac.js +4 -0
  472. package/dist/esm-es5/{status-tap-7a12f017.js → status-tap-45595148.js} +1 -1
  473. package/dist/esm-es5/{swipe-back-ae14449a.js → swipe-back-5aa5feeb.js} +1 -1
  474. package/dist/html.html-data.json +25 -27
  475. package/dist/ionic/index.esm.js +1 -1
  476. package/dist/ionic/ionic.esm.js +1 -1
  477. package/dist/ionic/ionic.js +1 -1
  478. package/dist/ionic/{p-97135baa.entry.js → p-0051ceb9.entry.js} +1 -1
  479. package/dist/ionic/p-00a6f38d.entry.js +4 -0
  480. package/dist/ionic/p-02a803dc.entry.js +4 -0
  481. package/dist/ionic/{p-5aa60929.js → p-031c5621.js} +1 -1
  482. package/dist/ionic/p-07759435.system.js +4 -0
  483. package/dist/ionic/{p-a06af32c.system.js → p-08a8971e.system.js} +1 -1
  484. package/dist/ionic/p-0e4c9e45.system.js +4 -0
  485. package/dist/ionic/{p-f7ed6a44.system.entry.js → p-103ec049.system.entry.js} +1 -1
  486. package/dist/ionic/p-1685d81c.system.entry.js +4 -0
  487. package/dist/ionic/{p-cb944b1a.system.js → p-17043350.system.js} +1 -1
  488. package/dist/ionic/{p-1bca443b.system.entry.js → p-17ee2784.system.entry.js} +1 -1
  489. package/dist/ionic/p-1807190c.entry.js +4 -0
  490. package/dist/ionic/{p-cb0e4100.system.entry.js → p-185db19b.system.entry.js} +2 -2
  491. package/dist/ionic/{p-602494c6.entry.js → p-1a8bbd2e.entry.js} +1 -1
  492. package/dist/ionic/{p-8aeed464.system.entry.js → p-1bb1ef31.system.entry.js} +1 -1
  493. package/dist/ionic/p-1c801dd4.entry.js +4 -0
  494. package/dist/ionic/{p-466bdeae.entry.js → p-2130b526.entry.js} +1 -1
  495. package/dist/ionic/{p-1c436e95.system.entry.js → p-219c17cf.system.entry.js} +1 -1
  496. package/dist/ionic/p-22b5c888.system.entry.js +4 -0
  497. package/dist/ionic/{p-1a5ed3fe.system.entry.js → p-23838a94.system.entry.js} +1 -1
  498. package/dist/ionic/{p-27594fc2.js → p-239906f1.js} +1 -1
  499. package/dist/ionic/{p-8d50220b.system.js → p-23cff6c1.system.js} +1 -1
  500. package/dist/ionic/p-23efc001.entry.js +4 -0
  501. package/dist/ionic/{p-a6cc38d4.js → p-244f56fd.js} +1 -1
  502. package/dist/ionic/p-27c668a0.entry.js +4 -0
  503. package/dist/ionic/{p-09872ec8.system.entry.js → p-282bd5f9.system.entry.js} +1 -1
  504. package/dist/ionic/{p-dcfc297d.system.entry.js → p-2852c537.system.entry.js} +1 -1
  505. package/dist/ionic/{p-85464e28.system.entry.js → p-294c47cd.system.entry.js} +2 -2
  506. package/dist/ionic/p-29ef3b9b.entry.js +4 -0
  507. package/dist/ionic/p-2bb65deb.entry.js +4 -0
  508. package/dist/ionic/{p-8a50f8d6.system.js → p-2cc2c631.system.js} +1 -1
  509. package/dist/ionic/p-2f53c3eb.js +4 -0
  510. package/dist/ionic/{p-7b795aee.system.entry.js → p-2f6bc4a9.system.entry.js} +1 -1
  511. package/dist/ionic/{p-6d95943d.system.js → p-30dfa360.system.js} +1 -1
  512. package/dist/ionic/{p-c880c809.js → p-325c61a4.js} +1 -1
  513. package/dist/ionic/p-34c50a42.system.entry.js +4 -0
  514. package/dist/ionic/p-364044f0.js +4 -0
  515. package/dist/ionic/{p-e38b3c29.entry.js → p-3785c067.entry.js} +1 -1
  516. package/dist/ionic/p-3ae4a2a2.entry.js +4 -0
  517. package/dist/ionic/p-3cd3214e.entry.js +4 -0
  518. package/dist/ionic/{p-874510e9.system.entry.js → p-3e6e53fe.system.entry.js} +1 -1
  519. package/dist/ionic/{p-d4d0538c.system.entry.js → p-40976b1c.system.entry.js} +1 -1
  520. package/dist/ionic/{p-fd94dd20.system.entry.js → p-42fecf9c.system.entry.js} +1 -1
  521. package/dist/ionic/{p-7541ca9f.system.entry.js → p-43c751c6.system.entry.js} +1 -1
  522. package/dist/ionic/p-4a3055ef.system.js +4 -0
  523. package/dist/ionic/{p-f6a6b7ef.system.entry.js → p-4d325220.system.entry.js} +1 -1
  524. package/dist/ionic/p-4d361c89.entry.js +4 -0
  525. package/dist/ionic/p-54c31b4f.entry.js +4 -0
  526. package/dist/ionic/{p-7665bbbc.system.entry.js → p-5a277399.system.entry.js} +1 -1
  527. package/dist/ionic/{p-1600d68c.system.entry.js → p-5ac63b19.system.entry.js} +1 -1
  528. package/dist/ionic/{p-ad2b216a.system.entry.js → p-5b2951c1.system.entry.js} +1 -1
  529. package/dist/ionic/p-5b52897c.js +4 -0
  530. package/dist/ionic/{p-e64277c4.entry.js → p-5e39b9d8.entry.js} +1 -1
  531. package/dist/ionic/{p-a5b7a286.entry.js → p-610f0e12.entry.js} +1 -1
  532. package/dist/ionic/p-668607c2.system.js +4 -0
  533. package/dist/ionic/{p-c3a2e5cc.entry.js → p-66e50777.entry.js} +1 -1
  534. package/dist/ionic/{p-4825e380.entry.js → p-6a448415.entry.js} +1 -1
  535. package/dist/ionic/{p-95e14c7b.system.js → p-6a62da36.system.js} +1 -1
  536. package/dist/ionic/p-6a888b39.system.entry.js +4 -0
  537. package/dist/ionic/{p-3410a9cb.system.js → p-6d9f8fac.system.js} +1 -1
  538. package/dist/ionic/{p-4c2cac66.entry.js → p-7002bc75.entry.js} +1 -1
  539. package/dist/ionic/{p-454b36f7.system.entry.js → p-70c278c4.system.entry.js} +1 -1
  540. package/dist/ionic/{p-7b44b443.entry.js → p-7680d0ec.entry.js} +1 -1
  541. package/dist/ionic/{p-1fa738c4.js → p-78b3da77.js} +1 -1
  542. package/dist/ionic/{p-cd366840.system.entry.js → p-7adde43c.system.entry.js} +1 -1
  543. package/dist/ionic/{p-03f63663.system.js → p-7c7e495d.system.js} +1 -1
  544. package/dist/ionic/p-7d29dff0.system.entry.js +4 -0
  545. package/dist/ionic/p-7d4d9c40.system.entry.js +4 -0
  546. package/dist/ionic/p-7e7d534c.js +4 -0
  547. package/dist/ionic/{p-a8cc0027.system.js → p-853bd866.system.js} +1 -1
  548. package/dist/ionic/{p-91a72ad6.system.entry.js → p-85f43165.system.entry.js} +2 -2
  549. package/dist/ionic/p-86c17a09.entry.js +4 -0
  550. package/dist/ionic/p-8a881b39.entry.js +4 -0
  551. package/dist/ionic/p-8dd3d9c3.system.entry.js +4 -0
  552. package/dist/ionic/{p-77982637.entry.js → p-8ed900e4.entry.js} +1 -1
  553. package/dist/ionic/{p-da83d833.system.entry.js → p-91567c90.system.entry.js} +1 -1
  554. package/dist/ionic/{p-aaca8dd4.system.entry.js → p-92b05b70.system.entry.js} +1 -1
  555. package/dist/ionic/{p-6fd26009.js → p-976c7c54.js} +1 -1
  556. package/dist/ionic/p-978f4710.js +4 -0
  557. package/dist/ionic/{p-65d3f0e9.js → p-98c86cdd.js} +1 -1
  558. package/dist/ionic/p-9b5d033a.system.entry.js +4 -0
  559. package/dist/ionic/{p-30892e0c.system.js → p-9e3177a5.system.js} +1 -1
  560. package/dist/ionic/{p-3bac30bf.system.entry.js → p-9e6a5e3d.system.entry.js} +1 -1
  561. package/dist/ionic/{p-ddc4e717.entry.js → p-a0e8f913.entry.js} +1 -1
  562. package/dist/ionic/p-a3dae2ce.js +4 -0
  563. package/dist/ionic/{p-1a68de09.entry.js → p-a4c287f9.entry.js} +1 -1
  564. package/dist/ionic/{p-8d4d902b.js → p-a600a3e3.js} +1 -1
  565. package/dist/ionic/{p-2b3e0d99.system.entry.js → p-a6b8342e.system.entry.js} +1 -1
  566. package/dist/ionic/p-a88b41d1.system.entry.js +4 -0
  567. package/dist/ionic/{p-f71082f7.entry.js → p-a94092b9.entry.js} +1 -1
  568. package/dist/ionic/p-ac6db4c2.js +4 -0
  569. package/dist/ionic/{p-c5b77291.system.entry.js → p-af2e3481.system.entry.js} +1 -1
  570. package/dist/ionic/{p-eec92f77.system.js → p-af9256a0.system.js} +1 -1
  571. package/dist/ionic/{p-780ff3b5.system.entry.js → p-b0aaa59a.system.entry.js} +1 -1
  572. package/dist/ionic/{p-f16bfd53.entry.js → p-b141e253.entry.js} +1 -1
  573. package/dist/ionic/{p-ded27993.entry.js → p-b1d9b078.entry.js} +1 -1
  574. package/dist/ionic/{p-feb66f6f.entry.js → p-ba0290d1.entry.js} +1 -1
  575. package/dist/ionic/{p-add93c7a.entry.js → p-bb5eba12.entry.js} +1 -1
  576. package/dist/ionic/{p-82f5375e.system.entry.js → p-bb608006.system.entry.js} +1 -1
  577. package/dist/ionic/p-c385e49d.entry.js +4 -0
  578. package/dist/ionic/p-c3f5d0e7.js +4 -0
  579. package/dist/ionic/{p-81869a97.system.entry.js → p-c41e0b5f.system.entry.js} +1 -1
  580. package/dist/ionic/p-c629d22b.system.js +5 -0
  581. package/dist/ionic/{p-15708968.js → p-c6f9f3eb.js} +1 -1
  582. package/dist/ionic/{p-d504bc71.entry.js → p-c8383c20.entry.js} +1 -1
  583. package/dist/ionic/{p-1e0a18a1.system.entry.js → p-cbf0a046.system.entry.js} +1 -1
  584. package/dist/ionic/{p-ebe0be94.system.entry.js → p-d0496c22.system.entry.js} +1 -1
  585. package/dist/ionic/{p-1ed99eba.system.entry.js → p-d286cfbe.system.entry.js} +1 -1
  586. package/dist/ionic/{p-b4bb9cd0.system.entry.js → p-d372938e.system.entry.js} +1 -1
  587. package/dist/ionic/{p-afcd4f49.entry.js → p-d4d17d47.entry.js} +1 -1
  588. package/dist/ionic/{p-6ef5f4da.entry.js → p-d5ab02f5.entry.js} +1 -1
  589. package/dist/ionic/p-d60342e3.js +4 -0
  590. package/dist/ionic/{p-816476b0.system.js → p-d704f798.system.js} +1 -1
  591. package/dist/ionic/{p-942c19cb.entry.js → p-d8090ce4.entry.js} +1 -1
  592. package/dist/ionic/p-d80b7e31.system.js +4 -0
  593. package/dist/ionic/{p-62f15daf.system.entry.js → p-d8ffe61c.system.entry.js} +2 -2
  594. package/dist/ionic/{p-25850474.entry.js → p-da5bbd4f.entry.js} +1 -1
  595. package/dist/ionic/{p-7cc01684.js → p-dad515dc.js} +1 -1
  596. package/dist/ionic/{p-5c3991e3.system.entry.js → p-db7fcadb.system.entry.js} +1 -1
  597. package/dist/ionic/{p-5a055df4.entry.js → p-dd9168f3.entry.js} +1 -1
  598. package/dist/ionic/{p-1ea88de9.system.js → p-e0d52ee3.system.js} +2 -2
  599. package/dist/ionic/p-e3611c25.entry.js +4 -0
  600. package/dist/ionic/p-e4ca94bd.js +4 -0
  601. package/dist/ionic/p-e7b0b64d.system.js +4 -0
  602. package/dist/ionic/{p-7a3fa32c.entry.js → p-ebc5b98f.entry.js} +1 -1
  603. package/dist/ionic/p-ec34194e.system.entry.js +4 -0
  604. package/dist/ionic/p-ec613387.entry.js +4 -0
  605. package/dist/ionic/{p-85cb4733.entry.js → p-ed3463be.entry.js} +1 -1
  606. package/dist/ionic/p-f1d1524c.entry.js +4 -0
  607. package/dist/ionic/p-f687573e.system.js +4 -0
  608. package/dist/ionic/p-f7a1318d.system.entry.js +4 -0
  609. package/dist/ionic/{p-8e83b7f1.system.entry.js → p-f7af3144.system.entry.js} +2 -2
  610. package/dist/ionic/p-f8502e85.js +5 -0
  611. package/dist/ionic/{p-a71dc777.system.js → p-f85a4df5.system.js} +1 -1
  612. package/dist/ionic/{p-f3d6085c.entry.js → p-fa8ee4c3.entry.js} +1 -1
  613. package/dist/ionic/{p-1ce172db.entry.js → p-fb870c48.entry.js} +1 -1
  614. package/dist/ionic/{p-c38c5dfc.system.js → p-fe1fd531.system.js} +1 -1
  615. package/dist/ionic/p-fe35b5c0.entry.js +4 -0
  616. package/dist/types/components/datetime/datetime-interface.d.ts +10 -0
  617. package/dist/types/components/datetime/datetime.d.ts +10 -1
  618. package/dist/types/components/datetime/utils/format.d.ts +7 -13
  619. package/dist/types/components/datetime/utils/validate.d.ts +8 -0
  620. package/dist/types/components/item/item.d.ts +0 -32
  621. package/dist/types/components/menu/menu-interface.d.ts +1 -0
  622. package/dist/types/components/menu/menu.d.ts +2 -2
  623. package/dist/types/components/range/range.d.ts +29 -0
  624. package/dist/types/components/searchbar/searchbar.d.ts +38 -0
  625. package/dist/types/components/toggle/toggle.d.ts +1 -1
  626. package/dist/types/components.d.ts +40 -48
  627. package/dist/types/utils/forms/index.d.ts +0 -1
  628. package/dist/types/utils/hardware-back-button.d.ts +1 -1
  629. package/dist/types/utils/helpers.d.ts +0 -19
  630. package/dist/types/utils/test/playwright/generator.d.ts +3 -3
  631. package/hydrate/index.js +524 -428
  632. package/package.json +7 -2
  633. package/components/note.js +0 -48
  634. package/css/themes/dark.always.css.map +0 -1
  635. package/css/themes/dark.class.css.map +0 -1
  636. package/css/themes/dark.system.css.map +0 -1
  637. package/css/themes/high-contrast-dark.always.css.map +0 -1
  638. package/css/themes/high-contrast-dark.class.css.map +0 -1
  639. package/css/themes/high-contrast-dark.system.css.map +0 -1
  640. package/css/themes/high-contrast.always.css.map +0 -1
  641. package/css/themes/high-contrast.class.css.map +0 -1
  642. package/css/themes/high-contrast.system.css.map +0 -1
  643. package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +0 -14
  644. package/dist/collection/utils/forms/form-controller.js +0 -61
  645. package/dist/collection/utils/test/aria.spec.js +0 -80
  646. package/dist/esm-es5/app-globals-cfb6787b.js +0 -4
  647. package/dist/esm-es5/data-691286f1.js +0 -4
  648. package/dist/esm-es5/hardware-back-button-3a14f99e.js +0 -4
  649. package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
  650. package/dist/esm-es5/index-9b6d6df3.js +0 -5
  651. package/dist/esm-es5/input.utils-482fc893.js +0 -4
  652. package/dist/esm-es5/md.transition-b4170ef7.js +0 -4
  653. package/dist/esm-es5/overlays-4ba3b255.js +0 -4
  654. package/dist/ionic/p-060fdc03.entry.js +0 -4
  655. package/dist/ionic/p-069388dd.system.js +0 -4
  656. package/dist/ionic/p-06fccad7.entry.js +0 -4
  657. package/dist/ionic/p-0ca35c1d.system.entry.js +0 -4
  658. package/dist/ionic/p-134d4936.system.js +0 -4
  659. package/dist/ionic/p-19e79fe8.entry.js +0 -4
  660. package/dist/ionic/p-19f6ac6c.system.js +0 -4
  661. package/dist/ionic/p-22d2a891.js +0 -4
  662. package/dist/ionic/p-239262e4.system.entry.js +0 -4
  663. package/dist/ionic/p-300b2cf1.entry.js +0 -4
  664. package/dist/ionic/p-32bd7ed7.entry.js +0 -4
  665. package/dist/ionic/p-41970e75.entry.js +0 -4
  666. package/dist/ionic/p-43322b14.js +0 -4
  667. package/dist/ionic/p-4523be60.entry.js +0 -4
  668. package/dist/ionic/p-4a8f173c.system.js +0 -4
  669. package/dist/ionic/p-4ad02639.entry.js +0 -4
  670. package/dist/ionic/p-5289aade.js +0 -4
  671. package/dist/ionic/p-5afb6e48.entry.js +0 -4
  672. package/dist/ionic/p-60efe117.js +0 -5
  673. package/dist/ionic/p-6657681b.system.entry.js +0 -4
  674. package/dist/ionic/p-66e6860f.system.js +0 -4
  675. package/dist/ionic/p-6e1fa025.js +0 -4
  676. package/dist/ionic/p-6e5eeb35.entry.js +0 -4
  677. package/dist/ionic/p-6f6d56f1.entry.js +0 -4
  678. package/dist/ionic/p-70218e28.system.entry.js +0 -4
  679. package/dist/ionic/p-72bc2484.system.entry.js +0 -4
  680. package/dist/ionic/p-760dbd5e.js +0 -4
  681. package/dist/ionic/p-82d459c1.js +0 -4
  682. package/dist/ionic/p-842777af.js +0 -4
  683. package/dist/ionic/p-8ab308e9.js +0 -4
  684. package/dist/ionic/p-8ba5912c.entry.js +0 -4
  685. package/dist/ionic/p-8d602214.system.js +0 -5
  686. package/dist/ionic/p-8e3ee444.system.entry.js +0 -4
  687. package/dist/ionic/p-9382ebab.entry.js +0 -4
  688. package/dist/ionic/p-96391c0e.entry.js +0 -4
  689. package/dist/ionic/p-9d6f351e.js +0 -4
  690. package/dist/ionic/p-9e3b3f15.system.js +0 -4
  691. package/dist/ionic/p-a375c9f6.system.entry.js +0 -4
  692. package/dist/ionic/p-a58ec401.js +0 -4
  693. package/dist/ionic/p-b1a9e85a.system.entry.js +0 -4
  694. package/dist/ionic/p-baa409f1.system.entry.js +0 -4
  695. package/dist/ionic/p-bcb58446.entry.js +0 -4
  696. package/dist/ionic/p-c2336a9e.system.entry.js +0 -4
  697. package/dist/ionic/p-cbc3840e.entry.js +0 -4
  698. package/dist/ionic/p-cf852615.system.entry.js +0 -4
  699. package/dist/ionic/p-e15eda82.system.js +0 -4
  700. package/dist/ionic/p-e470466e.entry.js +0 -4
  701. package/dist/ionic/p-ef99a759.entry.js +0 -4
  702. package/dist/ionic/p-fc5ddbf6.entry.js +0 -4
  703. package/dist/types/utils/forms/form-controller.d.ts +0 -15
  704. package/css/{themes → palettes}/dark.always.css +0 -0
  705. package/css/{themes → palettes}/dark.css +0 -0
  706. package/css/{themes → palettes}/dark.css.map +0 -0
  707. package/css/{themes → palettes}/dark.system.css +0 -0
  708. package/css/{themes → palettes}/high-contrast-dark.always.css +1 -1
  709. package/css/{themes → palettes}/high-contrast-dark.css +0 -0
  710. package/css/{themes → palettes}/high-contrast-dark.css.map +0 -0
  711. package/css/{themes → palettes}/high-contrast-dark.system.css +1 -1
  712. package/css/{themes → palettes}/high-contrast.always.css +25 -25
  713. package/css/{themes → palettes}/high-contrast.css +0 -0
  714. package/css/{themes → palettes}/high-contrast.css.map +0 -0
  715. package/css/{themes → palettes}/high-contrast.system.css +25 -25
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, d as createEvent, h, H as Host, f as getElement } from './index-9b6d6df3.js';
5
- import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-66871a1d.js';
6
- import { j as clamp, e as debounceEvent, i as inheritAriaAttributes, l as getAriaLabel, d as renderHiddenInput } from './helpers-ae74b3c9.js';
4
+ import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-5d6a0317.js';
5
+ import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-044b5a86.js';
6
+ import { j as clamp, e as debounceEvent, i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-eab4f597.js';
7
7
  import { p as printIonWarning } from './index-9b0d46f4.js';
8
8
  import { i as isRTL } from './dir-babeabeb.js';
9
9
  import { h as hostContext, c as createColorClasses } from './theme-01f3f29c.js';
10
- import { b as getIonMode } from './ionic-global-c976d684.js';
10
+ import { b as getIonMode } from './ionic-global-a589c12c.js';
11
11
 
12
12
  function getDecimalPlaces(n) {
13
13
  if (n % 1 === 0)
@@ -94,8 +94,14 @@ const Range = class {
94
94
  el: rangeSlider,
95
95
  gestureName: 'range',
96
96
  gesturePriority: 100,
97
- threshold: 0,
98
- onStart: (ev) => this.onStart(ev),
97
+ /**
98
+ * Provide a threshold since the drag movement
99
+ * might be a user scrolling the view.
100
+ * If this is true, then the range
101
+ * should not move.
102
+ */
103
+ threshold: 10,
104
+ onStart: () => this.onStart(),
99
105
  onMove: (ev) => this.onMove(ev),
100
106
  onEnd: (ev) => this.onEnd(ev),
101
107
  });
@@ -261,33 +267,93 @@ const Range = class {
261
267
  this.value = this.ensureValueInBounds(this.value);
262
268
  this.ionChange.emit({ value: this.value });
263
269
  }
264
- onStart(detail) {
265
- const { contentEl } = this;
266
- if (contentEl) {
270
+ /**
271
+ * The value should be updated on touch end or
272
+ * when the component is being dragged.
273
+ * This follows the native behavior of mobile devices.
274
+ *
275
+ * For example: When the user lifts their finger from the
276
+ * screen after tapping the bar or dragging the bar or knob.
277
+ */
278
+ onStart() {
279
+ this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
280
+ }
281
+ /**
282
+ * The value should be updated while dragging the
283
+ * bar or knob.
284
+ *
285
+ * While the user is dragging, the view
286
+ * should not scroll. This is to prevent the user from
287
+ * feeling disoriented while dragging.
288
+ *
289
+ * The user can scroll on the view if the knob or
290
+ * bar is not being dragged.
291
+ *
292
+ * @param detail The details of the gesture event.
293
+ */
294
+ onMove(detail) {
295
+ const { contentEl, pressedKnob } = this;
296
+ const currentX = detail.currentX;
297
+ /**
298
+ * Since the user is dragging on the bar or knob, the view should not scroll.
299
+ *
300
+ * This only needs to be done once.
301
+ */
302
+ if (contentEl && this.initialContentScrollY === undefined) {
267
303
  this.initialContentScrollY = disableContentScrollY(contentEl);
268
304
  }
269
- const rect = (this.rect = this.rangeSlider.getBoundingClientRect());
270
- const currentX = detail.currentX;
271
- // figure out which knob they started closer to
272
- let ratio = clamp(0, (currentX - rect.left) / rect.width, 1);
273
- if (isRTL(this.el)) {
274
- ratio = 1 - ratio;
305
+ /**
306
+ * The `pressedKnob` can be undefined if the user just
307
+ * started dragging the knob.
308
+ *
309
+ * This is necessary to determine which knob the user is dragging,
310
+ * especially when it's a dual knob.
311
+ * Plus, it determines when to apply certain styles.
312
+ *
313
+ * This only needs to be done once since the knob won't change
314
+ * while the user is dragging.
315
+ */
316
+ if (pressedKnob === undefined) {
317
+ this.setPressedKnob(currentX);
275
318
  }
276
- this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - ratio) < Math.abs(this.ratioB - ratio) ? 'A' : 'B';
277
- this.setFocus(this.pressedKnob);
278
- // update the active knob's position
279
319
  this.update(currentX);
280
- this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
281
- }
282
- onMove(detail) {
283
- this.update(detail.currentX);
284
320
  }
321
+ /**
322
+ * The value should be updated on touch end:
323
+ * - When the user lifts their finger from the screen after
324
+ * tapping the bar.
325
+ *
326
+ * @param detail The details of the gesture or mouse event.
327
+ */
285
328
  onEnd(detail) {
286
329
  const { contentEl, initialContentScrollY } = this;
287
- if (contentEl) {
330
+ const currentX = detail.currentX || detail.clientX;
331
+ /**
332
+ * The `pressedKnob` can be undefined if the user never
333
+ * dragged the knob. They just tapped on the bar.
334
+ *
335
+ * This is necessary to determine which knob the user is changing,
336
+ * especially when it's a dual knob.
337
+ * Plus, it determines when to apply certain styles.
338
+ */
339
+ if (this.pressedKnob === undefined) {
340
+ this.setPressedKnob(currentX);
341
+ }
342
+ /**
343
+ * The user is no longer dragging the bar or
344
+ * knob (if they were dragging it).
345
+ *
346
+ * The user can now scroll on the view in the next gesture event.
347
+ */
348
+ if (contentEl && initialContentScrollY !== undefined) {
288
349
  resetContentScrollY(contentEl, initialContentScrollY);
289
350
  }
290
- this.update(detail.currentX);
351
+ // update the active knob's position
352
+ this.update(currentX);
353
+ /**
354
+ * Reset the pressed knob to undefined since the user
355
+ * may start dragging a different knob in the next gesture event.
356
+ */
291
357
  this.pressedKnob = undefined;
292
358
  this.emitValueChange();
293
359
  this.ionKnobMoveEnd.emit({ value: this.ensureValueInBounds(this.value) });
@@ -314,6 +380,16 @@ const Range = class {
314
380
  // Update input value
315
381
  this.updateValue();
316
382
  }
383
+ setPressedKnob(currentX) {
384
+ const rect = (this.rect = this.rangeSlider.getBoundingClientRect());
385
+ // figure out which knob they started closer to
386
+ let ratio = clamp(0, (currentX - rect.left) / rect.width, 1);
387
+ if (isRTL(this.el)) {
388
+ ratio = 1 - ratio;
389
+ }
390
+ this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - ratio) < Math.abs(this.ratioB - ratio) ? 'A' : 'B';
391
+ this.setFocus(this.pressedKnob);
392
+ }
317
393
  get valA() {
318
394
  return ratioToValue(this.ratioA, this.min, this.max, this.step);
319
395
  }
@@ -384,16 +460,7 @@ const Range = class {
384
460
  }
385
461
  renderRangeSlider() {
386
462
  var _a;
387
- const { min, max, step, el, handleKeyboard, pressedKnob, disabled, pin, ratioLower, ratioUpper, inheritedAttributes, rangeId, pinFormatter, } = this;
388
- /**
389
- * Look for external label, ion-label, or aria-labelledby.
390
- * If none, see if user placed an aria-label on the host
391
- * and use that instead.
392
- */
393
- let { labelText } = getAriaLabel(el, rangeId);
394
- if (labelText === undefined || labelText === null) {
395
- labelText = inheritedAttributes['aria-label'];
396
- }
463
+ const { min, max, step, handleKeyboard, pressedKnob, disabled, pin, ratioLower, ratioUpper, pinFormatter, inheritedAttributes, } = this;
397
464
  let barStart = `${ratioLower * 100}%`;
398
465
  let barEnd = `${100 - ratioUpper * 100}%`;
399
466
  const rtl = isRTL(this.el);
@@ -453,11 +520,36 @@ const Range = class {
453
520
  ticks.push(tick);
454
521
  }
455
522
  }
456
- let labelledBy;
457
- if (this.hasLabel) {
458
- labelledBy = 'range-label';
459
- }
460
- return (h("div", { class: "range-slider", ref: (rangeEl) => (this.rangeSlider = rangeEl) }, ticks.map((tick) => (h("div", { style: tickStyle(tick), role: "presentation", class: {
523
+ return (h("div", { class: "range-slider", ref: (rangeEl) => (this.rangeSlider = rangeEl),
524
+ /**
525
+ * Since the gesture has a threshold, the value
526
+ * won't change until the user has dragged past
527
+ * the threshold. This is to prevent the range
528
+ * from moving when the user is scrolling.
529
+ *
530
+ * This results in the value not being updated
531
+ * and the event emitters not being triggered
532
+ * if the user taps on the range. This is why
533
+ * we need to listen for the "pointerUp" event.
534
+ */
535
+ onPointerUp: (ev) => {
536
+ /**
537
+ * If the user drags the knob on the web
538
+ * version (does not occur on mobile),
539
+ * the "pointerUp" event will be triggered
540
+ * along with the gesture's events.
541
+ * This leads to duplicate events.
542
+ *
543
+ * By checking if the pressedKnob is undefined,
544
+ * we can determine if the "pointerUp" event was
545
+ * triggered by a tap or a drag. If it was
546
+ * dragged, the pressedKnob will be defined.
547
+ */
548
+ if (this.pressedKnob === undefined) {
549
+ this.onStart();
550
+ this.onEnd(ev);
551
+ }
552
+ } }, ticks.map((tick) => (h("div", { style: tickStyle(tick), role: "presentation", class: {
461
553
  'range-tick': true,
462
554
  'range-tick-active': tick.active,
463
555
  }, part: tick.active ? 'tick-active' : 'tick' }))), h("div", { class: "range-bar-container" }, h("div", { class: "range-bar", role: "presentation", part: "bar" }), h("div", { class: {
@@ -475,8 +567,7 @@ const Range = class {
475
567
  handleKeyboard,
476
568
  min,
477
569
  max,
478
- labelText,
479
- labelledBy,
570
+ inheritedAttributes,
480
571
  }), this.dualKnobs &&
481
572
  renderKnob(rtl, {
482
573
  knob: 'B',
@@ -489,8 +580,7 @@ const Range = class {
489
580
  handleKeyboard,
490
581
  min,
491
582
  max,
492
- labelText,
493
- labelledBy,
583
+ inheritedAttributes,
494
584
  })));
495
585
  }
496
586
  render() {
@@ -510,7 +600,7 @@ const Range = class {
510
600
  const needsEndAdjustment = inItem && !hasEndContent;
511
601
  const mode = getIonMode(this);
512
602
  renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
513
- return (h(Host, { key: 'ff8dbbb4e0c8b9802408a40fa0d93528ec730a9f', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
603
+ return (h(Host, { key: '2ddcec5645566b2581a9c45891926722e903487e', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
514
604
  [mode]: true,
515
605
  'in-item': inItem,
516
606
  'range-disabled': disabled,
@@ -519,10 +609,10 @@ const Range = class {
519
609
  [`range-label-placement-${labelPlacement}`]: true,
520
610
  'range-item-start-adjustment': needsStartAdjustment,
521
611
  'range-item-end-adjustment': needsEndAdjustment,
522
- }) }, h("label", { key: '2164b0ec67215d7791d795a1f6274b595ad74d80', class: "range-wrapper", id: "range-label" }, h("div", { key: '717346e2bcfb29a3a5ef39b5fec226d484aa1f46', class: {
612
+ }) }, h("label", { key: '87ca3578203144d6543f4b7cb4145e99a2a56445', class: "range-wrapper", id: "range-label" }, h("div", { key: '9acb1a0778f816d6054443f58fedca219b6fef41', class: {
523
613
  'label-text-wrapper': true,
524
614
  'label-text-wrapper-hidden': !hasLabel,
525
- }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'a6ffff056ab81a45f1a0b38fa42031c51ceabb52', class: "native-wrapper" }, h("slot", { key: 'df3f155a9886cc62d3f0d23467c406c52cd3e082', name: "start" }), this.renderRangeSlider(), h("slot", { key: '3fab316ecdff317c07010a204d89e85af12d347e', name: "end" })))));
615
+ }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '0c0ca9e634ff1ff257e077630ed46aab599c4087', class: "native-wrapper" }, h("slot", { key: '99f5f6c4e3323cbe0d09b7d18fcda2fcf29951e1', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'f525b2c755c1287e23d9e1920617518fa2d08e05', name: "end" })))));
526
616
  }
527
617
  get el() { return getElement(this); }
528
618
  static get watchers() { return {
@@ -534,13 +624,15 @@ const Range = class {
534
624
  "value": ["valueChanged"]
535
625
  }; }
536
626
  };
537
- const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard, labelText, labelledBy, pinFormatter, }) => {
627
+ const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin, handleKeyboard, pinFormatter, inheritedAttributes }) => {
538
628
  const start = rtl ? 'right' : 'left';
539
629
  const knobStyle = () => {
540
630
  const style = {};
541
631
  style[start] = `${ratio * 100}%`;
542
632
  return style;
543
633
  };
634
+ // The aria label should be preferred over visible text if both are specified
635
+ const ariaLabel = inheritedAttributes['aria-label'];
544
636
  return (h("div", { onKeyDown: (ev) => {
545
637
  const key = ev.key;
546
638
  if (key === 'ArrowLeft' || key === 'ArrowDown') {
@@ -562,7 +654,7 @@ const renderKnob = (rtl, { knob, value, ratio, min, max, disabled, pressed, pin,
562
654
  'range-knob-max': value === max,
563
655
  'ion-activatable': true,
564
656
  'ion-focusable': true,
565
- }, style: knobStyle(), role: "slider", tabindex: disabled ? -1 : 0, "aria-label": labelledBy === undefined ? labelText : null, "aria-labelledby": labelledBy !== undefined ? labelledBy : null, "aria-valuemin": min, "aria-valuemax": max, "aria-disabled": disabled ? 'true' : null, "aria-valuenow": value }, pin && (h("div", { class: "range-pin", role: "presentation", part: "pin" }, pinFormatter(value))), h("div", { class: "range-knob", role: "presentation", part: "knob" })));
657
+ }, style: knobStyle(), role: "slider", tabindex: disabled ? -1 : 0, "aria-label": ariaLabel !== undefined ? ariaLabel : null, "aria-labelledby": ariaLabel === undefined ? 'range-label' : null, "aria-valuemin": min, "aria-valuemax": max, "aria-disabled": disabled ? 'true' : null, "aria-valuenow": value }, pin && (h("div", { class: "range-pin", role: "presentation", part: "pin" }, pinFormatter(value))), h("div", { class: "range-knob", role: "presentation", part: "knob" })));
566
658
  };
567
659
  const ratioToValue = (ratio, min, max, step) => {
568
660
  let value = (max - min) * ratio;
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { w as writeTask, r as registerInstance, d as createEvent, e as readTask, h, f as getElement, H as Host } from './index-9b6d6df3.js';
4
+ import { w as writeTask, r as registerInstance, d as createEvent, e as readTask, h, i as getElement, f as Host } from './index-5d6a0317.js';
5
5
  import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
6
- import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-66871a1d.js';
7
- import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-ae74b3c9.js';
6
+ import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-044b5a86.js';
7
+ import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-eab4f597.js';
8
8
  import { d as hapticImpact, I as ImpactStyle } from './haptic-554688a5.js';
9
- import { b as getIonMode, c as config } from './ionic-global-c976d684.js';
10
- import { c as createAnimation } from './animation-a4acf150.js';
9
+ import { b as getIonMode, c as config } from './ionic-global-a589c12c.js';
10
+ import { c as createAnimation } from './animation-6a3c0abb.js';
11
11
  import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
12
12
  import { h as caretBackSharp, i as arrowDown } from './index-f7dc70ba.js';
13
13
  import { S as SPINNERS } from './spinner-configs-964f7cf3.js';
@@ -796,7 +796,7 @@ const Refresher = class {
796
796
  }
797
797
  render() {
798
798
  const mode = getIonMode(this);
799
- return (h(Host, { key: '460d903daa65f5549f4f75de63d185d82b9df1bc', slot: "fixed", class: {
799
+ return (h(Host, { key: 'a0de60286257949f47ce80fccc7d35477a0cbfa1', slot: "fixed", class: {
800
800
  [mode]: true,
801
801
  // Used internally for styling
802
802
  [`refresher-${mode}`]: true,
@@ -863,7 +863,7 @@ const RefresherContent = class {
863
863
  const pullingIcon = this.pullingIcon;
864
864
  const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
865
865
  const mode = getIonMode(this);
866
- return (h(Host, { key: 'bd4122ec149c1ea6c43d5b6dfd7932569bfd8d7e', class: mode }, h("div", { key: '492113883e1ed465fd6b35a8e700b29a8bbb2baf', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '402b0e02cfee42358c4fd690b60c8eb39386569f', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
866
+ return (h(Host, { key: '09b538ace5a850e4cfd206e13a3c04ecb6c383e1', class: mode }, h("div", { key: '13c564d2970939f250ff8d2ec6bab2c6ad20ea88', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '21e7d4014f5779238ecf9fee4b9d492232835753', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
867
867
  }
868
868
  get el() { return getElement(this); }
869
869
  };
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, h, H as Host, f as getElement, d as createEvent } from './index-9b6d6df3.js';
4
+ import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-5d6a0317.js';
5
5
  import { j as reorderThreeOutline, k as reorderTwoSharp } from './index-f7dc70ba.js';
6
- import { b as getIonMode } from './ionic-global-c976d684.js';
7
- import { f as findClosestIonContent, g as getScrollElement } from './index-66871a1d.js';
8
- import { r as raf } from './helpers-ae74b3c9.js';
6
+ import { b as getIonMode } from './ionic-global-a589c12c.js';
7
+ import { f as findClosestIonContent, g as getScrollElement } from './index-044b5a86.js';
8
+ import { r as raf } from './helpers-eab4f597.js';
9
9
  import { a as hapticSelectionStart, b as hapticSelectionChanged, h as hapticSelectionEnd } from './haptic-554688a5.js';
10
10
  import './index-9b0d46f4.js';
11
11
  import './capacitor-59395cbd.js';
@@ -33,7 +33,7 @@ const Reorder = class {
33
33
  render() {
34
34
  const mode = getIonMode(this);
35
35
  const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
36
- return (h(Host, { key: '268c3575bdc5ca591e11442a744119028f17ae85', class: mode }, h("slot", { key: '4767aef1d57921060541cd38b0a62ef2d8b3267b' }, h("ion-icon", { key: 'ad5f972dc2449cdd7aba92b06e7f0d2539e9a202', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
36
+ return (h(Host, { key: '0a7ac59a7c42bce0b76a13a5e03a0e2f13539cea', class: mode }, h("slot", { key: 'cd9c737ec8dfd0afe0bd558141f9f7b66bca66cf' }, h("ion-icon", { key: '3dc8fb3478bd2be7f99c1e15b51a41f18b421dbb', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
37
37
  }
38
38
  get el() { return getElement(this); }
39
39
  };
@@ -279,7 +279,7 @@ const ReorderGroup = class {
279
279
  }
280
280
  render() {
281
281
  const mode = getIonMode(this);
282
- return (h(Host, { key: '3131c13e939242f1a4e10b4fcee028440b1a04c3', class: {
282
+ return (h(Host, { key: '1fe29e61375e3c7fa810b49cf55fb17fd6d9ec82', class: {
283
283
  [mode]: true,
284
284
  'reorder-enabled': !this.disabled,
285
285
  'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, e as readTask, w as writeTask, h, f as getElement, H as Host } from './index-9b6d6df3.js';
5
- import { b as getIonMode } from './ionic-global-c976d684.js';
4
+ import { r as registerInstance, e as readTask, w as writeTask, h, i as getElement, f as Host } from './index-5d6a0317.js';
5
+ import { b as getIonMode } from './ionic-global-a589c12c.js';
6
6
 
7
7
  const rippleEffectCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";
8
8
  const IonRippleEffectStyle0 = rippleEffectCss;
@@ -64,7 +64,7 @@ const RippleEffect = class {
64
64
  }
65
65
  render() {
66
66
  const mode = getIonMode(this);
67
- return (h(Host, { key: '42d95cc2382286e3bc5d68603f8292eb57ba10f5', role: "presentation", class: {
67
+ return (h(Host, { key: '2bf24209bf2e1f0ba43e2c38357a54a2a17a4565', role: "presentation", class: {
68
68
  [mode]: true,
69
69
  unbounded: this.unbounded,
70
70
  } }));
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, d as createEvent, f as getElement, h, H as Host } from './index-9b6d6df3.js';
5
- import { c as componentOnReady, p as debounce } from './helpers-ae74b3c9.js';
4
+ import { r as registerInstance, d as createEvent, i as getElement, h, f as Host } from './index-5d6a0317.js';
5
+ import { c as componentOnReady, o as debounce } from './helpers-eab4f597.js';
6
6
  import { o as openURL, c as createColorClasses } from './theme-01f3f29c.js';
7
- import { b as getIonMode } from './ionic-global-c976d684.js';
7
+ import { b as getIonMode } from './ionic-global-a589c12c.js';
8
8
 
9
9
  const Route = class {
10
10
  constructor(hostRef) {
@@ -878,10 +878,10 @@ const RouterLink = class {
878
878
  rel: this.rel,
879
879
  target: this.target,
880
880
  };
881
- return (h(Host, { key: '64a8781a0e92ddc14e03a60ac3da7f21dd59a2af', onClick: this.onClick, class: createColorClasses(this.color, {
881
+ return (h(Host, { key: '95f4eb3b6292a5525db6d3ed6111d4fbce48fd8b', onClick: this.onClick, class: createColorClasses(this.color, {
882
882
  [mode]: true,
883
883
  'ion-activatable': true,
884
- }) }, h("a", Object.assign({ key: 'e2da87e62410c9ada5810f95ab1b9d6c489703a0' }, attrs), h("slot", { key: '201854747f5c867c8f6fadea20ef29b1d221f9db' }))));
884
+ }) }, h("a", Object.assign({ key: '19178223d3927ed9cc6ef423050691f80e01e115' }, attrs), h("slot", { key: '0e046007427a5bc096c89c4d1a596d19cd8f89ab' }))));
885
885
  }
886
886
  };
887
887
  RouterLink.style = IonRouterLinkStyle0;
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, d as createEvent, i as forceUpdate, h, H as Host, f as getElement } from './index-9b6d6df3.js';
5
- import { e as debounceEvent, c as componentOnReady, r as raf } from './helpers-ae74b3c9.js';
4
+ import { r as registerInstance, d as createEvent, j as forceUpdate, h, f as Host, i as getElement } from './index-5d6a0317.js';
5
+ import { e as debounceEvent, h as inheritAttributes, c as componentOnReady, r as raf } from './helpers-eab4f597.js';
6
6
  import { i as isRTL } from './dir-babeabeb.js';
7
7
  import { c as createColorClasses } from './theme-01f3f29c.js';
8
8
  import { a as arrowBackSharp, b as closeCircle, d as closeSharp, s as searchOutline, e as searchSharp } from './index-f7dc70ba.js';
9
- import { c as config, b as getIonMode } from './ionic-global-c976d684.js';
9
+ import { c as config, b as getIonMode } from './ionic-global-a589c12c.js';
10
10
 
11
11
  const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:17px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
12
12
  const IonSearchbarIosStyle0 = searchbarIosCss;
@@ -27,6 +27,7 @@ const Searchbar = class {
27
27
  this.isCancelVisible = false;
28
28
  this.shouldAlignLeft = true;
29
29
  this.inputId = `ion-searchbar-${searchbarIds++}`;
30
+ this.inheritedAttributes = {};
30
31
  /**
31
32
  * Clears the input field and triggers the control change.
32
33
  */
@@ -127,6 +128,7 @@ const Searchbar = class {
127
128
  this.noAnimate = true;
128
129
  this.color = undefined;
129
130
  this.animated = false;
131
+ this.autocapitalize = undefined;
130
132
  this.autocomplete = 'off';
131
133
  this.autocorrect = 'off';
132
134
  this.cancelButtonIcon = config.get('backButtonIcon', arrowBackSharp);
@@ -136,6 +138,8 @@ const Searchbar = class {
136
138
  this.disabled = false;
137
139
  this.inputmode = undefined;
138
140
  this.enterkeyhint = undefined;
141
+ this.maxlength = undefined;
142
+ this.minlength = undefined;
139
143
  this.name = this.inputId;
140
144
  this.placeholder = 'Search';
141
145
  this.searchIcon = undefined;
@@ -145,6 +149,21 @@ const Searchbar = class {
145
149
  this.type = 'search';
146
150
  this.value = '';
147
151
  }
152
+ /**
153
+ * lang and dir are globally enumerated attributes.
154
+ * As a result, creating these as properties
155
+ * can have unintended side effects. Instead, we
156
+ * listen for attribute changes and inherit them
157
+ * to the inner `<input>` element.
158
+ */
159
+ onLangChanged(newValue) {
160
+ this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { lang: newValue });
161
+ forceUpdate(this);
162
+ }
163
+ onDirChanged(newValue) {
164
+ this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: newValue });
165
+ forceUpdate(this);
166
+ }
148
167
  debounceChanged() {
149
168
  const { ionInput, debounce, originalIonInput } = this;
150
169
  /**
@@ -169,6 +188,9 @@ const Searchbar = class {
169
188
  connectedCallback() {
170
189
  this.emitStyle();
171
190
  }
191
+ componentWillLoad() {
192
+ this.inheritedAttributes = Object.assign({}, inheritAttributes(this.el, ['lang', 'dir']));
193
+ }
172
194
  componentDidLoad() {
173
195
  this.originalIonInput = this.ionInput;
174
196
  this.positionElements();
@@ -367,8 +389,8 @@ const Searchbar = class {
367
389
  const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
368
390
  const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
369
391
  const shouldShowCancelButton = this.shouldShowCancelButton();
370
- const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: 'd219b739da043f04358e5646c9d206d5f39d1b86', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'fa93932c72571e76d5845e15a4d96291591cec61', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
371
- return (h(Host, { key: '72fed78006b21e3e4bc3af31a4eb4545fd3b69da', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
392
+ const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '5b5b1f76c164a3d06c24cc4e8caf831355063a3d', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '8dbe0a644441d7c02053183f214847766ac0ef2b', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
393
+ return (h(Host, { key: '2741c301a182cc20cb0c828b75b3dca9c9e3a3f5', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
372
394
  [mode]: true,
373
395
  'searchbar-animated': animated,
374
396
  'searchbar-disabled': this.disabled,
@@ -378,17 +400,19 @@ const Searchbar = class {
378
400
  'searchbar-has-focus': this.focused,
379
401
  'searchbar-should-show-clear': this.shouldShowClearButton(),
380
402
  'searchbar-should-show-cancel': this.shouldShowCancelButton(),
381
- }) }, h("div", { key: 'b392694fa344f9316c5ca15560f49b03d149d9a1', class: "searchbar-input-container" }, h("input", { key: '998a7ab915a20bc952c6b4be645870b6291576b7', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }), mode === 'md' && cancelButton, h("ion-icon", { key: 'fa6f3463a1941368e3cf4eaf7059cf5518d1daeb', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: 'e6200807543cfb4a685a6ad0481eb2dc5cab38df', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
403
+ }) }, h("div", { key: '380ad3d3ce925d0fe826318aad1f73892f7817a8', class: "searchbar-input-container" }, h("input", Object.assign({ key: '50f51e3c3d71cbbceeee2196c3ac033ef77e8a77', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '6eb4cfbbad36cf31d134fc3d8221111dc10a35ae', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: 'b0ac8e45b69c4337dfc86d24c7e953f9d4b428c2', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
382
404
  /**
383
405
  * This prevents mobile browsers from
384
406
  * blurring the input when the clear
385
407
  * button is activated.
386
408
  */
387
409
  ev.preventDefault();
388
- }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '983f4f65730913c5ff93baed855d694983f72e12', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
410
+ }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'f41efbb052f98c3c67e926d95e4b299794d3d012', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
389
411
  }
390
412
  get el() { return getElement(this); }
391
413
  static get watchers() { return {
414
+ "lang": ["onLangChanged"],
415
+ "dir": ["onDirChanged"],
392
416
  "debounce": ["debounceChanged"],
393
417
  "value": ["valueChanged"],
394
418
  "showCancelButton": ["showCancelButtonChanged"]
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { r as registerInstance, d as createEvent, w as writeTask, h, H as Host, f as getElement, i as forceUpdate } from './index-9b6d6df3.js';
5
- import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes } from './helpers-ae74b3c9.js';
4
+ import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement, j as forceUpdate } from './index-5d6a0317.js';
5
+ import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes } from './helpers-eab4f597.js';
6
6
  import { i as isRTL } from './dir-babeabeb.js';
7
7
  import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
8
- import { b as getIonMode } from './ionic-global-c976d684.js';
8
+ import { b as getIonMode } from './ionic-global-a589c12c.js';
9
9
 
10
10
  const segmentIosCss = ":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}";
11
11
  const IonSegmentIosStyle0 = segmentIosCss;
@@ -426,14 +426,14 @@ const Segment = class {
426
426
  }
427
427
  render() {
428
428
  const mode = getIonMode(this);
429
- return (h(Host, { key: 'a0b1480e0f95ed9647871c749dbd93ef7ce5b28e', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
429
+ return (h(Host, { key: '78c3072c35c9f62f62cd88e6a9d8eba52a09b030', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
430
430
  [mode]: true,
431
431
  'in-toolbar': hostContext('ion-toolbar', this.el),
432
432
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
433
433
  'segment-activated': this.activated,
434
434
  'segment-disabled': this.disabled,
435
435
  'segment-scrollable': this.scrollable,
436
- }) }, h("slot", { key: '01b9559e574b1b194e6010295cd9bea4b6aeab1b' })));
436
+ }) }, h("slot", { key: '11985d112b9a0d3a973d8b94408c793269f88225' })));
437
437
  }
438
438
  get el() { return getElement(this); }
439
439
  static get watchers() { return {
@@ -521,7 +521,7 @@ const SegmentButton = class {
521
521
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
522
522
  const mode = getIonMode(this);
523
523
  const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
524
- return (h(Host, { key: 'fc2262b4b1cb0c3e38b3de672910543211779b98', class: {
524
+ return (h(Host, { key: 'b81255f116704fa84b0a3a57b16c6ab65ae07476', class: {
525
525
  [mode]: true,
526
526
  'in-toolbar': hostContext('ion-toolbar', this.el),
527
527
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -537,10 +537,10 @@ const SegmentButton = class {
537
537
  'ion-activatable': true,
538
538
  'ion-activatable-instant': true,
539
539
  'ion-focusable': true,
540
- } }, h("button", Object.assign({ key: 'd73ffb0e52b86e41fff7aafac8bd77073b494b28', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: 'a3d76c3191a508f47782f17602d814920dc26694', class: "button-inner" }, h("slot", { key: 'ae6479c5eec1e0f4077066a6b0ca06c13af0847f' })), mode === 'md' && h("ion-ripple-effect", null)), h("div", { key: '593a4ec0d186520485073dc2fcdf23899924399b', part: "indicator", class: {
540
+ } }, h("button", Object.assign({ key: '3d1a946472d5be4ec2d3ae897e795fdc8de18317', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: 'e4ea2923bde903c79deb7f4f9608a37f05f62941', class: "button-inner" }, h("slot", { key: '2df19fbc41e1fb03ca2416ff2050c8225b0a5ce5' })), mode === 'md' && h("ion-ripple-effect", null)), h("div", { key: '4cb31e2f3d78086d489f31ec072dad91bbfaae0e', part: "indicator", class: {
541
541
  'segment-button-indicator': true,
542
542
  'segment-button-indicator-animated': true,
543
- } }, h("div", { key: 'cfbd0d89a928cce0130da46b2be406c03ab3cddb', part: "indicator-background", class: "segment-button-indicator-background" }))));
543
+ } }, h("div", { key: '6444409904e159e32c3901c1a0857a5558a6af55', part: "indicator-background", class: "segment-button-indicator-background" }))));
544
544
  }
545
545
  get el() { return getElement(this); }
546
546
  static get watchers() { return {