@ionic/core 8.4.2-dev.11736277041.14f34ba1 → 8.4.2-dev.11736797843.16cc5058

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 (591) hide show
  1. package/components/action-sheet.js +32 -16
  2. package/components/alert.js +36 -18
  3. package/components/backdrop.js +9 -0
  4. package/components/button.js +25 -17
  5. package/components/buttons.js +12 -0
  6. package/components/checkbox.js +32 -9
  7. package/components/content.js +22 -2
  8. package/components/focus-visible.js +34 -4
  9. package/components/header.js +9 -2
  10. package/components/ion-accordion-group.js +17 -2
  11. package/components/ion-accordion.js +28 -8
  12. package/components/ion-back-button.js +8 -7
  13. package/components/ion-badge.js +0 -1
  14. package/components/ion-breadcrumb.js +17 -13
  15. package/components/ion-breadcrumbs.js +12 -6
  16. package/components/ion-card-header.js +5 -1
  17. package/components/ion-card-subtitle.js +0 -1
  18. package/components/ion-card-title.js +0 -1
  19. package/components/ion-card.js +13 -6
  20. package/components/ion-chip.js +6 -1
  21. package/components/ion-col.js +0 -24
  22. package/components/ion-datetime-button.js +12 -8
  23. package/components/ion-datetime.js +117 -42
  24. package/components/ion-fab-button.js +33 -14
  25. package/components/ion-fab-list.js +6 -0
  26. package/components/ion-fab.js +9 -2
  27. package/components/ion-footer.js +10 -3
  28. package/components/ion-grid.js +3 -0
  29. package/components/ion-img.js +0 -4
  30. package/components/ion-infinite-scroll-content.js +0 -2
  31. package/components/ion-infinite-scroll.js +26 -4
  32. package/components/ion-input-password-toggle.js +4 -4
  33. package/components/ion-input.js +65 -35
  34. package/components/ion-item-divider.js +7 -1
  35. package/components/ion-item-option.js +12 -8
  36. package/components/ion-item-options.js +4 -0
  37. package/components/ion-item-sliding.js +3 -0
  38. package/components/ion-loading.js +31 -12
  39. package/components/ion-menu-button.js +12 -5
  40. package/components/ion-menu-toggle.js +8 -3
  41. package/components/ion-menu.js +21 -3
  42. package/components/ion-nav-link.js +4 -4
  43. package/components/ion-nav.js +3 -5
  44. package/components/ion-note.js +0 -1
  45. package/components/ion-picker-legacy.js +39 -17
  46. package/components/ion-progress-bar.js +16 -1
  47. package/components/ion-range.js +61 -19
  48. package/components/ion-refresher-content.js +0 -4
  49. package/components/ion-refresher.js +50 -0
  50. package/components/ion-reorder-group.js +3 -0
  51. package/components/ion-route-redirect.js +0 -2
  52. package/components/ion-route.js +6 -4
  53. package/components/ion-router-link.js +5 -6
  54. package/components/ion-router-outlet.js +6 -3
  55. package/components/ion-router.js +18 -0
  56. package/components/ion-searchbar.js +75 -24
  57. package/components/ion-segment-button.js +17 -6
  58. package/components/ion-segment-view.js +3 -1
  59. package/components/ion-segment.js +20 -7
  60. package/components/ion-select-option.js +3 -1
  61. package/components/ion-select.js +45 -20
  62. package/components/ion-skeleton-text.js +3 -0
  63. package/components/ion-split-pane.js +8 -1
  64. package/components/ion-tab-bar.js +5 -2
  65. package/components/ion-tab-button.js +8 -8
  66. package/components/ion-tab.js +1 -3
  67. package/components/ion-tabs.js +2 -2
  68. package/components/ion-text.js +0 -1
  69. package/components/ion-textarea.js +59 -29
  70. package/components/ion-toast.js +48 -23
  71. package/components/ion-toggle.js +33 -10
  72. package/components/item.js +16 -8
  73. package/components/label.js +0 -2
  74. package/components/list-header.js +0 -2
  75. package/components/list.js +3 -1
  76. package/components/modal.js +92 -25
  77. package/components/picker-column-option.js +16 -1
  78. package/components/picker-column.js +22 -6
  79. package/components/picker-column2.js +0 -1
  80. package/components/popover.js +122 -28
  81. package/components/radio-group.js +8 -4
  82. package/components/radio.js +25 -9
  83. package/components/ripple-effect.js +9 -0
  84. package/components/select-modal.js +3 -5
  85. package/components/select-popover.js +3 -4
  86. package/components/spinner.js +3 -3
  87. package/components/title.js +0 -2
  88. package/components/toolbar.js +0 -1
  89. package/dist/cjs/{app-globals-21afee77.js → app-globals-d2d85416.js} +1 -1
  90. package/dist/cjs/{button-active-3f2f60b4.js → button-active-8d4c8099.js} +1 -1
  91. package/dist/cjs/{focus-visible-8657bbbf.js → focus-visible-7a0ce04f.js} +34 -4
  92. package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-f0972dab.js} +2 -2
  93. package/dist/cjs/{index-f05acd21.js → index-213cabf1.js} +4 -4
  94. package/dist/cjs/{index-73f75efb.js → index-2e7a27db.js} +1205 -837
  95. package/dist/cjs/{index-8e789962.js → index-38a015a8.js} +2 -2
  96. package/dist/cjs/index.cjs.js +8 -8
  97. package/dist/cjs/ion-accordion_2.cjs.entry.js +47 -12
  98. package/dist/cjs/ion-action-sheet.cjs.entry.js +37 -21
  99. package/dist/cjs/ion-alert.cjs.entry.js +41 -23
  100. package/dist/cjs/ion-app_8.cjs.entry.js +66 -20
  101. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -3
  102. package/dist/cjs/ion-back-button.cjs.entry.js +10 -9
  103. package/dist/cjs/ion-backdrop.cjs.entry.js +11 -2
  104. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +31 -21
  105. package/dist/cjs/ion-button_2.cjs.entry.js +27 -19
  106. package/dist/cjs/ion-card_5.cjs.entry.js +20 -11
  107. package/dist/cjs/ion-checkbox.cjs.entry.js +34 -11
  108. package/dist/cjs/ion-chip.cjs.entry.js +8 -3
  109. package/dist/cjs/ion-col_3.cjs.entry.js +5 -26
  110. package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -10
  111. package/dist/cjs/ion-datetime_3.cjs.entry.js +161 -65
  112. package/dist/cjs/ion-fab_3.cjs.entry.js +50 -18
  113. package/dist/cjs/ion-img.cjs.entry.js +2 -6
  114. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +28 -8
  115. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +6 -6
  116. package/dist/cjs/ion-input.cjs.entry.js +67 -37
  117. package/dist/cjs/ion-item-option_3.cjs.entry.js +21 -10
  118. package/dist/cjs/ion-item_8.cjs.entry.js +31 -17
  119. package/dist/cjs/ion-loading.cjs.entry.js +35 -16
  120. package/dist/cjs/ion-menu_3.cjs.entry.js +46 -16
  121. package/dist/cjs/ion-modal.cjs.entry.js +97 -30
  122. package/dist/cjs/ion-nav_2.cjs.entry.js +10 -12
  123. package/dist/cjs/ion-picker-column-option.cjs.entry.js +18 -3
  124. package/dist/cjs/ion-picker-column.cjs.entry.js +24 -8
  125. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  126. package/dist/cjs/ion-popover.cjs.entry.js +127 -33
  127. package/dist/cjs/ion-progress-bar.cjs.entry.js +18 -3
  128. package/dist/cjs/ion-radio_2.cjs.entry.js +35 -15
  129. package/dist/cjs/ion-range.cjs.entry.js +63 -21
  130. package/dist/cjs/ion-refresher_2.cjs.entry.js +52 -6
  131. package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -2
  132. package/dist/cjs/ion-ripple-effect.cjs.entry.js +11 -2
  133. package/dist/cjs/ion-route_4.cjs.entry.js +31 -14
  134. package/dist/cjs/ion-searchbar.cjs.entry.js +77 -26
  135. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  136. package/dist/cjs/ion-segment-view.cjs.entry.js +4 -2
  137. package/dist/cjs/ion-segment_2.cjs.entry.js +39 -15
  138. package/dist/cjs/ion-select-modal.cjs.entry.js +7 -9
  139. package/dist/cjs/ion-select_3.cjs.entry.js +55 -29
  140. package/dist/cjs/ion-spinner.cjs.entry.js +5 -5
  141. package/dist/cjs/ion-split-pane.cjs.entry.js +10 -3
  142. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +15 -12
  143. package/dist/cjs/ion-tab_2.cjs.entry.js +4 -6
  144. package/dist/cjs/ion-text.cjs.entry.js +2 -3
  145. package/dist/cjs/ion-textarea.cjs.entry.js +61 -31
  146. package/dist/cjs/ion-toast.cjs.entry.js +52 -27
  147. package/dist/cjs/ion-toggle.cjs.entry.js +35 -12
  148. package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-3c758a1a.js} +1 -1
  149. package/dist/cjs/ionic.cjs.js +4 -4
  150. package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-ac964d6c.js} +3 -3
  151. package/dist/cjs/loader.cjs.js +3 -3
  152. package/dist/cjs/{md.transition-ededf99f.js → md.transition-45089eda.js} +3 -3
  153. package/dist/cjs/{overlays-aa669eb8.js → overlays-56fecd6c.js} +2 -2
  154. package/dist/cjs/{status-tap-37681226.js → status-tap-84e22ef3.js} +1 -1
  155. package/dist/collection/collection-manifest.json +2 -2
  156. package/dist/collection/components/accordion/accordion.js +38 -8
  157. package/dist/collection/components/accordion-group/accordion-group.js +29 -2
  158. package/dist/collection/components/action-sheet/action-sheet.js +68 -20
  159. package/dist/collection/components/alert/alert.js +76 -22
  160. package/dist/collection/components/back-button/back-button.js +23 -8
  161. package/dist/collection/components/backdrop/backdrop.js +15 -0
  162. package/dist/collection/components/badge/badge.js +2 -3
  163. package/dist/collection/components/breadcrumb/breadcrumb.js +44 -14
  164. package/dist/collection/components/breadcrumbs/breadcrumbs.js +20 -6
  165. package/dist/collection/components/button/button.js +58 -18
  166. package/dist/collection/components/buttons/buttons.js +14 -0
  167. package/dist/collection/components/card/card.js +34 -7
  168. package/dist/collection/components/card-header/card-header.js +9 -1
  169. package/dist/collection/components/card-subtitle/card-subtitle.js +2 -3
  170. package/dist/collection/components/card-title/card-title.js +2 -3
  171. package/dist/collection/components/checkbox/checkbox.js +50 -9
  172. package/dist/collection/components/chip/chip.js +12 -1
  173. package/dist/collection/components/col/col.js +48 -26
  174. package/dist/collection/components/content/content.js +36 -2
  175. package/dist/collection/components/datetime/datetime.js +181 -46
  176. package/dist/collection/components/datetime-button/datetime-button.js +18 -8
  177. package/dist/collection/components/fab/fab.js +17 -2
  178. package/dist/collection/components/fab-button/fab-button.js +62 -15
  179. package/dist/collection/components/fab-list/fab-list.js +10 -0
  180. package/dist/collection/components/footer/footer.js +14 -3
  181. package/dist/collection/components/grid/grid.js +5 -0
  182. package/dist/collection/components/header/header.js +13 -2
  183. package/dist/collection/components/img/img.js +4 -4
  184. package/dist/collection/components/infinite-scroll/infinite-scroll.js +32 -4
  185. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -2
  186. package/dist/collection/components/input/input.js +134 -36
  187. package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -4
  188. package/dist/collection/components/item/item.js +43 -9
  189. package/dist/collection/components/item-divider/item-divider.js +11 -1
  190. package/dist/collection/components/item-option/item-option.js +28 -8
  191. package/dist/collection/components/item-options/item-options.js +6 -0
  192. package/dist/collection/components/item-sliding/item-sliding.js +5 -0
  193. package/dist/collection/components/label/label.js +4 -2
  194. package/dist/collection/components/list/list.js +7 -1
  195. package/dist/collection/components/list-header/list-header.js +4 -4
  196. package/dist/collection/components/loading/loading.js +69 -16
  197. package/dist/collection/components/menu/menu.js +35 -3
  198. package/dist/collection/components/menu-button/menu-button.js +22 -5
  199. package/dist/collection/components/menu-toggle/menu-toggle.js +12 -3
  200. package/dist/collection/components/modal/modal.js +147 -32
  201. package/dist/collection/components/nav/nav.js +18 -8
  202. package/dist/collection/components/nav-link/nav-link.js +14 -6
  203. package/dist/collection/components/note/note.js +2 -3
  204. package/dist/collection/components/picker-column/picker-column.js +30 -6
  205. package/dist/collection/components/picker-column-option/picker-column-option.js +22 -1
  206. package/dist/collection/components/picker-legacy/picker.js +75 -21
  207. package/dist/collection/components/picker-legacy-column/picker-column.js +3 -2
  208. package/dist/collection/components/popover/popover.js +181 -33
  209. package/dist/collection/components/progress-bar/progress-bar.js +26 -1
  210. package/dist/collection/components/radio/radio.js +39 -9
  211. package/dist/collection/components/radio-group/radio-group.js +16 -4
  212. package/dist/collection/components/range/range.js +93 -19
  213. package/dist/collection/components/refresher/refresher.js +62 -0
  214. package/dist/collection/components/refresher-content/refresher-content.js +8 -4
  215. package/dist/collection/components/reorder-group/reorder-group.js +5 -0
  216. package/dist/collection/components/ripple-effect/ripple-effect.js +11 -0
  217. package/dist/collection/components/route/route.js +19 -7
  218. package/dist/collection/components/route-redirect/route-redirect.js +4 -4
  219. package/dist/collection/components/router/router.js +22 -0
  220. package/dist/collection/components/router-link/router-link.js +18 -7
  221. package/dist/collection/components/router-outlet/router-outlet.js +19 -6
  222. package/dist/collection/components/searchbar/searchbar.js +119 -24
  223. package/dist/collection/components/segment/segment.js +32 -7
  224. package/dist/collection/components/segment-button/segment-button.js +27 -6
  225. package/dist/collection/components/segment-view/segment-view.js +5 -1
  226. package/dist/collection/components/select/select.js +83 -20
  227. package/dist/collection/components/select-modal/select-modal.ios.css +186 -0
  228. package/dist/collection/components/select-modal/select-modal.js +8 -4
  229. package/dist/collection/components/select-option/select-option.js +7 -1
  230. package/dist/collection/components/select-popover/select-popover.js +13 -4
  231. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -0
  232. package/dist/collection/components/spinner/spinner.js +11 -3
  233. package/dist/collection/components/split-pane/split-pane.js +14 -1
  234. package/dist/collection/components/tab/tab.js +10 -4
  235. package/dist/collection/components/tab-bar/tab-bar.js +11 -2
  236. package/dist/collection/components/tab-button/tab-button.js +24 -8
  237. package/dist/collection/components/tabs/tabs.js +4 -2
  238. package/dist/collection/components/text/text.js +2 -3
  239. package/dist/collection/components/textarea/textarea.js +116 -30
  240. package/dist/collection/components/title/title.js +4 -4
  241. package/dist/collection/components/toast/toast.js +97 -28
  242. package/dist/collection/components/toggle/toggle.js +51 -10
  243. package/dist/collection/components/toolbar/toolbar.js +2 -1
  244. package/dist/collection/utils/focus-visible.js +34 -4
  245. package/dist/docs.d.ts +8 -0
  246. package/dist/docs.json +1710 -572
  247. package/dist/esm/{app-globals-5dbb61a5.js → app-globals-1318774c.js} +1 -1
  248. package/dist/esm/{button-active-f6503382.js → button-active-10b36beb.js} +1 -1
  249. package/dist/esm/{focus-visible-ea5a37bc.js → focus-visible-dd40d69f.js} +34 -4
  250. package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-0a284222.js} +2 -2
  251. package/dist/esm/{index-3ad7f18b.js → index-13b48bcb.js} +4 -4
  252. package/dist/esm/{index-24b48b06.js → index-ed9a6c67.js} +2 -2
  253. package/dist/esm/{index-28849c61.js → index-fcdfc1aa.js} +1205 -837
  254. package/dist/esm/index.js +8 -8
  255. package/dist/esm/ion-accordion_2.entry.js +47 -12
  256. package/dist/esm/ion-action-sheet.entry.js +37 -21
  257. package/dist/esm/ion-alert.entry.js +41 -23
  258. package/dist/esm/ion-app_8.entry.js +66 -20
  259. package/dist/esm/ion-avatar_3.entry.js +2 -3
  260. package/dist/esm/ion-back-button.entry.js +10 -9
  261. package/dist/esm/ion-backdrop.entry.js +11 -2
  262. package/dist/esm/ion-breadcrumb_2.entry.js +31 -21
  263. package/dist/esm/ion-button_2.entry.js +27 -19
  264. package/dist/esm/ion-card_5.entry.js +20 -11
  265. package/dist/esm/ion-checkbox.entry.js +34 -11
  266. package/dist/esm/ion-chip.entry.js +8 -3
  267. package/dist/esm/ion-col_3.entry.js +5 -26
  268. package/dist/esm/ion-datetime-button.entry.js +14 -10
  269. package/dist/esm/ion-datetime_3.entry.js +161 -65
  270. package/dist/esm/ion-fab_3.entry.js +50 -18
  271. package/dist/esm/ion-img.entry.js +2 -6
  272. package/dist/esm/ion-infinite-scroll_2.entry.js +28 -8
  273. package/dist/esm/ion-input-password-toggle.entry.js +6 -6
  274. package/dist/esm/ion-input.entry.js +67 -37
  275. package/dist/esm/ion-item-option_3.entry.js +21 -10
  276. package/dist/esm/ion-item_8.entry.js +31 -17
  277. package/dist/esm/ion-loading.entry.js +35 -16
  278. package/dist/esm/ion-menu_3.entry.js +46 -16
  279. package/dist/esm/ion-modal.entry.js +97 -30
  280. package/dist/esm/ion-nav_2.entry.js +10 -12
  281. package/dist/esm/ion-picker-column-option.entry.js +18 -3
  282. package/dist/esm/ion-picker-column.entry.js +24 -8
  283. package/dist/esm/ion-picker.entry.js +1 -1
  284. package/dist/esm/ion-popover.entry.js +127 -33
  285. package/dist/esm/ion-progress-bar.entry.js +18 -3
  286. package/dist/esm/ion-radio_2.entry.js +35 -15
  287. package/dist/esm/ion-range.entry.js +63 -21
  288. package/dist/esm/ion-refresher_2.entry.js +52 -6
  289. package/dist/esm/ion-reorder_2.entry.js +5 -2
  290. package/dist/esm/ion-ripple-effect.entry.js +11 -2
  291. package/dist/esm/ion-route_4.entry.js +31 -14
  292. package/dist/esm/ion-searchbar.entry.js +77 -26
  293. package/dist/esm/ion-segment-content.entry.js +1 -1
  294. package/dist/esm/ion-segment-view.entry.js +4 -2
  295. package/dist/esm/ion-segment_2.entry.js +39 -15
  296. package/dist/esm/ion-select-modal.entry.js +7 -9
  297. package/dist/esm/ion-select_3.entry.js +55 -29
  298. package/dist/esm/ion-spinner.entry.js +5 -5
  299. package/dist/esm/ion-split-pane.entry.js +10 -3
  300. package/dist/esm/ion-tab-bar_2.entry.js +15 -12
  301. package/dist/esm/ion-tab_2.entry.js +4 -6
  302. package/dist/esm/ion-text.entry.js +2 -3
  303. package/dist/esm/ion-textarea.entry.js +61 -31
  304. package/dist/esm/ion-toast.entry.js +52 -27
  305. package/dist/esm/ion-toggle.entry.js +35 -12
  306. package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-6b9f2b5a.js} +1 -1
  307. package/dist/esm/ionic.js +5 -5
  308. package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-1cb16beb.js} +3 -3
  309. package/dist/esm/loader.js +4 -4
  310. package/dist/esm/{md.transition-5106a0d2.js → md.transition-20f80721.js} +3 -3
  311. package/dist/esm/{overlays-e7b9d6d9.js → overlays-6163edd5.js} +2 -2
  312. package/dist/esm/{status-tap-f472b09f.js → status-tap-6971c722.js} +1 -1
  313. package/dist/esm-es5/app-globals-1318774c.js +4 -0
  314. package/dist/esm-es5/{button-active-f6503382.js → button-active-10b36beb.js} +1 -1
  315. package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
  316. package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-0a284222.js} +1 -1
  317. package/dist/esm-es5/{index-3ad7f18b.js → index-13b48bcb.js} +1 -1
  318. package/dist/esm-es5/{index-24b48b06.js → index-ed9a6c67.js} +1 -1
  319. package/dist/esm-es5/index-fcdfc1aa.js +5 -0
  320. package/dist/esm-es5/index.js +1 -1
  321. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  322. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  323. package/dist/esm-es5/ion-alert.entry.js +1 -1
  324. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  325. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  326. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  327. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  328. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  329. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  330. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  331. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  332. package/dist/esm-es5/ion-chip.entry.js +1 -1
  333. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  334. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  335. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  336. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  337. package/dist/esm-es5/ion-img.entry.js +1 -1
  338. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  339. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  340. package/dist/esm-es5/ion-input.entry.js +1 -1
  341. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  342. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  343. package/dist/esm-es5/ion-loading.entry.js +1 -1
  344. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  345. package/dist/esm-es5/ion-modal.entry.js +1 -1
  346. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  347. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  348. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  349. package/dist/esm-es5/ion-picker.entry.js +1 -1
  350. package/dist/esm-es5/ion-popover.entry.js +1 -1
  351. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  352. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  353. package/dist/esm-es5/ion-range.entry.js +1 -1
  354. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  355. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  356. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  357. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  358. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  359. package/dist/esm-es5/ion-segment-content.entry.js +1 -1
  360. package/dist/esm-es5/ion-segment-view.entry.js +1 -1
  361. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  362. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  363. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  364. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  365. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  366. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  367. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  368. package/dist/esm-es5/ion-text.entry.js +1 -1
  369. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  370. package/dist/esm-es5/ion-toast.entry.js +1 -1
  371. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  372. package/dist/esm-es5/{ionic-global-c81d82ab.js → ionic-global-6b9f2b5a.js} +1 -1
  373. package/dist/esm-es5/ionic.js +1 -1
  374. package/dist/esm-es5/{ios.transition-4ee1a3af.js → ios.transition-1cb16beb.js} +1 -1
  375. package/dist/esm-es5/loader.js +1 -1
  376. package/dist/esm-es5/md.transition-20f80721.js +4 -0
  377. package/dist/esm-es5/{overlays-e7b9d6d9.js → overlays-6163edd5.js} +1 -1
  378. package/dist/esm-es5/{status-tap-f472b09f.js → status-tap-6971c722.js} +1 -1
  379. package/dist/ionic/index.esm.js +1 -1
  380. package/dist/ionic/ionic.esm.js +1 -1
  381. package/dist/ionic/ionic.js +1 -1
  382. package/dist/ionic/p-009f82b0.entry.js +4 -0
  383. package/dist/ionic/{p-ed75fcfb.system.entry.js → p-00d0d756.system.entry.js} +1 -1
  384. package/dist/ionic/p-02a67bb6.entry.js +4 -0
  385. package/dist/ionic/p-06db9f72.system.entry.js +4 -0
  386. package/dist/ionic/p-0b7a6f61.system.entry.js +4 -0
  387. package/dist/ionic/p-0e3657b4.system.entry.js +4 -0
  388. package/dist/ionic/p-0f461830.entry.js +4 -0
  389. package/dist/ionic/p-1050c06b.entry.js +4 -0
  390. package/dist/ionic/p-10e0c150.entry.js +4 -0
  391. package/dist/ionic/p-12130ed6.entry.js +4 -0
  392. package/dist/ionic/{p-cac0e0b3.system.entry.js → p-12f321c2.system.entry.js} +1 -1
  393. package/dist/ionic/{p-e85d901b.system.entry.js → p-13672c38.system.entry.js} +1 -1
  394. package/dist/ionic/p-1424bf51.system.entry.js +4 -0
  395. package/dist/ionic/p-14862d17.js +4 -0
  396. package/dist/ionic/p-15764963.entry.js +4 -0
  397. package/dist/ionic/{p-d6841eac.js → p-178f8860.js} +1 -1
  398. package/dist/ionic/p-19d9e3c1.entry.js +4 -0
  399. package/dist/ionic/{p-322c5fb4.system.js → p-1a02bce6.system.js} +1 -1
  400. package/dist/ionic/{p-8b8be2fd.entry.js → p-1c152e5e.entry.js} +1 -1
  401. package/dist/ionic/{p-a4565eb5.system.js → p-1fd5d9bc.system.js} +1 -1
  402. package/dist/ionic/{p-33a8a71b.entry.js → p-20034878.entry.js} +1 -1
  403. package/dist/ionic/p-231bc1a6.entry.js +4 -0
  404. package/dist/ionic/p-256d6439.system.entry.js +4 -0
  405. package/dist/ionic/{p-424eb140.system.entry.js → p-25ffd217.system.entry.js} +1 -1
  406. package/dist/ionic/p-2799a566.entry.js +4 -0
  407. package/dist/ionic/p-27c32980.system.entry.js +4 -0
  408. package/dist/ionic/p-28dfa27e.entry.js +4 -0
  409. package/dist/ionic/p-2af55ad8.entry.js +4 -0
  410. package/dist/ionic/p-2d31d826.entry.js +4 -0
  411. package/dist/ionic/{p-0303d0f8.js → p-2e092bfc.js} +1 -1
  412. package/dist/ionic/{p-4439fc2a.entry.js → p-2e25154e.entry.js} +1 -1
  413. package/dist/ionic/p-33e4b80b.entry.js +4 -0
  414. package/dist/ionic/p-39d3c108.entry.js +4 -0
  415. package/dist/ionic/{p-1e010627.system.entry.js → p-39f7d87a.system.entry.js} +1 -1
  416. package/dist/ionic/{p-b335ffed.system.entry.js → p-3be897c8.system.entry.js} +1 -1
  417. package/dist/ionic/{p-5da94421.system.js → p-3e9fea9e.system.js} +1 -1
  418. package/dist/ionic/{p-88e63c7d.js → p-40b63137.js} +1 -1
  419. package/dist/ionic/{p-63b0abde.system.entry.js → p-47dc25dc.system.entry.js} +1 -1
  420. package/dist/ionic/p-48da821c.system.js +4 -0
  421. package/dist/ionic/p-49e8212a.entry.js +4 -0
  422. package/dist/ionic/p-4c553a2a.system.entry.js +4 -0
  423. package/dist/ionic/{p-6499df44.system.entry.js → p-4e9cfad5.system.entry.js} +2 -2
  424. package/dist/ionic/{p-5823babc.system.entry.js → p-50d264fa.system.entry.js} +1 -1
  425. package/dist/ionic/{p-7ddc46c3.system.entry.js → p-515d6848.system.entry.js} +1 -1
  426. package/dist/ionic/{p-ca065903.system.entry.js → p-548a72aa.system.entry.js} +1 -1
  427. package/dist/ionic/p-550a3b74.system.entry.js +4 -0
  428. package/dist/ionic/p-56b2ba69.system.entry.js +4 -0
  429. package/dist/ionic/{p-21e5e7e4.js → p-576c3a98.js} +1 -1
  430. package/dist/ionic/{p-14be4015.entry.js → p-58f53534.entry.js} +1 -1
  431. package/dist/ionic/p-5d9ac963.entry.js +4 -0
  432. package/dist/ionic/p-5ed6403e.system.entry.js +4 -0
  433. package/dist/ionic/{p-2507278c.system.entry.js → p-639d0578.system.entry.js} +1 -1
  434. package/dist/ionic/p-64bbdc67.entry.js +4 -0
  435. package/dist/ionic/p-65d01407.entry.js +4 -0
  436. package/dist/ionic/p-6b2e506b.entry.js +4 -0
  437. package/dist/ionic/{p-fca6ef5f.system.entry.js → p-6b6a8f94.system.entry.js} +1 -1
  438. package/dist/ionic/{p-7ed1657c.system.entry.js → p-6d119deb.system.entry.js} +1 -1
  439. package/dist/ionic/p-7148eaf9.system.js +4 -0
  440. package/dist/ionic/p-72bfbdb8.entry.js +4 -0
  441. package/dist/ionic/{p-d743e981.js → p-782beb5a.js} +1 -1
  442. package/dist/ionic/{p-a61cba41.entry.js → p-78667ff0.entry.js} +1 -1
  443. package/dist/ionic/{p-69666e8a.system.entry.js → p-78c786a5.system.entry.js} +2 -2
  444. package/dist/ionic/{p-3c8e5c23.system.js → p-7a1241fe.system.js} +1 -1
  445. package/dist/ionic/p-7b5771f9.entry.js +4 -0
  446. package/dist/ionic/p-7e58bbf9.system.js +5 -0
  447. package/dist/ionic/p-81757650.entry.js +4 -0
  448. package/dist/ionic/{p-14e159ea.system.entry.js → p-825e7bd7.system.entry.js} +1 -1
  449. package/dist/ionic/{p-6d32975a.entry.js → p-8318c25d.entry.js} +1 -1
  450. package/dist/ionic/p-861176bf.js +5 -0
  451. package/dist/ionic/p-87a5a16c.system.entry.js +4 -0
  452. package/dist/ionic/{p-f3102647.system.entry.js → p-87ce1c7b.system.entry.js} +1 -1
  453. package/dist/ionic/p-8dd3da91.entry.js +4 -0
  454. package/dist/ionic/p-8e640927.entry.js +4 -0
  455. package/dist/ionic/{p-ecceeb90.js → p-8ef7a3d4.js} +1 -1
  456. package/dist/ionic/{p-5fce0c0b.system.entry.js → p-900bf295.system.entry.js} +1 -1
  457. package/dist/ionic/{p-bc36ad98.system.entry.js → p-9437291a.system.entry.js} +1 -1
  458. package/dist/ionic/{p-372ae7f4.system.js → p-95902a17.system.js} +1 -1
  459. package/dist/ionic/p-976cffa3.js +4 -0
  460. package/dist/ionic/p-9a87fe2d.entry.js +4 -0
  461. package/dist/ionic/{p-1046866e.system.entry.js → p-9b48727c.system.entry.js} +1 -1
  462. package/dist/ionic/p-a049797d.system.entry.js +4 -0
  463. package/dist/ionic/p-a09686af.system.entry.js +4 -0
  464. package/dist/ionic/p-aa92906a.entry.js +4 -0
  465. package/dist/ionic/{p-2e46590d.system.entry.js → p-ae304d51.system.entry.js} +1 -1
  466. package/dist/ionic/p-ae830361.entry.js +4 -0
  467. package/dist/ionic/p-aee73160.entry.js +4 -0
  468. package/dist/ionic/p-af19e17f.entry.js +4 -0
  469. package/dist/ionic/{p-c449820c.system.js → p-b13c5a74.system.js} +1 -1
  470. package/dist/ionic/p-b5400a4e.entry.js +4 -0
  471. package/dist/ionic/{p-2bd0ae94.system.entry.js → p-b84b4728.system.entry.js} +2 -2
  472. package/dist/ionic/p-bc35609f.system.entry.js +4 -0
  473. package/dist/ionic/p-c29e3a26.entry.js +4 -0
  474. package/dist/ionic/p-c468af8a.system.js +4 -0
  475. package/dist/ionic/p-c5bbf6c1.system.entry.js +4 -0
  476. package/dist/ionic/{p-a69b9fc5.system.js → p-c7d9e292.system.js} +1 -1
  477. package/dist/ionic/{p-2abae1cc.system.entry.js → p-ccba2087.system.entry.js} +1 -1
  478. package/dist/ionic/{p-567de071.system.entry.js → p-cdf6fc3a.system.entry.js} +1 -1
  479. package/dist/ionic/{p-f9a53abb.system.js → p-cec30029.system.js} +1 -1
  480. package/dist/ionic/p-d3e8f550.entry.js +4 -0
  481. package/dist/ionic/{p-37cb43bd.system.entry.js → p-d46804b1.system.entry.js} +1 -1
  482. package/dist/ionic/p-d47265c8.js +4 -0
  483. package/dist/ionic/p-da1d2cb3.entry.js +4 -0
  484. package/dist/ionic/p-dbdccd05.entry.js +4 -0
  485. package/dist/ionic/p-dc480111.entry.js +4 -0
  486. package/dist/ionic/{p-e4f69534.system.entry.js → p-dc75988a.system.entry.js} +1 -1
  487. package/dist/ionic/{p-0aa833fb.system.js → p-de104ff8.system.js} +1 -1
  488. package/dist/ionic/{p-16799667.system.entry.js → p-e3177e13.system.entry.js} +1 -1
  489. package/dist/ionic/p-e4e3296d.system.js +4 -0
  490. package/dist/ionic/{p-ebf042e0.system.entry.js → p-e8d1ae44.system.entry.js} +1 -1
  491. package/dist/ionic/{p-0574e87e.js → p-e992e256.js} +1 -1
  492. package/dist/ionic/p-eb82a2ad.entry.js +4 -0
  493. package/dist/ionic/p-ebef8e16.system.entry.js +4 -0
  494. package/dist/ionic/p-f03983ca.system.entry.js +4 -0
  495. package/dist/ionic/p-f244eea8.system.entry.js +4 -0
  496. package/dist/ionic/p-f2e5ec87.entry.js +4 -0
  497. package/dist/ionic/{p-f1acf541.system.entry.js → p-f5aef6f1.system.entry.js} +1 -1
  498. package/dist/ionic/p-f5b1cfba.entry.js +4 -0
  499. package/dist/ionic/p-f8ff5ad1.entry.js +4 -0
  500. package/dist/ionic/p-fa459c81.entry.js +4 -0
  501. package/dist/ionic/p-fa7120fe.entry.js +4 -0
  502. package/dist/ionic/{p-52d7a191.entry.js → p-fbebb25d.entry.js} +1 -1
  503. package/dist/ionic/{p-b2272f51.system.entry.js → p-fc8bdbc9.system.entry.js} +1 -1
  504. package/dist/ionic/{p-2799c6d3.system.entry.js → p-fca658be.system.entry.js} +1 -1
  505. package/dist/ionic/p-fdb92b6d.entry.js +4 -0
  506. package/dist/ionic/{p-e6635685.js → p-fe10600c.js} +1 -1
  507. package/dist/ionic/p-fe5dca01.system.entry.js +4 -0
  508. package/dist/ionic/p-fe6ab8d4.entry.js +4 -0
  509. package/dist/ionic/p-fee6c9c2.system.entry.js +4 -0
  510. package/dist/types/stencil-public-runtime.d.ts +6 -0
  511. package/hydrate/index.d.ts +10 -4
  512. package/hydrate/index.js +3057 -1456
  513. package/hydrate/index.mjs +3057 -1456
  514. package/package.json +3 -3
  515. package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
  516. package/dist/esm-es5/focus-visible-ea5a37bc.js +0 -4
  517. package/dist/esm-es5/index-28849c61.js +0 -5
  518. package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
  519. package/dist/ionic/p-01186920.system.entry.js +0 -4
  520. package/dist/ionic/p-021c1da5.js +0 -4
  521. package/dist/ionic/p-081a4ce4.entry.js +0 -4
  522. package/dist/ionic/p-0bf0e55c.entry.js +0 -4
  523. package/dist/ionic/p-0c786bdf.system.entry.js +0 -4
  524. package/dist/ionic/p-12a722b8.system.entry.js +0 -4
  525. package/dist/ionic/p-141f79c7.entry.js +0 -4
  526. package/dist/ionic/p-15e76dd1.entry.js +0 -4
  527. package/dist/ionic/p-16188af7.entry.js +0 -4
  528. package/dist/ionic/p-16bfb979.system.entry.js +0 -4
  529. package/dist/ionic/p-17474161.system.js +0 -4
  530. package/dist/ionic/p-19ec4f42.entry.js +0 -4
  531. package/dist/ionic/p-1e67b266.system.entry.js +0 -4
  532. package/dist/ionic/p-2172893e.system.entry.js +0 -4
  533. package/dist/ionic/p-25180df3.system.js +0 -5
  534. package/dist/ionic/p-2b838f86.system.entry.js +0 -4
  535. package/dist/ionic/p-2b9b78c7.entry.js +0 -4
  536. package/dist/ionic/p-2fc0dafe.entry.js +0 -4
  537. package/dist/ionic/p-45693d7e.entry.js +0 -4
  538. package/dist/ionic/p-49a0e74c.entry.js +0 -4
  539. package/dist/ionic/p-4ec778aa.entry.js +0 -4
  540. package/dist/ionic/p-508d024a.entry.js +0 -4
  541. package/dist/ionic/p-58d5df0c.system.entry.js +0 -4
  542. package/dist/ionic/p-5ab1b709.entry.js +0 -4
  543. package/dist/ionic/p-5b932840.entry.js +0 -4
  544. package/dist/ionic/p-626fd66d.system.entry.js +0 -4
  545. package/dist/ionic/p-62af944c.entry.js +0 -4
  546. package/dist/ionic/p-66640ff7.system.entry.js +0 -4
  547. package/dist/ionic/p-69066a53.js +0 -4
  548. package/dist/ionic/p-6b280620.entry.js +0 -4
  549. package/dist/ionic/p-6d6cedc5.entry.js +0 -4
  550. package/dist/ionic/p-73dc4950.entry.js +0 -4
  551. package/dist/ionic/p-7458862e.system.entry.js +0 -4
  552. package/dist/ionic/p-797eeea8.system.entry.js +0 -4
  553. package/dist/ionic/p-7b9a2b23.entry.js +0 -4
  554. package/dist/ionic/p-8a5b9491.system.entry.js +0 -4
  555. package/dist/ionic/p-908d6080.entry.js +0 -4
  556. package/dist/ionic/p-937a7e21.entry.js +0 -4
  557. package/dist/ionic/p-942b5e13.entry.js +0 -4
  558. package/dist/ionic/p-95775830.entry.js +0 -4
  559. package/dist/ionic/p-982315a6.entry.js +0 -4
  560. package/dist/ionic/p-98231c01.system.entry.js +0 -4
  561. package/dist/ionic/p-985a7e17.system.entry.js +0 -4
  562. package/dist/ionic/p-98ff6b32.entry.js +0 -4
  563. package/dist/ionic/p-9df2c6fb.entry.js +0 -4
  564. package/dist/ionic/p-9ee1e8a6.entry.js +0 -4
  565. package/dist/ionic/p-9f3008d4.system.js +0 -4
  566. package/dist/ionic/p-9fa07aec.entry.js +0 -4
  567. package/dist/ionic/p-a43467d8.entry.js +0 -4
  568. package/dist/ionic/p-a49378bb.system.entry.js +0 -4
  569. package/dist/ionic/p-afecb188.entry.js +0 -4
  570. package/dist/ionic/p-b79ba17c.entry.js +0 -4
  571. package/dist/ionic/p-b82d4cab.js +0 -4
  572. package/dist/ionic/p-b9d7015f.entry.js +0 -4
  573. package/dist/ionic/p-bb0db172.entry.js +0 -4
  574. package/dist/ionic/p-bdad26e3.entry.js +0 -4
  575. package/dist/ionic/p-c29f8157.system.entry.js +0 -4
  576. package/dist/ionic/p-c41ac815.entry.js +0 -4
  577. package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
  578. package/dist/ionic/p-c9f3a539.entry.js +0 -4
  579. package/dist/ionic/p-cdc83025.entry.js +0 -4
  580. package/dist/ionic/p-cf130350.system.js +0 -4
  581. package/dist/ionic/p-d18ab582.system.entry.js +0 -4
  582. package/dist/ionic/p-d7aa6b00.entry.js +0 -4
  583. package/dist/ionic/p-d836d43e.js +0 -5
  584. package/dist/ionic/p-da074ff7.entry.js +0 -4
  585. package/dist/ionic/p-de930745.entry.js +0 -4
  586. package/dist/ionic/p-e4ee80be.system.entry.js +0 -4
  587. package/dist/ionic/p-e563a35c.entry.js +0 -4
  588. package/dist/ionic/p-e7ed4a7f.system.js +0 -4
  589. package/dist/ionic/p-eba29931.entry.js +0 -4
  590. package/dist/ionic/p-efaffe74.entry.js +0 -4
  591. package/dist/ionic/p-fec61c32.entry.js +0 -4
