@ionic/core 8.8.9-dev.11780493937.17fe092d → 8.8.9-dev.11780604658.184bb991

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 (1118) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-accordion.js +1 -1
  4. package/components/ion-action-sheet.js +1 -1
  5. package/components/ion-alert.js +1 -1
  6. package/components/ion-app.js +1 -1
  7. package/components/ion-avatar.js +1 -1
  8. package/components/ion-back-button.js +1 -1
  9. package/components/ion-backdrop.js +1 -1
  10. package/components/ion-badge.js +1 -1
  11. package/components/ion-breadcrumb.js +1 -1
  12. package/components/ion-breadcrumbs.js +1 -1
  13. package/components/ion-button.js +1 -1
  14. package/components/ion-buttons.js +1 -1
  15. package/components/ion-card-content.js +1 -1
  16. package/components/ion-card-header.js +1 -1
  17. package/components/ion-card-subtitle.js +1 -1
  18. package/components/ion-card-title.js +1 -1
  19. package/components/ion-card.js +1 -1
  20. package/components/ion-checkbox.js +1 -1
  21. package/components/ion-chip.js +1 -1
  22. package/components/ion-col.js +1 -1
  23. package/components/ion-content.js +1 -1
  24. package/components/ion-datetime-button.js +1 -1
  25. package/components/ion-datetime.js +1 -1
  26. package/components/ion-fab-button.js +1 -1
  27. package/components/ion-fab-list.js +1 -1
  28. package/components/ion-fab.js +1 -1
  29. package/components/ion-footer.js +1 -1
  30. package/components/ion-grid.js +1 -1
  31. package/components/ion-header.js +1 -1
  32. package/components/ion-icon.js +1 -1
  33. package/components/ion-img.js +1 -1
  34. package/components/ion-infinite-scroll-content.js +1 -1
  35. package/components/ion-infinite-scroll.js +1 -1
  36. package/components/ion-input-otp.js +1 -1
  37. package/components/ion-input-password-toggle.js +1 -1
  38. package/components/ion-input.js +1 -1
  39. package/components/ion-item-divider.js +1 -1
  40. package/components/ion-item-group.js +1 -1
  41. package/components/ion-item-option.js +1 -1
  42. package/components/ion-item-options.js +1 -1
  43. package/components/ion-item-sliding.js +1 -1
  44. package/components/ion-item.js +1 -1
  45. package/components/ion-label.js +1 -1
  46. package/components/ion-list-header.js +1 -1
  47. package/components/ion-list.js +1 -1
  48. package/components/ion-loading.js +1 -1
  49. package/components/ion-menu-button.js +1 -1
  50. package/components/ion-menu-toggle.js +1 -1
  51. package/components/ion-menu.js +1 -1
  52. package/components/ion-modal.js +1 -1
  53. package/components/ion-nav-link.js +1 -1
  54. package/components/ion-nav.js +1 -1
  55. package/components/ion-note.js +1 -1
  56. package/components/ion-picker-column-option.js +1 -1
  57. package/components/ion-picker-column.js +1 -1
  58. package/components/ion-picker.js +1 -1
  59. package/components/ion-popover.js +1 -1
  60. package/components/ion-progress-bar.js +1 -1
  61. package/components/ion-radio-group.js +1 -1
  62. package/components/ion-radio.js +1 -1
  63. package/components/ion-range.js +1 -1
  64. package/components/ion-refresher-content.js +1 -1
  65. package/components/ion-refresher.js +1 -1
  66. package/components/ion-reorder-group.js +1 -1
  67. package/components/ion-reorder.js +1 -1
  68. package/components/ion-ripple-effect.js +1 -1
  69. package/components/ion-route-redirect.js +1 -1
  70. package/components/ion-route.js +1 -1
  71. package/components/ion-router-link.js +1 -1
  72. package/components/ion-router-outlet.js +1 -1
  73. package/components/ion-router.js +1 -1
  74. package/components/ion-row.js +1 -1
  75. package/components/ion-searchbar.js +1 -1
  76. package/components/ion-segment-button.js +1 -1
  77. package/components/ion-segment-content.js +1 -1
  78. package/components/ion-segment-view.js +1 -1
  79. package/components/ion-segment.js +1 -1
  80. package/components/ion-select-modal.js +1 -1
  81. package/components/ion-select-option.js +1 -1
  82. package/components/ion-select-popover.js +1 -1
  83. package/components/ion-select.js +1 -1
  84. package/components/ion-skeleton-text.js +1 -1
  85. package/components/ion-spinner.js +1 -1
  86. package/components/ion-split-pane.js +1 -1
  87. package/components/ion-tab-bar.js +1 -1
  88. package/components/ion-tab-button.js +1 -1
  89. package/components/ion-tab.js +1 -1
  90. package/components/ion-tabs.js +1 -1
  91. package/components/ion-text.js +1 -1
  92. package/components/ion-textarea.js +1 -1
  93. package/components/ion-thumbnail.js +1 -1
  94. package/components/ion-title.js +1 -1
  95. package/components/ion-toast.js +1 -1
  96. package/components/ion-toggle.js +1 -1
  97. package/components/ion-toolbar.js +1 -1
  98. package/components/p--JUspHvy.js +4 -0
  99. package/components/p-B8U2xbtx.js +4 -0
  100. package/components/p-B9jFTlwE.js +4 -0
  101. package/components/{p-oF-CwZ0b.js → p-BAYYcg3o.js} +1 -1
  102. package/components/p-BTPfOxsU.js +4 -0
  103. package/{dist/ionic/p-B2-sg7NJ.js → components/p-BT_5jSqG.js} +1 -1
  104. package/components/p-Baq1XyAy.js +4 -0
  105. package/components/p-BhmadOit.js +4 -0
  106. package/components/p-BirPFsRD.js +4 -0
  107. package/components/p-BjfgFSSR.js +4 -0
  108. package/components/p-BmVRXR1y.js +4 -0
  109. package/components/p-BnqQlm7c.js +4 -0
  110. package/components/p-BtVHN9Na.js +4 -0
  111. package/components/p-Bz0dSlXZ.js +4 -0
  112. package/components/p-C1aScSTo.js +4 -0
  113. package/components/p-C4t5ymfq.js +4 -0
  114. package/components/p-CHqRYvYm.js +4 -0
  115. package/components/p-CHzfYZbv.js +4 -0
  116. package/components/p-CI3ncNZm.js +4 -0
  117. package/components/p-CIGNaXM1.js +4 -0
  118. package/components/p-CO7fmmxt.js +4 -0
  119. package/components/p-CSZf8_j0.js +4 -0
  120. package/components/p-C_xFdyXe.js +4 -0
  121. package/components/p-Ciz1-FuE.js +4 -0
  122. package/components/p-Ck2wcXbv.js +4 -0
  123. package/components/p-CmR5uXej.js +4 -0
  124. package/components/p-CtWGkNnJ.js +4 -0
  125. package/components/p-CtukzcyX.js +4 -0
  126. package/{dist/ionic/p-CuGhCBt7.js → components/p-D13Eaw-8.js} +1 -1
  127. package/components/{p-ByW0kK1F.js → p-D5Ubpm7D.js} +1 -1
  128. package/components/p-D6Ynv7Xh.js +4 -0
  129. package/components/p-D7bSXQD3.js +4 -0
  130. package/components/p-DEBD4LvH.js +4 -0
  131. package/components/p-DH50pr9O.js +4 -0
  132. package/components/p-DIE4pXMl.js +4 -0
  133. package/components/p-DJztqcrH.js +4 -0
  134. package/components/{p-DXehWlOr.js → p-DNQI6d-L.js} +1 -1
  135. package/components/p-DOFCbuQR.js +4 -0
  136. package/components/p-DhkITZ-y.js +4 -0
  137. package/components/p-DiVJyqlX.js +4 -0
  138. package/components/p-DmpBvltk.js +4 -0
  139. package/components/p-DnL1c9_X.js +4 -0
  140. package/components/p-DpV-p5Xs.js +4 -0
  141. package/components/{p-zWP0sUV_.js → p-DqLB8yFQ.js} +1 -1
  142. package/components/p-DqZAXv2t.js +4 -0
  143. package/components/p-Dz74mwlk.js +4 -0
  144. package/components/{p-BcbmT6b3.js → p-Sh0ICmPV.js} +1 -1
  145. package/components/p-W5nO8mX_.js +4 -0
  146. package/components/p-XJWMAP8m.js +4 -0
  147. package/components/p-ZjP4CjeZ.js +4 -0
  148. package/components/{p-re70ahxF.js → p-cyNmxje6.js} +1 -1
  149. package/components/p-djQLE88P.js +4 -0
  150. package/components/{p-wCDzv5Q8.js → p-ijF0iCrA.js} +1 -1
  151. package/components/p-j5IxBIan.js +4 -0
  152. package/components/p-k_E4tX5Z.js +4 -0
  153. package/components/p-lE_JGpHD.js +4 -0
  154. package/components/p-r0aq7dpt.js +4 -0
  155. package/components/p-ryqmO0B-.js +4 -0
  156. package/components/p-wk2QqrAo.js +4 -0
  157. package/css/core.css +1 -1
  158. package/css/core.css.map +1 -1
  159. package/css/display.css +1 -1
  160. package/css/display.css.map +1 -1
  161. package/css/flex-utils.css +1 -1
  162. package/css/flex-utils.css.map +1 -1
  163. package/css/float-elements.css.map +1 -1
  164. package/css/global.bundle.css.map +1 -1
  165. package/css/ionic-swiper.css +1 -1
  166. package/css/ionic-swiper.css.map +1 -1
  167. package/css/ionic.bundle.css +1 -1
  168. package/css/ionic.bundle.css.map +1 -1
  169. package/css/normalize.css.map +1 -1
  170. package/css/padding.css.map +1 -1
  171. package/css/palettes/dark.always.css.map +1 -1
  172. package/css/palettes/dark.class.css.map +1 -1
  173. package/css/palettes/dark.system.css.map +1 -1
  174. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  175. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  176. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  177. package/css/palettes/high-contrast.always.css.map +1 -1
  178. package/css/palettes/high-contrast.class.css.map +1 -1
  179. package/css/palettes/high-contrast.system.css.map +1 -1
  180. package/css/structure.css.map +1 -1
  181. package/css/text-alignment.css.map +1 -1
  182. package/css/text-transformation.css.map +1 -1
  183. package/css/typography.css.map +1 -1
  184. package/css/utils.bundle.css +1 -1
  185. package/css/utils.bundle.css.map +1 -1
  186. package/dist/cjs/{animation-BZJ2wKuM.js → animation-BJq0kcy2.js} +3 -3
  187. package/dist/cjs/{app-globals-C-d5fQ35.js → app-globals-BlqrqKTN.js} +1 -1
  188. package/dist/cjs/{button-active-B_20Nxkv.js → button-active-0mPOKmV2.js} +2 -2
  189. package/dist/cjs/{capacitor-CXqhdZym.js → capacitor-DmA66EwP.js} +3 -3
  190. package/dist/cjs/{index-BJlwOs11.js → config-xninhj0J.js} +31 -1
  191. package/dist/cjs/{data-DuOuKG7I.js → data-DLTUw-KF.js} +6 -6
  192. package/dist/{esm/focus-visible-vXpMhGrs.js → cjs/focus-visible-CCvKiLh3.js} +3 -23
  193. package/dist/cjs/{framework-delegate-Dx9FrqAC.js → framework-delegate-BtICZDHr.js} +2 -4
  194. package/dist/cjs/{haptic-CQJGW58i.js → haptic-ClPPQ_PS.js} +1 -1
  195. package/dist/cjs/hardware-back-button-iUuF_76h.js +121 -0
  196. package/dist/cjs/{helpers-DJYxKN5U.js → helpers-Cv23MFHM.js} +4 -57
  197. package/dist/cjs/{index-DSNlrgfO.js → index-BERfRao3.js} +4 -4
  198. package/dist/cjs/{index-BJrpF9T3.js → index-CIrkNXqJ.js} +2 -2
  199. package/dist/cjs/{index-CzcLEdQ5.js → index-Ct7gcRif.js} +71 -64
  200. package/dist/cjs/{index-CwxYd6UD.js → index-D81eLYUM.js} +8 -9
  201. package/dist/cjs/index-DkNv4J_i.js +10 -0
  202. package/dist/cjs/{index-CgAbCW6L.js → index-DqmRDbxg.js} +0 -2
  203. package/dist/cjs/{index-BekUBS8C.js → index-aC4x3Fk3.js} +15 -15
  204. package/dist/cjs/index.cjs.js +16 -17
  205. package/dist/cjs/{input-shims-VyZciSxi.js → input-shims-CFLg7uzj.js} +17 -18
  206. package/dist/cjs/{input.utils-Ct5KzpYv.js → input.utils-DetjmtH2.js} +5 -5
  207. package/dist/cjs/ion-accordion_2.cjs.entry.js +29 -61
  208. package/dist/cjs/ion-action-sheet.cjs.entry.js +26 -41
  209. package/dist/cjs/ion-alert.cjs.entry.js +45 -62
  210. package/dist/cjs/ion-app_8.cjs.entry.js +189 -568
  211. package/dist/cjs/ion-avatar_3.cjs.entry.js +13 -125
  212. package/dist/cjs/ion-back-button.cjs.entry.js +22 -31
  213. package/dist/cjs/ion-backdrop.cjs.entry.js +7 -10
  214. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +18 -54
  215. package/dist/cjs/ion-button_2.cjs.entry.js +22 -59
  216. package/dist/cjs/ion-card_5.cjs.entry.js +33 -55
  217. package/dist/cjs/ion-checkbox.cjs.entry.js +16 -34
  218. package/dist/cjs/ion-chip.cjs.entry.js +9 -50
  219. package/dist/cjs/ion-col_3.cjs.entry.js +57 -56
  220. package/dist/cjs/ion-datetime-button.cjs.entry.js +9 -13
  221. package/dist/cjs/{ion-datetime_3.cjs.entry.js → ion-datetime.cjs.entry.js} +29 -742
  222. package/dist/cjs/ion-fab_3.cjs.entry.js +28 -44
  223. package/dist/cjs/ion-img.cjs.entry.js +4 -8
  224. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +17 -93
  225. package/dist/cjs/ion-input-otp.cjs.entry.js +9 -74
  226. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +15 -53
  227. package/dist/cjs/ion-input.cjs.entry.js +35 -125
  228. package/dist/cjs/ion-item-option_3.cjs.entry.js +52 -467
  229. package/dist/cjs/ion-item_8.cjs.entry.js +49 -116
  230. package/dist/cjs/ion-loading.cjs.entry.js +23 -22
  231. package/dist/cjs/ion-menu_3.cjs.entry.js +29 -47
  232. package/dist/cjs/ion-modal.cjs.entry.js +142 -262
  233. package/dist/cjs/ion-nav_2.cjs.entry.js +11 -14
  234. package/dist/cjs/ion-picker-column-option.cjs.entry.js +8 -12
  235. package/dist/cjs/ion-picker-column.cjs.entry.js +14 -14
  236. package/dist/cjs/ion-picker.cjs.entry.js +6 -10
  237. package/dist/cjs/ion-popover.cjs.entry.js +23 -21
  238. package/dist/cjs/ion-progress-bar.cjs.entry.js +9 -27
  239. package/dist/cjs/ion-radio_2.cjs.entry.js +17 -35
  240. package/dist/cjs/ion-range.cjs.entry.js +13 -20
  241. package/dist/cjs/ion-refresher_2.cjs.entry.js +23 -42
  242. package/dist/cjs/ion-reorder_2.cjs.entry.js +15 -39
  243. package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -15
  244. package/dist/cjs/ion-route_4.cjs.entry.js +9 -10
  245. package/dist/cjs/ion-searchbar.cjs.entry.js +25 -138
  246. package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
  247. package/dist/cjs/ion-segment-view.cjs.entry.js +3 -13
  248. package/dist/cjs/ion-segment_2.cjs.entry.js +16 -23
  249. package/dist/cjs/ion-select-modal.cjs.entry.js +40 -97
  250. package/dist/cjs/ion-select_3.cjs.entry.js +115 -453
  251. package/dist/cjs/ion-spinner.cjs.entry.js +8 -30
  252. package/dist/cjs/ion-split-pane.cjs.entry.js +9 -13
  253. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +23 -147
  254. package/dist/cjs/ion-tab_2.cjs.entry.js +7 -8
  255. package/dist/cjs/ion-text.cjs.entry.js +7 -7
  256. package/dist/cjs/ion-textarea.cjs.entry.js +23 -137
  257. package/dist/cjs/ion-toast.cjs.entry.js +47 -71
  258. package/dist/cjs/ion-toggle.cjs.entry.js +27 -84
  259. package/dist/cjs/ionic-global-B-cA6LkY.js +151 -0
  260. package/dist/cjs/ionic.cjs.js +5 -5
  261. package/dist/cjs/{ios.transition-CyNNpj1i.js → ios.transition-BOSWOaiK.js} +5 -7
  262. package/dist/cjs/{keyboard-VLGMzWBE.js → keyboard-UuAS4D_9.js} +1 -1
  263. package/dist/cjs/{keyboard-controller-CCTvHp9l.js → keyboard-controller-GXBiBRKS.js} +9 -11
  264. package/dist/cjs/{keyboard-CA6RtoWx.js → keyboard-hHzlEQpk.js} +3 -4
  265. package/dist/cjs/loader.cjs.js +4 -4
  266. package/dist/cjs/{md.transition-BEfrfWKW.js → md.transition-B8-wBZqt.js} +5 -6
  267. package/dist/cjs/{notch-controller-BTZCPOsd.js → notch-controller-18PzRGXd.js} +4 -4
  268. package/dist/cjs/{overlays-BuMIwR8B.js → overlays-DSmSrd_4.js} +42 -117
  269. package/dist/cjs/{status-tap-CTY2dMsZ.js → status-tap-BXX8H8_Y.js} +3 -4
  270. package/dist/cjs/{swipe-back-jJFi5KCB.js → swipe-back-C0GCB18x.js} +2 -3
  271. package/dist/cjs/{theme-IlOsGAz7.js → theme-CeDs6Hcv.js} +1 -25
  272. package/dist/cjs/validity-BpS37YFM.js +19 -0
  273. package/dist/collection/collection-manifest.json +3 -13
  274. package/dist/collection/components/accordion/accordion.ios.css +58 -73
  275. package/dist/collection/components/accordion/accordion.js +27 -41
  276. package/dist/collection/components/accordion/accordion.md.css +59 -67
  277. package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -16
  278. package/dist/collection/components/accordion-group/accordion-group.js +8 -44
  279. package/dist/collection/components/accordion-group/accordion-group.md.css +4 -22
  280. package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -102
  281. package/dist/collection/components/action-sheet/action-sheet.js +18 -33
  282. package/dist/collection/components/action-sheet/action-sheet.md.css +5 -101
  283. package/dist/collection/components/alert/alert.ios.css +1 -102
  284. package/dist/collection/components/alert/alert.js +35 -52
  285. package/dist/collection/components/alert/alert.md.css +1 -102
  286. package/dist/collection/components/app/app.js +83 -15
  287. package/dist/collection/components/avatar/avatar.ios.css +33 -7
  288. package/dist/collection/components/avatar/avatar.js +4 -120
  289. package/dist/collection/components/avatar/avatar.md.css +0 -51
  290. package/dist/collection/components/back-button/back-button.ios.css +48 -60
  291. package/dist/collection/components/back-button/back-button.js +19 -27
  292. package/dist/collection/components/back-button/back-button.md.css +48 -60
  293. package/dist/collection/components/backdrop/backdrop.ios.css +19 -56
  294. package/dist/collection/components/backdrop/backdrop.js +6 -12
  295. package/dist/collection/components/backdrop/backdrop.md.css +19 -56
  296. package/dist/collection/components/badge/badge.ios.css +12 -139
  297. package/dist/collection/components/badge/badge.js +9 -145
  298. package/dist/collection/components/badge/badge.md.css +12 -123
  299. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
  300. package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
  301. package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
  302. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
  303. package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
  304. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
  305. package/dist/collection/components/button/button.ios.css +46 -154
  306. package/dist/collection/components/button/button.js +27 -63
  307. package/dist/collection/components/button/button.md.css +50 -150
  308. package/dist/collection/components/buttons/buttons.ios.css +7 -59
  309. package/dist/collection/components/buttons/buttons.js +9 -15
  310. package/dist/collection/components/buttons/buttons.md.css +3 -55
  311. package/dist/collection/components/card/card.ios.css +14 -65
  312. package/dist/collection/components/card/card.js +10 -41
  313. package/dist/collection/components/card/card.md.css +14 -65
  314. package/dist/collection/components/card-content/card-content.ios.css +35 -20
  315. package/dist/collection/components/card-content/card-content.js +10 -12
  316. package/dist/collection/components/card-content/card-content.md.css +35 -20
  317. package/dist/collection/components/card-header/card-header.ios.css +15 -27
  318. package/dist/collection/components/card-header/card-header.js +10 -13
  319. package/dist/collection/components/card-header/card-header.md.css +15 -27
  320. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
  321. package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
  322. package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
  323. package/dist/collection/components/card-title/card-title.ios.css +0 -73
  324. package/dist/collection/components/card-title/card-title.js +8 -11
  325. package/dist/collection/components/card-title/card-title.md.css +0 -73
  326. package/dist/collection/components/checkbox/checkbox.ios.css +101 -161
  327. package/dist/collection/components/checkbox/checkbox.js +14 -70
  328. package/dist/collection/components/checkbox/checkbox.md.css +102 -162
  329. package/dist/collection/components/chip/chip.ios.css +14 -67
  330. package/dist/collection/components/chip/chip.js +8 -108
  331. package/dist/collection/components/chip/chip.md.css +14 -67
  332. package/dist/collection/components/col/col.css +4 -192
  333. package/dist/collection/components/col/col.js +61 -211
  334. package/dist/collection/components/content/content.css +2 -64
  335. package/dist/collection/components/content/content.js +11 -16
  336. package/dist/collection/components/datetime/datetime.ios.css +106 -302
  337. package/dist/collection/components/datetime/datetime.js +20 -98
  338. package/dist/collection/components/datetime/datetime.md.css +96 -293
  339. package/dist/collection/components/datetime/utils/data.js +5 -5
  340. package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
  341. package/dist/collection/components/datetime-button/datetime-button.js +8 -11
  342. package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
  343. package/dist/collection/components/fab/fab.css +1 -25
  344. package/dist/collection/components/fab/fab.js +5 -9
  345. package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
  346. package/dist/collection/components/fab-button/fab-button.js +21 -36
  347. package/dist/collection/components/fab-button/fab-button.md.css +8 -20
  348. package/dist/collection/components/fab-list/fab-list.css +0 -12
  349. package/dist/collection/components/fab-list/fab-list.js +5 -9
  350. package/dist/collection/components/footer/footer.ios.css +2 -27
  351. package/dist/collection/components/footer/footer.js +28 -80
  352. package/dist/collection/components/footer/footer.md.css +0 -25
  353. package/dist/collection/components/footer/footer.utils.js +0 -9
  354. package/dist/collection/components/grid/grid.css +0 -12
  355. package/dist/collection/components/grid/grid.js +5 -9
  356. package/dist/collection/components/header/header.ios.css +3 -93
  357. package/dist/collection/components/header/header.js +26 -87
  358. package/dist/collection/components/header/header.md.css +1 -91
  359. package/dist/collection/components/header/header.utils.js +5 -14
  360. package/dist/collection/components/img/img.js +2 -8
  361. package/dist/collection/components/infinite-scroll/infinite-scroll.js +5 -100
  362. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
  363. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
  364. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
  365. package/dist/collection/components/input/input.ios.css +135 -223
  366. package/dist/collection/components/input/input.js +42 -153
  367. package/dist/collection/components/input/input.md.css +207 -193
  368. package/dist/collection/components/input-otp/input-otp.ios.css +60 -105
  369. package/dist/collection/components/input-otp/input-otp.js +6 -73
  370. package/dist/collection/components/input-otp/input-otp.md.css +60 -105
  371. package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
  372. package/dist/collection/components/item/item.ios.css +69 -109
  373. package/dist/collection/components/item/item.js +20 -51
  374. package/dist/collection/components/item/item.md.css +68 -120
  375. package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
  376. package/dist/collection/components/item-divider/item-divider.js +8 -11
  377. package/dist/collection/components/item-divider/item-divider.md.css +0 -18
  378. package/dist/collection/components/item-group/item-group.ios.css +0 -12
  379. package/dist/collection/components/item-group/item-group.js +7 -13
  380. package/dist/collection/components/item-group/item-group.md.css +0 -12
  381. package/dist/collection/components/item-option/item-option.ios.css +29 -136
  382. package/dist/collection/components/item-option/item-option.js +9 -73
  383. package/dist/collection/components/item-option/item-option.md.css +29 -136
  384. package/dist/collection/components/item-options/item-options.ios.css +34 -77
  385. package/dist/collection/components/item-options/item-options.js +7 -13
  386. package/dist/collection/components/item-options/item-options.md.css +34 -77
  387. package/dist/collection/components/item-sliding/{item-sliding.native.css → item-sliding.css} +9 -84
  388. package/dist/collection/components/item-sliding/item-sliding.js +35 -421
  389. package/dist/collection/components/item-sliding/test/test.utils.js +0 -13
  390. package/dist/collection/components/label/label.ios.css +0 -18
  391. package/dist/collection/components/label/label.js +8 -11
  392. package/dist/collection/components/label/label.md.css +0 -18
  393. package/dist/collection/components/list/list.ios.css +14 -54
  394. package/dist/collection/components/list/list.js +9 -48
  395. package/dist/collection/components/list/list.md.css +16 -56
  396. package/dist/collection/components/list-header/list-header.ios.css +38 -82
  397. package/dist/collection/components/list-header/list-header.js +8 -11
  398. package/dist/collection/components/list-header/list-header.md.css +38 -82
  399. package/dist/collection/components/loading/loading.ios.css +1 -13
  400. package/dist/collection/components/loading/loading.js +16 -15
  401. package/dist/collection/components/loading/loading.md.css +1 -13
  402. package/dist/collection/components/menu/menu.ios.css +3 -15
  403. package/dist/collection/components/menu/menu.js +7 -12
  404. package/dist/collection/components/menu/menu.md.css +3 -15
  405. package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
  406. package/dist/collection/components/menu-button/menu-button.js +10 -26
  407. package/dist/collection/components/menu-button/menu-button.md.css +15 -49
  408. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
  409. package/dist/collection/components/modal/animations/sheet.js +2 -8
  410. package/dist/collection/components/modal/gestures/sheet.js +10 -76
  411. package/dist/collection/components/modal/modal.ios.css +70 -178
  412. package/dist/collection/components/modal/modal.js +17 -51
  413. package/dist/collection/components/modal/modal.md.css +70 -178
  414. package/dist/collection/components/nav/nav.css +1 -7
  415. package/dist/collection/components/nav/nav.js +5 -11
  416. package/dist/collection/components/nav-link/nav-link.js +1 -5
  417. package/dist/collection/components/note/note.ios.css +0 -12
  418. package/dist/collection/components/note/note.js +8 -11
  419. package/dist/collection/components/note/note.md.css +0 -12
  420. package/dist/collection/components/picker/picker.ios.css +3 -15
  421. package/dist/collection/components/picker/picker.js +5 -8
  422. package/dist/collection/components/picker/picker.md.css +3 -15
  423. package/dist/collection/components/picker-column/picker-column.css +2 -9
  424. package/dist/collection/components/picker-column/picker-column.js +7 -8
  425. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
  426. package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
  427. package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
  428. package/dist/collection/components/popover/popover.ios.css +1 -29
  429. package/dist/collection/components/popover/popover.js +20 -19
  430. package/dist/collection/components/popover/popover.md.css +1 -29
  431. package/dist/collection/components/progress-bar/progress-bar.ios.css +17 -48
  432. package/dist/collection/components/progress-bar/progress-bar.js +7 -43
  433. package/dist/collection/components/progress-bar/progress-bar.md.css +17 -48
  434. package/dist/collection/components/radio/radio.ios.css +91 -134
  435. package/dist/collection/components/radio/radio.js +10 -15
  436. package/dist/collection/components/radio/radio.md.css +91 -134
  437. package/dist/collection/components/radio-group/radio-group.ios.css +19 -43
  438. package/dist/collection/components/radio-group/radio-group.js +7 -48
  439. package/dist/collection/components/radio-group/radio-group.md.css +19 -43
  440. package/dist/collection/components/range/range.ios.css +85 -128
  441. package/dist/collection/components/range/range.js +10 -16
  442. package/dist/collection/components/range/range.md.css +85 -128
  443. package/dist/collection/components/refresher/refresher.ios.css +1 -14
  444. package/dist/collection/components/refresher/refresher.js +8 -11
  445. package/dist/collection/components/refresher/refresher.md.css +2 -15
  446. package/dist/collection/components/refresher-content/refresher-content.js +7 -28
  447. package/dist/collection/components/reorder/reorder.ios.css +0 -6
  448. package/dist/collection/components/reorder/reorder.js +6 -33
  449. package/dist/collection/components/reorder/reorder.md.css +0 -6
  450. package/dist/collection/components/reorder-group/reorder-group.css +0 -6
  451. package/dist/collection/components/reorder-group/reorder-group.js +4 -8
  452. package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
  453. package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
  454. package/dist/collection/components/route/route.js +0 -4
  455. package/dist/collection/components/router/router.js +0 -4
  456. package/dist/collection/components/router-link/router-link.css +2 -8
  457. package/dist/collection/components/router-link/router-link.js +5 -9
  458. package/dist/collection/components/router-outlet/router-outlet.css +1 -7
  459. package/dist/collection/components/router-outlet/router-outlet.js +40 -10
  460. package/dist/collection/components/row/row.css +0 -16
  461. package/dist/collection/components/row/row.js +2 -9
  462. package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
  463. package/dist/collection/components/searchbar/searchbar.js +38 -185
  464. package/dist/collection/components/searchbar/searchbar.md.css +18 -56
  465. package/dist/collection/components/segment/segment.ios.css +2 -45
  466. package/dist/collection/components/segment/segment.js +8 -11
  467. package/dist/collection/components/segment/segment.md.css +2 -45
  468. package/dist/collection/components/segment-button/segment-button.ios.css +105 -146
  469. package/dist/collection/components/segment-button/segment-button.js +8 -11
  470. package/dist/collection/components/segment-button/segment-button.md.css +107 -148
  471. package/dist/collection/components/segment-content/segment-content.js +1 -1
  472. package/dist/collection/components/segment-view/segment-view.ios.css +0 -6
  473. package/dist/collection/components/segment-view/segment-view.js +4 -13
  474. package/dist/collection/components/segment-view/segment-view.md.css +0 -6
  475. package/dist/collection/components/select/select.ios.css +176 -348
  476. package/dist/collection/components/select/select.js +97 -434
  477. package/dist/collection/components/select/select.md.css +178 -364
  478. package/dist/collection/components/select-modal/select-modal.ios.css +0 -95
  479. package/dist/collection/components/select-modal/select-modal.js +32 -109
  480. package/dist/collection/components/select-modal/select-modal.md.css +0 -83
  481. package/dist/collection/components/select-option/select-option.js +2 -32
  482. package/dist/collection/components/select-popover/select-popover.ios.css +0 -100
  483. package/dist/collection/components/select-popover/select-popover.js +31 -72
  484. package/dist/collection/components/select-popover/select-popover.md.css +0 -100
  485. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
  486. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
  487. package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +10 -78
  488. package/dist/collection/components/spinner/spinner.js +6 -47
  489. package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
  490. package/dist/collection/components/split-pane/split-pane.js +9 -16
  491. package/dist/collection/components/split-pane/split-pane.md.css +2 -20
  492. package/dist/collection/components/tab/tab.js +2 -6
  493. package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
  494. package/dist/collection/components/tab-bar/tab-bar.js +13 -171
  495. package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
  496. package/dist/collection/components/tab-button/tab-button.ios.css +95 -171
  497. package/dist/collection/components/tab-button/tab-button.js +9 -54
  498. package/dist/collection/components/tab-button/tab-button.md.css +93 -137
  499. package/dist/collection/components/tabs/tabs.css +1 -7
  500. package/dist/collection/components/tabs/tabs.js +1 -4
  501. package/dist/collection/components/text/text.css +0 -6
  502. package/dist/collection/components/text/text.js +6 -7
  503. package/dist/collection/components/textarea/textarea.ios.css +158 -298
  504. package/dist/collection/components/textarea/textarea.js +24 -162
  505. package/dist/collection/components/textarea/textarea.md.css +159 -312
  506. package/dist/collection/components/thumbnail/thumbnail.css +0 -6
  507. package/dist/collection/components/thumbnail/thumbnail.js +2 -9
  508. package/dist/collection/components/title/title.ios.css +4 -32
  509. package/dist/collection/components/title/title.js +7 -13
  510. package/dist/collection/components/title/title.md.css +4 -32
  511. package/dist/collection/components/toast/animations/utils.js +1 -1
  512. package/dist/collection/components/toast/toast.ios.css +45 -84
  513. package/dist/collection/components/toast/toast.js +13 -76
  514. package/dist/collection/components/toast/toast.md.css +45 -84
  515. package/dist/collection/components/toggle/toggle.ios.css +131 -247
  516. package/dist/collection/components/toggle/toggle.js +18 -73
  517. package/dist/collection/components/toggle/toggle.md.css +131 -244
  518. package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
  519. package/dist/collection/components/toolbar/toolbar.js +13 -218
  520. package/dist/collection/components/toolbar/toolbar.md.css +47 -90
  521. package/dist/collection/global/ionic-global.js +13 -241
  522. package/dist/collection/index.js +1 -1
  523. package/dist/collection/utils/focus-trap.js +2 -13
  524. package/dist/collection/utils/focus-visible.js +0 -22
  525. package/dist/collection/utils/forms/validity.js +0 -31
  526. package/dist/collection/utils/framework-delegate.js +1 -3
  527. package/dist/collection/utils/hardware-back-button.js +0 -15
  528. package/dist/collection/utils/helpers.js +3 -57
  529. package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
  530. package/dist/collection/utils/media.js +0 -1
  531. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  532. package/dist/collection/utils/menu-controller/animations/push.js +1 -2
  533. package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
  534. package/dist/collection/utils/overlays.js +31 -97
  535. package/dist/collection/utils/test/playwright/drag-element.js +9 -32
  536. package/dist/collection/utils/test/playwright/generator.js +23 -48
  537. package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
  538. package/dist/collection/utils/test/playwright/page/utils/set-content.js +3 -26
  539. package/dist/collection/utils/theme.js +1 -25
  540. package/dist/collection/utils/transition/ios.transition.js +0 -1
  541. package/dist/docs.json +698 -10171
  542. package/dist/esm/{animation-Cd1EA2ar.js → animation-DLJpuoEz.js} +2 -2
  543. package/dist/esm/{app-globals-9x_U7ofY.js → app-globals-D0C5S4hU.js} +1 -1
  544. package/dist/esm/{button-active-B016u5N-.js → button-active-BSpTQmS9.js} +2 -2
  545. package/dist/esm/{capacitor-13SFuT1K.js → capacitor-CFERIeaU.js} +1 -1
  546. package/dist/esm/{index-D4ugF_sT.js → config-DQCONYYp.js} +29 -2
  547. package/dist/esm/{data-BNKYavC3.js → data-DZI70dKr.js} +6 -6
  548. package/dist/{cjs/focus-visible-BIj-I3-C.js → esm/focus-visible-BmVRXR1y.js} +1 -27
  549. package/dist/esm/{framework-delegate-CjVwn_KZ.js → framework-delegate-FnPGymXL.js} +2 -4
  550. package/dist/esm/{haptic-CbnKC3go.js → haptic-DzAMWJuk.js} +1 -1
  551. package/dist/esm/hardware-back-button-B93Gru0Y.js +115 -0
  552. package/dist/esm/{helpers-Do7zwvM1.js → helpers-HEqiOzXb.js} +5 -58
  553. package/dist/esm/{index-D2tu5BUg.js → index-AlrZKoWR.js} +1 -2
  554. package/dist/esm/{index-D3WueHpT.js → index-BRHzoo00.js} +3 -4
  555. package/dist/esm/{index-B2VWavcK.js → index-B_dQk_WE.js} +4 -4
  556. package/dist/esm/{index-BmkLokUL.js → index-MEDq2S8l.js} +2 -2
  557. package/dist/esm/{index-BWMvrRiE.js → index-Q6UPU0Ay.js} +11 -11
  558. package/dist/esm/index-ZjP4CjeZ.js +7 -0
  559. package/dist/esm/{index-Omi_TcwW.js → index-tcQvqkiX.js} +71 -64
  560. package/dist/esm/index.js +14 -14
  561. package/dist/esm/{input-shims-DU23z7Hg.js → input-shims-D10mwcw1.js} +6 -7
  562. package/dist/esm/{input.utils-C64RbLd_.js → input.utils-Y6NgW8bw.js} +3 -3
  563. package/dist/esm/ion-accordion_2.entry.js +29 -61
  564. package/dist/esm/ion-action-sheet.entry.js +26 -41
  565. package/dist/esm/ion-alert.entry.js +44 -61
  566. package/dist/esm/ion-app_8.entry.js +189 -568
  567. package/dist/esm/ion-avatar_3.entry.js +13 -125
  568. package/dist/esm/ion-back-button.entry.js +22 -31
  569. package/dist/esm/ion-backdrop.entry.js +7 -10
  570. package/dist/esm/ion-breadcrumb_2.entry.js +18 -54
  571. package/dist/esm/ion-button_2.entry.js +22 -59
  572. package/dist/esm/ion-card_5.entry.js +33 -55
  573. package/dist/esm/ion-checkbox.entry.js +16 -34
  574. package/dist/esm/ion-chip.entry.js +9 -50
  575. package/dist/esm/ion-col_3.entry.js +57 -56
  576. package/dist/esm/ion-datetime-button.entry.js +9 -13
  577. package/dist/esm/{ion-datetime_3.entry.js → ion-datetime.entry.js} +30 -741
  578. package/dist/esm/ion-fab_3.entry.js +28 -44
  579. package/dist/esm/ion-img.entry.js +4 -8
  580. package/dist/esm/ion-infinite-scroll_2.entry.js +16 -92
  581. package/dist/esm/ion-input-otp.entry.js +9 -74
  582. package/dist/esm/ion-input-password-toggle.entry.js +15 -53
  583. package/dist/esm/ion-input.entry.js +35 -125
  584. package/dist/esm/ion-item-option_3.entry.js +52 -467
  585. package/dist/esm/ion-item_8.entry.js +49 -116
  586. package/dist/esm/ion-loading.entry.js +22 -21
  587. package/dist/esm/ion-menu_3.entry.js +29 -47
  588. package/dist/esm/ion-modal.entry.js +95 -215
  589. package/dist/esm/ion-nav_2.entry.js +11 -14
  590. package/dist/esm/ion-picker-column-option.entry.js +8 -12
  591. package/dist/esm/ion-picker-column.entry.js +13 -13
  592. package/dist/esm/ion-picker.entry.js +6 -10
  593. package/dist/esm/ion-popover.entry.js +23 -21
  594. package/dist/esm/ion-progress-bar.entry.js +9 -27
  595. package/dist/esm/ion-radio_2.entry.js +17 -35
  596. package/dist/esm/ion-range.entry.js +13 -20
  597. package/dist/esm/ion-refresher_2.entry.js +21 -40
  598. package/dist/esm/ion-reorder_2.entry.js +15 -39
  599. package/dist/esm/ion-ripple-effect.entry.js +7 -15
  600. package/dist/esm/ion-route_4.entry.js +9 -10
  601. package/dist/esm/ion-searchbar.entry.js +25 -138
  602. package/dist/esm/ion-segment-content.entry.js +2 -2
  603. package/dist/esm/ion-segment-view.entry.js +3 -13
  604. package/dist/esm/ion-segment_2.entry.js +16 -23
  605. package/dist/esm/ion-select-modal.entry.js +40 -97
  606. package/dist/esm/ion-select_3.entry.js +116 -454
  607. package/dist/esm/ion-spinner.entry.js +8 -30
  608. package/dist/esm/ion-split-pane.entry.js +9 -13
  609. package/dist/esm/ion-tab-bar_2.entry.js +23 -147
  610. package/dist/esm/ion-tab_2.entry.js +7 -8
  611. package/dist/esm/ion-text.entry.js +7 -7
  612. package/dist/esm/ion-textarea.entry.js +23 -137
  613. package/dist/esm/ion-toast.entry.js +22 -46
  614. package/dist/esm/ion-toggle.entry.js +27 -84
  615. package/dist/esm/ionic-global-Cp_eT4sZ.js +146 -0
  616. package/dist/esm/ionic.js +6 -6
  617. package/dist/esm/{ios.transition-DoQTN5Jk.js → ios.transition-ClFrsIrS.js} +5 -7
  618. package/dist/esm/{keyboard-Dnno7-Ci.js → keyboard-CUw4ekVy.js} +1 -1
  619. package/dist/esm/{keyboard-controller-BpOdk6xN.js → keyboard-controller-BaaVITYt.js} +3 -5
  620. package/dist/esm/{keyboard-Ca1zVCcH.js → keyboard-ywgs5efA.js} +3 -4
  621. package/dist/esm/loader.js +5 -5
  622. package/dist/esm/{md.transition-DZydrWwq.js → md.transition-D0msQmzI.js} +5 -6
  623. package/dist/esm/{notch-controller-klgNWpjJ.js → notch-controller-DKDjU_O7.js} +2 -2
  624. package/dist/esm/{overlays-CpQ6Df2g.js → overlays-DLNOHWNc.js} +39 -114
  625. package/dist/esm/{status-tap-fYFdZg6z.js → status-tap-Kan2W7sh.js} +3 -4
  626. package/dist/esm/{swipe-back-BzGqTrrq.js → swipe-back-DQ1q5MgD.js} +2 -3
  627. package/dist/esm/{theme-DaJxRxSQ.js → theme-DiVJyqlX.js} +1 -25
  628. package/dist/esm/validity-DJztqcrH.js +17 -0
  629. package/dist/html.html-data.json +162 -2677
  630. package/dist/ionic/index.esm.js +1 -1
  631. package/dist/ionic/ionic.esm.js +1 -1
  632. package/dist/ionic/p-03aa786d.entry.js +4 -0
  633. package/dist/ionic/p-06c232a4.entry.js +4 -0
  634. package/dist/ionic/p-11684553.entry.js +4 -0
  635. package/dist/ionic/p-1ae21e4c.entry.js +4 -0
  636. package/dist/ionic/p-20b1a044.entry.js +4 -0
  637. package/dist/ionic/p-259d0d98.entry.js +4 -0
  638. package/dist/ionic/p-2a6d6565.entry.js +4 -0
  639. package/dist/ionic/p-341032b3.entry.js +4 -0
  640. package/dist/ionic/p-3e91d32e.entry.js +4 -0
  641. package/dist/ionic/p-441fbb13.entry.js +4 -0
  642. package/dist/ionic/p-4502a274.entry.js +4 -0
  643. package/dist/ionic/p-4621c387.entry.js +4 -0
  644. package/dist/ionic/p-4bb3eb60.entry.js +4 -0
  645. package/dist/ionic/p-4e92a11f.entry.js +4 -0
  646. package/dist/ionic/p-50e1194a.entry.js +4 -0
  647. package/dist/ionic/p-51cd1643.entry.js +4 -0
  648. package/dist/ionic/p-5c3ec490.entry.js +4 -0
  649. package/dist/ionic/p-627fabd9.entry.js +4 -0
  650. package/dist/ionic/p-629e4703.entry.js +4 -0
  651. package/dist/ionic/p-76e92a84.entry.js +4 -0
  652. package/dist/ionic/p-7a37b3ce.entry.js +4 -0
  653. package/dist/ionic/p-7aed7726.entry.js +4 -0
  654. package/dist/ionic/p-7ebd980c.entry.js +4 -0
  655. package/dist/ionic/p-80b44b3c.entry.js +4 -0
  656. package/dist/ionic/p-81ea5652.entry.js +4 -0
  657. package/dist/ionic/p-8c8eee7d.entry.js +4 -0
  658. package/dist/ionic/p-8d624ee5.entry.js +4 -0
  659. package/dist/ionic/p-8d6fd502.entry.js +4 -0
  660. package/dist/ionic/p-9177f4ac.entry.js +4 -0
  661. package/dist/ionic/p-9c6a5a8d.entry.js +4 -0
  662. package/dist/ionic/p-9eeaBrnk.js +4 -0
  663. package/dist/ionic/p-AlrZKoWR.js +4 -0
  664. package/dist/ionic/p-BGqMS-oh.js +4 -0
  665. package/dist/ionic/p-BUFIpxKM.js +4 -0
  666. package/dist/ionic/p-BmVRXR1y.js +4 -0
  667. package/dist/ionic/p-CFlfIb2g.js +4 -0
  668. package/dist/ionic/p-CIGNaXM1.js +4 -0
  669. package/dist/ionic/{p-BmEwy3tY.js → p-CKvCXMs9.js} +1 -1
  670. package/dist/ionic/p-Cg5-OQYy.js +4 -0
  671. package/dist/ionic/p-CtWGkNnJ.js +4 -0
  672. package/dist/ionic/p-Cx3IXROA.js +4 -0
  673. package/{components/p-Cllkut-B.js → dist/ionic/p-D13Eaw-8.js} +1 -1
  674. package/dist/ionic/p-D4uTWt4-.js +4 -0
  675. package/dist/ionic/{p-C8IHbcuP.js → p-DAAFkPFT.js} +1 -1
  676. package/dist/ionic/p-DC3RagnA.js +4 -0
  677. package/dist/ionic/p-DIuEbVLu.js +4 -0
  678. package/dist/ionic/p-DJztqcrH.js +4 -0
  679. package/dist/ionic/p-DSG2s2Eb.js +4 -0
  680. package/dist/ionic/p-Dfbt-q2k.js +4 -0
  681. package/dist/ionic/p-DiVJyqlX.js +4 -0
  682. package/dist/ionic/p-DoJvtrbw.js +4 -0
  683. package/{components/p-Cmql_g3_.js → dist/ionic/p-DzWaWHGc.js} +1 -1
  684. package/dist/ionic/p-KjNvRoEp.js +4 -0
  685. package/dist/ionic/p-Nqf6uvGh.js +4 -0
  686. package/dist/ionic/p-SNAkTDfm.js +4 -0
  687. package/{components/p-CDgDBcU9.js → dist/ionic/p-VAemlbDS.js} +1 -1
  688. package/dist/ionic/{p-DKWXAwlR.js → p-Wk5HzclC.js} +1 -1
  689. package/dist/ionic/p-ZjP4CjeZ.js +4 -0
  690. package/dist/ionic/p-a2e51c5d.entry.js +4 -0
  691. package/dist/ionic/p-a3bdcae6.entry.js +4 -0
  692. package/dist/ionic/p-a44b7536.entry.js +4 -0
  693. package/dist/ionic/p-a5213260.entry.js +4 -0
  694. package/dist/ionic/p-a7628bc7.entry.js +4 -0
  695. package/dist/ionic/p-b1599fca.entry.js +4 -0
  696. package/dist/ionic/p-b16be471.entry.js +4 -0
  697. package/dist/ionic/p-b6a7397c.entry.js +4 -0
  698. package/dist/ionic/p-b9ac1fe0.entry.js +4 -0
  699. package/dist/ionic/p-c6e49f3f.entry.js +4 -0
  700. package/dist/ionic/p-c93553d2.entry.js +4 -0
  701. package/dist/ionic/p-d2c7f046.entry.js +4 -0
  702. package/dist/ionic/p-d8387b99.entry.js +4 -0
  703. package/dist/ionic/p-d8ac9eea.entry.js +4 -0
  704. package/dist/ionic/p-db1b6738.entry.js +4 -0
  705. package/dist/ionic/p-dfa8d673.entry.js +4 -0
  706. package/dist/ionic/p-ed797c72.entry.js +4 -0
  707. package/dist/ionic/p-ef93ca92.entry.js +4 -0
  708. package/dist/ionic/p-f09f9642.entry.js +4 -0
  709. package/dist/ionic/p-f1c06f82.entry.js +4 -0
  710. package/dist/ionic/p-f386f6ae.entry.js +4 -0
  711. package/dist/ionic/p-fe4aa1db.entry.js +4 -0
  712. package/dist/ionic/p-mjKAFv89.js +4 -0
  713. package/dist/ionic/p-tcQvqkiX.js +5 -0
  714. package/dist/ionic/p-viFHDgRs.js +4 -0
  715. package/dist/ionic/p-xWb6fgfq.js +4 -0
  716. package/dist/types/components/accordion/accordion.d.ts +3 -6
  717. package/dist/types/components/accordion-group/accordion-group.d.ts +1 -12
  718. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
  719. package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
  720. package/dist/types/components/alert/alert-interface.d.ts +7 -3
  721. package/dist/types/components/alert/alert.d.ts +2 -3
  722. package/dist/types/components/app/app.d.ts +5 -4
  723. package/dist/types/components/avatar/avatar.d.ts +0 -32
  724. package/dist/types/components/back-button/back-button.d.ts +1 -2
  725. package/dist/types/components/backdrop/backdrop.d.ts +0 -4
  726. package/dist/types/components/badge/badge.d.ts +1 -34
  727. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
  728. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  729. package/dist/types/components/button/button.d.ts +8 -23
  730. package/dist/types/components/buttons/buttons.d.ts +1 -5
  731. package/dist/types/components/card/card.d.ts +1 -8
  732. package/dist/types/components/card-content/card-content.d.ts +1 -2
  733. package/dist/types/components/card-header/card-header.d.ts +2 -3
  734. package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
  735. package/dist/types/components/card-title/card-title.d.ts +1 -2
  736. package/dist/types/components/checkbox/checkbox.d.ts +4 -14
  737. package/dist/types/components/chip/chip.d.ts +1 -26
  738. package/dist/types/components/col/col.d.ts +5 -52
  739. package/dist/types/components/content/content.d.ts +0 -3
  740. package/dist/types/components/datetime/datetime.d.ts +1 -26
  741. package/dist/types/components/datetime/utils/data.d.ts +5 -5
  742. package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
  743. package/dist/types/components/fab/fab.d.ts +0 -4
  744. package/dist/types/components/fab-button/fab-button.d.ts +3 -5
  745. package/dist/types/components/fab-list/fab-list.d.ts +0 -4
  746. package/dist/types/components/footer/footer.d.ts +4 -15
  747. package/dist/types/components/footer/footer.utils.d.ts +0 -1
  748. package/dist/types/components/grid/grid.d.ts +0 -4
  749. package/dist/types/components/header/header.d.ts +5 -18
  750. package/dist/types/components/header/header.utils.d.ts +3 -4
  751. package/dist/types/components/img/img.d.ts +0 -3
  752. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -21
  753. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
  754. package/dist/types/components/input/input.d.ts +6 -32
  755. package/dist/types/components/input-otp/input-otp.d.ts +0 -37
  756. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
  757. package/dist/types/components/item/item.d.ts +4 -11
  758. package/dist/types/components/item-divider/item-divider.d.ts +1 -2
  759. package/dist/types/components/item-group/item-group.d.ts +0 -4
  760. package/dist/types/components/item-option/item-option.d.ts +1 -18
  761. package/dist/types/components/item-options/item-options.d.ts +0 -4
  762. package/dist/types/components/item-sliding/item-sliding.d.ts +1 -47
  763. package/dist/types/components/item-sliding/test/test.utils.d.ts +0 -13
  764. package/dist/types/components/label/label.d.ts +1 -2
  765. package/dist/types/components/list/list.d.ts +1 -15
  766. package/dist/types/components/list-header/list-header.d.ts +1 -2
  767. package/dist/types/components/loading/loading-interface.d.ts +7 -2
  768. package/dist/types/components/loading/loading.d.ts +2 -3
  769. package/dist/types/components/menu/menu.d.ts +0 -3
  770. package/dist/types/components/menu-button/menu-button.d.ts +1 -3
  771. package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
  772. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  773. package/dist/types/components/modal/modal-interface.d.ts +7 -4
  774. package/dist/types/components/modal/modal.d.ts +1 -11
  775. package/dist/types/components/nav/nav-interface.d.ts +1 -9
  776. package/dist/types/components/nav/nav.d.ts +1 -5
  777. package/dist/types/components/nav-link/nav-link.d.ts +0 -4
  778. package/dist/types/components/note/note.d.ts +1 -2
  779. package/dist/types/components/picker/picker.d.ts +1 -2
  780. package/dist/types/components/picker-column/picker-column.d.ts +1 -2
  781. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
  782. package/dist/types/components/popover/popover-interface.d.ts +6 -3
  783. package/dist/types/components/popover/popover.d.ts +5 -6
  784. package/dist/types/components/progress-bar/progress-bar.d.ts +1 -10
  785. package/dist/types/components/radio/radio.d.ts +1 -2
  786. package/dist/types/components/radio-group/radio-group.d.ts +0 -12
  787. package/dist/types/components/range/range.d.ts +1 -2
  788. package/dist/types/components/refresher/refresher.d.ts +1 -2
  789. package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
  790. package/dist/types/components/reorder/reorder.d.ts +0 -9
  791. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
  792. package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
  793. package/dist/types/components/route/route.d.ts +0 -4
  794. package/dist/types/components/router/router.d.ts +0 -4
  795. package/dist/types/components/router-link/router-link.d.ts +0 -4
  796. package/dist/types/components/router-outlet/router-outlet.d.ts +8 -4
  797. package/dist/types/components/row/row.d.ts +0 -4
  798. package/dist/types/components/searchbar/searchbar.d.ts +10 -52
  799. package/dist/types/components/segment/segment.d.ts +1 -2
  800. package/dist/types/components/segment-button/segment-button.d.ts +1 -2
  801. package/dist/types/components/select/select-interface.d.ts +0 -23
  802. package/dist/types/components/select/select.d.ts +14 -66
  803. package/dist/types/components/select-modal/select-modal.d.ts +0 -8
  804. package/dist/types/components/select-option/select-option.d.ts +0 -12
  805. package/dist/types/components/select-popover/select-popover.d.ts +0 -3
  806. package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
  807. package/dist/types/components/spinner/spinner.d.ts +0 -15
  808. package/dist/types/components/split-pane/split-pane.d.ts +0 -4
  809. package/dist/types/components/tab/tab.d.ts +0 -4
  810. package/dist/types/components/tab-bar/tab-bar.d.ts +2 -37
  811. package/dist/types/components/tab-button/tab-button.d.ts +1 -12
  812. package/dist/types/components/tabs/tabs.d.ts +0 -3
  813. package/dist/types/components/text/text.d.ts +1 -2
  814. package/dist/types/components/textarea/textarea.d.ts +4 -53
  815. package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
  816. package/dist/types/components/title/title.d.ts +0 -4
  817. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  818. package/dist/types/components/toast/toast-interface.d.ts +7 -3
  819. package/dist/types/components/toast/toast.d.ts +2 -19
  820. package/dist/types/components/toggle/toggle.d.ts +1 -15
  821. package/dist/types/components/toolbar/toolbar.d.ts +3 -43
  822. package/dist/types/components.d.ts +269 -2128
  823. package/dist/types/global/ionic-global.d.ts +2 -28
  824. package/dist/types/index.d.ts +1 -1
  825. package/dist/types/interface.d.ts +0 -4
  826. package/dist/types/stencil-public-runtime.d.ts +4 -1
  827. package/dist/types/utils/config.d.ts +2 -114
  828. package/dist/types/utils/focus-trap.d.ts +1 -1
  829. package/dist/types/utils/focus-visible.d.ts +0 -13
  830. package/dist/types/utils/forms/validity.d.ts +0 -7
  831. package/dist/types/utils/helpers.d.ts +0 -11
  832. package/dist/types/utils/overlays-interface.d.ts +1 -31
  833. package/dist/types/utils/overlays.d.ts +12 -10
  834. package/dist/types/utils/test/playwright/drag-element.d.ts +3 -16
  835. package/dist/types/utils/test/playwright/generator.d.ts +2 -31
  836. package/dist/types/utils/theme.d.ts +0 -9
  837. package/hydrate/index.js +2329 -6522
  838. package/hydrate/index.mjs +2329 -6522
  839. package/package.json +40 -12
  840. package/components/ion-divider.d.ts +0 -11
  841. package/components/ion-divider.js +0 -4
  842. package/components/ion-gallery.d.ts +0 -11
  843. package/components/ion-gallery.js +0 -4
  844. package/components/ion-picker-legacy-column.d.ts +0 -11
  845. package/components/ion-picker-legacy-column.js +0 -4
  846. package/components/ion-picker-legacy.d.ts +0 -11
  847. package/components/ion-picker-legacy.js +0 -4
  848. package/components/p-3Ni1Z654.js +0 -4
  849. package/components/p-B9MABkWm.js +0 -4
  850. package/components/p-BBu2n-9C.js +0 -4
  851. package/components/p-BDcohALy.js +0 -4
  852. package/components/p-BDqjX7Z_.js +0 -4
  853. package/components/p-BF5oFX1I.js +0 -4
  854. package/components/p-BJzJdLry.js +0 -4
  855. package/components/p-BYSs-jZz.js +0 -4
  856. package/components/p-BZCB7f49.js +0 -4
  857. package/components/p-BaPtaYEC.js +0 -4
  858. package/components/p-Bg30AtDZ.js +0 -4
  859. package/components/p-BhkGOA7t.js +0 -4
  860. package/components/p-BjW8SOqw.js +0 -4
  861. package/components/p-Bk9hTY4h.js +0 -4
  862. package/components/p-BqDiJgC_.js +0 -4
  863. package/components/p-BsNpz2u3.js +0 -4
  864. package/components/p-Bt0d89x3.js +0 -4
  865. package/components/p-BwKpO3Is.js +0 -4
  866. package/components/p-BwQOIWD7.js +0 -4
  867. package/components/p-C0U8YqYW.js +0 -4
  868. package/components/p-C75FIZBC.js +0 -4
  869. package/components/p-C8kBejTT.js +0 -4
  870. package/components/p-CBS0sBAa.js +0 -4
  871. package/components/p-CPm7KgOP.js +0 -4
  872. package/components/p-Cg-xpJhD.js +0 -4
  873. package/components/p-CgSn4J7d.js +0 -4
  874. package/components/p-CgZLVOCc.js +0 -4
  875. package/components/p-CpFORZud.js +0 -4
  876. package/components/p-Cz4uz3Dy.js +0 -4
  877. package/components/p-CzC_ZSgb.js +0 -4
  878. package/components/p-D1t981Ih.js +0 -4
  879. package/components/p-D2mReIu8.js +0 -4
  880. package/components/p-D6g8ud1e.js +0 -4
  881. package/components/p-DAXhdEp5.js +0 -4
  882. package/components/p-DCS3n7Uq.js +0 -4
  883. package/components/p-DDw-NYxz.js +0 -4
  884. package/components/p-DN_scBC7.js +0 -4
  885. package/components/p-DVcs-2q3.js +0 -4
  886. package/components/p-DaJxRxSQ.js +0 -4
  887. package/components/p-Dhi5xtNS.js +0 -4
  888. package/components/p-Do7NMUwR.js +0 -4
  889. package/components/p-Dp2x0MpA.js +0 -4
  890. package/components/p-GElQZ38c.js +0 -4
  891. package/components/p-GtzfsjJP.js +0 -4
  892. package/components/p-IYdTEyGb.js +0 -4
  893. package/components/p-Skz67GXZ.js +0 -4
  894. package/components/p-XegQjlzJ.js +0 -4
  895. package/components/p-d77Zk1DK.js +0 -4
  896. package/components/p-fIOYmaqA.js +0 -4
  897. package/components/p-hdGd8ben.js +0 -4
  898. package/components/p-hpwmNJ2Q.js +0 -4
  899. package/components/p-kKYBfhbe.js +0 -4
  900. package/components/p-lGSe6-vg.js +0 -4
  901. package/components/p-pvh0bjpw.js +0 -4
  902. package/components/p-sToA4Co7.js +0 -4
  903. package/components/p-vXpMhGrs.js +0 -4
  904. package/css/ionic/bundle.ionic.css +0 -1
  905. package/css/ionic/bundle.ionic.css.map +0 -1
  906. package/css/ionic/core.ionic.css +0 -1
  907. package/css/ionic/core.ionic.css.map +0 -1
  908. package/css/ionic/global.bundle.ionic.css +0 -1
  909. package/css/ionic/global.bundle.ionic.css.map +0 -1
  910. package/css/ionic/ionic-swiper.ionic.css +0 -1
  911. package/css/ionic/ionic-swiper.ionic.css.map +0 -1
  912. package/css/ionic/link.ionic.css +0 -1
  913. package/css/ionic/link.ionic.css.map +0 -1
  914. package/css/ionic/structure.ionic.css +0 -1
  915. package/css/ionic/structure.ionic.css.map +0 -1
  916. package/css/ionic/typography.ionic.css +0 -1
  917. package/css/ionic/typography.ionic.css.map +0 -1
  918. package/css/ionic/utils.bundle.ionic.css +0 -1
  919. package/css/ionic/utils.bundle.ionic.css.map +0 -1
  920. package/dist/cjs/caret-down-vtVgfXIs.js +0 -8
  921. package/dist/cjs/caret-left-CxZXLRv5.js +0 -8
  922. package/dist/cjs/caret-right-CRCgv98E.js +0 -8
  923. package/dist/cjs/config-DWdFbSNK.js +0 -35
  924. package/dist/cjs/ion-divider.cjs.entry.js +0 -51
  925. package/dist/cjs/ion-gallery.cjs.entry.js +0 -510
  926. package/dist/cjs/ionic-global-BW5tRzrz.js +0 -519
  927. package/dist/cjs/list-a-7GSA6K.js +0 -8
  928. package/dist/cjs/select-option-render-C7klBX2H.js +0 -81
  929. package/dist/cjs/validity-QmuwEptc.js +0 -51
  930. package/dist/cjs/x-BTF99yFH.js +0 -8
  931. package/dist/collection/components/accordion/accordion.ionic.css +0 -201
  932. package/dist/collection/components/accordion-group/accordion-group.ionic.css +0 -93
  933. package/dist/collection/components/action-sheet/action-sheet.ionic.css +0 -834
  934. package/dist/collection/components/alert/alert.ionic.css +0 -1165
  935. package/dist/collection/components/avatar/avatar.ionic.css +0 -391
  936. package/dist/collection/components/backdrop/backdrop.ionic.css +0 -109
  937. package/dist/collection/components/badge/badge.ionic.css +0 -275
  938. package/dist/collection/components/button/button.ionic.css +0 -646
  939. package/dist/collection/components/buttons/buttons.ionic.css +0 -97
  940. package/dist/collection/components/card/card.ionic.css +0 -144
  941. package/dist/collection/components/card-content/card-content.ionic.css +0 -89
  942. package/dist/collection/components/card-header/card-header.ionic.css +0 -85
  943. package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -144
  944. package/dist/collection/components/checkbox/checkbox.ionic.css +0 -539
  945. package/dist/collection/components/chip/chip.ionic.css +0 -217
  946. package/dist/collection/components/datetime/datetime.ionic.css +0 -703
  947. package/dist/collection/components/divider/divider.ionic.css +0 -148
  948. package/dist/collection/components/divider/divider.ios.css +0 -87
  949. package/dist/collection/components/divider/divider.js +0 -94
  950. package/dist/collection/components/divider/divider.md.css +0 -87
  951. package/dist/collection/components/gallery/gallery-constants.js +0 -12
  952. package/dist/collection/components/gallery/gallery-interface.js +0 -1
  953. package/dist/collection/components/gallery/gallery.css +0 -100
  954. package/dist/collection/components/gallery/gallery.js +0 -595
  955. package/dist/collection/components/gallery/test/utils.js +0 -100
  956. package/dist/collection/components/header/header.ionic.css +0 -172
  957. package/dist/collection/components/input/input.ionic.css +0 -889
  958. package/dist/collection/components/input-otp/input-otp.ionic.css +0 -371
  959. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -78
  960. package/dist/collection/components/input-password-toggle/input-password-toggle.native.css +0 -61
  961. package/dist/collection/components/item/item.ionic.css +0 -508
  962. package/dist/collection/components/item-option/item-option.ionic.css +0 -278
  963. package/dist/collection/components/item-options/item-options.ionic.css +0 -221
  964. package/dist/collection/components/item-sliding/item-sliding.ionic.css +0 -211
  965. package/dist/collection/components/list/list.ionic.css +0 -212
  966. package/dist/collection/components/list-header/list-header.ionic.css +0 -190
  967. package/dist/collection/components/menu-button/menu-button.ionic.css +0 -236
  968. package/dist/collection/components/modal/animations/ionic.enter.js +0 -40
  969. package/dist/collection/components/modal/animations/ionic.leave.js +0 -28
  970. package/dist/collection/components/modal/modal.ionic.css +0 -247
  971. package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
  972. package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
  973. package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
  974. package/dist/collection/components/picker-legacy/picker.ios.css +0 -312
  975. package/dist/collection/components/picker-legacy/picker.js +0 -891
  976. package/dist/collection/components/picker-legacy/picker.md.css +0 -299
  977. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -243
  978. package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
  979. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -234
  980. package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
  981. package/dist/collection/components/popover/popover.ionic.css +0 -290
  982. package/dist/collection/components/progress-bar/progress-bar.ionic.css +0 -287
  983. package/dist/collection/components/radio/radio.ionic.css +0 -422
  984. package/dist/collection/components/radio-group/radio-group.ionic.css +0 -119
  985. package/dist/collection/components/range/range.ionic.css +0 -567
  986. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -215
  987. package/dist/collection/components/searchbar/searchbar.ionic.css +0 -626
  988. package/dist/collection/components/segment/segment.ionic.css +0 -115
  989. package/dist/collection/components/segment-button/segment-button.ionic.css +0 -353
  990. package/dist/collection/components/select/select.ionic.css +0 -810
  991. package/dist/collection/components/select-modal/select-modal.ionic.css +0 -154
  992. package/dist/collection/components/select-popover/select-popover.ionic.css +0 -499
  993. package/dist/collection/components/spinner/spinner.native.css +0 -199
  994. package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -227
  995. package/dist/collection/components/tab-button/tab-button.ionic.css +0 -348
  996. package/dist/collection/components/textarea/textarea.ionic.css +0 -898
  997. package/dist/collection/components/title/title.ionic.css +0 -127
  998. package/dist/collection/components/toast/toast.ionic.css +0 -394
  999. package/dist/collection/components/toggle/toggle.ionic.css +0 -508
  1000. package/dist/collection/components/toolbar/test/image.svg +0 -1
  1001. package/dist/collection/components/toolbar/toolbar.ionic.css +0 -249
  1002. package/dist/collection/utils/css-value-validation.js +0 -25
  1003. package/dist/collection/utils/on-scroll/collapse-hide.utils.js +0 -168
  1004. package/dist/collection/utils/select-option-render.js +0 -76
  1005. package/dist/esm/caret-down-D1t981Ih.js +0 -6
  1006. package/dist/esm/caret-left-fIOYmaqA.js +0 -6
  1007. package/dist/esm/caret-right-BYSs-jZz.js +0 -6
  1008. package/dist/esm/config-BwKpO3Is.js +0 -31
  1009. package/dist/esm/ion-divider.entry.js +0 -49
  1010. package/dist/esm/ion-gallery.entry.js +0 -508
  1011. package/dist/esm/ionic-global--9mOmThr.js +0 -508
  1012. package/dist/esm/list-Dhi5xtNS.js +0 -6
  1013. package/dist/esm/select-option-render-B2qc5ZP7.js +0 -79
  1014. package/dist/esm/validity-BjW8SOqw.js +0 -48
  1015. package/dist/esm/x-BDqjX7Z_.js +0 -6
  1016. package/dist/ionic/p-0030507d.entry.js +0 -4
  1017. package/dist/ionic/p-031df892.entry.js +0 -4
  1018. package/dist/ionic/p-04b5794c.entry.js +0 -4
  1019. package/dist/ionic/p-084c2623.entry.js +0 -4
  1020. package/dist/ionic/p-09f8a57f.entry.js +0 -4
  1021. package/dist/ionic/p-108c0f30.entry.js +0 -4
  1022. package/dist/ionic/p-1439fecb.entry.js +0 -4
  1023. package/dist/ionic/p-199bffb3.entry.js +0 -4
  1024. package/dist/ionic/p-19a1ff9a.entry.js +0 -4
  1025. package/dist/ionic/p-1a026890.entry.js +0 -4
  1026. package/dist/ionic/p-1ad16c09.entry.js +0 -4
  1027. package/dist/ionic/p-2aa7567e.entry.js +0 -4
  1028. package/dist/ionic/p-3656314c.entry.js +0 -4
  1029. package/dist/ionic/p-379cc989.entry.js +0 -4
  1030. package/dist/ionic/p-3f18dfe9.entry.js +0 -4
  1031. package/dist/ionic/p-40d9e029.entry.js +0 -4
  1032. package/dist/ionic/p-44d483c2.entry.js +0 -4
  1033. package/dist/ionic/p-456736d1.entry.js +0 -4
  1034. package/dist/ionic/p-48e3cb9e.entry.js +0 -4
  1035. package/dist/ionic/p-497f6391.entry.js +0 -4
  1036. package/dist/ionic/p-52ed96a8.entry.js +0 -4
  1037. package/dist/ionic/p-64b4e6eb.entry.js +0 -4
  1038. package/dist/ionic/p-66eb0193.entry.js +0 -4
  1039. package/dist/ionic/p-67c2d349.entry.js +0 -4
  1040. package/dist/ionic/p-7054a1b9.entry.js +0 -4
  1041. package/dist/ionic/p-7186786e.entry.js +0 -4
  1042. package/dist/ionic/p-7194f6fa.entry.js +0 -4
  1043. package/dist/ionic/p-76c70824.entry.js +0 -4
  1044. package/dist/ionic/p-7f294078.entry.js +0 -4
  1045. package/dist/ionic/p-8458f1b6.entry.js +0 -4
  1046. package/dist/ionic/p-88048796.entry.js +0 -4
  1047. package/dist/ionic/p-88e7f52a.entry.js +0 -4
  1048. package/dist/ionic/p-89eab395.entry.js +0 -4
  1049. package/dist/ionic/p-93315d96.entry.js +0 -4
  1050. package/dist/ionic/p-9ccfb733.entry.js +0 -4
  1051. package/dist/ionic/p-9dfbe98d.entry.js +0 -4
  1052. package/dist/ionic/p-B4ikoeaj.js +0 -4
  1053. package/dist/ionic/p-BDqjX7Z_.js +0 -4
  1054. package/dist/ionic/p-BFBCtvFI.js +0 -4
  1055. package/dist/ionic/p-BQgCYKKG.js +0 -4
  1056. package/dist/ionic/p-BYAxJDlE.js +0 -4
  1057. package/dist/ionic/p-BYSs-jZz.js +0 -4
  1058. package/dist/ionic/p-BjW8SOqw.js +0 -4
  1059. package/dist/ionic/p-BwKpO3Is.js +0 -4
  1060. package/dist/ionic/p-CDn0uNJA.js +0 -4
  1061. package/dist/ionic/p-CFjI63GE.js +0 -4
  1062. package/dist/ionic/p-CHE1xWbg.js +0 -4
  1063. package/dist/ionic/p-CK179dBb.js +0 -4
  1064. package/dist/ionic/p-CWJdc8f_.js +0 -4
  1065. package/dist/ionic/p-CYhXBSjd.js +0 -4
  1066. package/dist/ionic/p-D1t981Ih.js +0 -4
  1067. package/dist/ionic/p-D2tu5BUg.js +0 -4
  1068. package/dist/ionic/p-DDFhx1YX.js +0 -4
  1069. package/dist/ionic/p-DNGqaUsl.js +0 -4
  1070. package/dist/ionic/p-DaJxRxSQ.js +0 -4
  1071. package/dist/ionic/p-DaknVxZR.js +0 -4
  1072. package/dist/ionic/p-Dhi5xtNS.js +0 -4
  1073. package/dist/ionic/p-DoyDJ2X5.js +0 -4
  1074. package/dist/ionic/p-E1wtzfO0.js +0 -4
  1075. package/dist/ionic/p-FvDKM4Ax.js +0 -4
  1076. package/dist/ionic/p-IXZW3FBt.js +0 -4
  1077. package/dist/ionic/p-Omi_TcwW.js +0 -5
  1078. package/dist/ionic/p-PoSbs6oh.js +0 -4
  1079. package/dist/ionic/p-VAJ_3beW.js +0 -4
  1080. package/dist/ionic/p-a3f9be52.entry.js +0 -4
  1081. package/dist/ionic/p-ad4d0138.entry.js +0 -4
  1082. package/dist/ionic/p-b4fd91b8.entry.js +0 -4
  1083. package/dist/ionic/p-b653f4c2.entry.js +0 -4
  1084. package/dist/ionic/p-b69add0e.entry.js +0 -4
  1085. package/dist/ionic/p-b7235e85.entry.js +0 -4
  1086. package/dist/ionic/p-bc317965.entry.js +0 -4
  1087. package/dist/ionic/p-bf0c5a8d.entry.js +0 -4
  1088. package/dist/ionic/p-bsfLvRbd.js +0 -4
  1089. package/dist/ionic/p-c0558552.entry.js +0 -4
  1090. package/dist/ionic/p-c684a3b6.entry.js +0 -4
  1091. package/dist/ionic/p-c7139c41.entry.js +0 -4
  1092. package/dist/ionic/p-dac1d4de.entry.js +0 -4
  1093. package/dist/ionic/p-dd2981d0.entry.js +0 -4
  1094. package/dist/ionic/p-eTI_FbQJ.js +0 -4
  1095. package/dist/ionic/p-f08edb25.entry.js +0 -4
  1096. package/dist/ionic/p-f167c55c.entry.js +0 -4
  1097. package/dist/ionic/p-f7ca50a5.entry.js +0 -4
  1098. package/dist/ionic/p-fIOYmaqA.js +0 -4
  1099. package/dist/ionic/p-fbdbdb3e.entry.js +0 -4
  1100. package/dist/ionic/p-ff09d2a5.entry.js +0 -4
  1101. package/dist/ionic/p-vXpMhGrs.js +0 -4
  1102. package/dist/types/components/divider/divider.d.ts +0 -20
  1103. package/dist/types/components/gallery/gallery-constants.d.ts +0 -9
  1104. package/dist/types/components/gallery/gallery-interface.d.ts +0 -10
  1105. package/dist/types/components/gallery/gallery.d.ts +0 -183
  1106. package/dist/types/components/gallery/test/utils.d.ts +0 -2
  1107. package/dist/types/components/modal/animations/ionic.enter.d.ts +0 -6
  1108. package/dist/types/components/modal/animations/ionic.leave.d.ts +0 -6
  1109. package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
  1110. package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
  1111. package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
  1112. package/dist/types/components/picker-legacy/picker.d.ts +0 -159
  1113. package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
  1114. package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
  1115. package/dist/types/utils/css-value-validation.d.ts +0 -12
  1116. package/dist/types/utils/on-scroll/collapse-hide.utils.d.ts +0 -26
  1117. package/dist/types/utils/select-option-render.d.ts +0 -22
  1118. /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
