@ionic/core 8.0.0-dev.11713893672.15a2b23e → 8.0.0-dev.11713988726.1e82b9a0
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/action-sheet.js +13 -8
- package/components/alert.js +14 -10
- package/components/backdrop.js +10 -6
- package/components/button.js +27 -10
- package/components/buttons.js +10 -6
- package/components/checkbox.js +26 -13
- package/components/data.js +4 -4
- package/components/index4.js +8 -7
- package/components/index6.js +27 -30
- package/components/index7.js +124 -27
- package/components/index8.js +150 -111
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +9 -6
- package/components/ion-accordion.js +30 -9
- package/components/ion-app.js +5 -6
- package/components/ion-avatar.js +9 -2
- package/components/ion-back-button.js +15 -11
- package/components/ion-badge.js +9 -5
- package/components/ion-breadcrumb.js +39 -11
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +9 -5
- package/components/ion-card-header.js +9 -5
- package/components/ion-card-subtitle.js +9 -5
- package/components/ion-card-title.js +9 -5
- package/components/ion-card.js +18 -9
- package/components/ion-chip.js +16 -6
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +14 -12
- package/components/ion-datetime-button.js +9 -6
- package/components/ion-datetime.js +86 -31
- package/components/ion-fab-button.js +31 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +15 -11
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +15 -11
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +12 -8
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +40 -10
- package/components/ion-input.js +38 -13
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +11 -7
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +12 -8
- package/components/ion-menu-button.js +13 -9
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +11 -7
- package/components/ion-modal.js +13 -10
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +7 -6
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +7 -8
- package/components/ion-progress-bar.js +10 -6
- package/components/ion-range.js +11 -8
- package/components/ion-refresher-content.js +9 -8
- package/components/ion-refresher.js +11 -7
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +25 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +2 -2
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +73 -16
- package/components/ion-segment-button.js +12 -8
- package/components/ion-segment.js +9 -5
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +69 -25
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +12 -8
- package/components/ion-tab-bar.js +9 -5
- package/components/ion-tab-button.js +11 -7
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +13 -9
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-title.js +9 -5
- package/components/ion-toast.js +13 -9
- package/components/ion-toggle.js +47 -18
- package/components/ion-toolbar.js +11 -7
- package/components/ionic-global.js +191 -14
- package/components/ios.transition.js +1 -0
- package/components/item.js +32 -11
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +10 -6
- package/components/overlays.js +1 -2
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -150
- package/components/picker-column2.js +4 -4
- package/components/picker.js +8 -4
- package/components/popover.js +11 -8
- package/components/radio-group.js +5 -3
- package/components/radio.js +12 -8
- package/components/ripple-effect.js +5 -5
- package/components/select-popover.js +9 -2
- package/components/spinner.js +6 -6
- package/components/status-tap.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-63aebf89.js → app-globals-afaa9c54.js} +1 -1
- package/dist/cjs/{data-21dc0f81.js → data-99329b16.js} +6 -6
- package/dist/cjs/{hardware-back-button-ad9299b4.js → hardware-back-button-6084a439.js} +1 -1
- package/dist/cjs/{index-5b6a7459.js → index-18f2ba3b.js} +2 -2
- package/dist/cjs/{index-ff66cc7c.js → index-7c699f7b.js} +2 -2
- package/dist/cjs/{index-5cf05f94.js → index-f378621f.js} +13 -12
- package/dist/cjs/index.cjs.js +7 -8
- package/dist/cjs/{input-shims-20d639e6.js → input-shims-077ab038.js} +3 -2
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-1aac63e6.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +38 -14
- package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -11
- package/dist/cjs/ion-alert.cjs.entry.js +16 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +88 -68
- package/dist/cjs/ion-avatar_3.cjs.entry.js +21 -7
- package/dist/cjs/ion-back-button.cjs.entry.js +14 -10
- package/dist/cjs/ion-backdrop.cjs.entry.js +10 -6
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +46 -14
- package/dist/cjs/ion-button_2.cjs.entry.js +30 -13
- package/dist/cjs/ion-card_5.cjs.entry.js +49 -25
- package/dist/cjs/ion-checkbox.cjs.entry.js +23 -12
- package/dist/cjs/ion-chip.cjs.entry.js +14 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +13 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -11
- package/dist/cjs/ion-datetime_3.cjs.entry.js +167 -112
- package/dist/cjs/ion-fab_3.cjs.entry.js +39 -18
- package/dist/cjs/ion-img.cjs.entry.js +5 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +16 -13
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +42 -12
- package/dist/cjs/ion-input.cjs.entry.js +37 -14
- package/dist/cjs/ion-item-option_3.cjs.entry.js +23 -16
- package/dist/cjs/ion-item_8.cjs.entry.js +84 -39
- package/dist/cjs/ion-loading.cjs.entry.js +14 -11
- package/dist/cjs/ion-menu_3.cjs.entry.js +29 -22
- package/dist/cjs/ion-modal.cjs.entry.js +21 -18
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -7
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -148
- package/dist/cjs/ion-picker.cjs.entry.js +8 -4
- package/dist/cjs/ion-popover.cjs.entry.js +17 -14
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -6
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -10
- package/dist/cjs/ion-range.cjs.entry.js +16 -13
- package/dist/cjs/ion-refresher_2.cjs.entry.js +18 -14
- package/dist/cjs/ion-reorder_2.cjs.entry.js +28 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -5
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +72 -15
- package/dist/cjs/ion-segment_2.cjs.entry.js +20 -12
- package/dist/cjs/ion-select_3.cjs.entry.js +82 -29
- package/dist/cjs/ion-spinner.cjs.entry.js +6 -6
- package/dist/cjs/ion-split-pane.cjs.entry.js +12 -8
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +19 -11
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +14 -11
- package/dist/cjs/ion-toast.cjs.entry.js +36 -32
- package/dist/cjs/ion-toggle.cjs.entry.js +46 -17
- package/dist/cjs/ionic-global-2734c454.js +411 -0
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-06673f18.js → ios.transition-07077689.js} +2 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-4d7bb4b1.js → md.transition-a829ffba.js} +1 -1
- package/dist/cjs/{overlays-6487955a.js → overlays-a247b257.js} +3 -4
- package/dist/cjs/{status-tap-0be20572.js → status-tap-870d407b.js} +2 -2
- package/dist/collection/components/accordion/accordion.ios.css +12 -0
- package/dist/collection/components/accordion/accordion.js +34 -15
- package/dist/collection/components/accordion/accordion.md.css +6 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
- package/dist/collection/components/accordion-group/accordion-group.js +11 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
- package/dist/collection/components/action-sheet/action-sheet.js +14 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
- package/dist/collection/components/alert/alert.ios.css +19 -1
- package/dist/collection/components/alert/alert.js +15 -12
- package/dist/collection/components/alert/alert.md.css +19 -1
- package/dist/collection/components/app/app.js +8 -4
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.js +13 -4
- package/dist/collection/components/avatar/avatar.md.css +12 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +14 -11
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +13 -1
- package/dist/collection/components/badge/badge.ios.css +12 -0
- package/dist/collection/components/badge/badge.js +11 -8
- package/dist/collection/components/badge/badge.md.css +12 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +39 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +579 -0
- package/dist/collection/components/button/button.ios.css +23 -5
- package/dist/collection/components/button/button.js +31 -14
- package/dist/collection/components/button/button.md.css +22 -12
- package/dist/collection/components/button/test/clear/button.e2e.js +6 -3
- package/dist/collection/components/button/test/shape/button.e2e.js +88 -0
- package/dist/collection/components/button/test/size/button.e2e.js +18 -1
- package/dist/collection/components/button/test/states/button.e2e.js +51 -0
- package/dist/collection/components/buttons/buttons.ios.css +22 -4
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +18 -0
- package/dist/collection/components/card/card.ionic.css +88 -0
- package/dist/collection/components/card/card.ios.css +16 -3
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +16 -3
- package/dist/collection/components/card/test/shape/card.e2e.js +34 -0
- package/dist/collection/components/card-content/card-content.ios.css +12 -0
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +12 -0
- package/dist/collection/components/card-header/card-header.ios.css +12 -0
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +12 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +12 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +496 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +20 -3
- package/dist/collection/components/checkbox/checkbox.js +58 -13
- package/dist/collection/components/checkbox/checkbox.md.css +21 -4
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +66 -1
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +32 -1
- package/dist/collection/components/chip/chip.ionic.css +133 -0
- package/dist/collection/components/chip/chip.ios.css +6 -0
- package/dist/collection/components/chip/chip.js +33 -8
- package/dist/collection/components/chip/chip.md.css +6 -0
- package/dist/collection/components/chip/test/shape/chip.e2e.js +34 -0
- package/dist/collection/components/chip/test/states/chip.e2e.js +16 -0
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/col/col.js +9 -5
- package/dist/collection/components/content/content.css +8 -2
- package/dist/collection/components/content/content.js +33 -11
- package/dist/collection/components/content/test/content.spec.js +27 -0
- package/dist/collection/components/datetime/datetime.ios.css +15 -3
- package/dist/collection/components/datetime/datetime.js +86 -30
- package/dist/collection/components/datetime/datetime.md.css +15 -3
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -8
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/fab/fab.css +25 -1
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +35 -15
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer.ios.css +14 -2
- package/dist/collection/components/footer/footer.js +17 -14
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header.ios.css +14 -2
- package/dist/collection/components/header/header.js +17 -14
- package/dist/collection/components/header/header.md.css +12 -0
- package/dist/collection/components/img/img.js +8 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ios.css +20 -2
- package/dist/collection/components/input/input.js +55 -14
- package/dist/collection/components/input/input.md.css +42 -4
- package/dist/collection/components/input/test/input.spec.js +13 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +39 -7
- package/dist/collection/components/item/item.ios.css +20 -8
- package/dist/collection/components/item/item.js +36 -16
- package/dist/collection/components/item/item.md.css +31 -7
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ios.css +14 -2
- package/dist/collection/components/item-option/item-option.js +11 -8
- package/dist/collection/components/item-option/item-option.md.css +14 -2
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +8 -4
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.js +11 -8
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +12 -9
- package/dist/collection/components/list/list.md.css +18 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +13 -10
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +15 -3
- package/dist/collection/components/menu/menu.js +12 -7
- package/dist/collection/components/menu/menu.md.css +15 -3
- package/dist/collection/components/menu-button/menu-button.ios.css +16 -4
- package/dist/collection/components/menu-button/menu-button.js +12 -9
- package/dist/collection/components/menu-button/menu-button.md.css +17 -5
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/modal.ios.css +14 -2
- package/dist/collection/components/modal/modal.js +12 -9
- package/dist/collection/components/modal/modal.md.css +14 -2
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +11 -5
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +8 -20
- package/dist/collection/components/picker-column/picker-column.js +8 -153
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
- package/dist/collection/components/picker-legacy/picker.js +7 -6
- package/dist/collection/components/picker-legacy/picker.md.css +13 -1
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/popover/popover.ios.css +13 -1
- package/dist/collection/components/popover/popover.js +15 -12
- package/dist/collection/components/popover/popover.md.css +13 -1
- package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
- package/dist/collection/components/progress-bar/progress-bar.js +10 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
- package/dist/collection/components/radio/radio.ios.css +20 -3
- package/dist/collection/components/radio/radio.js +12 -9
- package/dist/collection/components/radio/radio.md.css +20 -3
- package/dist/collection/components/radio-group/radio-group.js +9 -3
- package/dist/collection/components/range/range.ios.css +12 -0
- package/dist/collection/components/range/range.js +12 -9
- package/dist/collection/components/range/range.md.css +12 -0
- package/dist/collection/components/refresher/refresher.ios.css +14 -1
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +15 -2
- package/dist/collection/components/refresher-content/refresher-content.js +12 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +28 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/ripple-effect.css +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +8 -4
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +4 -0
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +5 -2
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ios.css +14 -2
- package/dist/collection/components/searchbar/searchbar.js +79 -24
- package/dist/collection/components/searchbar/searchbar.md.css +14 -2
- package/dist/collection/components/segment/segment.ios.css +18 -0
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +18 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +16 -4
- package/dist/collection/components/segment-button/segment-button.js +12 -9
- package/dist/collection/components/segment-button/segment-button.md.css +18 -6
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +72 -28
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select-option/select-option.js +9 -2
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.js +12 -4
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/spinner.css +6 -0
- package/dist/collection/components/spinner/spinner.js +10 -6
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +14 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +151 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +18 -0
- package/dist/collection/components/tab-bar/tab-bar.js +12 -9
- package/dist/collection/components/tab-bar/tab-bar.md.css +18 -0
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +34 -0
- package/dist/collection/components/tab-button/tab-button.ionic.css +258 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +15 -3
- package/dist/collection/components/tab-button/tab-button.js +11 -8
- package/dist/collection/components/tab-button/tab-button.md.css +15 -3
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ios.css +26 -1
- package/dist/collection/components/textarea/textarea.js +15 -12
- package/dist/collection/components/textarea/textarea.md.css +39 -2
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ios.css +6 -0
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +6 -0
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +12 -0
- package/dist/collection/components/toast/toast.js +15 -11
- package/dist/collection/components/toast/toast.md.css +12 -0
- package/dist/collection/components/toggle/toggle.ios.css +20 -3
- package/dist/collection/components/toggle/toggle.js +46 -18
- package/dist/collection/components/toggle/toggle.md.css +20 -3
- package/dist/collection/components/toolbar/toolbar.ios.css +14 -2
- package/dist/collection/components/toolbar/toolbar.js +13 -10
- package/dist/collection/components/toolbar/toolbar.md.css +14 -2
- package/dist/collection/css/test/link/basic/link.e2e.js +35 -0
- package/dist/collection/css/test/{a11y → typography/a11y}/typography.e2e.js +1 -1
- package/dist/collection/css/test/typography/basic/typography.e2e.js +90 -0
- package/dist/collection/global/ionic-global.js +161 -13
- package/dist/collection/global/test/ionic-global.spec.js +109 -0
- package/dist/collection/themes/{test → native/test}/colors/theme.e2e.js +1 -1
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +13 -4
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +13 -1
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +3994 -276
- package/dist/esm/{app-globals-b8e5e7fa.js → app-globals-6b65a082.js} +1 -1
- package/dist/esm/{button-active-a411da52.js → button-active-b3a77616.js} +1 -1
- package/dist/esm/{data-ae11fd43.js → data-e73f49e1.js} +4 -4
- package/dist/esm/{hardware-back-button-329c81fd.js → hardware-back-button-7e31a4ae.js} +2 -2
- package/dist/esm/{index-5cc724f3.js → index-55408470.js} +1 -1
- package/dist/esm/{index-10916999.js → index-8137ebe0.js} +9 -8
- package/dist/esm/{index-6e4709ff.js → index-a19e0b91.js} +1 -1
- package/dist/esm/{index-f1f5de26.js → index-bf81c266.js} +3 -3
- package/dist/esm/index.js +8 -9
- package/dist/esm/{input-shims-4530285e.js → input-shims-8453cb67.js} +3 -2
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-8bf2cdac.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +38 -14
- package/dist/esm/ion-action-sheet.entry.js +17 -13
- package/dist/esm/ion-alert.entry.js +18 -15
- package/dist/esm/ion-app_8.entry.js +78 -58
- package/dist/esm/ion-avatar_3.entry.js +22 -8
- package/dist/esm/ion-back-button.entry.js +15 -11
- package/dist/esm/ion-backdrop.entry.js +11 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +47 -15
- package/dist/esm/ion-button_2.entry.js +28 -11
- package/dist/esm/ion-card_5.entry.js +50 -26
- package/dist/esm/ion-checkbox.entry.js +24 -13
- package/dist/esm/ion-chip.entry.js +15 -6
- package/dist/esm/ion-col_3.entry.js +14 -11
- package/dist/esm/ion-datetime-button.entry.js +11 -8
- package/dist/esm/ion-datetime_3.entry.js +99 -44
- package/dist/esm/ion-fab_3.entry.js +40 -19
- package/dist/esm/ion-img.entry.js +6 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +17 -14
- package/dist/esm/ion-input-password-toggle.entry.js +40 -10
- package/dist/esm/ion-input.entry.js +38 -15
- package/dist/esm/ion-item-option_3.entry.js +24 -17
- package/dist/esm/ion-item_8.entry.js +85 -40
- package/dist/esm/ion-loading.entry.js +15 -12
- package/dist/esm/ion-menu_3.entry.js +30 -23
- package/dist/esm/ion-modal.entry.js +17 -14
- package/dist/esm/ion-nav_2.entry.js +10 -8
- package/dist/esm/ion-picker-column-option.entry.js +10 -6
- package/dist/esm/ion-picker-column.entry.js +8 -149
- package/dist/esm/ion-picker.entry.js +9 -5
- package/dist/esm/ion-popover.entry.js +15 -12
- package/dist/esm/ion-progress-bar.entry.js +11 -7
- package/dist/esm/ion-radio_2.entry.js +17 -11
- package/dist/esm/ion-range.entry.js +12 -9
- package/dist/esm/ion-refresher_2.entry.js +19 -15
- package/dist/esm/ion-reorder_2.entry.js +29 -10
- package/dist/esm/ion-ripple-effect.entry.js +6 -6
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +73 -16
- package/dist/esm/ion-segment_2.entry.js +21 -13
- package/dist/esm/ion-select_3.entry.js +83 -30
- package/dist/esm/ion-spinner.entry.js +7 -7
- package/dist/esm/ion-split-pane.entry.js +13 -9
- package/dist/esm/ion-tab-bar_2.entry.js +20 -12
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +15 -12
- package/dist/esm/ion-toast.entry.js +16 -12
- package/dist/esm/ion-toggle.entry.js +47 -18
- package/dist/esm/ionic-global-ccd91ba4.js +401 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-8e181a7e.js → ios.transition-b169aa46.js} +3 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-f1c3c737.js → md.transition-ecde7aa6.js} +2 -2
- package/dist/esm/{overlays-9472c98b.js → overlays-7125a1f5.js} +2 -3
- package/dist/esm/{status-tap-39da9160.js → status-tap-6bfbede6.js} +3 -3
- package/dist/esm-es5/app-globals-6b65a082.js +4 -0
- package/dist/esm-es5/{button-active-a411da52.js → button-active-b3a77616.js} +1 -1
- package/dist/esm-es5/data-e73f49e1.js +4 -0
- package/dist/esm-es5/{hardware-back-button-329c81fd.js → hardware-back-button-7e31a4ae.js} +1 -1
- package/dist/esm-es5/index-55408470.js +4 -0
- package/dist/esm-es5/index-8137ebe0.js +4 -0
- package/dist/esm-es5/{index-6e4709ff.js → index-a19e0b91.js} +1 -1
- package/dist/esm-es5/{index-f1f5de26.js → index-bf81c266.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-8453cb67.js +4 -0
- package/dist/esm-es5/input.utils-8bf2cdac.js +4 -0
- 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-password-toggle.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-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.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-ccd91ba4.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-b169aa46.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-ecde7aa6.js +4 -0
- package/dist/esm-es5/overlays-7125a1f5.js +4 -0
- package/dist/esm-es5/status-tap-6bfbede6.js +4 -0
- package/dist/html.html-data.json +1944 -88
- 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-00e85b08.js +4 -0
- package/dist/ionic/{p-43505ff8.system.entry.js → p-047dbdb1.system.entry.js} +1 -1
- package/dist/ionic/p-053d229a.system.js +4 -0
- package/dist/ionic/p-053d3fb1.entry.js +4 -0
- package/dist/ionic/{p-4dd82d9d.system.js → p-077ebefa.system.js} +1 -1
- package/dist/ionic/p-0817ca20.system.js +4 -0
- package/dist/ionic/{p-3d6e882f.system.entry.js → p-09e29b0f.system.entry.js} +1 -1
- package/dist/ionic/{p-58ea73f7.system.entry.js → p-0a567068.system.entry.js} +1 -1
- package/dist/ionic/p-0a5bb1da.entry.js +4 -0
- package/dist/ionic/p-0a60889a.system.entry.js +4 -0
- package/dist/ionic/p-0b803b36.system.entry.js +4 -0
- package/dist/ionic/p-0cbb7a38.entry.js +4 -0
- package/dist/ionic/p-0d959052.entry.js +4 -0
- package/dist/ionic/p-0ff8a4e7.entry.js +4 -0
- package/dist/ionic/p-1378644b.system.entry.js +4 -0
- package/dist/ionic/{p-17978fce.entry.js → p-13aa82f5.entry.js} +1 -1
- package/dist/ionic/p-14bc1127.entry.js +4 -0
- package/dist/ionic/p-15714c69.system.entry.js +4 -0
- package/dist/ionic/p-15c6083b.system.entry.js +4 -0
- package/dist/ionic/p-16c337e2.entry.js +4 -0
- package/dist/ionic/{p-3040730e.js → p-17f4c151.js} +1 -1
- package/dist/ionic/p-1ad4072e.entry.js +4 -0
- package/dist/ionic/{p-d60342e3.js → p-1b039c87.js} +1 -1
- package/dist/ionic/{p-0c06e09b.system.js → p-1d608fb3.system.js} +1 -1
- package/dist/ionic/p-1fcfcb94.js +4 -0
- package/dist/ionic/{p-71215c1d.system.js → p-2172efcb.system.js} +1 -1
- package/dist/ionic/p-21ee6d54.system.entry.js +4 -0
- package/dist/ionic/p-26a955b2.system.entry.js +4 -0
- package/dist/ionic/p-2bb19623.system.entry.js +4 -0
- package/dist/ionic/p-2e4abd54.entry.js +4 -0
- package/dist/ionic/p-2f0454a4.system.entry.js +4 -0
- package/dist/ionic/{p-fda4872f.entry.js → p-34a79000.entry.js} +1 -1
- package/dist/ionic/p-3dd3cb26.system.entry.js +4 -0
- package/dist/ionic/p-3f073322.system.js +4 -0
- package/dist/ionic/p-41444ceb.entry.js +4 -0
- package/dist/ionic/p-42a60fc6.entry.js +4 -0
- package/dist/ionic/{p-96cc4814.js → p-4c463790.js} +1 -1
- package/dist/ionic/p-4f728192.system.entry.js +4 -0
- package/dist/ionic/p-507bf356.system.entry.js +4 -0
- package/dist/ionic/p-510c8716.entry.js +4 -0
- package/dist/ionic/p-541e2e0a.system.js +4 -0
- package/dist/ionic/p-55882fc4.system.entry.js +4 -0
- package/dist/ionic/p-560b4cfa.entry.js +4 -0
- package/dist/ionic/p-594923b2.entry.js +4 -0
- package/dist/ionic/p-5bef1e83.js +4 -0
- package/dist/ionic/p-5cbdd9e3.entry.js +4 -0
- package/dist/ionic/p-65fe9b29.system.entry.js +4 -0
- package/dist/ionic/p-6bc5f5db.entry.js +4 -0
- package/dist/ionic/p-6bd8a3f8.system.entry.js +4 -0
- package/dist/ionic/p-6bee0fd7.system.entry.js +4 -0
- package/dist/ionic/p-6d2aa487.entry.js +4 -0
- package/dist/ionic/p-6d9b2c33.system.entry.js +4 -0
- package/dist/ionic/p-6eb11291.entry.js +4 -0
- package/dist/ionic/p-73e3a38e.system.js +4 -0
- package/dist/ionic/p-748469e5.entry.js +4 -0
- package/dist/ionic/p-7872a01f.system.entry.js +4 -0
- package/dist/ionic/p-79119dca.system.entry.js +4 -0
- package/dist/ionic/p-7b053f42.system.entry.js +4 -0
- package/dist/ionic/p-7c319cce.entry.js +4 -0
- package/dist/ionic/p-809dc691.system.js +4 -0
- package/dist/ionic/p-8304afaa.js +4 -0
- package/dist/ionic/p-84dfeae5.entry.js +4 -0
- package/dist/ionic/p-864309ff.entry.js +4 -0
- package/dist/ionic/p-899dfb1b.entry.js +4 -0
- package/dist/ionic/p-8c11da86.entry.js +4 -0
- package/dist/ionic/p-8f03847e.system.entry.js +4 -0
- package/dist/ionic/p-9143716d.js +4 -0
- package/dist/ionic/p-91e0fae3.system.entry.js +4 -0
- package/dist/ionic/p-925c3274.system.entry.js +4 -0
- package/dist/ionic/p-9486ad09.entry.js +4 -0
- package/dist/ionic/p-95382987.entry.js +4 -0
- package/dist/ionic/p-958392b3.system.entry.js +4 -0
- package/dist/ionic/p-9a3a8dae.system.entry.js +4 -0
- package/dist/ionic/p-9ade14d0.entry.js +4 -0
- package/dist/ionic/p-9b13de79.js +4 -0
- package/dist/ionic/p-9be416f1.entry.js +4 -0
- package/dist/ionic/p-9c452996.entry.js +4 -0
- package/dist/ionic/p-9e3fc5c4.entry.js +4 -0
- package/dist/ionic/p-9e81053f.system.entry.js +4 -0
- package/dist/ionic/p-9eda6c5d.system.entry.js +4 -0
- package/dist/ionic/p-a16903c4.system.entry.js +4 -0
- package/dist/ionic/p-a35191f4.entry.js +4 -0
- package/dist/ionic/{p-c222f76a.js → p-a3e86f85.js} +1 -1
- package/dist/ionic/p-a4d1b5cc.js +4 -0
- package/dist/ionic/p-a5223322.entry.js +4 -0
- package/dist/ionic/p-a6fbf92e.system.entry.js +4 -0
- package/dist/ionic/p-a7727720.system.entry.js +4 -0
- package/dist/ionic/p-ac8bf1dc.system.entry.js +4 -0
- package/dist/ionic/p-ae5ef403.js +4 -0
- package/dist/ionic/p-b036467b.system.entry.js +4 -0
- package/dist/ionic/p-b18961ff.entry.js +4 -0
- package/dist/ionic/p-b1abddbc.system.entry.js +4 -0
- package/dist/ionic/{p-c1d1d004.system.entry.js → p-b2f88f88.system.entry.js} +1 -1
- package/dist/ionic/p-b61a2062.js +4 -0
- package/dist/ionic/p-b68096c3.js +4 -0
- package/dist/ionic/p-b96df23f.system.entry.js +4 -0
- package/dist/ionic/p-bc302e69.entry.js +4 -0
- package/dist/ionic/p-bfdfa197.system.entry.js +4 -0
- package/dist/ionic/p-c1373383.entry.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-c3db3abe.system.js} +1 -1
- package/dist/ionic/p-c46c441e.system.entry.js +4 -0
- package/dist/ionic/p-c78743ee.entry.js +4 -0
- package/dist/ionic/p-cb1a9f57.system.js +4 -0
- package/dist/ionic/p-cb40aff5.entry.js +4 -0
- package/dist/ionic/p-ccc12f7c.system.js +4 -0
- package/dist/ionic/p-cda2e303.system.entry.js +4 -0
- package/dist/ionic/p-cdc68278.system.entry.js +4 -0
- package/dist/ionic/p-d24eee88.entry.js +4 -0
- package/dist/ionic/p-d26ef51c.system.js +4 -0
- package/dist/ionic/p-d4755af4.entry.js +4 -0
- package/dist/ionic/p-d4fe6131.entry.js +4 -0
- package/dist/ionic/p-da4bd7e1.system.entry.js +4 -0
- package/dist/ionic/p-da907c11.entry.js +4 -0
- package/dist/ionic/p-dba9dc96.entry.js +4 -0
- package/dist/ionic/p-dbc7e0bc.system.entry.js +4 -0
- package/dist/ionic/p-dde515cb.system.entry.js +4 -0
- package/dist/ionic/{p-04070329.system.entry.js → p-dfe87e18.system.entry.js} +1 -1
- package/dist/ionic/p-eb0c6a8b.system.js +4 -0
- package/dist/ionic/p-ec6b6448.entry.js +4 -0
- package/dist/ionic/{p-74a9cafe.system.js → p-ed5175cf.system.js} +2 -2
- package/dist/ionic/p-eed178ea.system.js +4 -0
- package/dist/ionic/p-f5003c30.entry.js +4 -0
- package/dist/ionic/{p-99daf8b7.entry.js → p-f8f6cf70.entry.js} +1 -1
- package/dist/ionic/p-f91ea85e.system.entry.js +4 -0
- package/dist/ionic/p-f9fc539a.system.entry.js +4 -0
- package/dist/ionic/{p-9ad82dba.js → p-fc0aa455.js} +1 -1
- package/dist/ionic/{p-d98c0112.entry.js → p-fdf42961.entry.js} +1 -1
- package/dist/ionic/p-fdfb6054.system.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +13 -2
- package/dist/types/components/accordion-group/accordion-group.d.ts +2 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +4 -0
- package/dist/types/components/avatar/avatar.d.ts +4 -0
- package/dist/types/components/back-button/back-button.d.ts +2 -1
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +2 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +22 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +8 -3
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +6 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +10 -1
- package/dist/types/components/chip/chip.d.ts +6 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +11 -0
- package/dist/types/components/datetime/datetime.d.ts +42 -1
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +14 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +4 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header.d.ts +4 -3
- package/dist/types/components/img/img.d.ts +3 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +17 -2
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +20 -0
- package/dist/types/components/item/item.d.ts +15 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +2 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +2 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/modal-interface.d.ts +3 -7
- package/dist/types/components/modal/modal.d.ts +2 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -36
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/picker-legacy/picker.d.ts +2 -1
- package/dist/types/components/popover/popover-interface.d.ts +3 -7
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +2 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
- package/dist/types/components/reorder/reorder.d.ts +13 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +39 -8
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +26 -5
- package/dist/types/components/select-option/select-option.d.ts +4 -0
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +4 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +3 -2
- package/dist/types/components/tab-button/tab-button.d.ts +2 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +3 -2
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +3 -2
- package/dist/types/components/toggle/toggle.d.ts +22 -1
- package/dist/types/components/toolbar/toolbar.d.ts +4 -3
- package/dist/types/components.d.ts +1240 -168
- package/dist/types/global/ionic-global.d.ts +25 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +99 -2
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.js +1584 -764
- package/package.json +7 -4
- package/components/index9.js +0 -167
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/ionic-global-1adf9bc4.js +0 -230
- package/dist/collection/components/button/test/round/button.e2e.js +0 -52
- package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/ionic-global-c4e0c089.js +0 -224
- package/dist/esm-es5/app-globals-b8e5e7fa.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/index-10916999.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/input-shims-4530285e.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-c4e0c089.js +0 -4
- package/dist/esm-es5/ios.transition-8e181a7e.js +0 -4
- package/dist/esm-es5/md.transition-f1c3c737.js +0 -4
- package/dist/esm-es5/overlays-9472c98b.js +0 -4
- package/dist/esm-es5/status-tap-39da9160.js +0 -4
- package/dist/ionic/p-012cc611.system.entry.js +0 -4
- package/dist/ionic/p-06e58c4e.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-07ae133d.system.entry.js +0 -4
- package/dist/ionic/p-0aa4682e.entry.js +0 -4
- package/dist/ionic/p-0bbb6edf.system.entry.js +0 -4
- package/dist/ionic/p-0ebb1fe7.system.entry.js +0 -4
- package/dist/ionic/p-0f2d99a6.entry.js +0 -4
- package/dist/ionic/p-100bedc4.system.entry.js +0 -4
- package/dist/ionic/p-105f7d62.system.entry.js +0 -4
- package/dist/ionic/p-155f1939.entry.js +0 -4
- package/dist/ionic/p-1672c4fd.system.entry.js +0 -4
- package/dist/ionic/p-18057853.entry.js +0 -4
- package/dist/ionic/p-1c451f69.entry.js +0 -4
- package/dist/ionic/p-1cff9cad.entry.js +0 -4
- package/dist/ionic/p-1f9cdee2.entry.js +0 -4
- package/dist/ionic/p-24a98ee7.entry.js +0 -4
- package/dist/ionic/p-25575222.system.js +0 -4
- package/dist/ionic/p-266fc56e.system.js +0 -4
- package/dist/ionic/p-2e12bda2.entry.js +0 -4
- package/dist/ionic/p-2f6cedaf.system.entry.js +0 -4
- package/dist/ionic/p-3232c4de.entry.js +0 -4
- package/dist/ionic/p-352f7037.system.entry.js +0 -4
- package/dist/ionic/p-35722bba.system.entry.js +0 -4
- package/dist/ionic/p-35b9e842.entry.js +0 -4
- package/dist/ionic/p-37a63e79.system.entry.js +0 -4
- package/dist/ionic/p-3c70b01b.entry.js +0 -4
- package/dist/ionic/p-3e3b34f7.system.entry.js +0 -4
- package/dist/ionic/p-3f70bfba.entry.js +0 -4
- package/dist/ionic/p-4196b2d1.system.entry.js +0 -4
- package/dist/ionic/p-4429fc97.system.entry.js +0 -4
- package/dist/ionic/p-46111310.js +0 -4
- package/dist/ionic/p-46f407f0.system.js +0 -4
- package/dist/ionic/p-49b6fee0.system.entry.js +0 -4
- package/dist/ionic/p-4a615fea.entry.js +0 -4
- package/dist/ionic/p-5033128d.system.js +0 -4
- package/dist/ionic/p-510578f3.system.entry.js +0 -4
- package/dist/ionic/p-51b68ec9.system.entry.js +0 -4
- package/dist/ionic/p-51ff648c.entry.js +0 -4
- package/dist/ionic/p-5270f8e8.entry.js +0 -4
- package/dist/ionic/p-546433d2.js +0 -4
- package/dist/ionic/p-54f76ced.js +0 -4
- package/dist/ionic/p-56c3b69c.entry.js +0 -4
- package/dist/ionic/p-587258c0.system.entry.js +0 -4
- package/dist/ionic/p-596e0cf8.system.entry.js +0 -4
- package/dist/ionic/p-5ae49f12.entry.js +0 -4
- package/dist/ionic/p-5b1273f4.system.entry.js +0 -4
- package/dist/ionic/p-5d3f6707.entry.js +0 -4
- package/dist/ionic/p-5da04d11.entry.js +0 -4
- package/dist/ionic/p-5e7c32e8.system.entry.js +0 -4
- package/dist/ionic/p-5fa8587e.system.entry.js +0 -4
- package/dist/ionic/p-6771c0a9.system.entry.js +0 -4
- package/dist/ionic/p-68a1e274.system.entry.js +0 -4
- package/dist/ionic/p-6994c97a.js +0 -4
- package/dist/ionic/p-69bc14fd.entry.js +0 -4
- package/dist/ionic/p-6a7eac5a.js +0 -4
- package/dist/ionic/p-6f4db5ce.system.entry.js +0 -4
- package/dist/ionic/p-71688099.system.entry.js +0 -4
- package/dist/ionic/p-716ab5f8.system.entry.js +0 -4
- package/dist/ionic/p-75cddcc9.js +0 -4
- package/dist/ionic/p-7d9eefb3.system.js +0 -4
- package/dist/ionic/p-7fc505bf.entry.js +0 -4
- package/dist/ionic/p-83321ee8.entry.js +0 -4
- package/dist/ionic/p-83b070b7.entry.js +0 -4
- package/dist/ionic/p-88cff52d.entry.js +0 -4
- package/dist/ionic/p-896111fa.entry.js +0 -4
- package/dist/ionic/p-89b59bd7.entry.js +0 -4
- package/dist/ionic/p-8bd567ba.system.entry.js +0 -4
- package/dist/ionic/p-8e9ac22d.entry.js +0 -4
- package/dist/ionic/p-92e46b28.system.entry.js +0 -4
- package/dist/ionic/p-9540561f.entry.js +0 -4
- package/dist/ionic/p-9d7fc908.system.js +0 -4
- package/dist/ionic/p-9ea607bd.system.js +0 -4
- package/dist/ionic/p-a1b4e619.system.entry.js +0 -4
- package/dist/ionic/p-a7ba2dcc.system.js +0 -4
- package/dist/ionic/p-a8f02173.system.js +0 -4
- package/dist/ionic/p-aa110ca0.system.entry.js +0 -4
- package/dist/ionic/p-aa682cb9.system.entry.js +0 -4
- package/dist/ionic/p-ab85debb.entry.js +0 -4
- package/dist/ionic/p-ac4e2a74.system.entry.js +0 -4
- package/dist/ionic/p-ac9f44a8.system.entry.js +0 -4
- package/dist/ionic/p-c04d5a75.entry.js +0 -4
- package/dist/ionic/p-c41af68a.entry.js +0 -4
- package/dist/ionic/p-c478747f.system.js +0 -4
- package/dist/ionic/p-c80d05c9.js +0 -4
- package/dist/ionic/p-c8f2b769.entry.js +0 -4
- package/dist/ionic/p-c99ccdc9.entry.js +0 -4
- package/dist/ionic/p-c9c39c98.system.entry.js +0 -4
- package/dist/ionic/p-cae889f9.entry.js +0 -4
- package/dist/ionic/p-d2544865.system.js +0 -4
- package/dist/ionic/p-d45c59a6.system.entry.js +0 -4
- package/dist/ionic/p-d5f48185.system.entry.js +0 -4
- package/dist/ionic/p-d79542bd.system.js +0 -4
- package/dist/ionic/p-d8067ea4.system.entry.js +0 -4
- package/dist/ionic/p-d8f66669.entry.js +0 -4
- package/dist/ionic/p-dc1372e0.entry.js +0 -4
- package/dist/ionic/p-df48edd6.entry.js +0 -4
- package/dist/ionic/p-df6fa126.entry.js +0 -4
- package/dist/ionic/p-e8a0e731.entry.js +0 -4
- package/dist/ionic/p-e955bf61.entry.js +0 -4
- package/dist/ionic/p-ea2c16b5.system.entry.js +0 -4
- package/dist/ionic/p-f0392d49.entry.js +0 -4
- package/dist/ionic/p-f4cb521c.js +0 -4
- package/dist/ionic/p-f818b01a.entry.js +0 -4
- package/dist/ionic/p-f94cbfe9.js +0 -4
- package/dist/ionic/p-fab4ecad.system.entry.js +0 -4
- package/dist/ionic/p-fb02eeec.system.entry.js +0 -4
- package/dist/ionic/p-fb97326f.system.entry.js +0 -4
- package/dist/ionic/p-fbd30ec7.entry.js +0 -4
- package/dist/ionic/p-ff2323ba.system.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
package/components/ion-chip.js
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
6
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
8
8
|
|
|
9
|
+
const chipIonicCss = ":host{--background:var(--ionic-color-neutral-10, #f5f5f5);--border-color:transparent;--border-radius:var(--ionic-border-radius-rounded-small, 4px);--color:var(--ionic-color-neutral-900, #05080f);--focus-ring-color:#9ec4fd;--focus-ring-width:var(--ionic-border-size-medium, 2px);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--ionic-space-xxs, 6px);padding-inline-start:var(--ionic-space-xxs, 6px);-webkit-padding-end:var(--ionic-space-xxs, 6px);padding-inline-end:var(--ionic-space-xxs, 6px);padding-top:var(--ionic-space-xs, 8px);padding-bottom:var(--ionic-space-xs, 8px);border-radius:var(--border-radius);display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--ionic-space-xxxs, 4px);min-height:32px;border-width:var(--ionic-border-size-small, 1px);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-family:var(--ionic-font-family, \"Inter\", sans-serif);font-size:var(--ionic-font-size-m, 14px);font-weight:var(--ionic-font-weight-medium, 500);line-height:var(--ionic-font-line-height-full, 100%);cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}:host(.chip-outline){--background:transparent;border-color:var(--ionic-color-neutral-100, #dadada)}:host(.ion-focused){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-width)}@media (any-hover: hover){:host(:hover){--background:rgba(5, 8, 15, 0.16)}}:host(.chip-disabled){opacity:0.6;pointer-events:none}:host(.chip-round){--border-radius:var(--ionic-border-radius-rounded-large, 16px)}:host(.chip-rectangular){--border-radius:var(--ionic-border-radius-square, 0)}::slotted(ion-icon){font-size:var(--ionic-font-size-l, 16px)}";
|
|
10
|
+
const IonChipIonicStyle0 = chipIonicCss;
|
|
11
|
+
|
|
9
12
|
const chipIosCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}";
|
|
10
13
|
const IonChipIosStyle0 = chipIosCss;
|
|
11
14
|
|
|
@@ -20,24 +23,31 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
|
20
23
|
this.color = undefined;
|
|
21
24
|
this.outline = false;
|
|
22
25
|
this.disabled = false;
|
|
26
|
+
this.shape = undefined;
|
|
23
27
|
}
|
|
24
28
|
render() {
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
const { shape } = this;
|
|
30
|
+
const theme = getIonTheme(this);
|
|
31
|
+
return (h(Host, { key: '0bc44676ec03a18e21231b70f5f30bb27c6e54de', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
32
|
+
[theme]: true,
|
|
33
|
+
// TODO(FW-6120): remove the theme==='ionic' when we add support for the `ios` and `md` modes.
|
|
34
|
+
[`chip-${shape}`]: theme === 'ionic' && shape !== undefined,
|
|
28
35
|
'chip-outline': this.outline,
|
|
29
36
|
'chip-disabled': this.disabled,
|
|
30
37
|
'ion-activatable': true,
|
|
31
|
-
|
|
38
|
+
'ion-focusable': !this.disabled,
|
|
39
|
+
}) }, h("slot", { key: 'f83ce18088eea6adcfd6641b9d9e4d12dee079d1' }), theme === 'md' && h("ion-ripple-effect", null)));
|
|
32
40
|
}
|
|
33
41
|
static get style() { return {
|
|
42
|
+
ionic: IonChipIonicStyle0,
|
|
34
43
|
ios: IonChipIosStyle0,
|
|
35
44
|
md: IonChipMdStyle0
|
|
36
45
|
}; }
|
|
37
46
|
}, [33, "ion-chip", {
|
|
38
47
|
"color": [513],
|
|
39
48
|
"outline": [4],
|
|
40
|
-
"disabled": [4]
|
|
49
|
+
"disabled": [4],
|
|
50
|
+
"shape": [1]
|
|
41
51
|
}]);
|
|
42
52
|
function defineCustomElement$1() {
|
|
43
53
|
if (typeof customElements === "undefined") {
|
package/components/ion-col.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import {
|
|
5
|
+
import { d as getIonTheme } from './ionic-global.js';
|
|
6
6
|
|
|
7
7
|
const SIZE_TO_MEDIA = {
|
|
8
8
|
xs: '(min-width: 0px)',
|
|
@@ -137,10 +137,10 @@ const Col = /*@__PURE__*/ proxyCustomElement(class Col extends HTMLElement {
|
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
139
|
const isRTL = document.dir === 'rtl';
|
|
140
|
-
const
|
|
141
|
-
return (h(Host, { key: '
|
|
142
|
-
[
|
|
143
|
-
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: '
|
|
140
|
+
const theme = getIonTheme(this);
|
|
141
|
+
return (h(Host, { key: '10ac8290295f8b717c4155b1bf4fa07fe11f090d', class: {
|
|
142
|
+
[theme]: true,
|
|
143
|
+
}, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", { key: '6f86eafa8d585815f19abcf52678ab6e8cebb8f5' })));
|
|
144
144
|
}
|
|
145
145
|
static get style() { return IonColStyle0; }
|
|
146
146
|
}, [1, "ion-col", {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, Build, readTask, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { j as hasLazyBuild, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { a as isPlatform, d as getIonTheme, b as getIonMode } from './ionic-global.js';
|
|
7
7
|
import { i as isRTL } from './dir.js';
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
9
9
|
|
|
10
|
-
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{
|
|
10
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{right:0px;left:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
|
|
11
11
|
const IonContentStyle0 = contentCss;
|
|
12
12
|
|
|
13
13
|
const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLElement {
|
|
@@ -50,6 +50,7 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
50
50
|
};
|
|
51
51
|
this.color = undefined;
|
|
52
52
|
this.fullscreen = false;
|
|
53
|
+
this.fixedSlotPlacement = 'after';
|
|
53
54
|
this.forceOverscroll = undefined;
|
|
54
55
|
this.scrollX = false;
|
|
55
56
|
this.scrollY = true;
|
|
@@ -144,9 +145,8 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
144
145
|
this.resize();
|
|
145
146
|
}, 100);
|
|
146
147
|
}
|
|
147
|
-
shouldForceOverscroll() {
|
|
148
|
+
shouldForceOverscroll(mode) {
|
|
148
149
|
const { forceOverscroll } = this;
|
|
149
|
-
const mode = getIonMode(this);
|
|
150
150
|
return forceOverscroll === undefined ? mode === 'ios' && isPlatform('ios') : forceOverscroll;
|
|
151
151
|
}
|
|
152
152
|
resize() {
|
|
@@ -331,32 +331,34 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
render() {
|
|
334
|
-
const { isMainContent, scrollX, scrollY, el } = this;
|
|
334
|
+
const { fixedSlotPlacement, isMainContent, scrollX, scrollY, el } = this;
|
|
335
335
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
336
|
-
const
|
|
337
|
-
const
|
|
338
|
-
const
|
|
336
|
+
const theme = getIonTheme(this);
|
|
337
|
+
const mode = getIonMode(this, theme);
|
|
338
|
+
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
339
|
+
const transitionShadow = theme === 'ios';
|
|
339
340
|
this.resize();
|
|
340
|
-
return (h(Host, { key: '
|
|
341
|
-
[
|
|
341
|
+
return (h(Host, { key: '6f0eb3ee14b1d34bd84727e068ad52eb900a9638', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
342
|
+
[theme]: true,
|
|
342
343
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
343
344
|
overscroll: forceOverscroll,
|
|
344
345
|
[`content-${rtl}`]: true,
|
|
345
346
|
}), style: {
|
|
346
347
|
'--offset-top': `${this.cTop}px`,
|
|
347
348
|
'--offset-bottom': `${this.cBottom}px`,
|
|
348
|
-
} }, h("div", { key: '
|
|
349
|
+
} }, h("div", { key: '74ce3ef67dd9ba40dbc29a6583647d711ca038d0', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '6aa93d33fa15184e6bce468f568892bdc27ea2d8', class: {
|
|
349
350
|
'inner-scroll': true,
|
|
350
351
|
'scroll-x': scrollX,
|
|
351
352
|
'scroll-y': scrollY,
|
|
352
353
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
353
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
354
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '90cb76d98d1596cdb22854117725b66050e25020' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
354
355
|
}
|
|
355
356
|
get el() { return this; }
|
|
356
357
|
static get style() { return IonContentStyle0; }
|
|
357
358
|
}, [1, "ion-content", {
|
|
358
359
|
"color": [513],
|
|
359
360
|
"fullscreen": [4],
|
|
361
|
+
"fixedSlotPlacement": [1, "fixed-slot-placement"],
|
|
360
362
|
"forceOverscroll": [1028, "force-overscroll"],
|
|
361
363
|
"scrollX": [4, "scroll-x"],
|
|
362
364
|
"scrollY": [4, "scroll-y"],
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { a as addEventListener, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { e as printIonError, d as getIonTheme } from './ionic-global.js';
|
|
7
7
|
import { c as createColorClasses } from './theme.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
8
|
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data.js';
|
|
10
9
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
11
10
|
|
|
11
|
+
const ionicDatetimeButtonMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;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:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}";
|
|
12
|
+
const IonDatetimeButtonIonicStyle0 = ionicDatetimeButtonMdCss;
|
|
13
|
+
|
|
12
14
|
const datetimeButtonIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;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:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}";
|
|
13
15
|
const IonDatetimeButtonIosStyle0 = datetimeButtonIosCss;
|
|
14
16
|
|
|
@@ -336,15 +338,16 @@ const DatetimeButton = /*@__PURE__*/ proxyCustomElement(class DatetimeButton ext
|
|
|
336
338
|
}
|
|
337
339
|
render() {
|
|
338
340
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
339
|
-
const
|
|
340
|
-
return (h(Host, { key: '
|
|
341
|
-
[
|
|
341
|
+
const theme = getIonTheme(this);
|
|
342
|
+
return (h(Host, { key: '537be5fa301c4a9c9aab52d115531552430c8ce1', class: createColorClasses(color, {
|
|
343
|
+
[theme]: true,
|
|
342
344
|
[`${selectedButton}-active`]: datetimeActive,
|
|
343
345
|
['datetime-button-disabled']: disabled,
|
|
344
|
-
}) }, dateText && (h("button", { class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { name: "date-target" }, dateText),
|
|
346
|
+
}) }, dateText && (h("button", { class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", null))), timeText && (h("button", { class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", null)))));
|
|
345
347
|
}
|
|
346
348
|
get el() { return this; }
|
|
347
349
|
static get style() { return {
|
|
350
|
+
ionic: IonDatetimeButtonIonicStyle0,
|
|
348
351
|
ios: IonDatetimeButtonIosStyle0,
|
|
349
352
|
md: IonDatetimeButtonMdStyle0
|
|
350
353
|
}; }
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { startFocusVisible } from './focus-visible.js';
|
|
6
6
|
import { r as raf, e as renderHiddenInput, g as getElementRoot } from './helpers.js';
|
|
7
|
-
import {
|
|
7
|
+
import { e as printIonError, p as printIonWarning, b as getIonMode, c as config, d as getIonTheme } from './ionic-global.js';
|
|
8
8
|
import { i as isRTL } from './dir.js';
|
|
9
9
|
import { c as createColorClasses } from './theme.js';
|
|
10
|
-
import {
|
|
11
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
10
|
+
import { f as chevronForward, a as chevronBack, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './index6.js';
|
|
12
11
|
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, 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 convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getMonthAndYear, J as getDaysOfWeek, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data.js';
|
|
13
12
|
import { d as defineCustomElement$a } from './backdrop.js';
|
|
14
13
|
import { d as defineCustomElement$9 } from './button.js';
|
|
@@ -229,10 +228,13 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
229
228
|
}
|
|
230
229
|
};
|
|
231
230
|
|
|
232
|
-
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: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{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}: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{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 .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%}";
|
|
231
|
+
const ionicDatetimeMdCss = ":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: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{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::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;-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{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}: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}";
|
|
232
|
+
const IonDatetimeIonicStyle0 = ionicDatetimeMdCss;
|
|
233
|
+
|
|
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-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: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{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::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;-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{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}: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{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 .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
235
|
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
234
236
|
|
|
235
|
-
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: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-
|
|
237
|
+
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: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{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::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;-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{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}: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}";
|
|
236
238
|
const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
237
239
|
|
|
238
240
|
const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLElement {
|
|
@@ -289,10 +291,10 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
289
291
|
const { activeParts } = this;
|
|
290
292
|
return Array.isArray(activeParts) ? activeParts[0] : activeParts;
|
|
291
293
|
};
|
|
292
|
-
this.closeParentOverlay = () => {
|
|
294
|
+
this.closeParentOverlay = (role) => {
|
|
293
295
|
const popoverOrModal = this.el.closest('ion-modal, ion-popover');
|
|
294
296
|
if (popoverOrModal) {
|
|
295
|
-
popoverOrModal.dismiss();
|
|
297
|
+
popoverOrModal.dismiss(undefined, role);
|
|
296
298
|
}
|
|
297
299
|
};
|
|
298
300
|
this.setWorkingParts = (parts) => {
|
|
@@ -962,7 +964,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
962
964
|
}
|
|
963
965
|
}
|
|
964
966
|
if (closeOverlay) {
|
|
965
|
-
this.closeParentOverlay();
|
|
967
|
+
this.closeParentOverlay(CONFIRM_ROLE);
|
|
966
968
|
}
|
|
967
969
|
}
|
|
968
970
|
/**
|
|
@@ -982,7 +984,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
982
984
|
async cancel(closeOverlay = false) {
|
|
983
985
|
this.ionCancel.emit();
|
|
984
986
|
if (closeOverlay) {
|
|
985
|
-
this.closeParentOverlay();
|
|
987
|
+
this.closeParentOverlay(CANCEL_ROLE);
|
|
986
988
|
}
|
|
987
989
|
}
|
|
988
990
|
get isCalendarPicker() {
|
|
@@ -1294,7 +1296,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1294
1296
|
const todayString = workingParts.day !== null
|
|
1295
1297
|
? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
|
|
1296
1298
|
: `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
|
|
1297
|
-
return (h("ion-picker-column", {
|
|
1299
|
+
return (h("ion-picker-column", { class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1298
1300
|
const { value } = ev.detail;
|
|
1299
1301
|
const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
|
|
1300
1302
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
|
|
@@ -1369,7 +1371,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1369
1371
|
const { disabled, workingParts } = this;
|
|
1370
1372
|
const activePart = this.getActivePartsWithFallback();
|
|
1371
1373
|
const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
|
|
1372
|
-
return (h("ion-picker-column", {
|
|
1374
|
+
return (h("ion-picker-column", { class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1373
1375
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
|
|
1374
1376
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
|
|
1375
1377
|
ev.stopPropagation();
|
|
@@ -1381,7 +1383,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1381
1383
|
}
|
|
1382
1384
|
const { disabled, workingParts } = this;
|
|
1383
1385
|
const activePart = this.getActivePartsWithFallback();
|
|
1384
|
-
return (h("ion-picker-column", {
|
|
1386
|
+
return (h("ion-picker-column", { class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1385
1387
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
|
|
1386
1388
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
|
|
1387
1389
|
ev.stopPropagation();
|
|
@@ -1393,7 +1395,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1393
1395
|
}
|
|
1394
1396
|
const { disabled, workingParts } = this;
|
|
1395
1397
|
const activePart = this.getActivePartsWithFallback();
|
|
1396
|
-
return (h("ion-picker-column", {
|
|
1398
|
+
return (h("ion-picker-column", { class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1397
1399
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
|
|
1398
1400
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
|
|
1399
1401
|
ev.stopPropagation();
|
|
@@ -1426,7 +1428,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1426
1428
|
if (hoursData.length === 0)
|
|
1427
1429
|
return [];
|
|
1428
1430
|
const activePart = this.getActivePartsWithFallback();
|
|
1429
|
-
return (h("ion-picker-column", {
|
|
1431
|
+
return (h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1430
1432
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1431
1433
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1432
1434
|
ev.stopPropagation();
|
|
@@ -1437,7 +1439,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1437
1439
|
if (minutesData.length === 0)
|
|
1438
1440
|
return [];
|
|
1439
1441
|
const activePart = this.getActivePartsWithFallback();
|
|
1440
|
-
return (h("ion-picker-column", {
|
|
1442
|
+
return (h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1441
1443
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1442
1444
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1443
1445
|
ev.stopPropagation();
|
|
@@ -1450,7 +1452,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1450
1452
|
}
|
|
1451
1453
|
const activePart = this.getActivePartsWithFallback();
|
|
1452
1454
|
const isDayPeriodRTL = isLocaleDayPeriodRTL(this.locale);
|
|
1453
|
-
return (h("ion-picker-column", {
|
|
1455
|
+
return (h("ion-picker-column", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1454
1456
|
const hour = calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1455
1457
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1456
1458
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
@@ -1468,10 +1470,8 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1468
1470
|
/**
|
|
1469
1471
|
* Grid Render Methods
|
|
1470
1472
|
*/
|
|
1471
|
-
renderCalendarHeader(
|
|
1472
|
-
const { disabled } = this;
|
|
1473
|
-
const expandedIcon = mode === 'ios' ? chevronDown : caretUpSharp;
|
|
1474
|
-
const collapsedIcon = mode === 'ios' ? chevronForward : caretDownSharp;
|
|
1473
|
+
renderCalendarHeader(theme) {
|
|
1474
|
+
const { disabled, datetimeNextIcon, datetimePrevIcon, datetimeShowMonthYearIcon, datetimeHideMonthYearIcon } = this;
|
|
1475
1475
|
const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
|
|
1476
1476
|
const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1477
1477
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
@@ -1480,7 +1480,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1480
1480
|
'calendar-month-year-toggle': true,
|
|
1481
1481
|
'ion-activatable': true,
|
|
1482
1482
|
'ion-focusable': true,
|
|
1483
|
-
}, 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 ?
|
|
1483
|
+
}, 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 ? datetimeShowMonthYearIcon : datetimeHideMonthYearIcon, lazy: false, flipRtl: true })), theme === '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() }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimePrevIcon, lazy: false, flipRtl: true })), h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, 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" }, getDaysOfWeek(this.locale, theme, this.firstDayOfWeek % 7).map((d) => {
|
|
1484
1484
|
return h("div", { class: "day-of-week" }, d);
|
|
1485
1485
|
}))));
|
|
1486
1486
|
}
|
|
@@ -1600,8 +1600,8 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1600
1600
|
return this.renderMonth(month, year);
|
|
1601
1601
|
})));
|
|
1602
1602
|
}
|
|
1603
|
-
renderCalendar(
|
|
1604
|
-
return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(
|
|
1603
|
+
renderCalendar(theme) {
|
|
1604
|
+
return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(theme), this.renderCalendarBody()));
|
|
1605
1605
|
}
|
|
1606
1606
|
renderTimeLabel() {
|
|
1607
1607
|
const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
|
|
@@ -1709,7 +1709,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1709
1709
|
* Render entry point
|
|
1710
1710
|
* All presentation types are rendered from here.
|
|
1711
1711
|
*/
|
|
1712
|
-
renderDatetime(
|
|
1712
|
+
renderDatetime(theme) {
|
|
1713
1713
|
const { presentation, preferWheel } = this;
|
|
1714
1714
|
/**
|
|
1715
1715
|
* Certain presentation types have separate grid and wheel displays.
|
|
@@ -1723,7 +1723,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1723
1723
|
case 'date-time':
|
|
1724
1724
|
return [
|
|
1725
1725
|
this.renderHeader(),
|
|
1726
|
-
this.renderCalendar(
|
|
1726
|
+
this.renderCalendar(theme),
|
|
1727
1727
|
this.renderCalendarViewMonthYearPicker(),
|
|
1728
1728
|
this.renderTime(),
|
|
1729
1729
|
this.renderFooter(),
|
|
@@ -1732,7 +1732,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1732
1732
|
return [
|
|
1733
1733
|
this.renderHeader(),
|
|
1734
1734
|
this.renderTime(),
|
|
1735
|
-
this.renderCalendar(
|
|
1735
|
+
this.renderCalendar(theme),
|
|
1736
1736
|
this.renderCalendarViewMonthYearPicker(),
|
|
1737
1737
|
this.renderFooter(),
|
|
1738
1738
|
];
|
|
@@ -1745,23 +1745,75 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1745
1745
|
default:
|
|
1746
1746
|
return [
|
|
1747
1747
|
this.renderHeader(),
|
|
1748
|
-
this.renderCalendar(
|
|
1748
|
+
this.renderCalendar(theme),
|
|
1749
1749
|
this.renderCalendarViewMonthYearPicker(),
|
|
1750
1750
|
this.renderFooter(),
|
|
1751
1751
|
];
|
|
1752
1752
|
}
|
|
1753
1753
|
}
|
|
1754
|
+
/**
|
|
1755
|
+
* Get the icon to use for the next icon.
|
|
1756
|
+
* If an icon is set on the component, use that.
|
|
1757
|
+
* Otherwise, use the icon set in the config.
|
|
1758
|
+
* If no icon is set in the config, use the default icon.
|
|
1759
|
+
*
|
|
1760
|
+
* @internal
|
|
1761
|
+
* @returns {string} The icon to use for the next icon.
|
|
1762
|
+
*/
|
|
1763
|
+
get datetimeNextIcon() {
|
|
1764
|
+
return config.get('datetimeNextIcon', chevronForward);
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Get the icon to use for the previous icon.
|
|
1768
|
+
* If an icon is set on the component, use that.
|
|
1769
|
+
* Otherwise, use the icon set in the config.
|
|
1770
|
+
* If no icon is set in the config, use the default icon.
|
|
1771
|
+
*
|
|
1772
|
+
* @internal
|
|
1773
|
+
* @returns {string} The icon to use for the previous icon.
|
|
1774
|
+
*/
|
|
1775
|
+
get datetimePrevIcon() {
|
|
1776
|
+
return config.get('datetimePrevIcon', chevronBack);
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* Get the icon to use for the show month and year icon.
|
|
1780
|
+
* If an icon is set on the component, use that.
|
|
1781
|
+
* Otherwise, use the icon set in the config.
|
|
1782
|
+
* If no icon is set in the config, use the default icon.
|
|
1783
|
+
*
|
|
1784
|
+
* @internal
|
|
1785
|
+
* @returns {string} The icon to use for the show month and year icon.
|
|
1786
|
+
*/
|
|
1787
|
+
get datetimeShowMonthYearIcon() {
|
|
1788
|
+
const theme = getIonTheme(this);
|
|
1789
|
+
const expandedIcon = theme === 'ios' ? chevronDown : caretUpSharp;
|
|
1790
|
+
return config.get('datetimeShowMonthYearIcon', expandedIcon);
|
|
1791
|
+
}
|
|
1792
|
+
/**
|
|
1793
|
+
* Get the icon to use for the hide month and year icon.
|
|
1794
|
+
* If an icon is set on the component, use that.
|
|
1795
|
+
* Otherwise, use the icon set in the config.
|
|
1796
|
+
* If no icon is set in the config, use the default icon.
|
|
1797
|
+
*
|
|
1798
|
+
* @internal
|
|
1799
|
+
* @returns {string} The icon to use for the hide month and year icon.
|
|
1800
|
+
*/
|
|
1801
|
+
get datetimeHideMonthYearIcon() {
|
|
1802
|
+
const theme = getIonTheme(this);
|
|
1803
|
+
const collapsedIcon = theme === 'ios' ? chevronForward : caretDownSharp;
|
|
1804
|
+
return config.get('datetimeHideMonthYearIcon', collapsedIcon);
|
|
1805
|
+
}
|
|
1754
1806
|
render() {
|
|
1755
1807
|
const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
|
|
1756
|
-
const
|
|
1808
|
+
const theme = getIonTheme(this);
|
|
1757
1809
|
const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
|
|
1758
1810
|
const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
|
|
1759
1811
|
const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
|
|
1760
1812
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1761
1813
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1762
1814
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1763
|
-
return (h(Host, { key: '
|
|
1764
|
-
[
|
|
1815
|
+
return (h(Host, { key: 'ccef12d80693b6a7133fd53d1557b9db2f3e2d74', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1816
|
+
[theme]: true,
|
|
1765
1817
|
['datetime-readonly']: readonly,
|
|
1766
1818
|
['datetime-disabled']: disabled,
|
|
1767
1819
|
'show-month-and-year': shouldShowMonthAndYear,
|
|
@@ -1770,7 +1822,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1770
1822
|
[`datetime-size-${size}`]: true,
|
|
1771
1823
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1772
1824
|
[`datetime-grid`]: isGridStyle,
|
|
1773
|
-
})) }, h("div", { key: '
|
|
1825
|
+
})) }, h("div", { key: 'c00a1c872e14e47a21ad87e3954eab5a531d41eb', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
1774
1826
|
}
|
|
1775
1827
|
get el() { return this; }
|
|
1776
1828
|
static get watchers() { return {
|
|
@@ -1787,6 +1839,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1787
1839
|
"value": ["valueChanged"]
|
|
1788
1840
|
}; }
|
|
1789
1841
|
static get style() { return {
|
|
1842
|
+
ionic: IonDatetimeIonicStyle0,
|
|
1790
1843
|
ios: IonDatetimeIosStyle0,
|
|
1791
1844
|
md: IonDatetimeMdStyle0
|
|
1792
1845
|
}; }
|
|
@@ -1843,6 +1896,8 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1843
1896
|
"value": ["valueChanged"]
|
|
1844
1897
|
}]);
|
|
1845
1898
|
let datetimeIds = 0;
|
|
1899
|
+
const CANCEL_ROLE = 'datetime-cancel';
|
|
1900
|
+
const CONFIRM_ROLE = 'datetime-confirm';
|
|
1846
1901
|
const WHEEL_ITEM_PART = 'wheel-item';
|
|
1847
1902
|
const WHEEL_ITEM_ACTIVE_PART = `active`;
|
|
1848
1903
|
function defineCustomElement$1() {
|