@@ -45,6 +45,123 @@ export class Datetime {
45
45
  constructor() {
46
46
  this.inputId = `ion-dt-${datetimeIds++}`;
47
47
  this.prevPresentation = null;
48
+ this.showMonthAndYear = false;
49
+ this.activeParts = [];
50
+ this.workingParts = {
51
+ month: 5,
52
+ day: 28,
53
+ year: 2021,
54
+ hour: 13,
55
+ minute: 52,
56
+ ampm: 'pm',
57
+ };
58
+ this.isTimePopoverOpen = false;
59
+ /**
60
+ * The color to use from your application's color palette.
61
+ * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
62
+ * For more information on colors, see [theming](/docs/theming/basics).
63
+ */
64
+ this.color = 'primary';
65
+ /**
66
+ * The name of the control, which is submitted with the form data.
67
+ */
68
+ this.name = this.inputId;
69
+ /**
70
+ * If `true`, the user cannot interact with the datetime.
71
+ */
72
+ this.disabled = false;
73
+ /**
74
+ * If `true`, the datetime appears normal but the selected date cannot be changed.
75
+ */
76
+ this.readonly = false;
77
+ /**
78
+ * Which values you want to select. `"date"` will show
79
+ * a calendar picker to select the month, day, and year. `"time"`
80
+ * will show a time picker to select the hour, minute, and (optionally)
81
+ * AM/PM. `"date-time"` will show the date picker first and time picker second.
82
+ * `"time-date"` will show the time picker first and date picker second.
83
+ */
84
+ this.presentation = 'date-time';
85
+ /**
86
+ * The text to display on the picker's cancel button.
87
+ */
88
+ this.cancelText = 'Cancel';
89
+ /**
90
+ * The text to display on the picker's "Done" button.
91
+ */
92
+ this.doneText = 'Done';
93
+ /**
94
+ * The text to display on the picker's "Clear" button.
95
+ */
96
+ this.clearText = 'Clear';
97
+ /**
98
+ * The locale to use for `ion-datetime`. This
99
+ * impacts month and day name formatting.
100
+ * The `"default"` value refers to the default
101
+ * locale set by your device.
102
+ */
103
+ this.locale = 'default';
104
+ /**
105
+ * The first day of the week to use for `ion-datetime`. The
106
+ * default value is `0` and represents Sunday.
107
+ */
108
+ this.firstDayOfWeek = 0;
109
+ /**
110
+ * If `true`, multiple dates can be selected at once. Only
111
+ * applies to `presentation="date"` and `preferWheel="false"`.
112
+ */
113
+ this.multiple = false;
114
+ /**
115
+ * If `true`, a header will be shown above the calendar
116
+ * picker. This will include both the slotted title, and
117
+ * the selected date.
118
+ */
119
+ this.showDefaultTitle = false;
120
+ /**
121
+ * If `true`, the default "Cancel" and "OK" buttons
122
+ * will be rendered at the bottom of the `ion-datetime`
123
+ * component. Developers can also use the `button` slot
124
+ * if they want to customize these buttons. If custom
125
+ * buttons are set in the `button` slot then the
126
+ * default buttons will not be rendered.
127
+ */
128
+ this.showDefaultButtons = false;
129
+ /**
130
+ * If `true`, a "Clear" button will be rendered alongside
131
+ * the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
132
+ * component. Developers can also use the `button` slot
133
+ * if they want to customize these buttons. If custom
134
+ * buttons are set in the `button` slot then the
135
+ * default buttons will not be rendered.
136
+ */
137
+ this.showClearButton = false;
138
+ /**
139
+ * If `true`, the default "Time" label will be rendered
140
+ * for the time selector of the `ion-datetime` component.
141
+ * Developers can also use the `time-label` slot
142
+ * if they want to customize this label. If a custom
143
+ * label is set in the `time-label` slot then the
144
+ * default label will not be rendered.
145
+ */
146
+ this.showDefaultTimeLabel = true;
147
+ /**
148
+ * If `cover`, the `ion-datetime` will expand to cover the full width of its container.
149
+ * If `fixed`, the `ion-datetime` will have a fixed width.
150
+ */
151
+ this.size = 'fixed';
152
+ /**
153
+ * If `true`, a wheel picker will be rendered instead of a calendar grid
154
+ * where possible. If `false`, a calendar grid will be rendered instead of
155
+ * a wheel picker where possible.
156
+ *
157
+ * A wheel picker can be rendered instead of a grid when `presentation` is
158
+ * one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
159
+ *
160
+ * A wheel picker will always be rendered regardless of
161
+ * the `preferWheel` value when `presentation` is one of the following values:
162
+ * `"time"`, `"month"`, `"month-year"`, or `"year"`.
163
+ */
164
+ this.preferWheel = false;
48
165
  this.warnIfIncorrectValueUsage = () => {
49
166
  const { multiple, value } = this;
50
167
  if (!multiple && Array.isArray(value)) {
@@ -637,48 +754,6 @@ export class Datetime {
637
754
  this.toggleMonthAndYearView = () => {
638
755
  this.showMonthAndYear = !this.showMonthAndYear;
639
756
  };
640
- this.showMonthAndYear = false;
641
- this.activeParts = [];
642
- this.workingParts = {
643
- month: 5,
644
- day: 28,
645
- year: 2021,
646
- hour: 13,
647
- minute: 52,
648
- ampm: 'pm',
649
- };
650
- this.isTimePopoverOpen = false;
651
- this.forceRenderDate = undefined;
652
- this.color = 'primary';
653
- this.name = this.inputId;
654
- this.disabled = false;
655
- this.formatOptions = undefined;
656
- this.readonly = false;
657
- this.isDateEnabled = undefined;
658
- this.min = undefined;
659
- this.max = undefined;
660
- this.presentation = 'date-time';
661
- this.cancelText = 'Cancel';
662
- this.doneText = 'Done';
663
- this.clearText = 'Clear';
664
- this.yearValues = undefined;
665
- this.monthValues = undefined;
666
- this.dayValues = undefined;
667
- this.hourValues = undefined;
668
- this.minuteValues = undefined;
669
- this.locale = 'default';
670
- this.firstDayOfWeek = 0;
671
- this.titleSelectedDatesFormatter = undefined;
672
- this.multiple = false;
673
- this.highlightedDates = undefined;
674
- this.value = undefined;
675
- this.showDefaultTitle = false;
676
- this.showDefaultButtons = false;
677
- this.showClearButton = false;
678
- this.showDefaultTimeLabel = true;
679
- this.hourCycle = undefined;
680
- this.size = 'fixed';
681
- this.preferWheel = false;
682
757
  }
683
758
  formatOptionsChanged() {
684
759
  const { el, formatOptions, presentation } = this;
@@ -1605,6 +1680,8 @@ export class Datetime {
1605
1680
  "tags": [],
1606
1681
  "text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
1607
1682
  },
1683
+ "getter": false,
1684
+ "setter": false,
1608
1685
  "attribute": "color",
1609
1686
  "reflect": false,
1610
1687
  "defaultValue": "'primary'"
@@ -1623,6 +1700,8 @@ export class Datetime {
1623
1700
  "tags": [],
1624
1701
  "text": "The name of the control, which is submitted with the form data."
1625
1702
  },
1703
+ "getter": false,
1704
+ "setter": false,
1626
1705
  "attribute": "name",
1627
1706
  "reflect": false,
1628
1707
  "defaultValue": "this.inputId"
@@ -1641,6 +1720,8 @@ export class Datetime {
1641
1720
  "tags": [],
1642
1721
  "text": "If `true`, the user cannot interact with the datetime."
1643
1722
  },
1723
+ "getter": false,
1724
+ "setter": false,
1644
1725
  "attribute": "disabled",
1645
1726
  "reflect": false,
1646
1727
  "defaultValue": "false"
@@ -1664,7 +1745,9 @@ export class Datetime {
1664
1745
  "docs": {
1665
1746
  "tags": [],
1666
1747
  "text": "Formatting options for dates and times.\nShould include a 'date' and/or 'time' object, each of which is of type [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options)."
1667
- }
1748
+ },
1749
+ "getter": false,
1750
+ "setter": false
1668
1751
  },
1669
1752
  "readonly": {
1670
1753
  "type": "boolean",
@@ -1680,6 +1763,8 @@ export class Datetime {
1680
1763
  "tags": [],
1681
1764
  "text": "If `true`, the datetime appears normal but the selected date cannot be changed."
1682
1765
  },
1766
+ "getter": false,
1767
+ "setter": false,
1683
1768
  "attribute": "readonly",
1684
1769
  "reflect": false,
1685
1770
  "defaultValue": "false"
@@ -1697,7 +1782,9 @@ export class Datetime {
1697
1782
  "docs": {
1698
1783
  "tags": [],
1699
1784
  "text": "Returns if an individual date (calendar day) is enabled or disabled.\n\nIf `true`, the day will be enabled/interactive.\nIf `false`, the day will be disabled/non-interactive.\n\nThe function accepts an ISO 8601 date string of a given day.\nBy default, all days are enabled. Developers can use this function\nto write custom logic to disable certain days.\n\nThe function is called for each rendered calendar day, for the previous, current and next month.\nCustom implementations should be optimized for performance to avoid jank."
1700
- }
1785
+ },
1786
+ "getter": false,
1787
+ "setter": false
1701
1788
  },
1702
1789
  "min": {
1703
1790
  "type": "string",
@@ -1713,6 +1800,8 @@ export class Datetime {
1713
1800
  "tags": [],
1714
1801
  "text": "The minimum datetime allowed. Value must be a date string\nfollowing the\n[ISO 8601 datetime format standard](https://www.w3.org/TR/NOTE-datetime),\nsuch as `1996-12-19`. The format does not have to be specific to an exact\ndatetime. For example, the minimum could just be the year, such as `1994`.\nDefaults to the beginning of the year, 100 years ago from today."
1715
1802
  },
1803
+ "getter": false,
1804
+ "setter": false,
1716
1805
  "attribute": "min",
1717
1806
  "reflect": false
1718
1807
  },
@@ -1730,6 +1819,8 @@ export class Datetime {
1730
1819
  "tags": [],
1731
1820
  "text": "The maximum datetime allowed. Value must be a date string\nfollowing the\n[ISO 8601 datetime format standard](https://www.w3.org/TR/NOTE-datetime),\n`1996-12-19`. The format does not have to be specific to an exact\ndatetime. For example, the maximum could just be the year, such as `1994`.\nDefaults to the end of this year."
1732
1821
  },
1822
+ "getter": false,
1823
+ "setter": false,
1733
1824
  "attribute": "max",
1734
1825
  "reflect": false
1735
1826
  },
@@ -1753,6 +1844,8 @@ export class Datetime {
1753
1844
  "tags": [],
1754
1845
  "text": "Which values you want to select. `\"date\"` will show\na calendar picker to select the month, day, and year. `\"time\"`\nwill show a time picker to select the hour, minute, and (optionally)\nAM/PM. `\"date-time\"` will show the date picker first and time picker second.\n`\"time-date\"` will show the time picker first and date picker second."
1755
1846
  },
1847
+ "getter": false,
1848
+ "setter": false,
1756
1849
  "attribute": "presentation",
1757
1850
  "reflect": false,
1758
1851
  "defaultValue": "'date-time'"
@@ -1771,6 +1864,8 @@ export class Datetime {
1771
1864
  "tags": [],
1772
1865
  "text": "The text to display on the picker's cancel button."
1773
1866
  },
1867
+ "getter": false,
1868
+ "setter": false,
1774
1869
  "attribute": "cancel-text",
1775
1870
  "reflect": false,
1776
1871
  "defaultValue": "'Cancel'"
@@ -1789,6 +1884,8 @@ export class Datetime {
1789
1884
  "tags": [],
1790
1885
  "text": "The text to display on the picker's \"Done\" button."
1791
1886
  },
1887
+ "getter": false,
1888
+ "setter": false,
1792
1889
  "attribute": "done-text",
1793
1890
  "reflect": false,
1794
1891
  "defaultValue": "'Done'"
@@ -1807,6 +1904,8 @@ export class Datetime {
1807
1904
  "tags": [],
1808
1905
  "text": "The text to display on the picker's \"Clear\" button."
1809
1906
  },
1907
+ "getter": false,
1908
+ "setter": false,
1810
1909
  "attribute": "clear-text",
1811
1910
  "reflect": false,
1812
1911
  "defaultValue": "'Clear'"
@@ -1825,6 +1924,8 @@ export class Datetime {
1825
1924
  "tags": [],
1826
1925
  "text": "Values used to create the list of selectable years. By default\nthe year values range between the `min` and `max` datetime inputs. However, to\ncontrol exactly which years to display, the `yearValues` input can take a number, an array\nof numbers, or string of comma separated numbers. For example, to show upcoming and\nrecent leap years, then this input's value would be `yearValues=\"2008,2012,2016,2020,2024\"`."
1827
1926
  },
1927
+ "getter": false,
1928
+ "setter": false,
1828
1929
  "attribute": "year-values",
1829
1930
  "reflect": false
1830
1931
  },
@@ -1842,6 +1943,8 @@ export class Datetime {
1842
1943
  "tags": [],
1843
1944
  "text": "Values used to create the list of selectable months. By default\nthe month values range from `1` to `12`. However, to control exactly which months to\ndisplay, the `monthValues` input can take a number, an array of numbers, or a string of\ncomma separated numbers. For example, if only summer months should be shown, then this\ninput value would be `monthValues=\"6,7,8\"`. Note that month numbers do *not* have a\nzero-based index, meaning January's value is `1`, and December's is `12`."
1844
1945
  },
1946
+ "getter": false,
1947
+ "setter": false,
1845
1948
  "attribute": "month-values",
1846
1949
  "reflect": false
1847
1950
  },
@@ -1859,6 +1962,8 @@ export class Datetime {
1859
1962
  "tags": [],
1860
1963
  "text": "Values used to create the list of selectable days. By default\nevery day is shown for the given month. However, to control exactly which days of\nthe month to display, the `dayValues` input can take a number, an array of numbers, or\na string of comma separated numbers. Note that even if the array days have an invalid\nnumber for the selected month, like `31` in February, it will correctly not show\ndays which are not valid for the selected month."
1861
1964
  },
1965
+ "getter": false,
1966
+ "setter": false,
1862
1967
  "attribute": "day-values",
1863
1968
  "reflect": false
1864
1969
  },
