@ionic/core 8.4.5 → 8.5.0

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 (462) hide show
  1. package/components/checkbox.js +40 -6
  2. package/components/index6.js +11 -3
  3. package/components/ion-input.js +22 -9
  4. package/components/ion-item-divider.js +2 -2
  5. package/components/ion-item-group.js +1 -1
  6. package/components/ion-item-option.js +2 -2
  7. package/components/ion-item-options.js +1 -1
  8. package/components/ion-item-sliding.js +1 -1
  9. package/components/ion-loading.js +2 -2
  10. package/components/ion-menu-button.js +2 -2
  11. package/components/ion-menu-toggle.js +2 -2
  12. package/components/ion-menu.js +2 -2
  13. package/components/ion-nav-link.js +1 -1
  14. package/components/ion-nav.js +1 -1
  15. package/components/ion-note.js +2 -2
  16. package/components/ion-picker-legacy.js +2 -2
  17. package/components/ion-progress-bar.js +1 -1
  18. package/components/ion-range.js +3 -3
  19. package/components/ion-refresher-content.js +1 -1
  20. package/components/ion-refresher.js +1 -1
  21. package/components/ion-reorder-group.js +1 -1
  22. package/components/ion-reorder.js +1 -1
  23. package/components/ion-router-link.js +2 -2
  24. package/components/ion-router-outlet.js +1 -1
  25. package/components/ion-row.js +1 -1
  26. package/components/ion-searchbar.js +4 -4
  27. package/components/ion-segment-button.js +2 -2
  28. package/components/ion-segment-content.js +1 -1
  29. package/components/ion-segment-view.js +2 -2
  30. package/components/ion-segment.js +2 -2
  31. package/components/ion-select-option.js +1 -1
  32. package/components/ion-select.js +50 -6
  33. package/components/ion-skeleton-text.js +2 -2
  34. package/components/ion-split-pane.js +2 -2
  35. package/components/ion-tab-bar.js +2 -2
  36. package/components/ion-tab-button.js +2 -2
  37. package/components/ion-tab.js +2 -2
  38. package/components/ion-tabs.js +1 -1
  39. package/components/ion-text.js +2 -2
  40. package/components/ion-textarea.js +21 -8
  41. package/components/ion-thumbnail.js +1 -1
  42. package/components/ion-toast.js +2 -2
  43. package/components/ion-toggle.js +40 -6
  44. package/components/label.js +2 -2
  45. package/components/list-header.js +2 -2
  46. package/components/modal.js +267 -35
  47. package/components/picker-column-option.js +2 -2
  48. package/components/picker-column2.js +2 -2
  49. package/components/popover.js +2 -2
  50. package/components/radio-group.js +39 -2
  51. package/components/radio.js +3 -3
  52. package/components/ripple-effect.js +1 -1
  53. package/components/select-modal.js +1 -1
  54. package/components/select-popover.js +1 -1
  55. package/components/spinner.js +1 -1
  56. package/components/title.js +2 -2
  57. package/components/toolbar.js +2 -2
  58. package/css/core.css.map +1 -1
  59. package/css/ionic.bundle.css.map +1 -1
  60. package/dist/cjs/{data-21dc0f81.js → data-27cc2c9c.js} +1 -1
  61. package/dist/cjs/{index-5915f9b3.js → index-48b2a28e.js} +11 -3
  62. package/dist/cjs/{index-77e085b4.js → index-9b945a2d.js} +1 -1
  63. package/dist/cjs/{index-55a184f7.js → index-f68a486a.js} +3 -3
  64. package/dist/cjs/{index-864d95f4.js → index-fd6383b6.js} +1 -1
  65. package/dist/cjs/index.cjs.js +6 -6
  66. package/dist/cjs/{input-shims-52924092.js → input-shims-2d27a5be.js} +4 -2
  67. package/dist/cjs/{input.utils-e4144534.js → input.utils-2f642324.js} +1 -1
  68. package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
  69. package/dist/cjs/ion-action-sheet.cjs.entry.js +2 -2
  70. package/dist/cjs/ion-alert.cjs.entry.js +2 -2
  71. package/dist/cjs/ion-app_8.cjs.entry.js +10 -10
  72. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  73. package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
  74. package/dist/cjs/ion-checkbox.cjs.entry.js +37 -6
  75. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  76. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  77. package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
  78. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  79. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
  80. package/dist/cjs/ion-input.cjs.entry.js +21 -9
  81. package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
  82. package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
  83. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  84. package/dist/cjs/ion-menu_3.cjs.entry.js +9 -9
  85. package/dist/cjs/ion-modal.cjs.entry.js +270 -39
  86. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
  87. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  88. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  89. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  90. package/dist/cjs/ion-radio_2.cjs.entry.js +39 -4
  91. package/dist/cjs/ion-range.cjs.entry.js +5 -5
  92. package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
  93. package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
  94. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  95. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  96. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  97. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  98. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  99. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  100. package/dist/cjs/ion-select-modal.cjs.entry.js +3 -3
  101. package/dist/cjs/ion-select_3.cjs.entry.js +51 -10
  102. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  103. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  104. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  105. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  106. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  107. package/dist/cjs/ion-textarea.cjs.entry.js +20 -8
  108. package/dist/cjs/ion-toast.cjs.entry.js +4 -4
  109. package/dist/cjs/ion-toggle.cjs.entry.js +37 -6
  110. package/dist/cjs/ionic.cjs.js +1 -1
  111. package/dist/cjs/{ios.transition-abac30e4.js → ios.transition-f970164c.js} +2 -2
  112. package/dist/cjs/loader.cjs.js +1 -1
  113. package/dist/cjs/{md.transition-e328f70d.js → md.transition-aa8820dd.js} +2 -2
  114. package/dist/cjs/{overlays-2f264f05.js → overlays-737576a2.js} +1 -1
  115. package/dist/cjs/{status-tap-191ccc90.js → status-tap-08d1ac81.js} +3 -2
  116. package/dist/collection/components/checkbox/checkbox.ios.css +52 -15
  117. package/dist/collection/components/checkbox/checkbox.js +90 -4
  118. package/dist/collection/components/checkbox/checkbox.md.css +52 -15
  119. package/dist/collection/components/input/input.ios.css +3 -2
  120. package/dist/collection/components/input/input.js +18 -4
  121. package/dist/collection/components/input/input.md.css +7 -2
  122. package/dist/collection/components/item-divider/item-divider.js +2 -2
  123. package/dist/collection/components/item-group/item-group.js +1 -1
  124. package/dist/collection/components/item-option/item-option.js +2 -2
  125. package/dist/collection/components/item-options/item-options.js +1 -1
  126. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  127. package/dist/collection/components/label/label.js +2 -2
  128. package/dist/collection/components/list-header/list-header.js +2 -2
  129. package/dist/collection/components/loading/loading.js +2 -2
  130. package/dist/collection/components/menu/menu.js +2 -2
  131. package/dist/collection/components/menu-button/menu-button.js +2 -2
  132. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  133. package/dist/collection/components/modal/animations/ios.enter.js +50 -4
  134. package/dist/collection/components/modal/animations/ios.leave.js +24 -2
  135. package/dist/collection/components/modal/animations/md.enter.js +52 -5
  136. package/dist/collection/components/modal/animations/md.leave.js +26 -3
  137. package/dist/collection/components/modal/animations/sheet.js +11 -2
  138. package/dist/collection/components/modal/gestures/sheet.js +87 -10
  139. package/dist/collection/components/modal/modal.ios.css +16 -0
  140. package/dist/collection/components/modal/modal.js +32 -7
  141. package/dist/collection/components/modal/modal.md.css +6 -0
  142. package/dist/collection/components/nav/nav.js +1 -1
  143. package/dist/collection/components/nav-link/nav-link.js +1 -1
  144. package/dist/collection/components/note/note.js +2 -2
  145. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  146. package/dist/collection/components/picker-legacy/picker.js +2 -2
  147. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  148. package/dist/collection/components/popover/popover.js +2 -2
  149. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  150. package/dist/collection/components/radio/radio.js +3 -3
  151. package/dist/collection/components/radio-group/radio-group.ios.css +205 -0
  152. package/dist/collection/components/radio-group/radio-group.js +72 -1
  153. package/dist/collection/components/radio-group/radio-group.md.css +205 -0
  154. package/dist/collection/components/range/range.js +3 -3
  155. package/dist/collection/components/refresher/refresher.js +1 -1
  156. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  157. package/dist/collection/components/reorder/reorder.js +1 -1
  158. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  159. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  160. package/dist/collection/components/router-link/router-link.js +2 -2
  161. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  162. package/dist/collection/components/row/row.js +1 -1
  163. package/dist/collection/components/searchbar/searchbar.js +4 -4
  164. package/dist/collection/components/segment/segment.js +2 -2
  165. package/dist/collection/components/segment-button/segment-button.js +2 -2
  166. package/dist/collection/components/segment-content/segment-content.js +1 -1
  167. package/dist/collection/components/segment-view/segment-view.js +2 -2
  168. package/dist/collection/components/select/select.ios.css +59 -0
  169. package/dist/collection/components/select/select.js +100 -4
  170. package/dist/collection/components/select/select.md.css +61 -0
  171. package/dist/collection/components/select-modal/select-modal.js +1 -1
  172. package/dist/collection/components/select-option/select-option.js +1 -1
  173. package/dist/collection/components/select-popover/select-popover.js +1 -1
  174. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  175. package/dist/collection/components/spinner/spinner.js +1 -1
  176. package/dist/collection/components/split-pane/split-pane.js +2 -2
  177. package/dist/collection/components/tab/tab.js +2 -2
  178. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  179. package/dist/collection/components/tab-button/tab-button.js +2 -2
  180. package/dist/collection/components/tabs/tabs.js +1 -1
  181. package/dist/collection/components/text/text.js +2 -2
  182. package/dist/collection/components/textarea/textarea.ios.css +3 -2
  183. package/dist/collection/components/textarea/textarea.js +17 -3
  184. package/dist/collection/components/textarea/textarea.md.css +7 -2
  185. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  186. package/dist/collection/components/title/title.js +2 -2
  187. package/dist/collection/components/toast/toast.js +2 -2
  188. package/dist/collection/components/toggle/toggle.ios.css +52 -15
  189. package/dist/collection/components/toggle/toggle.js +90 -4
  190. package/dist/collection/components/toggle/toggle.md.css +52 -15
  191. package/dist/collection/components/toolbar/toolbar.js +6 -2
  192. package/dist/collection/utils/logging/index.js +10 -3
  193. package/dist/docs.json +379 -2
  194. package/dist/esm/{data-ae11fd43.js → data-174ad5e0.js} +1 -1
  195. package/dist/esm/{index-9b0d46f4.js → index-738d7504.js} +11 -3
  196. package/dist/esm/{index-d4642b24.js → index-933ca126.js} +1 -1
  197. package/dist/esm/{index-c4a831fd.js → index-a313df53.js} +3 -3
  198. package/dist/esm/{index-df741ec6.js → index-c63afbe6.js} +1 -1
  199. package/dist/esm/index.js +6 -6
  200. package/dist/esm/{input-shims-80c5b98e.js → input-shims-3070628a.js} +4 -2
  201. package/dist/esm/{input.utils-3a4c0a2a.js → input.utils-926c04a8.js} +1 -1
  202. package/dist/esm/ion-accordion_2.entry.js +1 -1
  203. package/dist/esm/ion-action-sheet.entry.js +2 -2
  204. package/dist/esm/ion-alert.entry.js +2 -2
  205. package/dist/esm/ion-app_8.entry.js +10 -10
  206. package/dist/esm/ion-avatar_3.entry.js +1 -1
  207. package/dist/esm/ion-button_2.entry.js +1 -1
  208. package/dist/esm/ion-checkbox.entry.js +37 -6
  209. package/dist/esm/ion-col_3.entry.js +1 -1
  210. package/dist/esm/ion-datetime-button.entry.js +2 -2
  211. package/dist/esm/ion-datetime_3.entry.js +7 -7
  212. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  213. package/dist/esm/ion-input-password-toggle.entry.js +1 -1
  214. package/dist/esm/ion-input.entry.js +22 -10
  215. package/dist/esm/ion-item-option_3.entry.js +6 -6
  216. package/dist/esm/ion-item_8.entry.js +11 -11
  217. package/dist/esm/ion-loading.entry.js +4 -4
  218. package/dist/esm/ion-menu_3.entry.js +9 -9
  219. package/dist/esm/ion-modal.entry.js +270 -39
  220. package/dist/esm/ion-nav_2.entry.js +4 -4
  221. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  222. package/dist/esm/ion-popover.entry.js +5 -5
  223. package/dist/esm/ion-progress-bar.entry.js +1 -1
  224. package/dist/esm/ion-radio_2.entry.js +39 -4
  225. package/dist/esm/ion-range.entry.js +5 -5
  226. package/dist/esm/ion-refresher_2.entry.js +4 -4
  227. package/dist/esm/ion-reorder_2.entry.js +4 -4
  228. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  229. package/dist/esm/ion-route_4.entry.js +2 -2
  230. package/dist/esm/ion-searchbar.entry.js +4 -4
  231. package/dist/esm/ion-segment-content.entry.js +1 -1
  232. package/dist/esm/ion-segment-view.entry.js +2 -2
  233. package/dist/esm/ion-segment_2.entry.js +4 -4
  234. package/dist/esm/ion-select-modal.entry.js +3 -3
  235. package/dist/esm/ion-select_3.entry.js +51 -10
  236. package/dist/esm/ion-spinner.entry.js +1 -1
  237. package/dist/esm/ion-split-pane.entry.js +2 -2
  238. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  239. package/dist/esm/ion-tab_2.entry.js +3 -3
  240. package/dist/esm/ion-text.entry.js +2 -2
  241. package/dist/esm/ion-textarea.entry.js +21 -9
  242. package/dist/esm/ion-toast.entry.js +4 -4
  243. package/dist/esm/ion-toggle.entry.js +37 -6
  244. package/dist/esm/ionic.js +1 -1
  245. package/dist/esm/{ios.transition-a81c9c6b.js → ios.transition-5fe4d6c8.js} +2 -2
  246. package/dist/esm/loader.js +1 -1
  247. package/dist/esm/{md.transition-dbb51edc.js → md.transition-3d0d3730.js} +2 -2
  248. package/dist/esm/{overlays-4ff1fca8.js → overlays-7579a420.js} +1 -1
  249. package/dist/esm/{status-tap-73b183f4.js → status-tap-6367b913.js} +3 -2
  250. package/dist/esm-es5/{data-ae11fd43.js → data-174ad5e0.js} +1 -1
  251. package/dist/esm-es5/index-738d7504.js +4 -0
  252. package/dist/esm-es5/{index-d4642b24.js → index-933ca126.js} +1 -1
  253. package/dist/esm-es5/{index-c4a831fd.js → index-a313df53.js} +1 -1
  254. package/dist/esm-es5/{index-df741ec6.js → index-c63afbe6.js} +1 -1
  255. package/dist/esm-es5/index.js +1 -1
  256. package/dist/esm-es5/input-shims-3070628a.js +4 -0
  257. package/dist/esm-es5/{input.utils-3a4c0a2a.js → input.utils-926c04a8.js} +1 -1
  258. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  259. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  260. package/dist/esm-es5/ion-alert.entry.js +1 -1
  261. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  262. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  263. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  264. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  265. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  266. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  267. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  268. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  269. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  270. package/dist/esm-es5/ion-input.entry.js +1 -1
  271. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  272. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  273. package/dist/esm-es5/ion-loading.entry.js +1 -1
  274. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  275. package/dist/esm-es5/ion-modal.entry.js +1 -1
  276. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  277. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  278. package/dist/esm-es5/ion-popover.entry.js +1 -1
  279. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  280. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  281. package/dist/esm-es5/ion-range.entry.js +1 -1
  282. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  283. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  284. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  285. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  286. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  287. package/dist/esm-es5/ion-segment-content.entry.js +1 -1
  288. package/dist/esm-es5/ion-segment-view.entry.js +1 -1
  289. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  290. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  291. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  292. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  293. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  294. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  295. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  296. package/dist/esm-es5/ion-text.entry.js +1 -1
  297. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  298. package/dist/esm-es5/ion-toast.entry.js +1 -1
  299. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  300. package/dist/esm-es5/ionic.js +1 -1
  301. package/dist/esm-es5/{ios.transition-a81c9c6b.js → ios.transition-5fe4d6c8.js} +1 -1
  302. package/dist/esm-es5/loader.js +1 -1
  303. package/dist/esm-es5/md.transition-3d0d3730.js +4 -0
  304. package/dist/esm-es5/{overlays-4ff1fca8.js → overlays-7579a420.js} +1 -1
  305. package/dist/esm-es5/status-tap-6367b913.js +4 -0
  306. package/dist/html.html-data.json +48 -0
  307. package/dist/ionic/index.esm.js +1 -1
  308. package/dist/ionic/ionic.esm.js +1 -1
  309. package/dist/ionic/{p-f30071a2.system.js → p-042d5353.system.js} +1 -1
  310. package/dist/ionic/{p-ad780230.js → p-060e4551.js} +1 -1
  311. package/dist/ionic/p-094c82d7.entry.js +4 -0
  312. package/dist/ionic/{p-1ef02643.system.entry.js → p-0adb6909.system.entry.js} +1 -1
  313. package/dist/ionic/{p-a9b9259c.entry.js → p-0be8a0b5.entry.js} +1 -1
  314. package/dist/ionic/{p-811ff2a0.system.entry.js → p-0bedc891.system.entry.js} +1 -1
  315. package/dist/ionic/p-0ec5b7cf.system.js +4 -0
  316. package/dist/ionic/{p-df61d353.entry.js → p-13886789.entry.js} +1 -1
  317. package/dist/ionic/p-143ff664.system.entry.js +4 -0
  318. package/dist/ionic/p-18f9b6d5.entry.js +4 -0
  319. package/dist/ionic/{p-afd7a6a9.entry.js → p-19c32a76.entry.js} +1 -1
  320. package/dist/ionic/{p-dd141012.system.entry.js → p-1a9613bf.system.entry.js} +1 -1
  321. package/dist/ionic/{p-f687573e.system.js → p-1bf5ec17.system.js} +1 -1
  322. package/dist/ionic/{p-dbac4f3e.system.entry.js → p-1d2844a5.system.entry.js} +1 -1
  323. package/dist/ionic/{p-dc8cbb8b.entry.js → p-1f837356.entry.js} +1 -1
  324. package/dist/ionic/p-2027221d.js +4 -0
  325. package/dist/ionic/{p-b8e3b3ca.system.entry.js → p-21371278.system.entry.js} +1 -1
  326. package/dist/ionic/{p-adbbf974.system.js → p-24ae7b33.system.js} +1 -1
  327. package/dist/ionic/p-29a5b4e4.entry.js +4 -0
  328. package/dist/ionic/{p-611d105b.entry.js → p-2ee9a2c6.entry.js} +1 -1
  329. package/dist/ionic/p-2fa5a4b1.entry.js +4 -0
  330. package/dist/ionic/{p-782ed885.system.js → p-3479f51b.system.js} +1 -1
  331. package/dist/ionic/{p-3705c194.entry.js → p-35f14792.entry.js} +1 -1
  332. package/dist/ionic/{p-21d1c1c7.system.entry.js → p-37a438ad.system.entry.js} +2 -2
  333. package/dist/ionic/{p-cd239b25.entry.js → p-3af7b907.entry.js} +1 -1
  334. package/dist/ionic/{p-8dbe745b.system.js → p-3bd5fedc.system.js} +1 -1
  335. package/dist/ionic/{p-31d6b3d0.system.entry.js → p-3be7cdeb.system.entry.js} +2 -2
  336. package/dist/ionic/p-3f4327f7.js +4 -0
  337. package/dist/ionic/{p-85f19de9.entry.js → p-42f6e75c.entry.js} +1 -1
  338. package/dist/ionic/{p-bf973e4b.system.entry.js → p-4470f87b.system.entry.js} +2 -2
  339. package/dist/ionic/p-4493c1ac.entry.js +4 -0
  340. package/dist/ionic/{p-0b860115.system.entry.js → p-4630688e.system.entry.js} +1 -1
  341. package/dist/ionic/{p-a8cc566d.system.entry.js → p-472c7e08.system.entry.js} +1 -1
  342. package/dist/ionic/{p-1a289aba.system.entry.js → p-491de063.system.entry.js} +1 -1
  343. package/dist/ionic/{p-ec631b0f.js → p-4c44d04c.js} +1 -1
  344. package/dist/ionic/{p-8db97fa1.js → p-4c94580e.js} +1 -1
  345. package/dist/ionic/{p-36079188.system.entry.js → p-4d0190ad.system.entry.js} +1 -1
  346. package/dist/ionic/{p-53d4d8c7.entry.js → p-50f38461.entry.js} +1 -1
  347. package/dist/ionic/{p-91fe21bb.system.js → p-51c363e7.system.js} +1 -1
  348. package/dist/ionic/{p-bf7f7084.system.entry.js → p-524ad57e.system.entry.js} +2 -2
  349. package/dist/ionic/p-54893ae3.entry.js +4 -0
  350. package/dist/ionic/p-54e9620f.js +4 -0
  351. package/dist/ionic/{p-4e1b109b.entry.js → p-58c482af.entry.js} +1 -1
  352. package/dist/ionic/{p-f59611e2.system.js → p-5eb6f582.system.js} +1 -1
  353. package/dist/ionic/p-606887b7.system.entry.js +4 -0
  354. package/dist/ionic/p-6797c66e.system.js +4 -0
  355. package/dist/ionic/{p-9023f5eb.entry.js → p-72e6a9c6.entry.js} +1 -1
  356. package/dist/ionic/{p-f1b20f28.entry.js → p-747f9517.entry.js} +1 -1
  357. package/dist/ionic/{p-00ab8b89.system.js → p-77991411.system.js} +2 -2
  358. package/dist/ionic/{p-16cd36e4.entry.js → p-7ff4f502.entry.js} +1 -1
  359. package/dist/ionic/{p-3250466d.system.entry.js → p-81378456.system.entry.js} +2 -2
  360. package/dist/ionic/p-81474833.system.entry.js +4 -0
  361. package/dist/ionic/{p-39b5611c.entry.js → p-838cc359.entry.js} +1 -1
  362. package/dist/ionic/{p-df4c00a4.system.entry.js → p-888d383b.system.entry.js} +1 -1
  363. package/dist/ionic/{p-5175f06a.entry.js → p-8b1c1fd7.entry.js} +1 -1
  364. package/dist/ionic/{p-6390c6ab.system.entry.js → p-8deac7df.system.entry.js} +1 -1
  365. package/dist/ionic/{p-b88c5ce4.entry.js → p-8fa4fa3f.entry.js} +1 -1
  366. package/dist/ionic/{p-f1ad06bd.system.entry.js → p-8fa62efe.system.entry.js} +1 -1
  367. package/dist/ionic/{p-4979cd1d.entry.js → p-8fc426e2.entry.js} +1 -1
  368. package/dist/ionic/p-959cf042.system.entry.js +4 -0
  369. package/dist/ionic/{p-32d4ac00.entry.js → p-9b069739.entry.js} +1 -1
  370. package/dist/ionic/{p-3fc787a8.system.entry.js → p-9df36075.system.entry.js} +1 -1
  371. package/dist/ionic/{p-85446175.js → p-9e51f822.js} +1 -1
  372. package/dist/ionic/{p-fd0f8d68.entry.js → p-a520973b.entry.js} +1 -1
  373. package/dist/ionic/{p-89204f3f.system.js → p-a587b2ae.system.js} +1 -1
  374. package/dist/ionic/p-a9f2c0a7.entry.js +4 -0
  375. package/dist/ionic/{p-4cfb0dc8.entry.js → p-ab7337e1.entry.js} +1 -1
  376. package/dist/ionic/{p-f9e7de97.system.entry.js → p-ac58d726.system.entry.js} +1 -1
  377. package/dist/ionic/{p-3c66a690.entry.js → p-ace2d2be.entry.js} +1 -1
  378. package/dist/ionic/{p-b7ed7f16.entry.js → p-ada878ce.entry.js} +1 -1
  379. package/dist/ionic/{p-f1be5454.entry.js → p-b055d618.entry.js} +1 -1
  380. package/dist/ionic/{p-7d425376.system.entry.js → p-b2296998.system.entry.js} +1 -1
  381. package/dist/ionic/{p-da5ae6cf.system.entry.js → p-b2ee0628.system.entry.js} +1 -1
  382. package/dist/ionic/{p-1cfb788a.entry.js → p-b6174297.entry.js} +1 -1
  383. package/dist/ionic/p-b8c2dbcd.entry.js +4 -0
  384. package/dist/ionic/{p-2f890012.system.entry.js → p-b9eb1465.system.entry.js} +1 -1
  385. package/dist/ionic/{p-afcd55c6.entry.js → p-b9f2e353.entry.js} +1 -1
  386. package/dist/ionic/p-bbc6db8c.entry.js +4 -0
  387. package/dist/ionic/p-bc3e5577.system.entry.js +4 -0
  388. package/dist/ionic/p-bf64af90.system.js +1 -1
  389. package/dist/ionic/p-c258efb9.entry.js +4 -0
  390. package/dist/ionic/{p-847fd113.entry.js → p-c25c0ba4.entry.js} +1 -1
  391. package/dist/ionic/p-c5b5f44a.entry.js +4 -0
  392. package/dist/ionic/{p-8cfaf64f.system.entry.js → p-c6a20407.system.entry.js} +1 -1
  393. package/dist/ionic/{p-96f7bb84.system.entry.js → p-c8331397.system.entry.js} +1 -1
  394. package/dist/ionic/{p-9e7a9a27.entry.js → p-c8bf9ba7.entry.js} +1 -1
  395. package/dist/ionic/{p-af873227.system.js → p-d7032956.system.js} +1 -1
  396. package/dist/ionic/p-d8c9d5ac.system.entry.js +4 -0
  397. package/dist/ionic/{p-d4308e05.system.entry.js → p-daf1e8ec.system.entry.js} +1 -1
  398. package/dist/ionic/{p-684c6a80.system.entry.js → p-def7a8bd.system.entry.js} +1 -1
  399. package/dist/ionic/{p-37e874f1.js → p-e00b72ce.js} +1 -1
  400. package/dist/ionic/{p-7737b8fa.js → p-e0a05506.js} +1 -1
  401. package/dist/ionic/{p-f97efff5.system.entry.js → p-e0c0218f.system.entry.js} +1 -1
  402. package/dist/ionic/{p-6386ccd6.system.entry.js → p-e0c43e11.system.entry.js} +1 -1
  403. package/dist/ionic/{p-8b378b48.system.entry.js → p-e4683bfd.system.entry.js} +1 -1
  404. package/dist/ionic/{p-0eb49e5c.system.entry.js → p-e5708e5d.system.entry.js} +1 -1
  405. package/dist/ionic/{p-a8584808.system.entry.js → p-e5c27d9f.system.entry.js} +1 -1
  406. package/dist/ionic/p-e5cf01f1.entry.js +4 -0
  407. package/dist/ionic/{p-27da8c2c.js → p-e7309bfa.js} +1 -1
  408. package/dist/ionic/p-ed768b77.entry.js +4 -0
  409. package/dist/ionic/{p-ded39921.entry.js → p-eec4b772.entry.js} +1 -1
  410. package/dist/ionic/{p-34b077b1.system.entry.js → p-eeee3990.system.entry.js} +1 -1
  411. package/dist/ionic/{p-360f5507.entry.js → p-efa0f3f5.entry.js} +1 -1
  412. package/dist/ionic/p-f02e9382.system.entry.js +4 -0
  413. package/dist/ionic/{p-c8c27ae7.system.entry.js → p-f6bb9be7.system.entry.js} +1 -1
  414. package/dist/ionic/{p-d60342e3.js → p-f7ce606e.js} +1 -1
  415. package/dist/ionic/{p-11bbdab8.system.entry.js → p-f94b2f2f.system.entry.js} +1 -1
  416. package/dist/ionic/{p-c5abee89.system.entry.js → p-ff4a1ba0.system.entry.js} +1 -1
  417. package/dist/types/components/checkbox/checkbox.d.ts +25 -0
  418. package/dist/types/components/input/input.d.ts +8 -0
  419. package/dist/types/components/modal/animations/sheet.d.ts +1 -0
  420. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  421. package/dist/types/components/modal/modal-interface.d.ts +1 -0
  422. package/dist/types/components/modal/modal.d.ts +14 -0
  423. package/dist/types/components/radio-group/radio-group.d.ts +15 -0
  424. package/dist/types/components/select/select.d.ts +29 -0
  425. package/dist/types/components/textarea/textarea.d.ts +8 -0
  426. package/dist/types/components/toggle/toggle.d.ts +25 -0
  427. package/dist/types/components/toolbar/toolbar.d.ts +4 -0
  428. package/dist/types/components.d.ts +96 -0
  429. package/dist/types/utils/config.d.ts +9 -0
  430. package/dist/types/utils/logging/index.d.ts +13 -1
  431. package/hydrate/index.js +575 -153
  432. package/hydrate/index.mjs +575 -153
  433. package/package.json +1 -1
  434. package/dist/esm-es5/index-9b0d46f4.js +0 -4
  435. package/dist/esm-es5/input-shims-80c5b98e.js +0 -4
  436. package/dist/esm-es5/md.transition-dbb51edc.js +0 -4
  437. package/dist/esm-es5/status-tap-73b183f4.js +0 -4
  438. package/dist/ionic/p-06fee233.js +0 -4
  439. package/dist/ionic/p-1332050e.entry.js +0 -4
  440. package/dist/ionic/p-19179876.js +0 -4
  441. package/dist/ionic/p-1ffab75e.entry.js +0 -4
  442. package/dist/ionic/p-2d4658d4.system.entry.js +0 -4
  443. package/dist/ionic/p-3e0bb0e1.entry.js +0 -4
  444. package/dist/ionic/p-3ef5e7fc.entry.js +0 -4
  445. package/dist/ionic/p-51fc2fac.system.entry.js +0 -4
  446. package/dist/ionic/p-5430a6da.entry.js +0 -4
  447. package/dist/ionic/p-64279526.js +0 -4
  448. package/dist/ionic/p-64da0521.system.js +0 -4
  449. package/dist/ionic/p-6aa6839e.entry.js +0 -4
  450. package/dist/ionic/p-6cb61a35.entry.js +0 -4
  451. package/dist/ionic/p-8d611ccd.entry.js +0 -4
  452. package/dist/ionic/p-9048389e.entry.js +0 -4
  453. package/dist/ionic/p-a300835e.system.entry.js +0 -4
  454. package/dist/ionic/p-a6042939.entry.js +0 -4
  455. package/dist/ionic/p-a6f13a4e.system.entry.js +0 -4
  456. package/dist/ionic/p-aae8187b.system.entry.js +0 -4
  457. package/dist/ionic/p-ae518f0b.system.entry.js +0 -4
  458. package/dist/ionic/p-cbd5b96a.entry.js +0 -4
  459. package/dist/ionic/p-ccbb47f5.entry.js +0 -4
  460. package/dist/ionic/p-e394222f.entry.js +0 -4
  461. package/dist/ionic/p-ea925d34.system.entry.js +0 -4
  462. package/dist/ionic/p-ff4b7e40.system.js +0 -4
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Convert a font size to a dynamic font size.
3
+ * Fonts that participate in Dynamic Type should use
4
+ * dynamic font sizes.
5
+ * @param size - The initial font size including the unit (i.e. px or pt)
6
+ * @param unit (optional) - The unit to convert to. Use this if you want to
7
+ * convert to a unit other than $baselineUnit.
8
+ */
9
+ /**
10
+ * Convert a font size to a dynamic font size but impose
11
+ * a maximum font size.
12
+ * @param size - The initial font size including the unit (i.e. px or pt)
13
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
+ * convert to a unit other than $baselineUnit.
16
+ */
17
+ /**
18
+ * Convert a font size to a dynamic font size but impose
19
+ * a minimum font size.
20
+ * @param size - The initial font size including the unit (i.e. px or pt)
21
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
+ * convert to a unit other than $baselineUnit.
24
+ */
25
+ /**
26
+ * Convert a font size to a dynamic font size but impose
27
+ * maximum and minimum font sizes.
28
+ * @param size - The initial font size including the unit (i.e. px or pt)
29
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
+ * convert to a unit other than $baselineUnit.
33
+ */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
56
+ /**
57
+ * Convert a font size to a dynamic font size.
58
+ * Fonts that participate in Dynamic Type should use
59
+ * dynamic font sizes.
60
+ * @param size - The initial font size including the unit (i.e. px or pt)
61
+ * @param unit (optional) - The unit to convert to. Use this if you want to
62
+ * convert to a unit other than $baselineUnit.
63
+ */
64
+ /**
65
+ * Convert a font size to a dynamic font size but impose
66
+ * a maximum font size.
67
+ * @param size - The initial font size including the unit (i.e. px or pt)
68
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
69
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
70
+ * convert to a unit other than $baselineUnit.
71
+ */
72
+ /**
73
+ * Convert a font size to a dynamic font size but impose
74
+ * a minimum font size.
75
+ * @param size - The initial font size including the unit (i.e. px or pt)
76
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
77
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
78
+ * convert to a unit other than $baselineUnit.
79
+ */
80
+ /**
81
+ * Convert a font size to a dynamic font size but impose
82
+ * maximum and minimum font sizes.
83
+ * @param size - The initial font size including the unit (i.e. px or pt)
84
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
85
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
86
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
87
+ * convert to a unit other than $baselineUnit.
88
+ */
89
+ /**
90
+ * A heuristic that applies CSS to tablet
91
+ * viewports.
92
+ *
93
+ * Usage:
94
+ * @include tablet-viewport() {
95
+ * :host {
96
+ * background-color: green;
97
+ * }
98
+ * }
99
+ */
100
+ /**
101
+ * A heuristic that applies CSS to mobile
102
+ * viewports (i.e. phones, not tablets).
103
+ *
104
+ * Usage:
105
+ * @include mobile-viewport() {
106
+ * :host {
107
+ * background-color: blue;
108
+ * }
109
+ * }
110
+ */
111
+ ion-radio-group {
112
+ vertical-align: top;
113
+ }
114
+
115
+ .radio-group-wrapper {
116
+ display: inline;
117
+ }
118
+
119
+ .radio-group-top {
120
+ line-height: 1.5;
121
+ }
122
+
123
+ /**
124
+ * Error text should only be shown when .ion-invalid is present
125
+ * on the radio group. Otherwise the helper text should be shown.
126
+ */
127
+ .radio-group-top .error-text {
128
+ display: none;
129
+ color: var(--ion-color-danger, #c5000f);
130
+ }
131
+
132
+ .radio-group-top .helper-text {
133
+ display: block;
134
+ color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
135
+ }
136
+
137
+ .ion-touched.ion-invalid .radio-group-top .error-text {
138
+ display: block;
139
+ }
140
+
141
+ .ion-touched.ion-invalid .radio-group-top .helper-text {
142
+ display: none;
143
+ }
144
+
145
+ /**
146
+ * Convert a font size to a dynamic font size.
147
+ * Fonts that participate in Dynamic Type should use
148
+ * dynamic font sizes.
149
+ * @param size - The initial font size including the unit (i.e. px or pt)
150
+ * @param unit (optional) - The unit to convert to. Use this if you want to
151
+ * convert to a unit other than $baselineUnit.
152
+ */
153
+ /**
154
+ * Convert a font size to a dynamic font size but impose
155
+ * a maximum font size.
156
+ * @param size - The initial font size including the unit (i.e. px or pt)
157
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
158
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
159
+ * convert to a unit other than $baselineUnit.
160
+ */
161
+ /**
162
+ * Convert a font size to a dynamic font size but impose
163
+ * a minimum font size.
164
+ * @param size - The initial font size including the unit (i.e. px or pt)
165
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
166
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
167
+ * convert to a unit other than $baselineUnit.
168
+ */
169
+ /**
170
+ * Convert a font size to a dynamic font size but impose
171
+ * maximum and minimum font sizes.
172
+ * @param size - The initial font size including the unit (i.e. px or pt)
173
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
174
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
175
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
176
+ * convert to a unit other than $baselineUnit.
177
+ */
178
+ /**
179
+ * A heuristic that applies CSS to tablet
180
+ * viewports.
181
+ *
182
+ * Usage:
183
+ * @include tablet-viewport() {
184
+ * :host {
185
+ * background-color: green;
186
+ * }
187
+ * }
188
+ */
189
+ /**
190
+ * A heuristic that applies CSS to mobile
191
+ * viewports (i.e. phones, not tablets).
192
+ *
193
+ * Usage:
194
+ * @include mobile-viewport() {
195
+ * :host {
196
+ * background-color: blue;
197
+ * }
198
+ * }
199
+ */
200
+ ion-list .radio-group-top {
201
+ -webkit-padding-start: 16px;
202
+ padding-inline-start: 16px;
203
+ -webkit-padding-end: 16px;
204
+ padding-inline-end: 16px;
205
+ }
@@ -7,6 +7,8 @@ import { getIonMode } from "../../global/ionic-global";
7
7
  export class RadioGroup {
8
8
  constructor() {
9
9
  this.inputId = `ion-rg-${radioGroupIds++}`;
10
+ this.helperTextId = `${this.inputId}-helper-text`;
11
+ this.errorTextId = `${this.inputId}-error-text`;
10
12
  this.labelId = `${this.inputId}-lbl`;
11
13
  this.setRadioTabindex = (value) => {
12
14
  const radios = this.getRadios();
@@ -58,6 +60,8 @@ export class RadioGroup {
58
60
  this.compareWith = undefined;
59
61
  this.name = this.inputId;
60
62
  this.value = undefined;
63
+ this.helperText = undefined;
64
+ this.errorText = undefined;
61
65
  }
62
66
  valueChanged(value) {
63
67
  this.setRadioTabindex(value);
@@ -156,13 +160,46 @@ export class RadioGroup {
156
160
  const radioToFocus = this.getRadios().find((r) => r.tabIndex !== -1);
157
161
  radioToFocus === null || radioToFocus === void 0 ? void 0 : radioToFocus.setFocus();
158
162
  }
163
+ /**
164
+ * Renders the helper text or error text values
165
+ */
166
+ renderHintText() {
167
+ const { helperText, errorText, helperTextId, errorTextId } = this;
168
+ const hasHintText = !!helperText || !!errorText;
169
+ if (!hasHintText) {
170
+ return;
171
+ }
172
+ return (h("div", { class: "radio-group-top" }, h("div", { id: helperTextId, class: "helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text" }, errorText)));
173
+ }
174
+ getHintTextID() {
175
+ const { el, helperText, errorText, helperTextId, errorTextId } = this;
176
+ if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
177
+ return errorTextId;
178
+ }
179
+ if (helperText) {
180
+ return helperTextId;
181
+ }
182
+ return undefined;
183
+ }
159
184
  render() {
160
185
  const { label, labelId, el, name, value } = this;
161
186
  const mode = getIonMode(this);
162
187
  renderHiddenInput(true, el, name, value, false);
163
- return h(Host, { key: 'a853e38901f0f4ba17bbf21ebb5da5b5c20b327e', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
188
+ return (h(Host, { key: 'cac92777297029d7fd1b6af264d92850e35dfbba', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: mode }, this.renderHintText(), h("div", { key: '6b5c634dba30d54eedc031b077863f3d6a9d9e9b', class: "radio-group-wrapper" }, h("slot", { key: '443edb3ff6f4c59d4c4324c8a19f2d6def47a322' }))));
164
189
  }
165
190
  static get is() { return "ion-radio-group"; }
191
+ static get originalStyleUrls() {
192
+ return {
193
+ "ios": ["radio-group.ios.scss"],
194
+ "md": ["radio-group.md.scss"]
195
+ };
196
+ }
197
+ static get styleUrls() {
198
+ return {
199
+ "ios": ["radio-group.ios.css"],
200
+ "md": ["radio-group.md.css"]
201
+ };
202
+ }
166
203
  static get properties() {
167
204
  return {
168
205
  "allowEmptySelection": {
@@ -240,6 +277,40 @@ export class RadioGroup {
240
277
  },
241
278
  "attribute": "value",
242
279
  "reflect": false
280
+ },
281
+ "helperText": {
282
+ "type": "string",
283
+ "mutable": false,
284
+ "complexType": {
285
+ "original": "string",
286
+ "resolved": "string | undefined",
287
+ "references": {}
288
+ },
289
+ "required": false,
290
+ "optional": true,
291
+ "docs": {
292
+ "tags": [],
293
+ "text": "The helper text to display at the top of the radio group."
294
+ },
295
+ "attribute": "helper-text",
296
+ "reflect": false
297
+ },
298
+ "errorText": {
299
+ "type": "string",
300
+ "mutable": false,
301
+ "complexType": {
302
+ "original": "string",
303
+ "resolved": "string | undefined",
304
+ "references": {}
305
+ },
306
+ "required": false,
307
+ "optional": true,
308
+ "docs": {
309
+ "tags": [],
310
+ "text": "The error text to display at the top of the radio group."
311
+ },
312
+ "attribute": "error-text",
313
+ "reflect": false
243
314
  }
244
315
  };
245
316
  }
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Convert a font size to a dynamic font size.
3
+ * Fonts that participate in Dynamic Type should use
4
+ * dynamic font sizes.
5
+ * @param size - The initial font size including the unit (i.e. px or pt)
6
+ * @param unit (optional) - The unit to convert to. Use this if you want to
7
+ * convert to a unit other than $baselineUnit.
8
+ */
9
+ /**
10
+ * Convert a font size to a dynamic font size but impose
11
+ * a maximum font size.
12
+ * @param size - The initial font size including the unit (i.e. px or pt)
13
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
+ * convert to a unit other than $baselineUnit.
16
+ */
17
+ /**
18
+ * Convert a font size to a dynamic font size but impose
19
+ * a minimum font size.
20
+ * @param size - The initial font size including the unit (i.e. px or pt)
21
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
+ * convert to a unit other than $baselineUnit.
24
+ */
25
+ /**
26
+ * Convert a font size to a dynamic font size but impose
27
+ * maximum and minimum font sizes.
28
+ * @param size - The initial font size including the unit (i.e. px or pt)
29
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
+ * convert to a unit other than $baselineUnit.
33
+ */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
56
+ /**
57
+ * Convert a font size to a dynamic font size.
58
+ * Fonts that participate in Dynamic Type should use
59
+ * dynamic font sizes.
60
+ * @param size - The initial font size including the unit (i.e. px or pt)
61
+ * @param unit (optional) - The unit to convert to. Use this if you want to
62
+ * convert to a unit other than $baselineUnit.
63
+ */
64
+ /**
65
+ * Convert a font size to a dynamic font size but impose
66
+ * a maximum font size.
67
+ * @param size - The initial font size including the unit (i.e. px or pt)
68
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
69
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
70
+ * convert to a unit other than $baselineUnit.
71
+ */
72
+ /**
73
+ * Convert a font size to a dynamic font size but impose
74
+ * a minimum font size.
75
+ * @param size - The initial font size including the unit (i.e. px or pt)
76
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
77
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
78
+ * convert to a unit other than $baselineUnit.
79
+ */
80
+ /**
81
+ * Convert a font size to a dynamic font size but impose
82
+ * maximum and minimum font sizes.
83
+ * @param size - The initial font size including the unit (i.e. px or pt)
84
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
85
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
86
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
87
+ * convert to a unit other than $baselineUnit.
88
+ */
89
+ /**
90
+ * A heuristic that applies CSS to tablet
91
+ * viewports.
92
+ *
93
+ * Usage:
94
+ * @include tablet-viewport() {
95
+ * :host {
96
+ * background-color: green;
97
+ * }
98
+ * }
99
+ */
100
+ /**
101
+ * A heuristic that applies CSS to mobile
102
+ * viewports (i.e. phones, not tablets).
103
+ *
104
+ * Usage:
105
+ * @include mobile-viewport() {
106
+ * :host {
107
+ * background-color: blue;
108
+ * }
109
+ * }
110
+ */
111
+ ion-radio-group {
112
+ vertical-align: top;
113
+ }
114
+
115
+ .radio-group-wrapper {
116
+ display: inline;
117
+ }
118
+
119
+ .radio-group-top {
120
+ line-height: 1.5;
121
+ }
122
+
123
+ /**
124
+ * Error text should only be shown when .ion-invalid is present
125
+ * on the radio group. Otherwise the helper text should be shown.
126
+ */
127
+ .radio-group-top .error-text {
128
+ display: none;
129
+ color: var(--ion-color-danger, #c5000f);
130
+ }
131
+
132
+ .radio-group-top .helper-text {
133
+ display: block;
134
+ color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
135
+ }
136
+
137
+ .ion-touched.ion-invalid .radio-group-top .error-text {
138
+ display: block;
139
+ }
140
+
141
+ .ion-touched.ion-invalid .radio-group-top .helper-text {
142
+ display: none;
143
+ }
144
+
145
+ /**
146
+ * Convert a font size to a dynamic font size.
147
+ * Fonts that participate in Dynamic Type should use
148
+ * dynamic font sizes.
149
+ * @param size - The initial font size including the unit (i.e. px or pt)
150
+ * @param unit (optional) - The unit to convert to. Use this if you want to
151
+ * convert to a unit other than $baselineUnit.
152
+ */
153
+ /**
154
+ * Convert a font size to a dynamic font size but impose
155
+ * a maximum font size.
156
+ * @param size - The initial font size including the unit (i.e. px or pt)
157
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
158
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
159
+ * convert to a unit other than $baselineUnit.
160
+ */
161
+ /**
162
+ * Convert a font size to a dynamic font size but impose
163
+ * a minimum font size.
164
+ * @param size - The initial font size including the unit (i.e. px or pt)
165
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
166
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
167
+ * convert to a unit other than $baselineUnit.
168
+ */
169
+ /**
170
+ * Convert a font size to a dynamic font size but impose
171
+ * maximum and minimum font sizes.
172
+ * @param size - The initial font size including the unit (i.e. px or pt)
173
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
174
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
175
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
176
+ * convert to a unit other than $baselineUnit.
177
+ */
178
+ /**
179
+ * A heuristic that applies CSS to tablet
180
+ * viewports.
181
+ *
182
+ * Usage:
183
+ * @include tablet-viewport() {
184
+ * :host {
185
+ * background-color: green;
186
+ * }
187
+ * }
188
+ */
189
+ /**
190
+ * A heuristic that applies CSS to mobile
191
+ * viewports (i.e. phones, not tablets).
192
+ *
193
+ * Usage:
194
+ * @include mobile-viewport() {
195
+ * :host {
196
+ * background-color: blue;
197
+ * }
198
+ * }
199
+ */
200
+ ion-list .radio-group-top {
201
+ -webkit-padding-start: 16px;
202
+ padding-inline-start: 16px;
203
+ -webkit-padding-end: 16px;
204
+ padding-inline-end: 16px;
205
+ }
@@ -580,7 +580,7 @@ export class Range {
580
580
  const needsEndAdjustment = inItem && !hasEndContent;
581
581
  const mode = getIonMode(this);
582
582
  renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
583
- return (h(Host, { key: 'a9dacdb8935627860188c035f2edf6b8cc751dc5', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
583
+ return (h(Host, { key: 'ddecc98800b9137294c8cadfbde7d07d5b3825d7', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
584
584
  [mode]: true,
585
585
  'in-item': inItem,
586
586
  'range-disabled': disabled,
@@ -589,10 +589,10 @@ export class Range {
589
589
  [`range-label-placement-${labelPlacement}`]: true,
590
590
  'range-item-start-adjustment': needsStartAdjustment,
591
591
  'range-item-end-adjustment': needsEndAdjustment,
592
- }) }, h("label", { key: '4f5682ab5f793c1097956c092c8b88b6d676fe85', class: "range-wrapper", id: "range-label" }, h("div", { key: 'f906c5ab076275721cb8e99e22f5a3c2509713de', class: {
592
+ }) }, h("label", { key: '5afdbea21b1b82efde1126ceb0a263f85731aecf', class: "range-wrapper", id: "range-label" }, h("div", { key: 'e47e0bbefcb931dff5b846f47b4458153b73df94', class: {
593
593
  'label-text-wrapper': true,
594
594
  'label-text-wrapper-hidden': !hasLabel,
595
- }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'bb6ca75df1394a01464d40a8b4ba6e08b3c12824', class: "native-wrapper" }, h("slot", { key: '34f6e5f0ee73864ed2fa64cf041639f842540ae6', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'b8602e24234900fe9bb300610b236951bf2c6ebb', name: "end" })))));
595
+ }, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '842f35cd03bb6108d1ecf0c0a07adfbdc900401c', class: "native-wrapper" }, h("slot", { key: '4a5141daaf5de5b3251bef4232ce5a27fc0395df', name: "start" }), this.renderRangeSlider(), h("slot", { key: '53ffe0a40b093c5fbcbc50d47eea6bb3f39dfdbb', name: "end" })))));
596
596
  }
597
597
  static get is() { return "ion-range"; }
598
598
  static get encapsulation() { return "shadow"; }
@@ -621,7 +621,7 @@ export class Refresher {
621
621
  }
622
622
  render() {
623
623
  const mode = getIonMode(this);
624
- return (h(Host, { key: '9d4ac22988aec2c6af0b0c90934c52f62f0e4ce3', slot: "fixed", class: {
624
+ return (h(Host, { key: '4c36bffbfa32ef1bd28a60f4455c125842880659', slot: "fixed", class: {
625
625
  [mode]: true,
626
626
  // Used internally for styling
627
627
  [`refresher-${mode}`]: true,
@@ -52,7 +52,7 @@ export class RefresherContent {
52
52
  const pullingIcon = this.pullingIcon;
53
53
  const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
54
54
  const mode = getIonMode(this);
55
- return (h(Host, { key: '19633bbcf02e3dba885d6bdcdaf2269bf4c8e2f5', class: mode }, h("div", { key: '28922e434a55a6cac0476fe2bee56941ce0d1c02', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'fe575bf996021884677e9b23a3215d63caf894f5', class: "refresher-pulling-icon" }, h("div", { key: '59fe12297fd95bc33b8df8cd35316e2a1c084d91', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'af9cc013ae04945c140b2865610ca73edb52ab48', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '34df66ad1b0f706a0532957251aa2c20bf4587d8', class: "arrow-container" }, h("ion-icon", { key: 'ffdb5c123e606b823491c6c51cc2b497f62581bb', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ac3a2032bb969264d20fa057e9123441005d7a9d', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd969d10915548e72aae289b52154366f3dd39b31', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'a8f854f81a94812d7bef8ce088331d94f49ff53d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'a1f646945370e40c844d62bc0c647443ae9dfbe7', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'ab3ff4047769b6436e222b46d193c1e8b23e2fce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
55
+ return (h(Host, { key: 'fb78d7e31f8feb31025e58903eb9de85cb928dbd', class: mode }, h("div", { key: '23f67800f09765ef8fde8cf85a843e19e667f337', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: '5a08d3b69762f8b51dcd3dcfbaf3fddb707257fa', class: "refresher-pulling-icon" }, h("div", { key: '42a613b029e092acdff7fe613a429375d89f157e', class: "spinner-arrow-container" }, h("ion-spinner", { key: '2f9cdc75938c4d306de7a717ed67901daef71c2c', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '1f8a6347b4a46417ba55286a79f1a41f04bf9c91', class: "arrow-container" }, h("ion-icon", { key: '326713d11d482d420ba5a739ff4528400a37e9ca', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ab18c7cbea7bcbfa034f90f317652af4d93660ed', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'f488acd54acc8a61b6c5a279f0d7f9a437c370c0', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: '914ad6139442dac53af47120ea821fa11c309a38', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: '7eba732f5e2d72b90399d68a3e89617d8979b3d1', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: '838d66d8bef6f56622c62b1068e7fed29e094302', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
56
56
  }
57
57
  static get is() { return "ion-refresher-content"; }
58
58
  static get properties() {
@@ -20,7 +20,7 @@ export class Reorder {
20
20
  render() {
21
21
  const mode = getIonMode(this);
22
22
  const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
23
- return (h(Host, { key: '27266e30bcb7e10c57fb6d546399cfb1f1c93b23', class: mode }, h("slot", { key: '8745cb9a31458e884c27eed1fb90d104fe9a79eb' }, h("ion-icon", { key: '6c4b9631a2f5610f1e21b2db025b6702d0d593bf', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
23
+ return (h(Host, { key: '17adf3165f4e09283d5d6434d7cd47bd23519048', class: mode }, h("slot", { key: 'd00d1cd97c689fc5c7b7175a2051cf697fe22871' }, h("ion-icon", { key: 'eec219aebde6083de98358be3e75965c5a5dc3d0', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
24
24
  }
25
25
  static get is() { return "ion-reorder"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -238,7 +238,7 @@ export class ReorderGroup {
238
238
  }
239
239
  render() {
240
240
  const mode = getIonMode(this);
241
- return (h(Host, { key: 'a38c7fbceb677201330a602273d5b55abb32da19', class: {
241
+ return (h(Host, { key: '6ca009dd65302a914d459aec638e62977440db20', class: {
242
242
  [mode]: true,
243
243
  'reorder-enabled': !this.disabled,
244
244
  'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
@@ -59,7 +59,7 @@ export class RippleEffect {
59
59
  }
60
60
  render() {
61
61
  const mode = getIonMode(this);
62
- return (h(Host, { key: '7ae559bda5d2c1856a45bfa150c2cb4f83373f8e', role: "presentation", class: {
62
+ return (h(Host, { key: '40c7f73e7f5f67e29f83e1236a61c6e1c9943c42', role: "presentation", class: {
63
63
  [mode]: true,
64
64
  unbounded: this.unbounded,
65
65
  } }));
@@ -23,10 +23,10 @@ export class RouterLink {
23
23
  rel: this.rel,
24
24
  target: this.target,
25
25
  };
26
- return (h(Host, { key: '529ceed5beaf92d7b4cc315c82f449eac18310e8', onClick: this.onClick, class: createColorClasses(this.color, {
26
+ return (h(Host, { key: '11183264fb6ae0db9a7a47c71b6862d60001b834', onClick: this.onClick, class: createColorClasses(this.color, {
27
27
  [mode]: true,
28
28
  'ion-activatable': true,
29
- }) }, h("a", Object.assign({ key: 'd5f1f8b256695d70bdafd20ff3d1b625963fa2da' }, attrs), h("slot", { key: '613fcdb36a71e076f989551ea21f1d5c118b1cd2' }))));
29
+ }) }, h("a", Object.assign({ key: '3e0e5242161cb0df593d6d573e51b8ba750065a1' }, attrs), h("slot", { key: '5bd808e98a4627bb1236f0d955f4b32971355417' }))));
30
30
  }
31
31
  static get is() { return "ion-router-link"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -177,7 +177,7 @@ export class RouterOutlet {
177
177
  return true;
178
178
  }
179
179
  render() {
180
- return h("slot", { key: 'a70341f58d19df55de1dad00e3464388e446aa2a' });
180
+ return h("slot", { key: '8d0c163c5f63158e16ef2db7cc3c756cf597461d' });
181
181
  }
182
182
  static get is() { return "ion-router-outlet"; }
183
183
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
5
5
  import { getIonMode } from "../../global/ionic-global";
6
6
  export class Row {
7
7
  render() {
8
- return (h(Host, { key: 'aea072a5005e3f1f309f0d1ae5be5ee19869b035', class: getIonMode(this) }, h("slot", { key: '2a481c2126ac6ca65f0a1bbd07c2d3365409cb78' })));
8
+ return (h(Host, { key: 'a690022e2abdce6946d24264574e4aa0886a8ea5', class: getIonMode(this) }, h("slot", { key: 'd1a0e831dd1dbfe7877d3ad01d0a3045a5fb29e3' })));
9
9
  }
10
10
  static get is() { return "ion-row"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -378,8 +378,8 @@ export class Searchbar {
378
378
  const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
379
379
  const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
380
380
  const shouldShowCancelButton = this.shouldShowCancelButton();
381
- const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0ef595eb1628928d4c7fdb166b8e41768700fa6e', "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: 'ea2c9b36d991acf5af7662059cb6b045f683ca94', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
382
- return (h(Host, { key: '17d57ece5852d03047e4d53ddad6c9d88a432a00', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
381
+ const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '989f3e84c472ada6e66dd9b249d0d268bf17ce26', "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: '7d335d4fde33822dc79d26b748ba2e98db7494bb', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
382
+ return (h(Host, { key: 'd1a1972725e949fb102c91487aaa7b9d10c2d718', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
383
383
  [mode]: true,
384
384
  'searchbar-animated': animated,
385
385
  'searchbar-disabled': this.disabled,
@@ -389,14 +389,14 @@ export class Searchbar {
389
389
  'searchbar-has-focus': this.focused,
390
390
  'searchbar-should-show-clear': this.shouldShowClearButton(),
391
391
  'searchbar-should-show-cancel': this.shouldShowCancelButton(),
392
- }) }, h("div", { key: 'f67c2124e70c24eef0a271516e9c4bdaf7e98ceb', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8c7f7ccc6809cca30ccc8c4e98e349d3f916321d', "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: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: 'f06524d3163b3883bbde937862aa1e0e8f49f6e1', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '9f7ba2bec93412ecb674b197be13db1de308bb57', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
392
+ }) }, h("div", { key: 'add53640b2994cb6b2bf02792dafe51aba6b1684', class: "searchbar-input-container" }, h("input", Object.assign({ key: '160cc36459a4a652e7f41ccd14dcdc782278779e', "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: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, h("ion-icon", { key: '8825fd13af0d2dea451ccc0e00ae7b5021dc01c4', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '8a7b56da278b9ca5c4f5a4ee9c01924fd5ae29d8', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
393
393
  /**
394
394
  * This prevents mobile browsers from
395
395
  * blurring the input when the clear
396
396
  * button is activated.
397
397
  */
398
398
  ev.preventDefault();
399
- }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '19fc3dbc722acc47ff7eb3c94ad4de8aed38dff4', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
399
+ }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '24c55274516ab012d8c25f03525c6cdb9409e52f', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
400
400
  }
401
401
  static get is() { return "ion-searchbar"; }
402
402
  static get encapsulation() { return "scoped"; }