@@ -1,23 +1,19 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { j as printIonError, f as printIonWarning, r as registerInstance, c as createEvent, w as writeTask, h, e as config, d as Host, g as getElement } from './index-Omi_TcwW.js';
5
- import { c as caretLeftSvg } from './caret-left-fIOYmaqA.js';
6
- import { c as caretRightSvg } from './caret-right-BYSs-jZz.js';
7
- import { startFocusVisible } from './focus-visible-vXpMhGrs.js';
8
- import { r as raf, g as getElementRoot, a as renderHiddenInput, e as clamp } from './helpers-Do7zwvM1.js';
9
- import { F as FOCUS_TRAP_DISABLE_CLASS, d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-CpQ6Df2g.js';
4
+ import { j as printIonError, f as printIonWarning, r as registerInstance, c as createEvent, w as writeTask, h, d as Host, g as getElement } from './index-tcQvqkiX.js';
5
+ import { startFocusVisible } from './focus-visible-BmVRXR1y.js';
6
+ import { r as raf, g as getElementRoot, a as renderHiddenInput } from './helpers-HEqiOzXb.js';
7
+ import { F as FOCUS_TRAP_DISABLE_CLASS } from './overlays-DLNOHWNc.js';
10
8
  import { i as isRTL } from './dir-C53feagD.js';
11
- import { c as createColorClasses, g as getClassMap } from './theme-DaJxRxSQ.js';
12
- import { o as chevronForward, c as chevronBack, p as caretDownSharp, q as caretUpSharp, l as chevronDown } from './index-D2tu5BUg.js';
13
- import { b as getIonMode, c as getIonTheme } from './ionic-global--9mOmThr.js';
14
- import { i as isBefore, a as isAfter, g as getPreviousMonth, b as getNextMonth, c as isSameDay, d as getDay, e as generateDayAriaLabel, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as parseAmPm, u as clampDate, x as convertToArrayOfNumbers, y as convertDataToISO, z as getToday, A as getClosestValidDate, B as generateMonths, C as getNumDaysInMonth, D as getCombinedDateColumnData, E as getMonthColumnData, F as getDayColumnData, G as getYearColumnData, H as isMonthFirstLocale, I as getTimeColumnsData, J as isLocaleDayPeriodRTL, K as calculateHourFromAMPM, L as getDaysOfWeek, M as getMonthAndYear, N as getDaysOfMonth, O as getHourCycle, P as getLocalizedTime, Q as getLocalizedDateTime, R as formatValue } from './data-BNKYavC3.js';
15
- import { c as createLockController } from './lock-controller-B-hirT0v.js';
16
- import { c as createAnimation } from './animation-Cd1EA2ar.js';
17
- import { a as hapticSelectionChanged, h as hapticSelectionEnd, b as hapticSelectionStart } from './haptic-CbnKC3go.js';
18
- import './framework-delegate-CjVwn_KZ.js';
9
+ import { c as createColorClasses } from './theme-DiVJyqlX.js';
10
+ import { b as chevronDown, d as caretUpSharp, e as chevronForward, f as caretDownSharp, c as chevronBack } from './index-AlrZKoWR.js';
11
+ import { b as getIonMode } from './ionic-global-Cp_eT4sZ.js';
12
+ import { i as isBefore, a as isAfter, g as getPreviousMonth, b as getNextMonth, c as isSameDay, d as getDay, e as generateDayAriaLabel, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as parseAmPm, u as clampDate, x as convertToArrayOfNumbers, y as convertDataToISO, z as getToday, A as getClosestValidDate, B as generateMonths, C as getNumDaysInMonth, D as getCombinedDateColumnData, E as getMonthColumnData, F as getDayColumnData, G as getYearColumnData, H as isMonthFirstLocale, I as getTimeColumnsData, J as isLocaleDayPeriodRTL, K as calculateHourFromAMPM, L as getDaysOfWeek, M as getMonthAndYear, N as getDaysOfMonth, O as getHourCycle, P as getLocalizedTime, Q as getLocalizedDateTime, R as formatValue } from './data-DZI70dKr.js';
13
+ import './index-ZjP4CjeZ.js';
14
+ import './hardware-back-button-B93Gru0Y.js';
15
+ import './framework-delegate-FnPGymXL.js';
19
16
  import './gesture-controller-BTEOs1at.js';
20
- import './capacitor-13SFuT1K.js';
21
17
 
22
18
  const isYearDisabled = (refYear, minParts, maxParts) => {
23
19
  if (minParts && minParts.year > refYear) {
@@ -229,11 +225,9 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
229
225
  }
230
226
  };
231
227
 
232
- const datetimeIonicCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-cover){width:100%}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .datetime-year{display:none}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons,::slotted([slot=buttons]),.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}.calendar-day[disabled]{pointer-events:none}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{display:-ms-flexbox;display:flex;border:none;font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.in-item){position:static}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle ion-icon{-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}:host{--background:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--focus-ring-color:var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));--focus-ring-width:var(--token-border-radius-025, var(--token-scale-050, 2px));--body-opacity:0;--year-opacity:0}:host .calendar-body{opacity:var(--body-opacity)}:host .datetime-year{opacity:var(--year-opacity)}:host(.datetime-ready) .calendar-body{--body-opacity:1}:host(.datetime-ready) .datetime-year{--year-opacity:1}:host .datetime-header{-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px));padding-top:var(--token-space-200, var(--token-scale-200, 8px));padding-bottom:var(--token-space-400, var(--token-scale-400, 16px));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start;-ms-flex-pack:justify;justify-content:space-between;height:var(--token-scale-1400, 56px);margin-bottom:var(--token-space-200, var(--token-scale-200, 8px));border-bottom:var(--token-border-style-solid, solid) var(--token-border-size-025, var(--token-scale-025, 1px)) var(--token-primitives-neutral-400, #d5d5d5)}:host .datetime-header .datetime-title{font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-700, var(--token-scale-700, 28px));text-decoration:none;text-transform:none;color:var(--token-primitives-neutral-800, #626262)}:host .datetime-header .datetime-selected-date{font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;color:var(--token-primitives-neutral-1000, #3b3b3b)}.calendar-action-buttons{padding-top:var(--token-space-200, var(--token-scale-200, 8px));padding-bottom:var(--token-space-200, var(--token-scale-200, 8px));-ms-flex-align:center;align-items:center;height:var(--token-scale-1400, 56px);-webkit-box-sizing:border-box;box-sizing:border-box}.calendar-month-year{-ms-flex:1 0 0px;flex:1 0 0}.calendar-month-year-toggle{border-radius:var(--token-border-radius-full, 999px);font-size:var(--token-font-size-400, 1rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-1, 1%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px));padding-top:var(--token-space-200, var(--token-scale-200, 8px));padding-bottom:var(--token-space-200, var(--token-scale-200, 8px));min-width:var(--token-scale-1600, 64px);min-height:var(--token-scale-1000, 40px);border:var(--focus-ring-width) var(--token-border-style-solid, solid) transparent;color:var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)))}@media (any-hover: hover){.calendar-month-year-toggle:hover{background:var(--token-primitives-neutral-200, #eae9e9)}}.calendar-month-year-toggle.ion-focused{border-color:var(--focus-ring-color)}.calendar-month-year-toggle.ion-activated{background:var(--token-primitives-neutral-200, #eae9e9)}.calendar-next-prev ion-button.button-has-icon-only{--color:var(--token-primitives-neutral-1000, #3b3b3b);--background-activated:var(--token-primitives-neutral-200, #eae9e9);--background-hover:var(--token-primitives-neutral-200, #eae9e9);--background-hover-opacity:1;min-height:var(--token-scale-1000, 40px)}.calendar-next-prev ion-button.button-has-icon-only.ion-focused::part(native){border:var(--token-border-size-050, var(--token-scale-050, 2px)) var(--token-border-style-solid, solid) var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));outline:none}.calendar-days-of-week{font-size:var(--token-font-size-300, 0.75rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-2, 1.5%);line-height:var(--token-font-line-height-500, var(--token-scale-500, 20px));text-decoration:none;text-transform:uppercase;-ms-flex-line-pack:center;align-content:center;height:var(--token-scale-1200, 48px);color:var(--token-primitives-neutral-800, #626262)}.calendar-day{border-radius:var(--token-border-radius-full, 999px);-webkit-padding-start:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-start:var(--token-space-100, var(--token-scale-100, 4px));-webkit-padding-end:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-end:var(--token-space-100, var(--token-scale-100, 4px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px));font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-1, 1%);line-height:var(--token-font-line-height-500, var(--token-scale-500, 20px));text-decoration:none;text-transform:none;width:var(--token-scale-1200, 48px);min-width:var(--token-scale-1200, 48px);height:var(--token-scale-1200, 48px);color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}.calendar-day[disabled]:not(.calendar-day-constrained){color:var(--token-primitives-neutral-500, #a2a2a2)}.calendar-day.calendar-day-today{color:var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)))}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active.calendar-day-adjacent-day{background:var(--token-semantics-primary-100, var(--token-primitives-blue-100, #e9ecfc))}.calendar-day:focus-visible{border:var(--focus-ring-width) var(--token-border-style-solid, solid) var(--focus-ring-color)}@media (any-hover: hover){.calendar-day:not([disabled]):not(:active):hover{background:var(--token-semantics-primary-200, var(--token-primitives-blue-200, #e4e8ff))}}.calendar-day:active,.calendar-day.calendar-day-adjacent-day:active{background:var(--token-bg-primary-subtle-press, var(--token-semantics-primary-300, var(--token-primitives-blue-300, #d0d7fa)))}.calendar-day.calendar-day-adjacent-day{color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262))}.calendar-day.calendar-day-active.calendar-day-adjacent-day{color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host .datetime-time{-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px))}:host .datetime-time .time-header{font-size:var(--token-font-size-400, 1rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-1, 1%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;color:var(--token-primitives-neutral-800, #626262)}:host .datetime-time button{-webkit-padding-start:var(--token-space-200, var(--token-scale-200, 8px));padding-inline-start:var(--token-space-200, var(--token-scale-200, 8px));-webkit-padding-end:var(--token-space-200, var(--token-scale-200, 8px));padding-inline-end:var(--token-space-200, var(--token-scale-200, 8px));padding-top:var(--token-space-0, var(--token-scale-0, 0px));padding-bottom:var(--token-space-0, var(--token-scale-0, 0px));font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;border-radius:var(--token-border-radius-full, 999px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:var(--token-scale-800, 32px);background-color:var(--token-primitives-neutral-100, #f3f3f3);color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host .datetime-footer{padding-left:0;padding-right:0;padding-top:var(--token-space-200, var(--token-scale-200, 8px));padding-bottom:0;margin-left:0;margin-right:0;margin-top:var(--token-space-200, var(--token-scale-200, 8px));margin-bottom:0;border-left:0;border-right:0;border-top:var(--token-border-style-solid, solid) var(--token-border-size-025, var(--token-scale-025, 1px)) var(--token-primitives-neutral-400, #d5d5d5);border-bottom:0}:host .datetime-buttons .datetime-action-buttons,.datetime-action-buttons .datetime-action-buttons-container,::slotted([slot=buttons]){-ms-flex-flow:column;flex-flow:column;-ms-flex-align:stretch;align-items:stretch;gap:var(--token-space-200, var(--token-scale-200, 8px))}`;
228
+ const datetimeIosCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{-ms-flex-align:stretch;align-items:stretch;height:100%}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}`;
233
229
 
234
- const datetimeIosCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-cover){width:100%}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .datetime-year{display:none}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons,::slotted([slot=buttons]),.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}.calendar-day[disabled]{pointer-events:none}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{display:-ms-flexbox;display:flex;border:none;font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.in-item){position:static}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle ion-icon{-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}:host{}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host .calendar-body,:host .datetime-year{opacity:0}:host(.datetime-ready) .calendar-body,:host(.datetime-ready) .datetime-year{opacity:1}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host .calendar-action-buttons ion-button{--background:transparent}.calendar-day{border-radius:50%;font-family:var(--ion-font-family, inherit)}:host .calendar-day[disabled]{opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:current-color(base, 0.2);-webkit-box-shadow:0px 0px 0px 4px current-color(base, 0.2);box-shadow:0px 0px 0px 4px current-color(base, 0.2)}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-next-prev{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:start}.calendar-next-prev ion-button ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000)}:host .time-body-active{color:var(--ion-color-base)}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host .datetime-action-buttons{-ms-flex-pack:justify;justify-content:space-between}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-action-buttons .calendar-next-prev{-ms-flex-align:stretch;align-items:stretch}.calendar-next-prev ion-button{--padding-top:0;--padding-bottom:0;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.calendar-next-prev ion-button ion-icon[slot=icon-only]{font-size:1.65em;line-height:0.67}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons,::slotted([slot=buttons]){display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons,::slotted([slot=buttons]){width:100%}`;
235
-
236
- const datetimeMdCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-cover){width:100%}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .datetime-year{display:none}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons,::slotted([slot=buttons]),.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}.calendar-day[disabled]{pointer-events:none}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{display:-ms-flexbox;display:flex;border:none;font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.in-item){position:static}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle ion-icon{-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}:host{}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host .calendar-body,:host .datetime-year{opacity:0}:host(.datetime-ready) .calendar-body,:host(.datetime-ready) .datetime-year{opacity:1}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host .calendar-action-buttons ion-button{--background:transparent}.calendar-day{border-radius:50%;font-family:var(--ion-font-family, inherit)}:host .calendar-day[disabled]{opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:current-color(base, 0.2);-webkit-box-shadow:0px 0px 0px 4px current-color(base, 0.2);box-shadow:0px 0px 0px 4px current-color(base, 0.2)}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-next-prev{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:start}.calendar-next-prev ion-button ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000)}:host .time-body-active{color:var(--ion-color-base)}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host .datetime-action-buttons{-ms-flex-pack:justify;justify-content:space-between}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-next-prev ion-button{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.calendar-next-prev ion-button ion-icon[slot=icon-only]{font-size:1.8em}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active:focus{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}`;
230
+ const datetimeMdCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active:focus{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}`;
237
231
 
238
232
  const Datetime = class {
239
233
  constructor(hostRef) {
@@ -1326,7 +1320,6 @@ const Datetime = class {
1326
1320
  * are rendered independently of presentation.
1327
1321
  */
1328
1322
  renderFooter() {
1329
- const theme = getIonTheme(this);
1330
1323
  const { disabled, readonly, showDefaultButtons, showClearButton } = this;
1331
1324
  /**
1332
1325
  * The cancel, clear, and confirm buttons
@@ -1334,7 +1327,6 @@ const Datetime = class {
1334
1327
  * is disabled or readonly.
1335
1328
  */
1336
1329
  const isButtonDisabled = disabled || readonly;
1337
- const confirmFill = theme === 'ionic' ? 'solid' : undefined;
1338
1330
  const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
1339
1331
  if (!hasSlottedButtons && !showDefaultButtons && !showClearButton) {
1340
1332
  return;
@@ -1353,7 +1345,7 @@ const Datetime = class {
1353
1345
  return (h("div", { class: "datetime-footer" }, h("div", { class: "datetime-buttons" }, h("div", { class: {
1354
1346
  ['datetime-action-buttons']: true,
1355
1347
  ['has-clear-button']: this.showClearButton,
1356
- } }, h("slot", { name: "buttons" }, showDefaultButtons && (h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), h("div", { class: "datetime-action-buttons-container" }, showClearButton && (h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (h("ion-button", { id: "confirm-button", fill: confirmFill, color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText))))))));
1348
+ } }, h("slot", { name: "buttons" }, h("ion-buttons", null, showDefaultButtons && (h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), h("div", { class: "datetime-action-buttons-container" }, showClearButton && (h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText)))))))));
1357
1349
  }
1358
1350
  /**
1359
1351
  * Wheel picker render methods
@@ -1604,8 +1596,10 @@ const Datetime = class {
1604
1596
  /**
1605
1597
  * Grid Render Methods
1606
1598
  */
1607
- renderCalendarHeader(theme) {
1608
- const { disabled, datetimeNextIcon, datetimePreviousIcon, datetimeCollapsedIcon, datetimeExpandedIcon } = this;
1599
+ renderCalendarHeader(mode) {
1600
+ const { disabled } = this;
1601
+ const expandedIcon = mode === 'ios' ? chevronDown : caretUpSharp;
1602
+ const collapsedIcon = mode === 'ios' ? chevronForward : caretDownSharp;
1609
1603
  const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
1610
1604
  const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
1611
1605
  // don't use the inheritAttributes util because it removes dir from the host, and we still need that
@@ -1614,7 +1608,7 @@ const Datetime = class {
1614
1608
  'calendar-month-year-toggle': true,
1615
1609
  'ion-activatable': true,
1616
1610
  'ion-focusable': true,
1617
- }, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), theme !== 'ionic' && (h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? datetimeExpandedIcon : datetimeCollapsedIcon, lazy: false, flipRtl: true }))), theme === 'md' && h("ion-ripple-effect", null))), h("div", { class: "calendar-next-prev" }, h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth(), part: "navigation-button previous-button" }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimePreviousIcon, lazy: false, flipRtl: true })), h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth(), part: "navigation-button next-button" }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimeNextIcon, lazy: false, flipRtl: true })))), h("div", { class: "calendar-days-of-week", "aria-hidden": "true", part: "calendar-days-of-week" }, getDaysOfWeek(this.locale, theme, this.firstDayOfWeek % 7).map((d) => {
1611
+ }, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })), mode === 'md' && h("ion-ripple-effect", null))), h("div", { class: "calendar-next-prev" }, h("ion-buttons", null, h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth(), part: "navigation-button previous-button" }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronBack, lazy: false, flipRtl: true })), h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth(), part: "navigation-button next-button" }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronForward, lazy: false, flipRtl: true }))))), h("div", { class: "calendar-days-of-week", "aria-hidden": "true", part: "calendar-days-of-week" }, getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
1618
1612
  return h("div", { class: "day-of-week" }, d);
1619
1613
  }))));