@@ -1876,6 +1981,8 @@ export class Datetime {
1876
1981
  "tags": [],
1877
1982
  "text": "Values used to create the list of selectable hours. By default\nthe hour values range from `0` to `23` for 24-hour, or `1` to `12` for 12-hour. However,\nto control exactly which hours to display, the `hourValues` input can take a number, an\narray of numbers, or a string of comma separated numbers."
1878
1983
  },
1984
+ "getter": false,
1985
+ "setter": false,
1879
1986
  "attribute": "hour-values",
1880
1987
  "reflect": false
1881
1988
  },
@@ -1893,6 +2000,8 @@ export class Datetime {
1893
2000
  "tags": [],
1894
2001
  "text": "Values used to create the list of selectable minutes. By default\nthe minutes range from `0` to `59`. However, to control exactly which minutes to display,\nthe `minuteValues` input can take a number, an array of numbers, or a string of comma\nseparated numbers. For example, if the minute selections should only be every 15 minutes,\nthen this input value would be `minuteValues=\"0,15,30,45\"`."
1895
2002
  },
2003
+ "getter": false,
2004
+ "setter": false,
1896
2005
  "attribute": "minute-values",
1897
2006
  "reflect": false
1898
2007
  },
@@ -1910,6 +2019,8 @@ export class Datetime {
1910
2019
  "tags": [],
1911
2020
  "text": "The locale to use for `ion-datetime`. This\nimpacts month and day name formatting.\nThe `\"default\"` value refers to the default\nlocale set by your device."
1912
2021
  },
