@ionic/core 8.0.0-dev.11711476529.17eae6ec → 8.0.0-rc.0
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 +6 -11
- package/components/alert.js +8 -12
- package/components/backdrop.js +4 -8
- package/components/button.js +8 -25
- package/components/buttons.js +5 -9
- package/components/checkbox.js +9 -13
- package/components/data.js +4 -4
- package/components/index4.js +7 -8
- package/components/index6.js +30 -25
- package/components/index7.js +27 -124
- package/components/index8.js +111 -150
- package/components/index9.js +167 -0
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +6 -9
- package/components/ion-accordion.js +6 -10
- package/components/ion-app.js +6 -5
- package/components/ion-avatar.js +2 -9
- package/components/ion-back-button.js +8 -12
- package/components/ion-badge.js +5 -9
- package/components/ion-breadcrumb.js +7 -11
- package/components/ion-breadcrumbs.js +5 -9
- package/components/ion-card-content.js +5 -9
- package/components/ion-card-header.js +5 -9
- package/components/ion-card-subtitle.js +5 -9
- package/components/ion-card-title.js +5 -9
- package/components/ion-card.js +7 -11
- package/components/ion-chip.js +5 -9
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +10 -10
- package/components/ion-datetime-button.js +6 -9
- package/components/ion-datetime.js +17 -20
- package/components/ion-fab-button.js +6 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +5 -5
- package/components/ion-footer.js +10 -14
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +10 -14
- package/components/ion-img.js +2 -5
- package/components/ion-infinite-scroll-content.js +8 -12
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.d.ts +11 -0
- package/components/ion-input-password-toggle.js +132 -0
- package/components/ion-input.js +34 -18
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +5 -9
- package/components/ion-item-options.js +5 -9
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +6 -10
- package/components/ion-menu-button.js +7 -11
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +5 -9
- package/components/ion-modal.js +8 -11
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +5 -6
- package/components/ion-note.js +5 -9
- package/components/ion-picker-legacy.js +6 -5
- package/components/ion-progress-bar.js +4 -8
- package/components/ion-range.js +8 -11
- package/components/ion-refresher-content.js +8 -9
- package/components/ion-refresher.js +6 -10
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +5 -11
- package/components/ion-router-link.js +5 -5
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +14 -18
- package/components/ion-segment-button.js +6 -10
- package/components/ion-segment.js +5 -9
- package/components/ion-select-option.js +2 -5
- package/components/ion-select.js +19 -23
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +6 -10
- package/components/ion-tab-bar.js +5 -9
- package/components/ion-tab-button.js +5 -9
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +8 -12
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-title.js +5 -9
- package/components/ion-toast.js +9 -13
- package/components/ion-toggle.js +13 -17
- package/components/ion-toolbar.js +5 -9
- package/components/ionic-global.js +13 -190
- package/components/ios.transition.js +0 -1
- package/components/item.js +7 -11
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +6 -10
- package/components/overlays.js +2 -1
- package/components/picker-column-option.js +5 -9
- package/components/picker-column.js +6 -6
- package/components/picker-column2.js +4 -4
- package/components/picker.js +2 -6
- package/components/popover.js +6 -9
- package/components/radio-group.js +3 -5
- package/components/radio.js +6 -10
- package/components/ripple-effect.js +4 -4
- package/components/select-popover.js +2 -9
- package/components/spinner.js +6 -6
- package/components/status-tap.js +1 -1
- package/css/core.css +0 -18
- package/css/core.css.map +1 -1
- package/css/display.css +0 -6
- package/css/display.css.map +1 -1
- package/css/float-elements.css +0 -6
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +0 -12
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +0 -6
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css +0 -6
- package/css/padding.css.map +1 -1
- package/css/structure.css +0 -6
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +0 -6
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +0 -6
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +0 -6
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +0 -30
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-98e49326.js → app-globals-63aebf89.js} +1 -1
- package/dist/cjs/{button-active-e2ed5329.js → button-active-bd13859e.js} +1 -1
- package/dist/cjs/{data-f2ccf911.js → data-21dc0f81.js} +6 -6
- package/dist/cjs/{hardware-back-button-f66bce00.js → hardware-back-button-ad9299b4.js} +2 -2
- package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-91435ed0.js → index-5b6a7459.js} +2 -2
- package/dist/cjs/{index-f5fcf972.js → index-5cf05f94.js} +12 -13
- package/dist/cjs/{index-2d21d526.js → index-af6d0fbb.js} +16 -4
- package/dist/cjs/{index-5643c839.js → index-ff66cc7c.js} +3 -3
- package/dist/cjs/index.cjs.js +9 -8
- package/dist/cjs/{input-shims-837af288.js → input-shims-20d639e6.js} +2 -3
- package/dist/cjs/{input.utils-01c2fa15.js → input.utils-611cde0b.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +13 -20
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -15
- package/dist/cjs/ion-alert.cjs.entry.js +13 -16
- package/dist/cjs/ion-app_8.cjs.entry.js +61 -80
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -22
- package/dist/cjs/ion-back-button.cjs.entry.js +9 -13
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -9
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +12 -20
- package/dist/cjs/ion-button_2.cjs.entry.js +12 -29
- package/dist/cjs/ion-card_5.cjs.entry.js +24 -44
- package/dist/cjs/ion-checkbox.cjs.entry.js +10 -14
- package/dist/cjs/ion-chip.cjs.entry.js +6 -10
- package/dist/cjs/ion-col_3.cjs.entry.js +11 -14
- package/dist/cjs/ion-datetime-button.cjs.entry.js +12 -15
- package/dist/cjs/ion-datetime_3.cjs.entry.js +103 -106
- package/dist/cjs/ion-fab_3.cjs.entry.js +15 -19
- package/dist/cjs/ion-img.cjs.entry.js +3 -6
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +14 -17
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +93 -0
- package/dist/cjs/ion-input.cjs.entry.js +34 -18
- package/dist/cjs/ion-item-option_3.cjs.entry.js +15 -22
- package/dist/cjs/ion-item_8.cjs.entry.js +37 -65
- package/dist/cjs/ion-loading.cjs.entry.js +10 -13
- package/dist/cjs/ion-menu_3.cjs.entry.js +20 -27
- package/dist/cjs/ion-modal.cjs.entry.js +17 -20
- package/dist/cjs/ion-nav_2.cjs.entry.js +7 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -10
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker.cjs.entry.js +3 -7
- package/dist/cjs/ion-popover.cjs.entry.js +13 -16
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -9
- package/dist/cjs/ion-radio_2.cjs.entry.js +9 -15
- package/dist/cjs/ion-range.cjs.entry.js +14 -17
- package/dist/cjs/ion-refresher_2.cjs.entry.js +15 -19
- package/dist/cjs/ion-reorder_2.cjs.entry.js +11 -16
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -5
- package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
- package/dist/cjs/ion-searchbar.cjs.entry.js +15 -19
- package/dist/cjs/ion-segment_2.cjs.entry.js +11 -19
- package/dist/cjs/ion-select_3.cjs.entry.js +25 -38
- package/dist/cjs/ion-spinner.cjs.entry.js +7 -7
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -11
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +10 -18
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +6 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +11 -14
- package/dist/cjs/ion-toast.cjs.entry.js +32 -36
- package/dist/cjs/ion-toggle.cjs.entry.js +14 -18
- package/dist/cjs/ionic-global-1adf9bc4.js +230 -0
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-19155451.js → ios.transition-06673f18.js} +2 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-1b1135b1.js → md.transition-4d7bb4b1.js} +2 -2
- package/dist/cjs/{overlays-de847251.js → overlays-6487955a.js} +4 -3
- package/dist/cjs/{status-tap-3ef7ca2b.js → status-tap-0be20572.js} +3 -3
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.ios.css +0 -12
- package/dist/collection/components/accordion/accordion.js +8 -11
- package/dist/collection/components/accordion/accordion.md.css +0 -6
- package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
- package/dist/collection/components/accordion-group/accordion-group.js +8 -11
- package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
- package/dist/collection/components/action-sheet/action-sheet.ios.css +0 -12
- package/dist/collection/components/action-sheet/action-sheet.js +10 -14
- package/dist/collection/components/action-sheet/action-sheet.md.css +0 -12
- package/dist/collection/components/alert/alert.ios.css +0 -18
- package/dist/collection/components/alert/alert.js +12 -15
- package/dist/collection/components/alert/alert.md.css +0 -18
- package/dist/collection/components/app/app.js +4 -8
- package/dist/collection/components/avatar/avatar.ios.css +0 -12
- package/dist/collection/components/avatar/avatar.js +4 -13
- package/dist/collection/components/avatar/avatar.md.css +0 -12
- package/dist/collection/components/back-button/back-button.ios.css +0 -12
- package/dist/collection/components/back-button/back-button.js +10 -13
- package/dist/collection/components/back-button/back-button.md.css +0 -12
- package/dist/collection/components/backdrop/backdrop.ios.css +0 -12
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +0 -12
- package/dist/collection/components/badge/badge.ios.css +0 -12
- package/dist/collection/components/badge/badge.js +8 -11
- package/dist/collection/components/badge/badge.md.css +0 -12
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -12
- package/dist/collection/components/breadcrumb/breadcrumb.js +9 -12
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -12
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +0 -18
- package/dist/collection/components/button/button.js +14 -31
- package/dist/collection/components/button/button.md.css +0 -12
- package/dist/collection/components/button/test/clear/button.e2e.js +3 -6
- package/dist/collection/components/button/test/round/button.e2e.js +52 -0
- package/dist/collection/components/button/test/size/button.e2e.js +1 -19
- package/dist/collection/components/buttons/buttons.ios.css +0 -18
- package/dist/collection/components/buttons/buttons.js +8 -14
- package/dist/collection/components/buttons/buttons.md.css +0 -18
- package/dist/collection/components/card/card.ios.css +0 -12
- package/dist/collection/components/card/card.js +10 -13
- package/dist/collection/components/card/card.md.css +0 -12
- package/dist/collection/components/card-content/card-content.ios.css +0 -12
- package/dist/collection/components/card-content/card-content.js +8 -11
- package/dist/collection/components/card-content/card-content.md.css +0 -12
- package/dist/collection/components/card-header/card-header.ios.css +0 -12
- package/dist/collection/components/card-header/card-header.js +9 -12
- package/dist/collection/components/card-header/card-header.md.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
- package/dist/collection/components/card-title/card-title.ios.css +0 -12
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -12
- package/dist/collection/components/checkbox/checkbox.ios.css +0 -18
- package/dist/collection/components/checkbox/checkbox.js +12 -15
- package/dist/collection/components/checkbox/checkbox.md.css +0 -18
- package/dist/collection/components/chip/chip.ios.css +0 -6
- package/dist/collection/components/chip/chip.js +8 -11
- package/dist/collection/components/chip/chip.md.css +0 -6
- package/dist/collection/components/col/col.css +0 -12
- package/dist/collection/components/col/col.js +5 -9
- package/dist/collection/components/content/content.css +0 -6
- package/dist/collection/components/content/content.js +10 -13
- package/dist/collection/components/datetime/datetime.ios.css +0 -12
- package/dist/collection/components/datetime/datetime.js +18 -21
- package/dist/collection/components/datetime/datetime.md.css +0 -12
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +8 -11
- package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
- package/dist/collection/components/fab/fab.css +0 -24
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +0 -12
- package/dist/collection/components/fab-button/fab-button.js +9 -12
- package/dist/collection/components/fab-button/fab-button.md.css +0 -12
- package/dist/collection/components/fab-list/fab-list.css +0 -12
- package/dist/collection/components/fab-list/fab-list.js +5 -9
- package/dist/collection/components/footer/footer.ios.css +0 -12
- package/dist/collection/components/footer/footer.js +14 -17
- package/dist/collection/components/footer/footer.md.css +0 -12
- package/dist/collection/components/grid/grid.css +0 -12
- package/dist/collection/components/grid/grid.js +5 -9
- package/dist/collection/components/header/header.ios.css +0 -12
- package/dist/collection/components/header/header.js +14 -17
- package/dist/collection/components/header/header.md.css +0 -12
- package/dist/collection/components/img/img.js +2 -8
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +7 -16
- package/dist/collection/components/input/input.js +37 -19
- package/dist/collection/components/input/input.md.css +7 -34
- package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
- package/dist/collection/components/item/item.ios.css +0 -12
- package/dist/collection/components/item/item.js +10 -13
- package/dist/collection/components/item/item.md.css +0 -24
- package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
- package/dist/collection/components/item-divider/item-divider.js +8 -11
- package/dist/collection/components/item-divider/item-divider.md.css +0 -18
- package/dist/collection/components/item-group/item-group.ios.css +0 -12
- package/dist/collection/components/item-group/item-group.js +7 -13
- package/dist/collection/components/item-group/item-group.md.css +0 -12
- package/dist/collection/components/item-option/item-option.ios.css +0 -12
- package/dist/collection/components/item-option/item-option.js +8 -11
- package/dist/collection/components/item-option/item-option.md.css +0 -12
- package/dist/collection/components/item-options/item-options.ios.css +0 -18
- package/dist/collection/components/item-options/item-options.js +7 -13
- package/dist/collection/components/item-options/item-options.md.css +0 -18
- package/dist/collection/components/item-sliding/item-sliding.css +0 -6
- package/dist/collection/components/item-sliding/item-sliding.js +4 -8
- package/dist/collection/components/label/label.ios.css +0 -18
- package/dist/collection/components/label/label.js +8 -11
- package/dist/collection/components/label/label.md.css +0 -18
- package/dist/collection/components/list/list.ios.css +0 -18
- package/dist/collection/components/list/list.js +9 -12
- package/dist/collection/components/list/list.md.css +0 -18
- package/dist/collection/components/list-header/list-header.ios.css +0 -18
- package/dist/collection/components/list-header/list-header.js +8 -11
- package/dist/collection/components/list-header/list-header.md.css +0 -18
- package/dist/collection/components/loading/loading.ios.css +0 -12
- package/dist/collection/components/loading/loading.js +10 -13
- package/dist/collection/components/loading/loading.md.css +0 -12
- package/dist/collection/components/menu/menu.ios.css +0 -12
- package/dist/collection/components/menu/menu.js +7 -12
- package/dist/collection/components/menu/menu.md.css +0 -12
- package/dist/collection/components/menu-button/menu-button.ios.css +0 -12
- package/dist/collection/components/menu-button/menu-button.js +9 -12
- package/dist/collection/components/menu-button/menu-button.md.css +0 -12
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/modal.ios.css +0 -12
- package/dist/collection/components/modal/modal.js +9 -12
- package/dist/collection/components/modal/modal.md.css +0 -12
- package/dist/collection/components/nav/nav.css +0 -6
- package/dist/collection/components/nav/nav.js +5 -11
- package/dist/collection/components/nav-link/nav-link.js +1 -5
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +8 -11
- package/dist/collection/components/note/note.md.css +0 -12
- package/dist/collection/components/picker/picker.ios.css +0 -12
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +0 -12
- package/dist/collection/components/picker-column/picker-column.css +0 -6
- package/dist/collection/components/picker-column/picker-column.js +7 -8
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
- package/dist/collection/components/picker-legacy/picker.ios.css +0 -12
- package/dist/collection/components/picker-legacy/picker.js +6 -7
- package/dist/collection/components/picker-legacy/picker.md.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
- package/dist/collection/components/popover/popover.ios.css +0 -12
- package/dist/collection/components/popover/popover.js +12 -15
- package/dist/collection/components/popover/popover.md.css +0 -12
- package/dist/collection/components/progress-bar/progress-bar.ios.css +0 -6
- package/dist/collection/components/progress-bar/progress-bar.js +7 -10
- package/dist/collection/components/progress-bar/progress-bar.md.css +0 -6
- package/dist/collection/components/radio/radio.ios.css +0 -18
- package/dist/collection/components/radio/radio.js +9 -12
- package/dist/collection/components/radio/radio.md.css +0 -18
- package/dist/collection/components/radio-group/radio-group.js +3 -9
- package/dist/collection/components/range/range.ios.css +0 -12
- package/dist/collection/components/range/range.js +9 -12
- package/dist/collection/components/range/range.md.css +0 -12
- package/dist/collection/components/refresher/refresher.ios.css +0 -12
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +0 -12
- package/dist/collection/components/refresher-content/refresher-content.js +7 -12
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -13
- package/dist/collection/components/reorder/reorder.md.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.js +4 -8
- package/dist/collection/components/ripple-effect/ripple-effect.css +0 -6
- package/dist/collection/components/ripple-effect/ripple-effect.js +4 -8
- package/dist/collection/components/route/route.js +0 -4
- package/dist/collection/components/router/router.js +0 -4
- package/dist/collection/components/router-link/router-link.css +0 -6
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +0 -6
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/row/row.css +0 -12
- package/dist/collection/components/row/row.js +2 -9
- package/dist/collection/components/searchbar/searchbar.ios.css +0 -12
- package/dist/collection/components/searchbar/searchbar.js +24 -26
- package/dist/collection/components/searchbar/searchbar.md.css +0 -12
- package/dist/collection/components/segment/segment.ios.css +0 -18
- package/dist/collection/components/segment/segment.js +8 -11
- package/dist/collection/components/segment/segment.md.css +0 -18
- package/dist/collection/components/segment-button/segment-button.ios.css +0 -12
- package/dist/collection/components/segment-button/segment-button.js +9 -12
- package/dist/collection/components/segment-button/segment-button.md.css +0 -12
- package/dist/collection/components/select/select.ios.css +0 -18
- package/dist/collection/components/select/select.js +24 -27
- package/dist/collection/components/select/select.md.css +0 -30
- package/dist/collection/components/select-option/select-option.js +2 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
- package/dist/collection/components/select-popover/select-popover.js +4 -12
- package/dist/collection/components/select-popover/select-popover.md.css +0 -18
- package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
- package/dist/collection/components/spinner/spinner.css +0 -6
- package/dist/collection/components/spinner/spinner.js +6 -10
- package/dist/collection/components/split-pane/split-pane.ios.css +0 -18
- package/dist/collection/components/split-pane/split-pane.js +8 -14
- package/dist/collection/components/split-pane/split-pane.md.css +0 -18
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +0 -18
- package/dist/collection/components/tab-bar/tab-bar.js +9 -12
- package/dist/collection/components/tab-bar/tab-bar.md.css +0 -18
- package/dist/collection/components/tab-button/tab-button.ios.css +0 -12
- package/dist/collection/components/tab-button/tab-button.js +8 -11
- package/dist/collection/components/tab-button/tab-button.md.css +0 -12
- package/dist/collection/components/tabs/tabs.css +0 -6
- package/dist/collection/components/tabs/tabs.js +1 -4
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +6 -7
- package/dist/collection/components/textarea/textarea.ios.css +0 -24
- package/dist/collection/components/textarea/textarea.js +12 -15
- package/dist/collection/components/textarea/textarea.md.css +0 -36
- package/dist/collection/components/thumbnail/thumbnail.css +0 -6
- package/dist/collection/components/thumbnail/thumbnail.js +2 -9
- package/dist/collection/components/title/title.ios.css +0 -6
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +0 -6
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +0 -12
- package/dist/collection/components/toast/toast.js +11 -15
- package/dist/collection/components/toast/toast.md.css +0 -12
- package/dist/collection/components/toggle/toggle.ios.css +0 -18
- package/dist/collection/components/toggle/toggle.js +15 -18
- package/dist/collection/components/toggle/toggle.md.css +0 -18
- package/dist/collection/components/toolbar/toolbar.ios.css +0 -12
- package/dist/collection/components/toolbar/toolbar.js +10 -13
- package/dist/collection/components/toolbar/toolbar.md.css +0 -12
- package/dist/collection/global/ionic-global.js +12 -160
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +1 -2
- package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +22 -45
- package/dist/collection/utils/test/playwright/page/utils/goto.js +4 -13
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +520 -3902
- package/dist/esm/{app-globals-4194f7b0.js → app-globals-b8e5e7fa.js} +1 -1
- package/dist/esm/{button-active-6f657ae4.js → button-active-a411da52.js} +1 -1
- package/dist/esm/{data-735635b1.js → data-ae11fd43.js} +4 -4
- package/dist/esm/{hardware-back-button-ff84501f.js → hardware-back-button-329c81fd.js} +2 -2
- package/dist/esm/{index-62041d9c.js → index-10916999.js} +8 -9
- package/dist/esm/{index-4bbc4ca3.js → index-5cc724f3.js} +1 -1
- package/dist/esm/{index-3a495cc6.js → index-6e4709ff.js} +17 -5
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
- package/dist/esm/{index-e3f4491c.js → index-f1f5de26.js} +3 -3
- package/dist/esm/index.js +9 -8
- package/dist/esm/{input-shims-131a3f9f.js → input-shims-4530285e.js} +2 -3
- package/dist/esm/{input.utils-41b26b54.js → input.utils-09c71bc7.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +12 -19
- package/dist/esm/ion-action-sheet.entry.js +11 -15
- package/dist/esm/ion-alert.entry.js +13 -16
- package/dist/esm/ion-app_8.entry.js +50 -69
- package/dist/esm/ion-avatar_3.entry.js +8 -22
- package/dist/esm/ion-back-button.entry.js +9 -13
- package/dist/esm/ion-backdrop.entry.js +5 -9
- package/dist/esm/ion-breadcrumb_2.entry.js +12 -20
- package/dist/esm/ion-button_2.entry.js +9 -26
- package/dist/esm/ion-card_5.entry.js +24 -44
- package/dist/esm/ion-checkbox.entry.js +10 -14
- package/dist/esm/ion-chip.entry.js +6 -10
- package/dist/esm/ion-col_3.entry.js +11 -14
- package/dist/esm/ion-datetime-button.entry.js +8 -11
- package/dist/esm/ion-datetime_3.entry.js +28 -31
- package/dist/esm/ion-fab_3.entry.js +15 -19
- package/dist/esm/ion-img.entry.js +3 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
- package/dist/esm/ion-input-password-toggle.entry.js +89 -0
- package/dist/esm/ion-input.entry.js +34 -18
- package/dist/esm/ion-item-option_3.entry.js +15 -22
- package/dist/esm/ion-item_8.entry.js +37 -65
- package/dist/esm/ion-loading.entry.js +10 -13
- package/dist/esm/ion-menu_3.entry.js +20 -27
- package/dist/esm/ion-modal.entry.js +12 -15
- package/dist/esm/ion-nav_2.entry.js +7 -9
- package/dist/esm/ion-picker-column-option.entry.js +6 -10
- package/dist/esm/ion-picker-column.entry.js +7 -7
- package/dist/esm/ion-picker.entry.js +3 -7
- package/dist/esm/ion-popover.entry.js +10 -13
- package/dist/esm/ion-progress-bar.entry.js +5 -9
- package/dist/esm/ion-radio_2.entry.js +9 -15
- package/dist/esm/ion-range.entry.js +9 -12
- package/dist/esm/ion-refresher_2.entry.js +15 -19
- package/dist/esm/ion-reorder_2.entry.js +11 -16
- package/dist/esm/ion-ripple-effect.entry.js +5 -5
- package/dist/esm/ion-route_4.entry.js +6 -6
- package/dist/esm/ion-searchbar.entry.js +15 -19
- package/dist/esm/ion-segment_2.entry.js +11 -19
- package/dist/esm/ion-select_3.entry.js +25 -38
- package/dist/esm/ion-spinner.entry.js +7 -7
- package/dist/esm/ion-split-pane.entry.js +7 -11
- package/dist/esm/ion-tab-bar_2.entry.js +10 -18
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +11 -14
- package/dist/esm/ion-toast.entry.js +12 -16
- package/dist/esm/ion-toggle.entry.js +14 -18
- package/dist/esm/ionic-global-c4e0c089.js +224 -0
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-2187a9fd.js → ios.transition-8e181a7e.js} +2 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-a8d52fcb.js → md.transition-f1c3c737.js} +2 -2
- package/dist/esm/{overlays-213b5a21.js → overlays-9472c98b.js} +3 -2
- package/dist/esm/{status-tap-8838c434.js → status-tap-39da9160.js} +3 -3
- package/dist/esm-es5/app-globals-b8e5e7fa.js +4 -0
- package/dist/esm-es5/{button-active-6f657ae4.js → button-active-a411da52.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +2 -2
- package/dist/esm-es5/{hardware-back-button-ff84501f.js → hardware-back-button-329c81fd.js} +1 -1
- package/dist/esm-es5/index-10916999.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-6e4709ff.js +5 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/{index-e3f4491c.js → index-f1f5de26.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-4530285e.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.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 +4 -0
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-c4e0c089.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-8e181a7e.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-f1c3c737.js +4 -0
- package/dist/esm-es5/overlays-9472c98b.js +4 -0
- package/dist/esm-es5/status-tap-39da9160.js +4 -0
- package/dist/html.html-data.json +180 -1907
- 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-57b76977.system.entry.js → p-04070329.system.entry.js} +1 -1
- package/dist/ionic/p-049fa018.system.entry.js +4 -0
- package/dist/ionic/p-06e58c4e.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-07ae133d.system.entry.js +4 -0
- package/dist/ionic/p-0aa4682e.entry.js +4 -0
- package/dist/ionic/p-0bbb6edf.system.entry.js +4 -0
- package/dist/ionic/{p-322eb715.system.js → p-0c06e09b.system.js} +1 -1
- package/dist/ionic/p-0de546bb.entry.js +4 -0
- package/dist/ionic/p-0ebb1fe7.system.entry.js +4 -0
- package/dist/ionic/p-0f2d99a6.entry.js +4 -0
- package/dist/ionic/p-100bedc4.system.entry.js +4 -0
- package/dist/ionic/p-105f7d62.system.entry.js +4 -0
- package/dist/ionic/p-1672c4fd.system.entry.js +4 -0
- package/dist/ionic/{p-820be1bf.entry.js → p-17978fce.entry.js} +1 -1
- package/dist/ionic/p-1b235142.entry.js +4 -0
- package/dist/ionic/p-1cff9cad.entry.js +4 -0
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/p-1f9cdee2.entry.js +4 -0
- package/dist/ionic/p-23b89985.entry.js +4 -0
- package/dist/ionic/p-25575222.system.js +4 -0
- package/dist/ionic/p-266fc56e.system.js +4 -0
- package/dist/ionic/p-2e12bda2.entry.js +4 -0
- package/dist/ionic/p-2f6cedaf.system.entry.js +4 -0
- package/dist/ionic/{p-139e8ff1.js → p-3040730e.js} +1 -1
- package/dist/ionic/p-3391d9a3.entry.js +4 -0
- package/dist/ionic/p-352f7037.system.entry.js +4 -0
- package/dist/ionic/p-35722bba.system.entry.js +4 -0
- package/dist/ionic/p-35b9e842.entry.js +4 -0
- package/dist/ionic/p-3c70b01b.entry.js +4 -0
- package/dist/ionic/{p-8cd83c08.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
- package/dist/ionic/p-3e3b34f7.system.entry.js +4 -0
- package/dist/ionic/p-3f70bfba.entry.js +4 -0
- package/dist/ionic/p-4196b2d1.system.entry.js +4 -0
- package/dist/ionic/{p-98ced5a7.system.entry.js → p-43505ff8.system.entry.js} +2 -2
- package/dist/ionic/p-4429fc97.system.entry.js +4 -0
- package/dist/ionic/p-46111310.js +4 -0
- package/dist/ionic/p-46f407f0.system.js +4 -0
- package/dist/ionic/p-49b6fee0.system.entry.js +4 -0
- package/dist/ionic/p-4a615fea.entry.js +4 -0
- package/dist/ionic/{p-c11232d6.system.js → p-4dd82d9d.system.js} +1 -1
- package/dist/ionic/{p-af732189.system.js → p-5033128d.system.js} +2 -2
- package/dist/ionic/p-510578f3.system.entry.js +4 -0
- package/dist/ionic/p-51b68ec9.system.entry.js +4 -0
- package/dist/ionic/p-51ff648c.entry.js +4 -0
- package/dist/ionic/p-546433d2.js +4 -0
- package/dist/ionic/p-54f76ced.js +4 -0
- package/dist/ionic/p-56c3b69c.entry.js +4 -0
- package/dist/ionic/p-58ea73f7.system.entry.js +4 -0
- package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
- package/dist/ionic/p-5ae49f12.entry.js +4 -0
- package/dist/ionic/p-5b1273f4.system.entry.js +4 -0
- package/dist/ionic/p-5d3f6707.entry.js +4 -0
- package/dist/ionic/p-5da04d11.entry.js +4 -0
- package/dist/ionic/p-5e7c32e8.system.entry.js +4 -0
- package/dist/ionic/p-5fa8587e.system.entry.js +4 -0
- package/dist/ionic/p-68a1e274.system.entry.js +4 -0
- package/dist/ionic/p-6994c97a.js +4 -0
- package/dist/ionic/p-69bc14fd.entry.js +4 -0
- package/dist/ionic/p-6a7eac5a.js +4 -0
- package/dist/ionic/p-6f4db5ce.system.entry.js +4 -0
- package/dist/ionic/{p-1a488d6f.system.js → p-71215c1d.system.js} +1 -1
- package/dist/ionic/p-71688099.system.entry.js +4 -0
- package/dist/ionic/p-716ab5f8.system.entry.js +4 -0
- package/dist/ionic/p-74a9cafe.system.js +5 -0
- package/dist/ionic/p-75280815.entry.js +4 -0
- package/dist/ionic/p-75cddcc9.js +4 -0
- package/dist/ionic/{p-7c6ba817.system.entry.js → p-76907c2f.system.entry.js} +1 -1
- package/dist/ionic/p-7d9eefb3.system.js +4 -0
- package/dist/ionic/p-7df2c495.entry.js +4 -0
- package/dist/ionic/p-7fc505bf.entry.js +4 -0
- package/dist/ionic/p-83321ee8.entry.js +4 -0
- package/dist/ionic/p-8635f5e6.system.js +2 -2
- package/dist/ionic/p-88cff52d.entry.js +4 -0
- package/dist/ionic/p-896111fa.entry.js +4 -0
- package/dist/ionic/p-89b59bd7.entry.js +4 -0
- package/dist/ionic/p-8bd567ba.system.entry.js +4 -0
- package/dist/ionic/p-8e9ac22d.entry.js +4 -0
- package/dist/ionic/p-9540561f.entry.js +4 -0
- package/dist/ionic/{p-fe1345b7.js → p-96cc4814.js} +1 -1
- package/dist/ionic/{p-b8df09fa.entry.js → p-99daf8b7.entry.js} +1 -1
- package/dist/ionic/p-9ad82dba.js +5 -0
- package/dist/ionic/{p-df92bab7.system.js → p-9d7fc908.system.js} +1 -1
- package/dist/ionic/{p-7fefe43e.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-a1b4e619.system.entry.js +4 -0
- package/dist/ionic/p-a1f9f629.system.entry.js +4 -0
- package/dist/ionic/p-a7ba2dcc.system.js +4 -0
- package/dist/ionic/{p-ed454419.entry.js → p-a88fdfac.entry.js} +1 -1
- package/dist/ionic/p-a8f02173.system.js +4 -0
- package/dist/ionic/p-aa110ca0.system.entry.js +4 -0
- package/dist/ionic/p-aa4f2703.system.entry.js +4 -0
- package/dist/ionic/p-ab85debb.entry.js +4 -0
- package/dist/ionic/p-ac4e2a74.system.entry.js +4 -0
- package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
- package/dist/ionic/p-bb835b4d.system.entry.js +4 -0
- package/dist/ionic/p-c04d5a75.entry.js +4 -0
- package/dist/ionic/p-c198e1e1.system.entry.js +4 -0
- package/dist/ionic/{p-fea6e789.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
- package/dist/ionic/{p-57a4c6c3.js → p-c222f76a.js} +1 -1
- package/dist/ionic/p-c41af68a.entry.js +4 -0
- package/dist/ionic/p-c80d05c9.js +4 -0
- package/dist/ionic/p-c8f2b769.entry.js +4 -0
- package/dist/ionic/p-c99ccdc9.entry.js +4 -0
- package/dist/ionic/p-c9c39c98.system.entry.js +4 -0
- package/dist/ionic/p-cae889f9.entry.js +4 -0
- package/dist/ionic/p-d2544865.system.js +4 -0
- package/dist/ionic/p-d5f48185.system.entry.js +4 -0
- package/dist/ionic/{p-d2a65df9.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d79542bd.system.js +4 -0
- package/dist/ionic/p-d8067ea4.system.entry.js +4 -0
- package/dist/ionic/p-d8f66669.entry.js +4 -0
- package/dist/ionic/{p-4c55c5ce.entry.js → p-d98c0112.entry.js} +1 -1
- package/dist/ionic/p-da2b833b.js +4 -0
- package/dist/ionic/p-dc1372e0.entry.js +4 -0
- package/dist/ionic/{p-24e9aa21.entry.js → p-df48edd6.entry.js} +1 -1
- package/dist/ionic/p-df6fa126.entry.js +4 -0
- package/dist/ionic/p-e8a0e731.entry.js +4 -0
- package/dist/ionic/p-e955bf61.entry.js +4 -0
- package/dist/ionic/p-ea2c16b5.system.entry.js +4 -0
- package/dist/ionic/p-ea4be6ac.system.js +4 -0
- package/dist/ionic/p-eb3da535.system.entry.js +4 -0
- package/dist/ionic/p-f0392d49.entry.js +4 -0
- package/dist/ionic/p-f4cb521c.js +4 -0
- package/dist/ionic/{p-dff73ffc.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f818b01a.entry.js +4 -0
- package/dist/ionic/p-f94cbfe9.js +4 -0
- package/dist/ionic/p-fab4ecad.system.entry.js +4 -0
- package/dist/ionic/p-fb02eeec.system.entry.js +4 -0
- package/dist/ionic/p-fb97326f.system.entry.js +4 -0
- package/dist/ionic/p-fbd30ec7.entry.js +4 -0
- package/dist/ionic/{p-57082094.entry.js → p-fda4872f.entry.js} +1 -1
- package/dist/ionic/p-ff2323ba.system.entry.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +1 -2
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
- package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
- package/dist/types/components/alert/alert-interface.d.ts +7 -3
- package/dist/types/components/alert/alert.d.ts +2 -3
- package/dist/types/components/app/app.d.ts +0 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -4
- package/dist/types/components/back-button/back-button.d.ts +1 -2
- package/dist/types/components/backdrop/backdrop.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +1 -2
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -2
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +3 -8
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -2
- package/dist/types/components/card-content/card-content.d.ts +1 -2
- package/dist/types/components/card-header/card-header.d.ts +2 -3
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
- package/dist/types/components/card-title/card-title.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +1 -2
- package/dist/types/components/chip/chip.d.ts +1 -2
- package/dist/types/components/col/col.d.ts +0 -4
- package/dist/types/components/content/content.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +1 -2
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +2 -3
- package/dist/types/components/fab-list/fab-list.d.ts +0 -4
- package/dist/types/components/footer/footer.d.ts +3 -4
- package/dist/types/components/grid/grid.d.ts +0 -4
- package/dist/types/components/header/header.d.ts +3 -4
- package/dist/types/components/img/img.d.ts +0 -3
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
- package/dist/types/components/input/input.d.ts +8 -3
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
- package/dist/types/components/item/item.d.ts +3 -4
- package/dist/types/components/item-divider/item-divider.d.ts +1 -2
- package/dist/types/components/item-group/item-group.d.ts +0 -4
- package/dist/types/components/item-option/item-option.d.ts +1 -2
- package/dist/types/components/item-options/item-options.d.ts +0 -4
- package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
- package/dist/types/components/label/label.d.ts +1 -2
- package/dist/types/components/list/list.d.ts +1 -2
- package/dist/types/components/list-header/list-header.d.ts +1 -2
- package/dist/types/components/loading/loading-interface.d.ts +7 -2
- package/dist/types/components/loading/loading.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +0 -3
- package/dist/types/components/menu-button/menu-button.d.ts +1 -2
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/modal-interface.d.ts +7 -3
- package/dist/types/components/modal/modal.d.ts +1 -2
- package/dist/types/components/nav/nav-interface.d.ts +1 -9
- package/dist/types/components/nav/nav.d.ts +1 -5
- package/dist/types/components/nav-link/nav-link.d.ts +0 -4
- package/dist/types/components/note/note.d.ts +1 -2
- package/dist/types/components/picker/picker.d.ts +1 -2
- package/dist/types/components/picker-column/picker-column.d.ts +1 -2
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
- package/dist/types/components/picker-legacy/picker.d.ts +1 -2
- package/dist/types/components/popover/popover-interface.d.ts +7 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
- package/dist/types/components/radio/radio.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -4
- package/dist/types/components/range/range.d.ts +1 -2
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
- package/dist/types/components/reorder/reorder.d.ts +0 -3
- package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
- package/dist/types/components/route/route.d.ts +0 -4
- package/dist/types/components/router/router.d.ts +0 -4
- package/dist/types/components/router-link/router-link.d.ts +0 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
- package/dist/types/components/row/row.d.ts +0 -4
- package/dist/types/components/searchbar/searchbar.d.ts +7 -22
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +5 -6
- package/dist/types/components/select-option/select-option.d.ts +0 -4
- package/dist/types/components/select-popover/select-popover.d.ts +0 -3
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
- package/dist/types/components/spinner/spinner.d.ts +0 -4
- package/dist/types/components/split-pane/split-pane.d.ts +0 -4
- package/dist/types/components/tab/tab.d.ts +0 -4
- package/dist/types/components/tab-bar/tab-bar.d.ts +2 -3
- package/dist/types/components/tab-button/tab-button.d.ts +1 -2
- package/dist/types/components/tabs/tabs.d.ts +0 -3
- package/dist/types/components/text/text.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +2 -3
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
- package/dist/types/components/title/title.d.ts +0 -4
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +7 -3
- package/dist/types/components/toast/toast.d.ts +2 -3
- package/dist/types/components/toggle/toggle.d.ts +1 -2
- package/dist/types/components/toolbar/toolbar.d.ts +3 -4
- package/dist/types/components.d.ts +208 -1186
- package/dist/types/global/ionic-global.d.ts +2 -25
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/utils/config.d.ts +2 -17
- package/dist/types/utils/focus-trap.d.ts +2 -2
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/overlays.d.ts +2 -2
- package/dist/types/utils/test/playwright/generator.d.ts +1 -8
- package/hydrate/index.js +660 -1158
- package/package.json +1 -1
- package/dist/cjs/ionic-global-94d8021d.js +0 -411
- package/dist/collection/components/button/button.ionic.css +0 -565
- package/dist/collection/components/button/test/shape/button.e2e.js +0 -88
- package/dist/collection/global/test/ionic-global.spec.js +0 -109
- package/dist/esm/ionic-global-d47e129d.js +0 -401
- package/dist/esm-es5/app-globals-4194f7b0.js +0 -4
- package/dist/esm-es5/data-735635b1.js +0 -4
- package/dist/esm-es5/index-3a495cc6.js +0 -5
- package/dist/esm-es5/index-4bbc4ca3.js +0 -4
- package/dist/esm-es5/index-62041d9c.js +0 -4
- package/dist/esm-es5/input-shims-131a3f9f.js +0 -4
- package/dist/esm-es5/input.utils-41b26b54.js +0 -4
- package/dist/esm-es5/ionic-global-d47e129d.js +0 -4
- package/dist/esm-es5/ios.transition-2187a9fd.js +0 -4
- package/dist/esm-es5/md.transition-a8d52fcb.js +0 -4
- package/dist/esm-es5/overlays-213b5a21.js +0 -4
- package/dist/esm-es5/status-tap-8838c434.js +0 -4
- package/dist/ionic/p-0507489e.system.entry.js +0 -4
- package/dist/ionic/p-09b71030.entry.js +0 -4
- package/dist/ionic/p-0c0065e8.js +0 -4
- package/dist/ionic/p-0daf382b.system.entry.js +0 -4
- package/dist/ionic/p-1126b6fb.entry.js +0 -4
- package/dist/ionic/p-116239e0.system.entry.js +0 -4
- package/dist/ionic/p-11f25a12.system.js +0 -4
- package/dist/ionic/p-13aa1338.entry.js +0 -4
- package/dist/ionic/p-16b3b748.system.js +0 -4
- package/dist/ionic/p-18d1e318.system.js +0 -4
- package/dist/ionic/p-197fca36.system.entry.js +0 -4
- package/dist/ionic/p-1cc1ce24.system.entry.js +0 -4
- package/dist/ionic/p-1f04779e.entry.js +0 -4
- package/dist/ionic/p-226bdf0f.entry.js +0 -4
- package/dist/ionic/p-23132e1f.js +0 -4
- package/dist/ionic/p-23a3320b.js +0 -4
- package/dist/ionic/p-23e053d0.system.entry.js +0 -4
- package/dist/ionic/p-24cc69ab.entry.js +0 -4
- package/dist/ionic/p-29ceda88.js +0 -4
- package/dist/ionic/p-2a4641fb.system.entry.js +0 -4
- package/dist/ionic/p-2bc784c2.system.entry.js +0 -4
- package/dist/ionic/p-2c8cb8c0.system.entry.js +0 -4
- package/dist/ionic/p-2fad37de.system.entry.js +0 -4
- package/dist/ionic/p-30aed000.system.entry.js +0 -4
- package/dist/ionic/p-30b7a6a6.system.entry.js +0 -4
- package/dist/ionic/p-35b46c05.entry.js +0 -4
- package/dist/ionic/p-365d2cfe.system.entry.js +0 -4
- package/dist/ionic/p-385c76dc.system.entry.js +0 -4
- package/dist/ionic/p-3b03dd5b.entry.js +0 -4
- package/dist/ionic/p-3d7001d7.js +0 -4
- package/dist/ionic/p-3e47e61e.entry.js +0 -4
- package/dist/ionic/p-3e8cfe35.system.entry.js +0 -4
- package/dist/ionic/p-3e9e667a.entry.js +0 -4
- package/dist/ionic/p-3ecd1809.entry.js +0 -4
- package/dist/ionic/p-3ed32307.system.entry.js +0 -4
- package/dist/ionic/p-44d8d5c3.entry.js +0 -4
- package/dist/ionic/p-45684f75.system.entry.js +0 -4
- package/dist/ionic/p-46e489c1.entry.js +0 -4
- package/dist/ionic/p-4c6278ca.system.entry.js +0 -4
- package/dist/ionic/p-4e7a18b3.entry.js +0 -4
- package/dist/ionic/p-4f30e4c3.system.entry.js +0 -4
- package/dist/ionic/p-52698131.entry.js +0 -4
- package/dist/ionic/p-56dfd814.entry.js +0 -4
- package/dist/ionic/p-5919403e.js +0 -4
- package/dist/ionic/p-5fed4c24.system.entry.js +0 -4
- package/dist/ionic/p-605c456e.system.entry.js +0 -4
- package/dist/ionic/p-6087c7ac.system.entry.js +0 -4
- package/dist/ionic/p-617a8c10.system.entry.js +0 -4
- package/dist/ionic/p-62ad354a.system.entry.js +0 -4
- package/dist/ionic/p-644df0cc.system.entry.js +0 -4
- package/dist/ionic/p-6718dfd8.system.entry.js +0 -4
- package/dist/ionic/p-6770c46d.system.entry.js +0 -4
- package/dist/ionic/p-6981ada8.entry.js +0 -4
- package/dist/ionic/p-69e691df.system.entry.js +0 -4
- package/dist/ionic/p-6a5b979b.system.js +0 -4
- package/dist/ionic/p-6d1854de.system.entry.js +0 -4
- package/dist/ionic/p-70a396e0.entry.js +0 -4
- package/dist/ionic/p-716cc857.entry.js +0 -4
- package/dist/ionic/p-71784639.entry.js +0 -4
- package/dist/ionic/p-75257a79.system.js +0 -5
- package/dist/ionic/p-77cdf8f0.system.entry.js +0 -4
- package/dist/ionic/p-7d6993fa.entry.js +0 -4
- package/dist/ionic/p-831269de.js +0 -4
- package/dist/ionic/p-84dd4f6c.system.entry.js +0 -4
- package/dist/ionic/p-8fbf7c49.entry.js +0 -4
- package/dist/ionic/p-8fd110c6.entry.js +0 -4
- package/dist/ionic/p-92b3df98.system.js +0 -4
- package/dist/ionic/p-9385f3c5.entry.js +0 -4
- package/dist/ionic/p-9a76dbbb.entry.js +0 -4
- package/dist/ionic/p-a5456295.entry.js +0 -4
- package/dist/ionic/p-a68b1b19.entry.js +0 -4
- package/dist/ionic/p-ac1eb107.system.js +0 -4
- package/dist/ionic/p-ae2c6708.system.entry.js +0 -4
- package/dist/ionic/p-ae3fdd38.entry.js +0 -4
- package/dist/ionic/p-afeebbc2.entry.js +0 -4
- package/dist/ionic/p-b0bd2f28.system.entry.js +0 -4
- package/dist/ionic/p-b0da0e7e.entry.js +0 -4
- package/dist/ionic/p-b69db5bf.entry.js +0 -4
- package/dist/ionic/p-bb01995b.entry.js +0 -4
- package/dist/ionic/p-bb4431d3.entry.js +0 -4
- package/dist/ionic/p-c1d0861e.entry.js +0 -4
- package/dist/ionic/p-c78731fc.system.js +0 -4
- package/dist/ionic/p-c7e3ef1f.js +0 -4
- package/dist/ionic/p-c8985963.system.js +0 -4
- package/dist/ionic/p-c957dcbd.system.entry.js +0 -4
- package/dist/ionic/p-cb4da696.js +0 -5
- package/dist/ionic/p-cc1dabd2.system.entry.js +0 -4
- package/dist/ionic/p-cd1250d7.js +0 -4
- package/dist/ionic/p-cd94b05a.system.entry.js +0 -4
- package/dist/ionic/p-d6788bde.system.entry.js +0 -4
- package/dist/ionic/p-d83f3852.system.entry.js +0 -4
- package/dist/ionic/p-de5f6929.system.entry.js +0 -4
- package/dist/ionic/p-dfb6de03.system.js +0 -4
- package/dist/ionic/p-e399a113.entry.js +0 -4
- package/dist/ionic/p-e557901b.entry.js +0 -4
- package/dist/ionic/p-e62f29e0.system.entry.js +0 -4
- package/dist/ionic/p-e7522003.js +0 -4
- package/dist/ionic/p-e86fef55.system.js +0 -4
- package/dist/ionic/p-eab67c46.system.entry.js +0 -4
- package/dist/ionic/p-efdba78a.system.entry.js +0 -4
- package/dist/ionic/p-f7a041dc.js +0 -4
- package/dist/ionic/p-f85988bd.entry.js +0 -4
- package/dist/ionic/p-f9398178.entry.js +0 -4
- package/dist/ionic/p-f977c8c5.entry.js +0 -4
- package/dist/ionic/p-ff584ff5.entry.js +0 -4
- package/dist/ionic/p-ff93a0f3.entry.js +0 -4
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const ionicCardHeaderMdCss = ":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}";
|
|
9
|
-
const IonCardHeaderIonicStyle0 = ionicCardHeaderMdCss;
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
7
|
|
|
11
8
|
const cardHeaderIosCss = ":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}";
|
|
12
9
|
const IonCardHeaderIosStyle0 = cardHeaderIosCss;
|
|
@@ -23,15 +20,14 @@ const CardHeader = /*@__PURE__*/ proxyCustomElement(class CardHeader extends HTM
|
|
|
23
20
|
this.translucent = false;
|
|
24
21
|
}
|
|
25
22
|
render() {
|
|
26
|
-
const
|
|
27
|
-
return (h(Host, { key: '
|
|
23
|
+
const mode = getIonMode(this);
|
|
24
|
+
return (h(Host, { key: '05a406ae897dd0d1564bb9d0e213c5c2c21445fa', class: createColorClasses(this.color, {
|
|
28
25
|
'card-header-translucent': this.translucent,
|
|
29
26
|
'ion-inherit-color': true,
|
|
30
|
-
[
|
|
31
|
-
}) }, h("slot", { key: '
|
|
27
|
+
[mode]: true,
|
|
28
|
+
}) }, h("slot", { key: '505a74bfb528182bad69d519b848ac2060f4552f' })));
|
|
32
29
|
}
|
|
33
30
|
static get style() { return {
|
|
34
|
-
ionic: IonCardHeaderIonicStyle0,
|
|
35
31
|
ios: IonCardHeaderIosStyle0,
|
|
36
32
|
md: IonCardHeaderMdStyle0
|
|
37
33
|
}; }
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const ionicCardSubtitleMdCss = ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}";
|
|
9
|
-
const IonCardSubtitleIonicStyle0 = ionicCardSubtitleMdCss;
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
7
|
|
|
11
8
|
const cardSubtitleIosCss = ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}";
|
|
12
9
|
const IonCardSubtitleIosStyle0 = cardSubtitleIosCss;
|
|
@@ -22,14 +19,13 @@ const CardSubtitle = /*@__PURE__*/ proxyCustomElement(class CardSubtitle extends
|
|
|
22
19
|
this.color = undefined;
|
|
23
20
|
}
|
|
24
21
|
render() {
|
|
25
|
-
const
|
|
26
|
-
return (h(Host, { key: '
|
|
22
|
+
const mode = getIonMode(this);
|
|
23
|
+
return (h(Host, { key: '4494e715bdff695b17df995bca3c9924cc9dec6c', role: "heading", "aria-level": "3", class: createColorClasses(this.color, {
|
|
27
24
|
'ion-inherit-color': true,
|
|
28
|
-
[
|
|
29
|
-
}) }, h("slot", { key: '
|
|
25
|
+
[mode]: true,
|
|
26
|
+
}) }, h("slot", { key: '717e7f2b865b7bb6ae570922eb740c4ae731d85d' })));
|
|
30
27
|
}
|
|
31
28
|
static get style() { return {
|
|
32
|
-
ionic: IonCardSubtitleIonicStyle0,
|
|
33
29
|
ios: IonCardSubtitleIosStyle0,
|
|
34
30
|
md: IonCardSubtitleMdStyle0
|
|
35
31
|
}; }
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const ionicCardTitleMdCss = ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}";
|
|
9
|
-
const IonCardTitleIonicStyle0 = ionicCardTitleMdCss;
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
7
|
|
|
11
8
|
const cardTitleIosCss = ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}";
|
|
12
9
|
const IonCardTitleIosStyle0 = cardTitleIosCss;
|
|
@@ -22,14 +19,13 @@ const CardTitle = /*@__PURE__*/ proxyCustomElement(class CardTitle extends HTMLE
|
|
|
22
19
|
this.color = undefined;
|
|
23
20
|
}
|
|
24
21
|
render() {
|
|
25
|
-
const
|
|
26
|
-
return (h(Host, { key: '
|
|
22
|
+
const mode = getIonMode(this);
|
|
23
|
+
return (h(Host, { key: '1f26cd9bd47f87540dfaff6ac8150a80bcf14475', role: "heading", "aria-level": "2", class: createColorClasses(this.color, {
|
|
27
24
|
'ion-inherit-color': true,
|
|
28
|
-
[
|
|
29
|
-
}) }, h("slot", { key: '
|
|
25
|
+
[mode]: true,
|
|
26
|
+
}) }, h("slot", { key: 'b2d51db6dc9284e17cb900af557b36ef866cdc3c' })));
|
|
30
27
|
}
|
|
31
28
|
static get style() { return {
|
|
32
|
-
ionic: IonCardTitleIonicStyle0,
|
|
33
29
|
ios: IonCardTitleIosStyle0,
|
|
34
30
|
md: IonCardTitleMdStyle0
|
|
35
31
|
}; }
|
package/components/ion-card.js
CHANGED
|
@@ -4,12 +4,9 @@
|
|
|
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 { b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
9
9
|
|
|
10
|
-
const ionicCardMdCss = ":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);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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;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}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-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;border-radius:4px;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)}";
|
|
11
|
-
const IonCardIonicStyle0 = ionicCardMdCss;
|
|
12
|
-
|
|
13
10
|
const cardIosCss = ":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);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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;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}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-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;border-radius:8px;-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)}";
|
|
14
11
|
const IonCardIosStyle0 = cardIosCss;
|
|
15
12
|
|
|
@@ -39,7 +36,7 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
39
36
|
isClickable() {
|
|
40
37
|
return this.href !== undefined || this.button;
|
|
41
38
|
}
|
|
42
|
-
renderCard(
|
|
39
|
+
renderCard(mode) {
|
|
43
40
|
const clickable = this.isClickable();
|
|
44
41
|
if (!clickable) {
|
|
45
42
|
return [h("slot", null)];
|
|
@@ -54,19 +51,18 @@ const Card = /*@__PURE__*/ proxyCustomElement(class Card extends HTMLElement {
|
|
|
54
51
|
rel: this.rel,
|
|
55
52
|
target: this.target,
|
|
56
53
|
};
|
|
57
|
-
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 &&
|
|
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 && mode === 'md' && h("ion-ripple-effect", null)));
|
|
58
55
|
}
|
|
59
56
|
render() {
|
|
60
|
-
const
|
|
61
|
-
return (h(Host, { key: '
|
|
62
|
-
[
|
|
57
|
+
const mode = getIonMode(this);
|
|
58
|
+
return (h(Host, { key: '20989b44d99554e110bd2b41dca7f989f038dc5b', class: createColorClasses(this.color, {
|
|
59
|
+
[mode]: true,
|
|
63
60
|
'card-disabled': this.disabled,
|
|
64
61
|
'ion-activatable': this.isClickable(),
|
|
65
|
-
}) }, this.renderCard(
|
|
62
|
+
}) }, this.renderCard(mode)));
|
|
66
63
|
}
|
|
67
64
|
get el() { return this; }
|
|
68
65
|
static get style() { return {
|
|
69
|
-
ionic: IonCardIonicStyle0,
|
|
70
66
|
ios: IonCardIosStyle0,
|
|
71
67
|
md: IonCardMdStyle0
|
|
72
68
|
}; }
|
package/components/ion-chip.js
CHANGED
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as createColorClasses } from './theme.js';
|
|
6
|
-
import {
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
8
8
|
|
|
9
|
-
const ionicChipMdCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}";
|
|
10
|
-
const IonChipIonicStyle0 = ionicChipMdCss;
|
|
11
|
-
|
|
12
9
|
const chipIosCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}";
|
|
13
10
|
const IonChipIosStyle0 = chipIosCss;
|
|
14
11
|
|
|
@@ -25,16 +22,15 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
|
25
22
|
this.disabled = false;
|
|
26
23
|
}
|
|
27
24
|
render() {
|
|
28
|
-
const
|
|
29
|
-
return (h(Host, { key: '
|
|
30
|
-
[
|
|
25
|
+
const mode = getIonMode(this);
|
|
26
|
+
return (h(Host, { key: '6c6497d9397407443784f1b79df0b58d6d24eed2', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
27
|
+
[mode]: true,
|
|
31
28
|
'chip-outline': this.outline,
|
|
32
29
|
'chip-disabled': this.disabled,
|
|
33
30
|
'ion-activatable': true,
|
|
34
|
-
}) }, h("slot", { key: '
|
|
31
|
+
}) }, h("slot", { key: 'a4d431e3b066420890fcaa30bbc99f1240dff11c' }), mode === 'md' && h("ion-ripple-effect", null)));
|
|
35
32
|
}
|
|
36
33
|
static get style() { return {
|
|
37
|
-
ionic: IonChipIonicStyle0,
|
|
38
34
|
ios: IonChipIosStyle0,
|
|
39
35
|
md: IonChipMdStyle0
|
|
40
36
|
}; }
|
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 { b as getIonMode } 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 mode = getIonMode(this);
|
|
141
|
+
return (h(Host, { key: 'af31133e071846ac6609a46eabe59cc481dafdb7', class: {
|
|
142
|
+
[mode]: 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: 'd11a95925819a0e2dc69966b7893f0d3efc62eb9' })));
|
|
144
144
|
}
|
|
145
145
|
static get style() { return IonColStyle0; }
|
|
146
146
|
}, [1, "ion-col", {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, Build, readTask, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { j as hasLazyBuild, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
7
7
|
import { i as isRTL } from './dir.js';
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
9
9
|
|
|
@@ -144,8 +144,9 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
144
144
|
this.resize();
|
|
145
145
|
}, 100);
|
|
146
146
|
}
|
|
147
|
-
shouldForceOverscroll(
|
|
147
|
+
shouldForceOverscroll() {
|
|
148
148
|
const { forceOverscroll } = this;
|
|
149
|
+
const mode = getIonMode(this);
|
|
149
150
|
return forceOverscroll === undefined ? mode === 'ios' && isPlatform('ios') : forceOverscroll;
|
|
150
151
|
}
|
|
151
152
|
resize() {
|
|
@@ -332,25 +333,24 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
332
333
|
render() {
|
|
333
334
|
const { isMainContent, scrollX, scrollY, el } = this;
|
|
334
335
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
335
|
-
const
|
|
336
|
-
const
|
|
337
|
-
const
|
|
338
|
-
const transitionShadow = theme === 'ios';
|
|
336
|
+
const mode = getIonMode(this);
|
|
337
|
+
const forceOverscroll = this.shouldForceOverscroll();
|
|
338
|
+
const transitionShadow = mode === 'ios';
|
|
339
339
|
this.resize();
|
|
340
|
-
return (h(Host, { key: '
|
|
341
|
-
[
|
|
340
|
+
return (h(Host, { key: '133795359748c29c2f26f2c4b05315c1ee2ebf14', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
341
|
+
[mode]: true,
|
|
342
342
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
343
343
|
overscroll: forceOverscroll,
|
|
344
344
|
[`content-${rtl}`]: true,
|
|
345
345
|
}), style: {
|
|
346
346
|
'--offset-top': `${this.cTop}px`,
|
|
347
347
|
'--offset-bottom': `${this.cBottom}px`,
|
|
348
|
-
} }, h("div", { key: '
|
|
348
|
+
} }, h("div", { key: 'cec324eeb397b9947b48706a726a71c0a338c47b', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), h("div", { key: 'da55ddf94fe7fba83e3625f08ce0561136911828', class: {
|
|
349
349
|
'inner-scroll': true,
|
|
350
350
|
'scroll-x': scrollX,
|
|
351
351
|
'scroll-y': scrollY,
|
|
352
352
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
353
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
353
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '5277456fa0cca2680fbb3ae48f90100ba16bf90d' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, h("slot", { key: 'e3dfb4aa64d29e5cc24e8b0cd75a7eb1e0d6954c', name: "fixed" })));
|
|
354
354
|
}
|
|
355
355
|
get el() { return this; }
|
|
356
356
|
static get style() { return IonContentStyle0; }
|
|
@@ -3,14 +3,12 @@
|
|
|
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 { a as printIonError } from './index6.js';
|
|
7
7
|
import { c as createColorClasses } from './theme.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
8
9
|
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data.js';
|
|
9
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
10
11
|
|
|
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
|
-
|
|
14
12
|
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))}";
|
|
15
13
|
const IonDatetimeButtonIosStyle0 = datetimeButtonIosCss;
|
|
16
14
|
|
|
@@ -338,16 +336,15 @@ const DatetimeButton = /*@__PURE__*/ proxyCustomElement(class DatetimeButton ext
|
|
|
338
336
|
}
|
|
339
337
|
render() {
|
|
340
338
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
341
|
-
const
|
|
342
|
-
return (h(Host, { key: '
|
|
343
|
-
[
|
|
339
|
+
const mode = getIonMode(this);
|
|
340
|
+
return (h(Host, { key: 'f0ee6b859ad193be78cfc49d4d66373adfdbd618', class: createColorClasses(color, {
|
|
341
|
+
[mode]: true,
|
|
344
342
|
[`${selectedButton}-active`]: datetimeActive,
|
|
345
343
|
['datetime-button-disabled']: disabled,
|
|
346
|
-
}) }, dateText && (h("button", { class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { name: "date-target" }, dateText),
|
|
344
|
+
}) }, dateText && (h("button", { class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { name: "date-target" }, dateText), mode === 'md' && h("ion-ripple-effect", null))), timeText && (h("button", { class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { name: "time-target" }, timeText), mode === 'md' && h("ion-ripple-effect", null)))));
|
|
347
345
|
}
|
|
348
346
|
get el() { return this; }
|
|
349
347
|
static get style() { return {
|
|
350
|
-
ionic: IonDatetimeButtonIonicStyle0,
|
|
351
348
|
ios: IonDatetimeButtonIosStyle0,
|
|
352
349
|
md: IonDatetimeButtonMdStyle0
|
|
353
350
|
}; }
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { startFocusVisible } from './focus-visible.js';
|
|
6
6
|
import { r as raf, e as renderHiddenInput, g as getElementRoot } from './helpers.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as printIonError, p as printIonWarning } from './index6.js';
|
|
8
8
|
import { i as isRTL } from './dir.js';
|
|
9
9
|
import { c as createColorClasses } from './theme.js';
|
|
10
|
-
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './
|
|
10
|
+
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './index7.js';
|
|
11
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
11
12
|
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';
|
|
12
13
|
import { d as defineCustomElement$a } from './backdrop.js';
|
|
13
14
|
import { d as defineCustomElement$9 } from './button.js';
|
|
@@ -228,9 +229,6 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
228
229
|
}
|
|
229
230
|
};
|
|
230
231
|
|
|
231
|
-
const ionicDatetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
|
|
232
|
-
const IonDatetimeIonicStyle0 = ionicDatetimeMdCss;
|
|
233
|
-
|
|
234
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%}";
|
|
235
233
|
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
236
234
|
|
|
@@ -1470,10 +1468,10 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1470
1468
|
/**
|
|
1471
1469
|
* Grid Render Methods
|
|
1472
1470
|
*/
|
|
1473
|
-
renderCalendarHeader(
|
|
1471
|
+
renderCalendarHeader(mode) {
|
|
1474
1472
|
const { disabled } = this;
|
|
1475
|
-
const expandedIcon =
|
|
1476
|
-
const collapsedIcon =
|
|
1473
|
+
const expandedIcon = mode === 'ios' ? chevronDown : caretUpSharp;
|
|
1474
|
+
const collapsedIcon = mode === 'ios' ? chevronForward : caretDownSharp;
|
|
1477
1475
|
const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
|
|
1478
1476
|
const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1479
1477
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
@@ -1482,7 +1480,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1482
1480
|
'calendar-month-year-toggle': true,
|
|
1483
1481
|
'ion-activatable': true,
|
|
1484
1482
|
'ion-focusable': true,
|
|
1485
|
-
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })),
|
|
1483
|
+
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, h("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })), mode === 'md' && h("ion-ripple-effect", null))), h("div", { class: "calendar-next-prev" }, h("ion-buttons", null, h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronBack, lazy: false, flipRtl: true })), h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronForward, lazy: false, flipRtl: true }))))), h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
|
|
1486
1484
|
return h("div", { class: "day-of-week" }, d);
|
|
1487
1485
|
}))));
|
|
1488
1486
|
}
|
|
@@ -1602,8 +1600,8 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1602
1600
|
return this.renderMonth(month, year);
|
|
1603
1601
|
})));
|
|
1604
1602
|
}
|
|
1605
|
-
renderCalendar(
|
|
1606
|
-
return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(
|
|
1603
|
+
renderCalendar(mode) {
|
|
1604
|
+
return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(mode), this.renderCalendarBody()));
|
|
1607
1605
|
}
|
|
1608
1606
|
renderTimeLabel() {
|
|
1609
1607
|
const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
|
|
@@ -1711,7 +1709,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1711
1709
|
* Render entry point
|
|
1712
1710
|
* All presentation types are rendered from here.
|
|
1713
1711
|
*/
|
|
1714
|
-
renderDatetime(
|
|
1712
|
+
renderDatetime(mode) {
|
|
1715
1713
|
const { presentation, preferWheel } = this;
|
|
1716
1714
|
/**
|
|
1717
1715
|
* Certain presentation types have separate grid and wheel displays.
|
|
@@ -1725,7 +1723,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1725
1723
|
case 'date-time':
|
|
1726
1724
|
return [
|
|
1727
1725
|
this.renderHeader(),
|
|
1728
|
-
this.renderCalendar(
|
|
1726
|
+
this.renderCalendar(mode),
|
|
1729
1727
|
this.renderCalendarViewMonthYearPicker(),
|
|
1730
1728
|
this.renderTime(),
|
|
1731
1729
|
this.renderFooter(),
|
|
@@ -1734,7 +1732,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1734
1732
|
return [
|
|
1735
1733
|
this.renderHeader(),
|
|
1736
1734
|
this.renderTime(),
|
|
1737
|
-
this.renderCalendar(
|
|
1735
|
+
this.renderCalendar(mode),
|
|
1738
1736
|
this.renderCalendarViewMonthYearPicker(),
|
|
1739
1737
|
this.renderFooter(),
|
|
1740
1738
|
];
|
|
@@ -1747,7 +1745,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1747
1745
|
default:
|
|
1748
1746
|
return [
|
|
1749
1747
|
this.renderHeader(),
|
|
1750
|
-
this.renderCalendar(
|
|
1748
|
+
this.renderCalendar(mode),
|
|
1751
1749
|
this.renderCalendarViewMonthYearPicker(),
|
|
1752
1750
|
this.renderFooter(),
|
|
1753
1751
|
];
|
|
@@ -1755,15 +1753,15 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1755
1753
|
}
|
|
1756
1754
|
render() {
|
|
1757
1755
|
const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
|
|
1758
|
-
const
|
|
1756
|
+
const mode = getIonMode(this);
|
|
1759
1757
|
const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
|
|
1760
1758
|
const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
|
|
1761
1759
|
const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
|
|
1762
1760
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1763
1761
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1764
1762
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1765
|
-
return (h(Host, { key: '
|
|
1766
|
-
[
|
|
1763
|
+
return (h(Host, { key: '79357d753d003539aaadbc30aa0ca7e2ab97415d', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1764
|
+
[mode]: true,
|
|
1767
1765
|
['datetime-readonly']: readonly,
|
|
1768
1766
|
['datetime-disabled']: disabled,
|
|
1769
1767
|
'show-month-and-year': shouldShowMonthAndYear,
|
|
@@ -1772,7 +1770,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1772
1770
|
[`datetime-size-${size}`]: true,
|
|
1773
1771
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1774
1772
|
[`datetime-grid`]: isGridStyle,
|
|
1775
|
-
})) }, h("div", { key: '
|
|
1773
|
+
})) }, h("div", { key: '18b6631ffcf028c5062659e75be5d6712ac30402', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1776
1774
|
}
|
|
1777
1775
|
get el() { return this; }
|
|
1778
1776
|
static get watchers() { return {
|
|
@@ -1789,7 +1787,6 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1789
1787
|
"value": ["valueChanged"]
|
|
1790
1788
|
}; }
|
|
1791
1789
|
static get style() { return {
|
|
1792
|
-
ionic: IonDatetimeIonicStyle0,
|
|
1793
1790
|
ios: IonDatetimeIosStyle0,
|
|
1794
1791
|
md: IonDatetimeMdStyle0
|
|
1795
1792
|
}; }
|
|
@@ -4,14 +4,11 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { h as hostContext, c as createColorClasses, o as openURL } from './theme.js';
|
|
7
|
-
import { i as close } from './
|
|
8
|
-
import {
|
|
7
|
+
import { i as close } from './index7.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
11
11
|
|
|
12
|
-
const ionicFabButtonMdCss = ":host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-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:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}";
|
|
13
|
-
const IonFabButtonIonicStyle0 = ionicFabButtonMdCss;
|
|
14
|
-
|
|
15
12
|
const fabButtonIosCss = ":host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-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:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}";
|
|
16
13
|
const IonFabButtonIosStyle0 = fabButtonIosCss;
|
|
17
14
|
|
|
@@ -64,7 +61,7 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
64
61
|
render() {
|
|
65
62
|
const { el, disabled, color, href, activated, show, translucent, size, inheritedAttributes } = this;
|
|
66
63
|
const inList = hostContext('ion-fab-list', el);
|
|
67
|
-
const
|
|
64
|
+
const mode = getIonMode(this);
|
|
68
65
|
const TagType = href === undefined ? 'button' : 'a';
|
|
69
66
|
const attrs = TagType === 'button'
|
|
70
67
|
? { type: this.type }
|
|
@@ -74,8 +71,8 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
74
71
|
rel: this.rel,
|
|
75
72
|
target: this.target,
|
|
76
73
|
};
|
|
77
|
-
return (h(Host, { key: '
|
|
78
|
-
[
|
|
74
|
+
return (h(Host, { key: 'f342fbd54263de388bc49e54af61ce4aaaef1f2e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
75
|
+
[mode]: true,
|
|
79
76
|
'fab-button-in-list': inList,
|
|
80
77
|
'fab-button-translucent-in-list': inList && translucent,
|
|
81
78
|
'fab-button-close-active': activated,
|
|
@@ -85,11 +82,10 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
85
82
|
'ion-activatable': true,
|
|
86
83
|
'ion-focusable': true,
|
|
87
84
|
[`fab-button-${size}`]: size !== undefined,
|
|
88
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
85
|
+
}) }, h(TagType, Object.assign({ key: 'cd29a22c7d8ea02ab3469ba8a5878fd1cb28286a' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '046a1254b728b43e2f4496ad96fff7bb8827df19', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '9b5c11105d2b7c37c82f7eea2264e29c5f939262', class: "button-inner" }, h("slot", { key: '283fe50749e5537bc7d21159c36c9eb3fbe45415' })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
89
86
|
}
|
|
90
87
|
get el() { return this; }
|
|
91
88
|
static get style() { return {
|
|
92
|
-
ionic: IonFabButtonIonicStyle0,
|
|
93
89
|
ios: IonFabButtonIosStyle0,
|
|
94
90
|
md: IonFabButtonMdStyle0
|
|
95
91
|
}; }
|