1620
1614
  }
@@ -1766,8 +1760,8 @@ const Datetime = class {
1766
1760
  return this.renderMonth(month, year);
1767
1761
  })));
1768
1762
  }
1769
- renderCalendar(theme) {
1770
- return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(theme), this.renderCalendarBody()));
1763
+ renderCalendar(mode) {
1764
+ return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(mode), this.renderCalendarBody()));
1771
1765
  }
1772
1766
  renderTimeLabel() {
1773
1767
  const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
@@ -1875,7 +1869,7 @@ const Datetime = class {
1875
1869
  * Render entry point
1876
1870
  * All presentation types are rendered from here.
1877
1871
  */
1878
- renderDatetime(theme) {
1872
+ renderDatetime(mode) {
1879
1873
  const { presentation, preferWheel } = this;
1880
1874
  /**
1881
1875
  * Certain presentation types have separate grid and wheel displays.
@@ -1889,7 +1883,7 @@ const Datetime = class {
1889
1883
  case 'date-time':
1890
1884
  return [
1891
1885
  this.renderHeader(),
1892
- this.renderCalendar(theme),
1886
+ this.renderCalendar(mode),
1893
1887
  this.renderCalendarViewMonthYearPicker(),
1894
1888
  this.renderTime(),
1895
1889
  this.renderFooter(),
@@ -1898,7 +1892,7 @@ const Datetime = class {
1898
1892
  return [
1899
1893
  this.renderHeader(),
1900
1894
  this.renderTime(),
1901
- this.renderCalendar(theme),
1895
+ this.renderCalendar(mode),
1902
1896
  this.renderCalendarViewMonthYearPicker(),
1903
1897
  this.renderFooter(),
1904
1898
  ];
@@ -1911,95 +1905,23 @@ const Datetime = class {
1911
1905
  default:
1912
1906
  return [
1913
1907
  this.renderHeader(),
1914
- this.renderCalendar(theme),
1908
+ this.renderCalendar(mode),
1915
1909
  this.renderCalendarViewMonthYearPicker(),
1916
1910
  this.renderFooter(),
1917
1911
  ];
1918
1912
  }
1919
1913
  }
1920
- /**
1921
- * Get the icon to use for the next icon.
1922
- * Otherwise, use the icon set in the config.
1923
- * If no icon is set in the config, use the default icon.
1924
- */
1925
- get datetimeNextIcon() {
1926
- // Determine the theme and map to default icons
1927
- const theme = getIonTheme(this);
1928
- const defaultIcons = {
1929
- ios: chevronForward,
1930
- ionic: caretRightSvg,
1931
- md: chevronForward,
1932
- };
1933
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
1934
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
1935
- // Return the configured datetime next icon or the default icon
1936
- return config.get('datetimeNextIcon', defaultIcon);
1937
- }
1938
- /**
1939
- * Get the icon to use for the previous icon.
1940
- * Otherwise, use the icon set in the config.
1941
- * If no icon is set in the config, use the default icon.
1942
- */
1943
- get datetimePreviousIcon() {
1944
- // Determine the theme and map to default icons
1945
- const theme = getIonTheme(this);
1946
- const defaultIcons = {
1947
- ios: chevronBack,
1948
- ionic: caretLeftSvg,
1949
- md: chevronBack,
1950
- };
1951
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
1952
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
1953
- // Return the configured datetime previous icon or the default icon
1954
- return config.get('datetimePreviousIcon', defaultIcon);
1955
- }
1956
- /**
1957
- * Get the icon to use for the show month and year icon.
1958
- * Otherwise, use the icon set in the config.
1959
- * If no icon is set in the config, use the default icon.
1960
- */
1961
- get datetimeCollapsedIcon() {
1962
- // Determine the theme and map to default icons
1963
- const theme = getIonTheme(this);
1964
- const defaultIcons = {
1965
- ios: chevronForward,
1966
- ionic: undefined,
1967
- md: caretDownSharp,
1968
- };
1969
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
1970
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
1971
- // Return the configured datetime show month and year icon or the default icon
1972
- return config.get('datetimeCollapsedIcon', defaultIcon);
1973
- }
1974
- /**
1975
- * Get the icon to use for the hide month and year icon.
1976
- * Otherwise, use the icon set in the config.
1977
- * If no icon is set in the config, use the default icon.
1978
- */
1979
- get datetimeExpandedIcon() {
1980
- // Determine the theme and map to default icons
1981
- const theme = getIonTheme(this);
1982
- const defaultIcons = {
1983
- ios: chevronDown,
1984
- ionic: undefined,
1985
- md: caretUpSharp,
1986
- };
1987
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
1988
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
1989
- // Return the configured datetime hide month and year icon or the default icon
1990
- return config.get('datetimeExpandedIcon', defaultIcon);
1991
- }
1992
1914
  render() {
1993
1915
  const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
1994
- const theme = getIonTheme(this);
1916
+ const mode = getIonMode(this);
1995
1917
  const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
1996
1918
  const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
1997
1919
  const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
1998
1920
  const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1999
1921
  const hasWheelVariant = hasDatePresentation && preferWheel;
2000
1922
  renderHiddenInput(true, el, name, formatValue(value), disabled);
2001
- return (h(Host, { key: 'd8b5c304ed0aa6e2145ef278daae3413f2e845b3', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
2002
- [theme]: true,
1923
+ return (h(Host, { key: '323c8c2327088f00934b8c93c3306538cb9b5677', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1924
+ [mode]: true,
2003
1925
  ['datetime-readonly']: readonly,
2004
1926
  ['datetime-disabled']: disabled,
2005
1927
  'show-month-and-year': shouldShowMonthAndYear,
@@ -2008,7 +1930,7 @@ const Datetime = class {
2008
1930
  [`datetime-size-${size}`]: true,
2009
1931
  [`datetime-prefer-wheel`]: hasWheelVariant,
2010
1932
  [`datetime-grid`]: isGridStyle,
2011
- })) }, h("div", { key: 'ba2bcf3b9e9406bc4f5afb49f02e91fd96f3fc17', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
1933
+ })) }, h("div", { key: '1e0855c8909bc3f1e48a21ad68159fa782060691', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
2012
1934
  }
2013
1935
  get el() { return getElement(this); }
2014
1936
  static get watchers() { return {
@@ -2054,641 +1976,8 @@ const WHEEL_PART = 'wheel';
2054
1976
  const WHEEL_ITEM_PART = 'wheel-item';
2055
1977
  const WHEEL_ITEM_ACTIVE_PART = `active`;
2056
1978
  Datetime.style = {
2057
- ionic: datetimeIonicCss(),
2058
1979
  ios: datetimeIosCss(),
2059
1980
  md: datetimeMdCss()
2060
1981
  };
2061
1982
 
2062
- /**
2063
- * iOS Picker Enter Animation
2064
- */
2065
- const iosEnterAnimation = (baseEl) => {
2066
- const baseAnimation = createAnimation();
2067
- const backdropAnimation = createAnimation();
2068
- const wrapperAnimation = createAnimation();
2069
- backdropAnimation
2070
- .addElement(baseEl.querySelector('ion-backdrop'))
2071
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
2072
- .beforeStyles({
2073
- 'pointer-events': 'none',
2074
- })
2075
- .afterClearStyles(['pointer-events']);
2076
- wrapperAnimation
2077
- .addElement(baseEl.querySelector('.picker-wrapper'))
2078
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
2079
- return baseAnimation
2080
- .addElement(baseEl)
2081
- .easing('cubic-bezier(.36,.66,.04,1)')
2082
- .duration(400)
2083
- .addAnimation([backdropAnimation, wrapperAnimation]);
2084
- };
2085
-
2086
- /**
2087
- * iOS Picker Leave Animation
2088
- */
2089
- const iosLeaveAnimation = (baseEl) => {
2090
- const baseAnimation = createAnimation();
2091
- const backdropAnimation = createAnimation();
2092
- const wrapperAnimation = createAnimation();
2093
- backdropAnimation
2094
- .addElement(baseEl.querySelector('ion-backdrop'))
2095
- .fromTo('opacity', 'var(--backdrop-opacity)', 0.01);
2096
- wrapperAnimation
2097
- .addElement(baseEl.querySelector('.picker-wrapper'))
2098
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
2099
- return baseAnimation
2100
- .addElement(baseEl)
2101
- .easing('cubic-bezier(.36,.66,.04,1)')
2102
- .duration(400)
2103
- .addAnimation([backdropAnimation, wrapperAnimation]);
2104
- };
2105
-
2106
- const pickerIosCss = () => `.sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);right:0;left:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}`;
2107
-
2108
- const pickerMdCss = () => `.sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);right:0;left:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}`;
2109
-
2110
- const Picker = class {
2111
- constructor(hostRef) {
2112
- registerInstance(this, hostRef);
2113
- this.didPresent = createEvent(this, "ionPickerDidPresent", 7);
2114
- this.willPresent = createEvent(this, "ionPickerWillPresent", 7);
2115
- this.willDismiss = createEvent(this, "ionPickerWillDismiss", 7);
2116
- this.didDismiss = createEvent(this, "ionPickerDidDismiss", 7);
2117
- this.didPresentShorthand = createEvent(this, "didPresent", 7);
2118
- this.willPresentShorthand = createEvent(this, "willPresent", 7);
2119
- this.willDismissShorthand = createEvent(this, "willDismiss", 7);
2120
- this.didDismissShorthand = createEvent(this, "didDismiss", 7);
2121
- this.delegateController = createDelegateController(this);
2122
- this.lockController = createLockController();
2123
- this.triggerController = createTriggerController();
2124
- this.presented = false;
2125
- /** @internal */
2126
- this.hasController = false;
2127
- /**
2128
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
2129
- */
2130
- this.keyboardClose = true;
2131
- /**
2132
- * Array of buttons to be displayed at the top of the picker.
2133
- */
2134
- this.buttons = [];
2135
- /**
2136
- * Array of columns to be displayed in the picker.
2137
- */
2138
- this.columns = [];
2139
- /**
2140
- * Number of milliseconds to wait before dismissing the picker.
2141
- */
2142
- this.duration = 0;
2143
- /**
2144
- * If `true`, a backdrop will be displayed behind the picker.
2145
- */
2146
- this.showBackdrop = true;
2147
- /**
2148
- * If `true`, the picker will be dismissed when the backdrop is clicked.
2149
- */
2150
- this.backdropDismiss = true;
2151
- /**
2152
- * If `true`, the picker will animate.
2153
- */
2154
- this.animated = true;
2155
- /**
2156
- * If `true`, the picker will open. If `false`, the picker will close.
2157
- * Use this if you need finer grained control over presentation, otherwise
2158
- * just use the pickerController or the `trigger` property.
2159
- * Note: `isOpen` will not automatically be set back to `false` when
2160
- * the picker dismisses. You will need to do that in your code.
2161
- */
2162
- this.isOpen = false;
2163
- this.onBackdropTap = () => {
2164
- this.dismiss(undefined, BACKDROP);
2165
- };
2166
- this.dispatchCancelHandler = (ev) => {
2167
- const role = ev.detail.role;
2168
- if (isCancel(role)) {
2169
- const cancelButton = this.buttons.find((b) => b.role === 'cancel');
2170
- this.callButtonHandler(cancelButton);
2171
- }
2172
- };
2173
- }
2174
- onIsOpenChange(newValue, oldValue) {
2175
- if (newValue === true && oldValue === false) {
2176
- this.present();
2177
- }
2178
- else if (newValue === false && oldValue === true) {
2179
- this.dismiss();
2180
- }
2181
- }
2182
- triggerChanged() {
2183
- const { trigger, el, triggerController } = this;
2184
- if (trigger) {
2185
- triggerController.addClickListener(el, trigger);
2186
- }
2187
- }
2188
- connectedCallback() {
2189
- prepareOverlay(this.el);
2190
- this.triggerChanged();
2191
- }
2192
- disconnectedCallback() {
2193
- this.triggerController.removeClickListener();
2194
- }
2195
- componentWillLoad() {
2196
- var _a;
2197
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
2198
- setOverlayId(this.el);
2199
- }
2200
- }
2201
- componentDidLoad() {
2202
- printIonWarning('[ion-picker-legacy] - ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
2203
- /**
2204
- * If picker was rendered with isOpen="true"
2205
- * then we should open picker immediately.
2206
- */
2207
- if (this.isOpen === true) {
2208
- raf(() => this.present());
2209
- }
2210
- /**
2211
- * When binding values in frameworks such as Angular
2212
- * it is possible for the value to be set after the Web Component
2213
- * initializes but before the value watcher is set up in Stencil.
2214
- * As a result, the watcher callback may not be fired.
2215
- * We work around this by manually calling the watcher
2216
- * callback when the component has loaded and the watcher
2217
- * is configured.
2218
- */
2219
- this.triggerChanged();
2220
- }
2221
- /**
2222
- * Present the picker overlay after it has been created.
2223
- */
2224
- async present() {
2225
- const unlock = await this.lockController.lock();
2226
- await this.delegateController.attachViewToDom();
2227
- await present(this, 'pickerEnter', iosEnterAnimation, iosEnterAnimation, undefined);
2228
- if (this.duration > 0) {
2229
- this.durationTimeout = setTimeout(() => this.dismiss(), this.duration);
2230
- }
2231
- unlock();
2232
- }
2233
- /**
2234
- * Dismiss the picker overlay after it has been presented.
2235
- *
2236
- * @param data Any data to emit in the dismiss events.
2237
- * @param role The role of the element that is dismissing the picker.
2238
- * This can be useful in a button handler for determining which button was
2239
- * clicked to dismiss the picker.
2240
- * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
2241
- */
2242
- async dismiss(data, role) {
2243
- const unlock = await this.lockController.lock();
2244
- if (this.durationTimeout) {
2245
- clearTimeout(this.durationTimeout);
2246
- }
2247
- const dismissed = await dismiss(this, data, role, 'pickerLeave', iosLeaveAnimation, iosLeaveAnimation);
2248
- if (dismissed) {
2249
- this.delegateController.removeViewFromDom();
2250
- }
2251
- unlock();
2252
- return dismissed;
2253
- }
2254
- /**
2255
- * Returns a promise that resolves when the picker did dismiss.
2256
- */
2257
- onDidDismiss() {
2258
- return eventMethod(this.el, 'ionPickerDidDismiss');
2259
- }
2260
- /**
2261
- * Returns a promise that resolves when the picker will dismiss.
2262
- */
2263
- onWillDismiss() {
2264
- return eventMethod(this.el, 'ionPickerWillDismiss');
2265
- }
2266
- /**
2267
- * Get the column that matches the specified name.
2268
- *
2269
- * @param name The name of the column.
2270
- */
2271
- getColumn(name) {
2272
- return Promise.resolve(this.columns.find((column) => column.name === name));
2273
- }
2274
- async buttonClick(button) {
2275
- const role = button.role;
2276
- if (isCancel(role)) {
2277
- return this.dismiss(undefined, role);
2278
- }
2279
- const shouldDismiss = await this.callButtonHandler(button);
2280
- if (shouldDismiss) {
2281
- return this.dismiss(this.getSelected(), button.role);
2282
- }
2283
- return Promise.resolve();
2284
- }
2285
- async callButtonHandler(button) {
2286
- if (button) {
2287
- // a handler has been provided, execute it
2288
- // pass the handler the values from the inputs
2289
- const rtn = await safeCall(button.handler, this.getSelected());
2290
- if (rtn === false) {
2291
- // if the return value of the handler is false then do not dismiss
2292
- return false;
2293
- }
2294
- }
2295
- return true;
2296
- }
2297
- getSelected() {
2298
- const selected = {};
2299
- this.columns.forEach((col, index) => {
2300
- const selectedColumn = col.selectedIndex !== undefined ? col.options[col.selectedIndex] : undefined;
2301
- selected[col.name] = {
2302
- text: selectedColumn ? selectedColumn.text : undefined,
2303
- value: selectedColumn ? selectedColumn.value : undefined,
2304
- columnIndex: index,
2305
- };
2306
- });
2307
- return selected;
2308
- }
2309
- render() {
2310
- const { htmlAttributes } = this;
2311
- const theme = getIonTheme(this);
2312
- return (h(Host, Object.assign({ key: 'b0c1fc8eee284f03c696f0c8aaa29f4a6d7be0be', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
2313
- zIndex: `${20000 + this.overlayIndex}`,
2314
- }, class: Object.assign({ [theme]: true,
2315
- // Used internally for styling
2316
- [`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'b56a9f94c7a95efc047d7be95e76ba3a2284801d', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'f134d49a3afcfd2a809147b55949cea43fc34462', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '9ae98dc10164e182a13eaef2105894a717a03cc4', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '96acad60c1214e13098282182fa855b19f0a386c', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: 'af26cd644ed9bb50c22f06624da3726e7e60426f', class: "picker-columns" }, h("div", { key: 'c0d8bf724f7dc081c314bef61fa08894a75c657b', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '7315333742b5b0c9533f30e5ce3dfc6ec9112dc1', class: "picker-below-highlight" }))), h("div", { key: '454546aaf27319ae7973e74063c0a026cfc88834', tabindex: "0", "aria-hidden": "true" })));
2317
- }
2318
- get el() { return getElement(this); }
2319
- static get watchers() { return {
2320
- "isOpen": [{
2321
- "onIsOpenChange": 0
2322
- }],
2323
- "trigger": [{
2324
- "triggerChanged": 0
2325
- }]
2326
- }; }
2327
- };
2328
- const buttonWrapperClass = (button) => {
2329
- return {
2330
- [`picker-toolbar-${button.role}`]: button.role !== undefined,
2331
- 'picker-toolbar-button': true,
2332
- };
2333
- };
2334
- const buttonClass = (button) => {
2335
- return Object.assign({ 'picker-button': true, 'ion-activatable': true }, getClassMap(button.cssClass));
2336
- };
2337
- Picker.style = {
2338
- ios: pickerIosCss(),
2339
- md: pickerMdCss()
2340
- };
2341
-
2342
- const pickerColumnIosCss = () => `.picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}`;
2343
-
2344
- const pickerColumnMdCss = () => `.picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #0054e9)}`;
2345
-
2346
- const PickerColumnCmp = class {
2347
- constructor(hostRef) {
2348
- registerInstance(this, hostRef);
2349
- this.ionPickerColChange = createEvent(this, "ionPickerColChange", 7);
2350
- this.optHeight = 0;
2351
- this.rotateFactor = 0;
2352
- this.scaleFactor = 1;
2353
- this.velocity = 0;
2354
- this.y = 0;
2355
- this.noAnimate = true;
2356
- // `colDidChange` is a flag that gets set when the column is changed
2357
- // dynamically. When this flag is set, the column will refresh
2358
- // after the component re-renders to incorporate the new column data.
2359
- // This is necessary because `this.refresh` queries for the option elements,
2360
- // so it needs to wait for the latest elements to be available in the DOM.
2361
- // Ex: column is created with 3 options. User updates the column data
2362
- // to have 5 options. The column will still think it only has 3 options.
2363
- this.colDidChange = false;
2364
- }
2365
- colChanged() {
2366
- this.colDidChange = true;
2367
- }
2368
- async connectedCallback() {
2369
- let pickerRotateFactor = 0;
2370
- let pickerScaleFactor = 0.81;
2371
- const mode = getIonMode(this);
2372
- if (mode === 'ios') {
2373
- pickerRotateFactor = -0.46;
2374
- pickerScaleFactor = 1;
2375
- }
2376
- this.rotateFactor = pickerRotateFactor;
2377
- this.scaleFactor = pickerScaleFactor;
2378
- this.gesture = (await import('./index-CfgBF1SE.js')).createGesture({
2379
- el: this.el,
2380
- gestureName: 'picker-swipe',
2381
- gesturePriority: 100,
2382
- threshold: 0,
2383
- passive: false,
2384
- onStart: (ev) => this.onStart(ev),
2385
- onMove: (ev) => this.onMove(ev),
2386
- onEnd: (ev) => this.onEnd(ev),
2387
- });
2388
- this.gesture.enable();
2389
- // Options have not been initialized yet
2390
- // Animation must be disabled through the `noAnimate` flag
2391
- // Otherwise, the options will render
2392
- // at the top of the column and transition down
2393
- this.tmrId = setTimeout(() => {
2394
- this.noAnimate = false;
2395
- // After initialization, `refresh()` will be called
2396
- // At this point, animation will be enabled. The options will
2397
- // animate as they are being selected.
2398
- this.refresh(true);
2399
- }, 250);
2400
- }
2401
- componentDidLoad() {
2402
- this.onDomChange();
2403
- }
2404
- componentDidUpdate() {
2405
- // Options may have changed since last update.
2406
- if (this.colDidChange) {
2407
- // Animation must be disabled through the `onDomChange` parameter.
2408
- // Otherwise, the recently added options will render
2409
- // at the top of the column and transition down
2410
- this.onDomChange(true, false);
2411
- this.colDidChange = false;
2412
- }
2413
- }
2414
- disconnectedCallback() {
2415
- if (this.rafId !== undefined)
2416
- cancelAnimationFrame(this.rafId);
2417
- if (this.tmrId)
2418
- clearTimeout(this.tmrId);
2419
- if (this.gesture) {
2420
- this.gesture.destroy();
2421
- this.gesture = undefined;
2422
- }
2423
- }
2424
- emitColChange() {
2425
- this.ionPickerColChange.emit(this.col);
2426
- }
2427
- setSelected(selectedIndex, duration) {
2428
- // if there is a selected index, then figure out it's y position
2429
- // if there isn't a selected index, then just use the top y position
2430
- const y = selectedIndex > -1 ? -(selectedIndex * this.optHeight) : 0;
2431
- this.velocity = 0;
2432
- // set what y position we're at
2433
- if (this.rafId !== undefined)
2434
- cancelAnimationFrame(this.rafId);
2435
- this.update(y, duration, true);
2436
- this.emitColChange();
2437
- }
2438
- update(y, duration, saveY) {
2439
- if (!this.optsEl) {
2440
- return;
2441
- }
2442
- // ensure we've got a good round number :)
2443
- let translateY = 0;
2444
- let translateZ = 0;
2445
- const { col, rotateFactor } = this;
2446
- const prevSelected = col.selectedIndex;
2447
- const selectedIndex = (col.selectedIndex = this.indexForY(-y));
2448
- const durationStr = duration === 0 ? '' : duration + 'ms';
2449
- const scaleStr = `scale(${this.scaleFactor})`;
2450
- const children = this.optsEl.children;
2451
- for (let i = 0; i < children.length; i++) {
2452
- const button = children[i];
2453
- const opt = col.options[i];
2454
- const optOffset = i * this.optHeight + y;
2455
- let transform = '';
2456
- if (rotateFactor !== 0) {
2457
- const rotateX = optOffset * rotateFactor;
2458
- if (Math.abs(rotateX) <= 90) {
2459
- translateY = 0;
2460
- translateZ = 90;
2461
- transform = `rotateX(${rotateX}deg) `;
2462
- }
2463
- else {
2464
- translateY = -9999;
2465
- }
2466
- }
2467
- else {
2468
- translateZ = 0;
2469
- translateY = optOffset;
2470
- }
2471
- const selected = selectedIndex === i;
2472
- transform += `translate3d(0px,${translateY}px,${translateZ}px) `;
2473
- if (this.scaleFactor !== 1 && !selected) {
2474
- transform += scaleStr;
2475
- }
2476
- // Update transition duration
2477
- if (this.noAnimate) {
2478
- opt.duration = 0;
2479
- button.style.transitionDuration = '';
2480
- }
2481
- else if (duration !== opt.duration) {
2482
- opt.duration = duration;
2483
- button.style.transitionDuration = durationStr;
2484
- }
2485
- // Update transform
2486
- if (transform !== opt.transform) {
2487
- opt.transform = transform;
2488
- }
2489
- button.style.transform = transform;
2490
- /**
2491
- * Ensure that the select column
2492
- * item has the selected class
2493
- */
2494
- opt.selected = selected;
2495
- if (selected) {
2496
- button.classList.add(PICKER_OPT_SELECTED);
2497
- }
2498
- else {
2499
- button.classList.remove(PICKER_OPT_SELECTED);
2500
- }
2501
- }
2502
- this.col.prevSelected = prevSelected;
2503
- if (saveY) {
2504
- this.y = y;
2505
- }
2506
- if (this.lastIndex !== selectedIndex) {
2507
- // have not set a last index yet
2508
- hapticSelectionChanged();
2509
- this.lastIndex = selectedIndex;
2510
- }
2511
- }
2512
- decelerate() {
2513
- if (this.velocity !== 0) {
2514
- // still decelerating
2515
- this.velocity *= DECELERATION_FRICTION;
2516
- // do not let it go slower than a velocity of 1
2517
- this.velocity = this.velocity > 0 ? Math.max(this.velocity, 1) : Math.min(this.velocity, -1);
2518
- let y = this.y + this.velocity;
2519
- if (y > this.minY) {
2520
- // whoops, it's trying to scroll up farther than the options we have!
2521
- y = this.minY;
2522
- this.velocity = 0;
2523
- }
2524
- else if (y < this.maxY) {
2525
- // gahh, it's trying to scroll down farther than we can!
2526
- y = this.maxY;
2527
- this.velocity = 0;
2528
- }
2529
- this.update(y, 0, true);
2530
- const notLockedIn = Math.round(y) % this.optHeight !== 0 || Math.abs(this.velocity) > 1;
2531
- if (notLockedIn) {
2532
- // isn't locked in yet, keep decelerating until it is
2533
- this.rafId = requestAnimationFrame(() => this.decelerate());
2534
- }
2535
- else {
2536
- this.velocity = 0;
2537
- this.emitColChange();
2538
- hapticSelectionEnd();
2539
- }
2540
- }
2541
- else if (this.y % this.optHeight !== 0) {
2542
- // needs to still get locked into a position so options line up
2543
- const currentPos = Math.abs(this.y % this.optHeight);
2544
- // create a velocity in the direction it needs to scroll
2545
- this.velocity = currentPos > this.optHeight / 2 ? 1 : -1;
2546
- this.decelerate();
2547
- }
2548
- }
2549
- indexForY(y) {
2550
- return Math.min(Math.max(Math.abs(Math.round(y / this.optHeight)), 0), this.col.options.length - 1);
2551
- }
2552
- onStart(detail) {
2553
- // We have to prevent default in order to block scrolling under the picker
2554
- // but we DO NOT have to stop propagation, since we still want
2555
- // some "click" events to capture
2556
- if (detail.event.cancelable) {
2557
- detail.event.preventDefault();
2558
- }
2559
- detail.event.stopPropagation();
2560
- hapticSelectionStart();
2561
- // reset everything
2562
- if (this.rafId !== undefined)
2563
- cancelAnimationFrame(this.rafId);
2564
- const options = this.col.options;
2565
- let minY = options.length - 1;
2566
- let maxY = 0;
2567
- for (let i = 0; i < options.length; i++) {
2568
- if (!options[i].disabled) {
2569
- minY = Math.min(minY, i);
2570
- maxY = Math.max(maxY, i);
2571
- }
2572
- }
2573
- this.minY = -(minY * this.optHeight);
2574
- this.maxY = -(maxY * this.optHeight);
2575
- }
2576
- onMove(detail) {
2577
- if (detail.event.cancelable) {
2578
- detail.event.preventDefault();
2579
- }
2580
- detail.event.stopPropagation();
2581
- // update the scroll position relative to pointer start position
2582
- let y = this.y + detail.deltaY;
2583
- if (y > this.minY) {
2584
- // scrolling up higher than scroll area
2585
- y = Math.pow(y, 0.8);
2586
- this.bounceFrom = y;
2587
- }
2588
- else if (y < this.maxY) {
2589
- // scrolling down below scroll area
2590
- y += Math.pow(this.maxY - y, 0.9);
2591
- this.bounceFrom = y;
2592
- }
2593
- else {
2594
- this.bounceFrom = 0;
2595
- }
2596
- this.update(y, 0, false);
2597
- }
2598
- onEnd(detail) {
2599
- if (this.bounceFrom > 0) {
2600
- // bounce back up
2601
- this.update(this.minY, 100, true);
2602
- this.emitColChange();
2603
- return;
2604
- }
2605
- else if (this.bounceFrom < 0) {
2606
- // bounce back down
2607
- this.update(this.maxY, 100, true);
2608
- this.emitColChange();
2609
- return;
2610
- }
2611
- this.velocity = clamp(-90, detail.velocityY * 23, MAX_PICKER_SPEED);
2612
- if (this.velocity === 0 && detail.deltaY === 0) {
2613
- const opt = detail.event.target.closest('.picker-opt');
2614
- if (opt === null || opt === void 0 ? void 0 : opt.hasAttribute('opt-index')) {
2615
- this.setSelected(parseInt(opt.getAttribute('opt-index'), 10), TRANSITION_DURATION);
2616
- }
2617
- }
2618
- else {
2619
- this.y += detail.deltaY;
2620
- if (Math.abs(detail.velocityY) < 0.05) {
2621
- const isScrollingUp = detail.deltaY > 0;
2622
- const optHeightFraction = (Math.abs(this.y) % this.optHeight) / this.optHeight;
2623
- if (isScrollingUp && optHeightFraction > 0.5) {
2624
- this.velocity = Math.abs(this.velocity) * -1;
2625
- }
2626
- else if (!isScrollingUp && optHeightFraction <= 0.5) {
2627
- this.velocity = Math.abs(this.velocity);
2628
- }
2629
- }
2630
- this.decelerate();
2631
- }
2632
- }
2633
- refresh(forceRefresh, animated) {
2634
- var _a;
2635
- let min = this.col.options.length - 1;
2636
- let max = 0;
2637
- const options = this.col.options;
2638
- for (let i = 0; i < options.length; i++) {
2639
- if (!options[i].disabled) {
2640
- min = Math.min(min, i);
2641
- max = Math.max(max, i);
2642
- }
2643
- }
2644
- /**
2645
- * Only update selected value if column has a
2646
- * velocity of 0. If it does not, then the
2647
- * column is animating might land on
2648
- * a value different than the value at
2649
- * selectedIndex
2650
- */
2651
- if (this.velocity !== 0) {
2652
- return;
2653
- }
2654
- const selectedIndex = clamp(min, (_a = this.col.selectedIndex) !== null && _a !== void 0 ? _a : 0, max);
2655
- if (this.col.prevSelected !== selectedIndex || forceRefresh) {
2656
- const y = selectedIndex * this.optHeight * -1;
2657
- const duration = animated ? TRANSITION_DURATION : 0;
2658
- this.velocity = 0;
2659
- this.update(y, duration, true);
2660
- }
2661
- }
2662
- onDomChange(forceRefresh, animated) {
2663
- const colEl = this.optsEl;
2664
- if (colEl) {
2665
- // DOM READ
2666
- // We perfom a DOM read over a rendered item, this needs to happen after the first render or after the column has changed
2667
- this.optHeight = colEl.firstElementChild ? colEl.firstElementChild.clientHeight : 0;
2668
- }
2669
- this.refresh(forceRefresh, animated);
2670
- }
2671
- render() {
2672
- const col = this.col;
2673
- const theme = getIonTheme(this);
2674
- return (h(Host, { key: '5751788e3b7ecd2fe269c096db883b0681646270', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
2675
- 'max-width': this.col.columnWidth,
2676
- } }, col.prefix && (h("div", { key: '833f3309c8c77e1faa773f7eaa066516dfd51067', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'a39f38e60938e70425e4d7674f5e481885b6b548', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: 'a2f1e0eab834c85e84cee0a716eb1083aa6c7741', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
2677
- }
2678
- get el() { return getElement(this); }
2679
- static get watchers() { return {
2680
- "col": [{
2681
- "colChanged": 0
2682
- }]
2683
- }; }
2684
- };
2685
- const PICKER_OPT_SELECTED = 'picker-opt-selected';
2686
- const DECELERATION_FRICTION = 0.97;
2687
- const MAX_PICKER_SPEED = 90;
2688
- const TRANSITION_DURATION = 150;
2689
- PickerColumnCmp.style = {
2690
- ios: pickerColumnIosCss(),
2691
- md: pickerColumnMdCss()
2692
- };
2693
-
2694
- export { Datetime as ion_datetime, Picker as ion_picker_legacy, PickerColumnCmp as ion_picker_legacy_column };
1983
+ export { Datetime as ion_datetime };