2022
+ "getter": false,
2023
+ "setter": false,
1913
2024
  "attribute": "locale",
1914
2025
  "reflect": false,
1915
2026
  "defaultValue": "'default'"
@@ -1928,6 +2039,8 @@ export class Datetime {
1928
2039
  "tags": [],
1929
2040
  "text": "The first day of the week to use for `ion-datetime`. The\ndefault value is `0` and represents Sunday."
1930
2041
  },
2042
+ "getter": false,
2043
+ "setter": false,
1931
2044
  "attribute": "first-day-of-week",
1932
2045
  "reflect": false,
1933
2046
  "defaultValue": "0"
@@ -1951,7 +2064,9 @@ export class Datetime {
1951
2064
  "docs": {
1952
2065
  "tags": [],
1953
2066
  "text": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
1954
- }
2067
+ },
2068
+ "getter": false,
2069
+ "setter": false
1955
2070
  },
1956
2071
  "multiple": {
1957
2072
  "type": "boolean",
@@ -1967,6 +2082,8 @@ export class Datetime {
1967
2082
  "tags": [],
1968
2083
  "text": "If `true`, multiple dates can be selected at once. Only\napplies to `presentation=\"date\"` and `preferWheel=\"false\"`."
1969
2084
  },
2085
+ "getter": false,
2086
+ "setter": false,
1970
2087
  "attribute": "multiple",
1971
2088
  "reflect": false,
1972
2089
  "defaultValue": "false"
@@ -1995,7 +2112,9 @@ export class Datetime {
1995
2112
  "docs": {
1996
2113
  "tags": [],
1997
2114
  "text": "Used to apply custom text and background colors to specific dates.\n\nCan be either an array of objects containing ISO strings and colors,\nor a callback that receives an ISO string and returns the colors.\n\nOnly applies to the `date`, `date-time`, and `time-date` presentations,\nwith `preferWheel=\"false\"`."
1998
- }
2115
+ },
2116
+ "getter": false,
2117
+ "setter": false
1999
2118
  },
