@ionic/core 7.3.1-dev.11692800544.15c6d007 → 7.3.1-dev.11693509285.1e34124a
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.
- package/components/ion-datetime.js +25 -11
- package/dist/cjs/{app-globals-a264e098.js → app-globals-a579aafd.js} +1 -1
- package/dist/cjs/{button-active-989e4646.js → button-active-dfd2756e.js} +1 -1
- package/dist/cjs/{index-8b8cc4f0.js → index-484b1104.js} +85 -9
- package/dist/cjs/{index-d9ce0677.js → index-653be4df.js} +1 -1
- package/dist/cjs/{index-c79fde48.js → index-8568bedb.js} +3 -3
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +28 -14
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-fedc2b90.js → ionic-global-f81d8b73.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-0fb27b5a.js → ios.transition-f7c78d7c.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-7d8e50c5.js → md.transition-65dc7dce.js} +2 -2
- package/dist/cjs/{overlays-193cee18.js → overlays-0ea06fcb.js} +1 -1
- package/dist/cjs/{status-tap-bd298531.js → status-tap-4564b66c.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/datetime/datetime.ios.css +32 -29
- package/dist/collection/components/datetime/datetime.js +28 -9
- package/dist/collection/components/datetime/datetime.md.css +18 -26
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +5 -1
- package/dist/collection/utils/slot-mutation-controller.js +1 -1
- package/dist/docs.d.ts +322 -240
- package/dist/docs.json +26 -2
- package/dist/esm/{app-globals-fd465772.js → app-globals-e8ddf830.js} +1 -1
- package/dist/esm/{button-active-ca3f9d01.js → button-active-2da0f611.js} +1 -1
- package/dist/esm/{index-86eb68c3.js → index-6391de89.js} +3 -3
- package/dist/esm/{index-70d99ffc.js → index-847f2fde.js} +85 -9
- package/dist/esm/{index-ccf7640c.js → index-b3e05099.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +4 -4
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +28 -14
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-internal.entry.js +2 -2
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +3 -3
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-e88a1dad.js → ionic-global-1ef19007.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-fb95e6d3.js → ios.transition-3137d23e.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-5d6ecb91.js → md.transition-48b3b77c.js} +2 -2
- package/dist/esm/{overlays-10ba06f0.js → overlays-c3387ec0.js} +1 -1
- package/dist/esm/{status-tap-ed20e939.js → status-tap-823a0df3.js} +1 -1
- package/dist/esm-es5/app-globals-e8ddf830.js +4 -0
- package/dist/esm-es5/{button-active-ca3f9d01.js → button-active-2da0f611.js} +1 -1
- package/dist/esm-es5/{index-86eb68c3.js → index-6391de89.js} +1 -1
- package/dist/esm-es5/{index-70d99ffc.js → index-847f2fde.js} +1 -1
- package/dist/esm-es5/{index-ccf7640c.js → index-b3e05099.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-e88a1dad.js → ionic-global-1ef19007.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-fb95e6d3.js → ios.transition-3137d23e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-5d6ecb91.js → md.transition-48b3b77c.js} +1 -1
- package/dist/esm-es5/{overlays-10ba06f0.js → overlays-c3387ec0.js} +1 -1
- package/dist/esm-es5/{status-tap-ed20e939.js → status-tap-823a0df3.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-05ce217a.system.entry.js → p-0053fe81.system.entry.js} +1 -1
- package/dist/ionic/{p-882dcea5.entry.js → p-0142ba6d.entry.js} +1 -1
- package/dist/ionic/{p-a9136452.system.entry.js → p-0219ac12.system.entry.js} +1 -1
- package/dist/ionic/{p-5303738b.entry.js → p-0660215f.entry.js} +1 -1
- package/dist/ionic/{p-3143b485.system.entry.js → p-06d6e9c0.system.entry.js} +1 -1
- package/dist/ionic/{p-0b7f3cc1.system.entry.js → p-06f1f560.system.entry.js} +1 -1
- package/dist/ionic/{p-a2afc825.entry.js → p-0ff17c93.entry.js} +1 -1
- package/dist/ionic/{p-121d1c2e.js → p-11248f01.js} +1 -1
- package/dist/ionic/{p-2fd2eb1b.system.entry.js → p-11a42c03.system.entry.js} +2 -2
- package/dist/ionic/p-156967ec.js +5 -0
- package/dist/ionic/p-1a2b4de0.system.entry.js +4 -0
- package/dist/ionic/{p-f0bb9e16.system.entry.js → p-1d82df31.system.entry.js} +1 -1
- package/dist/ionic/{p-70db1dc5.entry.js → p-1ec4dc01.entry.js} +1 -1
- package/dist/ionic/{p-d7e82551.entry.js → p-20087c90.entry.js} +1 -1
- package/dist/ionic/{p-af665a4e.system.entry.js → p-2061c86f.system.entry.js} +1 -1
- package/dist/ionic/{p-20441be8.entry.js → p-229df0d8.entry.js} +1 -1
- package/dist/ionic/p-273e78ae.entry.js +4 -0
- package/dist/ionic/{p-a2e7a6eb.system.entry.js → p-2936ec7f.system.entry.js} +1 -1
- package/dist/ionic/{p-8b4f07f2.entry.js → p-29b3e70a.entry.js} +1 -1
- package/dist/ionic/{p-50978d50.system.entry.js → p-2bc49e5d.system.entry.js} +1 -1
- package/dist/ionic/{p-235e2314.entry.js → p-2cdcd6f2.entry.js} +1 -1
- package/dist/ionic/{p-34f85efb.system.entry.js → p-2da3e015.system.entry.js} +1 -1
- package/dist/ionic/{p-2e1bac68.system.entry.js → p-32d11ce2.system.entry.js} +1 -1
- package/dist/ionic/{p-a777febf.system.entry.js → p-336420f9.system.entry.js} +1 -1
- package/dist/ionic/p-3ef88fc2.system.entry.js +4 -0
- package/dist/ionic/{p-0122956c.entry.js → p-423d5a4d.entry.js} +1 -1
- package/dist/ionic/{p-44667719.entry.js → p-430e902d.entry.js} +1 -1
- package/dist/ionic/{p-fe9531c1.system.entry.js → p-57dc87eb.system.entry.js} +1 -1
- package/dist/ionic/p-5b553dc0.system.js +5 -0
- package/dist/ionic/{p-d5bc2122.entry.js → p-5b88f780.entry.js} +1 -1
- package/dist/ionic/{p-29275097.entry.js → p-5c96dc4e.entry.js} +1 -1
- package/dist/ionic/{p-405dfcd1.js → p-5ef91692.js} +1 -1
- package/dist/ionic/{p-a7b3c9aa.entry.js → p-61769039.entry.js} +1 -1
- package/dist/ionic/{p-d85f8dc2.entry.js → p-639d7b25.entry.js} +1 -1
- package/dist/ionic/{p-7773af23.system.js → p-6405e9f0.system.js} +1 -1
- package/dist/ionic/p-64ad5765.entry.js +4 -0
- package/dist/ionic/{p-dd0f1ae3.system.entry.js → p-65403c81.system.entry.js} +1 -1
- package/dist/ionic/{p-519b5733.entry.js → p-6876a2da.entry.js} +1 -1
- package/dist/ionic/{p-9d86c6cb.entry.js → p-68e0ea3c.entry.js} +1 -1
- package/dist/ionic/{p-60273907.system.js → p-69303bb5.system.js} +1 -1
- package/dist/ionic/{p-9d04d146.entry.js → p-6b3afb0f.entry.js} +1 -1
- package/dist/ionic/{p-726b88e4.system.entry.js → p-6b9bf14c.system.entry.js} +1 -1
- package/dist/ionic/{p-e9cef284.system.entry.js → p-6bf632d0.system.entry.js} +1 -1
- package/dist/ionic/{p-7e3ea28f.entry.js → p-74723f41.entry.js} +1 -1
- package/dist/ionic/p-778460f7.js +4 -0
- package/dist/ionic/{p-42756631.entry.js → p-77913af5.entry.js} +1 -1
- package/dist/ionic/{p-5805b86e.entry.js → p-77f91ca9.entry.js} +1 -1
- package/dist/ionic/{p-1d6468d5.entry.js → p-785b0913.entry.js} +1 -1
- package/dist/ionic/{p-ede8d71d.system.entry.js → p-79e30193.system.entry.js} +1 -1
- package/dist/ionic/{p-9be7fdf8.system.js → p-7b16490a.system.js} +1 -1
- package/dist/ionic/p-7c938ad6.js +4 -0
- package/dist/ionic/{p-471d2ea1.system.entry.js → p-8074bdd7.system.entry.js} +1 -1
- package/dist/ionic/{p-948015ba.system.js → p-81597423.system.js} +1 -1
- package/dist/ionic/{p-839db6d2.system.js → p-81b46714.system.js} +1 -1
- package/dist/ionic/p-82632e15.system.js +4 -0
- package/dist/ionic/{p-06f7e890.entry.js → p-82f8ee51.entry.js} +1 -1
- package/dist/ionic/{p-d7614175.system.js → p-83008f7c.system.js} +1 -1
- package/dist/ionic/{p-4b53d30a.system.entry.js → p-839bd69f.system.entry.js} +1 -1
- package/dist/ionic/{p-a696138c.system.entry.js → p-83bcaec9.system.entry.js} +1 -1
- package/dist/ionic/{p-777ecf06.entry.js → p-8a676776.entry.js} +1 -1
- package/dist/ionic/{p-876d31cc.entry.js → p-8b55f026.entry.js} +1 -1
- package/dist/ionic/{p-714270bd.system.js → p-8ba724fa.system.js} +1 -1
- package/dist/ionic/{p-6cadc1fe.system.entry.js → p-8fa43732.system.entry.js} +1 -1
- package/dist/ionic/{p-3d0a72a2.js → p-91459620.js} +1 -1
- package/dist/ionic/{p-04abed42.system.entry.js → p-96c2a273.system.entry.js} +1 -1
- package/dist/ionic/{p-10dac2e4.entry.js → p-98a189f3.entry.js} +1 -1
- package/dist/ionic/{p-9f16bed3.system.entry.js → p-98b618ce.system.entry.js} +1 -1
- package/dist/ionic/{p-440aa25d.entry.js → p-99028088.entry.js} +1 -1
- package/dist/ionic/{p-47237241.entry.js → p-99140340.entry.js} +1 -1
- package/dist/ionic/{p-72ccb986.entry.js → p-9b3c3564.entry.js} +1 -1
- package/dist/ionic/{p-92816df1.entry.js → p-9c32000a.entry.js} +1 -1
- package/dist/ionic/{p-76bf34aa.entry.js → p-a0f1be8d.entry.js} +1 -1
- package/dist/ionic/p-a2b25750.js +4 -0
- package/dist/ionic/{p-9ba29e45.entry.js → p-a3f9d271.entry.js} +1 -1
- package/dist/ionic/p-a62c0ff4.js +4 -0
- package/dist/ionic/{p-77076bd4.system.entry.js → p-ac80da6c.system.entry.js} +1 -1
- package/dist/ionic/{p-439a4f2f.js → p-b22ee0dc.js} +1 -1
- package/dist/ionic/{p-9abf4074.system.entry.js → p-b2514862.system.entry.js} +1 -1
- package/dist/ionic/{p-2cf1a687.entry.js → p-b9312889.entry.js} +1 -1
- package/dist/ionic/{p-40980493.system.entry.js → p-b9654781.system.entry.js} +1 -1
- package/dist/ionic/p-ba45187d.entry.js +4 -0
- package/dist/ionic/{p-e9b186e3.system.entry.js → p-ba6f7490.system.entry.js} +1 -1
- package/dist/ionic/{p-e1329f0b.system.entry.js → p-bf4b8d8a.system.entry.js} +1 -1
- package/dist/ionic/{p-980bb9a8.entry.js → p-c0d1e5a1.entry.js} +1 -1
- package/dist/ionic/{p-59639003.system.entry.js → p-c4afbed8.system.entry.js} +1 -1
- package/dist/ionic/p-c53dd7a2.entry.js +4 -0
- package/dist/ionic/{p-5b88aead.system.entry.js → p-ccea9adc.system.entry.js} +1 -1
- package/dist/ionic/{p-b08cafda.system.entry.js → p-d1356034.system.entry.js} +1 -1
- package/dist/ionic/{p-c6fa0239.system.entry.js → p-d1bab5e7.system.entry.js} +1 -1
- package/dist/ionic/{p-b76b2d9a.entry.js → p-d3378c35.entry.js} +1 -1
- package/dist/ionic/{p-1950bdfd.entry.js → p-d3b8aebf.entry.js} +1 -1
- package/dist/ionic/{p-79479e35.system.entry.js → p-d5db0834.system.entry.js} +1 -1
- package/dist/ionic/{p-694be610.entry.js → p-d5e3bff3.entry.js} +1 -1
- package/dist/ionic/{p-3fee7f7d.entry.js → p-d8538837.entry.js} +1 -1
- package/dist/ionic/{p-d9198370.system.entry.js → p-daec2f17.system.entry.js} +1 -1
- package/dist/ionic/{p-d6bca398.system.js → p-db46fc66.system.js} +1 -1
- package/dist/ionic/{p-a15d42b1.system.entry.js → p-dbb48066.system.entry.js} +1 -1
- package/dist/ionic/{p-4d545564.system.entry.js → p-dc49c681.system.entry.js} +1 -1
- package/dist/ionic/{p-46ec8a6b.system.js → p-df6743df.system.js} +1 -1
- package/dist/ionic/{p-10cf0148.system.entry.js → p-e112994b.system.entry.js} +1 -1
- package/dist/ionic/{p-53dccd56.js → p-e3cba96d.js} +1 -1
- package/dist/ionic/p-e3d5608d.system.js +4 -0
- package/dist/ionic/{p-2f727c33.system.entry.js → p-e53b8af4.system.entry.js} +1 -1
- package/dist/ionic/{p-bdc96d71.system.entry.js → p-e805ff9f.system.entry.js} +1 -1
- package/dist/ionic/{p-3e44f9aa.entry.js → p-e9c112ba.entry.js} +1 -1
- package/dist/ionic/{p-6750cb67.entry.js → p-ed7b205b.entry.js} +1 -1
- package/dist/ionic/{p-5aba7c57.system.entry.js → p-f5b7b710.system.entry.js} +1 -1
- package/dist/ionic/{p-ebfa6bb9.entry.js → p-f78e60a5.entry.js} +1 -1
- package/dist/ionic/{p-b0c841c7.system.entry.js → p-f95f798a.system.entry.js} +1 -1
- package/dist/ionic/{p-5c8cff6b.system.entry.js → p-fa3327e8.system.entry.js} +1 -1
- package/dist/ionic/{p-b7383b7c.entry.js → p-fac1660b.entry.js} +1 -1
- package/dist/ionic/{p-d7fcf10b.system.entry.js → p-fd42994b.system.entry.js} +1 -1
- package/dist/ionic/{p-5bc7d636.entry.js → p-fe83e3e2.entry.js} +1 -1
- package/dist/ionic/{p-354dc88c.system.entry.js → p-fea46870.system.entry.js} +1 -1
- package/dist/types/components/datetime/datetime.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -2
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +54 -32
- package/loader/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-fd465772.js +0 -4
- package/dist/ionic/p-037b8d72.system.entry.js +0 -4
- package/dist/ionic/p-07f42dec.system.js +0 -5
- package/dist/ionic/p-08109158.system.js +0 -4
- package/dist/ionic/p-20155794.js +0 -4
- package/dist/ionic/p-497afd6b.js +0 -4
- package/dist/ionic/p-64142d00.js +0 -5
- package/dist/ionic/p-6707cf74.entry.js +0 -4
- package/dist/ionic/p-782e60c5.js +0 -4
- package/dist/ionic/p-7a4653fb.entry.js +0 -4
- package/dist/ionic/p-9efd3a45.js +0 -4
- package/dist/ionic/p-a606d401.entry.js +0 -4
- package/dist/ionic/p-ae35ae07.system.entry.js +0 -4
- package/dist/ionic/p-c9444e60.entry.js +0 -4
- package/dist/ionic/p-e6adac22.system.js +0 -4
|
@@ -33,6 +33,11 @@ import { getCalendarDayState, getHighlightStyles, isDayDisabled, isMonthDisabled
|
|
|
33
33
|
*
|
|
34
34
|
* @part month-year-button - The button that opens the month/year picker when
|
|
35
35
|
* using a grid style layout.
|
|
36
|
+
*
|
|
37
|
+
* @part calendar-day - The individual buttons that display a day inside of the datetime
|
|
38
|
+
* calendar.
|
|
39
|
+
* @part calendar-day active - The currently selected calendar day.
|
|
40
|
+
* @part calendar-day today - The calendar day that contains the current day.
|
|
36
41
|
*/
|
|
37
42
|
export class Datetime {
|
|
38
43
|
constructor() {
|
|
@@ -241,7 +246,7 @@ export class Datetime {
|
|
|
241
246
|
/**
|
|
242
247
|
* Get the number of padding days so
|
|
243
248
|
* we know how much to offset our next selector by
|
|
244
|
-
* to grab the correct
|
|
249
|
+
* to grab the correct calendar-day element.
|
|
245
250
|
*/
|
|
246
251
|
const padding = currentMonth.querySelectorAll('.calendar-day-padding');
|
|
247
252
|
const { day } = this.workingParts;
|
|
@@ -252,7 +257,7 @@ export class Datetime {
|
|
|
252
257
|
* Get the calendar day element
|
|
253
258
|
* and focus it.
|
|
254
259
|
*/
|
|
255
|
-
const dayEl = currentMonth.querySelector(`.calendar-day:nth-of-type(${padding.length + day})`);
|
|
260
|
+
const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${padding.length + day}) .calendar-day`);
|
|
256
261
|
if (dayEl) {
|
|
257
262
|
dayEl.focus();
|
|
258
263
|
}
|
|
@@ -1274,14 +1279,29 @@ export class Datetime {
|
|
|
1274
1279
|
if (highlightedDates !== undefined && !isActive && day !== null) {
|
|
1275
1280
|
dateStyle = getHighlightStyles(highlightedDates, dateIsoString, el);
|
|
1276
1281
|
}
|
|
1277
|
-
|
|
1282
|
+
let dateParts = undefined;
|
|
1283
|
+
// Spacer elements should not get the CSS parts added for calendar days
|
|
1284
|
+
if (day !== null) {
|
|
1285
|
+
dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}`;
|
|
1286
|
+
}
|
|
1287
|
+
return (h("div", { class: "calendar-day-wrapper" }, h("button", {
|
|
1288
|
+
// We need to use !important for the inline styles here because
|
|
1289
|
+
// otherwise the CSS shadow parts will override these styles.
|
|
1290
|
+
// See https://github.com/WICG/webcomponents/issues/847
|
|
1291
|
+
// Both the CSS shadow parts and highlightedDates styles are
|
|
1292
|
+
// provided by the developer, but highlightedDates styles should
|
|
1293
|
+
// always take priority.
|
|
1294
|
+
ref: (el) => {
|
|
1295
|
+
if (el && dateStyle) {
|
|
1296
|
+
el.style.setProperty('color', `${dateStyle.textColor}`, 'important');
|
|
1297
|
+
el.style.setProperty('background-color', `${dateStyle.backgroundColor}`, 'important');
|
|
1298
|
+
}
|
|
1299
|
+
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index, "data-day-of-week": dayOfWeek, disabled: isCalDayDisabled, class: {
|
|
1278
1300
|
'calendar-day-padding': isCalendarPadding,
|
|
1279
1301
|
'calendar-day': true,
|
|
1280
1302
|
'calendar-day-active': isActive,
|
|
1281
1303
|
'calendar-day-today': isToday,
|
|
1282
|
-
},
|
|
1283
|
-
color: dateStyle.textColor,
|
|
1284
|
-
}, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
|
|
1304
|
+
}, part: dateParts, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
|
|
1285
1305
|
if (isCalendarPadding) {
|
|
1286
1306
|
return;
|
|
1287
1307
|
}
|
|
@@ -1301,9 +1321,8 @@ export class Datetime {
|
|
|
1301
1321
|
day,
|
|
1302
1322
|
year }));
|
|
1303
1323
|
}
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
} }), text));
|
|
1324
|
+
}
|
|
1325
|
+
}, text)));
|
|
1307
1326
|
}))));
|
|
1308
1327
|
}
|
|
1309
1328
|
renderCalendarBody() {
|
|
@@ -281,6 +281,8 @@ ion-picker-column-internal {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
:host .calendar-body .calendar-month {
|
|
284
|
+
display: flex;
|
|
285
|
+
flex-flow: column;
|
|
284
286
|
/**
|
|
285
287
|
* Swiping should snap to at
|
|
286
288
|
* most one month at a time.
|
|
@@ -314,11 +316,21 @@ ion-picker-column-internal {
|
|
|
314
316
|
grid-template-columns: repeat(7, 1fr);
|
|
315
317
|
}
|
|
316
318
|
|
|
319
|
+
:host .calendar-day-wrapper {
|
|
320
|
+
display: flex;
|
|
321
|
+
align-items: center;
|
|
322
|
+
justify-content: center;
|
|
323
|
+
min-width: 0;
|
|
324
|
+
min-height: 0;
|
|
325
|
+
overflow: visible;
|
|
326
|
+
}
|
|
327
|
+
|
|
317
328
|
/**
|
|
318
329
|
* Center the day text vertically
|
|
319
330
|
* and horizontally within its grid cell.
|
|
320
331
|
*/
|
|
321
332
|
:host .calendar-day {
|
|
333
|
+
border-radius: 50%;
|
|
322
334
|
-webkit-padding-start: 0px;
|
|
323
335
|
padding-inline-start: 0px;
|
|
324
336
|
-webkit-padding-end: 0px;
|
|
@@ -350,20 +362,6 @@ ion-picker-column-internal {
|
|
|
350
362
|
opacity: 0.4;
|
|
351
363
|
}
|
|
352
364
|
|
|
353
|
-
.calendar-day-highlight {
|
|
354
|
-
border-radius: 32px;
|
|
355
|
-
-webkit-padding-start: 4px;
|
|
356
|
-
padding-inline-start: 4px;
|
|
357
|
-
-webkit-padding-end: 4px;
|
|
358
|
-
padding-inline-end: 4px;
|
|
359
|
-
padding-top: 4px;
|
|
360
|
-
padding-bottom: 4px;
|
|
361
|
-
position: absolute;
|
|
362
|
-
width: 32px;
|
|
363
|
-
height: 32px;
|
|
364
|
-
z-index: -1;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
365
|
:host .datetime-time {
|
|
368
366
|
display: flex;
|
|
369
367
|
justify-content: space-between;
|
|
@@ -480,16 +478,13 @@ ion-picker-column-internal {
|
|
|
480
478
|
}
|
|
481
479
|
|
|
482
480
|
:host .calendar-day {
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
padding-inline-end: 0;
|
|
487
|
-
padding-top: 13px;
|
|
488
|
-
padding-bottom: 13px;
|
|
481
|
+
width: 42px;
|
|
482
|
+
min-width: 42px;
|
|
483
|
+
height: 42px;
|
|
489
484
|
font-size: 14px;
|
|
490
485
|
}
|
|
491
486
|
|
|
492
|
-
.calendar-day:focus
|
|
487
|
+
.calendar-day:focus {
|
|
493
488
|
background: rgba(var(--ion-color-base-rgb), 0.2);
|
|
494
489
|
box-shadow: 0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);
|
|
495
490
|
}
|
|
@@ -499,11 +494,8 @@ ion-picker-column-internal {
|
|
|
499
494
|
* should have ion-color for text color.
|
|
500
495
|
*/
|
|
501
496
|
:host .calendar-day.calendar-day-today {
|
|
502
|
-
color: var(--ion-color-base);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.calendar-day.calendar-day-today .calendar-day-highlight {
|
|
506
497
|
border: 1px solid var(--ion-color-base);
|
|
498
|
+
color: var(--ion-color-base);
|
|
507
499
|
}
|
|
508
500
|
|
|
509
501
|
/**
|
|
@@ -515,7 +507,7 @@ ion-picker-column-internal {
|
|
|
515
507
|
color: var(--ion-color-contrast);
|
|
516
508
|
}
|
|
517
509
|
|
|
518
|
-
.calendar-day.calendar-day-active
|
|
510
|
+
.calendar-day.calendar-day-active {
|
|
519
511
|
border: 1px solid var(--ion-color-base);
|
|
520
512
|
background: var(--ion-color-base);
|
|
521
513
|
}
|
|
@@ -10,7 +10,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
10
10
|
test.describe(title('datetime: color'), () => {
|
|
11
11
|
test('should not have visual regressions', async ({ page }) => {
|
|
12
12
|
await page.goto('/src/components/datetime/test/color', config);
|
|
13
|
-
const datetime = page.locator('
|
|
13
|
+
const datetime = page.locator('#color-datetime');
|
|
14
14
|
await expect(datetime).toHaveScreenshot(screenshot(`datetime-color`));
|
|
15
15
|
await page.evaluate(() => document.body.classList.toggle('dark'));
|
|
16
16
|
await page.waitForChanges();
|
|
@@ -20,7 +20,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
20
20
|
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-month-year`));
|
|
21
21
|
});
|
|
22
22
|
test('should allow styling time picker in grid style datetimes', async ({ page }) => {
|
|
23
|
-
const timeButton = page.locator('
|
|
23
|
+
const timeButton = page.locator('#custom-grid .time-body');
|
|
24
24
|
const popover = page.locator('.popover-viewport');
|
|
25
25
|
const ionPopoverDidPresent = await page.spyOnEvent('ionPopoverDidPresent');
|
|
26
26
|
await expect(timeButton).toHaveScreenshot(screenshot(`datetime-custom-time-button`));
|
|
@@ -29,5 +29,9 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
|
29
29
|
await expect(popover).toHaveScreenshot(screenshot(`datetime-custom-time-picker`));
|
|
30
30
|
await expect(timeButton).toHaveScreenshot(screenshot(`datetime-custom-time-button-active`));
|
|
31
31
|
});
|
|
32
|
+
test('should allow styling calendar days in grid style datetimes', async ({ page }) => {
|
|
33
|
+
const datetime = page.locator('#custom-calendar-days');
|
|
34
|
+
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-calendar-days`));
|
|
35
|
+
});
|
|
32
36
|
});
|
|
33
37
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { win } from "./browser/index";
|
|
5
|
-
import { raf } from "helpers";
|
|
5
|
+
import { raf } from "./helpers";
|
|
6
6
|
/**
|
|
7
7
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
8
8
|
* content is passed into the slot or when the content inside of a slot changes.
|