@ionic/core 8.4.0 → 8.4.1-dev.11730807985.1b046f37
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 +15 -10
- package/components/animation.js +1 -1
- package/components/backdrop.js +10 -6
- package/components/button.js +41 -11
- package/components/buttons.js +11 -7
- package/components/capacitor.js +1 -1
- package/components/caret-down.js +6 -0
- package/components/caret-left.js +6 -0
- package/components/caret-right.js +6 -0
- package/components/checkbox.js +29 -12
- package/components/config2.js +79 -0
- package/components/content.js +14 -12
- package/components/data.js +4 -4
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/header.js +24 -15
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -2
- package/components/index4.js +8 -9
- package/components/index5.js +27 -3
- package/components/index6.js +114 -20
- package/components/index7.js +163 -27
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +25 -6
- package/components/ion-accordion.js +36 -17
- package/components/ion-app.js +9 -77
- package/components/ion-avatar.js +52 -3
- package/components/ion-back-button.js +29 -19
- package/components/ion-badge.js +44 -8
- package/components/ion-breadcrumb.js +45 -11
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +11 -7
- 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 +17 -9
- package/components/ion-chip.js +45 -8
- package/components/ion-col.js +5 -5
- package/components/ion-datetime-button.js +9 -6
- package/components/ion-datetime.js +96 -20
- package/components/ion-fab-button.js +33 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +18 -12
- package/components/ion-grid.js +5 -5
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +13 -8
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +53 -14
- package/components/ion-input.js +118 -20
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +28 -8
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +13 -8
- package/components/ion-menu-button.js +28 -10
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +12 -8
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +8 -6
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +7 -8
- package/components/ion-progress-bar.js +11 -6
- package/components/ion-range.js +11 -8
- package/components/ion-refresher-content.js +28 -9
- package/components/ion-refresher.js +11 -7
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +31 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +4 -3
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +93 -16
- package/components/ion-segment-button.js +11 -7
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +11 -7
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +79 -30
- package/components/ion-skeleton-text.js +6 -5
- package/components/ion-split-pane.js +12 -8
- package/components/ion-tab-bar.js +31 -8
- package/components/ion-tab-button.js +12 -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 +38 -11
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-toast.js +30 -12
- package/components/ion-toggle.js +77 -18
- package/components/ionic-global.js +374 -84
- package/components/ios.transition.js +1 -0
- package/components/item.js +41 -11
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +29 -6
- package/components/list2.js +6 -0
- package/components/modal.js +51 -21
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -5
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -8
- 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 +18 -8
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +9 -2
- package/components/spinner.js +36 -9
- package/components/status-tap.js +1 -1
- package/components/title.js +11 -7
- package/components/toolbar.js +11 -7
- package/components/x.js +6 -0
- 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.map +1 -1
- package/css/palettes/dark.class.css.map +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/{animation-b4fdf128.js → animation-58015a44.js} +2 -2
- package/dist/cjs/{app-globals-21afee77.js → app-globals-d64148d3.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-ec1fd1d8.js} +1 -1
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-454dd071.js} +3 -3
- package/dist/cjs/caret-down-3c215cff.js +8 -0
- package/dist/cjs/caret-left-2bb66970.js +8 -0
- package/dist/cjs/caret-right-88e03970.js +8 -0
- package/dist/cjs/config-aff4ff52.js +84 -0
- package/dist/cjs/{data-21dc0f81.js → data-b726dbee.js} +6 -6
- package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-9aa87fa3.js} +8 -0
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-32f1a0e4.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-7c25be74.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-4e2936d2.js} +4 -1
- package/dist/cjs/{index-8e789962.js → index-03fbee1d.js} +14 -15
- package/dist/cjs/{index-9509ecad.js → index-0e0c6196.js} +9 -7
- package/dist/cjs/{index-5b6a7459.js → index-604c36ae.js} +3 -3
- package/dist/cjs/{index-f05acd21.js → index-8f975cf4.js} +12 -12
- package/dist/cjs/index.cjs.js +10 -12
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-4b4d2251.js} +18 -17
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-fb1debe4.js} +4 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +61 -24
- package/dist/cjs/ion-action-sheet.cjs.entry.js +21 -18
- package/dist/cjs/ion-alert.cjs.entry.js +25 -23
- package/dist/cjs/ion-app_8.cjs.entry.js +108 -152
- package/dist/cjs/ion-avatar_3.cjs.entry.js +93 -9
- package/dist/cjs/ion-back-button.cjs.entry.js +31 -21
- package/dist/cjs/ion-backdrop.cjs.entry.js +11 -6
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +53 -15
- package/dist/cjs/ion-button_2.cjs.entry.js +46 -15
- package/dist/cjs/ion-card_5.cjs.entry.js +52 -28
- package/dist/cjs/ion-checkbox.cjs.entry.js +29 -13
- package/dist/cjs/ion-chip.cjs.entry.js +43 -7
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +16 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +189 -115
- package/dist/cjs/ion-fab_3.cjs.entry.js +42 -19
- package/dist/cjs/ion-img.cjs.entry.js +7 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +21 -17
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +55 -16
- package/dist/cjs/ion-input.cjs.entry.js +118 -23
- package/dist/cjs/ion-item-option_3.cjs.entry.js +40 -17
- package/dist/cjs/ion-item_8.cjs.entry.js +113 -41
- package/dist/cjs/ion-loading.cjs.entry.js +20 -18
- package/dist/cjs/ion-menu_3.cjs.entry.js +48 -29
- package/dist/cjs/ion-modal.cjs.entry.js +95 -67
- package/dist/cjs/ion-nav_2.cjs.entry.js +15 -13
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +11 -6
- package/dist/cjs/ion-picker-column.cjs.entry.js +12 -12
- package/dist/cjs/ion-picker.cjs.entry.js +10 -5
- package/dist/cjs/ion-popover.cjs.entry.js +20 -18
- package/dist/cjs/ion-progress-bar.cjs.entry.js +13 -8
- package/dist/cjs/ion-radio_2.cjs.entry.js +18 -11
- package/dist/cjs/ion-range.cjs.entry.js +18 -14
- package/dist/cjs/ion-refresher_2.cjs.entry.js +44 -23
- package/dist/cjs/ion-reorder_2.cjs.entry.js +37 -13
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +18 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +8 -7
- package/dist/cjs/ion-searchbar.cjs.entry.js +94 -17
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +23 -14
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +94 -38
- package/dist/cjs/ion-spinner.cjs.entry.js +35 -9
- package/dist/cjs/ion-split-pane.cjs.entry.js +13 -8
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +45 -20
- package/dist/cjs/ion-tab_2.cjs.entry.js +7 -6
- package/dist/cjs/ion-text.cjs.entry.js +6 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +41 -16
- package/dist/cjs/ion-toast.cjs.entry.js +59 -43
- package/dist/cjs/ion-toggle.cjs.entry.js +80 -22
- package/dist/cjs/ionic-global-14af9c21.js +535 -0
- package/dist/cjs/ionic.cjs.js +4 -3
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-2bb0f7d5.js} +6 -6
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-0a5d46dd.js} +5 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-53c12a15.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-102bad3e.js} +11 -9
- package/dist/cjs/list-2930c629.js +8 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-cf600117.js} +5 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-ea70e230.js} +4 -4
- package/dist/cjs/{overlays-ba0f6986.js → overlays-a698a408.js} +19 -20
- package/dist/cjs/{status-tap-37681226.js → status-tap-aa97d209.js} +4 -3
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-27975274.js} +2 -1
- package/dist/cjs/x-81a8f51c.js +8 -0
- package/dist/collection/components/accordion/accordion.ionic.css +197 -0
- package/dist/collection/components/accordion/accordion.ios.css +73 -58
- package/dist/collection/components/accordion/accordion.js +37 -21
- package/dist/collection/components/accordion/accordion.md.css +67 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +95 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +16 -4
- package/dist/collection/components/accordion-group/accordion-group.js +43 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +22 -4
- 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 +12 -78
- package/dist/collection/components/avatar/avatar.ionic.css +269 -0
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.js +92 -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 +27 -19
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ionic.css +151 -0
- 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.ionic.css +249 -0
- package/dist/collection/components/badge/badge.ios.css +106 -3
- package/dist/collection/components/badge/badge.js +75 -8
- package/dist/collection/components/badge/badge.md.css +106 -3
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +43 -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 +589 -0
- package/dist/collection/components/button/button.ios.css +129 -36
- package/dist/collection/components/button/button.js +46 -16
- package/dist/collection/components/button/button.md.css +120 -40
- package/dist/collection/components/buttons/buttons.ionic.css +100 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/card/card.ionic.css +137 -0
- package/dist/collection/components/card/card.ios.css +65 -14
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +65 -14
- package/dist/collection/components/card-content/card-content.ionic.css +90 -0
- package/dist/collection/components/card-content/card-content.ios.css +16 -1
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +16 -1
- package/dist/collection/components/card-header/card-header.ionic.css +87 -0
- package/dist/collection/components/card-header/card-header.ios.css +27 -15
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +27 -15
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +146 -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 +73 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +73 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +402 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +20 -2
- package/dist/collection/components/checkbox/checkbox.js +63 -14
- package/dist/collection/components/checkbox/checkbox.md.css +21 -3
- package/dist/collection/components/chip/chip.ionic.css +160 -0
- package/dist/collection/components/chip/chip.ios.css +20 -1
- package/dist/collection/components/chip/chip.js +77 -8
- package/dist/collection/components/chip/chip.md.css +20 -1
- 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 +16 -11
- package/dist/collection/components/datetime/datetime.ionic.css +668 -0
- package/dist/collection/components/datetime/datetime.ios.css +232 -73
- package/dist/collection/components/datetime/datetime.js +95 -19
- package/dist/collection/components/datetime/datetime.md.css +232 -73
- 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 +36 -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 +20 -15
- 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.ionic.css +86 -0
- package/dist/collection/components/header/header.ios.css +25 -10
- package/dist/collection/components/header/header.js +42 -17
- package/dist/collection/components/header/header.md.css +23 -8
- 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.ionic.css +1096 -0
- package/dist/collection/components/input/input.ios.css +21 -2
- package/dist/collection/components/input/input.js +144 -30
- package/dist/collection/components/input/input.md.css +43 -4
- package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +61 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +141 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +48 -12
- package/dist/collection/components/item/item.ionic.css +501 -0
- package/dist/collection/components/item/item.ios.css +109 -69
- package/dist/collection/components/item/item.js +44 -16
- package/dist/collection/components/item/item.md.css +120 -68
- 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.ionic.css +332 -0
- package/dist/collection/components/item-option/item-option.ios.css +14 -2
- package/dist/collection/components/item-option/item-option.js +43 -8
- package/dist/collection/components/item-option/item-option.md.css +14 -2
- package/dist/collection/components/item-options/item-options.ionic.css +258 -0
- 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.ionic.css +193 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +47 -9
- package/dist/collection/components/list/list.md.css +20 -2
- package/dist/collection/components/list-header/list-header.ionic.css +236 -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.ionic.css +238 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +26 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/animations/sheet.js +8 -2
- package/dist/collection/components/modal/gestures/sheet.js +10 -6
- package/dist/collection/components/modal/modal.ionic.css +239 -0
- package/dist/collection/components/modal/modal.ios.css +106 -63
- package/dist/collection/components/modal/modal.js +47 -11
- package/dist/collection/components/modal/modal.md.css +106 -63
- 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 +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- 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.ionic.css +418 -0
- package/dist/collection/components/radio/radio.ios.css +134 -91
- package/dist/collection/components/radio/radio.js +12 -9
- package/dist/collection/components/radio/radio.md.css +134 -91
- 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 +28 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +33 -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 → ripple-effect.common.css} +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +154 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
- 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.ionic.css +345 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +97 -25
- package/dist/collection/components/searchbar/searchbar.md.css +56 -18
- package/dist/collection/components/segment/segment.ionic.css +117 -0
- package/dist/collection/components/segment/segment.ios.css +45 -2
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +45 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +350 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
- package/dist/collection/components/segment-button/segment-button.js +11 -8
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +6 -0
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/segment-view/segment-view.md.css +6 -0
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +81 -33
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-modal/select-modal.md.css +7 -3
- 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.common.css +199 -0
- package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +63 -0
- package/dist/collection/components/spinner/spinner.js +46 -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 +188 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +71 -43
- package/dist/collection/components/tab-bar/tab-bar.js +65 -10
- package/dist/collection/components/tab-bar/tab-bar.md.css +71 -43
- package/dist/collection/components/tab-button/tab-button.ionic.css +271 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +103 -88
- package/dist/collection/components/tab-button/tab-button.js +11 -8
- package/dist/collection/components/tab-button/tab-button.md.css +103 -88
- 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.ionic.css +804 -0
- package/dist/collection/components/textarea/textarea.ios.css +201 -96
- package/dist/collection/components/textarea/textarea.js +59 -16
- package/dist/collection/components/textarea/textarea.md.css +214 -97
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ionic.css +145 -0
- package/dist/collection/components/title/title.ios.css +32 -4
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +32 -4
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +358 -0
- package/dist/collection/components/toast/toast.ios.css +74 -35
- package/dist/collection/components/toast/toast.js +45 -11
- package/dist/collection/components/toast/toast.md.css +74 -35
- package/dist/collection/components/toggle/toggle.ionic.css +419 -0
- package/dist/collection/components/toggle/toggle.ios.css +166 -120
- package/dist/collection/components/toggle/toggle.js +73 -18
- package/dist/collection/components/toggle/toggle.md.css +163 -120
- package/dist/collection/components/toolbar/toolbar.ionic.css +233 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +13 -10
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/global/ionic-global.js +229 -13
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/helpers.js +3 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -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/overlays.js +2 -1
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +16 -2
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +7030 -321
- package/dist/esm/{animation-eab5a4ca.js → animation-f1a88600.js} +1 -1
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-eceadabb.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-321f0dba.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-6b0341c8.js} +1 -1
- package/dist/esm/caret-down-3eaad1cc.js +6 -0
- package/dist/esm/caret-left-33424bb0.js +6 -0
- package/dist/esm/caret-right-68d856ad.js +6 -0
- package/dist/esm/config-84eb9670.js +79 -0
- package/dist/esm/{data-ae11fd43.js → data-a753c96a.js} +4 -4
- package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-501aff19.js} +8 -1
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-3e4a8c9f.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-dd6c0ea9.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-f08d15bd.js} +4 -1
- package/dist/esm/{index-24b48b06.js → index-31109e63.js} +10 -11
- package/dist/esm/{index-3ad7f18b.js → index-59f81cb8.js} +6 -6
- package/{components/index9.js → dist/esm/index-62b4a18b.js} +4 -2
- package/dist/esm/{index-28849c61.js → index-723c0e5d.js} +1 -1
- package/dist/esm/{index-5cc724f3.js → index-7bd160c2.js} +2 -2
- package/dist/esm/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm/index.js +11 -13
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-6be83e59.js} +7 -6
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-67459bae.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +61 -24
- package/dist/esm/ion-action-sheet.entry.js +22 -19
- package/dist/esm/ion-alert.entry.js +23 -21
- package/dist/esm/ion-app_8.entry.js +96 -140
- package/dist/esm/ion-avatar_3.entry.js +94 -10
- package/dist/esm/ion-back-button.entry.js +31 -21
- package/dist/esm/ion-backdrop.entry.js +12 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +55 -17
- package/dist/esm/ion-button_2.entry.js +44 -13
- package/dist/esm/ion-card_5.entry.js +53 -29
- package/dist/esm/ion-checkbox.entry.js +30 -14
- package/dist/esm/ion-chip.entry.js +44 -8
- package/dist/esm/ion-col_3.entry.js +15 -11
- package/dist/esm/ion-datetime-button.entry.js +13 -9
- package/dist/esm/ion-datetime_3.entry.js +114 -40
- package/dist/esm/ion-fab_3.entry.js +44 -21
- package/dist/esm/ion-img.entry.js +8 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +19 -15
- package/dist/esm/ion-input-password-toggle.entry.js +54 -15
- package/dist/esm/ion-input.entry.js +120 -25
- package/dist/esm/ion-item-option_3.entry.js +41 -18
- package/dist/esm/ion-item_8.entry.js +114 -42
- package/dist/esm/ion-loading.entry.js +18 -16
- package/dist/esm/ion-menu_3.entry.js +48 -29
- package/dist/esm/ion-modal.entry.js +59 -31
- package/dist/esm/ion-nav_2.entry.js +14 -12
- package/dist/esm/ion-picker-column-option.entry.js +12 -7
- package/dist/esm/ion-picker-column.entry.js +12 -12
- package/dist/esm/ion-picker.entry.js +11 -6
- package/dist/esm/ion-popover.entry.js +18 -16
- package/dist/esm/ion-progress-bar.entry.js +13 -8
- package/dist/esm/ion-radio_2.entry.js +19 -12
- package/dist/esm/ion-range.entry.js +14 -10
- package/dist/esm/ion-refresher_2.entry.js +42 -21
- package/dist/esm/ion-reorder_2.entry.js +39 -15
- package/dist/esm/ion-ripple-effect.entry.js +19 -8
- package/dist/esm/ion-route_4.entry.js +9 -8
- package/dist/esm/ion-searchbar.entry.js +95 -18
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +24 -15
- package/dist/esm/ion-select-modal.entry.js +7 -9
- package/dist/esm/ion-select_3.entry.js +96 -40
- package/dist/esm/ion-spinner.entry.js +34 -8
- package/dist/esm/ion-split-pane.entry.js +14 -9
- package/dist/esm/ion-tab-bar_2.entry.js +45 -20
- package/dist/esm/ion-tab_2.entry.js +8 -7
- package/dist/esm/ion-text.entry.js +7 -6
- package/dist/esm/ion-textarea.entry.js +42 -17
- package/dist/esm/ion-toast.entry.js +34 -18
- package/dist/esm/ion-toggle.entry.js +81 -23
- package/dist/esm/ionic-global-3c97a4aa.js +521 -0
- package/dist/esm/ionic.js +6 -5
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-06b78ea0.js} +7 -7
- package/dist/esm/{keyboard-52278bd7.js → keyboard-5b1b354d.js} +5 -3
- package/dist/esm/{keyboard-73175e24.js → keyboard-9bbd546a.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-aff395fd.js} +5 -3
- package/dist/esm/list-6524700c.js +6 -0
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-e5712bda.js} +6 -7
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-c0bd22ff.js} +2 -2
- package/dist/esm/{overlays-ae10d43d.js → overlays-ce6f6b23.js} +6 -7
- package/dist/esm/{status-tap-f472b09f.js → status-tap-edf9f395.js} +5 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-17c42610.js} +2 -1
- package/dist/esm/x-a64bcd9f.js +6 -0
- package/dist/esm-es5/animation-f1a88600.js +4 -0
- package/dist/esm-es5/app-globals-eceadabb.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-321f0dba.js} +1 -1
- package/dist/esm-es5/capacitor-6b0341c8.js +4 -0
- package/dist/esm-es5/caret-down-3eaad1cc.js +4 -0
- package/dist/esm-es5/caret-left-33424bb0.js +4 -0
- package/dist/esm-es5/caret-right-68d856ad.js +4 -0
- package/dist/esm-es5/config-84eb9670.js +4 -0
- package/dist/esm-es5/data-a753c96a.js +4 -0
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-3e4a8c9f.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-dd6c0ea9.js} +1 -1
- package/dist/esm-es5/helpers-f08d15bd.js +4 -0
- package/dist/esm-es5/index-31109e63.js +4 -0
- package/dist/esm-es5/index-59f81cb8.js +4 -0
- package/dist/esm-es5/{index-79b30591.js → index-62b4a18b.js} +1 -1
- package/dist/esm-es5/{index-28849c61.js → index-723c0e5d.js} +1 -1
- package/dist/esm-es5/index-7bd160c2.js +4 -0
- package/dist/esm-es5/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-6be83e59.js +4 -0
- package/dist/esm-es5/input.utils-67459bae.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-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.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-3c97a4aa.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-06b78ea0.js +4 -0
- package/dist/esm-es5/{keyboard-52278bd7.js → keyboard-5b1b354d.js} +1 -1
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-9bbd546a.js} +1 -1
- package/dist/esm-es5/keyboard-controller-aff395fd.js +4 -0
- package/dist/esm-es5/list-6524700c.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-e5712bda.js +4 -0
- package/dist/esm-es5/notch-controller-c0bd22ff.js +4 -0
- package/dist/esm-es5/overlays-ce6f6b23.js +4 -0
- package/dist/esm-es5/status-tap-edf9f395.js +4 -0
- package/dist/esm-es5/swipe-back-17c42610.js +4 -0
- package/dist/esm-es5/x-a64bcd9f.js +4 -0
- package/dist/html.html-data.json +2306 -204
- 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-01d80901.system.js +4 -0
- package/dist/ionic/p-02db6423.entry.js +4 -0
- package/dist/ionic/p-038a6294.js +4 -0
- package/dist/ionic/p-043483dc.entry.js +4 -0
- package/dist/ionic/p-055ae36e.system.entry.js +4 -0
- package/dist/ionic/p-06ca2619.system.entry.js +4 -0
- package/dist/ionic/p-06ec4706.js +4 -0
- package/dist/ionic/p-08b2ba53.system.entry.js +4 -0
- package/dist/ionic/p-08f4a45d.system.entry.js +4 -0
- package/dist/ionic/p-096e5f6d.system.entry.js +4 -0
- package/dist/ionic/p-09c6b5e4.js +4 -0
- package/dist/ionic/p-0a0ce78f.system.entry.js +4 -0
- package/dist/ionic/{p-25180df3.system.js → p-0fa218e9.system.js} +1 -1
- package/dist/ionic/{p-424eb140.system.entry.js → p-10961893.system.entry.js} +1 -1
- package/dist/ionic/p-112120d7.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-11266916.js} +1 -1
- package/dist/ionic/{p-1e955a45.system.js → p-115d74cd.system.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-12d6df53.js} +1 -1
- package/dist/ionic/p-156d17cd.js +4 -0
- package/dist/ionic/p-161ecf50.system.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-18f86177.system.js} +1 -1
- package/dist/ionic/p-1a64d63d.system.entry.js +4 -0
- package/dist/ionic/p-1da82a87.system.entry.js +4 -0
- package/dist/ionic/p-1e4fd112.entry.js +4 -0
- package/dist/ionic/p-1efa63f2.js +4 -0
- package/dist/ionic/p-1fba8e90.system.entry.js +4 -0
- package/dist/ionic/p-211b0fba.system.entry.js +4 -0
- package/dist/ionic/p-23b31425.entry.js +4 -0
- package/dist/ionic/p-243adf8c.js +4 -0
- package/dist/ionic/p-24f15ce4.system.entry.js +4 -0
- package/dist/ionic/p-2978f27e.entry.js +4 -0
- package/dist/ionic/p-2ef115ec.system.entry.js +4 -0
- package/dist/ionic/p-31fa1052.system.entry.js +4 -0
- package/dist/ionic/p-33dc4514.js +4 -0
- package/dist/ionic/p-346c67b0.js +4 -0
- package/dist/ionic/p-35362c9f.entry.js +4 -0
- package/dist/ionic/p-3608e72b.entry.js +4 -0
- package/dist/ionic/p-3b520400.system.entry.js +4 -0
- package/dist/ionic/p-3c4c73f9.system.entry.js +4 -0
- package/dist/ionic/p-3ce95a91.entry.js +4 -0
- package/dist/ionic/p-3d61263b.system.entry.js +4 -0
- package/dist/ionic/{p-9ea607bd.system.js → p-3e91ea3a.system.js} +2 -2
- package/dist/ionic/p-3f1e20d1.system.entry.js +4 -0
- package/dist/ionic/p-3fc0ba02.system.entry.js +4 -0
- package/dist/ionic/p-4130574e.entry.js +4 -0
- package/dist/ionic/{p-3c8e5c23.system.js → p-41c19986.system.js} +1 -1
- package/dist/ionic/p-41f06734.entry.js +4 -0
- package/dist/ionic/p-4219582c.system.js +4 -0
- package/dist/ionic/p-429dd2b5.system.js +4 -0
- package/dist/ionic/p-430d860e.entry.js +4 -0
- package/dist/ionic/p-43df37ca.entry.js +4 -0
- package/dist/ionic/p-4459a66e.system.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-44ad86d7.system.js} +1 -1
- package/dist/ionic/p-458a2899.entry.js +4 -0
- package/dist/ionic/{p-8985cdb6.system.js → p-4626fb32.system.js} +1 -1
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-4683bb1b.entry.js +4 -0
- package/dist/ionic/p-47fd935c.system.js +4 -0
- package/dist/ionic/p-4a89c1ec.system.js +4 -0
- package/dist/ionic/p-4ac4f52a.system.entry.js +4 -0
- package/dist/ionic/p-4b4e4592.system.entry.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-4c275462.js} +1 -1
- package/dist/ionic/p-4c9e1b2c.js +4 -0
- package/dist/ionic/p-4edc0fda.system.entry.js +4 -0
- package/dist/ionic/p-4f127a09.system.entry.js +4 -0
- package/dist/ionic/p-51371e21.system.js +4 -0
- package/dist/ionic/p-530c591a.entry.js +4 -0
- package/dist/ionic/p-5474c7c4.entry.js +4 -0
- package/dist/ionic/p-55546d77.system.entry.js +4 -0
- package/dist/ionic/p-556778bd.system.js +4 -0
- package/dist/ionic/p-56be80f7.entry.js +4 -0
- package/dist/ionic/p-578a8bdf.entry.js +4 -0
- package/dist/ionic/p-57de8d54.system.entry.js +4 -0
- package/dist/ionic/{p-f9a53abb.system.js → p-58aa8a36.system.js} +1 -1
- package/dist/ionic/p-58c64779.system.entry.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-58f16ef6.js} +1 -1
- package/dist/ionic/p-5a6b3c0d.entry.js +4 -0
- package/dist/ionic/p-5a6d245d.system.entry.js +4 -0
- package/dist/ionic/p-5b57d327.system.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/p-5e9730c2.entry.js +4 -0
- package/dist/ionic/p-607c9c33.js +4 -0
- package/dist/ionic/{p-9146695e.system.js → p-62887754.system.js} +1 -1
- package/dist/ionic/p-63fde7fe.entry.js +4 -0
- package/dist/ionic/p-67b6e18d.entry.js +4 -0
- package/dist/ionic/p-699c1e19.entry.js +4 -0
- package/dist/ionic/p-6a0dd6bc.js +4 -0
- package/dist/ionic/p-6bc2795b.entry.js +4 -0
- package/dist/ionic/p-6bd1c0ee.system.entry.js +4 -0
- package/dist/ionic/p-6caa76ec.js +4 -0
- package/dist/ionic/p-6f941957.entry.js +4 -0
- package/dist/ionic/p-7071d7ca.js +4 -0
- package/dist/ionic/p-72cbf799.system.entry.js +4 -0
- package/dist/ionic/p-74a20601.system.entry.js +4 -0
- package/dist/ionic/p-74d76684.js +4 -0
- package/dist/ionic/p-7557a7de.system.entry.js +4 -0
- package/dist/ionic/p-7607d8ba.system.entry.js +4 -0
- package/dist/ionic/p-78ed8923.js +4 -0
- package/dist/ionic/p-7a858bae.system.js +4 -0
- package/dist/ionic/p-81e632cb.entry.js +4 -0
- package/dist/ionic/p-82cb4235.js +4 -0
- package/dist/ionic/{p-d836d43e.js → p-83948e48.js} +1 -1
- package/dist/ionic/p-8463212e.js +4 -0
- package/dist/ionic/p-84667060.entry.js +4 -0
- package/dist/ionic/p-857ba8d4.entry.js +4 -0
- package/dist/ionic/p-86d98446.system.entry.js +4 -0
- package/dist/ionic/{p-58d5df0c.system.entry.js → p-86e9a917.system.entry.js} +1 -1
- package/dist/ionic/p-87049797.js +4 -0
- package/dist/ionic/p-88290bd9.system.entry.js +4 -0
- package/dist/ionic/p-8956f9a8.system.entry.js +4 -0
- package/dist/ionic/p-8b0f0a87.entry.js +4 -0
- package/dist/ionic/p-8db246c2.system.js +4 -0
- package/dist/ionic/p-8dbfae64.entry.js +4 -0
- package/dist/ionic/p-903c544a.js +4 -0
- package/dist/ionic/p-916bc9ed.system.entry.js +4 -0
- package/dist/ionic/p-92646426.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-93e47936.js} +1 -1
- package/dist/ionic/{p-a93873de.system.js → p-94816e7a.system.js} +1 -1
- package/dist/ionic/p-986855d6.js +4 -0
- package/dist/ionic/p-9abb7d9b.entry.js +4 -0
- package/dist/ionic/p-9ac1a506.system.js +4 -0
- package/dist/ionic/p-a1cdc742.js +4 -0
- package/dist/ionic/p-a2814291.system.js +4 -0
- package/dist/ionic/p-a42eccfb.entry.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-a510e9c0.js} +1 -1
- package/dist/ionic/p-a5a9206f.entry.js +4 -0
- package/dist/ionic/p-a616b6e4.entry.js +4 -0
- package/dist/ionic/p-a9af4103.js +4 -0
- package/dist/ionic/{p-d60342e3.js → p-aaccbb95.js} +1 -1
- package/dist/ionic/{p-73dc4950.entry.js → p-ab21d58c.entry.js} +1 -1
- package/dist/ionic/p-ac1c2b6a.js +4 -0
- package/dist/ionic/p-ae55c4c7.system.entry.js +4 -0
- package/dist/ionic/p-b18c52cd.entry.js +4 -0
- package/dist/ionic/p-b2df786a.system.entry.js +4 -0
- package/dist/ionic/p-b517144d.system.entry.js +4 -0
- package/dist/ionic/p-b5dc9a32.system.entry.js +4 -0
- package/dist/ionic/p-b79f3ded.entry.js +4 -0
- package/dist/ionic/p-bbcec459.system.js +4 -0
- package/dist/ionic/p-be87ec25.entry.js +4 -0
- package/dist/ionic/p-c248c88d.system.js +4 -0
- package/dist/ionic/p-c373eebd.system.js +4 -0
- package/dist/ionic/p-ccce3322.system.entry.js +4 -0
- package/dist/ionic/p-ce2e8a94.system.entry.js +4 -0
- package/dist/ionic/p-ce46d44a.entry.js +4 -0
- package/dist/ionic/p-cea92c46.system.js +4 -0
- package/dist/ionic/p-d7894208.entry.js +4 -0
- package/dist/ionic/p-da96f15f.entry.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-dbd39afd.system.js} +1 -1
- package/dist/ionic/p-ddbf4ca9.entry.js +4 -0
- package/dist/ionic/p-df09db21.entry.js +4 -0
- package/dist/ionic/p-e3b70846.system.js +4 -0
- package/dist/ionic/p-e9eb25ba.system.entry.js +4 -0
- package/dist/ionic/p-ea0b8c64.system.entry.js +4 -0
- package/dist/ionic/p-ea3ca474.system.js +4 -0
- package/dist/ionic/p-ebe94d15.entry.js +4 -0
- package/dist/ionic/p-eda736d7.entry.js +4 -0
- package/dist/ionic/p-eecb1b04.entry.js +4 -0
- package/dist/ionic/p-eee899d5.system.entry.js +4 -0
- package/dist/ionic/p-f09c06e8.entry.js +4 -0
- package/dist/ionic/p-f116fb3f.system.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-f193945e.system.js} +1 -1
- package/dist/ionic/p-f1e11e93.entry.js +4 -0
- package/dist/ionic/p-f28ac1ad.entry.js +4 -0
- package/dist/ionic/p-f44934a7.system.entry.js +4 -0
- package/dist/ionic/p-f44c9c6e.system.entry.js +4 -0
- package/dist/ionic/p-f61375b7.system.entry.js +4 -0
- package/dist/ionic/p-f8123284.entry.js +4 -0
- package/dist/ionic/p-f83d18c1.entry.js +4 -0
- package/dist/ionic/{p-5da94421.system.js → p-f8c63ac0.system.js} +2 -2
- package/dist/ionic/p-fc8359aa.system.entry.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +5 -3
- package/dist/types/components/accordion-group/accordion-group.d.ts +12 -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 -2
- package/dist/types/components/avatar/avatar.d.ts +28 -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 +23 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +15 -4
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -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 +14 -4
- package/dist/types/components/chip/chip.d.ts +19 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +26 -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 +5 -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 +9 -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 +31 -5
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +11 -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 +11 -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 +15 -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 +3 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +4 -7
- package/dist/types/components/modal/modal.d.ts +11 -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 -1
- 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 -6
- 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 +9 -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 +30 -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 +20 -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 +15 -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 +22 -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 +16 -4
- 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 +12 -2
- package/dist/types/components/toggle/toggle.d.ts +15 -1
- package/dist/types/components/toolbar/toolbar.d.ts +4 -3
- package/dist/types/components.d.ts +1363 -179
- package/dist/types/global/ionic-global.d.ts +27 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +106 -2
- package/dist/types/utils/focus-visible.d.ts +1 -0
- 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 +2273 -856
- package/hydrate/index.mjs +2273 -856
- package/package.json +9 -4
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/dist/cjs/hardware-back-button-9e8a2c4f.js +0 -122
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-d9a8bb5b.js +0 -237
- package/dist/esm/hardware-back-button-06ef3c3e.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm/ionic-global-c81d82ab.js +0 -231
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-63d1a679.js +0 -4
- package/dist/esm-es5/hardware-back-button-06ef3c3e.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-24b48b06.js +0 -4
- package/dist/esm-es5/index-3ad7f18b.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/index-a5d50daf.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
- package/dist/esm-es5/ios.transition-4ee1a3af.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-ae10d43d.js +0 -4
- package/dist/esm-es5/status-tap-f472b09f.js +0 -4
- package/dist/esm-es5/swipe-back-e5394307.js +0 -4
- package/dist/ionic/p-01186920.system.entry.js +0 -4
- package/dist/ionic/p-0161caf9.system.entry.js +0 -4
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-0437ace4.system.entry.js +0 -4
- package/dist/ionic/p-04fc24ee.system.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-06e58c4e.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-081a4ce4.entry.js +0 -4
- package/dist/ionic/p-09cf2394.entry.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-15e76dd1.entry.js +0 -4
- package/dist/ionic/p-16188af7.entry.js +0 -4
- package/dist/ionic/p-16799667.system.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-19ec4f42.entry.js +0 -4
- package/dist/ionic/p-1b7605a7.system.entry.js +0 -4
- package/dist/ionic/p-1c1b8e1f.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e010627.system.entry.js +0 -4
- package/dist/ionic/p-1e41f2aa.system.entry.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e67b266.system.entry.js +0 -4
- package/dist/ionic/p-1ebd1e27.system.entry.js +0 -4
- package/dist/ionic/p-2172893e.system.entry.js +0 -4
- package/dist/ionic/p-21e5e7e4.js +0 -4
- package/dist/ionic/p-2507278c.system.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2799c6d3.system.entry.js +0 -4
- package/dist/ionic/p-2abae1cc.system.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b838f86.system.entry.js +0 -4
- package/dist/ionic/p-2e46590d.system.entry.js +0 -4
- package/dist/ionic/p-2fc0dafe.entry.js +0 -4
- package/dist/ionic/p-322c5fb4.system.js +0 -4
- package/dist/ionic/p-33a8a71b.entry.js +0 -4
- package/dist/ionic/p-37cb43bd.system.entry.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-4439fc2a.entry.js +0 -4
- package/dist/ionic/p-45693d7e.entry.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-4a274c89.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4ec778aa.entry.js +0 -4
- package/dist/ionic/p-52d7a191.entry.js +0 -4
- package/dist/ionic/p-5393e8bb.system.entry.js +0 -4
- package/dist/ionic/p-567de071.system.entry.js +0 -4
- package/dist/ionic/p-5823babc.system.entry.js +0 -4
- package/dist/ionic/p-5972efea.system.entry.js +0 -4
- package/dist/ionic/p-5ab1b709.entry.js +0 -4
- package/dist/ionic/p-5b5c1505.system.entry.js +0 -4
- package/dist/ionic/p-5b932840.entry.js +0 -4
- package/dist/ionic/p-5bd39e5e.system.entry.js +0 -4
- package/dist/ionic/p-5c831f49.js +0 -4
- package/dist/ionic/p-5fce0c0b.system.entry.js +0 -4
- package/dist/ionic/p-62af944c.entry.js +0 -4
- package/dist/ionic/p-63b0abde.system.entry.js +0 -4
- package/dist/ionic/p-66640ff7.system.entry.js +0 -4
- package/dist/ionic/p-6734db42.system.entry.js +0 -4
- package/dist/ionic/p-69066a53.js +0 -4
- package/dist/ionic/p-69666e8a.system.entry.js +0 -4
- package/dist/ionic/p-6d32975a.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-7458862e.system.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-797eeea8.system.entry.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b9a2b23.entry.js +0 -4
- package/dist/ionic/p-7ed1657c.system.entry.js +0 -4
- package/dist/ionic/p-857ca696.system.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-88e63c7d.js +0 -4
- package/dist/ionic/p-8f05ba3b.system.js +0 -4
- package/dist/ionic/p-908d6080.entry.js +0 -4
- package/dist/ionic/p-937a7e21.entry.js +0 -4
- package/dist/ionic/p-95775830.entry.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-98231c01.system.entry.js +0 -4
- package/dist/ionic/p-985a7e17.system.entry.js +0 -4
- package/dist/ionic/p-98ff6b32.entry.js +0 -4
- package/dist/ionic/p-9910f786.entry.js +0 -4
- package/dist/ionic/p-9df2c6fb.entry.js +0 -4
- package/dist/ionic/p-9ee1e8a6.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-9fa07aec.entry.js +0 -4
- package/dist/ionic/p-a1051806.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a1b9a163.entry.js +0 -4
- package/dist/ionic/p-a34b4d94.entry.js +0 -4
- package/dist/ionic/p-a4565eb5.system.js +0 -4
- package/dist/ionic/p-a49378bb.system.entry.js +0 -4
- package/dist/ionic/p-a61cba41.entry.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-adbc4bdf.entry.js +0 -4
- package/dist/ionic/p-afecb188.entry.js +0 -4
- package/dist/ionic/p-b335ffed.system.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-b82d4cab.js +0 -4
- package/dist/ionic/p-b9d7015f.entry.js +0 -4
- package/dist/ionic/p-bb0db172.entry.js +0 -4
- package/dist/ionic/p-bc36ad98.system.entry.js +0 -4
- package/dist/ionic/p-bdad26e3.entry.js +0 -4
- package/dist/ionic/p-c29f8157.system.entry.js +0 -4
- package/dist/ionic/p-c2b74d92.system.entry.js +0 -4
- package/dist/ionic/p-c41ac815.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c9f3a539.entry.js +0 -4
- package/dist/ionic/p-ca065903.system.entry.js +0 -4
- package/dist/ionic/p-cac0e0b3.system.entry.js +0 -4
- package/dist/ionic/p-d18ab582.system.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d6841eac.js +0 -4
- package/dist/ionic/p-d7aa6b00.entry.js +0 -4
- package/dist/ionic/p-d7e982e7.system.entry.js +0 -4
- package/dist/ionic/p-da074ff7.entry.js +0 -4
- package/dist/ionic/p-db0c8e7d.entry.js +0 -4
- package/dist/ionic/p-de930745.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e2252ad6.entry.js +0 -4
- package/dist/ionic/p-e4ee80be.system.entry.js +0 -4
- package/dist/ionic/p-e563a35c.entry.js +0 -4
- package/dist/ionic/p-e7ed4a7f.system.js +0 -4
- package/dist/ionic/p-e9a173ed.entry.js +0 -4
- package/dist/ionic/p-eba29931.entry.js +0 -4
- package/dist/ionic/p-ebf042e0.system.entry.js +0 -4
- package/dist/ionic/p-ecceeb90.js +0 -4
- package/dist/ionic/p-ed75fcfb.system.entry.js +0 -4
- package/dist/ionic/p-ee7ba749.entry.js +0 -4
- package/dist/ionic/p-efaffe74.entry.js +0 -4
- package/dist/ionic/p-f10b70a1.entry.js +0 -4
- package/dist/ionic/p-f1acf541.system.entry.js +0 -4
- package/dist/ionic/p-f3102647.system.entry.js +0 -4
- package/dist/ionic/p-fca6ef5f.system.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
package/components/ion-card.js
CHANGED
|
@@ -4,13 +4,16 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { d as inheritAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses } from './theme.js';
|
|
7
|
-
import {
|
|
7
|
+
import { c as getIonTheme } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const cardIonicCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);contain:content;overflow:hidden}:host(.ion-color){background:current-color(base);color:current-color(contrast)}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-primitives-base-white, #ffffff);--border-radius:var(--ion-border-radius-400, 16px);--color:var(--ion-primitives-neutral-1200, #242424)}::slotted(img){display:block}:host(.card-soft){--border-radius:var(--ion-border-radius-200, 8px)}:host(.card-rectangular){--border-radius:var(--ion-border-radius-0, 0px)}";
|
|
11
|
+
const IonCardIonicStyle0 = cardIonicCss;
|
|
12
|
+
|
|
13
|
+
const cardIosCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{font-family:var(--ion-font-family, inherit)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}:host(.card-soft){--border-radius:8px}:host(.card-round){--border-radius:14px}:host(.card-rectangular){--border-radius:0px}";
|
|
11
14
|
const IonCardIosStyle0 = cardIosCss;
|
|
12
15
|
|
|
13
|
-
const cardMdCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);
|
|
16
|
+
const cardMdCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{font-family:var(--ion-font-family, inherit)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.card-soft){--border-radius:4px}:host(.card-round){--border-radius:12px}:host(.card-rectangular){--border-radius:0px}";
|
|
14
17
|
const IonCardMdStyle0 = cardMdCss;
|
|
15
18
|
|
|
16
19
|
const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
@@ -28,6 +31,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
28
31
|
this.rel = undefined;
|
|
29
32
|
this.routerDirection = 'forward';
|
|
30
33
|
this.routerAnimation = undefined;
|
|
34
|
+
this.shape = 'round';
|
|
31
35
|
this.target = undefined;
|
|
32
36
|
}
|
|
33
37
|
componentWillLoad() {
|
|
@@ -36,7 +40,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
36
40
|
isClickable() {
|
|
37
41
|
return this.href !== undefined || this.button;
|
|
38
42
|
}
|
|
39
|
-
renderCard(
|
|
43
|
+
renderCard(theme) {
|
|
40
44
|
const clickable = this.isClickable();
|
|
41
45
|
if (!clickable) {
|
|
42
46
|
return [h("slot", null)];
|
|
@@ -51,18 +55,21 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
51
55
|
rel: this.rel,
|
|
52
56
|
target: this.target,
|
|
53
57
|
};
|
|
54
|
-
return (h(TagType, Object.assign({}, attrs, inheritedAriaAttributes, { class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }), h("slot", null), clickable &&
|
|
58
|
+
return (h(TagType, Object.assign({}, attrs, inheritedAriaAttributes, { class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }), h("slot", null), clickable && theme === 'md' && h("ion-ripple-effect", null)));
|
|
55
59
|
}
|
|
56
60
|
render() {
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
const { shape } = this;
|
|
62
|
+
const theme = getIonTheme(this);
|
|
63
|
+
return (h(Host, { key: 'cc8d900ed5325a8b08fb0d0646f301060aee8b7d', class: createColorClasses(this.color, {
|
|
64
|
+
[theme]: true,
|
|
65
|
+
[`card-${shape}`]: shape !== undefined,
|
|
60
66
|
'card-disabled': this.disabled,
|
|
61
67
|
'ion-activatable': this.isClickable(),
|
|
62
|
-
}) }, this.renderCard(
|
|
68
|
+
}) }, this.renderCard(theme)));
|
|
63
69
|
}
|
|
64
70
|
get el() { return this; }
|
|
65
71
|
static get style() { return {
|
|
72
|
+
ionic: IonCardIonicStyle0,
|
|
66
73
|
ios: IonCardIosStyle0,
|
|
67
74
|
md: IonCardMdStyle0
|
|
68
75
|
}; }
|
|
@@ -76,6 +83,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
76
83
|
"rel": [1],
|
|
77
84
|
"routerDirection": [1, "router-direction"],
|
|
78
85
|
"routerAnimation": [16],
|
|
86
|
+
"shape": [513],
|
|
79
87
|
"target": [1]
|
|
80
88
|
}]);
|
|
81
89
|
function defineCustomElement$1() {
|
package/components/ion-chip.js
CHANGED
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
import { c as getIonTheme, p as printIonWarning } from './ionic-global.js';
|
|
5
6
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const chipIonicCss = ":host{--background:var(--ion-primitives-neutral-100, #f5f5f5);--color:var(--ion-primitives-neutral-900, #4e4e4e);--focus-ring-color:var(--ion-border-focus-default, #b5c0f7);--focus-ring-width:var(--ion-border-size-050, 2px);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--ion-space-200, 8px);padding-inline-start:var(--ion-space-200, 8px);-webkit-padding-end:var(--ion-space-200, 8px);padding-inline-end:var(--ion-space-200, 8px);padding-top:var(--ion-space-150, 6px);padding-bottom:var(--ion-space-150, 6px);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(--ion-space-100, 4px);background:var(--background);color:var(--color);font-family:var(--ion-font-family, \"Inter\", sans-serif);font-weight:var(--ion-font-weight-medium, 500);line-height:var(--ion-font-line-height-full, 100%);cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}:host(.chip-outline){border-width:var(--ion-border-size-025, 1px);border-style:var(--ion-border-style-solid, solid);border-color:var(--ion-primitives-neutral-100, #f5f5f5);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.ion-focused){outline:var(--focus-ring-width) var(--ion-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--focus-ring-width)}@media (any-hover: hover){:host(:hover){--background:var(--ion-primitives-neutral-200, #e7e7e7)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}}:host(.chip-disabled){opacity:0.6;pointer-events:none}:host(.chip-soft){--border-radius:var(--ion-border-radius-100, 4px)}:host(.chip-round){--border-radius:var(--ion-border-radius-400, 16px)}:host(.chip-rectangular){--border-radius:var(--ion-border-radius-0, 0px)}::slotted(ion-icon){font-size:var(--ion-font-size-400, 1rem)}:host(.chip-small){min-height:var(--ion-scale-600, 24px);font-size:var(--ion-font-size-300, 0.75rem)}:host(.chip-large){min-height:var(--ion-scale-800, 32px);font-size:var(--ion-font-size-350, 0.875rem)}: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)}";
|
|
10
|
+
const IonChipIonicStyle0 = chipIonicCss;
|
|
11
|
+
|
|
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:var(--border-radius);-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)}:host(.chip-soft){--border-radius:10px}:host(.chip-round){--border-radius:999px}:host(.chip-rectangular){--border-radius:0px}";
|
|
10
13
|
const IonChipIosStyle0 = chipIosCss;
|
|
11
14
|
|
|
12
|
-
const chipMdCss = ":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:
|
|
15
|
+
const chipMdCss = ":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:var(--border-radius);-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:0.875rem}:host(.chip-soft){--border-radius:8px}:host(.chip-round){--border-radius:999px}:host(.chip-rectangular){--border-radius:0px}";
|
|
13
16
|
const IonChipMdStyle0 = chipMdCss;
|
|
14
17
|
|
|
15
18
|
const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
@@ -20,24 +23,58 @@ 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;
|
|
27
|
+
this.size = undefined;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Set the shape based on the theme
|
|
31
|
+
*/
|
|
32
|
+
getShape() {
|
|
33
|
+
const theme = getIonTheme(this);
|
|
34
|
+
const { shape } = this;
|
|
35
|
+
if (shape === undefined) {
|
|
36
|
+
return theme === 'ionic' ? 'round' : 'soft';
|
|
37
|
+
}
|
|
38
|
+
return shape;
|
|
39
|
+
}
|
|
40
|
+
getSize() {
|
|
41
|
+
const theme = getIonTheme(this);
|
|
42
|
+
const { size } = this;
|
|
43
|
+
if (theme === 'ionic') {
|
|
44
|
+
return size !== undefined ? size : 'large';
|
|
45
|
+
// TODO(ROU-10695): remove the size !== undefined when we add support for
|
|
46
|
+
// the `ios` and `md` themes.
|
|
47
|
+
}
|
|
48
|
+
else if (size !== undefined) {
|
|
49
|
+
printIonWarning(`The "${size}" size is not supported in the ${theme} theme.`);
|
|
50
|
+
}
|
|
51
|
+
return undefined;
|
|
23
52
|
}
|
|
24
53
|
render() {
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
54
|
+
const theme = getIonTheme(this);
|
|
55
|
+
const size = this.getSize();
|
|
56
|
+
const shape = this.getShape();
|
|
57
|
+
return (h(Host, { key: 'a9af4c9e062be84300176d854d2248e6795ba851', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
58
|
+
[theme]: true,
|
|
59
|
+
[`chip-${shape}`]: true,
|
|
28
60
|
'chip-outline': this.outline,
|
|
29
61
|
'chip-disabled': this.disabled,
|
|
30
62
|
'ion-activatable': true,
|
|
31
|
-
|
|
63
|
+
'ion-focusable': !this.disabled,
|
|
64
|
+
[`chip-${size}`]: size !== undefined,
|
|
65
|
+
}) }, h("slot", { key: '97d666cae3b85753abdadd57170cb7d53dc59481' }), theme === 'md' && h("ion-ripple-effect", { key: '3bc07678782e8473aa9c044d413695aa8f1afa3f' })));
|
|
32
66
|
}
|
|
33
67
|
static get style() { return {
|
|
68
|
+
ionic: IonChipIonicStyle0,
|
|
34
69
|
ios: IonChipIosStyle0,
|
|
35
70
|
md: IonChipMdStyle0
|
|
36
71
|
}; }
|
|
37
72
|
}, [33, "ion-chip", {
|
|
38
73
|
"color": [513],
|
|
39
74
|
"outline": [4],
|
|
40
|
-
"disabled": [4]
|
|
75
|
+
"disabled": [4],
|
|
76
|
+
"shape": [1],
|
|
77
|
+
"size": [1]
|
|
41
78
|
}]);
|
|
42
79
|
function defineCustomElement$1() {
|
|
43
80
|
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 { c 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: '18eb6aff60f43b28b7e157b7d6ce787635f25fa1', 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: '3848d5cb525b42a550aa36a486f97b2e20240def' })));
|
|
144
144
|
}
|
|
145
145
|
static get style() { return IonColStyle0; }
|
|
146
146
|
}, [1, "ion-col", {
|
|
@@ -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, c 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: '91f2f28facdf66127f630c6ffde5f84a9bd3ea39', class: createColorClasses(color, {
|
|
343
|
+
[theme]: true,
|
|
342
344
|
[`${selectedButton}-active`]: datetimeActive,
|
|
343
345
|
['datetime-button-disabled']: disabled,
|
|
344
|
-
}) }, dateText && (h("button", { key: '
|
|
346
|
+
}) }, dateText && (h("button", { key: '08ca261bc381f01a616727c0eedb9461a90f6f34', 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", { key: 'bc7c1b5ee8e71960936509a90fee90c3b03ec9a2', name: "date-target" }, dateText), theme === 'md' && h("ion-ripple-effect", { key: 'b09bc4158b4896b8a0b91b90cd8fa52b844f2cc2' }))), timeText && (h("button", { key: '14ebc33a671aa3465d50ce146dc47e7d80e9fbab', 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", { key: '3b5a8451258773c5679db809804d9f14869cae35', name: "time-target" }, timeText), theme === 'md' && h("ion-ripple-effect", { key: '7a728e0122269c89072a4a405653f8aea48caa68' })))));
|
|
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
|
}; }
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
import { c as caretLeftSvg } from './caret-left.js';
|
|
6
|
+
import { c as caretRightSvg } from './caret-right.js';
|
|
5
7
|
import { startFocusVisible } from './focus-visible.js';
|
|
6
8
|
import { r as raf, e as renderHiddenInput, g as getElementRoot } from './helpers.js';
|
|
7
|
-
import {
|
|
9
|
+
import { e as printIonError, p as printIonWarning, b as getIonMode, c as getIonTheme } from './ionic-global.js';
|
|
8
10
|
import { i as isRTL } from './dir.js';
|
|
9
11
|
import { c as createColorClasses } from './theme.js';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
+
import { f as chevronForward, a as chevronBack, g as caretDownSharp, c as chevronDown, h as caretUpSharp } from './index5.js';
|
|
13
|
+
import { c as config } from './config2.js';
|
|
12
14
|
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
15
|
import { d as defineCustomElement$a } from './backdrop.js';
|
|
14
16
|
import { d as defineCustomElement$9 } from './button.js';
|
|
@@ -229,10 +231,13 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
229
231
|
}
|
|
230
232
|
};
|
|
231
233
|
|
|
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%}";
|
|
234
|
+
const datetimeIonicCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-cover){width:100%}:host .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-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}.calendar-day[disabled]{pointer-events:none}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{display:-ms-flexbox;display:flex;border:none;font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.in-item){position:static}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle ion-icon{-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}:host{--background:var(--ion-primitives-base-white, #ffffff);--focus-ring-color:var(--ion-border-focus-default, #b5c0f7);--focus-ring-width:var(--ion-border-radius-025, 2px)}:host .datetime-header{-webkit-padding-start:var(--ion-space-400, 16px);padding-inline-start:var(--ion-space-400, 16px);-webkit-padding-end:var(--ion-space-400, 16px);padding-inline-end:var(--ion-space-400, 16px);padding-top:var(--ion-space-200, 8px);padding-bottom:var(--ion-space-400, 16px);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start;-ms-flex-pack:justify;justify-content:space-between;height:var(--ion-scale-1400, 56px);margin-bottom:var(--ion-space-200, 8px);border-bottom:var(--ion-border-style-solid, solid) var(--ion-border-size-025, 1px) var(--ion-primitives-neutral-300, #cfcfcf)}:host .datetime-header .datetime-title{font-size:var(--ion-font-size-450, 1.125rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-700, 28px);text-decoration:none;text-transform:none;color:var(--ion-primitives-neutral-800, #626262)}:host .datetime-header .datetime-selected-date{font-size:var(--ion-font-size-350, 0.875rem);font-weight:var(--ion-font-weight-regular, 400);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;color:var(--ion-primitives-neutral-1000, #3b3b3b)}.calendar-action-buttons{padding-top:var(--ion-space-200, 8px);padding-bottom:var(--ion-space-200, 8px);-ms-flex-align:center;align-items:center;height:var(--ion-scale-1400, 56px);-webkit-box-sizing:border-box;box-sizing:border-box}.calendar-month-year{-ms-flex:1 0 0px;flex:1 0 0}.calendar-month-year-toggle{border-radius:var(--ion-border-radius-full, 999px);font-size:var(--ion-font-size-400, 1rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-1, 1%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;-webkit-padding-start:var(--ion-space-400, 16px);padding-inline-start:var(--ion-space-400, 16px);-webkit-padding-end:var(--ion-space-400, 16px);padding-inline-end:var(--ion-space-400, 16px);padding-top:var(--ion-space-200, 8px);padding-bottom:var(--ion-space-200, 8px);min-width:var(--ion-scale-1600, 64px);min-height:var(--ion-scale-1000, 40px);border:var(--focus-ring-width) var(--ion-border-style-solid, solid) transparent;color:var(--ion-semantics-primary-base, #105cef)}@media (any-hover: hover){.calendar-month-year-toggle:hover{background:var(--ion-primitives-neutral-200, #e7e7e7)}}.calendar-month-year-toggle.ion-focused{border-color:var(--focus-ring-color)}.calendar-month-year-toggle.ion-activated{background:var(--ion-primitives-neutral-200, #e7e7e7)}.calendar-next-prev ion-button.button-has-icon-only{--color:var(--ion-primitives-neutral-1000, #3b3b3b);--background-activated:var(--ion-primitives-neutral-200, #e7e7e7);--background-hover:var(--ion-primitives-neutral-200, #e7e7e7);--background-hover-opacity:1}.calendar-next-prev ion-button.button-has-icon-only.ion-focused::part(native){border:var(--ion-border-size-050, 2px) var(--ion-border-style-solid, solid) var(--ion-border-focus-default, #b5c0f7);outline:none}.calendar-days-of-week{font-size:var(--ion-font-size-300, 0.75rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-2, 1.5%);line-height:var(--ion-font-line-height-500, 20px);text-decoration:none;text-transform:uppercase;-ms-flex-line-pack:center;align-content:center;height:var(--ion-scale-1200, 48px);color:var(--ion-primitives-neutral-800, #626262)}.calendar-day{border-radius:var(--ion-border-radius-full, 999px);-webkit-padding-start:var(--ion-space-100, 4px);padding-inline-start:var(--ion-space-100, 4px);-webkit-padding-end:var(--ion-space-100, 4px);padding-inline-end:var(--ion-space-100, 4px);padding-top:var(--ion-space-100, 4px);padding-bottom:var(--ion-space-100, 4px);font-size:var(--ion-font-size-350, 0.875rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-1, 1%);line-height:var(--ion-font-line-height-500, 20px);text-decoration:none;text-transform:none;width:var(--ion-scale-1200, 48px);min-width:var(--ion-scale-1200, 48px);height:var(--ion-scale-1200, 48px);color:var(--ion-primitives-neutral-1200, #242424)}.calendar-day[disabled]:not(.calendar-day-constrained){color:var(--ion-primitives-neutral-500, #a2a2a2)}.calendar-day.calendar-day-today{color:var(--ion-semantics-primary-base, #105cef)}.calendar-day.calendar-day-active{background:var(--ion-semantics-primary-100, #f2f4fd)}.calendar-day:focus-visible{border:var(--focus-ring-width) var(--ion-border-style-solid, solid) var(--focus-ring-color)}@media (any-hover: hover){.calendar-day:not([disabled]):not(:active):hover{background:var(--ion-semantics-primary-200, #e9ecfc)}}.calendar-day:active{background:var(--ion-semantics-primary-300, #d0d7fa)}:host .datetime-time{-webkit-padding-start:var(--ion-space-400, 16px);padding-inline-start:var(--ion-space-400, 16px);-webkit-padding-end:var(--ion-space-400, 16px);padding-inline-end:var(--ion-space-400, 16px);padding-top:var(--ion-space-100, 4px);padding-bottom:var(--ion-space-100, 4px);height:var(--ion-scale-800, 32px)}:host .datetime-time .time-header{font-size:var(--ion-font-size-400, 1rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-1, 1%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;color:var(--ion-primitives-neutral-800, #626262)}:host .datetime-time button{-webkit-padding-start:var(--ion-space-200, 8px);padding-inline-start:var(--ion-space-200, 8px);-webkit-padding-end:var(--ion-space-200, 8px);padding-inline-end:var(--ion-space-200, 8px);padding-top:var(--ion-space-0, 0px);padding-bottom:var(--ion-space-0, 0px);font-size:var(--ion-font-size-350, 0.875rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;border-radius:var(--ion-border-radius-full, 999px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--ion-primitives-neutral-100, #f5f5f5);color:var(--ion-primitives-neutral-1200, #242424)}";
|
|
235
|
+
const IonDatetimeIonicStyle0 = datetimeIonicCss;
|
|
236
|
+
|
|
237
|
+
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-cover){width:100%}:host .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-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}.calendar-day[disabled]{pointer-events:none}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{display:-ms-flexbox;display:flex;border:none;font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.in-item){position:static}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle ion-icon{-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}:host{}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host .calendar-action-buttons ion-button{--background:transparent}.calendar-day{border-radius:50%;font-family:var(--ion-font-family, inherit)}:host .calendar-day[disabled]{opacity:0.4}.calendar-day: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-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000)}:host .time-body-active{color:var(--ion-color-base)}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--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
238
|
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
234
239
|
|
|
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-
|
|
240
|
+
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-cover){width:100%}:host .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-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}.calendar-day[disabled]{pointer-events:none}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{display:-ms-flexbox;display:flex;border:none;font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.in-item){position:static}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle ion-icon{-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}:host{}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host .calendar-action-buttons ion-button{--background:transparent}.calendar-day{border-radius:50%;font-family:var(--ion-font-family, inherit)}:host .calendar-day[disabled]{opacity:0.4}.calendar-day: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-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000)}:host .time-body-active{color:var(--ion-color-base)}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--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
241
|
const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
237
242
|
|
|
238
243
|
const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLElement {
|
|
@@ -1469,10 +1474,8 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1469
1474
|
/**
|
|
1470
1475
|
* Grid Render Methods
|
|
1471
1476
|
*/
|
|
1472
|
-
renderCalendarHeader(
|
|
1473
|
-
const { disabled } = this;
|
|
1474
|
-
const expandedIcon = mode === 'ios' ? chevronDown : caretUpSharp;
|
|
1475
|
-
const collapsedIcon = mode === 'ios' ? chevronForward : caretDownSharp;
|
|
1477
|
+
renderCalendarHeader(theme) {
|
|
1478
|
+
const { disabled, datetimeNextIcon, datetimePreviousIcon, datetimeCollapsedIcon, datetimeExpandedIcon } = this;
|
|
1476
1479
|
const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
|
|
1477
1480
|
const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1478
1481
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
@@ -1481,7 +1484,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1481
1484
|
'calendar-month-year-toggle': true,
|
|
1482
1485
|
'ion-activatable': true,
|
|
1483
1486
|
'ion-focusable': true,
|
|
1484
|
-
}, 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 ?
|
|
1487
|
+
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), theme !== 'ionic' && (h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? datetimeExpandedIcon : datetimeCollapsedIcon, lazy: false, flipRtl: true }))), theme === 'md' && h("ion-ripple-effect", null))), h("div", { class: "calendar-next-prev" }, h("ion-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: datetimePreviousIcon, 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) => {
|
|
1485
1488
|
return h("div", { class: "day-of-week" }, d);
|
|
1486
1489
|
}))));
|
|
1487
1490
|
}
|
|
@@ -1601,8 +1604,8 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1601
1604
|
return this.renderMonth(month, year);
|
|
1602
1605
|
})));
|
|
1603
1606
|
}
|
|
1604
|
-
renderCalendar(
|
|
1605
|
-
return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(
|
|
1607
|
+
renderCalendar(theme) {
|
|
1608
|
+
return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(theme), this.renderCalendarBody()));
|
|
1606
1609
|
}
|
|
1607
1610
|
renderTimeLabel() {
|
|
1608
1611
|
const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
|
|
@@ -1710,7 +1713,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1710
1713
|
* Render entry point
|
|
1711
1714
|
* All presentation types are rendered from here.
|
|
1712
1715
|
*/
|
|
1713
|
-
renderDatetime(
|
|
1716
|
+
renderDatetime(theme) {
|
|
1714
1717
|
const { presentation, preferWheel } = this;
|
|
1715
1718
|
/**
|
|
1716
1719
|
* Certain presentation types have separate grid and wheel displays.
|
|
@@ -1724,7 +1727,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1724
1727
|
case 'date-time':
|
|
1725
1728
|
return [
|
|
1726
1729
|
this.renderHeader(),
|
|
1727
|
-
this.renderCalendar(
|
|
1730
|
+
this.renderCalendar(theme),
|
|
1728
1731
|
this.renderCalendarViewMonthYearPicker(),
|
|
1729
1732
|
this.renderTime(),
|
|
1730
1733
|
this.renderFooter(),
|
|
@@ -1733,7 +1736,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1733
1736
|
return [
|
|
1734
1737
|
this.renderHeader(),
|
|
1735
1738
|
this.renderTime(),
|
|
1736
|
-
this.renderCalendar(
|
|
1739
|
+
this.renderCalendar(theme),
|
|
1737
1740
|
this.renderCalendarViewMonthYearPicker(),
|
|
1738
1741
|
this.renderFooter(),
|
|
1739
1742
|
];
|
|
@@ -1746,23 +1749,95 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1746
1749
|
default:
|
|
1747
1750
|
return [
|
|
1748
1751
|
this.renderHeader(),
|
|
1749
|
-
this.renderCalendar(
|
|
1752
|
+
this.renderCalendar(theme),
|
|
1750
1753
|
this.renderCalendarViewMonthYearPicker(),
|
|
1751
1754
|
this.renderFooter(),
|
|
1752
1755
|
];
|
|
1753
1756
|
}
|
|
1754
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* Get the icon to use for the next icon.
|
|
1760
|
+
* Otherwise, use the icon set in the config.
|
|
1761
|
+
* If no icon is set in the config, use the default icon.
|
|
1762
|
+
*/
|
|
1763
|
+
get datetimeNextIcon() {
|
|
1764
|
+
// Determine the theme and map to default icons
|
|
1765
|
+
const theme = getIonTheme(this);
|
|
1766
|
+
const defaultIcons = {
|
|
1767
|
+
ios: chevronForward,
|
|
1768
|
+
ionic: caretRightSvg,
|
|
1769
|
+
md: chevronForward,
|
|
1770
|
+
};
|
|
1771
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1772
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1773
|
+
// Return the configured datetime next icon or the default icon
|
|
1774
|
+
return config.get('datetimeNextIcon', defaultIcon);
|
|
1775
|
+
}
|
|
1776
|
+
/**
|
|
1777
|
+
* Get the icon to use for the previous icon.
|
|
1778
|
+
* Otherwise, use the icon set in the config.
|
|
1779
|
+
* If no icon is set in the config, use the default icon.
|
|
1780
|
+
*/
|
|
1781
|
+
get datetimePreviousIcon() {
|
|
1782
|
+
// Determine the theme and map to default icons
|
|
1783
|
+
const theme = getIonTheme(this);
|
|
1784
|
+
const defaultIcons = {
|
|
1785
|
+
ios: chevronBack,
|
|
1786
|
+
ionic: caretLeftSvg,
|
|
1787
|
+
md: chevronBack,
|
|
1788
|
+
};
|
|
1789
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1790
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1791
|
+
// Return the configured datetime previous icon or the default icon
|
|
1792
|
+
return config.get('datetimePreviousIcon', defaultIcon);
|
|
1793
|
+
}
|
|
1794
|
+
/**
|
|
1795
|
+
* Get the icon to use for the show month and year icon.
|
|
1796
|
+
* Otherwise, use the icon set in the config.
|
|
1797
|
+
* If no icon is set in the config, use the default icon.
|
|
1798
|
+
*/
|
|
1799
|
+
get datetimeCollapsedIcon() {
|
|
1800
|
+
// Determine the theme and map to default icons
|
|
1801
|
+
const theme = getIonTheme(this);
|
|
1802
|
+
const defaultIcons = {
|
|
1803
|
+
ios: chevronForward,
|
|
1804
|
+
ionic: undefined,
|
|
1805
|
+
md: caretDownSharp,
|
|
1806
|
+
};
|
|
1807
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1808
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1809
|
+
// Return the configured datetime show month and year icon or the default icon
|
|
1810
|
+
return config.get('datetimeCollapsedIcon', defaultIcon);
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* Get the icon to use for the hide month and year icon.
|
|
1814
|
+
* Otherwise, use the icon set in the config.
|
|
1815
|
+
* If no icon is set in the config, use the default icon.
|
|
1816
|
+
*/
|
|
1817
|
+
get datetimeExpandedIcon() {
|
|
1818
|
+
// Determine the theme and map to default icons
|
|
1819
|
+
const theme = getIonTheme(this);
|
|
1820
|
+
const defaultIcons = {
|
|
1821
|
+
ios: chevronDown,
|
|
1822
|
+
ionic: undefined,
|
|
1823
|
+
md: caretUpSharp,
|
|
1824
|
+
};
|
|
1825
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1826
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1827
|
+
// Return the configured datetime hide month and year icon or the default icon
|
|
1828
|
+
return config.get('datetimeExpandedIcon', defaultIcon);
|
|
1829
|
+
}
|
|
1755
1830
|
render() {
|
|
1756
1831
|
const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
|
|
1757
|
-
const
|
|
1832
|
+
const theme = getIonTheme(this);
|
|
1758
1833
|
const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
|
|
1759
1834
|
const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
|
|
1760
1835
|
const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
|
|
1761
1836
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1762
1837
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1763
1838
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1764
|
-
return (h(Host, { key: '
|
|
1765
|
-
[
|
|
1839
|
+
return (h(Host, { key: 'b7a0a45e619e0184c6f29338ce8a58679d3f2f93', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1840
|
+
[theme]: true,
|
|
1766
1841
|
['datetime-readonly']: readonly,
|
|
1767
1842
|
['datetime-disabled']: disabled,
|
|
1768
1843
|
'show-month-and-year': shouldShowMonthAndYear,
|
|
@@ -1771,7 +1846,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1771
1846
|
[`datetime-size-${size}`]: true,
|
|
1772
1847
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1773
1848
|
[`datetime-grid`]: isGridStyle,
|
|
1774
|
-
})) }, h("div", { key: '
|
|
1849
|
+
})) }, h("div", { key: '092779777f4b298ccd5c559d2fb74d8f53960962', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
1775
1850
|
}
|
|
1776
1851
|
get el() { return this; }
|
|
1777
1852
|
static get watchers() { return {
|
|
@@ -1788,6 +1863,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1788
1863
|
"value": ["valueChanged"]
|
|
1789
1864
|
}; }
|
|
1790
1865
|
static get style() { return {
|
|
1866
|
+
ionic: IonDatetimeIonicStyle0,
|
|
1791
1867
|
ios: IonDatetimeIosStyle0,
|
|
1792
1868
|
md: IonDatetimeMdStyle0
|
|
1793
1869
|
}; }
|