2000
2119
  "value": {
2001
2120
  "type": "string",
@@ -2011,6 +2130,8 @@ export class Datetime {
2011
2130
  "tags": [],
2012
2131
  "text": "The value of the datetime as a valid ISO 8601 datetime string.\nThis should be an array of strings only when `multiple=\"true\"`."
2013
2132
  },
2133
+ "getter": false,
2134
+ "setter": false,
2014
2135
  "attribute": "value",
2015
2136
  "reflect": false
2016
2137
  },
@@ -2028,6 +2149,8 @@ export class Datetime {
2028
2149
  "tags": [],
2029
2150
  "text": "If `true`, a header will be shown above the calendar\npicker. This will include both the slotted title, and\nthe selected date."
2030
2151
  },
2152
+ "getter": false,
2153
+ "setter": false,
2031
2154
  "attribute": "show-default-title",
2032
2155
  "reflect": false,
2033
2156
  "defaultValue": "false"
@@ -2046,6 +2169,8 @@ export class Datetime {
2046
2169
  "tags": [],
2047
2170
  "text": "If `true`, the default \"Cancel\" and \"OK\" buttons\nwill be rendered at the bottom of the `ion-datetime`\ncomponent. Developers can also use the `button` slot\nif they want to customize these buttons. If custom\nbuttons are set in the `button` slot then the\ndefault buttons will not be rendered."
2048
2171
  },
2172
+ "getter": false,
2173
+ "setter": false,
2049
2174
  "attribute": "show-default-buttons",
2050
2175
  "reflect": false,
2051
2176
  "defaultValue": "false"
@@ -2064,6 +2189,8 @@ export class Datetime {
2064
2189
  "tags": [],
2065
2190
  "text": "If `true`, a \"Clear\" button will be rendered alongside\nthe default \"Cancel\" and \"OK\" buttons at the bottom of the `ion-datetime`\ncomponent. Developers can also use the `button` slot\nif they want to customize these buttons. If custom\nbuttons are set in the `button` slot then the\ndefault buttons will not be rendered."
2066
2191
  },
2192
+ "getter": false,
2193
+ "setter": false,
2067
2194
  "attribute": "show-clear-button",
2068
2195
  "reflect": false,
2069
2196
  "defaultValue": "false"
@@ -2082,6 +2209,8 @@ export class Datetime {
2082
2209
  "tags": [],
2083
2210
  "text": "If `true`, the default \"Time\" label will be rendered\nfor the time selector of the `ion-datetime` component.\nDevelopers can also use the `time-label` slot\nif they want to customize this label. If a custom\nlabel is set in the `time-label` slot then the\ndefault label will not be rendered."
2084
2211
  },
2212
+ "getter": false,
2213
+ "setter": false,
2085
2214
  "attribute": "show-default-time-label",
2086
2215
  "reflect": false,
2087
2216
  "defaultValue": "true"
@@ -2106,6 +2235,8 @@ export class Datetime {
2106
2235
  "tags": [],
2107
2236
  "text": "The hour cycle of the `ion-datetime`. If no value is set, this is\nspecified by the current locale."
2108
2237
  },
2238
+ "getter": false,
2239
+ "setter": false,
2109
2240
  "attribute": "hour-cycle",
2110
2241
  "reflect": false
2111
2242
  },
@@ -2123,6 +2254,8 @@ export class Datetime {
2123
2254
  "tags": [],
2124
2255
  "text": "If `cover`, the `ion-datetime` will expand to cover the full width of its container.\nIf `fixed`, the `ion-datetime` will have a fixed width."
2125
2256
  },
2257
+ "getter": false,
2258
+ "setter": false,
2126
2259
  "attribute": "size",
2127
2260
  "reflect": false,
2128
2261
  "defaultValue": "'fixed'"
@@ -2141,6 +2274,8 @@ export class Datetime {
2141
2274
  "tags": [],
2142
2275
  "text": "If `true`, a wheel picker will be rendered instead of a calendar grid\nwhere possible. If `false`, a calendar grid will be rendered instead of\na wheel picker where possible.\n\nA wheel picker can be rendered instead of a grid when `presentation` is\none of the following values: `\"date\"`, `\"date-time\"`, or `\"time-date\"`.\n\nA wheel picker will always be rendered regardless of\nthe `preferWheel` value when `presentation` is one of the following values:\n`\"time\"`, `\"month\"`, `\"month-year\"`, or `\"year\"`."
2143
2276
  },
2277
+ "getter": false,
2278
+ "setter": false,
2144
2279
  "attribute": "prefer-wheel",
2145
2280
  "reflect": false,
2146
2281
  "defaultValue": "false"
@@ -22,6 +22,18 @@ export class DatetimeButton {
22
22
  constructor() {
23
23
  this.datetimeEl = null;
24
24
  this.overlayEl = null;
25
+ this.datetimePresentation = 'date-time';
26
+ this.datetimeActive = false;
27
+ /**
28
+ * The color to use from your application's color palette.
29
+ * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
30
+ * For more information on colors, see [theming](/docs/theming/basics).
31
+ */
32
+ this.color = 'primary';
33
+ /**
34
+ * If `true`, the user cannot interact with the button.
35
+ */
36
+ this.disabled = false;
25
37
  /**
26
38
  * Accepts one or more string values and converts
27
39
  * them to DatetimeParts. This is done so datetime-button
@@ -237,14 +249,6 @@ export class DatetimeButton {
237
249
  overlayEl.present();
238
250
  }
239
251
  };
240
- this.datetimePresentation = 'date-time';
241
- this.dateText = undefined;
242
- this.timeText = undefined;
243
- this.datetimeActive = false;
244
- this.selectedButton = undefined;
245
- this.color = 'primary';
246
- this.disabled = false;
247
- this.datetime = undefined;
248
252
  }
249
253
  async componentWillLoad() {
250
254
  const { datetime } = this;
@@ -379,6 +383,8 @@ export class DatetimeButton {
379
383
  "tags": [],
380
384
  "text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
381
385
  },
386
+ "getter": false,
387
+ "setter": false,
382
388
  "attribute": "color",
383
389
  "reflect": true,
384
390
  "defaultValue": "'primary'"
@@ -397,6 +403,8 @@ export class DatetimeButton {
397
403
  "tags": [],
398
404
  "text": "If `true`, the user cannot interact with the button."
399
405
  },
406
+ "getter": false,
407
+ "setter": false,
400
408
  "attribute": "disabled",
401
409
  "reflect": true,
402
410
  "defaultValue": "false"
@@ -415,6 +423,8 @@ export class DatetimeButton {
415
423
  "tags": [],
416
424
  "text": "The ID of the `ion-datetime` instance\nassociated with the datetime button."
417
425
  },
426
+ "getter": false,
427
+ "setter": false,
418
428
  "attribute": "datetime",
419
429
  "reflect": false
420
430
  }
@@ -5,9 +5,16 @@ import { Host, h } from "@stencil/core";
5
5
  import { getIonMode } from "../../global/ionic-global";
6
6
  export class Fab {
7
7
  constructor() {
8
- this.horizontal = undefined;
9
- this.vertical = undefined;
8
+ /**
9
+ * If `true`, the fab will display on the edge of the header if
10
+ * `vertical` is `"top"`, and on the edge of the footer if
11
+ * it is `"bottom"`. Should be used with a `fixed` slot.
12
+ */
10
13
  this.edge = false;
14
+ /**
15
+ * If `true`, both the `ion-fab-button` and all `ion-fab-list` inside `ion-fab` will become active.
16
+ * That means `ion-fab-button` will become a `close` icon and `ion-fab-list` will become visible.
17
+ */
11
18
  this.activated = false;
12
19
  }
13
20
  activatedChanged() {
@@ -82,6 +89,8 @@ export class Fab {
82
89
  "tags": [],
83
90
  "text": "Where to align the fab horizontally in the viewport."
84
91
  },
92
+ "getter": false,
93
+ "setter": false,
85
94
  "attribute": "horizontal",
86
95
  "reflect": false
87
96
  },
@@ -99,6 +108,8 @@ export class Fab {
99
108
  "tags": [],
100
109
  "text": "Where to align the fab vertically in the viewport."
101
110
  },
111
+ "getter": false,
112
+ "setter": false,
102
113
  "attribute": "vertical",
103
114
  "reflect": false
104
115
  },
@@ -116,6 +127,8 @@ export class Fab {
116
127
  "tags": [],
117
128
  "text": "If `true`, the fab will display on the edge of the header if\n`vertical` is `\"top\"`, and on the edge of the footer if\nit is `\"bottom\"`. Should be used with a `fixed` slot."
118
129
  },
130
+ "getter": false,
131
+ "setter": false,
119
132
  "attribute": "edge",
120
133
  "reflect": false,
121
134
  "defaultValue": "false"
@@ -134,6 +147,8 @@ export class Fab {
134
147
  "tags": [],
135
148
  "text": "If `true`, both the `ion-fab-button` and all `ion-fab-list` inside `ion-fab` will become active.\nThat means `ion-fab-button` will become a `close` icon and `ion-fab-list` will become visible."
136
149
  },
150
+ "getter": false,
151
+ "setter": false,
137
152
  "attribute": "activated",
138
153
  "reflect": false,
139
154
  "defaultValue": "false"